:root{color:#202e27;font-synthesis:none;--ink:#202e27;--muted:#56675d;--line:#e2e8e0;--surface:#fff;--green:#245a43;--green-dark:#1b4736;--green-soft:#e8f1e9;background:#f6f8f4;font-family:Segoe UI,system-ui,sans-serif;font-size:14px}*,:before,:after{box-sizing:border-box}body{min-width:320px;margin:0}button,input,select{font:inherit;color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.49}a{color:var(--green);text-underline-offset:3px}svg{flex:none}h1,h2,h3,p,ol,dl,dd{margin:0}::selection{color:var(--ink);background:#c8e3d0}:focus-visible{outline-offset:3px;outline:2px solid #39785d}.sr-only,.skip-link:not(:focus){clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.skip-link:focus{z-index:9;background:#fff;padding:10px;position:fixed;top:12px;left:12px}.muted,small{color:var(--muted)}.with-icon{align-items:center;gap:7px;display:inline-flex}.workspace{grid-template-columns:224px minmax(0,1fr);min-height:100svh;display:grid}.sidebar{background:#eef3ed;border-right:1px solid #dfe7df;flex-direction:column;min-width:0;height:100svh;padding:26px 14px 16px;display:flex;position:sticky;top:0}.brand-link{color:var(--ink);align-self:flex-start;margin:1px 9px 34px;text-decoration:none}.brand{align-items:center;gap:11px;font-size:17px;font-weight:700;line-height:1.06;display:inline-flex}.brand-mark{color:#edf6e9;background:#285943;border-radius:12px;place-items:center;width:42px;height:42px;display:grid}.sidebar nav{gap:4px;display:grid}.sidebar nav a{color:#43574c;border-radius:8px;align-items:center;gap:11px;min-height:44px;padding:0 11px;font-weight:600;text-decoration:none;transition:background-color .16s,color .16s;display:flex}.sidebar nav a:hover{background:#e2ece3}.sidebar nav a[aria-current=page]{background:var(--green);color:#fff}.sidebar nav .nav-divider{margin-top:13px}.menu-toggle{display:none!important}.profile{border-top:1px solid #dae4db;flex-wrap:wrap;align-items:center;gap:9px;margin-top:auto;padding:15px 3px 0 6px;display:flex}.profile strong,.profile small{font-size:12px;display:block}.profile small{overflow-wrap:anywhere;margin-top:2px}.profile .icon-button{min-width:36px;margin-left:auto}.avatar{color:#234e39;background:#dceadf;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.main-area{min-width:0}.topbar{background:var(--surface);border-bottom:1px solid var(--line);min-height:64px;color:var(--muted);align-items:center;gap:10px;padding:0 36px;font-size:13px;display:flex}.topbar strong{color:var(--ink);font-weight:650}.main-content{max-width:1580px;margin:auto;padding:34px 36px 48px}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:15px;margin-bottom:26px;display:flex}h1{letter-spacing:-.035em;font-size:clamp(28px,3.2vw,39px);line-height:1.12}.page-header p{color:var(--muted);margin-top:9px;line-height:1.5}.button,.icon-button{color:#354d40;background:var(--surface);border:1px solid #d9e3da;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:0 13px;font-weight:600;text-decoration:none;transition:background-color .16s,border-color .16s;display:inline-flex}.button:hover:not(:disabled),.icon-button:hover:not(:disabled){background:#edf4ed;border-color:#c4d7c9}.button:active:not(:disabled),.icon-button:active:not(:disabled){transform:translateY(1px)}.button.primary{border-color:var(--green);background:var(--green);color:#fff}.button.primary:hover:not(:disabled){background:var(--green-dark);border-color:var(--green-dark)}.button.danger{color:#fff;background:#982f2b;border-color:#982f2b}.button.danger:hover:not(:disabled){background:#762622;border-color:#762622}.button.danger-text{color:#982f2b;border-color:#e9d0ca}.button.danger-text:hover:not(:disabled){background:#fbece8;border-color:#dcb6ac}.button.subtle,.icon-button{background:0 0;border-color:#0000}.button.subtle[aria-pressed=true]{background:#e7f0e8;border-color:#ccdecf}.icon-button{min-width:44px;padding:0}.summary{background:var(--surface);border:1px solid var(--line);border-radius:13px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:26px;display:grid;overflow:hidden}.summary-item{text-align:left;background:0 0;border:0;align-items:center;gap:13px;min-height:94px;padding:13px 17px;transition:background-color .16s;display:flex}.summary-item+.summary-item{border-left:1px solid var(--line)}.summary-item:hover,.summary-item[aria-pressed=true]{background:#edf5ed}.summary-item:focus-visible{outline-offset:-3px}.summary-icon{color:#39624e;background:#e5eee6;border-radius:10px;flex:none;place-items:center;width:39px;height:39px;display:grid}.summary-new .summary-icon{color:#3c5c7e;background:#e8eef4}.summary-in_progress .summary-icon{color:#765321;background:#f7efe0}.summary-label{color:var(--muted);font-size:13px;font-weight:600;display:block}.summary-item strong{font-variant-numeric:tabular-nums;margin-top:1px;font-size:27px;line-height:1.15;display:block}.queue{background:var(--surface);border:1px solid var(--line);border-radius:13px;min-width:0}.queue-header{justify-content:space-between;align-items:center;gap:8px;padding:12px 19px 5px;display:flex}.queue-header h2{letter-spacing:-.015em;font-size:19px}.queue-header h2 span,.queue-header b{vertical-align:2px;letter-spacing:0;color:#40594b;background:#eaf1ea;border-radius:12px;margin-left:4px;padding:3px 7px;font-size:11px;display:inline-block}.queue-header b{margin-left:0}.toolbar{flex-wrap:wrap;gap:8px;padding:11px 19px 15px;display:flex}.extra-filters{padding-top:0}input:not([type=checkbox]),select{min-width:0;min-height:44px;color:var(--ink);background:var(--surface);border:1px solid #dae4db;border-radius:8px;padding:9px 11px}select{max-width:100%;padding-right:26px}.search{min-width:min(100%,250px);color:var(--muted);border:1px solid #dae4db;border-radius:8px;flex:260px;align-items:center;gap:8px;padding:0 11px;display:flex}.search:focus-within{outline-offset:2px;outline:2px solid #39785d}.search input{background:0 0;border:0;outline:none;width:100%;min-height:42px;padding:8px 0}.search input::placeholder{color:var(--muted)}.records{border-collapse:collapse;table-layout:auto;text-align:left;width:100%}.records th{text-align:left;color:#4b5c52;white-space:nowrap;background:#f2f6f1;padding:12px;font-size:12px;font-weight:650}.records th:first-child,.records td:first-child{padding-left:19px}.records th:last-child,.records td:last-child{padding-right:19px}.records td{vertical-align:middle;overflow-wrap:anywhere;border-bottom:1px solid #e9eee7;padding:10px 12px}.records tr:last-child td{border-bottom:0}.records tbody tr:hover{background:#f9fbf8}.records td small{margin-top:4px;font-size:12px;display:block}.tickets-table th:first-child{width:33%}.tickets-table th:nth-child(2){width:21%}.ticket-link{min-height:46px;color:inherit;text-align:left;background:0 0;border:0;width:100%;padding:3px 0}.ticket-link strong{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:650;line-height:1.33;display:-webkit-box;overflow:hidden}.ticket-link:hover strong{text-underline-offset:3px;-webkit-text-decoration:underline #619177;text-decoration:underline #619177}.ticket-no{color:#4b6757;margin-bottom:4px;font-size:11px;font-weight:650;display:block}.location{align-items:flex-start}.location svg{color:#657f6f;margin-top:2px}.date-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.date-cell small{align-items:center;gap:6px;display:flex!important}.urgency,.status{white-space:nowrap;border-radius:20px;align-items:center;gap:5px;padding:5px 8px;font-size:12px;font-weight:650;line-height:1.12;display:inline-flex}.status>span{background:currentColor;border-radius:50%;width:6px;height:6px}.status-new{color:#355679;background:#e8eff6}.status-in_progress{color:#75501b;background:#f8eedc}.status-done{color:#2b6145;background:#e4f1e7}.status-cancelled{color:#58665e;background:#edf0ed}.urgency{color:#982f2b;background:#fbece8}.normal-priority{color:var(--muted);white-space:nowrap;font-size:12px}.queue-footer{border-top:1px solid var(--line);color:var(--muted);justify-content:space-between;align-items:center;padding:3px 19px;font-size:12px;display:flex}.queue-footer>div,.row-actions{justify-content:flex-end;display:flex}.table-message{color:var(--muted);padding:19px}.table-message .button{margin-top:10px}.empty{text-align:center;justify-items:center;gap:8px;padding:40px 14px 46px;display:grid}.empty>span{width:48px;height:48px;color:var(--green);background:var(--green-soft);border-radius:12px;place-items:center;display:grid}.empty p{color:var(--muted)}.directory-table td{padding-top:7px;padding-bottom:7px}.directory-table tr:last-child td{padding-bottom:9px}.connected{color:var(--green);font-weight:650}body:has(.dialog-window[open]){overflow:hidden}.dialog-window{--dialog-gutter:26px;width:min(560px, calc(100% - 2 * var(--dialog-gutter)));max-width:none;height:fit-content;max-height:calc(100vh - 2 * var(--dialog-gutter));max-height:calc(100dvh - 2 * var(--dialog-gutter));color:var(--ink);background:var(--surface);overscroll-behavior:contain;border:0;border-radius:16px;margin:auto;padding:0;scroll-padding-block:72px 16px;position:fixed;inset:0;overflow:auto;box-shadow:0 16px 50px #182d213d}.dialog-window[open]{animation:.16s ease-out dialog-in}@keyframes dialog-in{0%{transform:translateY(7px)}}.dialog-window::backdrop{background:#17281e66}.dialog-header{z-index:1;border-bottom:1px solid var(--line);background:var(--surface);justify-content:space-between;align-items:center;gap:8px;padding:8px 18px 8px 24px;display:flex;position:sticky;top:0}.dialog-header h2{letter-spacing:-.02em;overflow-wrap:anywhere;font-size:23px;line-height:1.23}.dialog-header .icon-button{flex:0 0 44px}.dialog-body{overflow-wrap:anywhere;padding:22px 24px 26px}.dialog-body h3{margin-bottom:9px;font-size:17px}.detail-top{align-items:center;gap:9px;margin-bottom:17px;display:flex}.description{white-space:pre-wrap;margin-bottom:17px;line-height:1.55}.facts{gap:10px;display:grid}.facts div{grid-template-columns:110px minmax(0,1fr);gap:8px;display:grid}.facts dt,.facts a{align-items:center;gap:5px;display:flex}.facts dt{color:var(--muted)}.detail-section{border-top:1px solid var(--line);margin-top:20px;padding-top:17px}.assignment,.actions{flex-wrap:wrap;gap:8px;display:flex}.assignment select{flex:180px}.history{padding:0;list-style:none;display:grid}.history li{border-bottom:1px solid #e9eee7;padding:9px 0}.history li:last-child{border:0}.history small{margin-top:4px;display:block}.photos{flex-wrap:wrap;gap:8px;display:flex}.photos img{object-fit:cover;background:#edf3ed;border-radius:7px;width:108px;height:82px;display:block}.edit-form{justify-items:start;gap:16px;display:grid}.edit-form>label,.house-field>label{gap:6px;width:100%;font-weight:600;display:grid}.edit-form label small,.edit-form fieldset small{font-weight:400}.edit-form fieldset{border:1px solid var(--line);border-radius:8px;width:100%;min-width:0;margin:0;padding:4px 10px 8px}.edit-form legend{padding:0 4px;font-weight:600}.edit-form .checkbox{align-items:center;gap:7px;min-height:44px;display:flex}.edit-form .directory-editor-actions{width:100%}.directory-editor-actions .danger-text{margin-left:auto}.checkbox input{accent-color:var(--green);width:16px;height:16px}.house-field{gap:5px;width:100%;min-width:0;display:grid}.house-field>.button{justify-self:start}.directory-entry-create{gap:6px;padding:6px 0 3px;display:grid}.directory-entry-create>label{font-weight:600}.directory-entry-fields{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;display:grid}.directory-entry-fields input{width:100%}.problem{color:#922b28;align-items:flex-start;gap:6px;line-height:1.45;display:flex}.detail-section .problem{margin-bottom:10px}.problem svg{margin-top:2px}.login-page{background:#edf3ed;place-items:center;min-height:100svh;padding:24px;display:grid}.login-wrap{width:min(100%,390px)}.login-wrap .brand{margin:0 0 18px 2px}.login-form{border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:25px}.login-form h1{font-size:28px}.login-form .button{width:100%}@media (width<=1120px){.workspace{grid-template-columns:204px minmax(0,1fr)}.main-content,.topbar{padding-left:23px;padding-right:23px}.summary-item{gap:8px;padding:11px}.records th,.records td{padding-left:8px;padding-right:8px}.profile{gap:6px}.profile>span:nth-child(2){flex:1;min-width:0}}@media (width<=920px){.workspace{display:block}.sidebar{z-index:3;border:0;border-bottom:1px solid var(--line);grid-template-columns:1fr auto;align-items:center;height:auto;min-height:66px;padding:8px 19px;display:grid;position:sticky}.brand-link{align-self:center;width:fit-content;margin:0}.brand-mark{width:38px;height:38px}.menu-toggle{display:inline-flex!important}.sidebar nav,.sidebar .profile{display:none}.sidebar.menu-open{overscroll-behavior:contain;max-height:100dvh;overflow-y:auto}.sidebar.menu-open nav,.sidebar.menu-open .profile{grid-column:1/-1;margin-top:8px;display:grid}.sidebar.menu-open .profile{margin:10px 0 3px;display:flex}.sidebar nav .nav-divider{margin-top:4px}.topbar{min-height:43px}.main-content{padding-top:24px}}@media (width<=665px){.main-content,.topbar{padding-left:14px;padding-right:14px}.main-content{padding-top:20px}.page-header{align-items:flex-start;gap:10px;margin-bottom:17px}.summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:16px}.summary-item{min-height:68px}.summary-item:nth-child(3){border-left:0}.summary-item:nth-child(n+3){border-top:1px solid var(--line)}.summary-item strong{font-size:21px}.queue-header{padding:7px 9px 0 12px}.queue-header h2{font-size:16px}.queue-header .button{padding:0 5px;font-size:12px}.toolbar{padding:8px 11px 12px}.toolbar .search{flex-basis:100%}.toolbar select{flex:auto}.dialog-window{--dialog-gutter:12px}.dialog-header{padding:6px 10px 6px 16px}.dialog-header h2{font-size:20px}.dialog-body{padding:16px 16px 22px}input:not([type=checkbox]),select{font-size:16px}.dialog-window .assignment select{flex-basis:100%}.facts div{grid-template-columns:minmax(0,90px) minmax(0,1fr)}.records,.records tbody{display:block}.records thead{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.records tr{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 13px;padding:10px 12px;display:grid}.records tr td,.records tr td:first-child,.records tr td:last-child{border:0;min-width:0;padding:0}.records tr td:first-child,.tickets-table tr td:nth-child(2){grid-column:1/-1}.tickets-table tr td:nth-child(4),.tickets-table tr td:last-child{text-align:right}.tickets-table .date-cell small{justify-content:flex-end}.directory-table tr td:last-child{align-self:end}}@media (width<=400px){.directory-entry-fields{grid-template-columns:minmax(0,1fr) auto}.directory-entry-fields input{grid-column:1/-1}.directory-entry-fields .button{justify-self:start}}@media (width<=350px){.summary-item{gap:6px;padding-inline:8px}.summary-icon{width:33px;height:33px}.summary-label{font-size:12px}.queue-header h2 span{display:none}.toolbar select{flex-basis:100%}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}
