:root{--orange:#ff6b5b;--orange-2:#ff8a5a;--orange-soft:#fff1ec;--orange-soft-2:#ffe2d8;--ink:#1f2330;--ink-2:#3a4055;--muted:#7b8194;--line:#ececf2;--bg:#f6f7fb;--card:#fff;--green:#16a34a;--green-soft:#e7f7ec;--amber:#f59e0b;--amber-soft:#fff3df;--red:#ef4444;--red-soft:#fde6e6;--shadow:0 1px 2px rgba(20,20,40,.04),0 8px 24px rgba(20,20,40,.06)}
.brand-mark svg{width:24px;height:24px}.btn{gap:8px;border-radius:10px;padding:10px 16px;font-size:13px}.btn-primary{background:linear-gradient(135deg,var(--orange),var(--orange-2));color:#fff;border:0;box-shadow:0 6px 14px rgba(255,107,91,.35)}.btn-ghost{background:#fff;border:1px solid var(--line);color:var(--ink-2)}.stat{position:relative;overflow:hidden;border-top:0;padding:18px 20px}.stat:after{content:"";position:absolute;right:-30px;top:-30px;width:90px;height:90px;border-radius:50%;opacity:.08}.stat.s-30:after{background:var(--green)}.stat.s-15:after{background:var(--amber)}.stat.s-5:after{background:#fb923c}.stat.s-over:after{background:var(--red)}.stat-ico{position:absolute;right:18px;top:18px;width:36px;height:36px;border-radius:10px;display:grid;place-items:center}.stat-ico svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.s-30 .stat-ico{background:var(--green-soft);color:var(--green)}.s-15 .stat-ico{background:var(--amber-soft);color:var(--amber)}.s-5 .stat-ico{background:#ffedd5;color:#c2410c}.s-over .stat-ico{background:var(--red-soft);color:var(--red)}.stat-badge{display:inline-flex;padding:3px 10px;border-radius:999px;font-size:11px;margin-top:8px}.s-30 .stat-badge{background:var(--green-soft);color:#166534}.s-15 .stat-badge{background:var(--amber-soft);color:#92400e}.s-5 .stat-badge{background:#ffedd5;color:#9a3412}.s-over .stat-badge{background:var(--red-soft);color:#991b1b}.summary-title{display:flex;align-items:center;justify-content:space-between;margin:8px 4px 12px}.summary-title h2{margin:0;font-size:15px}.legend{display:flex;gap:14px;font-size:11.5px;color:var(--muted)}.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-right:5px}.legend .green{background:#16a34a}.legend .amber{background:#f59e0b}.legend .orange{background:#fb923c}.legend .red{background:#ef4444}.service-card{grid-template-columns:28px minmax(0,1fr) auto auto auto auto;padding:10px 14px;border-radius:12px;box-shadow:var(--shadow);transition:box-shadow .15s}.service-card:hover{box-shadow:0 1px 2px rgba(20,20,40,.05),0 8px 18px rgba(20,20,40,.08)}.avatar{width:28px;height:28px;border-radius:7px}.service-main small{font-size:10.5px;letter-spacing:.02em}.service-main b{font-size:13px}.service-main em{font-size:11px;background:#fff7f1;border-left:2px solid var(--orange);padding:2px 6px;border-radius:3px;margin-top:3px}.tag.domain{background:#eaf3ff;color:#1d4ed8}.tag.hosting{background:#ecfdf5;color:#047857}.tag.both{background:#fef3c7;color:#92400e}.tag.mail{background:#fce7f3;color:#9d174d}.menu-btn{background:transparent;border:1px solid transparent;width:26px;height:26px;border-radius:6px;display:grid;place-items:center;color:var(--muted)}.menu-btn:hover{color:var(--ink);background:#f1f2f8}.menu-btn svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.toolbar{justify-content:space-between}.search-wrap{position:relative;flex:1;min-width:220px;max-width:360px}.search-wrap input{width:100%;padding-left:38px}.search-wrap svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);width:16px;height:16px;fill:none;stroke:var(--muted);stroke-width:2;z-index:1}.filter-chips{display:flex;gap:8px;flex-wrap:wrap}.chip{padding:7px 12px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:12px;font-weight:600;color:var(--ink-2)}.chip.active{background:var(--ink);color:#fff;border-color:var(--ink)}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:var(--orange);box-shadow:0 0 0 4px var(--orange-soft)}
.drawer-overlay{position:fixed;inset:0;background:rgba(20,20,40,.45);backdrop-filter:blur(2px);z-index:55;opacity:0;visibility:hidden;transition:.25s}.drawer-overlay.open{opacity:1;visibility:visible}.drawer{position:fixed;top:0;right:0;height:100%;width:min(560px,100%);background:#fff;box-shadow:-20px 0 50px rgba(20,20,40,.2);transform:translateX(100%);transition:transform .25s;z-index:60;display:flex;flex-direction:column}.drawer.open{transform:translateX(0)}.drawer-head{padding:18px 22px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.drawer-head h3{margin:0;font-size:16px}.drawer-head p{margin:2px 0 0;font-size:12px;color:var(--muted)}.drawer-close{border:0;background:transparent;color:var(--muted);font-size:18px}.drawer-body{padding:20px 22px;overflow:auto;flex:1}.tab-bar{display:flex;gap:6px;border-bottom:1px solid var(--line);margin-bottom:16px}.tab{padding:10px 14px;font-size:13px;font-weight:600;color:var(--muted);border:0;border-bottom:2px solid transparent;background:transparent}.tab.active{color:var(--orange);border-color:var(--orange)}.tab-panel{display:none}.tab-panel.active{display:block}.mgmt-list{display:flex;flex-direction:column;gap:6px;max-height:calc(100vh - 180px);overflow:auto;padding-right:4px}.mgmt-row{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:#fff}.mgmt-row .name{font-weight:600;font-size:13px}.mgmt-row .meta{font-size:11.5px;color:var(--muted);margin-top:2px}.mgmt-row.disabled{opacity:.55}.add-definition{margin-bottom:12px}@media(max-width:900px){.service-card,.full .service-card{grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:auto auto}.service-card .avatar{grid-row:1/span 2}.service-card .service-main{grid-column:2}.service-card .tag{display:inline-flex;grid-column:2;justify-self:start}.service-card time,.service-card .price{display:none}.service-card>strong{grid-column:3;grid-row:1}.service-card .menu-btn,.service-card .icon{grid-column:3;grid-row:2}.legend{display:none}}
.status-days{display:flex!important;flex-direction:column;text-align:right;line-height:1.05;font-size:14px!important}.status-days small{font-size:9.5px;color:var(--muted);font-weight:600;margin-top:3px}.service-card.s-over .status-days,.status-days.s-over{color:#b91c1c}.service-card.s-5 .status-days,.status-days.s-5{color:#c2410c}.service-card.s-15 .status-days,.status-days.s-15{color:#b45309}.service-card.s-30 .status-days,.status-days.s-30{color:#15803d}.definition-actions{display:flex;gap:6px;align-items:center}.definition-actions form{margin:0}.telegram-form{display:grid;gap:13px}.telegram-form>label{display:grid;gap:6px;font-size:12px;font-weight:600;color:var(--ink-2)}.telegram-form input[type=text],.telegram-form input[type=password],.telegram-form input[type=time],.telegram-form>label>input{border:1px solid var(--line);border-radius:10px;padding:10px 12px;outline:0}.notification-options{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:14px;background:#fafbff;border:1px solid var(--line);border-radius:10px}.notification-options label{display:flex;gap:8px;align-items:center;font-size:12px}.notification-options input{accent-color:var(--orange)}
#definitionModal{z-index:80}#definitionModal .modal{z-index:81}
.brand-logo{display:block;width:140px;height:auto;flex-shrink:0}.telegram-hint{margin:0;color:var(--muted);font-size:11.5px;line-height:1.5}
