/*
Theme Name: Client Manager Pro
Author: Client Manager
Description: Espace privé de gestion des clients IPTV, recherche et fiches chiffrées.
Version: 1.14.2
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: client-manager-pro
License: GPL-2.0-or-later
*/
:root{--navy:#0e182d;--ink:#17243b;--muted:#748094;--line:#e8ecf3;--blue:#2861ef;--canvas:#f5f7fb}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--canvas);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #9ab8ff;outline-offset:3px}[hidden]{display:none!important}.brand{display:flex;align-items:center;font-size:21px;font-weight:750;letter-spacing:-.8px;white-space:nowrap}.brand>span:not(.brand-mark){font-weight:400}.brand small{font-size:9px;letter-spacing:1px;border:1px solid #506078;border-radius:5px;padding:2px 5px;margin-left:10px}.brand-mark{display:inline-grid;place-items:center;width:34px;height:37px;color:#fff;background:var(--blue);border-radius:11px;margin-right:10px;font-weight:800;font-size:23px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:#8591a8}.muted{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.3px;line-height:1.2;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.5px;margin-bottom:4px}.button,input[type=submit]{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 17px;border:1px solid transparent;border-radius:9px;font-size:12px;font-weight:650;white-space:nowrap}.primary,input[type=submit]{background:var(--blue);color:white;box-shadow:0 4px 8px #2861ef16}.neutral{background:#fff;border-color:#e1e6ef;color:#58667e}.purple{background:#eeeafd;color:#6f47c2}.cyan{background:#e4f5fd;color:#0078a3}.green{background:#dff7eb;color:#187b49}.danger{background:#ffe8ea;color:#bd3042}.button:hover,input[type=submit]:hover{filter:brightness(.96);transform:translateY(-1px)}input,textarea,select{width:100%;border:1px solid #dee4ed;background:#fff;border-radius:8px;padding:12px 13px;color:var(--ink);min-width:0}input::placeholder,textarea::placeholder{color:#9aa4b5}input:focus,textarea:focus,select:focus{border-color:var(--blue)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#39c997;margin-right:7px}.login-layout{min-height:100vh;display:grid;grid-template-columns:53% 47%;background:white}.login-art{position:relative;min-height:760px;background:#061124 url('assets/login-city-1.1.2.jpg') center 60%/cover no-repeat;color:white;padding:44px 8%;overflow:hidden}.login-art:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,#06112466,transparent 60%,#06112466);pointer-events:none}.login-art>*{position:relative;z-index:1}.hero-copy{margin-top:72px}.hero-copy .eyebrow{color:#7bb0fb}.hero-copy h1{font-size:clamp(38px,4.1vw,64px);line-height:1.1;margin-top:21px;margin-bottom:18px;letter-spacing:-2px}.hero-copy p{font-size:15px;color:#b2c3dc;line-height:1.8}.art-footer{position:absolute;bottom:29px;left:8%;right:8%;font-size:10px;color:#a9bad0;display:flex;align-items:center}.art-footer>span:last-child{margin-left:auto;font-size:8px;letter-spacing:1px}.login-panel{padding:50px 12% 25px;display:flex;flex-direction:column;justify-content:center;position:relative}.login-box{max-width:380px;width:100%;margin:auto}.lock-icon{width:48px;height:48px;border:1px solid #e0e7f5;color:#2861ef;background:#f4f7ff;font-size:27px;border-radius:15px;display:grid;place-items:center;margin-bottom:33px}.login-box h2{font-size:34px;margin-top:13px;margin-bottom:12px;letter-spacing:-1px}.login-box>.muted{font-size:13px;line-height:1.8;margin-bottom:31px}.login-box label{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.login-box .login-remember label{font-weight:400;color:#69758a;display:flex;align-items:center;gap:8px}.login-box input[type=checkbox]{width:15px;height:15px;margin:0}.login-box input[type=submit]{width:100%;cursor:pointer;margin-top:5px}.login-box .login-password{margin-bottom:18px}.login-box .forgot{display:block;text-align:center;color:#52719c;font-size:12px}.private-note{text-align:center;border-top:1px solid var(--line);padding-top:24px;margin-top:35px;color:#9aa3b1;font-size:10px}.login-panel footer{display:flex;justify-content:space-between;color:#9ba5b6;font-size:9px;margin-top:50px}.app-shell{display:flex;min-height:100vh}.sidebar{width:244px;background:var(--navy);color:#d0d8e6;position:fixed;top:0;bottom:0;display:flex;flex-direction:column;padding:32px 22px}.sidebar .brand{font-size:19px;color:#fff;margin-bottom:58px}.sidebar .brand-mark{width:29px;height:32px;font-size:21px;margin-right:8px;border-radius:9px}.nav-label{font-size:9px;color:#687890;letter-spacing:1.6px;margin:0 12px 15px}.nav-item{display:flex;align-items:center;gap:12px;padding:13px;border-radius:8px;font-size:12px}.nav-item.active{background:#253557;color:#bcd0ff;border:1px solid #35466b}.nav-item>span:first-child{font-size:19px}.nav-count{margin-left:auto;background:#3e5481;font-size:10px;border-radius:5px;padding:1px 6px}.side-card{margin:auto 0 25px;padding:22px 17px;background:linear-gradient(145deg,#1c2b46,#142137);border:1px solid #293952;border-radius:13px}.side-shield{display:block;font-size:34px;color:#83a5ee;margin-bottom:10px}.side-card strong{font-size:12px;color:#eef3ff}.side-card p{font-size:11px;color:#90a0b9;line-height:1.8;margin-top:8px;margin-bottom:19px}.small-pill{font-size:8px;letter-spacing:1px;color:#99b0d5;padding:5px 7px;border:1px solid #3b4d6b;border-radius:5px}.side-bottom{display:flex;align-items:center;gap:10px;border-top:1px solid #27334a;padding-top:22px;font-size:11px}.avatar{border-radius:50%;width:32px;height:32px;background:#3d5274;display:grid;place-items:center;color:white}.side-bottom strong{display:block;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.side-bottom small{display:block;color:#7b8ba4;font-size:9px}.side-bottom a{margin-left:auto;font-size:22px}.workspace{margin-left:244px;width:calc(100% - 244px)}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#8390a3}.topbar strong{color:#39485f;font-weight:500}.slash{margin:0 12px;color:#c6ccd6}.top-private{border:1px solid var(--line);border-radius:20px;padding:6px 11px;font-size:10px;color:#647587}.page-content{max-width:1480px;margin:auto;padding:40px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:31px}.page-heading h1{margin-top:10px}.page-heading h1 span{color:#2861ef}.page-heading p{font-size:12px;margin-bottom:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:31px}.stat{background:#fff;border:1px solid var(--line);border-radius:13px;padding:19px 21px;text-align:left;box-shadow:0 3px 5px #17243b02;color:var(--ink)}.stat.selected{outline:2px solid #628cfa;outline-offset:2px}.stat>div{display:flex;justify-content:space-between;margin-bottom:18px}.stat-symbol{font-size:20px;background:#eaf1ff;color:#3975e7;border-radius:10px;width:36px;height:36px;display:grid;place-items:center}.stat-1 .stat-symbol{background:#e3f8f0;color:#239b73}.stat-2 .stat-symbol{background:#f1eaff;color:#9660d5}.stat-3 .stat-symbol{background:#fff3d9;color:#c19026}.stat-arrow{color:#b6bfd0;font-size:19px}.stat-name{display:block;font-size:11px;color:#7d8799}.stat strong{display:block;font-size:31px;font-weight:650;line-height:1.5;letter-spacing:-1px}.stat small{font-size:9px;color:#98a2b3}.client-section{border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}.section-heading{padding:24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.section-heading h2{font-size:17px}.section-heading h2 span{font-size:10px;border-radius:5px;background:#eef2f8;color:#75829a;padding:3px 7px;margin-left:6px;vertical-align:middle}.section-heading p{font-size:11px;margin:6px 0 0}.toolbar{display:flex;gap:10px;padding:0 24px 23px}.search-wrap{flex:1;position:relative;min-width:160px}.search-wrap>span:not(.sr-only){position:absolute;left:13px;top:7px;font-size:23px;color:#a1abc0}.search-wrap input{padding-left:40px}.toolbar input,.toolbar select{font-size:11px;height:42px;background:#fafbfe}.toolbar select{width:170px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}thead{background:#f9fafe;border-top:1px solid #f1f3f8;border-bottom:1px solid var(--line)}th{font-size:9px;font-weight:600;letter-spacing:.8px;color:#8791a5;padding:13px 22px}td{padding:19px 22px;border-bottom:1px solid #f0f2f7;font-size:11px;color:#67748a;max-width:260px;overflow:hidden;text-overflow:ellipsis}.client-identity{display:flex;align-items:center;gap:12px}.client-avatar{flex-shrink:0;width:33px;height:33px;display:grid;place-items:center;border-radius:10px;background:#eaf0fc;color:#6485c3;font-size:10px;font-weight:600}.client-identity strong{color:#39465a;font-size:11px;display:block;max-width:170px;overflow:hidden;text-overflow:ellipsis}.client-identity small{display:block;font-size:9px;color:#95a0b1;max-width:170px;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.badge{font-size:9px;padding:5px 8px;border-radius:5px;display:inline-block}.type-0{background:#e9f0ff;color:#4e7ece}.type-1{background:#e4f8ee;color:#2c936b}.type-2{background:#f1e9fd;color:#9564c7}.type-3{background:#fff4db;color:#b18327}.mono{font-family:ui-monospace,monospace;font-size:10px}td .button{min-height:31px;font-size:9px;padding:6px 10px}.pagination{display:flex;align-items:center;justify-content:space-between;padding:17px 24px;font-size:10px;color:#95a0b2}.pagination>div{display:flex;align-items:center;gap:15px}.pagination .button{min-height:29px;padding:4px 10px}.dashboard-footer{display:flex;justify-content:space-between;margin-top:28px;color:#a4adbc;font-size:9px}.empty{padding:48px 20px;text-align:center}.empty>span{display:block;font-size:35px;color:#7b9df2;margin-bottom:12px}.empty h3{font-size:18px;margin-bottom:7px}.empty p{color:#8b96a8;font-size:12px}.error{padding:13px 16px;background:#fff0f1;color:#ac3049;border-radius:8px;font-size:12px;margin:12px 24px}.denied{max-width:600px;margin:15vh auto;padding:30px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{width:min(720px,94vw);border:0;border-radius:17px;padding:0;box-shadow:0 24px 100px #071b4540;color:var(--ink);max-height:90vh}dialog::backdrop{background:#08152b9c;backdrop-filter:blur(5px)}.dialog-heading{padding:25px 29px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.dialog-heading h2{margin:5px 0 0;font-size:24px}.icon-button{background:#f0f3f8;border:0;border-radius:8px;font-size:25px;color:#738098;width:34px;height:34px}.form-grid{padding:24px 29px 0;display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid label{font-size:11px;font-weight:600;display:block}.form-grid label>span:not(.password-wrap){color:#8a9ab4}.form-grid input,.form-grid textarea,.form-grid select{margin-top:7px;font-size:12px}.form-grid .full{grid-column:1/-1}.password-wrap{display:flex;position:relative}.password-wrap input{padding-right:75px}.password-wrap button{position:absolute;right:8px;top:17px;border:0;background:#eef3fd;color:#5979b5;border-radius:4px;padding:4px;font-size:9px}.optional{font-size:9px;font-weight:400;float:right}.form-help{padding:15px 29px 0;font-size:10px;color:#8a96aa}.dialog-tools{padding:0 29px 22px;display:flex;gap:9px;flex-wrap:wrap}.dialog-footer{padding:19px 29px;background:#f9faff;border-top:1px solid var(--line);display:flex;gap:10px;justify-content:flex-end}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#17243b;color:white;box-shadow:0 6px 25px #12234030;border-radius:10px;padding:14px 23px;font-size:13px;z-index:99999;max-width:90vw}dialog #form-error{margin:0 29px 20px}
@media(min-width:1600px){.login-art{background-position:center 55%}.hero-copy{margin-top:100px}}@media(max-width:1150px){.sidebar{width:210px;padding:28px 17px}.sidebar .brand{font-size:17px}.workspace{margin-left:210px;width:calc(100% - 210px)}.page-content{padding:28px}.topbar{padding:0 28px}.toolbar{flex-wrap:wrap}.toolbar .search-wrap{flex-basis:50%}.stats{gap:12px}.stat{padding:16px}.page-heading h1{font-size:28px}.login-panel{padding-left:10%;padding-right:10%}.art-footer>span:last-child{display:none}}
@media(max-width:800px){.sidebar{position:relative;width:100%;height:65px;padding:12px 20px;flex-direction:row;align-items:center;justify-content:space-between}.sidebar .brand{margin:0}.sidebar .nav-label,.sidebar .nav-item,.side-card{display:none}.side-bottom{padding:0;border:0}.side-bottom .avatar,.side-bottom small{display:none}.side-bottom strong{max-width:90px}.app-shell{display:block}.workspace{margin:0;width:100%}.topbar{height:55px;padding:0 20px}.page-content{padding:25px 20px}.stats{grid-template-columns:repeat(2,1fr)}.page-heading{align-items:flex-start}.page-heading h1{font-size:26px}.page-heading .button{font-size:10px;padding:9px 12px}.eyebrow{font-size:8px}.toolbar{padding:0 16px 18px}.section-heading{padding:20px 16px}.toolbar .search-wrap{flex-basis:100%}.toolbar select{width:100%}.toolbar>label:not(.search-wrap){flex:1}.dashboard-footer span{display:none}.login-layout{grid-template-columns:1fr}.login-art{min-height:410px;padding:27px 7%;background-position:center 54%;background-size:cover}.hero-copy{margin-top:38px}.hero-copy h1{font-size:40px}.hero-copy p{max-width:240px;font-size:12px}.login-art:after{background:linear-gradient(90deg,#061124da,transparent)}.art-footer{bottom:20px;left:7%}.login-panel{padding:36px 8% 22px}.lock-icon{display:none}.login-panel footer{margin-top:40px}.login-box{max-width:440px}.login-box h2{font-size:29px}}@media(max-width:480px){.page-heading{display:block}.page-heading>.button{margin-top:18px}.page-heading h1{font-size:28px}.section-heading p{max-width:185px;font-size:10px}.section-heading .button{padding:8px 10px;font-size:10px}.toolbar>.button{padding:10px 12px;font-size:10px}.stats{gap:10px}.stat>div{margin-bottom:10px}.stat{padding:15px}.form-grid{grid-template-columns:1fr;padding:20px;gap:13px}.form-grid .full{grid-column:auto}.dialog-heading{padding:20px}.dialog-footer{padding:16px;flex-wrap:wrap}.dialog-tools{padding:0 20px 18px}.dialog-tools .button{font-size:10px;padding:8px 10px}.form-help{padding:14px 20px 0}.top-private{font-size:9px}.sidebar .brand{font-size:17px}.pagination{padding:15px;font-size:9px}.login-art{min-height:370px}.hero-copy{margin-top:31px}.hero-copy h1{font-size:35px}.hero-copy p{font-size:11px}.hero-copy .eyebrow{font-size:8px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Version 1.1: full-screen photographic login and separate subscription fields. */
.login-layout{position:relative;isolation:isolate;min-height:100svh;grid-template-columns:minmax(0,1fr) minmax(400px,520px);background:#101c27 url('assets/login-city-1.1.2.jpg') center/cover no-repeat;padding:45px 5%;gap:6vw}
.login-layout:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,15,24,.55),rgba(5,15,24,.08) 55%,rgba(5,15,24,.28));z-index:-1}
.login-art{background:none;min-height:0;padding:0;overflow:visible;display:flex;flex-direction:column}
.login-art:after{display:none}.hero-copy{margin:auto 0;padding:65px 0;max-width:650px;text-shadow:0 2px 24px #0004}.hero-copy h1{font-size:clamp(40px,4.5vw,68px)}.hero-copy p{color:#e2eaf0}.hero-copy .eyebrow{color:#d0e4ff}.art-footer{position:static;left:auto;right:auto;bottom:auto;margin-top:auto;color:#e0e8ed}.art-footer>span:last-child{display:none}
.login-panel{align-self:center;min-height:0;padding:40px 42px 24px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border:1px solid #ffffff88;border-radius:22px;box-shadow:0 25px 100px #0003}.login-box{max-width:none}.login-panel footer{margin-top:30px;font-size:9px}.login-box>.muted{margin-bottom:23px}.login-box h2{font-size:32px}.lock-icon{margin-bottom:23px}.private-note{margin-top:25px;padding-top:20px}.login-box .eyebrow{font-size:9px}
.toolbar{flex-wrap:wrap}.toolbar .search-wrap{min-width:230px;flex:1 1 280px}.toolbar select{width:150px}.field-hint{display:block;color:#8591a6;font-size:10px;font-weight:400;margin-top:7px}.table-scroll table{min-width:1060px}td,th{padding-left:16px;padding-right:16px}
@media(max-width:1000px){.login-layout{gap:5vw;grid-template-columns:minmax(0,1fr) minmax(360px,440px);padding:30px 4%}.login-panel{padding:30px}.hero-copy h1{font-size:44px}.login-art .brand{font-size:18px}.hero-copy p{font-size:13px}}
@media(max-width:800px){.login-layout{display:flex;flex-direction:column;gap:25px;padding:25px 6%;background-position:40% center}.login-art{min-height:0;width:100%;padding:0}.hero-copy{margin:0;padding:32px 0 0;text-shadow:0 2px 15px #0008}.hero-copy h1{font-size:34px;margin:12px 0}.hero-copy p,.art-footer{display:none}.login-panel{width:100%;max-width:460px;padding:28px;align-self:center}.login-panel footer{margin-top:25px}.login-box h2{font-size:28px}.login-layout .lock-icon{display:none}.toolbar select{width:100%}.toolbar>label:not(.search-wrap){flex:1 1 130px}}
@media(max-width:480px){.login-layout{padding:22px 5%;gap:22px}.hero-copy{padding:22px 0 0}.hero-copy h1{font-size:30px}.login-panel{padding:25px 23px}.login-box>.muted{font-size:12px}.login-art .brand{font-size:20px}}

/* Brand icon shared by the login and dashboard. */
.brand-mark,.sidebar .brand-mark{background:transparent url('assets/site-icon.svg') center/contain no-repeat;color:transparent;box-shadow:none}

input[readonly]{background:#eef4ff;color:#245aca;font-weight:650}.table-scroll table{min-width:1270px}

/* 1.3.1 — clearer dashboard hierarchy and responsive client editor. */
:root{--navy:#101d36;--ink:#14233e;--muted:#65748c;--line:#e2e9f3;--blue:#315de8;--canvas:#f2f5fb}
body{background:var(--canvas)}
.app-shell{background:linear-gradient(145deg,#f5f8fe 0%,#eef3fb 56%,#f8faff 100%)}
.sidebar{width:252px;padding:30px 20px;background:linear-gradient(180deg,#122344 0%,#0d1930 100%);border-right:1px solid #ffffff12;box-shadow:8px 0 35px #0d1b3510;z-index:3}
.sidebar .brand{font-size:19px;letter-spacing:-.6px;margin-bottom:59px}.sidebar .nav-label{color:#89a0c5;margin-left:13px}.sidebar .nav-item{border-radius:11px;transition:background .2s,color .2s}.sidebar .nav-item.active{background:#315de82e;border:1px solid #7796f644;color:#ecf3ff;box-shadow:inset 3px 0 #73a3ff}.sidebar .nav-count{background:#4065b0;color:#fff}.side-card{border-radius:16px;background:linear-gradient(135deg,#1f3964,#182a4a);border:1px solid #ffffff1e;box-shadow:0 14px 30px #07102326}.side-bottom{border-color:#ffffff20}
.workspace{margin-left:252px;width:calc(100% - 252px);min-width:0}.topbar{height:72px;border-color:var(--line);background:#ffffffdb;backdrop-filter:blur(12px);padding:0 clamp(22px,3.2vw,48px)}.top-private{background:#effaf4;border-color:#d2efdf;color:#26764d;font-weight:650}.top-private .status-dot{background:#31b979}
.page-content{max-width:1520px;padding:clamp(24px,3.2vw,48px)}.page-heading{padding:29px 34px;margin:0 0 25px;border:1px solid #dce7f9;border-radius:20px;background:radial-gradient(circle at 88% 15%,#e3edff 0%,transparent 34%),linear-gradient(120deg,#fff 0%,#f8fbff 70%,#edf4ff 100%);box-shadow:0 12px 32px #203f7510}.page-heading .eyebrow{color:#4269b8;font-weight:800}.page-heading h1{font-size:clamp(27px,2.7vw,39px);margin:8px 0 8px;letter-spacing:-1.4px}.page-heading p{font-size:13px;color:#667a98}.page-heading>.button{padding:12px 21px;font-size:12px;min-height:46px}
.button{transition:background .2s,box-shadow .2s,transform .2s}.button.primary{background:linear-gradient(135deg,#346af2,#2751d7);box-shadow:0 8px 19px #315de83b}.button.primary:hover{box-shadow:0 11px 23px #315de852}.button.neutral{border-color:#dce5f1;color:#405675}.button:focus-visible,.stat:focus-visible{outline:3px solid #88a8ff;outline-offset:3px}
.stats{gap:14px;margin-bottom:25px}.stat{position:relative;overflow:hidden;min-height:157px;padding:19px 21px;border:1px solid #e0e8f3;border-radius:16px;box-shadow:0 5px 19px #1527470a;transition:transform .18s,box-shadow .18s,border-color .18s}.stat:hover{transform:translateY(-3px);box-shadow:0 12px 26px #1527471a;border-color:#c8d7ee}.stat.selected{outline:2px solid #4678f3;border-color:transparent}.stat:after{content:'';position:absolute;right:-29px;bottom:-40px;width:110px;height:110px;border-radius:50%;background:#2861ef08;pointer-events:none}.stat-1:after{background:#20aa720d}.stat-2:after{background:#995bd70d}.stat-3:after{background:#d9aa350f}.stat>div{margin-bottom:13px}.stat-symbol{width:39px;height:39px}.stat-name{font-size:12px;font-weight:650;color:#56657e}.stat strong{font-size:33px;color:#162847}.stat small{color:#8a98a9}
.client-section{border:1px solid #dce6f3;border-radius:18px;box-shadow:0 12px 35px #2138510b}.section-heading{padding:25px 28px 17px}.section-heading h2{font-size:19px}.section-heading h2 span{background:#e9f0ff;color:#315de8}.section-heading p{font-size:12px}.toolbar{padding:0 28px 22px;gap:9px}.toolbar input,.toolbar select{background:#f8faff;border-color:#dce5f1;border-radius:10px}.toolbar input:focus,.toolbar select:focus{background:#fff}.toolbar .search-wrap{flex:2 1 320px}.toolbar select{width:155px}.toolbar>.button{height:42px}.table-scroll table{min-width:1350px}thead{background:#f4f7fc}th{color:#667992;font-size:10px;padding-top:16px;padding-bottom:16px}td{padding-top:17px;padding-bottom:17px;font-size:11px}tbody tr{transition:background .15s}tbody tr:hover{background:#f7faff}.client-avatar{background:#e4edff;color:#3b66c8;font-weight:800}.client-identity strong{font-size:12px;color:#213354}.badge{font-weight:700;border-radius:7px}.pagination{border-top:1px solid #edf1f7;color:#65748c}.empty{padding:58px 20px}
dialog{width:min(780px,96vw);border:1px solid #dbe5f4;border-radius:19px;box-shadow:0 30px 100px #08183559;max-height:min(92vh,980px);overflow-y:auto}dialog::backdrop{background:#0c1a35b8;backdrop-filter:blur(7px)}.dialog-heading{position:sticky;top:0;z-index:2;background:#fff;padding:23px 29px}.dialog-heading h2{color:#192c4d}.icon-button:hover{background:#e3eafa;color:#315de8}.form-grid{gap:17px 20px}.form-grid label{font-size:12px;color:#324563}.form-grid input,.form-grid textarea,.form-grid select{border-radius:9px;background:#fbfcff;transition:border-color .18s,box-shadow .18s}.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus{background:#fff;box-shadow:0 0 0 3px #315de821;outline:none}.form-grid textarea[name=note]{min-height:105px;resize:vertical}.form-grid textarea[name=m3u]{resize:vertical}.form-help{color:#6e7e95}.dialog-footer{position:sticky;bottom:0;z-index:2;background:#f8faff;border-top-color:#e3eaf3;box-shadow:0 -8px 22px #182a4410}.dialog-footer .button{min-width:122px}
@media(max-width:1150px){.sidebar{width:216px;padding:26px 16px}.workspace{margin-left:216px;width:calc(100% - 216px)}.stats{gap:10px}.stat{padding:17px 15px}.page-content{padding:26px}}
@media(max-width:800px){.sidebar{position:relative;width:100%;height:65px;padding:12px 20px;box-shadow:none}.sidebar .brand{margin:0}.workspace{margin:0;width:100%}.topbar{height:55px;padding:0 20px}.page-content{padding:20px}.page-heading{padding:24px;margin-bottom:20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar{padding:0 18px 19px}.toolbar .search-wrap{flex-basis:100%}.toolbar select{width:100%}.section-heading{padding:20px 18px}.table-scroll table{min-width:1250px}}
@media(max-width:480px){.page-content{padding:14px}.page-heading{padding:22px 19px;border-radius:15px}.page-heading h1{font-size:28px}.page-heading>.button{margin-top:17px;width:100%}.stat{min-height:140px;padding:14px}.stat strong{font-size:29px}.stat-name{font-size:10px}.stat small{font-size:9px}.stats{gap:9px;margin-bottom:18px}.client-section{border-radius:14px}.section-heading{gap:9px}.section-heading h2{font-size:16px}.section-heading .button{font-size:10px;padding:8px 10px}.toolbar{gap:8px;padding:0 14px 17px}.toolbar .search-wrap{min-width:100%}.toolbar>label:not(.search-wrap){flex:1 1 calc(50% - 5px);min-width:130px}.toolbar>.button{flex:1 1 calc(50% - 5px)}.toolbar select{width:100%}.topbar{padding:0 15px}.top-private{white-space:nowrap}dialog{width:calc(100vw - 16px);max-height:96vh}.dialog-heading{padding:17px 18px}.form-grid{padding:18px;gap:13px}.dialog-footer{padding:14px}.dialog-footer .button{min-width:0;flex:1}}

/* 1.4.0 — action colors and per-client price/device presentation. */
.button.add-action,.button.save-action{background:linear-gradient(135deg,#326af1,#264fcf);color:#fff;border-color:#3263e3;box-shadow:0 7px 18px #2856d42e}
.button.search-action{background:#188368;color:#fff;border-color:#188368;box-shadow:0 5px 14px #18836828}
.button.refresh-action{background:#eaf5ff;color:#156bb8;border-color:#cce7fc}
.button.clear-action{background:#f0f3f8;color:#4b5b72;border-color:#e2e8f0}
.button.delete-action{background:#fff0f1;color:#b32f47;border-color:#f4cdd5}
.button.purple{background:#f0eafd;color:#7440b0;border:1px solid #e1d4f5}
.button.cyan{background:#e7f6fc;color:#087999;border:1px solid #c7e9f4}
.button.green{background:#e4f8ec;color:#167344;border:1px solid #c5ecd5}
.button.add-action:hover,.button.save-action:hover{box-shadow:0 10px 22px #2856d44a}
.button.search-action:hover{background:#116d58}
.button.delete-action:hover{background:#ffe0e5}
.price-cell{font-weight:750;color:#176b55;font-variant-numeric:tabular-nums}
.table-scroll table{min-width:1510px}
@media(max-width:800px){.table-scroll table{min-width:1480px}}

/* 1.6.0 — denser directory with the action column always reachable. */
.sidebar .settings-nav{margin-top:9px;color:#a9c3f1;border:1px solid #6a89b32e;background:#ffffff0a}.sidebar .settings-nav:hover{background:#315de833;color:#fff}
.table-scroll{scrollbar-color:#91a0b7 #edf2f8;scrollbar-width:thin;overscroll-behavior-inline:contain}
.table-scroll table{min-width:1380px}
.table-scroll th,.table-scroll td{padding-left:11px;padding-right:11px}
.table-scroll th:first-child,.table-scroll td:first-child{position:sticky;left:0;z-index:1;background:#fff;box-shadow:6px 0 10px #12253c08;min-width:170px}
.table-scroll th:first-child{background:#f4f7fc;z-index:3}
.table-scroll th:last-child,.table-scroll td:last-child{position:sticky;right:0;z-index:2;background:#fff;box-shadow:-7px 0 13px #12253c12;min-width:118px;text-align:center}
.table-scroll th:last-child{background:#f4f7fc;z-index:3}
.table-scroll tr:hover td:first-child,.table-scroll tr:hover td:last-child{background:#f7faff}
.table-scroll td:last-child .button{white-space:nowrap;font-weight:700}
.stat .stat-name{color:var(--stat-accent,#56657e)}
.stat .stat-symbol{color:var(--stat-accent,#3975e7)}
.dialog-tools .button,.dialog-footer .button{font-weight:700}
@media(max-width:800px){.sidebar .settings-nav{display:flex;margin:0 10px 0 auto;padding:6px 9px;font-size:10px}.sidebar .settings-nav span{display:none}.table-scroll table{min-width:1380px}}
@media(max-width:480px){.sidebar .settings-nav{max-width:92px;line-height:1.15;text-align:center}.table-scroll th:first-child,.table-scroll td:first-child{min-width:145px}.table-scroll th:last-child,.table-scroll td:last-child{min-width:105px}}

/* 1.6.0 — use the width shown in the desktop screenshot. */
.page-content{max-width:none;width:100%;padding:24px clamp(16px,1.35vw,26px)}
.page-heading{padding:24px 28px;margin-bottom:18px}
.stats{margin-bottom:18px;gap:12px}
.stat{min-height:135px;padding:16px 18px}
.stat>div{margin-bottom:8px}
.stat strong{font-size:29px;line-height:1.3}
.client-section{width:100%;max-width:none}
.table-scroll{width:100%;max-width:100%}
.table-scroll table{table-layout:fixed;width:100%;min-width:1280px}
.table-scroll th,.table-scroll td{padding-left:9px;padding-right:9px}
.table-scroll th:nth-child(1){width:13%}.table-scroll th:nth-child(2){width:8%}.table-scroll th:nth-child(3){width:7%}.table-scroll th:nth-child(4){width:7%}.table-scroll th:nth-child(5){width:7%}.table-scroll th:nth-child(6){width:6%}.table-scroll th:nth-child(7){width:9%}.table-scroll th:nth-child(8){width:7%}.table-scroll th:nth-child(9){width:7%}.table-scroll th:nth-child(10){width:7%}.table-scroll th:nth-child(11){width:9%}.table-scroll th:nth-child(12){width:6%}.table-scroll th:nth-child(13){width:7%}
.table-scroll th:first-child,.table-scroll td:first-child{min-width:0}.table-scroll th:last-child,.table-scroll td:last-child{min-width:0}
.table-scroll td:last-child .button{white-space:normal;line-height:1.15;min-width:0;width:100%;padding:6px 5px}
.top-site{display:inline-block;margin-left:12px;padding:5px 9px;background:#edf3ff;color:#365d9c;border:1px solid #d7e4fb;border-radius:7px;font-weight:650;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
@media(max-width:1150px){.page-content{padding:18px}.table-scroll table{min-width:1280px}}
@media(max-width:800px){.page-content{padding:15px}.top-site{max-width:135px;font-size:10px}.table-scroll table{min-width:1280px}.table-scroll th:first-child,.table-scroll td:first-child{min-width:150px}.table-scroll th:last-child,.table-scroll td:last-child{min-width:90px}}
@media(max-width:480px){.page-content{padding:10px}.page-heading{padding:20px 17px}.top-site{max-width:88px;margin-left:5px}.stats{gap:8px}.stat{min-height:130px;padding:13px}}

/* 1.7.0 — currency amounts stay legible in the directory. */
.price-cell{white-space:nowrap;font-variant-numeric:tabular-nums}.form-grid select[name=currency]{font-weight:700;color:#21446f}

/* 1.8.0 — totals cover all records regardless of search or pagination. */
.currency-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.total-card{padding:19px 22px;border:1px solid #d5e3f5;border-radius:15px;background:#fff;box-shadow:0 5px 18px #17243b08;border-left:4px solid #315de8}.total-usd{border-left-color:#188368}.total-gbp{border-left-color:#7440b0}.total-card>span{display:block;font-size:12px;font-weight:700;color:#536882}.total-card strong{display:block;font-size:clamp(22px,2vw,32px);color:#213757;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.total-card small{color:#7b8da6;font-size:10px}@media(max-width:600px){.currency-totals{grid-template-columns:1fr;gap:8px}.total-card{padding:12px 16px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 10px}.total-card strong{font-size:23px;grid-column:2;grid-row:1/3}.total-card small{grid-column:1}}

/* 1.9.0 — date-of-start month selection above the directory. */
.date-filter-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#fff;border:1px solid #dce6f3;border-radius:14px;padding:17px 22px;margin-bottom:15px}.date-filter-bar>div{margin-right:auto}.date-filter-bar strong{display:block;color:#254576;font-size:14px}.date-filter-bar small{display:block;color:#73839b;font-size:11px;margin-top:3px}.date-filter-bar label{font-size:11px;font-weight:650;color:#536882}.date-filter-bar select,.date-filter-bar input{display:block;margin-top:5px;width:190px;padding:9px 11px;background:#f8faff;font-size:12px}@media(max-width:600px){.date-filter-bar{gap:12px;padding:15px}.date-filter-bar>div{width:100%}.date-filter-bar label{flex:1;min-width:120px}.date-filter-bar select,.date-filter-bar input{width:100%}}

/* 1.10.0 — readable client details and sharing controls. */
body{font-size:15px}.table-scroll td{font-size:12px;color:#435773}.table-scroll th{font-size:10px;color:#405778}.client-identity strong{font-size:13px;color:#172f52}.client-identity small{font-size:11px;color:#65758c}.form-grid label{font-size:13px;color:#263e60}.form-grid input,.form-grid select,.form-grid textarea{font-size:14px}.field-hint{font-size:11px;color:#667d99}.muted,.section-heading p{color:#5b6e89}.share-tools{margin:0 29px 22px;padding:18px;background:#f0f6ff;border:1px solid #d8e6fa;border-radius:12px;display:flex;gap:9px;flex-wrap:wrap}.share-tools strong,.share-tools p{width:100%;margin:0}.share-tools p{font-size:11px;color:#60738d;margin-bottom:5px}.share-tools .button{font-size:11px}.date-filter-bar select,.date-filter-bar input{width:155px}@media(max-width:600px){.share-tools{margin:0 18px 18px;padding:14px}.share-tools .button{flex:1}.date-filter-bar select,.date-filter-bar input{width:100%}}

.stats{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}@media(max-width:480px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 1.12.0 — unified filters and mobile client cards. */
.filter-panel{margin:0 22px 22px;padding:20px;background:#f6f9ff;border:1px solid #dbe6f5;border-radius:14px}.filter-heading{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:15px}.filter-heading strong{font-size:15px;color:#243e64}.filter-heading span{font-size:11px;color:#647997}.filter-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}.filter-grid label{font-size:12px;font-weight:650;color:#3d5474}.filter-grid input,.filter-grid select{display:block;margin-top:6px;min-height:44px;font-size:13px;padding:10px;background:#fff}.filter-query{grid-column:span 2}.filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:17px}.filter-actions>span{margin-right:auto;font-size:12px;color:#506685}.filter-grid input:invalid{border-color:#cd4961}.table-scroll td:last-child .button{min-height:36px}.button{min-height:42px}.stats .stat{cursor:pointer}.button:disabled{cursor:not-allowed}.button:active{transform:translateY(0)}
@media(max-width:1150px){.filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.filter-panel{margin:0 15px 17px;padding:16px}.filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-query{grid-column:1/-1}.filter-actions>span{width:100%;margin:0}.filter-actions .button{flex:1}}
@media(max-width:600px){.table-scroll{overflow:visible;padding:0 14px}.table-scroll table{min-width:0!important;width:100%;table-layout:auto;display:block;white-space:normal}.table-scroll thead{display:none}.table-scroll tbody{display:grid;gap:12px}.table-scroll tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dce6f3;border-radius:13px;padding:12px;background:#fff;gap:11px}.table-scroll td,.table-scroll td:first-child,.table-scroll td:last-child{display:block;position:static!important;min-width:0!important;max-width:none;padding:0;border:0;box-shadow:none!important;background:transparent!important;overflow:hidden;text-overflow:ellipsis;text-align:left;font-size:13px}.table-scroll td::before{content:attr(data-label);display:block;font-size:10px;font-weight:700;color:#7385a0;margin-bottom:3px;letter-spacing:.2px}.table-scroll td:first-child{grid-column:1/-1;padding-bottom:9px;border-bottom:1px solid #edf1f7}.table-scroll td:first-child::before,.table-scroll td:last-child::before{display:none}.table-scroll td:last-child{grid-column:1/-1;margin-top:4px}.table-scroll td:last-child .button{width:100%;min-height:42px}.client-identity strong{font-size:14px;max-width:none}.client-identity small{max-width:none}.table-scroll td .badge{font-size:10px}.table-scroll tr:hover{background:#fff}.filter-panel{padding:13px}.pagination{margin-top:14px}.share-tools .button{flex:1 1 100%;min-height:44px}.dialog-footer .button{min-height:44px}.section-heading{padding:18px 15px}.topbar>span:first-child{min-width:0}.top-site{max-width:95px}.sidebar .settings-nav{font-size:10px}}
@media(min-width:1151px){.filter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.filter-query{grid-column:span 3}}
@media(min-width:801px) and (max-width:1150px){.filter-query{grid-column:1/-1}}
@media(max-width:600px){.filter-grid input,.filter-grid select,.form-grid input,.form-grid textarea,.form-grid select{font-size:16px}.button{min-height:44px}.icon-button{width:42px;height:42px}}

/* 1.13.0 — financial focus, clear subscription state and refined dashboard. */
:root{--canvas:#f1f5fb;--ink:#172b4a;--line:#dfe8f4}.page-heading{background:linear-gradient(110deg,#fff,#eef5ff);border-radius:18px;box-shadow:0 7px 24px #21385108}.page-heading h1{font-weight:750;letter-spacing:-1.1px}.currency-totals{gap:14px}.total-card{border-radius:16px;position:relative;padding:20px 23px;background:linear-gradient(145deg,#fff,#fafcff);box-shadow:0 7px 20px #21385108}.total-card strong{font-size:clamp(25px,2.3vw,37px);letter-spacing:-1px;line-height:1.6}.total-card small{font-size:11px;color:#506884;font-weight:600}.total-card>span{font-size:12px;letter-spacing:.2px}.stat{border-radius:16px}.stat.selected{background:#f2f7ff;outline:2px solid #4b79f1;box-shadow:0 8px 23px #315de815}.stat strong{font-size:31px}.client-section{border-radius:18px}.filter-panel{background:#f7faff;border-color:#e0e9f5}.filter-heading strong{font-size:16px}.table-scroll tr.subscription-expired{background:#fff3f4}.table-scroll tr.subscription-expired:hover{background:#ffe9ec}.table-scroll tr.subscription-expiring{background:#fffaf0}.table-scroll tr.subscription-expired td:first-child,.table-scroll tr.subscription-expired td:last-child{background:#fff3f4}.table-scroll tr.subscription-expiring td:first-child,.table-scroll tr.subscription-expiring td:last-child{background:#fffaf0}.status-pill{display:block;width:max-content;max-width:100%;font-size:9px;font-weight:750;line-height:1.5;padding:3px 6px;border-radius:6px;margin-top:5px;white-space:normal}.status-expired{background:#ffe0e5;color:#aa2940}.status-expiring{background:#fff0c7;color:#946214}.status-active{background:#dff4e9;color:#1a7150}.status-undated{background:#eef1f6;color:#65738b}.subscription-expired .client-avatar{background:#ffe0e5;color:#ac2b43}.table-scroll tr.subscription-expired td:first-child{box-shadow:inset 3px 0 #d63d59}.table-scroll tr.subscription-expiring td:first-child{box-shadow:inset 3px 0 #e4ac3d}.filter-actions{padding-top:3px}.button{border-radius:10px}.dialog-heading{background:#fbfdff}.share-tools{background:#f0f6ff}
@media(min-width:1151px){.filter-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.filter-query{grid-column:span 2}}
@media(max-width:600px){.total-card{padding:14px 16px}.total-card strong{font-size:25px}.total-card small{font-size:10px}.table-scroll tr.subscription-expired{border-color:#efb6c0;background:#fff5f6;border-left:4px solid #cc3b57}.table-scroll tr.subscription-expiring{border-color:#efd8a3;background:#fffbf0;border-left:4px solid #d9a331}.table-scroll tr.subscription-expired:hover{background:#fff5f6}.table-scroll tr.subscription-expiring:hover{background:#fffbf0}.status-pill{font-size:10px}.page-heading h1{font-size:28px}}

/* 1.13.1 — light, compact administration style inspired by the reference. */
:root{--navy:#f7f8fa;--ink:#345477;--muted:#748398;--line:#e1e5e9;--blue:#10ad98;--canvas:#f8f9fa}
body,.app-shell{background:#f8f9fa;color:#345477}
.sidebar{background:#f7f8fa;color:#758397;border-right:1px solid #e5e8eb;box-shadow:none;width:210px;padding:25px 15px}
.sidebar .brand{color:#345477;font-size:18px;margin-bottom:40px}.sidebar .nav-label{color:#8591a1;letter-spacing:.7px}.sidebar .nav-item{border-radius:3px;color:#728098}.sidebar .nav-item.active{background:#eef2f4;border:1px solid #e1e6ea;color:#345477;box-shadow:inset 3px 0 #11b79e}.sidebar .nav-count{background:#12b59d}.side-card{background:#fff;border:1px solid #e2e7eb;border-radius:4px;box-shadow:none}.side-card strong{color:#345477}.side-card p,.side-shield{color:#77899e}.small-pill{color:#60758e;border-color:#d9e2e8}.side-bottom{border-color:#dfe5ea}.side-bottom small{color:#7d8b9b}.avatar{background:#71869a}
.workspace{margin-left:210px;width:calc(100% - 210px)}.topbar{height:58px;background:#f8f9fa;backdrop-filter:none;border-bottom:0;padding:0 24px}.top-site{background:#fff;border-color:#dce5e9;color:#345477;border-radius:3px}.top-private{border-radius:3px;background:#fff;color:#15836f}.page-content{padding:16px 24px 25px}.page-heading{background:#fff;border:1px solid #e5e8eb;border-radius:4px;padding:20px 23px;box-shadow:0 1px 5px #20354d06;margin-bottom:16px}.page-heading h1{font-size:26px;letter-spacing:-.5px;color:#345477}.page-heading .eyebrow{color:#7a8b9e;letter-spacing:1px}.page-heading p{color:#73869c}
.currency-totals{gap:12px;margin-bottom:14px}.total-card{background:#fff;border-radius:4px;box-shadow:none;border-color:#e3e7eb;border-left:3px solid #10b79e;padding:15px 20px}.total-usd{border-left-color:#369cc0}.total-gbp{border-left-color:#8b78bc}.total-card strong{color:#345477;font-size:29px;letter-spacing:-.5px}.total-card small{font-size:10px;font-weight:400;color:#728398}.total-card>span{font-size:11px;color:#546d88}
.stats{gap:12px;margin-bottom:16px}.stat{border-radius:4px;box-shadow:none;background:#fff;border-color:#e3e7eb;min-height:106px;padding:12px 17px}.stat:before,.stat:after{display:none}.stat strong{font-size:25px;color:#345477}.stat>div{margin-bottom:4px}.stat-symbol{width:28px;height:28px;border-radius:3px;font-size:16px}.stat.selected{background:#effbf8;outline:1px solid #10b79e;outline-offset:0;box-shadow:inset 0 -3px #10b79e}.stat .stat-name{font-size:11px}.stat small{color:#7d8b9d}
.client-section{border-radius:4px;border-color:#e3e7eb;box-shadow:0 1px 7px #243e5705}.section-heading{padding:20px 22px 15px}.section-heading h2{font-size:17px;color:#345477}.section-heading p{font-size:11px}.filter-panel{background:#fff;border-radius:3px;border:1px solid #e4e8ec;padding:16px;margin:0 22px 20px}.filter-heading strong{font-size:13px;font-weight:600;color:#345477}.filter-heading span{font-size:10px}.filter-grid{gap:11px}.filter-grid label{font-size:11px;color:#48617d}.filter-grid input,.filter-grid select{border-radius:0;border-color:#dce2e7;font-weight:400;color:#345477;min-height:38px;font-size:12px;padding:8px 10px}.filter-actions{margin-top:14px}.filter-actions>span{font-size:11px}
.button,input[type=submit]{border-radius:3px;box-shadow:none!important;font-weight:600;min-height:36px;font-size:11px}.button:hover{transform:none}.table-scroll thead,.table-scroll th:first-child,.table-scroll th:last-child{background:#707980;color:white}.table-scroll th{font-size:10px;color:white;letter-spacing:0;font-weight:700;padding:11px 9px;border:0}.table-scroll td{font-size:11px;padding:13px 9px;color:#345477;border-bottom:1px solid #e2e6e9}.table-scroll tr:nth-child(odd),.table-scroll tr:nth-child(odd) td:first-child,.table-scroll tr:nth-child(odd) td:last-child{background:#f0f2f3}.table-scroll tr:nth-child(even),.table-scroll tr:nth-child(even) td:first-child,.table-scroll tr:nth-child(even) td:last-child{background:#fff}.table-scroll tr:hover,.table-scroll tr:hover td:first-child,.table-scroll tr:hover td:last-child{background:#eaf7f4}.client-identity strong{font-size:12px;color:#345477;font-weight:600}.client-identity small{font-size:10px}.client-avatar{width:27px;height:27px;border-radius:50%;background:#dff4ef;color:#138774}.badge,.status-pill{border-radius:3px}.table-scroll td:last-child .button{min-height:31px;border-radius:3px}.pagination{padding:14px 22px;color:#546d88}.pagination .button{border-radius:0}.dashboard-footer{color:#8794a2}.dialog-heading,.dialog-footer{background:#f6f8f9}dialog{border-radius:5px}.form-grid input,.form-grid select,.form-grid textarea{border-radius:3px}.share-tools{background:#f3faf8;border-color:#dcece7;border-radius:4px}
/* Subscription warning colors retain priority over striped rows. */
.table-scroll tr.subscription-expired,.table-scroll tr.subscription-expired td:first-child,.table-scroll tr.subscription-expired td:last-child{background:#fff0f2}.table-scroll tr.subscription-expiring,.table-scroll tr.subscription-expiring td:first-child,.table-scroll tr.subscription-expiring td:last-child{background:#fff8e8}
@media(max-width:800px){.sidebar{width:100%;padding:12px 16px;height:62px}.sidebar .brand{margin:0;font-size:17px}.workspace{width:100%;margin:0}.topbar{padding:0 16px;height:50px}.page-content{padding:12px}.page-heading{padding:19px}.filter-panel{margin:0 15px 17px;padding:13px}.side-bottom strong{color:#345477}.section-heading{padding:18px 15px}}
@media(max-width:600px){.currency-totals{gap:8px}.total-card{padding:12px 15px}.total-card strong{font-size:25px}.stats{gap:8px}.stat{min-height:105px;padding:12px}.page-heading h1{font-size:25px}.filter-grid input,.filter-grid select,.form-grid input,.form-grid select,.form-grid textarea{font-size:16px;min-height:44px}.button,input[type=submit]{min-height:44px}.table-scroll tr{border-radius:4px;background:#fff!important;padding:13px}.table-scroll td{font-size:13px}.table-scroll tr.subscription-expired{background:#fff0f2!important;border-left:4px solid #cc3b57}.table-scroll tr.subscription-expiring{background:#fff8e8!important;border-left:4px solid #d9a331}.table-scroll td:last-child .button{min-height:44px}.status-pill{font-size:10px}.client-identity strong{font-size:14px}}

.table-scroll thead th{background:#707980;color:#fff}@media(max-width:600px){.table-scroll thead{display:none}}

/* 1.14.2 — compact dashboard spacing, retaining the light administration style. */
@media(min-width:801px){
.topbar{height:45px}.page-content{padding:10px 20px 20px}.page-heading{padding:14px 20px;margin-bottom:12px;gap:14px}.page-heading h1{font-size:24px;margin:5px 0 6px;line-height:1.2}.page-heading p{font-size:11px}.page-heading .eyebrow{font-size:9px}.currency-totals{gap:10px;margin-bottom:12px}.total-card{display:grid;grid-template-columns:1fr auto;align-items:center;gap:3px 12px;padding:12px 18px}.total-card strong{grid-column:2;grid-row:1/3;font-size:27px;line-height:1.25}.total-card small{grid-column:1;font-size:10px}.total-card>span{font-size:11px}.stats{gap:10px;margin-bottom:12px}.stat{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:3px 10px;align-items:center;min-height:70px;padding:11px 15px}.stat>div{grid-column:1;grid-row:1/3;display:block;margin:0}.stat-arrow{display:none}.stat-name{grid-column:2;grid-row:1}.stat strong{grid-column:3;grid-row:1/3;font-size:25px;line-height:1.2}.stat small{grid-column:2;grid-row:2}.section-heading{padding:14px 18px 10px}.section-heading h2{font-size:16px}.section-heading p{margin-top:3px;font-size:10px}.filter-panel{margin:0 18px 14px;padding:12px 14px}.filter-heading{margin-bottom:10px}.filter-grid{gap:8px 11px}.filter-grid input,.filter-grid select{min-height:35px;height:35px;margin-top:4px;padding:6px 9px}.filter-actions{margin-top:10px;padding-top:0}.filter-actions .button{padding:7px 13px;min-height:34px}.table-scroll td{padding-top:11px;padding-bottom:11px}.dashboard-footer{margin-top:17px}
}
@media(max-width:800px){.page-heading{padding:15px;margin-bottom:12px}.page-heading h1{margin-top:5px;margin-bottom:7px}.currency-totals,.stats{margin-bottom:12px}.section-heading{padding-top:14px;padding-bottom:11px}.filter-heading{margin-bottom:10px}.filter-panel{margin-bottom:13px}.page-heading>.button{margin-top:12px}}
@media(min-width:601px) and (max-width:800px){.stat{min-height:100px}.total-card{padding:11px 13px}.total-card strong{font-size:24px}}
@media(max-width:600px){.total-card{padding:10px 13px}.stat{min-height:94px;padding:10px 12px}.stat>div{margin-bottom:3px}.stat strong{line-height:1.2}.page-heading h1{font-size:23px}.filter-grid{gap:10px}.table-scroll tbody{gap:10px}}

/* 1.14.2 — readable, compact management workspace. */
.app-shell{--ink:#21334c;--muted:#697b91;--line:#e1e8f0;--canvas:#f3f6fb;background:var(--canvas);color:var(--ink)}
.app-shell .sidebar{width:224px;background:#14243b;color:#bed0e5;border:0;padding:26px 18px}.sidebar .brand{color:#fff;margin-bottom:36px}.sidebar .brand-mark{background:#4269ed}.sidebar .nav-label{color:#91a6c2}.sidebar .nav-item{color:#c4d3e5;border-radius:10px;padding:13px 12px}.sidebar .nav-item.active{background:#2b4265;color:#fff;border-color:#3e577b;box-shadow:inset 3px 0 #55d8b4}.sidebar .settings-nav{background:transparent;border-color:#344964;color:#bed0e5}.sidebar .side-card{background:#1c304c;border-color:#344964;border-radius:14px;padding:17px}.sidebar .side-card strong{color:#fff}.sidebar .side-card p,.sidebar .side-shield{color:#a8bfdc}.sidebar .small-pill{color:#bbd0e9;border-color:#486184}.sidebar .side-bottom{border-color:#344964}.sidebar .side-bottom small{color:#abc0da}.sidebar .avatar{background:#35557f}
.app-shell .workspace{margin-left:224px;width:calc(100% - 224px);min-width:0}.app-shell .topbar{height:57px;padding:0 24px;background:#f3f6fb;color:#61758e}.topbar strong{color:#21334c}.top-site{border-radius:7px;color:#3d5779}.top-private{border-radius:20px;padding:5px 11px}.app-shell .page-content{padding:4px 24px 24px}.app-shell .page-heading{border-radius:15px;padding:20px 22px;background:linear-gradient(110deg,#fff,#eef3ff);border-color:#dce5f2;box-shadow:0 4px 16px #23375205;margin-bottom:14px}.page-heading h1{font-size:27px;color:#21334c;letter-spacing:-.8px}.page-heading p{font-size:13px;color:#64768d;line-height:1.6}.page-heading .eyebrow{color:#607695;font-size:10px}
.app-shell .button{font-size:12px;border-radius:9px;min-height:40px;padding:9px 14px;transition:filter .15s}.app-shell .button:focus-visible,.app-shell .stat:focus-visible{outline:3px solid #5277e7;outline-offset:3px}.currency-totals{gap:12px}.total-card{border-radius:13px;padding:16px 18px;grid-template-columns:minmax(0,1fr) auto;background:#fff;box-shadow:0 3px 14px #18354b04}.total-card>span{font-size:12px;color:#506783}.total-card small{font-size:11px;color:#687c94}.total-card strong{font-size:29px;color:#1f3452;letter-spacing:-.8px;white-space:nowrap}.total-eur{border-left-color:#19a88a}.total-usd{border-left-color:#3c80dc}.total-gbp{border-left-color:#8c62d9}
.stats{gap:12px}.app-shell .stat{border-radius:12px;min-height:86px;padding:16px;grid-template-columns:36px minmax(0,1fr) auto;gap:4px 12px;background:#fff;border-color:#dfe7f1}.stat .stat-symbol{width:36px;height:36px;border-radius:10px;font-size:21px}.stat .stat-name{font-size:12px;font-weight:700}.stat strong{font-size:28px;color:#223753}.stat small{font-size:11px;color:#697c93}.app-shell .stat:hover{transform:none;background:#f9fbff;border-color:#afc3e5}.app-shell .stat.selected{outline:2px solid var(--stat-accent,#4269ed);background:#f4f8ff;box-shadow:none}.app-shell .client-section{border-radius:15px;border-color:#dfe7f1;box-shadow:0 4px 20px #20374a06}.section-heading{padding:19px 20px 14px}.section-heading h2{font-size:19px;color:#243957}.section-heading p{font-size:12px;color:#687b91}.section-heading h2 span{font-size:11px;padding:4px 8px}.filter-panel{margin:0 20px 18px;background:#f7f9fd;border:1px solid #e1e8f3;border-radius:11px;padding:16px}.filter-heading strong{font-size:14px;color:#304b70}.filter-heading span{font-size:11px;color:#657891}.filter-grid{gap:12px}.filter-grid label{font-size:12px;color:#425c7b;font-weight:600}.filter-grid input,.filter-grid select{height:40px;min-height:40px;border-radius:7px;font-size:13px;border-color:#d6e0ef;padding:8px 10px;margin-top:6px;color:#263f5f;background:#fff}.filter-grid input::placeholder{color:#73829a}.filter-actions{margin-top:14px;gap:10px}.filter-actions>span{font-size:12px;color:#526b8b}.filter-actions .button{min-height:38px}
.table-scroll table{min-width:1400px}.table-scroll thead th{background:#edf2f9;color:#536b8a;font-size:10px;letter-spacing:.45px;padding:13px 10px;border-top:1px solid #e0e7f1;border-bottom:1px solid #dce5f0}.table-scroll td{font-size:12px;color:#3f5776;padding:15px 10px;border-bottom-color:#e7edf5}.table-scroll tr:nth-child(odd),.table-scroll tr:nth-child(odd) td:first-child,.table-scroll tr:nth-child(odd) td:last-child{background:#f8fafd}.table-scroll tr:hover,.table-scroll tr:hover td:first-child,.table-scroll tr:hover td:last-child{background:#eef4ff}.table-scroll tr.subscription-expired,.table-scroll tr.subscription-expired td:first-child,.table-scroll tr.subscription-expired td:last-child{background:#fff0f3}.table-scroll tr.subscription-expiring,.table-scroll tr.subscription-expiring td:first-child,.table-scroll tr.subscription-expiring td:last-child{background:#fff8e9}.client-avatar{width:32px;height:32px;border-radius:10px}.client-identity{gap:9px}.client-identity strong{font-size:13px;color:#294260}.client-identity small{font-size:11px;color:#647891}.badge{font-size:10px;padding:5px 7px;border-radius:6px}.status-pill{font-size:10px;padding:3px 7px;border-radius:5px}.table-scroll td:last-child .button{font-size:11px;min-height:36px;border-radius:7px}.pagination{font-size:12px;padding:15px 20px}.pagination .button{border-radius:7px;min-height:36px}.dashboard-footer{font-size:11px;color:#657991}
dialog{border-radius:15px}.dialog-heading{background:#fff}.dialog-heading h2{color:#263e60}.dialog-heading .eyebrow{color:#637997}.form-grid label{color:#3d5372}.form-grid input,.form-grid textarea,.form-grid select{border-radius:8px;background:#fff;border-color:#d5dfed}.field-hint{color:#667a92}.dialog-footer{background:#f7f9fd}.share-tools{background:#f1f6ff;border-radius:10px}
@media(min-width:801px) and (max-width:1200px){.app-shell .sidebar{width:196px;padding:24px 13px}.app-shell .workspace{margin-left:196px;width:calc(100% - 196px)}.app-shell .page-content{padding:4px 18px 20px}.currency-totals{gap:8px}.total-card{display:block;padding:13px}.total-card strong{font-size:26px;display:block;line-height:1.6}.stats{gap:8px}.app-shell .stat{padding:12px;gap:4px 8px;grid-template-columns:28px minmax(0,1fr) auto}.stat .stat-symbol{width:28px;height:28px;font-size:17px}.stat .stat-name{font-size:11px}.stat small{font-size:10px}.stat strong{font-size:24px}}
@media(max-width:800px){.app-shell{display:block}.app-shell .sidebar{width:100%;height:auto;min-height:66px;position:relative;padding:15px 18px;display:flex;flex-direction:row;align-items:center;gap:10px}.sidebar .brand{margin:0;font-size:18px}.sidebar .settings-nav{margin-left:auto;font-size:11px;padding:8px 10px}.app-shell .workspace{margin:0;width:100%}.app-shell .topbar{padding:0 16px;height:49px;font-size:10px}.app-shell .page-content{padding:0 14px 20px}.app-shell .page-heading{padding:18px;gap:12px}.page-heading h1{font-size:25px}.page-heading p{font-size:12px}.total-card strong{font-size:26px}.app-shell .stat{display:grid;grid-template-columns:36px minmax(0,1fr) auto;min-height:85px}.stat>div{grid-column:1;grid-row:1/3;margin:0}.stat-name{grid-column:2;grid-row:1}.stat strong{grid-column:3;grid-row:1/3}.stat small{grid-column:2;grid-row:2}.section-heading{padding:16px}.section-heading p{font-size:11px}.filter-panel{margin:0 14px 16px;padding:14px}.filter-heading{align-items:flex-start;gap:10px}.filter-heading span{text-align:right;max-width:150px}.filter-grid{gap:11px}.filter-actions>span{flex-basis:100%}.filter-actions .button{flex:1}.dashboard-footer{gap:10px;flex-wrap:wrap}}
@media(max-width:600px){.currency-totals{gap:9px}.total-card{padding:13px 15px}.total-card strong{font-size:25px}.stats{gap:9px}.app-shell .stat{grid-template-columns:28px minmax(0,1fr);padding:12px;gap:5px 8px}.stat .stat-symbol{width:28px;height:28px;font-size:17px}.stat strong{grid-column:1;grid-row:3;font-size:25px}.stat small{grid-column:2;grid-row:3;font-size:10px}.stat .stat-name{font-size:12px;grid-row:1/3;overflow-wrap:anywhere}.app-shell .page-heading{display:block}.page-heading>.button{width:100%;margin-top:14px}.section-heading h2{font-size:17px}.section-heading .button{font-size:11px;padding:8px 10px}.filter-grid input,.filter-grid select,.form-grid input,.form-grid select,.form-grid textarea{font-size:16px;min-height:44px}.table-scroll table{min-width:0}.table-scroll td{font-size:13px;padding:0}.table-scroll tr{border-radius:10px!important;padding:14px}.table-scroll td:last-child .button{min-height:44px}.table-scroll td::before{color:#617891;font-size:10px}.table-scroll tbody{gap:12px}.pagination{padding:14px;font-size:11px}.pagination>div{gap:8px}.pagination .button{min-height:42px}.app-shell .button{min-height:44px}.top-private{font-size:9px;padding:5px 7px}.top-site{max-width:82px}.slash{margin:0 6px}.sidebar .settings-nav{max-width:105px}.client-identity small{font-size:11px}.dialog-heading{padding:16px}dialog{max-height:94dvh}.dialog-footer{padding-bottom:max(14px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* 1.14.2 — sidebar identity, shortcuts and consistent navigation. */
.app-shell .sidebar{background:linear-gradient(165deg,#152840,#101d32);padding:24px 16px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#506783 #152840}.sidebar .brand{font-size:19px;letter-spacing:-.65px;gap:0;padding:0 5px;margin-bottom:32px;flex-shrink:0}.sidebar .brand-mark{background:transparent url('assets/site-icon.svg') center/contain no-repeat;width:34px;height:34px;flex-shrink:0;border-radius:10px;margin-right:9px}.sidebar .brand>span:not(.brand-mark){color:#b5c6dd}.sidebar .nav-label{font-size:9px;letter-spacing:1.45px;color:#8ca5c4;margin:0 12px 12px}.sidebar .nav-item{min-height:48px;font-size:12px;gap:11px;border-radius:10px;padding:11px 12px;flex-shrink:0}.sidebar .nav-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0}.sidebar svg{width:21px;height:21px;display:block}.sidebar .nav-item.active{background:linear-gradient(100deg,#294d72,#263e5d);border:1px solid #47688a;box-shadow:inset 3px 0 #51d9bb}.sidebar .nav-count{background:#1b9f89;color:#fff;border-radius:7px;padding:2px 7px;min-width:25px;text-align:center;font-weight:700}.sidebar .settings-nav{margin-top:9px;background:#ffffff03;border-color:#364e6b}.sidebar .buttons-nav{color:#b3c6de;margin-top:8px;border:1px solid transparent}.sidebar .nav-item:hover{background:#28425f;color:#fff}.sidebar-add{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;margin-top:14px;padding:10px 12px;border:1px solid #5076e5;border-radius:9px;background:#365fde;color:#fff;font-size:12px;font-weight:650;flex-shrink:0}.sidebar-add>span{font-size:20px;line-height:1}.sidebar-add:hover{background:#456ee9}.sidebar-add:focus-visible{outline:3px solid #8bb5ff;outline-offset:3px}.sidebar .side-card{margin:24px 0 auto;background:linear-gradient(130deg,#203b59,#192d46);border-color:#38516e;border-radius:12px;padding:17px 16px;flex-shrink:0}.sidebar .side-shield{display:grid;place-items:center;width:39px;height:39px;border:1px solid #48698a;border-radius:11px;background:#2b4968;margin-bottom:12px;color:#80dece}.sidebar .side-shield svg{width:23px;height:23px}.sidebar .side-card strong{font-size:13px}.sidebar .side-card p{font-size:11px;line-height:1.75;margin-bottom:13px}.sidebar .small-pill{display:inline-flex;align-items:center;font-size:8px;letter-spacing:.8px;padding:4px 6px;color:#c3d6ed;border-color:#426081}.sidebar .side-bottom{padding:17px 2px 0;margin-top:22px;gap:9px;flex-shrink:0}.sidebar .side-bottom strong{color:#edf5ff;font-size:12px;max-width:108px}.sidebar .side-bottom small{font-size:10px;color:#9fb6d2}.sidebar .avatar{width:35px;height:35px;flex-shrink:0;border:1px solid #4c7094;background:#2d5278}.sidebar .side-bottom a{display:grid;place-items:center;width:33px;height:33px;border-radius:8px;color:#b4cce7}.sidebar .side-bottom a:hover{background:#314e70;color:#fff}
.app-shell .page-heading{border-radius:16px}.app-shell .client-section{border-radius:16px}.app-shell .filter-panel{border-radius:12px}.app-shell .stat{border-top:3px solid var(--stat-accent,#4269ed)}.table-scroll td.price-cell{color:#206859;font-weight:750}.table-scroll th:last-child{letter-spacing:.2px}.table-scroll td:last-child .button{padding:8px 5px}.table-scroll td:first-child{border-left:3px solid transparent}.table-scroll tr.subscription-expired td:first-child{border-left-color:#d6506b}.table-scroll tr.subscription-expiring td:first-child{border-left-color:#dca23b}
@media(min-width:801px) and (max-height:720px){.app-shell .sidebar{padding-top:18px;padding-bottom:18px}.sidebar .brand{margin-bottom:22px}.sidebar .side-card{margin-top:18px;padding:13px}.sidebar .side-bottom{margin-top:16px}}
@media(max-width:800px){.app-shell .sidebar{background:#14263d;padding:12px 16px;overflow:visible;flex-wrap:wrap;gap:9px;min-height:64px}.sidebar .brand{font-size:18px;margin:0;padding:0;flex:1}.sidebar .brand-mark{width:30px;height:30px}.sidebar .settings-nav{display:flex;font-size:11px;min-height:38px;padding:8px 10px;margin:0;max-width:none}.sidebar .settings-nav .nav-icon{display:none}.sidebar .side-bottom{margin:0;padding:0}.sidebar .side-bottom strong{display:none}.sidebar .side-bottom a{width:30px;height:34px}.sidebar .buttons-nav,.sidebar .sidebar-add,.sidebar .side-card{display:none}.table-scroll td:first-child{border-left:0}}
@media(max-width:360px){.sidebar .brand{font-size:16px}.sidebar .brand-mark{width:26px;height:26px;margin-right:6px}.sidebar .settings-nav{font-size:10px;padding:7px;max-width:85px}.app-shell .sidebar{padding:12px;gap:6px}}
