*{box-sizing:border-box}:root{font:500 15px/1.55 "Malgun Gothic","맑은 고딕",Arial,sans-serif;color:#303743;background:#f2f3f8}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:#fff;border:1px solid #e2e5ec;border-radius:3px;padding:8px 13px;color:#303743;font-weight:600}button:hover{background:#f4f5f9}aside{position:fixed;width:265px;inset:0 auto 0 0;background:#1e1e2d;color:#d1d3df}.brand{display:flex;justify-content:space-between;align-items:center;height:65px;background:#1a1a27;padding:0 25px;font-weight:700;font-size:18px;color:#fff;text-decoration:none}.brand span{color:#66677e;font-size:24px}aside nav{padding-top:15px}aside nav button{display:block;width:100%;background:none;color:#d1d3df;border:0;border-radius:0;text-align:left;padding:15px 26px;font-size:15px;font-weight:600;min-height:50px}aside nav button.active,aside nav button:hover{background:#1b1b28;color:#fff}.aside-bottom{position:absolute;bottom:24px;left:26px;color:#b1b5c8;font-size:13px}main{margin-left:265px;min-height:100vh;display:flex;flex-direction:column}header{min-height:72px;height:auto;flex-wrap:wrap;background:#fff;border-bottom:1px solid #ebedf2;display:flex;align-items:center;justify-content:space-between;padding:0 25px;gap:12px}header nav{display:flex;gap:2px;white-space:nowrap}header nav button{background:none;border:0;padding:12px 10px;font-size:14px;font-weight:600}header nav button.active{color:#fd6464;background:#fff5f5}.user{display:flex;align-items:center;gap:10px;font-size:14px;white-space:nowrap;color:#535b6a}.avatar{background:#c9f7f5;color:#17b6ba;font-weight:700;padding:10px;border-radius:3px}#logout{font-size:13px;padding:7px 10px}#console{flex:1}.page-heading{min-height:55px;background:#fff;border-bottom:1px solid #e7e9ef;padding:12px 25px;display:flex;align-items:center;justify-content:space-between}h1{font-size:21px;font-weight:700;margin:0;color:#48465b}.page-heading p{font-size:14px;margin:7px 0 0;color:#596273}.page-heading p:empty{display:none}#refresh{font-size:14px}#content{padding:25px 35px}.panel{background:white;border:1px solid #ebedf2;border-radius:4px;margin-bottom:24px;padding:22px}.panel h2{font-size:19px;font-weight:700;margin:0 0 22px;color:#48465b}.panel h2 small{font-size:14px;font-weight:500;color:#596273;margin-left:10px}.dashboard-grid{display:grid;grid-template-columns:1fr 1.55fr;gap:25px}.dashboard-grid .panel{min-width:0}.shortcut-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.shortcut-grid button{height:95px;background:#f8fafb;border:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}.shortcut-grid button span{font-size:27px;color:#27b5a5}.shortcut-grid button:nth-child(2) span{color:#b8a0ec}.shortcut-grid button:nth-child(3) span{color:#ffb45b}.shortcut-grid button:nth-child(4) span{color:#ff7d82}table{border-collapse:collapse;width:100%;font-size:15px;white-space:nowrap}th{text-align:left;background:#edf0f5;color:#303847;font-weight:700;padding:13px 12px;border:1px solid #e8eaf0}td{padding:13px 12px;border:1px solid #ebedf2;color:#353d4b;font-weight:500}tbody tr:nth-child(even){background:#fafafb}.table-wrap{overflow:auto}.empty{text-align:center;height:130px;color:#5b6576}.usage th{font-size:14px}.usage td{font-size:15px}.service-icon{width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;border-radius:3px;font-size:21px;font-weight:700;background:#fff0f1;color:#ec5d6c}.service-icon.disney{background:#eef1ff;color:#6c79dd}.service-icon.youtube{background:#fff2ef;color:#e36f58}.summary-line{font-size:14px;color:#535e70;padding-top:20px;display:flex;gap:18px}.primary,[data-save],[data-device]{background:#d94349;border-color:#d94349;color:white}.primary:hover,[data-save]:hover,[data-device]:hover{background:#c2383f}.badge{display:inline-block;padding:4px 7px;font-size:13px;font-weight:700;background:#eceef4;color:#505b6c;border-radius:3px}.badge.online{background:#e6f6ee;color:#146e48}.badge.wait{background:#fff4dc;color:#805700}.rowform{display:flex;gap:15px;align-items:end;flex-wrap:wrap;margin-bottom:8px}label{font-size:14px;font-weight:600;color:#3c4656}input,select,textarea{display:block;background:#fff;border:1px solid #dfe2eb;border-radius:3px;padding:10px;margin-top:7px;color:#263141;font-size:15px;font-weight:500}input:focus,select:focus,textarea:focus{outline:2px solid #c9cedf}.check{display:inline-flex;align-items:center;gap:6px;margin-right:12px}.check input{margin:0;accent-color:#fd6868}.helper{font-size:14px;line-height:1.7;color:#596273;margin-top:18px}.activity{padding:14px 0;border-bottom:1px solid #f0f1f5;display:flex;justify-content:space-between;gap:15px;font-size:15px}.activity small{font-size:13px;color:#596273}.pending{text-align:center;padding:55px 10px}.pending h3{font-size:17px;font-weight:600;margin:20px 0;color:#465166}.pending p{font-size:14px;color:#596273}footer{display:flex;justify-content:space-between;padding:24px;color:#657083;font-size:13px;margin-top:auto}footer b{font-weight:600;color:#4b5668}#notice{position:fixed;bottom:25px;right:25px;background:#343548;color:#fff;padding:15px 24px;border-radius:4px;display:none}#login{background:white;width:380px;max-width:90%;padding:35px;margin:100px auto;border:1px solid #e7e9f0;border-radius:4px}#login h1{font-size:23px;margin:0 0 22px}#login p{line-height:1.7}#login input,#login .primary{width:100%;margin-bottom:16px}#login small{font-size:13px;color:#596273}dialog{border:1px solid #e1e4ed;border-radius:5px;padding:28px;max-width:500px;width:90%}dialog::backdrop{background:#1e1e2d77}dialog p{line-height:1.7}dialog textarea{width:100%;height:100px;margin-bottom:20px}[hidden]{display:none!important}@media(max-width:1200px){header{height:auto;min-height:65px;flex-wrap:wrap;padding:8px 15px}header nav{flex-wrap:wrap;white-space:normal;gap:0}.user{margin-left:auto}.dashboard-grid{grid-template-columns:1fr}.usage td{font-size:15px}}@media(max-width:800px){aside{width:200px}.brand{font-size:15px;padding:0 18px}main{margin-left:200px}#content{padding:20px}aside nav button{padding:14px 18px}header .user{display:none}.panel{padding:18px}}@media(max-width:550px){aside{position:static;width:100%}.brand{height:55px}aside nav{display:flex;overflow:auto;padding:0}aside nav button{white-space:nowrap;width:auto;padding:13px;font-size:14px}.aside-bottom{display:none}main{margin:0}header{height:55px;padding:0 10px}header nav button{font-size:14px}#content{padding:15px}.page-heading{padding:15px}.panel h2 small{display:block;margin:8px 0}.summary-line{flex-wrap:wrap}.activity{flex-direction:column}}

.account-toolbar{display:flex;gap:18px;align-items:center;padding:10px}.account-panel td{padding:8px 12px}.account-panel input,.account-panel select{width:100%;min-width:100px}.account-panel td:last-child{white-space:nowrap}.company-group td{background:#eaeaea;font-weight:600}.account-panel tbody tr:nth-child(even){background:#f5f5f5}.cookie-editor{width:760px;max-width:90vw}.cookie-editor textarea{width:100%;height:360px;font-family:monospace;margin-bottom:16px}

.cookie-expiry{white-space:nowrap}.cookie-expiry .expired{color:#c53030;font-weight:600}.cookie-expiry .expiring{color:#a65c00;font-weight:600}

/* Readable secondary text and controls across account and usage tables. */
table small{font-size:13px;color:#596273}table button{font-size:14px}button,input:not([type=checkbox]),select{min-height:38px}textarea{line-height:1.6}th,td{border-color:#dce1e9}.brand{height:72px;font-size:20px}.account-toolbar{font-weight:600}.company-group td{font-weight:700;color:#303847}header nav button.active{color:#b72e38}.primary:hover{color:#fff}

.service-grid{padding:0;border:1px solid #dce1e9;border-radius:0}
.service-grid .account-toolbar{background:#f4f5f7;border-bottom:1px solid #dce1e9;padding:8px}
.service-grid .table-wrap{max-height:72vh}
.service-grid thead th{position:sticky;top:0;z-index:1}
.service-grid th,.service-grid td{padding:5px 10px}
.service-grid tbody tr:nth-child(even){background:#f2f3f5}
.service-grid .account-count td,.service-grid .company-group td{background:#e9ebef;font-weight:700}
.service-grid .account-edit-row td{background:#e9ebef;padding:3px}
.service-grid .account-edit-row input,.service-grid .account-edit-row select{margin:0;padding:4px 7px;min-height:32px}
.service-grid button{min-height:32px;padding:3px 8px}
.service-grid button:disabled{opacity:.55;cursor:default}

/* Typography and grid dimensions measured from the Complaza console. */
@font-face {
  font-family: "Noto Sans Regular";
  src: url("/NotoSansKR-Regular-Hestia.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
:root{font:400 12px/1.5 "Noto Sans Regular","Apple SD Gothic Neo",Roboto,sans-serif;color:#464e5f;background:#eef0f8}
.brand{height:65px;font-size:18px}
aside nav button{font-size:12px;font-weight:400;min-height:44px;padding:9px 25px;color:#a2a3b7}
aside nav button.active{color:#fff}
header{min-height:65px}
header nav button,.user{font-size:12px;font-weight:400}
header nav button.active{color:#3699ff;background:#f3f6f9}
.page-heading{min-height:53px;padding:12px 25px}
.page-heading > div{display:flex;align-items:baseline;gap:12px;min-width:0;overflow-x:auto;white-space:nowrap}
.page-heading #subtitle{margin:0}
h1{font-size:15px;font-weight:500;color:#212121}
#refresh,#logout,.page-heading p,.helper,label{font-size:12px;font-weight:400}
#content{padding:25px 50px 36px}
.panel h2{font-size:15.3px;font-weight:600}
.panel h2 small,.summary-line,.activity,.activity small{font-size:12px}
table{font-size:14px;color:#656565}
th,td,.service-grid th,.service-grid td,.account-panel td{padding:8px 12px;border-color:#e2e2e2}
th{background:#f5f5f5;color:#656565;font-weight:400}
td{color:#656565;font-weight:400}
tbody tr:nth-child(even),.account-panel tbody tr:nth-child(even),.service-grid tbody tr:nth-child(even){background:#f2f2f2}
.account-panel .account-count td,.account-panel .company-group td{background:#ededed;color:#656565;font-weight:700}
.account-panel{padding:0;border-radius:0}
.account-panel .account-toolbar{background:#f5f5f5;border-bottom:1px solid #e2e2e2;padding:8px}
table button,.account-toolbar button{font:400 14px/20px "Noto Sans Regular",sans-serif;min-height:30px;padding:4px 8px}
.primary,[data-save],[data-device]{background:#ff6358;border-color:#ff6358}
.primary:hover,[data-save]:hover,[data-device]:hover{background:#ed594f}
table input,table select,.rowform input,.rowform select{font-size:14px;font-weight:400;min-height:30px;padding:4px 7px}
.account-panel .account-edit-row td{padding:3px;background:#ededed}
.account-panel .account-edit-row input,.account-panel .account-edit-row select{margin:0;min-height:30px}
.usage th,.usage td{font-size:12px}
.usage td{padding-top:12px;padding-bottom:12px}
@media(max-width:1200px){#content{padding:25px 30px}}
@media(max-width:800px){#content{padding:18px}}

.store-grid .account-edit-row input,.store-grid .account-edit-row select{width:100%;min-width:90px}.store-grid .account-toolbar #connection-info{font-weight:400}
.service-grid .cookie-expiry{white-space:nowrap}.service-grid .account-memo{overflow-wrap:anywhere}
.compact-account-grid table{table-layout:fixed;min-width:1060px}
.compact-account-grid th:nth-child(1){width:230px}
.compact-account-grid th:nth-child(2){width:170px}
.compact-account-grid th:nth-child(3){width:110px}
.compact-account-grid th:nth-child(4){width:215px}
.compact-account-grid th:nth-child(5){width:230px}
.compact-account-grid td:first-child{overflow-wrap:anywhere}
.compact-account-grid .memo-editor{display:flex;align-items:center;gap:6px}
.compact-account-grid .memo-editor input{flex:1;min-width:0;margin:0;padding:2px 7px;min-height:27px}
:is(.compact-account-grid,.store-grid) th,:is(.compact-account-grid,.store-grid) td{padding:4px 8px}
.compact-account-grid td:nth-child(2){overflow-wrap:anywhere}
:is(.compact-account-grid,.store-grid) button,:is(.compact-account-grid,.store-grid) .account-edit-row input,:is(.compact-account-grid,.store-grid) .account-edit-row select{min-height:27px;padding:2px 6px}
.compact-account-grid .account-edit-row input,.compact-account-grid .account-edit-row select{width:100%;min-width:0}

.compact-account-grid .account-toolbar,.store-grid .account-toolbar{display:flex;align-items:center;gap:10px}
.account-total{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border:1px solid #dce1e9;border-radius:12px;background:#fff;color:#505b6c;font-size:12px}

.store-grid .account-edit-row input[data-field="max_clients"]{min-width:65px;width:75px}
.store-grid input[data-field="access_code"]{margin-top:4px}

.store-grid .store-actions{white-space:nowrap}
.store-grid .company-group .group-label{text-align:center}
.store-grid thead th{background:#f1f4f8;color:#334155}
.store-grid .company-group td{background:#e6edf7;color:#324c6d;border-top-color:#c8d5e7}
.store-grid tr[data-store] td:first-child{font-weight:700;color:#29394c}
.store-grid .store-service-label,.store-grid .store-state{display:inline-block;border-radius:4px;padding:2px 7px;font-weight:600}
.store-grid .store-service-label.youtube{background:#fff0e4;color:#863c28}
.store-grid .store-service-label.netflix{background:#fbe9ee;color:#922840}
.store-grid .store-service-label.disney{background:#e8efff;color:#284c89}
.store-grid .store-state.enabled{background:#e6f4eb;color:#245b3f}
.store-grid .store-state.disabled{background:#e8ebef;color:#4b5563}
.store-grid [data-code-pcs]{margin-top:4px;color:#324c6d}
.store-grid [data-code-pcs][aria-expanded="true"]{background:#e6edf7}
.store-grid .code-pc-row > td{padding:10px 14px;background:#f1f5fa}
.store-grid .code-pc-row table{background:#fff}

.netflix-connections th,.netflix-connections td{padding:4px 8px}

.connection-menu{position:relative;align-self:center}
.connection-menu summary{list-style:none;cursor:pointer;padding:12px 10px;font-size:12px;color:#505b6c;border-radius:3px}
.connection-menu summary::-webkit-details-marker{display:none}
.connection-menu.active summary,.connection-menu[open] summary{color:#3699ff;background:#f3f6f9}
.connection-menu .connection-options{position:absolute;left:0;top:100%;width:220px;padding:8px 0;background:#fff;border:1px solid #ebedf2;border-radius:3px;box-shadow:0 5px 15px #1e1e2d1a;z-index:20}
.connection-menu .connection-options button{display:block;width:100%;text-align:left;padding:10px 20px;border-radius:0}
.connection-menu .connection-options button:hover{color:#3699ff;background:#f3f6f9}
.connection-menu summary:focus-visible{outline:2px solid #3699ff}

.store-status th,.store-status td{padding:4px 8px}
.store-status .account-toolbar{display:flex;align-items:center;gap:10px}
.store-status .status-count{text-align:center}

.error-log .error-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px;background:#f7f7f7}
.error-log .error-toolbar:has(#error-filter){flex-direction:row;align-items:center;overflow-x:auto}
.error-log #error-filter{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex:auto;flex-wrap:nowrap;min-width:max-content;margin:0}
.error-log #error-filter input{width:150px;margin:0;min-height:30px;padding:4px 8px}
.error-log .error-toolbar:has(#error-filter) button{flex:none;white-space:nowrap}
.error-log th,.error-log td{padding:5px 10px}
.error-log .table-wrap{max-height:65vh}
.error-log .error-pagination{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;background:#f7f7f7;font-size:12px}
.error-log .error-pagination button{border:0;background:transparent;color:#ed6565;min-height:30px;padding:4px 10px}
.error-log .error-pagination button.active{background:#f8dada}
.error-log .error-pagination button:disabled{color:#aaa;cursor:default}
@media(max-width:900px){.error-log .error-toolbar{align-items:flex-start;flex-direction:column}}

.error-log .error-detail{white-space:normal;min-width:220px;max-width:360px;overflow-wrap:anywhere}

.daily-log .error-toolbar{flex-direction:row;align-items:center;overflow-x:auto}
.daily-log #daily-filter{display:flex;align-items:center;gap:6px;flex:auto;justify-content:flex-end;flex-wrap:nowrap;margin:0;min-width:max-content}
.daily-log #daily-filter input{width:140px;margin:0;padding:4px 8px;min-height:30px}
.daily-log .error-toolbar button{flex:none;white-space:nowrap}
.daily-log table{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.daily-log thead{position:sticky;top:0;z-index:1}
.daily-log thead th[scope="colgroup"]{text-align:center}
.daily-log .daily-netflix{--daily-ink:#8b3039;--daily-head:#f8e6e8;--daily-subhead:#fcf0f1;--daily-body:#fff9f9}
.daily-log .daily-disney{--daily-ink:#254b85;--daily-head:#e6eefb;--daily-subhead:#eff4fc;--daily-body:#f8fbff}
.daily-log .daily-youtube{--daily-ink:#804622;--daily-head:#faebdd;--daily-subhead:#fff3e9;--daily-body:#fffaf5}
.daily-log .daily-pc{--daily-ink:#265d4b;--daily-head:#e3f2ec;--daily-subhead:#edf7f2;--daily-body:#f6fcf9}
.daily-log th[scope="colgroup"]{background:var(--daily-head);color:var(--daily-ink)}
.daily-log thead tr:nth-child(2) th{background:var(--daily-subhead)}
.daily-log tbody td{background:var(--daily-body)}
.daily-log tbody tr:nth-child(even) td{background:var(--daily-subhead)}
.daily-log .daily-group-start{border-left-color:#d2d8e1}
.daily-log tbody th{background:inherit;min-width:110px}
.daily-log .error-pagination{flex-wrap:wrap;gap:6px}
.daily-log .daily-note{margin:0;padding:8px 10px;color:#596273;font-size:12px}

.dashboard-grid .service-icon{border-radius:10px;flex:none}
.dashboard-grid .service-icon svg{width:23px;height:23px;display:block}
.dashboard-grid .service-icon.netflix{color:#bd2335;background:#fdecef}
.dashboard-grid .service-icon.disney{color:#365cb4;background:#edf2ff}
.dashboard-grid .service-icon.youtube{color:#d72335;background:#fcecef}
.dashboard-grid .service-icon.pc{color:#24775e;background:#e8f6ef}
.dashboard-grid .service-icon.stores{color:#8b561e;background:#fff1df}
.dashboard-grid .service-icon.daily{color:#347763;background:#e8f6ef}

.admin-login-panel{display:flex;align-items:center;gap:16px;overflow-x:auto}
.admin-login-panel h2{flex:none;margin:0;white-space:nowrap}
.admin-login-panel #admin-login-settings{flex:none;flex-wrap:nowrap;align-items:center;gap:12px;margin:0}
.admin-login-panel label{display:flex;align-items:center;gap:6px;white-space:nowrap}
.admin-login-panel input{width:clamp(100px,8vw,160px);margin:0}
.admin-login-panel button{white-space:nowrap}

#usage-filter{align-items:center;flex-wrap:nowrap;gap:24px;overflow-x:auto;padding:3px}
#usage-filter label{display:flex;align-items:center;gap:6px;flex:none;white-space:nowrap}
#usage-filter input{margin:0}
#usage-filter input[name="search"]{width:240px}
#usage-filter button{flex:none;white-space:nowrap}

.error-log #pc-usage-filter{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap;margin:0}
.error-log #pc-usage-filter input{margin:0;min-height:30px;width:174px;max-width:100%;padding:4px 8px}
.error-log .pc-specs{font-size:12px;line-height:1.4;white-space:normal;min-width:165px;max-width:285px;overflow-wrap:anywhere}

.store-toolbar{gap:10px;flex-wrap:wrap}
.store-totals{display:flex;gap:24px;margin-left:auto;white-space:nowrap}
#store-search{display:flex;align-items:center;gap:8px;margin-left:16px}
#store-search input{width:174px;margin:0}
#store-search button,.store-totals span{white-space:nowrap}
.telegram-panel .check{align-self:center;white-space:nowrap;margin:0}
.telegram-panel small{color:#596273}
.store-status .account-toolbar{flex-wrap:wrap}
.store-status th:nth-child(2),.store-status th:nth-child(3),.store-status th:nth-child(4){text-align:center}
.store-status .store-metric{display:inline-block;padding:3px 9px;border-radius:4px}
.store-status .store-metric.netflix{color:#9b263d;background:#fcecf0}
.store-status .store-metric.disney{color:#254e91;background:#edf2ff}
.store-status .store-metric.pc{color:#17604e;background:#eaf7f1}
.store-status .company-group td{background:#e6ecf6}

.preview-banner{background:#fff4d7;color:#67480d;padding:10px 20px;font-size:13px;border-bottom:1px solid #efd693;display:flex;align-items:center;gap:14px;flex-wrap:wrap}.preview-banner a{color:#235c9c;font-weight:600}.pc-history table{width:100%;min-width:1350px}.pc-history th,.pc-history td{padding:7px 8px;font-size:12px}.pc-history .pc-specs{min-width:210px;max-width:270px}.compact-time{width:137px;white-space:normal!important;font-variant-numeric:tabular-nums}.launcher-version{display:inline-block;background:#eaf1fb;color:#305b94;border:1px solid #dbe5f5;padding:3px 6px;border-radius:4px;font-weight:600}.connection-elapsed{color:#2d6657;font-variant-numeric:tabular-nums;font-weight:600}.health-alert-guide{margin:14px 0;padding:12px 16px;background:#f1f6fc;border-left:3px solid #6d94bf;display:flex;gap:10px;flex-direction:column}.health-alert-guide small{color:#627186}.error-policy{font-size:13px;color:#526579;padding:0 12px}.repeat-count{display:inline-block;background:#fff1de;color:#87500c;padding:2px 7px;border-radius:10px;font-size:12px}.telegram-panel .rowform{flex-wrap:wrap}

/* Keep account administration above the sidebar address. */
aside{display:flex;flex-direction:column}aside>nav{min-height:0;overflow-y:auto}.aside-footer{margin-top:auto;flex-shrink:0}.aside-footer nav{padding-top:0}.aside-footer .aside-bottom{position:static;padding:14px 26px 24px}
@media(max-width:550px){.aside-footer{margin-top:0}.aside-footer nav{border-top:1px solid #303040}}
