:root{--mint:#3ecfb2;--soft:#e1f5ee;--ink:#2c2c2a;--muted:#626966;--line:#dce5e1;--focus:#216e60}*{box-sizing:border-box}body{margin:0;font:16px/1.45 'Gill Sans MT',Arial,sans-serif;color:var(--ink);background:white}button,input,textarea,select{font:inherit;color:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:5px;background:white;padding:10px 16px}button:hover{background:var(--soft)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:2px}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.primary{background:var(--mint);border-color:var(--mint);font-weight:600}.outline{border-color:var(--mint)}.quiet{background:transparent;border:none}.icon{border:none;background:transparent;padding:8px;min-width:40px;min-height:40px;font-size:24px;line-height:1}header{height:80px;border-bottom:1px solid var(--line);padding:0 28px;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:18px;font-size:25px}.brand strong{font-weight:600}.brand span{color:var(--mint);border-left:1px solid var(--line);padding-left:18px}.workspace{display:flex;align-items:flex-start}main{min-width:0;flex:1;padding:28px 26px}.title{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:18px}h1{margin:0;font-size:34px;font-weight:600;color:var(--mint)}h2{font-size:26px;font-weight:600;margin:0;color:var(--mint)}h3{font-size:18px;margin:20px 0 8px;font-weight:600}.muted,#count{color:var(--muted);font-size:14px}.toolbar{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:25px}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:5px;padding:0 12px;flex:1;min-width:200px;max-width:370px;margin:0}.search input{width:100%;padding:11px 0;border:0;background:transparent;min-width:0}.toolbar nav{display:flex;gap:6px}.toolbar nav button{border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 12px;white-space:nowrap}.toolbar nav button[aria-pressed=true]{border-bottom-color:var(--mint);color:var(--focus)}.toolbar>.primary{margin-left:auto}table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:15px}thead{background:#f7f9f8}th{text-align:left;font-weight:400;color:#545d58;padding:12px 10px}td{padding:18px 10px;vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid var(--line)}tbody tr:nth-child(even){background:#f2faf7}tbody tr.selected{background:var(--soft)}tbody tr:hover{background:#edf8f3}th:first-child,td:first-child{width:34px;color:var(--muted);font-size:13px}th:nth-child(2){width:12%}th:nth-child(3){width:15%}th:nth-child(4){width:15%}th:nth-child(5){width:21%}th:nth-child(6){width:22%}th:nth-child(7){width:12%}th:last-child{width:42px}td:nth-child(2){font-weight:600}td .icon{padding:8px 4px}.empty{text-align:center;padding:65px 20px;background:#f7faf8;border:1px solid var(--line);border-radius:5px}.empty strong{display:block;font-size:20px;margin-bottom:8px}.late{font-weight:600;text-decoration:underline;text-decoration-color:var(--mint);text-underline-offset:5px}footer{padding:30px 0;color:var(--muted);font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:15px}#notice:empty{display:none}#notice{margin:0 0 18px;background:var(--soft);padding:12px 15px;border-radius:5px}aside{flex:0 0 360px;width:360px;padding:24px 26px;border-left:1px solid var(--line);position:sticky;top:0;height:calc(100dvh - 80px);overflow:auto;background:white}aside[hidden]{display:none}.drawerhead,.dialogtop{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:22px}label.field,dialog label{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-weight:600;font-size:15px}input:not([type=search]),select,textarea{width:100%;padding:10px 12px;border:1px solid #ccd9d3;border-radius:5px;background:white;font-weight:400;min-width:0}textarea{resize:vertical;min-height:74px}.buttons{display:flex;gap:12px;margin-top:20px;justify-content:flex-end}.buttons button{flex:1}aside .contactButton{width:100%;margin:8px 0}aside .muted{font-size:13px}#formError{color:var(--ink);font-weight:600}.history{border-top:1px solid var(--line);margin-top:24px;padding-top:3px}.entry{padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.entry p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.entry small{color:var(--muted)}.contactFields{background:#f3faf7;padding:16px;border:1px solid var(--line);border-radius:5px;margin:10px 0}dialog{border:1px solid var(--line);border-radius:10px;padding:26px;max-width:440px;width:calc(100% - 32px);color:var(--ink)}dialog::backdrop{background:#2c2c2a30}dialog p{margin:16px 0}.mobilelabel{display:none}
@media(max-width:1200px){.toolbar nav{order:3;flex-basis:100%}.toolbar>.primary{margin-left:auto}aside{flex-basis:330px;width:330px;padding:20px}main{padding:24px 20px}table{font-size:14px}td{padding:16px 7px}th{padding:12px 7px}}
@media(max-width:1000px){.workspace:has(aside:not([hidden])) main{display:none}aside{width:100%;flex:1;height:auto;min-height:calc(100dvh - 80px);position:static;border:0;max-width:650px;margin:auto;padding:26px}.drawerhead{margin-bottom:24px}}
@media(max-width:700px){header{height:68px;padding:0 16px}.brand{font-size:20px;gap:10px}.brand span{padding-left:10px}header button{font-size:14px;padding:8px}main{padding:22px 16px}h1{font-size:29px}.toolbar{gap:12px}.search{max-width:none;flex-basis:100%}.toolbar nav{gap:0;justify-content:space-between}.toolbar nav button{padding:10px 7px;font-size:14px}.toolbar>.primary{margin-left:0;padding:10px 13px}table,tbody,tr,td{display:block;width:100%}thead{display:none}tbody tr{position:relative;border:1px solid var(--line);border-radius:6px;margin-bottom:12px;padding:14px 48px 14px 14px}td{border:0;padding:4px 0!important;display:flex;gap:12px;font-size:15px}td:first-child{display:none}td:nth-child(2){font-size:18px;padding-bottom:8px!important}td:last-child{position:absolute;right:8px;top:10px;width:40px}td .mobilelabel{display:block;min-width:104px;max-width:104px;color:var(--muted);font-size:13px;font-weight:400}.cellvalue{min-width:0;overflow-wrap:anywhere}footer{align-items:flex-start;padding-top:18px}aside{padding:22px 18px;min-height:calc(100dvh - 68px)}}
