:root{--bg:#07080d;--panel:#0d1018;--panel2:#111521;--line:#202536;--text:#f6f7fb;--muted:#8c93a7;--purple:#7c5cff;--purple2:#9a72ff;--green:#3ee6a0;--red:#ff5b78;--amber:#ffc568;--radius:16px}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:radial-gradient(circle at 70% 0,#171229 0,transparent 30%),var(--bg);color:var(--text);font-family:Inter,Pretendard,"Noto Sans KR",system-ui,sans-serif}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh}.topbar{height:72px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid var(--line);background:rgba(7,8,13,.88);backdrop-filter:blur(20px);position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:800;width:330px}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:linear-gradient(135deg,var(--purple),#4b8cff);box-shadow:0 10px 30px rgba(124,92,255,.35)}.main-tabs{display:flex;height:100%;gap:28px}.tab{border:0;background:none;color:var(--muted);font-weight:700;padding:0 6px;position:relative;cursor:pointer}.tab.is-active{color:#fff}.tab.is-active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--purple),#b48cff)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.server-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 14px var(--green)}.icon-btn{display:grid;place-items:center;text-decoration:none;background:var(--panel2);border:1px solid var(--line);color:#fff;width:36px;height:36px;border-radius:10px}.workspace{display:grid;grid-template-columns:360px minmax(0,1fr);min-height:calc(100vh - 72px)}.sidebar{border-right:1px solid var(--line);padding:24px 20px;background:linear-gradient(180deg,#0c0f18,#090b11)}.sidebar-head,.content-head{display:flex;align-items:center;justify-content:space-between}.eyebrow{font-size:10px;letter-spacing:.18em;color:#6e7590;font-weight:800;margin:0 0 6px}.sidebar h1,.content h2{margin:0;font-size:20px}.count-badge{min-width:32px;height:32px;border-radius:10px;background:#1b1730;color:#a88fff;display:grid;place-items:center;font-weight:800}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.btn{border:1px solid transparent;border-radius:11px;padding:11px 14px;color:#fff;font-weight:750;cursor:pointer;transition:.2s transform,.2s opacity,.2s border}.btn:hover{transform:translateY(-1px)}.btn-primary{background:linear-gradient(135deg,var(--purple),#6547e8);box-shadow:0 9px 25px rgba(124,92,255,.2)}.btn-success{background:linear-gradient(135deg,#2edb95,#23b87b);color:#07130e}.btn-muted{background:#111521;border-color:#242a3d;color:#c1c6d4}.btn-danger-ghost{background:#18101a;border-color:#39202a;color:#ff7d92}.btn-wide{width:100%;margin-top:10px}.delay-card{margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:14px;background:#0b0e16}.delay-row{display:flex;justify-content:space-between;align-items:center;color:#aeb4c4;font-size:13px}.delay-row>div{display:flex;align-items:center;gap:7px}.delay-row input{width:48px;background:#070910;border:1px solid #292f42;color:#fff;border-radius:8px;padding:7px;text-align:center}.mini-save{border:0;border-radius:8px;padding:7px 10px;background:#5d43d6;color:#fff}.delay-presets{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:12px}.delay-presets button{border:1px solid #272d40;background:#10131d;color:#7f879d;border-radius:8px;padding:6px}.delay-presets button.is-active{color:#fff;border-color:#7158e8;background:#211a3e}.search-wrap{margin-top:14px;height:43px;display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:#0c0f17;border-radius:12px;padding:0 12px}.search-wrap input{flex:1;border:0;outline:0;background:none;color:#fff}.status-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:12px 0}.status-summary span{font-size:11px;padding:7px 4px;text-align:center;border-radius:8px;background:#161321;color:#9e87f4}.status-summary .ok{background:#0e211c;color:#4be4ab}.status-summary .wait{background:#251d10;color:#f4c668}.status-summary .bad{background:#24131a;color:#ff738a}.account-list{display:flex;flex-direction:column;gap:9px}.account-card{padding:15px;border:1px solid #252b3d;border-radius:14px;background:linear-gradient(145deg,#10141f,#0b0e16);cursor:pointer;position:relative;overflow:hidden}.account-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--purple)}.account-card:hover,.account-card.is-selected{border-color:#7058d8}.account-card-top{display:flex;justify-content:space-between;gap:10px}.phone{font-weight:800}.name{font-size:12px;color:var(--muted);margin-top:4px}.status-pill{font-size:11px;font-weight:800;padding:5px 8px;border-radius:8px;height:max-content}.status-connected{background:#10271f;color:#49e2a8}.status-disconnected{background:#211d12;color:#e6bd61}.account-actions{display:flex;gap:7px;margin-top:12px}.account-actions button{background:#171427;border:1px solid #2c2850;color:#a58fff;border-radius:8px;padding:7px 9px}.account-actions .disconnect{color:#ff8094;border-color:#48202a;background:#221118}.list-skeleton{height:92px;border-radius:14px;background:linear-gradient(90deg,#0e111a,#161a26,#0e111a);background-size:200% 100%;animation:shimmer 1.3s infinite}@keyframes shimmer{to{background-position:-200% 0}}.content{padding:34px;min-width:0}.view{display:none}.view.is-active{display:block}.content-head{margin-bottom:24px}.head-tools{display:flex;gap:8px}.empty-state{min-height:420px;border:1px solid var(--line);border-radius:24px;background:linear-gradient(145deg,rgba(21,25,38,.9),rgba(11,13,20,.9));display:grid;place-content:center;text-align:center;padding:40px}.empty-orb{width:88px;height:88px;margin:0 auto 22px;border-radius:28px;display:grid;place-items:center;font-size:34px;color:#c9baff;background:radial-gradient(circle at 35% 25%,#8d70ff,#342b5b 65%,#181528);box-shadow:0 25px 80px rgba(124,92,255,.25)}.empty-state h3{margin:0 0 9px;font-size:18px}.empty-state p,.modal-copy{color:var(--muted);margin:0;line-height:1.7}.hidden{display:none!important}.account-detail{display:grid;grid-template-columns:1.2fr .8fr;gap:20px}.detail-panel{border:1px solid var(--line);border-radius:20px;background:var(--panel);padding:24px}.detail-value{font-size:28px;font-weight:850;margin:12px 0}.detail-list{display:grid;gap:14px}.detail-row{display:flex;justify-content:space-between;padding-bottom:12px;border-bottom:1px solid var(--line);color:var(--muted)}.detail-row b{color:#fff}.composer{max-width:900px;border:1px solid var(--line);border-radius:22px;background:var(--panel);padding:24px}.composer label,.modal label{display:grid;gap:8px;color:#b9bfce;font-size:13px;font-weight:700}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.composer input,.composer select,.composer textarea,.modal input{width:100%;border:1px solid #292f42;background:#090c13;color:#fff;border-radius:11px;padding:13px;outline:none}.composer textarea{resize:vertical}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px}.composer-actions p{font-size:12px;color:#767e93}.schedule-board{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.metric{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}.metric span{color:var(--muted);font-size:13px}.metric strong{display:block;font-size:30px;margin-top:10px}.empty-schedule{grid-column:1/-1;text-align:center;padding:80px;border:1px dashed #2b3041;border-radius:20px;color:var(--muted)}.modal-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.72);display:grid;place-items:center;z-index:50;backdrop-filter:blur(10px)}.modal{width:min(460px,calc(100vw - 28px));border:1px solid #2a3043;background:linear-gradient(160deg,#151927,#0b0e16);border-radius:24px;padding:30px;box-shadow:0 40px 120px #000;position:relative}.modal-close{position:absolute;right:18px;top:16px;border:0;background:none;color:#7f8799;font-size:26px;cursor:pointer}.modal-icon{width:52px;height:52px;border-radius:16px;background:#211a3e;color:#bcaeff;display:grid;place-items:center;margin-bottom:18px}.modal h2{margin:0 0 10px}.modal label{margin-top:22px}.code-inputs{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:22px 0}.code-inputs input{text-align:center;font-size:22px;font-weight:850;padding:13px 0}.demo-note{font-size:12px;color:#aeb4c5;background:#10141e;border:1px solid #252b3a;border-radius:10px;padding:10px;margin-bottom:8px}.success-step{text-align:center}.success-check{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#123b2d;color:#4ff0b2;font-size:34px;margin:0 auto 20px}.toast{position:fixed;left:50%;right:auto;bottom:24px;width:max-content;max-width:min(560px,calc(100vw - 28px));background:#151a26;border:1px solid #2c344a;border-radius:12px;padding:13px 16px;box-shadow:0 18px 50px #000;opacity:0;transform:translate(-50%,12px);pointer-events:none;transition:.25s;z-index:80;text-align:center;white-space:normal;overflow-wrap:anywhere}.toast.show{opacity:1;transform:translate(-50%,0)}.toast.error{border-color:#572333;color:#ff91a3}@media(max-width:900px){.topbar{padding:0 14px}.brand{width:auto}.brand span:last-child,.top-actions span:not(.server-dot){display:none}.main-tabs{margin-left:20px;gap:12px}.workspace{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line)}.content{padding:22px}.form-grid,.account-detail,.schedule-board{grid-template-columns:1fr}.composer-actions{align-items:stretch;flex-direction:column}.top-actions{margin-left:auto}}@media(max-width:560px){.topbar{height:auto;min-height:64px;flex-wrap:wrap}.main-tabs{order:3;width:100%;height:48px;margin:0;justify-content:space-between}.workspace{min-height:calc(100vh - 112px)}.action-grid{grid-template-columns:1fr 1fr}.content{padding:16px}.sidebar{padding:20px 14px}.modal{padding:24px 20px}}


/* TeleDK v81.16.23 — Telegram account operations cards */
.account-card{transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.account-card.is-checked{border-color:#765ce0;box-shadow:0 0 0 1px rgba(118,92,224,.16) inset}
.account-card.has-error{border-color:#59303a}
.account-card.has-error:before{background:#ef6f83}
.account-card-identity{min-width:0;flex:1}
.account-card-state{display:grid;justify-items:end;align-content:start;gap:6px}
.account-traffic{color:#6f788b;font-size:9px;white-space:nowrap}
.status-error{background:#321a21;color:#ff91a2}
.account-ops-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:11px}
.account-ops-grid>span{display:grid;gap:2px;min-width:0;padding:7px 8px;border:1px solid #202638;border-radius:9px;background:#0b0f18}
.account-ops-grid small{color:#6f788c;font-size:8px}
.account-ops-grid b{overflow:hidden;color:#c5ccda;font-size:9px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.account-card-warning{display:flex;align-items:flex-start;gap:7px;margin-top:8px;padding:8px;border:1px solid rgba(239,111,131,.22);border-radius:9px;background:rgba(62,23,33,.45);color:#f3a2af;font-size:9px;line-height:1.45}
.account-card-warning svg{width:14px;height:14px;flex:none;margin-top:1px}
.account-card-warning span{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.account-actions{flex-wrap:wrap}
.account-actions button{min-height:32px}
.v811623-selected-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 10px;padding:8px 10px;border:1px solid rgba(119,91,225,.34);border-radius:10px;background:rgba(83,61,160,.13)}
.v811623-selected-bar span{display:flex;align-items:center;gap:5px;color:#c8bcff;font-size:10px;font-weight:850}
.v811623-selected-bar span svg{width:14px;height:14px}
.v811623-selected-bar small{color:#8d95a7;font-size:8px;text-align:right}
.v818-account-tools.has-selection>summary{color:#c9baff}
.account-detail-ops{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:-6px 0 18px}
.account-detail-ops>span{display:grid;gap:5px;padding:11px 12px;border:1px solid #252b3d;border-radius:12px;background:#0d111a}
.account-detail-ops small{color:#747d91;font-size:9px}
.account-detail-ops b{overflow:hidden;color:#dce1ea;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:900px){
  .account-detail-ops{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .account-ops-grid{grid-template-columns:1fr 1fr}
  .account-actions button{flex:1 1 calc(50% - 7px)}
  .v811623-selected-bar{align-items:flex-start;flex-direction:column}
  .v811623-selected-bar small{text-align:left}
  .account-detail-ops{grid-template-columns:1fr 1fr}
}

/* TeleDK v1.0.4 account health */
.account-health-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;padding:7px 8px;border:1px solid #252d3d;border-radius:9px;background:#0a0f17}
.account-health-line>span{display:flex;align-items:center;gap:5px;min-width:0;font-size:9px}.account-health-line svg{width:13px;height:13px}.account-health-line b{font-size:9px}
.account-health-line small{overflow:hidden;color:#6f798d;font-size:8px;text-overflow:ellipsis;white-space:nowrap}
.account-health-line.health-healthy{border-color:rgba(61,190,133,.25);color:#72dcae}.account-health-line.health-stale{border-color:rgba(216,169,64,.3);color:#e0ba62}
.account-health-line.health-warning{border-color:rgba(230,147,61,.3);color:#efa35b}.account-health-line.health-danger{border-color:rgba(232,88,110,.3);color:#ff94a6}
.account-actions .health-check{border-color:rgba(110,94,210,.34);color:#b9adff}

/* TeleDK v1.0.7 — Telegram reconnect flow */
.auth-code-modal{max-width:520px}
.auth-code-progress{display:grid;grid-template-columns:auto 1fr auto 1fr auto;align-items:center;gap:8px;margin:14px 0 16px}
.auth-code-progress>span{display:grid;justify-items:center;gap:5px;min-width:54px;color:#697488;font-size:9px;font-weight:850}
.auth-code-progress>span i{display:grid;place-items:center;width:25px;height:25px;border:1px solid #313a4d;border-radius:50%;background:#0c1119;color:#788398;font-style:normal}
.auth-code-progress>span.is-active{color:#c7bdff}.auth-code-progress>span.is-active i{border-color:#735de2;background:rgba(105,83,210,.18);color:#d8d0ff;box-shadow:0 0 0 4px rgba(105,83,210,.08)}
.auth-code-progress>span.is-done{color:#6fd8aa}.auth-code-progress>span.is-done i{border-color:#2e7256;background:rgba(39,120,85,.18);color:#76dfaf}
.auth-code-progress>em{height:1px;background:#263042}.auth-code-progress>span.is-done+em{background:#32694f}
.auth-code-status{grid-template-columns:auto minmax(0,1fr) auto}.auth-code-status time{min-width:48px;color:#b8c2d4;font:800 12px/1 ui-monospace,SFMono-Regular,Consolas,monospace;text-align:right}
.auth-code-status[data-state="expired"]{border-color:rgba(222,104,80,.35)}.auth-code-status[data-state="cooldown"]{border-color:rgba(221,172,63,.34)}
.auth-code-attempt-note{display:block;min-height:15px;margin:-3px 0 8px;color:#d6a65c;font-size:9px}
.auth-code-footer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #232b3b}
.auth-code-footer-actions span{color:#687387;font-size:9px;text-align:right}.auth-code-footer-actions .btn{flex:0 0 auto}
@media(max-width:600px){.auth-code-progress{gap:5px}.auth-code-progress>span{min-width:45px}.auth-code-footer-actions{align-items:flex-start;flex-direction:column}.auth-code-footer-actions span{text-align:left}}

/* TeleDK v1.0.8 Telegram API verification */
.telegram-api-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.portal-secondary{border:1px solid #30394b;border-radius:9px;background:#121824;color:#cbd3e1;padding:10px 14px;font-weight:800;cursor:pointer}
.portal-secondary:disabled{opacity:.5;cursor:wait}
.telegram-api-test-result{margin-top:10px;padding:10px 12px;border:1px solid #2b3445;border-radius:9px;background:#0b1018;color:#8994a7;font-size:11px}
.telegram-api-test-result[data-state="loading"]{color:#c3b8ff;border-color:#4e4477}
.telegram-api-test-result[data-state="ok"]{color:#79ddb1;border-color:#2d684f}
.telegram-api-test-result[data-state="error"]{color:#ff99aa;border-color:#64313b}

/* TeleDK v1.0.8 Bot settings verification */
.bot-token-form-actions{display:flex;gap:7px;align-items:flex-end;flex-wrap:wrap}
.bot-token-health{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:8px;margin:9px 0 12px}
.bot-token-health>span,.bot-token-health>div{min-width:0;padding:8px 9px;border:1px solid #252d3d;border-radius:9px;background:#0a0f17}
.bot-token-health small,.bot-token-health b{display:block}.bot-token-health small{color:#6f798d;font-size:8px}.bot-token-health b{overflow:hidden;margin-top:3px;color:#cbd3df;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
#botVerifyState[data-state="ok"]{color:#72dcad}#botVerifyState[data-state="warning"]{color:#f0aa62}
.bot-token-health>div{display:flex;align-items:center;gap:5px;padding:6px}
@media(max-width:900px){.bot-token-health{grid-template-columns:1fr 1fr}.bot-token-health>div{grid-column:1/-1}}

/* TeleDK v1.0.11 Telegram auth hotfix */
#accountModal .modal,#authCodeModal .modal{max-height:calc(100dvh - 28px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.modal-sticky-action{position:sticky;bottom:-30px;margin:22px -30px -30px;padding:14px 30px 30px;background:linear-gradient(180deg,rgba(11,14,22,0),#0b0e16 22%,#0b0e16)}
.initial-auth-status{display:flex;align-items:flex-start;gap:9px;margin:12px 0;padding:10px 11px;border:1px solid #283043;border-radius:10px;background:#0b1018;color:#9aa5b8}
.initial-auth-status>span{display:grid;place-items:center;flex:none;width:18px;height:18px}
.initial-auth-status svg{width:14px;height:14px}.initial-auth-status b,.initial-auth-status small{display:block}.initial-auth-status b{font-size:10px;color:#d5dbe6}.initial-auth-status small{margin-top:3px;font-size:9px;line-height:1.5;color:#778197}
.initial-auth-status[data-state="requesting"],.initial-auth-status[data-state="recovering"]{border-color:#4f4378}.initial-auth-status[data-state="sent"]{border-color:#2b614c}.initial-auth-status[data-state="error"],.initial-auth-status[data-state="expired"]{border-color:#67313c}
.initial-auth-status[data-state="error"] b,.initial-auth-status[data-state="expired"] b{color:#ff9eae}
.initial-auth-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:13px 0 4px;color:#8892a6;font-size:10px}.initial-auth-meta b{color:#dce2ed}
@media(max-width:560px){.modal-sticky-action{bottom:-24px;margin:20px -20px -24px;padding:12px 20px 24px}.initial-auth-meta{align-items:stretch;flex-direction:column}}

/* TeleDK v1.0.18 — reconnect modal UI/UX only */
.auth-code-modal .auth-code-request-actions{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:8px;
  width:100%;
  margin:14px 0 16px;
}
.auth-code-modal .auth-code-request-actions .btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:44px;
  margin:0;
}
.auth-code-modal .auth-code-request-actions .btn.hidden{display:none!important}
.auth-code-modal .auth-code-request-actions .auth-code-cancel-inline{
  min-height:40px;
  border:1px solid #2d3547;
  background:#10151f;
  color:#aeb8ca;
}
.auth-code-modal .auth-code-request-actions .auth-code-cancel-inline:hover{
  border-color:#4a5368;
  background:#151b27;
  color:#e2e7f0;
}
.auth-code-modal .auth-code-entry{
  padding-top:2px;
}
.auth-code-modal .auth-code-footer-actions.auth-code-footer-note{
  justify-content:flex-end;
  margin-top:12px;
  padding-top:12px;
}
.auth-code-modal .auth-code-footer-actions.auth-code-footer-note span{
  width:100%;
  text-align:right;
}
@media(max-width:600px){
  .auth-code-modal .auth-code-request-actions{gap:7px;margin:12px 0 14px}
  .auth-code-modal .auth-code-request-actions .btn{min-height:46px}
  .auth-code-modal .auth-code-footer-actions.auth-code-footer-note span{text-align:left}
}

/* TeleDK v1.0.19 — conditional reauthentication action */
.account-actions .auth-code.is-needed{
  border-color:rgba(220,160,68,.42);
  background:rgba(121,82,18,.12);
  color:#f1bd69;
}
.account-actions .auth-code.is-needed:hover{
  border-color:rgba(239,183,86,.68);
  background:rgba(143,91,18,.2);
  color:#ffd083;
}

/* TeleDK v1.0.20 — reservation delete action */
.schedule-card-footer .schedule-delete{
  border-color:rgba(227,82,105,.38);
  background:rgba(120,26,42,.12);
  color:#f48da0;
}
.schedule-card-footer .schedule-delete:hover{
  border-color:rgba(239,99,121,.62);
  background:rgba(147,30,49,.2);
  color:#ffadba;
}

/* TeleDK v1.0.21 — premium reservation loading state */
.schedule-loading-state{
  grid-column:1/-1;
  position:relative;
  overflow:hidden;
  width:100%;
  padding:18px;
  border:1px solid #252d3f;
  border-radius:20px;
  background:
    radial-gradient(circle at 12% 0%,rgba(112,79,236,.14),transparent 28%),
    radial-gradient(circle at 88% 15%,rgba(73,195,170,.07),transparent 24%),
    linear-gradient(180deg,#0d121c,#090d14);
  box-shadow:0 18px 46px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.025);
}
.schedule-loading-state:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(115deg,transparent 25%,rgba(126,97,244,.035) 46%,transparent 67%);
  transform:translateX(-100%);
  animation:scheduleLoadingSweep 2.8s ease-in-out infinite;
}
.schedule-loading-hero{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  padding:5px 4px 15px;
}
.schedule-loading-orb{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border:1px solid rgba(126,97,244,.32);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(96,65,218,.24),rgba(53,39,109,.16));
  color:#b9aaff;
  box-shadow:inset 0 0 22px rgba(120,88,240,.06),0 8px 22px rgba(0,0,0,.18);
}
.schedule-loading-orb svg{width:20px;height:20px}
.schedule-loading-copy{min-width:0}
.schedule-loading-copy small{
  display:block;
  margin-bottom:4px;
  color:#8177ad;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
}
.schedule-loading-copy strong{
  display:block;
  color:#eef1f7;
  font-size:15px;
  font-weight:850;
  letter-spacing:-.02em;
}
.schedule-loading-copy p{
  margin:5px 0 0;
  color:#768095;
  font-size:10px;
  line-height:1.55;
}
.schedule-loading-live{
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border:1px solid #293248;
  border-radius:999px;
  background:#0b111b;
  color:#929cb0;
  font-size:9px;
  font-weight:800;
  white-space:nowrap;
}
.schedule-loading-live i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:#7d61f2;
  box-shadow:0 0 0 0 rgba(125,97,242,.45);
  animation:scheduleLoadingPulse 1.5s ease-out infinite;
}
.schedule-loading-progress{
  position:relative;
  z-index:1;
  overflow:hidden;
  height:2px;
  margin:0 4px 14px;
  border-radius:999px;
  background:#171e2b;
}
.schedule-loading-progress span{
  display:block;
  width:34%;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,transparent,#7659ee,#a08cff,transparent);
  animation:scheduleLoadingProgress 1.8s ease-in-out infinite;
}
.schedule-loading-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.schedule-loading-card{
  min-width:0;
  padding:13px;
  border:1px solid #20283a;
  border-radius:14px;
  background:linear-gradient(180deg,rgba(17,23,34,.9),rgba(10,15,23,.94));
  opacity:.88;
  animation:scheduleLoadingCardIn .45s ease both;
  animation-delay:calc(var(--schedule-load-index) * 70ms);
}
.schedule-loading-card-head{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
}
.schedule-loading-icon{
  width:31px;
  height:31px;
  border-radius:9px;
}
.schedule-loading-title{display:grid;gap:5px;min-width:0}
.skeleton-line,.skeleton-chip,.schedule-loading-pill,.schedule-loading-countdown,.schedule-loading-icon{
  position:relative;
  overflow:hidden;
  display:block;
  background:#171f2d;
}
.skeleton-line:after,.skeleton-chip:after,.schedule-loading-pill:after,.schedule-loading-countdown:after,.schedule-loading-icon:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.055),transparent);
  transform:translateX(-100%);
  animation:scheduleSkeletonShimmer 1.65s ease-in-out infinite;
  animation-delay:calc(var(--schedule-load-index,0) * 90ms);
}
.skeleton-line{height:7px;border-radius:999px}
.skeleton-line.is-label{width:31%;height:5px}
.skeleton-line.is-title{width:70%;height:8px}
.skeleton-line.is-caption{width:35%;height:5px}
.skeleton-line.is-time{width:58%;height:8px;margin-top:6px}
.schedule-loading-pill{width:48px;height:20px;border-radius:999px}
.schedule-loading-meta{
  display:flex;
  gap:6px;
  margin-top:12px;
}
.skeleton-chip{width:29%;height:20px;border-radius:7px}
.skeleton-chip.is-short{width:20%}
.skeleton-chip.is-medium{width:25%}
.schedule-loading-run{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:11px;
  padding:10px;
  border:1px solid #1d2534;
  border-radius:10px;
  background:#0a0f17;
}
.schedule-loading-run>div{flex:1;min-width:0}
.schedule-loading-countdown{width:68px;height:24px;border-radius:8px}
@keyframes scheduleLoadingSweep{
  0%,18%{transform:translateX(-110%)}
  72%,100%{transform:translateX(110%)}
}
@keyframes scheduleLoadingPulse{
  0%{box-shadow:0 0 0 0 rgba(125,97,242,.42)}
  70%{box-shadow:0 0 0 7px rgba(125,97,242,0)}
  100%{box-shadow:0 0 0 0 rgba(125,97,242,0)}
}
@keyframes scheduleLoadingProgress{
  0%{transform:translateX(-115%)}
  55%,100%{transform:translateX(310%)}
}
@keyframes scheduleSkeletonShimmer{
  0%{transform:translateX(-110%)}
  65%,100%{transform:translateX(110%)}
}
@keyframes scheduleLoadingCardIn{
  from{opacity:0;transform:translateY(5px)}
  to{opacity:.88;transform:none}
}
@media(max-width:1050px){
  .schedule-loading-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .schedule-loading-card:nth-child(3){display:none}
}
@media(max-width:650px){
  .schedule-loading-state{padding:14px;border-radius:16px}
  .schedule-loading-hero{grid-template-columns:auto minmax(0,1fr);gap:10px}
  .schedule-loading-live{grid-column:1/-1;justify-self:start;margin-left:56px;margin-top:-4px}
  .schedule-loading-copy strong{font-size:14px}
  .schedule-loading-copy p{font-size:9px}
  .schedule-loading-grid{grid-template-columns:1fr}
  .schedule-loading-card:nth-child(2),.schedule-loading-card:nth-child(3){display:none}
}
@media(prefers-reduced-motion:reduce){
  .schedule-loading-state:before,.schedule-loading-live i,.schedule-loading-progress span,
  .skeleton-line:after,.skeleton-chip:after,.schedule-loading-pill:after,
  .schedule-loading-countdown:after,.schedule-loading-icon:after,.schedule-loading-card{animation:none!important}
}
@media(max-width:560px){.toast{bottom:16px;max-width:calc(100vw - 24px);padding:12px 14px;font-size:13px}}

/* TeleDK v1.0.93 — Telegram account Health v2 */
.account-health-line>span em{
  display:inline-flex;align-items:center;min-height:18px;padding:0 6px;margin-left:2px;
  border:1px solid rgba(226,175,68,.28);border-radius:999px;background:rgba(111,78,18,.22);
  color:#e8c46d;font-size:7px;font-style:normal;font-weight:900;white-space:nowrap
}
.account-health-line[data-health-state="flood_wait"]{border-color:rgba(226,175,68,.42);background:rgba(75,53,12,.14);color:#e9c36a}
.account-health-line[data-health-state="send_restricted"],
.account-health-line[data-health-state="spam_suspected"],
.account-health-line[data-health-state="frozen"],
.account-health-line[data-health-state="deactivated"]{border-color:rgba(239,88,113,.44);background:rgba(90,25,38,.16);color:#ff94a7}
.account-health-line[data-health-state="api_error"],
.account-health-line[data-health-state="network_error"]{border-color:rgba(231,149,61,.38);background:rgba(91,54,14,.12);color:#f0a65e}
