@font-face{font-family:Inter;src:url('/assets/fonts/InterVariable.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,sans-serif;background:#f6f8fb;color:#172033;--muted:#59677a;--line:#dce3ec;--mint:#0f766e;font-size:16px;line-height:1.5}
body{background:#f6f8fb}h1,h2,h3{color:#172033}h1,h2{font-weight:650}h3{font-weight:600}
button{background:#fff;color:#172033;min-height:44px;white-space:normal}button:hover{filter:none;background:#eef4f6}button:disabled{cursor:not-allowed;opacity:.6}
.primary{background:#0f766e;color:#fff;border-color:#0f766e}.primary:hover{background:#115e59}.ghost{background:transparent}
.danger{color:#a92332;background:#fff1f2;border-color:#f0bec5}.danger:hover{background:#ffe4e8}
.sidebar{background:#fff}.nav{color:#59677a}.nav.active{background:#e6f5f0;color:#0f766e;border-color:#b8ddd0}.sidebar-bottom{color:#59677a}
.card,.stat,.form-section{background:#fff;box-shadow:0 3px 16px #17203304}.card,.stat{border-radius:18px}
.form-section{border-radius:14px}.stat strong{font-weight:650;letter-spacing:-.7px}
input,select,textarea{background:#fff;color:#172033;border-color:#c3cede;min-width:0}input:not([type=checkbox]),select{min-height:44px}
input[type=checkbox]{flex-shrink:0;min-height:22px;width:22px;height:22px;opacity:1}input:disabled,select:disabled,textarea:disabled{background:#f3f6fa;color:#59677a}
label.field>span{color:#44516a;overflow-wrap:anywhere}.toggle{border-bottom-color:#e8edf3}.toggle>span{min-width:0;overflow-wrap:anywhere}
.computer,.device-icon{display:inline-flex;width:46px;height:46px;flex-shrink:0;align-items:center;justify-content:center;padding:9px;background:#e6f5f0;color:#0f766e;border-radius:13px;vertical-align:middle}
.device-icon img{width:28px;height:28px}.device-icon.icon-laptop,.device-icon.icon-tablet{background:#efebfc}.device-icon.icon-smartphone,.device-icon.icon-tv{background:#e9f0fe}.device-icon.icon-gamepad-2{background:#fff1e3}
.badge{background:#fff1df;color:#925015}.allowed{background:#e6f5f0;color:#0f766e}.neutral{background:#edf1f7;color:#4a5870}
.icon{background:#e9f0fe;color:#3658a6}.icon.youtube{background:#e92949;color:#fff}.progress{background:#dce8e5}.timer,.toast{color:#0f766e}
.service-logo{background:#edf1f7;color:#44516a}.category-video{background:#ffe7ed;color:#9b2948}.category-social{background:#efebfc;color:#6750a4}.category-games{background:#e6f5f0;color:#176b48}.category-shopping{background:#fff1df;color:#925015}.category-protection{background:#e5f3f6;color:#22626e}
.notice,.compact-exception{background:#edf9f3;border-color:#b8ddd0;color:#176247}.warning,.compact-warning{background:#fff6e8;border-color:#e4c692;color:#80541b}.error-notice{background:#fff1f2;border-color:#edbbc4;color:#a92332}
.budget{background:#f3f6fa}.nintendo-detail{color:#59677a}.nintendo-symbol{background:#fff1e3;color:#995415}
.nintendo-modal,.adguard-modal,.adguard-modal-heading{background:#fff}.adguard-modal-backdrop,.nintendo-modal-backdrop{background:#26374e55}
.client-tabs .active{background:#e6f5f0;color:#0f766e;border-color:#b8ddd0}.client-activity>summary,.detected-clients>summary{color:#44516a}
.service-category{background:#f8fafc;border-color:#dce3ec}.service-picker label{background:#eef2f7;color:#172033}.favorite-button{color:#59677a}.favorite-button.is-favorite{color:#946617}
#message{color:#925015}.operation-note,pre{white-space:pre-wrap;overflow-wrap:anywhere}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid>div,.form-section,.adguard-modal-heading .label,.client-head .meta{min-width:0}
.adguard-modal{min-width:0}.adguard-modal form,.adguard-modal form>div,#adguard-dialog-content{min-width:0;max-width:100%}
.client-tabs{min-width:0}.client-tabs button{flex:1 1 0;min-width:0;overflow-wrap:anywhere}.adguard-modal-heading h2{min-width:0}
.schedule-row{grid-template-columns:85px minmax(0,1fr) minmax(0,1fr) 30px}.schedule-row input:not([type=checkbox]){width:100%;min-width:0;padding:8px}
.service-picker,.grouped-service-picker .service-picker{grid-template-columns:repeat(auto-fit,minmax(min(160px,100%),1fr))}.service-picker label{min-width:0}.service-picker label>span:last-child{min-width:0;overflow-wrap:anywhere}
.service-category>summary{min-width:0;overflow-wrap:anywhere}.toolbar{flex-wrap:wrap}.toolbar button{max-width:100%}
.client-feedback{padding:14px;border:1px solid #b8ddd0;background:#edf9f3;color:#176247;border-radius:10px;margin:16px 0;overflow-wrap:anywhere}
.client-feedback.error{background:#fff1f2;border-color:#edbbc4;color:#a92332}.client-feedback.warning{background:#fff6e8;border-color:#e4c692;color:#80541b}
.icon-selector{position:fixed;inset:0;z-index:35;background:#26374e55;display:flex;align-items:center;justify-content:center;padding:20px}
.icon-selector-panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:24px;max-width:540px;width:100%;max-height:90dvh;overflow:auto;min-width:0}
.icon-selector-panel h2{margin:0}.icon-selector-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.icon-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:12px 5px;font-size:12px;min-width:0;overflow-wrap:anywhere}
.icon-choice[aria-pressed=true]{border:2px solid #0f766e;background:#f2faf7}.change-icon{font-size:13px;margin:0 0 16px}
@media(max-width:1000px){.form-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:700px){
 input,select,textarea,.grouped-service-picker .service-search{font-size:16px}
 .adguard-modal,.nintendo-modal{width:100%;max-width:100%;padding:20px 16px}.adguard-modal-heading{top:-20px}
 .adguard-modal-heading .label{gap:8px}.adguard-modal-heading h2{font-size:20px}.adguard-modal-heading>button{padding:9px 12px}
 .adguard-modal .form-section{padding:14px}.form-section h3{font-size:18px;overflow-wrap:anywhere}
 .form-grid{grid-template-columns:minmax(0,1fr)}.safe-picker{grid-template-columns:minmax(0,1fr)}
 .schedule-row{grid-template-columns:56px minmax(0,1fr) minmax(0,1fr) 26px;gap:5px}.schedule-row input:not([type=checkbox]){font-size:16px;padding:6px 3px}
 .grouped-service-picker .service-picker{grid-template-columns:minmax(0,1fr);padding:0 8px 8px}
 .client-tabs button{font-size:13px;padding:8px 5px}.service-category>summary{padding:12px}.service-category>summary small{flex-shrink:1}
 .compact-client-grid{grid-template-columns:minmax(0,1fr)}.console-detail-row{flex-wrap:wrap}.console-detail-row span{min-width:0;overflow-wrap:anywhere}
 .icon-selector{padding:14px}.icon-selector-panel{padding:20px 14px}.icon-selector-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .toolbar{justify-content:stretch}.toolbar button{flex:1 1 130px}.nintendo-modal .actions{flex-wrap:wrap}
}
@media(max-width:350px){.schedule-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 26px}.schedule-row small{grid-column:1/-1}}
