:root{--ink:#18313a;--gold:#b78b38;--line:#dce4e5;--muted:#63777e}*{box-sizing:border-box}body{margin:0;font:16px/1.5 system-ui,sans-serif;color:var(--ink);background:#f3f6f6}header{padding:18px 5%;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.brand{font-weight:800;letter-spacing:1px;color:var(--ink);text-decoration:none}.brand small{letter-spacing:0;font-weight:400}nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}a{color:#226173}nav a{text-decoration:none}nav form{margin:0}main{max-width:1200px;margin:32px auto;padding:0 20px}h1{font-size:28px;line-height:1.25;margin:0 0 12px}h2{font-size:19px;margin:4px 0 12px}p{margin:8px 0 16px}small{display:block;font-size:13px;color:var(--muted)}.card{padding:24px;background:#fff;border:1px solid var(--line);border-radius:14px;margin-bottom:20px}.narrow{max-width:520px;margin:60px auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px;flex-wrap:wrap}label{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;font-weight:600;font-size:14px}input,select,textarea{font:16px system-ui;color:var(--ink);width:100%;padding:12px;border:1px solid #b7c8cc;border-radius:7px;background:#fff}input:focus,select:focus,textarea:focus{outline:2px solid #bbd5dc;outline-offset:2px}textarea{min-height:90px;resize:vertical}button,.button{display:inline-block;border:0;border-radius:8px;background:var(--ink);color:white;padding:12px 20px;font:600 15px system-ui;cursor:pointer;text-decoration:none}button:disabled{opacity:.4;cursor:default}.quiet{background:#eef2f3;color:var(--ink);padding:8px 12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.full{grid-column:1/-1}.check{display:flex;flex-direction:row;align-items:flex-start}.check input{width:20px;flex-shrink:0;margin-top:4px}.error{padding:16px;border-left:4px solid #b4443c;background:#fff0ed;color:#822d28;margin-bottom:24px;border-radius:6px}.stats{display:flex;gap:12px;flex-wrap:wrap}.stats .card{min-width:150px;padding:16px}.stats strong{display:block;font-size:28px}.stats span{font-size:14px}.filter{display:flex;gap:12px;align-items:flex-end;margin:15px 0}.filter label{margin:0;min-width:220px}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:14px}th{text-align:left;color:var(--muted);font-size:12px}td,th{padding:13px 12px;border-bottom:1px solid var(--line);vertical-align:top}td a{font-weight:600}.badge{font-size:12px;background:#eaf0f2;padding:6px 9px;border-radius:8px;white-space:nowrap}.review,.rejected{background:#fce8e4;color:#8c3c30}.completed{background:#e4f2e8;color:#25653a}.scheduled{background:#f9efd9;color:#7d5f24}.pagination{display:flex;gap:18px}pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#eef3f4;padding:14px}footer{text-align:center;color:var(--muted);font-size:12px;margin:50px 0 20px}[hidden]{display:none!important}@media(max-width:650px){.grid{grid-template-columns:1fr}.full{grid-column:auto}header{padding:16px 20px}nav{gap:12px;font-size:14px}main{margin-top:24px}.card{padding:18px}h1{font-size:24px}.filter{align-items:stretch;flex-direction:column}.narrow{margin:24px auto}}

.brand{display:flex;align-items:center;gap:14px}.brand-logo{display:block;width:88px;height:72px;flex-shrink:0;overflow:hidden}.brand-caption{font-size:16px;letter-spacing:0;font-weight:600}@media(max-width:650px){.brand-logo{width:68px;height:56px}.brand-caption{font-size:14px}}

/* Shared controls: one visible selected value, search inside a downward list. */
.grid{grid-template-columns:repeat(2,minmax(0,1fr))}
label{min-width:0}
input,select,textarea{min-width:0;min-height:46px}
input[readonly]{background:#f5f8f8;color:#405960}
.grid h2.full{padding-bottom:12px;margin:8px 0 18px;border-bottom:1px solid var(--line)}
.grid p.full{font-size:14px;color:var(--muted);margin-top:-6px}
.combobox{position:relative;min-width:0;width:100%;font-weight:400}
.combobox-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;clip-path:inset(50%);overflow:hidden;pointer-events:none}
.combobox-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;width:100%;padding:12px 14px;border:1px solid #b7c8cc;border-radius:8px;background:#fff;color:var(--ink);font:400 16px/1.4 system-ui,sans-serif;text-align:left}
.combobox-toggle>span:first-child{min-width:0;overflow-wrap:anywhere}
.combobox-arrow{color:#63777e;font-size:20px;line-height:1;flex-shrink:0}
.combobox-toggle:hover:not(:disabled){border-color:#688c95;background:#fcfdfd}
.combobox-toggle:focus-visible{outline:3px solid #bbd5dc;outline-offset:2px}
.combobox-toggle:disabled{opacity:1;cursor:default;background:#f2f5f5;color:#75858a;border-color:#dce4e5}
.combobox-toggle.is-placeholder{color:#75858a}
.combobox-toggle[aria-invalid=true]{border-color:#b4443c}
.combobox.is-open>.combobox-toggle{border-color:#226173}
.combobox-panel{margin-top:8px;padding:10px;border:1px solid #b7c8cc;border-radius:10px;background:#fff;box-shadow:0 6px 18px #18313a0d}
.combobox-panel input{height:42px;min-height:42px;padding:9px 12px;font-size:16px;margin-bottom:8px;background:#f7f9fa}
.combobox-list{max-height:248px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}
.combobox-option{display:block;width:100%;border:0;border-radius:6px;background:#fff;color:var(--ink);text-align:left;padding:11px 12px;font:400 15px/1.4 system-ui,sans-serif;white-space:normal;overflow-wrap:anywhere;min-height:44px}
.combobox-option small{font-size:12px;margin-top:4px;font-weight:400;color:#63777e}
.combobox-option:hover,.combobox-option:focus-visible{background:#eef5f6;outline:0}
.combobox-option[aria-selected=true]{background:#e9f2f3;color:#164e60;font-weight:600;box-shadow:inset 3px 0 #226173}
.combobox-empty{padding:12px;margin:0;font-size:14px;font-weight:400;color:var(--muted)}
.site-header{display:block;padding:0}
.header-inner{max-width:1440px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;gap:14px 24px;flex-wrap:wrap}
.site-header nav{flex:1;justify-content:flex-end;gap:4px}
.site-header nav a{padding:9px 12px;border-radius:7px;font-size:14px;font-weight:500;color:#405960}
.site-header nav a:hover{background:#f2f6f7}
.site-header nav a[aria-current=page]{background:#e9f2f3;color:#164e60;font-weight:650}
.account-menu{width:100%;display:flex;align-items:center;justify-content:flex-end;gap:18px;border-top:1px solid #edf1f2;padding-top:12px;font-size:13px}
.account-menu a{text-decoration:none}
.account-menu .account-name{margin-right:auto;min-width:0;overflow-wrap:anywhere;color:#405960}
.account-menu form{margin:0}
.account-menu button{font-size:13px}
@media(max-width:650px){.grid{grid-template-columns:minmax(0,1fr)}.header-inner{padding:14px 20px;gap:12px}.site-header nav{flex-basis:100%;justify-content:flex-start;gap:4px}.site-header nav a{padding:8px 10px;font-size:13px}.account-menu{gap:12px;flex-wrap:wrap}.account-menu .account-name{flex:1}.combobox-list{max-height:220px}.combobox-option{padding:12px 10px}.combobox-toggle{padding:12px}}

/* Registry layout follows the supplied Excel header and compact bordered rows. */
.filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.filter-grid label{margin:0}.filter-grid .wide{grid-column:span 2}.filter-actions{display:flex;gap:16px;align-items:center;grid-column:1/-1;justify-content:flex-end;border-top:1px solid var(--line);padding-top:18px}.filter-actions a{font-size:14px}.registry-scroll{overflow:auto;max-height:72vh;border:1px solid #586270;border-radius:10px;background:white}.registry{border-collapse:separate;border-spacing:0;font-size:12px;min-width:2200px;width:100%}.registry th,.registry td{border-right:1px solid #586270;border-bottom:1px solid #586270;padding:9px 10px;vertical-align:middle;white-space:normal}.registry th{background:#d9e2f0;color:#17212d;text-align:center;position:sticky;top:0;z-index:2}.registry th:first-child,.registry td:first-child{position:sticky;left:0;background:#eef2f8;z-index:1;min-width:38px}.registry th:first-child{z-index:3;background:#d9e2f0}.registry td:nth-child(2){min-width:38px}.registry td:nth-child(3){min-width:180px}.registry td small{font-size:10px;overflow-wrap:anywhere}.registry tbody tr:nth-child(even){background:#f8fafc}.registry tbody tr:hover{background:#fff9e9}.table-hint{font-size:13px;color:#546174}input[type=search]{min-width:0}label select{width:100%}@media(max-width:700px){.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.registry-scroll{max-height:65vh}.registry{font-size:12px}.heading{align-items:flex-start;gap:12px}.heading h1{font-size:24px}}@media(max-width:480px){.filter-grid{grid-template-columns:minmax(0,1fr)}.filter-grid .wide{grid-column:auto}.filter-actions{justify-content:flex-start;flex-wrap:wrap}}

.badge.cancelled{background:#ecebf2;color:#534269}

/* The timer stays visible when the registry scrolls horizontally. */
.registry .timer-column{min-width:150px;width:150px;max-width:170px}
.application-timer{display:flex;flex-direction:column;gap:3px;border-left:3px solid #ad852d;padding-left:8px;background:transparent}
.application-timer [data-timer-label]{font-size:11px;font-weight:700;color:#72591c}
.application-timer strong{font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap;letter-spacing:.2px}
.application-timer [data-timer-note]{font-size:10px;line-height:1.3}
.application-timer.work{border-color:#287186}.application-timer.work [data-timer-label]{color:#1e5d70}
.application-timer.completed{border-color:#35734a}.application-timer.completed [data-timer-label]{color:#25653a}
.application-timer.rejected,.application-timer.cancelled{border-color:#766b7f}.application-timer.rejected [data-timer-label],.application-timer.cancelled [data-timer-label]{color:#63596b}
.history-controls{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.history-controls summary{cursor:pointer;font-weight:600;overflow-wrap:anywhere}.history-controls form{margin-top:16px;max-width:560px}.history-controls a{overflow-wrap:anywhere}

/* Registry deletion: compact touch target beside the timer. */
.timer-cell{display:flex;align-items:center;gap:8px}.timer-cell .application-timer{flex:1;min-width:0}
.trash-icon{display:inline-flex;flex-shrink:0;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #ead4d4;border-radius:10px;color:#a53030;background:#fff;text-decoration:none}
.trash-icon:hover,.trash-icon:focus-visible{background:#fff0f0;border-color:#a53030;outline-offset:3px}
.registry .timer-column{min-width:210px;width:210px;max-width:230px}
.deletion-confirm{max-width:680px}.deletion-confirm form{display:grid;gap:18px}.deletion-confirm input,.deletion-confirm textarea{width:100%;box-sizing:border-box}
button.danger{background:#a53030;color:#fff}.danger-link{color:#a53030}.trash-list{display:grid;gap:16px;margin-bottom:20px}.trash-item h2{font-size:20px}.trash-item p{overflow-wrap:anywhere}

.trash-heading-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.button.danger{background:#a53030;color:#fff}.trash-heading-actions .button{white-space:nowrap}

.account-profile{max-width:760px;margin-bottom:20px}.account-profile dl{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px 20px}.account-profile dt{font-weight:600}.account-profile dd{margin:0;overflow-wrap:anywhere}.account-profile pre{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:480px){.account-profile dl{grid-template-columns:minmax(0,1fr);gap:6px}.account-profile dd{margin-bottom:10px}}

.claim-button{width:100%;margin-top:8px;white-space:normal;min-height:44px}

.installer-area .check{align-items:center;gap:10px;margin:12px 0}.installer-area .check input{padding:0;width:20px;height:20px;margin:0}.installer-area fieldset{border:1px solid var(--line);border-radius:8px;padding:12px 16px;margin:18px 0}.installer-area legend{font-size:14px;font-weight:600;padding:0 6px}

.account-menu .account-action{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border-radius:8px;background:#e9f2f3;color:#164e60;font-weight:650}.account-menu .account-action:hover{background:#dcebf0}.account-menu .telegram-action{background:#edf5fb;color:#1d5a85}.telegram-link{margin-top:20px;padding:20px;background:#f2f7fa;border:1px solid #d5e5ee;border-radius:10px}.telegram-link h3{margin-top:0}.telegram-link .button{margin-bottom:12px;max-width:100%;white-space:normal}.telegram-link details{margin-bottom:16px}@media(max-width:650px){.account-menu .account-name{flex-basis:100%}.account-menu .account-action{flex:1;justify-content:center;text-align:center}.telegram-link{padding:16px}.telegram-link .button{width:100%;text-align:center}}
