:root{color-scheme:light;--bg:#f5f6f3;--surface:#fff;--surface-2:#f8f9f7;--surface-3:#eef0ec;--text:#20231f;--muted:#777e75;--subtle:#a3a99f;--line:#e7eae4;--line-strong:#d9ded5;--green:#8fca16;--green-dark:#63910b;--green-soft:#f0f8df;--amber:#d39a32;--amber-soft:#fff5df;--purple:#9276c7;--purple-soft:#f3effb;--red:#d05a55;--red-soft:#fff0ef;--shadow:0 14px 42px rgba(29,36,22,.07);--radius:16px;--radius-sm:10px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text)}body{font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}.app-root{min-height:100vh}.boot-screen,.loading-state{display:flex;align-items:center;justify-content:center;gap:12px;min-height:240px;color:var(--muted)}.boot-screen{height:100vh;flex-direction:column}.brand-mark{width:38px;height:38px;border-radius:12px;background:var(--green);display:grid;place-items:center;color:#17200b;font-size:23px;font-weight:900;letter-spacing:-2px;box-shadow:0 5px 16px rgba(143,202,22,.24);flex:none}.spinner{width:18px;height:18px;border:2px solid var(--line-strong);border-top-color:var(--green-dark);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.app-shell{display:flex;min-height:100vh}.sidebar{width:254px;position:fixed;inset:0 auto 0 0;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:23px 16px 16px;z-index:30;transition:transform .25s ease}.side-brand{display:flex;align-items:center;gap:11px;padding:0 8px 27px}.side-brand strong,.brand-lockup strong{display:block;font-size:13px;letter-spacing:-.2px}.side-brand small,.brand-lockup small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.side-close{display:none!important;margin-left:auto}.side-nav{overflow-y:auto;flex:1;padding-right:2px}.nav-label{font-size:9px;letter-spacing:1.35px;font-weight:800;color:#a0a69c;padding:15px 11px 8px}.nav-item{border:0;background:transparent;color:#697166;display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;border-radius:9px;text-align:left;margin:2px 0;font-size:12px;font-weight:600;transition:background .18s,color .18s}.nav-item:hover{background:var(--surface-2);color:var(--text)}.nav-item.active{background:var(--green-soft);color:#436408}.nav-icon{font-size:17px;width:20px;text-align:center;line-height:1}.nav-dot{width:6px;height:6px;border-radius:50%;background:var(--green);margin-left:auto}.side-bottom{border-top:1px solid var(--line);padding-top:13px}.secure-note{display:flex;align-items:center;gap:10px;background:var(--surface-2);border:1px solid var(--line);border-radius:10px;padding:11px;margin-bottom:9px}.secure-icon{width:29px;height:29px;border-radius:9px;background:var(--green-soft);color:#557e0b;display:grid;place-items:center;font-size:16px}.secure-note strong{font-size:10px;display:block}.secure-note small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.logout-item{color:#9a6b68}.main-area{margin-left:254px;width:calc(100% - 254px);min-height:100vh;display:flex;flex-direction:column}.topbar{height:70px;background:color-mix(in srgb,var(--surface) 92%,transparent);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.topbar-left,.topbar-right,.breadcrumb,.user-chip{display:flex;align-items:center}.breadcrumb{gap:11px;font-size:11px;color:var(--muted)}.breadcrumb b{font-weight:400;color:#c0c5bc}.breadcrumb strong{color:var(--text);font-size:12px}.topbar-right{gap:20px}.user-chip{gap:9px}.avatar{width:32px;height:32px;border-radius:50%;background:#e8efda;color:#4e700e;display:grid;place-items:center;font-size:11px;font-weight:800}.user-chip-text strong{font-size:11px;display:block}.user-chip-text small{font-size:10px;color:var(--muted);display:block;margin-top:3px}.icon-button,.theme-toggle{width:31px;height:31px;border:1px solid transparent;background:transparent;color:var(--muted);border-radius:8px;display:inline-grid;place-items:center;font-size:16px;transition:.18s}.icon-button:hover,.theme-toggle:hover{background:var(--surface-3);color:var(--text)}.theme-toggle{border:1px solid var(--line);font-size:18px}.logout-top{border-left:1px solid var(--line);border-radius:0;padding-left:16px;width:36px}.menu-toggle{display:none}.page-container{width:min(1320px,100%);margin:0 auto;padding:34px 38px 28px;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px}.eyebrow{display:block;color:#8a9482;font-size:9px;letter-spacing:1.5px;font-weight:800;margin-bottom:9px}.page-heading h1,.auth-intro h1{font-size:29px;letter-spacing:-1.2px;margin:0;font-weight:700;line-height:1.14}.page-heading p{margin:8px 0 0;color:var(--muted);font-size:12px}.btn{border:1px solid transparent;border-radius:9px;padding:10px 15px;font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:transform .16s,background .16s,border-color .16s;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--green);color:#17200a;box-shadow:0 4px 12px rgba(143,202,22,.15)}.btn-primary:hover{background:#9bdc1a}.btn-secondary{background:var(--surface);border-color:var(--line-strong);color:var(--text)}.btn-secondary:hover,.btn-quiet:hover{background:var(--surface-3)}.btn-quiet{background:transparent;color:var(--muted);padding:8px 10px}.btn-wide{width:100%}.btn-small{padding:7px 10px;font-size:10px}.stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:20px}.stats-grid.client-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:17px 17px 15px;min-width:0;box-shadow:0 4px 16px rgba(30,40,20,.018)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:10px;font-weight:650}.stat-icon{width:29px;height:29px;border-radius:9px;background:var(--surface-3);display:grid;place-items:center;color:#6d7963;font-size:16px}.stat-icon.green{background:var(--green-soft);color:#638e12}.stat-icon.amber{background:var(--amber-soft);color:#b37b17}.stat-icon.purple{background:var(--purple-soft);color:var(--purple)}.stat-card>strong{font-size:27px;display:block;letter-spacing:-1px;margin:10px 0 1px}.stat-card>small{font-size:9px;color:var(--subtle)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.9fr);gap:15px}.panel-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:20px;box-shadow:0 4px 20px rgba(28,37,18,.018);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.panel-head h3{font-size:13px;margin:0;letter-spacing:-.2px}.panel-head p{font-size:10px;color:var(--muted);margin:5px 0 0}.subtle-icon{font-size:20px;color:#a3ad99}.activity-list{display:flex;flex-direction:column}.activity-row{display:flex;align-items:flex-start;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.activity-row:first-child{border-top:0}.activity-bullet{width:8px;height:8px;background:var(--green);border-radius:50%;margin-top:4px;box-shadow:0 0 0 4px var(--green-soft);flex:none}.activity-row strong{font-size:11px;font-weight:650;display:block}.activity-row small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.empty-inline{padding:22px 12px;text-align:center;color:var(--muted);font-size:11px}.quick-action{display:flex;align-items:center;gap:11px;width:100%;border:0;border-top:1px solid var(--line);background:transparent;padding:12px 1px;text-align:left}.quick-action:hover strong{color:var(--green-dark)}.quick-symbol{width:31px;height:31px;border-radius:9px;background:var(--surface-3);display:grid;place-items:center;color:#6c7962;font-size:16px}.quick-action span:nth-child(2){flex:1}.quick-action strong{display:block;font-size:10px}.quick-action small{display:block;margin-top:4px;font-size:9px;color:var(--muted)}.quick-action>b{color:#9ca597;font-size:16px;font-weight:400}.service-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.service-mini{border:1px solid var(--line);border-radius:11px;padding:13px}.service-mini-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.service-symbol{width:30px;height:30px;border-radius:9px;background:var(--green-soft);color:#648f12;display:grid;place-items:center;font-size:16px}.service-mini>strong{display:block;font-size:11px}.service-mini>small{display:block;margin-top:6px;color:var(--muted);font-size:9px}.client-help-strip{margin-top:16px;display:flex;align-items:center;gap:13px;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:15px 17px}.help-mark{width:32px;height:32px;border-radius:50%;background:var(--green-soft);color:#638d12;display:grid;place-items:center;font-weight:800}.client-help-strip>div:nth-child(2){flex:1}.client-help-strip strong,.client-help-strip span{display:block}.client-help-strip strong{font-size:11px}.client-help-strip span{font-size:10px;color:var(--muted);margin-top:4px}.table-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:14px}.search-box{display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:8px;padding:0 10px;width:min(360px,100%);height:34px;color:var(--muted)}.search-box input{border:0;outline:0;background:transparent;width:100%;font-size:10px;color:var(--text)}.result-count{font-size:10px;color:var(--muted);white-space:nowrap}.table-wrap{width:100%;overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:9px;letter-spacing:.45px;text-transform:uppercase;font-weight:750;color:#8c9587;padding:11px 12px;border-bottom:1px solid var(--line)}td{font-size:10px;padding:13px 12px;border-bottom:1px solid #eff1ed;color:#51594e}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:var(--surface-2)}td strong{font-size:10px;color:var(--text)}td small.cell-sub{display:block;color:var(--muted);font-size:9px;margin-top:4px}.person-cell{display:flex;align-items:center;gap:9px}.person-cell strong,.person-cell small{display:block}.person-cell small{color:var(--muted);font-size:9px;margin-top:3px}.small-avatar{width:28px;height:28px;font-size:9px}.status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:30px;background:var(--surface-3);color:#687064;font-size:9px;font-weight:700}.status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.status-active,.status-paid,.status-open{background:var(--green-soft);color:#5b8011}.status-suspended,.status-cancelled,.status-closed,.status-inactive{background:#f0f1ee;color:#858b80}.status-expired,.status-overdue,.status-high{background:var(--red-soft);color:#b94e48}.status-in_progress,.status-unpaid,.status-normal{background:var(--amber-soft);color:#a7751d}.status-low{background:var(--surface-3);color:#737b6f}.status-transferred{background:var(--purple-soft);color:#8068b5}.count-pill{background:var(--surface-3);border-radius:20px;padding:4px 8px;font-size:9px}.row-actions{display:flex;align-items:center;gap:3px;justify-content:flex-end}.row-actions .icon-button{width:27px;height:27px;font-size:13px}.danger-hover:hover{background:var(--red-soft);color:var(--red)}.catalog-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,.8fr);gap:15px}.catalog-list{display:flex;flex-direction:column}.catalog-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.catalog-row:first-child{border-top:0}.catalog-icon{width:34px;height:34px;border-radius:10px;background:var(--surface-3);display:grid;place-items:center;color:#67755c;font-size:17px}.catalog-info{flex:1;min-width:0}.catalog-info strong,.catalog-info small{display:block}.catalog-info strong{font-size:11px}.catalog-info small{font-size:9px;color:var(--muted);margin-top:4px}.catalog-price{font-size:10px;font-weight:750}.category-list{margin-bottom:15px}.category-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-top:1px solid var(--line)}.category-row:first-child{border-top:0}.category-row strong{font-size:10px;flex:1}.category-dot{width:7px;height:7px;border-radius:50%;background:var(--green)}.category-panel>.btn{font-size:10px}.access-ready{color:#6c9519;font-size:9px;font-weight:700}.domain-name{font-weight:750;letter-spacing:.1px}.client-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.client-service-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:17px;display:flex;flex-direction:column;min-height:205px}.service-card-top{display:flex;align-items:center;justify-content:space-between}.client-service-card h3{font-size:14px;margin:17px 0 5px}.client-service-card>p{font-size:10px;color:var(--muted);margin:0}.service-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:auto;padding:14px 0 12px;font-size:9px;color:var(--muted)}.service-meta strong{font-size:10px;color:var(--text)}.security-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:15px;max-width:920px}.security-info{background:linear-gradient(145deg,var(--surface),var(--surface-2))}.security-big-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--green-soft);color:#678f17;font-size:23px}.security-info h3{font-size:14px;margin:18px 0 8px}.security-info p{color:var(--muted);font-size:11px;line-height:1.7}.security-point{font-size:10px;color:#596351;margin-top:13px}.security-point span{color:#6d9b16;font-weight:900;margin-right:6px}.stack-form{display:flex;flex-direction:column;gap:14px}.stack-form label,.modal-form label,.reply-form label,.install-form label{font-size:10px;font-weight:700;color:#697263;display:flex;flex-direction:column;gap:7px}.stack-form input,.modal-form input,.modal-form select,.modal-form textarea,.stack-form textarea,.reply-form textarea,.reply-form select,.install-form input{border:1px solid var(--line-strong);background:var(--surface);color:var(--text);border-radius:8px;padding:10px 11px;outline:0;width:100%;font-size:11px;transition:border .15s,box-shadow .15s}.stack-form input:focus,.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus,.reply-form textarea:focus,.reply-form select:focus,.install-form input:focus{border-color:#98c94b;box-shadow:0 0 0 3px rgba(143,202,22,.12)}.stack-form small,.install-form small{font-size:9px;color:var(--muted);font-weight:400}.stack-form .btn{align-self:flex-start}.form-message{font-size:10px;line-height:1.5}.form-message.error{color:var(--red)}.form-message.success{color:#5e8a14}.muted{color:var(--muted)}.small{font-size:10px}.app-footer{border-top:1px solid var(--line);padding:15px 38px;display:flex;justify-content:space-between;color:#969e91;font-size:9px}.app-footer b{font-weight:600;color:#747d70;margin-left:5px}.modal-open{overflow:hidden}.modal-overlay{position:fixed;inset:0;background:rgba(19,24,16,.48);backdrop-filter:blur(5px);z-index:80;display:flex;align-items:center;justify-content:center;padding:22px;overflow-y:auto;animation:fadein .18s ease}@keyframes fadein{from{opacity:0}to{opacity:1}}.modal-card{width:min(520px,100%);max-height:calc(100vh - 44px);overflow-y:auto;background:var(--surface);border-radius:17px;box-shadow:0 25px 90px rgba(0,0,0,.22);padding:23px;animation:rise .22s ease}.modal-card.modal-large{width:min(760px,100%)}@keyframes rise{from{transform:translateY(8px);opacity:.7}to{transform:translateY(0);opacity:1}}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px}.modal-head .eyebrow{font-size:8px;margin-bottom:6px}.modal-head h2{font-size:19px;letter-spacing:-.5px;margin:0}.modal-close{font-size:22px}.modal-form{display:flex;flex-direction:column;gap:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field-full{grid-column:1/-1}.modal-form textarea,.reply-form textarea{resize:vertical;min-height:58px;line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:5px;padding-top:15px;border-top:1px solid var(--line)}.security-hint{padding:10px 12px;border-radius:8px;background:var(--green-soft);color:#5b7c1c;font-size:9px}.security-hint span{margin-right:6px}.ticket-meta-line{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted);margin-bottom:12px}.ticket-conversation{display:flex;flex-direction:column;gap:10px;max-height:340px;overflow:auto;padding:3px 2px 12px}.ticket-message{padding:12px 13px;border-radius:10px;background:var(--surface-2);border:1px solid var(--line)}.ticket-message.staff-message{background:var(--green-soft);border-color:#e2edcc}.message-meta{display:flex;justify-content:space-between;gap:10px}.message-meta strong{font-size:10px}.message-meta span{font-size:9px;color:var(--muted)}.ticket-message p{font-size:11px;line-height:1.6;margin:9px 0 0;white-space:normal}.reply-form{border-top:1px solid var(--line);padding-top:14px;display:grid;gap:11px}.reply-form .modal-actions{margin-top:0}.toast-region{position:fixed;right:22px;bottom:22px;z-index:120;display:flex;flex-direction:column;gap:8px}.toast{background:#252b21;color:white;padding:12px 15px;border-radius:10px;font-size:11px;box-shadow:0 12px 30px rgba(0,0,0,.18);opacity:0;transform:translateY(8px);transition:.22s}.toast.visible{opacity:1;transform:translateY(0)}.toast-error{background:#8f3732}.toast-info{background:#46533c}.empty-state{grid-column:1/-1;display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:260px;color:var(--muted);text-align:center}.empty-icon{width:42px;height:42px;border-radius:13px;background:var(--surface-3);display:grid;place-items:center;font-size:21px;margin-bottom:12px;color:#78836f}.empty-state h3{color:var(--text);font-size:14px;margin:0 0 6px}.empty-state p{font-size:11px;margin:0 0 16px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:var(--surface)}.auth-intro{background:#20251e;color:#f4f5f1;display:flex;flex-direction:column;justify-content:space-between;padding:44px 7vw 30px;position:relative;overflow:hidden}.auth-intro:before,.auth-intro:after{content:"";position:absolute;border:1px solid rgba(152,206,54,.14);border-radius:50%;width:620px;height:620px;right:-230px;top:13%;pointer-events:none}.auth-intro:after{width:460px;height:460px;right:-150px;top:23%;border-color:rgba(152,206,54,.12)}.auth-brand{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:700;position:relative;z-index:1}.auth-intro-copy{max-width:520px;position:relative;z-index:1;margin:50px 0}.auth-intro .eyebrow{color:#a9d264}.auth-intro h1{font-size:clamp(34px,4.4vw,58px);letter-spacing:-2.4px;line-height:1.09}.auth-intro h1 em{color:#a2d24d;font-style:normal}.auth-intro-copy>p{font-size:13px;color:#aab1a4;line-height:1.7;max-width:370px;margin-top:21px}.auth-feature-list{display:flex;flex-direction:column;gap:13px;margin-top:38px;color:#cad2c0;font-size:11px}.auth-feature-list span::first-letter{color:#a4d54c}.auth-copyright{font-size:9px;color:#737d6e;position:relative;z-index:1}.auth-panel{display:grid;place-items:center;padding:35px}.auth-panel-inner{width:min(360px,100%)}.auth-mobile-brand{display:none;align-items:center;gap:10px;margin-bottom:38px;font-size:12px}.auth-panel-inner .eyebrow{margin-bottom:10px}.auth-panel h2{font-size:27px;letter-spacing:-.9px;margin:0}.auth-panel>.muted{font-size:11px;margin:8px 0 26px}.auth-row{display:flex;justify-content:space-between;align-items:center}.text-button{border:0;background:transparent;color:#668e19;font-size:10px;font-weight:700;padding:0}.text-button:hover{text-decoration:underline}.auth-bottom{border-top:1px solid var(--line);margin-top:30px;padding-top:19px}.simple-auth,.auth-body{min-height:100vh;background:var(--bg);display:grid;place-items:center;padding:24px}.auth-card,.install-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:34px;width:min(440px,100%);box-shadow:var(--shadow)}.auth-card h1,.install-card h1{font-size:25px;letter-spacing:-.9px;margin:0 0 8px}.auth-card>p:not(.eyebrow),.install-card>p:not(.eyebrow){font-size:11px;line-height:1.7;margin:0 0 22px}.brand-lockup{display:flex;align-items:center;gap:10px;margin-bottom:34px}.auth-card .back-link,.back-link{display:inline-block;margin-top:21px;border:0;background:transparent;padding:0;color:var(--muted);font-size:10px}.auth-card .back-link:hover,.back-link:hover{color:var(--text)}.install-card{width:min(560px,100%);padding:30px}.install-card .brand-lockup{margin-bottom:29px}.install-form{display:grid;grid-template-columns:1fr 1fr;gap:13px}.install-form label{grid-column:span 1}.install-form label:nth-child(-n+2),.install-form label:nth-child(7),.install-form label:nth-child(8),.install-form button,.install-foot{grid-column:1/-1}.install-form .form-separator{grid-column:1/-1;margin-top:4px;border-bottom:1px solid var(--line);padding-bottom:8px;color:#83907b;font-size:9px;text-transform:uppercase;letter-spacing:1px;font-weight:800}.install-form button{margin-top:8px}.install-foot{margin-top:17px!important;font-size:9px!important}.notice{border-radius:9px;padding:11px 13px;font-size:10px;margin-bottom:16px}.notice-error{background:var(--red-soft);color:#a4403a}.sso-body{min-height:100vh;display:grid;place-items:center;padding:25px;background:var(--bg)}.sso-card{width:min(460px,100%);background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:var(--shadow)}.sso-card .brand-mark{margin-bottom:27px}.sso-card h1{font-size:22px;margin:0 0 9px;letter-spacing:-.6px}.sso-card>p:not(.eyebrow){font-size:11px;color:var(--muted);line-height:1.7}.sso-card form{margin:22px 0 14px}.sso-card .small{font-size:9px}.sso-card .back-link{display:inline-block;margin-top:16px;font-size:10px}.sso-card .btn{padding:13px}.sso-card .eyebrow{margin-bottom:7px}
:root[data-theme="dark"]{color-scheme:dark;--bg:#151812;--surface:#1e221b;--surface-2:#242920;--surface-3:#2c3228;--text:#edf0e9;--muted:#a0a99a;--subtle:#788271;--line:#333a2e;--line-strong:#414a3b;--green:#a2d63d;--green-dark:#b3e45a;--green-soft:#2d3b1d;--amber:#e0b35d;--amber-soft:#40351f;--purple:#ad96de;--purple-soft:#342c46;--red:#e27b73;--red-soft:#402623;--shadow:0 15px 48px rgba(0,0,0,.18)}:root[data-theme="dark"] .auth-intro{background:#11150f}:root[data-theme="dark"] .avatar{background:#344326;color:#c1e78c}:root[data-theme="dark"] tbody tr td{border-color:#2a3026}:root[data-theme="dark"] .nav-item.active{color:#c0e78a}:root[data-theme="dark"] .status-suspended,:root[data-theme="dark"] .status-cancelled,:root[data-theme="dark"] .status-closed,:root[data-theme="dark"] .status-inactive{background:#33382f;color:#b0b7a8}
@media (max-width:1150px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stats-grid.client-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar{padding:0 25px}.page-container{padding:28px 25px}.app-footer{padding:14px 25px}.client-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){.sidebar{transform:translateX(-101%);box-shadow:var(--shadow);width:275px}.sidebar.open{transform:translateX(0)}.side-close{display:grid!important}.sidebar-scrim{display:none;position:fixed;inset:0;background:rgba(14,18,12,.35);z-index:25}.sidebar.open~.sidebar-scrim{display:block}.main-area{margin-left:0;width:100%}.menu-toggle{display:inline-grid;margin-right:12px}.topbar{height:62px;padding:0 19px}.page-container{padding:25px 19px}.app-footer{padding:13px 19px}.dashboard-grid,.catalog-layout,.security-layout{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr}.auth-intro{display:none}.auth-panel{min-height:100vh}.auth-mobile-brand{display:flex}.auth-panel-inner{width:min(400px,100%)}.client-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){body{font-size:13px}.topbar-right{gap:10px}.user-chip-text{display:none}.topbar{padding:0 14px}.breadcrumb{gap:7px;font-size:10px}.breadcrumb strong{font-size:11px}.page-container{padding:22px 13px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:18px;gap:13px}.page-heading h1{font-size:25px}.page-heading>.btn{width:100%}.stats-grid,.stats-grid.client-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{padding:13px}.stat-card>strong{font-size:23px}.stat-top{font-size:9px}.dashboard-grid{gap:11px}.panel-card{padding:15px;border-radius:13px}.service-mini-grid{grid-template-columns:1fr}.client-service-grid{grid-template-columns:1fr}.client-help-strip{align-items:flex-start;flex-wrap:wrap}.client-help-strip>div:nth-child(2){width:calc(100% - 48px)}.client-help-strip .btn{width:100%}.table-toolbar{align-items:flex-start;flex-direction:column}.search-box{width:100%}.result-count{align-self:flex-end}.table-wrap{margin:0 -4px;width:calc(100% + 8px)}th,td{padding:11px 9px}.app-footer{padding:13px;gap:8px;flex-direction:column}.form-grid{grid-template-columns:1fr}.field-full{grid-column:auto}.modal-overlay{padding:8px;align-items:flex-end}.modal-card{max-height:92vh;border-radius:16px 16px 8px 8px;padding:18px}.modal-card.modal-large{width:100%}.modal-actions .btn{flex:1}.auth-panel{padding:22px}.auth-card,.install-card{padding:24px}.install-form{grid-template-columns:1fr}.install-form label,.install-form label:nth-child(-n+2),.install-form label:nth-child(7),.install-form label:nth-child(8){grid-column:1}.install-form .form-separator,.install-form button,.install-foot{grid-column:1}.toast-region{left:12px;right:12px;bottom:12px}.toast{text-align:center}.ticket-meta-line{flex-wrap:wrap}.logout-top{padding-left:8px;width:28px}}


/* ================================================================
   Panel de Servicios 1.1 — visual refresh
   Independent visual system: crisp hosting dashboard, ink + violet.
   ================================================================ */
:root{
  --bg:#f5f6f8;--surface:#fff;--surface-2:#f8f8fb;--surface-3:#f0eff5;
  --text:#171821;--muted:#6d7180;--subtle:#9699a5;--line:#e6e7ec;--line-strong:#d4d6df;
  --green:#6546e8;--green-dark:#4f32cd;--green-soft:#f0edff;
  --purple:#7052ec;--purple-soft:#f0edff;--amber:#bb7b20;--amber-soft:#fff5e6;
  --red:#c94f59;--red-soft:#fff0f1;--shadow:0 14px 40px rgba(20,22,35,.06);
  --radius:14px;--radius-sm:9px;
}
html,body{background:var(--bg);}
.brand-mark{width:40px;height:40px;border-radius:13px;background:#171821;color:#fff;font-size:22px;letter-spacing:-1.5px;box-shadow:0 5px 14px rgba(23,24,33,.16);position:relative;overflow:hidden}
.brand-mark:after{content:"";position:absolute;width:12px;height:12px;border:2px solid #9a84ff;border-radius:50%;right:5px;top:5px;opacity:.95}
.sidebar{width:258px;padding:24px 17px 16px;background:#fff;border-right:1px solid #e9eaf0;box-shadow:3px 0 16px rgba(20,22,35,.018)}
.side-brand{gap:12px;padding:0 8px 29px}
.side-brand strong,.brand-lockup strong{font-size:13px;font-weight:800;letter-spacing:-.35px;color:#171821}
.side-brand small,.brand-lockup small{font-size:9px;letter-spacing:1.05px;text-transform:uppercase;color:#989ba7;font-weight:750}
.nav-label{font-size:9px;letter-spacing:1.2px;color:#a0a2ad;padding:18px 12px 8px}
.nav-item{color:#555a68;font-size:12px;font-weight:650;padding:11px 12px;border-radius:9px;gap:12px}
.nav-item:hover{background:#f7f6fb;color:#252536}
.nav-item.active{background:#f0edff;color:#4f32cd;font-weight:750}
.nav-icon{font-size:17px;width:21px;color:inherit;opacity:.9}
.nav-dot{background:#7658f1;box-shadow:0 0 0 3px #f0edff}
.side-bottom{border-top-color:#ececf1;padding-top:15px}
.secure-note{background:#f8f7fc;border-color:#eeedf5;border-radius:11px;padding:12px}
.secure-icon{background:#eeebff;color:#5b3dd7}
.secure-note strong{font-size:10px;color:#282837}
.secure-note small{font-size:9px;color:#7d8090}
.main-area{margin-left:258px;width:calc(100% - 258px);background:#f7f7fa}
.topbar{height:72px;padding:0 40px;background:rgba(255,255,255,.94);border-bottom:1px solid #e9eaf0;backdrop-filter:blur(14px)}
.breadcrumb{gap:12px;color:#898c99;font-size:11px}
.breadcrumb b{color:#c8c9d1}
.breadcrumb strong{font-size:12px;color:#222330;font-weight:750}
.topbar-right{gap:17px}
.avatar{background:#ebe8ff;color:#583bd0;border-radius:50%;width:34px;height:34px}
.user-chip-text strong{font-size:11px;color:#242532}
.user-chip-text small{font-size:9px;color:#858896}
.icon-button,.theme-toggle{border-radius:9px}
.theme-toggle{width:34px;height:34px;border-color:#e8e8ee;color:#5c5e6d}
.page-container{width:min(1420px,100%);padding:36px 40px 32px}
.page-heading{margin-bottom:27px;align-items:center}
.eyebrow{color:#8d8f9d;font-size:9px;letter-spacing:1.3px;margin-bottom:9px}
.page-heading h1{font-size:30px;letter-spacing:-1.25px;font-weight:780;color:#171821}
.page-heading p{font-size:12px;color:#777b89;margin-top:8px}
.btn{border-radius:8px;padding:11px 16px;font-size:11px;font-weight:750;letter-spacing:.05px}
.btn-primary{background:#5c3fe4;color:#fff;box-shadow:0 5px 14px rgba(92,63,228,.16)}
.btn-primary:hover{background:#4e31cf}
.btn-secondary{background:#fff;border-color:#dfe0e7;color:#343544;box-shadow:0 1px 2px rgba(20,20,35,.025)}
.btn-secondary:hover,.btn-quiet:hover{background:#f7f6fb}
.stats-grid{gap:14px;margin-bottom:20px}
.stat-card{border:1px solid #e8e9ef;border-radius:13px;padding:18px 18px 16px;box-shadow:0 3px 12px rgba(28,29,44,.025)}
.stat-top{font-size:10px;color:#747887}
.stat-icon{width:31px;height:31px;border-radius:9px;background:#f0edff;color:#5d40dc}
.stat-icon.green{background:#eeebff;color:#5d40dc}
.stat-icon.amber{background:#fff4e5;color:#b77920}
.stat-icon.purple{background:#f0edff;color:#7658e9}
.stat-card>strong{font-size:28px;letter-spacing:-1.15px;color:#191a25;margin:11px 0 2px}
.stat-card>small{font-size:9px;color:#999ba6}
.panel-card{border:1px solid #e8e9ef;border-radius:14px;padding:21px;box-shadow:0 3px 14px rgba(28,29,44,.025)}
.panel-head{margin-bottom:18px}
.panel-head h3{font-size:13px;color:#222330;font-weight:760}
.panel-head p{font-size:10px;color:#858896}
.activity-row{padding:13px 0}
.activity-bullet{background:#7658eb;box-shadow:0 0 0 4px #f0edff}
.quick-action{padding:13px 1px}
.quick-action:hover strong{color:#5739d8}
.quick-symbol{background:#f0edff;color:#5a3bd8}
.quick-action strong{font-size:10px;color:#272837}
.quick-action small{color:#858896}
.client-help-strip{border-color:#e8e9ef;border-radius:13px;background:#fff}
.help-mark{background:#efecff;color:#5b3ed8}
.table-toolbar{margin-bottom:15px}
.search-box{height:36px;border-radius:8px;background:#fff;border-color:#e1e2e9}
.search-box input{font-size:11px}
th{font-size:9px;color:#858896;letter-spacing:.55px;padding:12px 13px;border-bottom-color:#e8e9ef}
td{font-size:10px;padding:14px 13px;color:#555968;border-bottom-color:#eff0f4}
td strong{font-size:10px;color:#252633;font-weight:750}
tbody tr:hover{background:#fafaff}
.status{font-size:9px;padding:5px 9px}
.status-active,.status-paid,.status-open{background:#eaf7ef;color:#277347}
.status-suspended,.status-cancelled,.status-closed,.status-inactive{background:#f0f1f4;color:#737785}
.status-expired,.status-overdue,.status-high{background:#fff0f1;color:#b3424b}
.status-in_progress,.status-unpaid,.status-normal{background:#fff5e7;color:#a56d1b}
.status-transferred{background:#f0edff;color:#6546d6}
.catalog-icon,.service-symbol{background:#f0edff;color:#5d40dc}
.category-dot{background:#6c4ce7}
.client-service-card{border-radius:13px;border-color:#e8e9ef;padding:18px;box-shadow:0 3px 12px rgba(28,29,44,.02)}
.client-service-card h3{font-size:14px;color:#20212d}
.security-info{background:linear-gradient(145deg,#fff,#faf9ff)}
.security-big-icon{background:#f0edff;color:#5d40dc}
.security-point span{color:#6245dc}
.stack-form label,.modal-form label,.reply-form label,.install-form label{color:#626675;font-size:10px}
.stack-form input,.modal-form input,.modal-form select,.modal-form textarea,.stack-form textarea,.reply-form textarea,.reply-form select,.install-form input{border-color:#dfe0e7;border-radius:8px;font-size:11px}
.stack-form input:focus,.modal-form input:focus,.modal-form select:focus,.modal-form textarea:focus,.reply-form textarea:focus,.reply-form select:focus,.install-form input:focus{border-color:#8067ef;box-shadow:0 0 0 3px rgba(108,76,231,.12)}
.form-message.success{color:#277347}
.app-footer{border-top-color:#e9eaf0;padding:16px 40px;color:#a0a2ad;font-size:9px}
.app-footer b{color:#777a88}
.modal-overlay{background:rgba(20,21,34,.45)}
.modal-card{border:1px solid rgba(255,255,255,.65);border-radius:15px;box-shadow:0 26px 90px rgba(20,20,34,.2)}
.modal-head h2{color:#20212d}
.security-hint{background:#f0edff;color:#5540bc}
.ticket-message.staff-message{background:#f0edff;border-color:#e3dcff}
.toast{background:#232431;border-radius:9px}
.toast-info{background:#4f3db2}
.auth-intro{background:#11131d;color:#f5f5fa;padding:45px 7vw 32px}
.auth-intro:before,.auth-intro:after{border-color:rgba(139,111,255,.2);background:radial-gradient(circle,rgba(98,71,220,.12),transparent 67%)}
.auth-intro:before{width:700px;height:700px;right:-250px;top:2%}
.auth-intro:after{width:480px;height:480px;right:-140px;top:20%;border-color:rgba(139,111,255,.18)}
.auth-intro .eyebrow{color:#a99aff}
.auth-intro h1{font-size:clamp(38px,4.6vw,62px);letter-spacing:-2.7px;line-height:1.04}
.auth-intro h1 em{color:#a99aff}
.auth-intro-copy>p{color:#b5b7c5;font-size:13px;line-height:1.8}
.auth-feature-list{color:#d2d2df;gap:14px;font-size:11px}
.auth-feature-list span::first-letter{color:#a99aff}
.auth-copyright{color:#858797}
.auth-panel{background:#fff}
.auth-panel-inner{width:min(380px,100%)}
.auth-panel h2{font-size:29px;color:#191a25;letter-spacing:-1px}
.auth-panel>.muted{font-size:11px;color:#777b88}
.auth-panel-inner .eyebrow{color:#8175b8}
.text-button{color:#5d40dc}
.auth-bottom{border-top-color:#ececf1;color:#858896}
.auth-card,.install-card,.sso-card{border-radius:15px;border-color:#e7e8ee;box-shadow:0 18px 48px rgba(20,22,35,.07)}
.brand-lockup .brand-mark{margin-right:2px}
.install-form .form-separator{color:#777b88;border-bottom-color:#e8e9ef}
.install-card h1,.auth-card h1{color:#1b1c28}
.notice-error{background:#fff0f1;color:#a83d49}
.back-link:hover{color:#5d40dc}
.empty-icon{background:#f0edff;color:#6546dc}

:root[data-theme="dark"]{
  --bg:#151620;--surface:#1e202c;--surface-2:#242633;--surface-3:#2c2e3c;
  --text:#f0f0f6;--muted:#a4a6b4;--subtle:#828493;--line:#343644;--line-strong:#454756;
  --green:#a18cff;--green-dark:#b3a5ff;--green-soft:#302b49;--purple:#b0a0ff;--purple-soft:#302b49;
  --amber:#e1b46a;--amber-soft:#40351f;--red:#ef8a91;--red-soft:#40272c;
  --shadow:0 16px 48px rgba(0,0,0,.22)
}
:root[data-theme="dark"] .sidebar,:root[data-theme="dark"] .topbar{background:#1d1f2b;border-color:#343644}
:root[data-theme="dark"] .main-area{background:#151620}
:root[data-theme="dark"] .side-brand strong,:root[data-theme="dark"] .user-chip-text strong,:root[data-theme="dark"] .breadcrumb strong,:root[data-theme="dark"] .page-heading h1,:root[data-theme="dark"] .stat-card>strong,:root[data-theme="dark"] .panel-head h3,:root[data-theme="dark"] td strong,:root[data-theme="dark"] .client-service-card h3,:root[data-theme="dark"] .modal-head h2{color:#f0f0f6}
:root[data-theme="dark"] .side-brand small,:root[data-theme="dark"] .side-bottom,:root[data-theme="dark"] .app-footer{border-color:#343644}
:root[data-theme="dark"] .nav-item{color:#b5b6c2}
:root[data-theme="dark"] .nav-item.active{background:#302b49;color:#c4baff}
:root[data-theme="dark"] .nav-item:hover{background:#292b39;color:#f1f0f8}
:root[data-theme="dark"] .secure-note,:root[data-theme="dark"] .search-box{background:#242633;border-color:#393b4a}
:root[data-theme="dark"] .secure-note strong{color:#ededf5}
:root[data-theme="dark"] .secure-icon,:root[data-theme="dark"] .stat-icon,:root[data-theme="dark"] .quick-symbol,:root[data-theme="dark"] .catalog-icon,:root[data-theme="dark"] .service-symbol,:root[data-theme="dark"] .security-big-icon,:root[data-theme="dark"] .help-mark{background:#302b49;color:#c1b5ff}
:root[data-theme="dark"] .avatar{background:#302b49;color:#c7bbff}
:root[data-theme="dark"] .stat-card,:root[data-theme="dark"] .panel-card,:root[data-theme="dark"] .client-help-strip,:root[data-theme="dark"] .client-service-card,:root[data-theme="dark"] .auth-card,:root[data-theme="dark"] .install-card,:root[data-theme="dark"] .sso-card{background:#1e202c;border-color:#343644}
:root[data-theme="dark"] .auth-panel{background:#1e202c}
:root[data-theme="dark"] .auth-panel h2,:root[data-theme="dark"] .install-card h1,:root[data-theme="dark"] .auth-card h1{color:#f0f0f6}
:root[data-theme="dark"] .auth-panel>.muted,:root[data-theme="dark"] .auth-bottom{color:#a4a6b4}
:root[data-theme="dark"] .btn-secondary{background:#242633;border-color:#454756;color:#eeeef5}
:root[data-theme="dark"] .btn-secondary:hover{background:#2e3040}
:root[data-theme="dark"] tbody tr:hover{background:#242633}
:root[data-theme="dark"] td{color:#c1c2cd;border-bottom-color:#303241}
:root[data-theme="dark"] th{color:#a4a6b4;border-bottom-color:#343644}
:root[data-theme="dark"] .stack-form label,:root[data-theme="dark"] .modal-form label,:root[data-theme="dark"] .reply-form label,:root[data-theme="dark"] .install-form label{color:#c1c2cd}
:root[data-theme="dark"] .stack-form input,:root[data-theme="dark"] .modal-form input,:root[data-theme="dark"] .modal-form select,:root[data-theme="dark"] .modal-form textarea,:root[data-theme="dark"] .stack-form textarea,:root[data-theme="dark"] .reply-form textarea,:root[data-theme="dark"] .reply-form select,:root[data-theme="dark"] .install-form input{background:#191b26;border-color:#454756;color:#f0f0f6}
:root[data-theme="dark"] .ticket-message.staff-message{background:#302b49;border-color:#484064}
:root[data-theme="dark"] .ticket-message{background:#242633;border-color:#393b4a}
:root[data-theme="dark"] .status-active,:root[data-theme="dark"] .status-paid,:root[data-theme="dark"] .status-open{background:#1e3b2d;color:#8ce0ad}
:root[data-theme="dark"] .status-expired,:root[data-theme="dark"] .status-overdue,:root[data-theme="dark"] .status-high{background:#40272c;color:#f19ba1}
:root[data-theme="dark"] .status-in_progress,:root[data-theme="dark"] .status-unpaid,:root[data-theme="dark"] .status-normal{background:#40351f;color:#e8c17d}
:root[data-theme="dark"] .status-suspended,:root[data-theme="dark"] .status-cancelled,:root[data-theme="dark"] .status-closed,:root[data-theme="dark"] .status-inactive{background:#343644;color:#bec0cc}
:root[data-theme="dark"] .modal-card{background:#1e202c;border-color:#454756}
:root[data-theme="dark"] .security-hint{background:#302b49;color:#c4baff}
:root[data-theme="dark"] .auth-intro{background:#10111a}
:root[data-theme="dark"] .app-footer{color:#858797}
@media(max-width:1150px){.topbar{padding:0 25px}.page-container{padding:30px 25px}.app-footer{padding:14px 25px}}
@media(max-width:820px){.sidebar{width:280px}.main-area{margin-left:0;width:100%}.topbar{padding:0 19px}.page-container{padding:27px 19px}.app-footer{padding:13px 19px}}
@media(max-width:560px){.topbar{padding:0 13px}.page-container{padding:22px 13px}.page-heading h1{font-size:25px}.auth-intro{display:none}.auth-panel{min-height:100vh;padding:22px}.auth-mobile-brand{display:flex}.install-card,.auth-card{padding:24px}}
