@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{--bg:#090914;--panel:#121225;--panel2:#191932;--line:#29294a;--text:#f4f1ff;--muted:#aaa7c3;--purple:#9b5cff;--blue:#4d8dff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 80% 0,#20123d 0,transparent 32%),var(--bg);color:var(--text);font-family:Vazirmatn,Tahoma,sans-serif}a{color:inherit;text-decoration:none}header{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:20px;background:#090914dd;position:sticky;top:0;backdrop-filter:blur(14px);z-index:3}.brand{display:flex;align-items:center;gap:10px;font-weight:800}.brand img{width:48px}.brand small{display:block;color:var(--muted);font-size:9px;letter-spacing:2px}nav{display:flex;gap:22px;color:var(--muted);font-size:14px}nav a.active,nav a:hover{color:#c69cff}.btn{display:inline-block;border:0;border-radius:11px;padding:11px 19px;background:linear-gradient(110deg,var(--purple),#6754e9);color:white;font:inherit;font-weight:700;cursor:pointer}.btn.ghost{background:transparent;border:1px solid var(--line)}.btn.small{padding:6px 12px;font-size:12px}main{max-width:1180px;margin:0 auto;padding:45px 24px;min-height:72vh}.hero{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:35px;padding:55px 0}.hero h1{font-size:48px;line-height:1.45;margin:16px 0}.hero em{font-style:normal;color:#b78aff}.hero p,.muted{color:var(--muted);line-height:2}.tag{color:#bd9aff;letter-spacing:3px;font-size:12px}.hero-art img{width:100%;max-height:340px}.tiles,.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:25px 0}.tiles article,.card,.panel,.auth{background:linear-gradient(145deg,var(--panel),#101020);border:1px solid var(--line);border-radius:18px;padding:23px}.tiles p,.card p{color:var(--muted);line-height:1.9}.price{font-size:28px;color:#c49aff;font-weight:800}.price small{font-size:12px}.auth{max-width:440px;margin:30px auto;text-align:center}.auth img{width:90px}.auth form,.form{display:flex;flex-direction:column;gap:10px;text-align:right}label{font-size:13px;color:#c6c1dc}input,select{width:100%;padding:12px;border:1px solid var(--line);background:#0b0b19;color:white;border-radius:9px;font:inherit;margin:5px 0 12px}.notice{padding:13px 17px;background:#211a39;border:1px solid #59428a;border-radius:10px;margin-bottom:20px}.layout{display:grid;grid-template-columns:230px 1fr;gap:22px}aside{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:13px;height:max-content}aside>a{padding:9px;color:var(--muted)}aside>a.active{background:#292044;border-radius:9px;color:white}.who{text-align:center;padding:12px;border-bottom:1px solid var(--line)}.who img{width:60px;display:block;margin:auto}.who small{display:block;color:var(--muted)}.content{min-width:0}.inlineform{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:var(--panel);padding:15px;border-radius:13px;margin:18px 0}.inlineform input,.inlineform select{width:auto;min-width:120px;margin:0}table{width:100%;border-collapse:collapse;background:var(--panel);border-radius:12px;overflow:hidden}td,th{text-align:right;padding:12px;border-bottom:1px solid var(--line);font-size:13px}th{color:#c69cff}td form{display:flex;gap:5px}td select{margin:0;padding:5px;width:auto}footer{border-top:1px solid var(--line);padding:25px 5%;display:flex;align-items:center;gap:25px;color:var(--muted);font-size:13px}footer img{width:150px}.install{max-width:560px}@media(max-width:800px){header{height:auto;padding:15px;flex-wrap:wrap}nav{order:3;width:100%;overflow:auto;gap:15px}.hero{grid-template-columns:1fr}.hero h1{font-size:36px}.tiles,.cards{grid-template-columns:1fr}.layout{grid-template-columns:1fr}aside{display:grid;grid-template-columns:repeat(2,1fr)}footer{flex-wrap:wrap}}

/* V2.3 accounting */
.bank-card{max-width:560px;padding:18px;border-radius:22px;background:linear-gradient(135deg,#24104b,#5427a0 55%,#170d31);color:#fff;box-shadow:0 18px 40px #160b3344;transform:perspective(900px) rotateX(2deg)}.bank-card-inner{padding:18px;border:1px solid #ffffff55;border-radius:16px;background:linear-gradient(120deg,#ffffff12,#ffffff04)}.bank-card strong{display:block;letter-spacing:1px;font-size:1.1rem;margin:6px 0 14px;direction:ltr;text-align:right}.warning-note{padding:14px;border:1px solid #d99a32;border-radius:12px;background:#d99a3215;color:inherit}.danger{background:#9c3150!important}
/* Ticket center */
.ticket-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.ticket-heading h1{margin-bottom:4px}.ticket-heading p{margin-top:0}.ticket-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.ticket-stat{background:linear-gradient(145deg,var(--panel),#0d1020);border:1px solid var(--line);border-radius:15px;padding:18px;display:flex;align-items:center;gap:12px}.ticket-stat strong{font-size:27px;color:#8bbcff}.ticket-stat span{color:var(--muted);font-size:14px}.ticket-stat.active{border-color:#4d8dff;background:linear-gradient(145deg,#142443,#10172a)}.ticket-list{padding:18px!important}.ticket-list-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ticket-list-title h2{margin:0;font-size:20px}.ticket-list table{background:transparent}.ticket-list th,.ticket-list td{padding:15px 12px;font-size:14px}.ticket-meta{display:block;color:var(--muted);font-size:12px;margin-top:6px}.ticket-status{display:inline-block;border-radius:20px;padding:6px 12px;font-size:12px;background:#252b3a;color:#cbd5e1}.ticket-status.open{background:#132d4b;color:#7dbbff}.ticket-status.answered{background:#12372f;color:#63d8b4}.ticket-status.closed{background:#34313d;color:#c6bdd5}.ticket-details{position:relative}.ticket-details summary{list-style:none;display:inline-block;cursor:pointer}.ticket-details summary::-webkit-details-marker{display:none}.ticket-conversation{min-width:300px;max-width:520px;white-space:normal;background:#0b1020;border:1px solid var(--line);border-radius:13px;padding:16px;margin-top:9px;line-height:2}.ticket-conversation blockquote{margin:12px 0;padding:12px;border-right:3px solid var(--purple);background:#15172a;border-radius:8px}.ticket-reply textarea,.ticket-form textarea{display:block;width:100%;min-height:145px;padding:16px 18px;border:1px solid #353653;border-radius:12px;background:#0b1020;color:#f4f1ff;font:inherit;font-size:16px;line-height:2;resize:vertical;outline:none;box-shadow:inset 0 1px 5px #0005}.ticket-reply textarea:focus,.ticket-form textarea:focus{border-color:var(--purple);box-shadow:0 0 0 3px #9b5cff22}.ticket-form{max-width:760px;margin-top:18px;gap:12px}.ticket-form h2{font-size:23px}.ticket-form label{font-size:15px}.ticket-form input,.ticket-form select{font-size:16px;padding:14px 15px;background:#0b1020;color:var(--text);border-color:#353653}.ticket-message{min-height:220px!important;font-size:17px!important}.ticket-empty{text-align:center;color:var(--muted);padding:45px 15px}.ticket-close-form{margin-top:10px}.btn.danger{background:linear-gradient(110deg,#a83252,#76243d)}@media(max-width:800px){.ticket-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ticket-heading{align-items:flex-start;flex-direction:column}.ticket-conversation{min-width:240px}}

/* Darkoob ticket center - layout closely follows the supplied reference screenshot */
.ticket-page-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;padding:0 4px}.ticket-page-head h1{font-size:22px;margin:0;color:#e8edf7}.ticket-page-head p{margin:5px 0;color:#9aa8bc}.ticket-back{color:#268be8;font-size:13px}.ticket-toolbar{height:58px;display:flex;align-items:flex-start;gap:20px;margin-bottom:16px;border-radius:0 0 14px 14px;background:#0a111c;padding:0 14px}.ticket-new-button{display:inline-flex;align-items:center;gap:9px;background:#258be8;color:#071321;font-weight:700;padding:12px 25px;border-radius:0 0 4px 14px;clip-path:polygon(0 0,100% 0,100% 100%,8% 100%);min-width:132px;justify-content:center}.ticket-toolbar-spacer{flex:1}.ticket-toolbar-link{color:#e6a500;padding:13px 20px;font-weight:700}.ticket-board{background:#0a111c;border:1px solid #111d2c;border-radius:19px;overflow:visible;box-shadow:0 12px 32px #0002}.ticket-board-title{height:55px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 22px;color:#c5d0df;font-size:14px}.ticket-board-title strong{font-size:16px;color:#e2e9f3}.ticket-refresh{font-size:25px;color:#c3d0df;text-align:left;cursor:pointer}.ticket-tabs{display:flex;align-items:stretch;justify-content:center;gap:38px;padding:17px 12px 22px;border-bottom:1px solid #101c2b}.ticket-tab{position:relative;min-width:94px;display:flex;flex-direction:column;align-items:center;gap:5px;color:#aab7c9;font-size:13px;padding:2px 4px 4px}.ticket-tab svg{width:43px;height:43px;fill:#b8c5d7;stroke:#b8c5d7;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.ticket-tab.selected{color:#268bea}.ticket-tab.selected svg{fill:#258be8;stroke:#258be8}.ticket-tab b{position:absolute;right:0;top:48px;transform:translateX(35%);background:#14243a;color:#a9c8ec;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;font-size:11px;font-weight:600}.ticket-tab span{white-space:nowrap;font-weight:600}.ticket-check{fill:#1aa58d!important;stroke:#1aa58d!important}.ticket-check-line{fill:none!important;stroke:#071b1a!important;stroke-width:2.5!important}.ticket-clock{fill:#f0a21c!important;stroke:#f0a21c!important}.ticket-clock-line{fill:none!important;stroke:#3b2606!important;stroke-width:2.5!important}.ticket-table-wrap{padding:0 18px}.ticket-table{background:transparent!important;border-radius:0!important;table-layout:auto}.ticket-table th{color:#c1cddd;font-size:12px;font-weight:600;border-bottom:1px solid #152235;padding:15px 14px}.ticket-table td{color:#c5cfde;font-size:13px;border-bottom:1px solid #111e2e;padding:17px 14px}.ticket-table tbody tr:hover{background:#101b2a}.ticket-table td:first-child{min-width:180px}.ticket-table td:first-child strong{color:#d9e2ef;font-size:13px}.ticket-table td:first-child small{display:block;color:#8797ac;font-size:11px;margin-top:6px}.ticket-table .ticket-id{direction:ltr;text-align:center;color:#b6c2d1}.ticket-status-pill{display:inline-flex;border-radius:20px;padding:6px 13px;font-size:11px;white-space:nowrap;background:#132e2b;color:#2ec5a7}.ticket-status-pill.open{background:#142e49;color:#64b4ff}.ticket-status-pill.closed{background:#252b36;color:#aab4c4}.ticket-view-button{list-style:none;cursor:pointer;display:inline-flex;background:#142235;color:#268bea;padding:7px 15px;border-radius:6px;font-size:12px;white-space:nowrap}.ticket-view-button::-webkit-details-marker{display:none}.ticket-conversation{position:relative;z-index:5;min-width:min(480px,80vw);max-width:520px;background:#0b1523;border:1px solid #26374d;color:#dce6f2;border-radius:12px;padding:17px;margin:8px 0;line-height:2;box-shadow:0 14px 30px #0008}.ticket-original-message{padding:12px;background:#111f30;border-radius:9px}.ticket-original-message p,.ticket-conversation blockquote p{white-space:pre-wrap;overflow-wrap:anywhere}.ticket-conversation blockquote{margin:12px 0;padding:12px;border-right:3px solid #258be8;background:#142235;border-radius:8px}.ticket-conversation textarea,.ticket-compose textarea{width:100%;min-height:150px;padding:15px 17px;border:1px solid #26384d;border-radius:10px;background:#0d1928;color:#edf4fc;font-family:inherit;font-size:16px;line-height:2;outline:none;resize:vertical}.ticket-conversation textarea:focus,.ticket-compose textarea:focus{border-color:#258be8;box-shadow:0 0 0 3px #258be822}.ticket-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;background:#258be8;color:#061321;padding:11px 20px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.ticket-close-button{border:1px solid #9a4250;background:#351923;color:#ff9eac;border-radius:8px;padding:8px 15px;font:inherit;cursor:pointer}.ticket-close-form{margin-top:10px}.ticket-table-footer{display:flex;justify-content:space-between;padding:14px 22px;color:#93a3b7;font-size:12px}.ticket-empty{text-align:center!important;padding:38px!important;color:#94a4b8!important}.ticket-compose{max-width:900px;margin:18px auto;background:#0a111c;border:1px solid #1b2a3d;border-radius:17px;padding:25px;display:flex;flex-direction:column;gap:12px}.ticket-compose-title{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1b2a3d;padding-bottom:14px;margin-bottom:5px}.ticket-compose-title h2{margin:0;font-size:20px}.ticket-compose-title span{font-size:12px;color:#8ea1b8}.ticket-compose label{font-size:14px;color:#c7d3e2}.ticket-fields{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:14px}.ticket-compose input:not([type=file]),.ticket-compose select{width:100%;padding:13px 15px;background:#0d1928;color:#edf4fc;border:1px solid #26384d;border-radius:9px;font:inherit;font-size:15px;margin:7px 0 10px}.ticket-compose input:focus,.ticket-compose select:focus{outline:none;border-color:#258be8}.ticket-compose .ticket-message{min-height:240px;font-size:17px}.ticket-compose .ticket-file{padding:12px;background:#0d1928;border:1px dashed #344b65;border-radius:9px;color:#b9c8d9}.ticket-form-actions{display:flex;align-items:center;gap:16px;margin-top:8px}.ticket-cancel{color:#9aabc0;font-size:14px}.ticket-reply{display:block}.ticket-reply .ticket-primary{margin-top:9px}
@media(max-width:800px){.ticket-tabs{gap:8px;justify-content:space-around;flex-wrap:wrap}.ticket-tab{min-width:75px;font-size:11px}.ticket-tab svg{width:36px;height:36px}.ticket-table-wrap{overflow-x:auto}.ticket-table{min-width:560px}.ticket-fields{grid-template-columns:1fr}.ticket-board-title{padding:0 12px}.ticket-compose{padding:16px}.ticket-toolbar{padding:0 8px}.ticket-conversation{min-width:260px}}

/* V2.6: robust ticket center rendering */
.content > .ticket-page-head,
.content > .ticket-toolbar,
.content > .ticket-board { position:relative; isolation:isolate; }
.content > .ticket-board {
  display:block !important;
  width:100% !important;
  min-height:0 !important;
  height:auto !important;
  max-width:100% !important;
  background:#0a111c !important;
  color:#c5cfde !important;
  border:1px solid #17263a !important;
  border-radius:19px !important;
  overflow:visible !important;
  box-shadow:0 12px 32px #0002 !important;
  padding:0 !important;
  margin:0 !important;
}
.content > .ticket-board .ticket-tabs,
.content > .ticket-board .ticket-table-wrap,
.content > .ticket-board .ticket-board-title,
.content > .ticket-board .ticket-table-footer {
  display:flex;
  visibility:visible;
  opacity:1;
}
.content > .ticket-board .ticket-tabs { align-items:stretch; justify-content:center; }
.content > .ticket-board .ticket-table-wrap { display:block; }
.content > .ticket-board .ticket-table { display:table !important; width:100% !important; }
.content > .ticket-board .ticket-table thead { display:table-header-group !important; }
.content > .ticket-board .ticket-table tbody { display:table-row-group !important; }
.content > .ticket-board .ticket-table tr { display:table-row !important; }
.content > .ticket-board .ticket-table th,
.content > .ticket-board .ticket-table td { display:table-cell !important; }
.content > .ticket-board .ticket-empty { display:table-cell !important; }
.content > .ticket-board::before,
.content > .ticket-board::after { content:none !important; display:none !important; }
@media(max-width:800px) {
  .content > .ticket-board .ticket-tabs { display:flex; flex-wrap:wrap; }
  .content > .ticket-board .ticket-table-wrap { overflow-x:auto; }
}

/* V2.7 Finance center - reference-inspired layout in Darkoob visual identity */
.finance-side{margin:8px 0;padding:10px 8px 7px;border:1px solid #30234d;border-radius:13px;background:linear-gradient(160deg,#17142b,#101020)}
.finance-side-title{display:flex;align-items:center;gap:9px;padding:8px 10px 12px;color:#c9a7ff;font-weight:800;border-bottom:1px solid #2a2340;margin-bottom:6px}.finance-side-title span{font-size:20px;color:#9d65ff}.finance-side>a{display:block;padding:9px 10px!important;margin:3px 0;border-radius:8px;font-size:13px}.finance-side>a.active,.finance-side>a:hover{background:#292044;color:#fff}
.finance-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 18px}.finance-heading h1{font-size:23px;margin:0 0 4px;color:#f1ebff}.finance-heading p{margin:0;color:#aaa7c3;font-size:13px}.finance-return{color:#5caaff;font-size:13px;white-space:nowrap}
.finance-balance-card{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:105px;padding:18px 28px;margin:0 0 25px;border:1px solid #20233b;border-radius:19px;overflow:hidden;background:linear-gradient(110deg,#111525,#17172c 52%,#17112d);isolation:isolate}.finance-balance-art{position:absolute;z-index:-1;inset:0 22% 0 26%;opacity:.17;background-image:radial-gradient(ellipse at 50% 120%,#9b5cff 0,transparent 60%),repeating-linear-gradient(135deg,transparent 0 18px,#6e6a8d 19px 20px)}.finance-balance-info{display:flex;flex-direction:column;gap:3px}.finance-balance-info small{font-size:12px;color:#b6b1c9}.finance-balance-info strong{font-size:27px;color:#00d6b2;letter-spacing:.3px}.finance-balance-info span{font-size:11px;color:#858ba2}.finance-add-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 23px;border-radius:14px;background:linear-gradient(110deg,#3b91f4,#2776d6);color:#07172b;font-weight:800;white-space:nowrap;box-shadow:0 7px 22px #287bd533}
.finance-panel{background:linear-gradient(145deg,#0d1421,#0a111c);border:1px solid #18263a;border-radius:19px;overflow:hidden;margin:0 0 22px;box-shadow:0 10px 28px #0002}.finance-panel-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 22px;color:#d9e3f1;border-bottom:1px solid #172338;font-size:14px}.finance-panel-head strong{font-size:15px}.finance-panel-head>span{font-size:12px;color:#8d9bb0}.finance-refresh{font-size:24px;cursor:pointer;color:#c3d0df}.finance-tools{font-size:19px;color:#9daac0}.finance-status-tabs{display:flex;align-items:stretch;justify-content:center;gap:45px;padding:20px 14px 24px;border-bottom:1px solid #142033}.finance-status{position:relative;min-width:90px;display:flex;flex-direction:column;align-items:center;gap:5px;color:#aebbd0;font-size:12px;padding:3px 5px 4px}.finance-status-icon{font-size:39px;line-height:1;color:#b9c5d7}.finance-status strong{font-size:12px;font-weight:700;white-space:nowrap}.finance-status b{position:absolute;right:0;top:40px;transform:translateX(35%);width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#152b45;color:#9ecbff;font-size:11px}.finance-status b.ok{background:#12352f;color:#35d2b2}.finance-status b.warn{background:#402d16;color:#ffbd50}.finance-status.active,.finance-status:hover{color:#4ca4ff}.finance-status.active .finance-status-icon{color:#348feb}.finance-table-wrap{width:100%;overflow-x:auto;padding:0 15px}.finance-table{width:100%;min-width:730px;border-collapse:collapse;background:transparent!important;border-radius:0!important}.finance-table th{padding:15px 13px;border-bottom:1px solid #1a2a40;color:#c2cee0;font-size:12px;white-space:nowrap}.finance-table td{padding:15px 13px;border-bottom:1px solid #142136;color:#bdc9d9;font-size:12px;vertical-align:middle}.finance-table tbody tr:hover{background:#111d2d}.finance-table td:first-child strong{display:block;color:#e0e7f1;font-size:13px}.finance-table td:first-child small{display:block;color:#8594a9;font-size:11px;margin-top:5px}.finance-id{direction:ltr;text-align:center;color:#aab8ca}.finance-pill{display:inline-flex;align-items:center;justify-content:center;padding:6px 12px;border-radius:18px;font-size:11px;white-space:nowrap}.finance-pill.paid{background:#12342f;color:#31c9aa}.finance-pill.unpaid{background:#3a2a16;color:#f0b64b}.finance-pill.expired{background:#292d39;color:#aab4c4}.finance-actions{min-width:140px}.finance-action-link{color:#55aaff}.finance-receipt-form{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.finance-file-button{display:inline-flex;align-items:center;padding:7px 10px;border:1px dashed #465777;border-radius:7px;color:#b8c8dd;cursor:pointer;font-size:11px}.finance-file-button input{display:none}.finance-table-foot{display:flex;justify-content:space-between;padding:13px 20px;color:#8493a8;font-size:11px}.finance-empty{text-align:center!important;padding:42px!important;color:#8493a8!important}
.finance-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:stretch}.finance-topup-panel{padding:22px}.finance-topup-panel h2{margin:0 0 5px;font-size:18px}.finance-topup-panel>p{margin:0 0 15px;color:#8e9bb0;font-size:12px;line-height:2}.finance-topup-form{display:flex;flex-direction:column;gap:8px}.finance-topup-form label,.finance-admin-form label{color:#c4cfe0;font-size:12px}.finance-topup-form input,.finance-admin-form input{background:#0b1523;border-color:#293a53;color:#f0f4fb}.finance-calculation{display:flex;justify-content:space-between;padding:9px 0;color:#9caac0;font-size:12px;border-bottom:1px solid #1b2a3e}.finance-calculation b{color:#d5deeb}.finance-calculation.total{font-size:14px;color:#e5eaf4}.finance-calculation.total b{color:#22d5b4;font-size:16px}.finance-topup-form .btn{margin-top:8px}.finance-nonrefundable{margin-top:16px;padding:11px 13px;border-radius:9px;background:#302416;border:1px solid #6b4a1d;color:#f2c477;font-size:11px;line-height:2}
.finance-bank-card{position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:center;gap:11px;min-height:300px;padding:25px;border-radius:19px;border:1px solid #7655a8;background:linear-gradient(135deg,#34205b 0%,#171a39 48%,#101b31 100%);box-shadow:0 17px 34px #0005,inset 0 1px 0 #ffffff22}.finance-bank-shine{position:absolute;z-index:-1;width:280px;height:280px;left:-65px;top:-130px;border-radius:50%;background:radial-gradient(circle,#a56dff66,transparent 68%)}.finance-bank-card>small{font-size:10px;letter-spacing:2px;color:#d4c3ff}.finance-bank-card h2{margin:0 0 4px;font-size:18px}.finance-bank-card label{display:block;color:#c0b4dc;font-size:11px}.finance-bank-card strong{display:block;color:#fff;font-size:15px;direction:ltr;text-align:right;overflow-wrap:anywhere}.finance-bank-card .finance-card-number{font-size:21px;letter-spacing:2px}.finance-bank-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.finance-bank-chip{position:absolute;left:25px;bottom:22px;padding:5px 11px;border:1px solid #ffffff55;border-radius:8px;color:#d9c7ff;font-size:10px;letter-spacing:2px}
.finance-report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.finance-report-grid article{padding:20px;background:linear-gradient(145deg,#17142b,#0e1725);border:1px solid #2c2545;border-radius:15px}.finance-report-grid small{display:block;color:#9c9bb6;font-size:11px}.finance-report-grid strong{display:block;margin-top:12px;color:#c5a0ff;font-size:20px}.finance-rules{padding:23px}.finance-rules h2{font-size:18px;margin-top:0}.finance-rules li{color:#b8c4d6;line-height:2.4;font-size:13px}.finance-pending-count{padding:9px 13px;border-radius:10px;background:#3b2b16;color:#f5bd57;font-size:12px}.finance-admin-bank{padding-bottom:22px}.finance-admin-form{display:grid;grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:12px;padding:20px}.finance-admin-form>div{min-width:0}.finance-admin-form input{margin:6px 0 0}.finance-review-form{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}.finance-review-form input{max-width:130px;margin:0;padding:7px;font-size:11px}.finance-review-form .btn{font-size:11px;padding:7px 9px}.btn.danger{background:linear-gradient(110deg,#a83252,#76243d)}
@media(max-width:950px){.finance-lower-grid{grid-template-columns:1fr}.finance-report-grid{grid-template-columns:repeat(2,1fr)}.finance-admin-form{grid-template-columns:1fr 1fr}.finance-status-tabs{gap:20px}}
@media(max-width:600px){.finance-heading{align-items:flex-start;flex-direction:column}.finance-balance-card{align-items:flex-start;flex-direction:column;padding:18px}.finance-status-tabs{gap:8px;justify-content:space-around;flex-wrap:wrap}.finance-status{min-width:70px}.finance-report-grid{grid-template-columns:1fr 1fr}.finance-admin-form{grid-template-columns:1fr}.finance-bank-row{grid-template-columns:1fr}.finance-table-foot{gap:10px;flex-direction:column}}

/* V2.8 finance drawer, compact accounting rail and consistent ticket theme */
.finance-side.finance-rail{width:54px;min-width:54px;margin:12px auto;padding:8px 5px;border:1px solid #30234d;border-radius:16px;background:linear-gradient(180deg,#17142b,#101020);display:flex;justify-content:center}
.finance-rail .finance-rail-link{display:flex!important;align-items:center;justify-content:center;width:40px;height:44px;padding:0!important;margin:0!important;border-radius:10px;color:#c49aff;background:#292044;font-size:23px}
.finance-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.finance-history-link{padding:9px 13px;border:1px solid #49366c;border-radius:9px;color:#c9a7ff;background:#17142b;font-size:12px}
.finance-add-button{border:0;cursor:pointer;font:inherit}
.topup-overlay{position:fixed;inset:0;background:#050510c9;backdrop-filter:blur(5px);z-index:1000;display:flex;justify-content:flex-end;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}
.topup-overlay.open{opacity:1;visibility:visible}
.topup-drawer{width:min(560px,100%);height:100%;overflow-y:auto;padding:26px;background:linear-gradient(160deg,#17142b,#0b1220 65%);border-left:1px solid #49366c;box-shadow:-20px 0 60px #0008;transform:translateX(35px);transition:transform .25s ease}
.topup-overlay.open .topup-drawer{transform:translateX(0)}
.topup-drawer-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px;padding-bottom:17px;border-bottom:1px solid #302747}
.topup-drawer-head h2{font-size:21px;margin:0 0 7px;color:#f0eaff}
.topup-drawer-head p{font-size:12px;line-height:2;color:#a9a3c0;margin:0}
.topup-close{width:38px;height:38px;border:1px solid #49366c;border-radius:10px;background:#211a35;color:#d9c7ff;font-size:27px;cursor:pointer;line-height:1}
.topup-drawer .finance-topup-form{padding:18px;background:#0d1421;border:1px solid #26334b;border-radius:15px;margin-bottom:18px}
.topup-drawer .finance-topup-form input{font-size:18px;letter-spacing:.4px;padding:15px}
.topup-drawer .finance-calculation{font-size:13px}
.topup-drawer .finance-calculation.total{border-top:1px solid #49366c;margin-top:5px;padding-top:14px}
.topup-bank-card{min-height:260px;margin:0 0 15px}
.topup-drawer .finance-nonrefundable{font-size:12px}
.ticket-board,.ticket-compose{background:linear-gradient(145deg,#111326,#0b1220 70%,#17112d)!important;border-color:#30234d!important}
.ticket-board-title{background:linear-gradient(90deg,#17142b,#0a111c)!important}
.ticket-tabs{border-color:#302747!important}
.ticket-toolbar-link{color:#c49aff!important}
.ticket-table th,.ticket-table td{border-color:#29233f!important}
.ticket-table tbody tr:hover{background:#17142b!important}
.ticket-conversation{background:#111326!important;border-color:#49366c!important}
.ticket-original-message,.ticket-conversation blockquote{background:#1a1830!important}
.ticket-conversation textarea,.ticket-compose textarea,.ticket-compose input:not([type=file]),.ticket-compose select{background:#111326!important;border-color:#49366c!important}
.ticket-compose input:focus,.ticket-compose select:focus,.ticket-conversation textarea:focus,.ticket-compose textarea:focus{border-color:#9b5cff!important;box-shadow:0 0 0 3px #9b5cff22!important}
.ticket-primary{background:linear-gradient(110deg,#9b5cff,#6754e9)!important;color:#fff!important}
@media(max-width:700px){.topup-drawer{padding:18px}.finance-heading-actions{width:100%}.finance-side.finance-rail{width:48px;min-width:48px}}

/* V2.9 accounting navigation + reliable off-canvas top-up */
.finance-nav-group{
  margin:14px auto 16px;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:7px;
}
.finance-nav-title{
  width:100%;
  text-align:center;
  color:#d9c5ff;
  font-size:13px;
  font-weight:800;
  padding:10px 5px 8px;
  border-bottom:1px solid #30234d;
  letter-spacing:.1px;
}
.finance-side.finance-rail{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:7px 5px!important;
  border:1px solid #30234d!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#17142b,#101020)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:7px!important;
}
.finance-rail .finance-rail-link{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:3px!important;
  width:100%!important;
  min-height:54px!important;
  height:auto!important;
  padding:7px 3px!important;
  margin:0!important;
  border-radius:10px!important;
  color:#c49aff!important;
  background:#211a35!important;
  text-decoration:none!important;
  border:1px solid transparent!important;
}
.finance-rail .finance-rail-link span{font-size:20px;line-height:1.1}
.finance-rail .finance-rail-link small{display:block!important;font-size:9px!important;line-height:1.4!important;color:inherit!important;white-space:nowrap}
.finance-rail .finance-rail-link.active{
  color:#fff!important;
  background:linear-gradient(110deg,#7544b8,#43317a)!important;
  border-color:#9b70df!important;
  box-shadow:0 5px 16px #5c36a633!important;
}
#topup-overlay{
  position:fixed!important;
  inset:0!important;
  z-index:99999!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-end!important;
  background:rgba(4,5,15,.78)!important;
  backdrop-filter:blur(6px)!important;
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
  transition:opacity .22s ease,visibility .22s ease!important;
}
#topup-overlay.open{
  opacity:1!important;
  visibility:visible!important;
  pointer-events:auto!important;
}
#topup-overlay .topup-drawer{
  display:flex!important;
  flex-direction:column!important;
  width:min(560px,92vw)!important;
  max-width:560px!important;
  height:100vh!important;
  max-height:100vh!important;
  overflow-y:auto!important;
  margin:0!important;
  padding:26px!important;
  background:linear-gradient(160deg,#17142b,#0b1220 65%)!important;
  border-left:1px solid #654a91!important;
  box-shadow:-20px 0 60px #0009!important;
  transform:translateX(105%)!important;
  transition:transform .25s ease!important;
}
#topup-overlay.open .topup-drawer{transform:translateX(0)!important}
#topup-overlay:not(.open) .topup-drawer{visibility:hidden!important}
#topup-overlay.open .topup-drawer{visibility:visible!important}
#topup-overlay .topup-close{
  flex:0 0 38px!important;
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  padding:0!important;
  color:#eadfff!important;
  background:#292044!important;
  border:1px solid #654a91!important;
  border-radius:10px!important;
  font-size:24px!important;
  line-height:1!important;
}
#topup-overlay .finance-topup-form{display:flex!important;flex-direction:column!important;gap:11px!important}
#topup-overlay .finance-topup-form input{
  width:100%!important;
  min-height:52px!important;
  text-align:right!important;
  direction:ltr!important;
  font-variant-numeric:tabular-nums!important;
}
#topup-overlay .finance-calculation b,
.finance-table td,.finance-id,.finance-balance-info strong{
  font-variant-numeric:tabular-nums!important;
}
@media(max-width:700px){
  #topup-overlay .topup-drawer{width:100vw!important;max-width:none!important;padding:18px!important}
  .finance-nav-group{margin:10px auto}
}

/* V2.10: clean accounting label and robust viewport-level top-up drawer */
.finance-nav-group{display:block!important;width:100%!important;margin:14px 0!important;padding:0 10px!important}
.finance-nav-title{display:block!important;width:100%!important;text-align:center!important;padding:12px 4px!important;color:#d9c5ff!important;font-size:14px!important;font-weight:800!important;border:0!important;border-top:1px solid #30234d!important;border-bottom:1px solid #30234d!important;background:transparent!important}
#topup-overlay.topup-overlay{position:fixed!important;inset:0!important;z-index:2147483000!important;display:flex!important;align-items:stretch!important;justify-content:flex-end!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;background:rgba(4,5,15,.82)!important;backdrop-filter:blur(6px)!important;transition:opacity .2s ease,visibility .2s ease!important}
#topup-overlay.topup-overlay.open{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
#topup-overlay .topup-drawer{position:relative!important;display:flex!important;flex-direction:column!important;width:min(560px,94vw)!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;margin:0!important;transform:translateX(105%)!important;transition:transform .25s ease!important;background:linear-gradient(160deg,#17142b,#0b1220 65%)!important;padding:26px!important}
#topup-overlay.open .topup-drawer{transform:translateX(0)!important}
@media(max-width:700px){#topup-overlay .topup-drawer{width:100vw!important;padding:18px!important}}


/* Darkoob V2.11 — consistent sidebar separators and hover states */
.layout aside { gap: 0 !important; padding: 14px 16px !important; }
.layout aside > a,
.layout aside > .finance-nav-group {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 11px 12px !important;
  margin: 0 !important;
  color: #aaa4c7 !important;
  text-decoration: none;
  border-top: 1px solid rgba(151,126,203,.16) !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  transition: color .18s ease, background .18s ease, padding .18s ease, border-color .18s ease;
}
.layout aside > a:last-child,
.layout aside > .finance-nav-group:last-child {
  border-bottom: 1px solid rgba(151,126,203,.16) !important;
}
.layout aside > a:hover {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(125,76,210,.22), rgba(91,58,151,.08)) !important;
  border-top-color: rgba(174,139,255,.48) !important;
  padding-right: 16px !important;
}
.layout aside > a.active {
  color: #fff !important;
  background: linear-gradient(90deg, rgba(125,76,210,.32), rgba(91,58,151,.12)) !important;
  border-top-color: rgba(174,139,255,.55) !important;
}
.layout aside .finance-nav-group {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(151,126,203,.16) !important;
  border-bottom: 1px solid rgba(151,126,203,.16) !important;
}
.layout aside .finance-nav-title {
  display: block;
  padding: 13px 12px;
  margin: 0;
  color: #e4d6ff;
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
  border: 0 !important;
  background: transparent !important;
}
.layout aside .finance-nav-group:hover .finance-nav-title {
  color: #fff;
}
#topup-overlay { z-index: 2147483000 !important; }
#topup-overlay.open { pointer-events: auto !important; }
#topup-overlay:not(.open) { pointer-events: none !important; }
#topup-overlay .topup-drawer { pointer-events: auto !important; }


/* V2.12 — accounting is a real navigation link, aligned like sibling items */
.layout aside > a[aria-label="حسابداری"] {
  display:flex!important;
  width:100%;
  align-items:center!important;
  justify-content:flex-start!important;
  text-align:right!important;
  direction:rtl!important;
  cursor:pointer!important;
  color:#aaa4c7!important;
  font-weight:600;
}
.layout aside > a[aria-label="حسابداری"]:hover,
.layout aside > a[aria-label="حسابداری"].active {
  color:#fff!important;
}


/* V2.13 — centered top-up dialog and consistent amount typography */
#topup-overlay {
  justify-content: center !important;
  align-items: center !important;
  padding: 24px !important;
  box-sizing: border-box;
}
#topup-overlay .topup-drawer {
  width: min(560px, calc(100vw - 48px)) !important;
  height: auto !important;
  max-height: calc(100vh - 48px) !important;
  overflow-y: auto !important;
  border: 1px solid #49366c !important;
  border-radius: 22px !important;
  box-shadow: 0 28px 90px #000b !important;
  transform: translateY(18px) !important;
}
#topup-overlay.open .topup-drawer {
  transform: translateY(0) !important;
}
#topup-amount {
  font-family: inherit !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0 !important;
  direction: ltr;
  text-align: right;
}
@media (max-width: 600px) {
  #topup-overlay { padding: 12px !important; }
  #topup-overlay .topup-drawer {
    width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }
}


/* V2.14 — true centered modal (overrides legacy side-drawer rules) */
#topup-overlay {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}
#topup-overlay .topup-drawer {
  position: relative !important;
  inset: auto !important;
  margin: auto !important;
  width: min(560px, calc(100vw - 48px)) !important;
  max-width: 560px !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: calc(100vh - 48px) !important;
  overflow-y: auto !important;
  transform: translateY(14px) !important;
  border: 1px solid #654a91 !important;
  border-radius: 22px !important;
  box-shadow: 0 28px 90px #000b !important;
  transition: transform .22s ease !important;
}
#topup-overlay.open .topup-drawer {
  transform: translateY(0) !important;
}
#topup-overlay .finance-topup-form input[type="file"] {
  display: block !important;
  width: 100% !important;
  margin-top: 9px !important;
  padding: 12px !important;
  color: #d8d0eb !important;
  background: #101827 !important;
  border: 1px dashed #654a91 !important;
  border-radius: 10px !important;
}
#topup-overlay .finance-help {
  display: block;
  margin: 6px 0 12px;
  color: #9e96b8;
  font-size: 11px;
}
.finance-actions .inline-form { display:inline-block; margin:6px 0 0 6px; }
.finance-actions .btn.danger { background:#5a2638!important; border-color:#8b3b58!important; color:#ffe5ed!important; }
@media (max-width: 600px) {
  #topup-overlay { padding: 12px !important; }
  #topup-overlay .topup-drawer {
    width: calc(100vw - 24px) !important;
    max-height: calc(100vh - 24px) !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }
}


/* V2.15 — compact trash-can action for deleting a top-up request */
.finance-actions .finance-delete-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 34px;
  min-width: 36px;
  padding: 0 !important;
  margin: 4px 0 0 6px;
  border-radius: 9px !important;
  color: #ffdce5 !important;
  background: rgba(153, 47, 77, .22) !important;
  border: 1px solid rgba(218, 86, 119, .38) !important;
  cursor: pointer;
  vertical-align: middle;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.finance-actions .finance-delete-icon:hover {
  background: rgba(190, 48, 86, .5) !important;
  border-color: rgba(255, 112, 150, .8) !important;
  transform: translateY(-1px);
}
.finance-actions .finance-delete-icon svg {
  display: block;
  width: 17px;
  height: 17px;
}


/* V2.16 — receipt row spacing and themed modal scrolling */
.finance-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px !important;
}
.finance-actions .inline-form {
  display: inline-flex !important;
  align-items: center;
  margin: 0 !important;
}
.finance-actions .finance-delete-icon {
  margin: 0 !important;
}
.finance-actions .finance-action-link {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
  white-space: nowrap;
}
#topup-overlay {
  overflow: hidden !important;
  scrollbar-width: none !important;
}
#topup-overlay::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}
#topup-overlay .topup-drawer {
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: #684a91 #111827 !important;
}
#topup-overlay .topup-drawer::-webkit-scrollbar {
  width: 8px;
}
#topup-overlay .topup-drawer::-webkit-scrollbar-track {
  background: #111827;
  border-radius: 12px;
}
#topup-overlay .topup-drawer::-webkit-scrollbar-thumb {
  background: #684a91;
  border: 2px solid #111827;
  border-radius: 12px;
}
#topup-overlay .topup-drawer::-webkit-scrollbar-thumb:hover {
  background: #8b65bd;
}


/* V2.17 — hide all modal scrollbars and keep scrolling functional */
#topup-overlay,
#topup-overlay .topup-drawer {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
#topup-overlay::-webkit-scrollbar,
#topup-overlay .topup-drawer::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Keep the invoice table cell as a real table cell so its bottom border
   aligns with the other columns; space its actions without flexing the TD. */
td.finance-actions {
  display: table-cell !important;
  vertical-align: middle !important;
  white-space: nowrap;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
td.finance-actions .finance-action-link {
  display: inline-block !important;
  margin: 0 0 0 14px !important;
  vertical-align: middle;
}
td.finance-actions .inline-form {
  display: inline-block !important;
  margin: 0 !important;
  vertical-align: middle;
}
td.finance-actions .finance-delete-icon {
  margin: 0 !important;
  vertical-align: middle;
}


/* V2.18 — admin user management controls */
.users-table-wrap { width:100%; overflow-x:auto; }
.users-admin-table { width:100%; border-collapse:collapse; }
.users-admin-table th,
.users-admin-table td { padding:14px 12px; border-bottom:1px solid rgba(130,112,170,.16); text-align:right; vertical-align:middle; }
.users-admin-table th { color:#b9afd2; font-weight:700; white-space:nowrap; }
.user-role-form { display:flex; align-items:center; gap:8px; min-width:190px; }
.user-role-form select {
  min-width:118px; max-width:150px; padding:8px 10px;
  color:#eee8ff; background:#111827; border:1px solid #45345f;
  border-radius:9px; font:inherit;
}
.user-role-form .btn { white-space:nowrap; }
.user-delete-form { display:inline-flex; margin:0; }
.user-trash-button {
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; padding:0; border-radius:9px;
  color:#ffdce5; background:rgba(153,47,77,.22);
  border:1px solid rgba(218,86,119,.38); cursor:pointer;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.user-trash-button:hover {
  background:rgba(190,48,86,.5); border-color:rgba(255,112,150,.8);
  transform:translateY(-1px);
}
.user-trash-button svg { display:block; }
.role-label { color:#e8defa; }
.role-label small { display:block; color:#9187a8; font-size:11px; margin-top:3px; }


/* V2.20 — unified admin accounting hub */
.accounting-hub-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px; margin-top:22px;
}
.accounting-hub-card {
  display:flex; flex-direction:column; align-items:flex-start; gap:11px;
  min-height:178px; padding:22px; border-radius:18px;
  text-decoration:none; color:#eee8ff;
  background:linear-gradient(145deg,rgba(28,24,49,.96),rgba(12,20,33,.98));
  border:1px solid rgba(130,103,185,.24);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.accounting-hub-card:hover {
  transform:translateY(-3px); border-color:rgba(157,111,255,.72);
  background:linear-gradient(145deg,rgba(48,34,79,.98),rgba(13,24,41,.99));
  box-shadow:0 12px 30px rgba(0,0,0,.2);
}
.accounting-hub-icon {
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:12px;
  color:#c9a8ff; background:rgba(137,86,225,.16);
  border:1px solid rgba(157,111,255,.25); font-size:22px; font-weight:700;
}
.accounting-hub-card strong { font-size:16px; }
.accounting-hub-card small { color:#9f96b5; line-height:1.9; }
.accounting-hub-link { margin-top:auto; color:#a985ff; font-size:13px; font-weight:700; }
@media(max-width:700px) {
  .accounting-hub-grid { grid-template-columns:1fr; }
}


/* V2.21 — seller wallet administration visual refresh */
.wallet-admin-stats {
 display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0 0 20px;
}
.wallet-admin-stat {
 display:flex; flex-direction:column; gap:7px; padding:17px 20px;
 border:1px solid #25213d; border-radius:16px;
 background:linear-gradient(125deg,#17152b,#101827);
}
.wallet-admin-stat small { color:#a7a0bd; font-size:12px; }
.wallet-admin-stat strong { color:#20d4b5; font-size:21px; font-weight:800; }
.wallet-admin-forms { margin-bottom:20px; }
.wallet-admin-panel { min-width:0; }
.wallet-admin-panel .finance-panel-head { min-height:62px; }
.wallet-credit-tag,.wallet-debit-tag {
 display:inline-flex; align-items:center; gap:5px; padding:6px 10px;
 border-radius:20px; font-size:11px!important; white-space:nowrap;
}
.wallet-credit-tag { color:#39d7b6!important; background:#12342e; }
.wallet-debit-tag { color:#ff9aaa!important; background:#422332; }
.wallet-admin-form {
 display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
 gap:15px; padding:20px;
}
.wallet-form-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.wallet-form-field label { color:#c4cfe0; font-size:12px; }
.wallet-admin-form input,.wallet-admin-form select {
 width:100%; min-width:0; min-height:46px; box-sizing:border-box;
 padding:10px 13px; border:1px solid #293a53; border-radius:10px;
 background:#0b1523; color:#f0f4fb; font:inherit; font-size:13px;
}
.wallet-admin-form input:focus,.wallet-admin-form select:focus {
 outline:none; border-color:#9161ef; box-shadow:0 0 0 3px #9161ef20;
}
.wallet-form-full { grid-column:1/-1; }
.wallet-admin-form button { grid-column:1/-1; width:100%; min-height:44px; }
.wallet-credit-submit { background:linear-gradient(105deg,#9b55f5,#654fe7)!important; }
.wallet-debit-submit { background:#9c3156!important; }
.wallet-admin-balance-panel { margin-top:0; }
.wallet-admin-table { min-width:520px; }
.wallet-admin-table td:last-child { text-align:left; }
.wallet-balance-value { color:#20d4b5!important; font-size:13px!important; }
@media(max-width:850px) {
 .finance-lower-grid.wallet-admin-forms { grid-template-columns:1fr; }
}
@media(max-width:560px) {
 .wallet-admin-stats { grid-template-columns:1fr; }
 .wallet-admin-form { grid-template-columns:1fr; }
 .wallet-form-full,.wallet-admin-form button { grid-column:1; }
 .finance-heading { align-items:flex-start; flex-direction:column; }
}

/* V2.22 — selected seller wallet and account ledger */
.wallet-seller-picker { margin:0 0 18px; }
.wallet-seller-select-form { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; padding:18px 20px; }
.wallet-seller-select-form select {
 min-width:0; min-height:46px; padding:10px 14px; border:1px solid #293a53; border-radius:10px;
 background:#0b1523; color:#f0f4fb; font:inherit; font-size:13px;
}
.wallet-seller-select-form select:focus { outline:none; border-color:#9161ef; box-shadow:0 0 0 3px #9161ef20; }
.wallet-seller-select-form .btn { min-width:180px; }
.wallet-selected-summary {
 display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
 padding:18px 22px; margin:0 0 18px; border:1px solid #342957; border-radius:16px;
 background:linear-gradient(120deg,#1a1730,#101827);
}
.wallet-selected-summary > div { display:flex; flex-direction:column; gap:5px; }
.wallet-selected-summary small { color:#a7a0bd; font-size:12px; }
.wallet-selected-summary strong { color:#f5f1ff; font-size:17px; }
.wallet-selected-summary span { color:#8f9ab0; font-size:12px; }
.wallet-selected-summary .wallet-balance-value { color:#20d4b5!important; font-size:20px!important; }
.wallet-adjust-panel { margin-bottom:18px; }
.wallet-adjust-form { grid-template-columns:repeat(2,minmax(0,1fr)); }
.wallet-adjust-form button { background:linear-gradient(105deg,#9b55f5,#654fe7)!important; }
.wallet-ledger-table { min-width:850px; }
.wallet-ledger-type { display:inline-flex; padding:5px 9px; border-radius:20px; font-size:11px; white-space:nowrap; }
.wallet-ledger-type.is-credit { color:#39d7b6; background:#12342e; }
.wallet-ledger-type.is-debit { color:#ff9aaa; background:#422332; }
.wallet-empty-select { display:flex; align-items:center; justify-content:center; flex-direction:column; gap:10px; padding:38px 20px; text-align:center; }
.wallet-empty-select strong { color:#eee8ff; font-size:16px; }
.wallet-empty-select p { max-width:520px; margin:0; color:#9f96b5; line-height:1.9; font-size:13px; }
@media(max-width:560px) {
 .wallet-seller-select-form { grid-template-columns:1fr; }
 .wallet-seller-select-form .btn { width:100%; }
 .wallet-adjust-form { grid-template-columns:1fr; }
 .wallet-adjust-form .wallet-form-full,.wallet-adjust-form button { grid-column:1; }
 .wallet-selected-summary { align-items:flex-start; flex-direction:column; }
}

/* V2.23 — seller wallet list, detail and ledger screens */
.wallet-seller-table-wrap,.wallet-ledger-scroll{width:100%;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none}
.wallet-seller-table-wrap::-webkit-scrollbar,.wallet-ledger-scroll::-webkit-scrollbar{display:none;width:0;height:0}
.wallet-seller-table,.wallet-ledger-table{width:100%;min-width:0;table-layout:auto}
.wallet-seller-table th,.wallet-seller-table td{padding:17px 15px}
.wallet-seller-row{cursor:pointer;transition:background .18s ease}
.wallet-seller-row:hover{background:#1a2034!important}
.wallet-seller-row:focus{outline:1px solid #9161ef;outline-offset:-2px}
.wallet-open-seller{display:inline-flex;padding:7px 12px;border:1px solid #423467;border-radius:9px;color:#b99aff;font-size:12px;white-space:nowrap}
.wallet-open-seller:hover{background:#30234e;color:#fff}
.wallet-amount-input{font-family:inherit!important;font-size:15px!important;font-weight:700!important;letter-spacing:0!important;font-variant-numeric:tabular-nums}
.wallet-operation-switch{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%}
.wallet-operation-option{position:relative;cursor:pointer}
.wallet-operation-option input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.wallet-operation-option span{display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;border:1px solid #293a53;border-radius:11px;background:#0b1523;color:#bdc9d9;font:inherit;font-size:14px;font-weight:700;transition:.18s ease}
.wallet-operation-option b{font-size:20px;line-height:1}
.wallet-operation-option.credit-option input:checked+span{border-color:#20b99c;background:#10352f;color:#48dfc0;box-shadow:0 0 0 3px #20b99c18}
.wallet-operation-option.debit-option input:checked+span{border-color:#d35a7c;background:#3b2030;color:#ff9db5;box-shadow:0 0 0 3px #d35a7c18}
.wallet-operation-option:hover span{filter:brightness(1.2)}
.wallet-detail-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 0 22px}
.wallet-ledger-open{background:linear-gradient(105deg,#9b55f5,#654fe7)!important}
.wallet-ledger-table th,.wallet-ledger-table td{white-space:normal;overflow-wrap:anywhere}
.wallet-ledger-table{table-layout:fixed}
.wallet-ledger-table th:nth-child(1){width:8%}.wallet-ledger-table th:nth-child(2){width:17%}.wallet-ledger-table th:nth-child(3){width:14%}.wallet-ledger-table th:nth-child(4){width:17%}.wallet-ledger-table th:nth-child(5){width:27%}.wallet-ledger-table th:nth-child(6){width:17%}
.wallet-admin-form input,.wallet-admin-form select{font-family:inherit;font-size:14px;font-weight:500}
@media(max-width:700px){.wallet-seller-table th,.wallet-seller-table td{padding:12px 8px;font-size:11px}.wallet-seller-table th:nth-child(2),.wallet-seller-table td:nth-child(2){display:none}.wallet-operation-switch{grid-template-columns:1fr}.wallet-ledger-table th,.wallet-ledger-table td{padding:10px 6px;font-size:10px}.wallet-detail-actions{align-items:stretch;flex-direction:column}.wallet-detail-actions .btn{width:100%;text-align:center}}


/* تایید اختصاصی منفی شدن موجودی کیف پول */
.wallet-negative-modal{display:none;position:fixed;inset:0;z-index:9999;align-items:center;justify-content:center;padding:20px}
.wallet-negative-modal.is-open{display:flex}
.wallet-negative-backdrop{position:absolute;inset:0;background:rgba(4,5,15,.78);backdrop-filter:blur(7px)}
.wallet-negative-dialog{position:relative;width:min(100%,480px);padding:28px;border:1px solid rgba(164,105,255,.42);border-radius:22px;background:linear-gradient(145deg,#19152d,#0d1421 72%);box-shadow:0 24px 90px rgba(0,0,0,.55);text-align:center;color:var(--text,#f4f1ff);animation:walletModalIn .18s ease-out}
.wallet-negative-icon{width:48px;height:48px;display:grid;place-items:center;margin:0 auto 14px;border-radius:15px;background:rgba(239,157,55,.14);border:1px solid rgba(239,157,55,.35);color:#ffbd63;font-size:27px;font-weight:800}
.wallet-negative-dialog h2{font-size:20px;margin:0 0 10px}
.wallet-negative-dialog>p{color:#b8b4cb;margin:0 0 18px;line-height:1.9}
.wallet-negative-summary{padding:14px 16px;border:1px solid rgba(132,119,174,.2);border-radius:14px;background:rgba(7,13,24,.58);text-align:right}
.wallet-negative-summary>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid rgba(132,119,174,.15);font-size:13px}
.wallet-negative-summary>div:last-child{border-bottom:0}
.wallet-negative-summary span{color:#a9a5bb}
.wallet-negative-summary strong{font-variant-numeric:tabular-nums;direction:ltr}
.wallet-negative-result strong{color:#ff8b9a}
.wallet-negative-dialog .wallet-negative-question{margin:18px 0 14px;color:#fff;font-weight:700}
.wallet-negative-actions{display:flex;gap:10px}
.wallet-negative-actions button{flex:1;min-height:46px;border:0;border-radius:11px;font:inherit;font-weight:700;cursor:pointer}
.wallet-negative-cancel{background:#22283a;color:#d9d6e7}
.wallet-negative-confirm{background:linear-gradient(100deg,#a34ef0,#704ce8);color:white}
.wallet-negative-actions button:hover{filter:brightness(1.12)}
@keyframes walletModalIn{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:520px){.wallet-negative-dialog{padding:21px 16px}.wallet-negative-actions{flex-direction:column}}


/* V2.26 — floating toast notices and wallet amount polish */
.toast-notice{position:fixed!important;top:22px;left:50%;right:auto!important;z-index:10050;width:min( calc(100% - 32px), 620px );margin:0!important;padding:14px 20px!important;border:1px solid rgba(160,112,255,.48)!important;border-radius:14px!important;background:rgba(25,20,45,.96)!important;color:#f3edff!important;box-shadow:0 18px 55px rgba(0,0,0,.42),0 0 24px rgba(142,82,240,.12)!important;text-align:center;opacity:0;transform:translate(-50%,-14px);pointer-events:none;backdrop-filter:blur(14px);transition:opacity .28s ease,transform .28s ease}
.toast-notice.toast-visible{opacity:1;transform:translate(-50%,0)}
.toast-notice.toast-hide{opacity:0;transform:translate(-50%,-12px)}
.wallet-amount-input{direction:ltr;text-align:right;font-family:inherit!important;font-size:15px!important;font-weight:700!important;font-variant-numeric:tabular-nums;letter-spacing:0!important}
@media(max-width:600px){.toast-notice{top:12px;width:calc(100% - 24px);padding:12px 14px!important;font-size:12px}}

/* V2.27 — branded responsive account dropdown inspired by the supplied reference */
.header-account-area{position:relative;display:flex;align-items:center;justify-content:flex-end;min-width:170px}
.header-account-trigger{display:flex;align-items:center;gap:10px;max-width:260px;min-height:48px;padding:7px 12px;border:1px solid #30264a;border-radius:13px;background:linear-gradient(115deg,#17152a,#101827);color:#e9e4f7;font:inherit;cursor:pointer;transition:.18s ease}
.header-account-trigger:hover,.header-account-trigger[aria-expanded="true"]{border-color:#8055c5;box-shadow:0 0 0 3px #9860ef18}
.header-account-avatar{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:50%;background:#20233a;border:1px solid #42336a;overflow:hidden}
.header-account-avatar img{width:100%;height:100%;object-fit:contain;padding:3px}
.header-account-avatar.large{width:54px;height:54px;flex-basis:54px;border-radius:16px;background:#0a0c19}
.header-account-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}
.header-account-chevron{color:#a98aff;font-size:19px;line-height:1;margin-right:2px}
.header-account-dropdown{position:absolute;top:calc(100% + 12px);left:0;width:min(340px,calc(100vw - 28px));z-index:10020;padding:17px;border:1px solid #3c2d5d;border-radius:19px;background:linear-gradient(155deg,#17152b,#0b1422 75%);box-shadow:0 22px 65px #0009,0 0 30px #8955d51c;animation:accountDropIn .16s ease-out}
.header-account-dropdown[hidden]{display:none}
.header-account-identity{display:flex;align-items:center;flex-direction:column;gap:5px;padding:5px 4px 16px;border-bottom:1px solid #2b2942;text-align:center}
.header-account-identity strong{font-size:14px;color:#f4efff}
.header-account-identity small,.header-account-balance small{font-size:11px;color:#a49bbd}
.header-account-balance{display:flex;flex-direction:column;align-items:center;gap:5px;padding:17px 8px 12px}
.header-account-balance strong{font-size:23px;font-weight:800;color:#20d7b8;font-variant-numeric:tabular-nums}
.header-account-primary{display:flex;align-items:center;justify-content:center;min-height:48px;margin:0 10px 13px;border-radius:12px;background:linear-gradient(110deg,#328ee9,#2678d5);color:#071321;font-size:14px;font-weight:800;box-shadow:0 8px 20px #2678d533}
.header-account-link{display:flex;align-items:center;min-height:44px;padding:0 10px;border-top:1px solid #24243a;color:#c3c9d8;font-size:13px}
.header-account-link:hover{color:#c6a3ff;background:#ffffff06}
.header-account-logout{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding:13px 10px 3px;border-top:1px solid #24243a;color:#ff527b;font-size:13px;font-weight:700}
.header-account-logout span{font-size:19px}
@keyframes accountDropIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.toast-notice{pointer-events:none!important}
.wallet-negative-modal{position:fixed!important;inset:0!important}
.wallet-amount-input{font-variant-numeric:tabular-nums!important;direction:ltr!important;text-align:right!important}
@media(max-width:800px){header{position:sticky;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:10px 14px}.header-account-area{order:2;min-width:0;margin-right:auto}.header-account-trigger{max-width:210px;min-height:43px;padding:5px 9px}.header-account-name{max-width:130px;font-size:12px}.header-account-dropdown{left:0;right:auto;top:calc(100% + 8px)}header nav{order:3;width:100%;justify-content:center}.brand img{width:38px}}
@media(max-width:420px){.header-account-name{max-width:95px}.header-account-trigger{gap:6px}.header-account-avatar{width:29px;height:29px;flex-basis:29px}.header-account-dropdown{width:min(320px,calc(100vw - 24px))}}

/* Logged-in workspace: replace the public top header with the account hub in the right sidebar. */
.sidebar-account-card{display:flex;flex-direction:column;gap:0;margin:0 0 10px;padding:14px 12px 10px;border:1px solid #33264f;border-radius:17px;background:linear-gradient(155deg,#19162e,#101827 78%);box-shadow:0 12px 28px #0003}
.sidebar-account-top{display:flex;align-items:center;gap:11px;padding:3px 2px 13px;border-bottom:1px solid #302943}
.sidebar-account-avatar{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;border-radius:15px;background:#090b18;border:1px solid #403064;overflow:hidden}
.sidebar-account-avatar img{width:100%;height:100%;object-fit:contain;padding:5px}
.sidebar-account-user{min-width:0;display:flex;flex-direction:column;gap:4px}
.sidebar-account-user strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#f4efff}
.sidebar-account-user small,.sidebar-account-balance small{font-size:11px;color:#aaa4c3}
.sidebar-account-balance{display:flex;flex-direction:column;gap:5px;text-align:center;padding:13px 4px 10px}
.sidebar-account-balance strong{font-size:21px;font-weight:800;color:#20d7b8;font-variant-numeric:tabular-nums}
.sidebar-account-primary{display:flex;align-items:center;justify-content:center;min-height:43px;margin:0 2px 9px;border-radius:11px;background:linear-gradient(110deg,#328ee9,#2678d5);color:#071321;font-size:13px;font-weight:800;box-shadow:0 7px 18px #2678d533}
.sidebar-account-link{display:flex;align-items:center;min-height:39px;padding:0 5px;border-top:1px solid #29263d;color:#c3c9d8;font-size:12px}
.sidebar-account-link:hover{color:#c6a3ff;background:#ffffff06}
.sidebar-account-logout{display:flex;align-items:center;justify-content:space-between;margin-top:5px;padding:11px 5px 2px;border-top:1px solid #29263d;color:#ff527b;font-size:12px;font-weight:700}
.sidebar-account-logout span{font-size:17px}
@media(max-width:800px){.sidebar-account-card{grid-column:1/-1}.sidebar-account-balance strong{font-size:19px}}


/* Account header: hidden until the pointer enters the sidebar */
.layout>aside .sidebar-account-card{
  max-height:0!important;
  opacity:0!important;
  overflow:hidden!important;
  margin:0!important;
  padding-top:0!important;
  padding-bottom:0!important;
  border-width:0!important;
  pointer-events:none!important;
  transform:translateY(-8px);
  transition:max-height .28s ease,opacity .2s ease,transform .28s ease,
             margin .28s ease,padding .28s ease,border-width .28s ease;
}
.layout>aside:hover .sidebar-account-card,
.layout>aside:focus-within .sidebar-account-card{
  max-height:440px!important;
  opacity:1!important;
  margin:0 0 10px!important;
  padding:14px 12px 10px!important;
  border-width:1px!important;
  pointer-events:auto!important;
  transform:translateY(0);
}
.wallet-amount-input{
  direction:ltr!important;
  text-align:right!important;
  font-family:inherit!important;
  font-size:15px!important;
  font-weight:700!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:0!important;
}
@media (prefers-reduced-motion:reduce){
  .layout>aside .sidebar-account-card{transition:none!important}
}


/* V2.30 — keep the account identity visible; reveal the full account header on hover */
.layout>aside .sidebar-account-card{
  display:flex!important;
  max-height:72px!important;
  min-height:72px;
  opacity:1!important;
  overflow:hidden!important;
  margin:0 0 10px!important;
  padding:10px 12px!important;
  border-width:1px!important;
  pointer-events:auto!important;
  transform:translateY(0)!important;
  transition:max-height .3s ease,padding .3s ease,box-shadow .3s ease!important;
}
.layout>aside .sidebar-account-top{
  min-height:50px;
  padding:0 2px!important;
  border:0!important;
  flex:0 0 auto;
}
.layout>aside .sidebar-account-avatar{width:46px;height:46px;flex-basis:46px}
.layout>aside .sidebar-account-card>*:not(.sidebar-account-top){
  opacity:0;
  visibility:hidden;
  transition:opacity .18s ease,visibility .18s ease;
}
.layout>aside:hover .sidebar-account-card,
.layout>aside:focus-within .sidebar-account-card{
  max-height:460px!important;
  padding:14px 12px 10px!important;
  box-shadow:0 14px 34px #0006,0 0 22px #8951e533!important;
}
.layout>aside:hover .sidebar-account-card>*:not(.sidebar-account-top),
.layout>aside:focus-within .sidebar-account-card>*:not(.sidebar-account-top){
  opacity:1;
  visibility:visible;
}
.toast-notice{
  position:fixed!important;
  top:20px!important;
  left:50%!important;
  right:auto!important;
  z-index:999999!important;
  display:block!important;
  width:min(620px,calc(100vw - 28px))!important;
  margin:0!important;
  opacity:0;
  transform:translate(-50%,-16px);
  pointer-events:none!important;
  box-shadow:0 18px 55px rgba(0,0,0,.5),0 0 26px rgba(150,90,255,.2)!important;
}
.toast-notice.toast-visible{opacity:1!important;transform:translate(-50%,0)!important}
.toast-notice.toast-hide{opacity:0!important;transform:translate(-50%,-12px)!important}
.wallet-amount-input,.money-input,input[name="amount"],input[name*="price"]{
  font-family:inherit!important;
  font-size:15px!important;
  font-weight:700!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:0!important;
}


/* V2.36 — deliberate, accessible hover reveal for the account header */
.layout>aside .sidebar-account-card{
  transition:
    max-height .42s cubic-bezier(.22,.8,.25,1),
    padding .42s cubic-bezier(.22,.8,.25,1),
    box-shadow .35s ease !important;
  transition-delay: 0s !important;
}
.layout>aside .sidebar-account-card>*:not(.sidebar-account-top){
  transition: opacity .24s ease, visibility 0s linear .24s !important;
}
.layout>aside:hover .sidebar-account-card,
.layout>aside:focus-within .sidebar-account-card{
  transition-delay: .38s !important;
}
.layout>aside:hover .sidebar-account-card>*:not(.sidebar-account-top),
.layout>aside:focus-within .sidebar-account-card>*:not(.sidebar-account-top){
  transition-delay: .48s, .48s !important;
}
@media (prefers-reduced-motion: reduce){
  .layout>aside .sidebar-account-card,
  .layout>aside .sidebar-account-card>*:not(.sidebar-account-top){
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}


/* V2.38 — click-controlled account disclosure; hover never opens it */
.layout>aside .sidebar-account-card{
  display:flex!important; flex-direction:column!important; gap:0!important;
  max-height:72px!important; min-height:72px!important; height:auto!important;
  overflow:hidden!important; margin:0 0 10px!important; padding:10px 12px!important;
  border:1px solid #33264f!important; opacity:1!important; pointer-events:auto!important;
  transform:none!important; box-shadow:0 12px 28px #0003!important;
  transition:max-height .36s cubic-bezier(.2,.75,.25,1),padding .36s ease,box-shadow .3s ease!important;
}
.layout>aside .sidebar-account-top{
  appearance:none!important; width:100%!important; min-height:50px!important; height:50px!important;
  display:flex!important; align-items:center!important; gap:11px!important; flex:0 0 50px!important;
  padding:0 2px!important; margin:0!important; border:0!important; border-radius:9px!important;
  background:transparent!important; color:inherit!important; text-align:right!important; cursor:pointer!important;
  font:inherit!important;
}
.layout>aside .sidebar-account-top:focus-visible{outline:2px solid #9b5cff!important;outline-offset:3px}
.layout>aside .sidebar-account-user{min-width:0!important;flex:1 1 auto!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;gap:4px!important}
.layout>aside .sidebar-account-user strong{display:block!important;max-width:100%!important;overflow:hidden!important;white-space:nowrap!important;text-overflow:clip!important}
.sidebar-account-name-text{display:inline-block;white-space:nowrap;max-width:none}
.sidebar-account-user strong.has-overflow:hover .sidebar-account-name-text{animation:darkoob-name-marquee 5s ease-in-out infinite alternate}
@keyframes darkoob-name-marquee{from{transform:translateX(0)}to{transform:translateX(calc(-1 * var(--name-shift,0px)))}}
.sidebar-account-chevron{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;color:#b99aff;font-size:22px;line-height:1;border-radius:7px;transition:transform .3s ease,background .2s ease}
.sidebar-account-top:hover .sidebar-account-chevron{background:#9b5cff18}
.sidebar-account-details{display:flex!important;flex-direction:column!important;gap:0!important;min-height:0!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .2s ease,visibility 0s linear .2s!important}
.layout>aside .sidebar-account-card.is-open{max-height:480px!important;padding:10px 12px 10px!important;box-shadow:0 14px 34px #0006,0 0 22px #8951e533!important}
.layout>aside .sidebar-account-card.is-open .sidebar-account-details{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition:opacity .24s ease .08s,visibility 0s linear 0s!important}
.layout>aside .sidebar-account-card.is-open .sidebar-account-chevron{transform:rotate(180deg)}
@media(max-width:800px){.layout>aside .sidebar-account-card{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.sidebar-account-name-text,.sidebar-account-chevron,.layout>aside .sidebar-account-card,.sidebar-account-details{animation:none!important;transition:none!important}}
/* Explicitly neutralize legacy hover/focus expansion rules */
.layout>aside:hover .sidebar-account-card:not(.is-open),
.layout>aside:focus-within .sidebar-account-card:not(.is-open){
  max-height:72px!important; padding:10px 12px!important; box-shadow:0 12px 28px #0003!important;
}
.layout>aside:hover .sidebar-account-card:not(.is-open) .sidebar-account-details,
.layout>aside:focus-within .sidebar-account-card:not(.is-open) .sidebar-account-details{
  opacity:0!important; visibility:hidden!important; pointer-events:none!important;
}
.layout>aside .sidebar-account-card:not(.is-open) .sidebar-account-chevron{transform:none!important}


/* V2.39 — polished disclosure arrow and full-card hover feedback */
.layout>aside .sidebar-account-card{
  border-color:#3b2c5d!important;
  background:linear-gradient(145deg,#1b1732 0%,#111827 100%)!important;
  transition:max-height .36s cubic-bezier(.2,.75,.25,1),padding .36s ease,
             box-shadow .28s ease,border-color .28s ease,background .28s ease!important;
}
/* Hover highlights the complete account card; it never changes disclosure state. */
.layout>aside .sidebar-account-card:hover{
  border-color:#7650b5!important;
  background:linear-gradient(145deg,#211a3d 0%,#151d30 100%)!important;
  box-shadow:0 12px 30px #0004,0 0 0 1px #9b5cff20,0 0 22px #8951e522!important;
}
.layout>aside .sidebar-account-top{
  border-radius:11px!important;
  transition:background .25s ease!important;
}
.layout>aside .sidebar-account-card:hover .sidebar-account-top{
  background:linear-gradient(90deg,#9b5cff12,#5c8dff0a)!important;
}
.sidebar-account-chevron{
  flex:0 0 30px!important;width:30px!important;height:30px!important;
  display:grid!important;place-items:center!important;
  border:1px solid #68499b!important;border-radius:10px!important;
  color:#e4d5ff!important;
  background:linear-gradient(145deg,#38245f,#202746)!important;
  box-shadow:inset 0 1px 0 #ffffff18,0 3px 10px #0003!important;
  transition:transform .32s cubic-bezier(.2,.75,.25,1),
             border-color .25s ease,box-shadow .25s ease!important;
}
.sidebar-account-chevron svg{width:17px!important;height:17px!important;display:block!important;overflow:visible}
.sidebar-account-chevron svg path{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* No separate arrow hover: only the enclosing card receives hover styling. */
.layout>aside .sidebar-account-top:hover .sidebar-account-chevron{background:linear-gradient(145deg,#38245f,#202746)!important}
.layout>aside .sidebar-account-card.is-open .sidebar-account-chevron{
  transform:rotate(180deg)!important;border-color:#a77be8!important;
  box-shadow:inset 0 1px 0 #ffffff20,0 0 14px #9b5cff35!important;
}


/* Darkoob V2.40 - dedicated ticket view and saved automatic response */
.ticket-saved-message-form{margin:18px 0 22px;padding:18px;border:1px solid var(--line,#e6e3ef);border-radius:16px;background:var(--panel,#fff);display:grid;gap:10px}
.ticket-saved-message-form label{font-weight:800;color:var(--text,#242033)}
.ticket-saved-message-form textarea{width:100%;min-height:88px;resize:vertical;border:1px solid var(--line,#ddd8e9);border-radius:12px;padding:12px;background:var(--input-bg,#fff);color:var(--text,#242033);font:inherit;outline:none}
.ticket-saved-message-form textarea:focus{border-color:#8b5cf6;box-shadow:0 0 0 3px rgba(139,92,246,.12)}
.ticket-saved-message-form>div{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ticket-saved-message-form small{color:var(--muted,#777);font-size:12px}
.ticket-view-button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
.ticket-view-page{max-width:850px;margin:22px auto;padding:22px;border:1px solid var(--line,#e7e3ef);border-radius:18px;background:var(--panel,#fff);box-shadow:0 12px 35px rgba(35,20,70,.06)}
.ticket-view-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid var(--line,#eee)}
.ticket-view-meta strong{font-size:17px}.ticket-view-meta span{font-size:12px;color:var(--muted,#777)}
.ticket-view-message{margin:12px 0;padding:16px 18px;border:1px solid var(--line,#e8e4ef);border-radius:14px;background:var(--soft,#faf9fc);overflow-wrap:anywhere}
.ticket-view-message small{display:block;margin-bottom:9px;color:#8054d6;font-weight:800}
.ticket-view-message p{margin:0;line-height:2;color:var(--text,#292536);white-space:normal}
.ticket-view-message.from-support{background:rgba(124,82,220,.055);border-color:rgba(124,82,220,.2)}
.ticket-view-message a{display:inline-block;margin-top:10px;color:#8054d6}
.ticket-view-page .ticket-reply{margin-top:20px}
.ticket-view-page .ticket-close-form{margin-top:12px}
.ticket-view-empty{padding:30px;text-align:center}
@media(max-width:640px){.ticket-view-page{padding:14px;margin:14px 0}.ticket-view-meta{align-items:flex-start;flex-direction:column}.ticket-saved-message-form>div{align-items:stretch;flex-direction:column}}


/* V2.41 — unified Darkoob ticket conversation theme */
.ticket-view-page{max-width:900px;margin:22px auto;padding:clamp(16px,3vw,28px);border:1px solid #343052;border-radius:22px;background:radial-gradient(ellipse at 90% 0,rgba(126,77,205,.13),transparent 42%),linear-gradient(145deg,#15152b,#0d1221 78%);box-shadow:0 18px 48px rgba(0,0,0,.24);color:#f1efff}
.ticket-view-meta{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 0 20px;margin:0 0 20px;border-bottom:1px solid #302b4b}
.ticket-view-title-wrap{display:grid;gap:5px;min-width:0}.ticket-view-kicker{font-size:11px;letter-spacing:.3px;color:#a98be8}.ticket-view-meta strong{font-size:19px;color:#f5f1ff;overflow-wrap:anywhere}.ticket-view-owner{flex:0 0 auto;padding:7px 12px;border:1px solid #3a3158;border-radius:30px;background:#211b36;color:#cbb8f5;font-size:12px}
.ticket-view-message{margin:15px 0;padding:18px 20px;border:1px solid #34304e;border-radius:16px;background:linear-gradient(145deg,#1b1d34,#151a2b);color:#e9e8f5;box-shadow:0 8px 22px #0002}
.ticket-view-message.from-user{border-right:3px solid #5799ef;background:linear-gradient(120deg,rgba(55,112,180,.13),rgba(25,30,49,.96))}
.ticket-view-message.from-support{border-right:3px solid #a77af0;border-color:#453663;background:linear-gradient(120deg,rgba(126,80,183,.16),rgba(28,23,48,.96))}
.ticket-message-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid rgba(164,157,203,.14)}
.ticket-view-message .ticket-message-head small{margin:0;color:#d2b8ff;font-size:13px;font-weight:800}.ticket-message-head span{font-size:10px;color:#a9b6cf;padding:4px 9px;border-radius:20px;background:#ffffff0b}
.ticket-view-message p{margin:0;color:#e7e9f5;font-size:14px;line-height:2.15;white-space:pre-wrap;overflow-wrap:anywhere}
.ticket-view-message>a{display:inline-flex;align-items:center;gap:7px;margin-top:14px;padding:8px 13px;border:1px solid #55427e;border-radius:9px;background:#281f40;color:#d3b8ff;font-size:12px}.ticket-view-message>a:hover{background:#352653;border-color:#8e68c9}
.ticket-view-page .ticket-reply{margin-top:22px;padding:18px;border:1px solid #302d4a;border-radius:16px;background:#111629}.ticket-view-page .ticket-reply textarea{width:100%;min-height:130px;padding:14px 16px;border:1px solid #3a3a5a;border-radius:12px;background:#0b1020;color:#f2efff;font:inherit;line-height:2;resize:vertical}.ticket-view-page .ticket-reply textarea:focus{outline:none;border-color:#9b70e8;box-shadow:0 0 0 3px #9b70e822}.ticket-view-page .ticket-close-form{margin-top:14px}.ticket-view-page>.muted{padding:12px 15px;border-radius:10px;background:#ffffff08;color:#b5b2c9}
@media(max-width:640px){.ticket-view-page{padding:13px;margin:14px 0;border-radius:16px}.ticket-view-meta{align-items:flex-start}.ticket-view-meta strong{font-size:16px}.ticket-view-owner{font-size:10px;padding:6px 9px}.ticket-view-message{padding:14px}.ticket-message-head{align-items:flex-start}}




/* V2.47 — enforce a fixed viewport on ticket detail; only the conversation panel scrolls */
html:has(body.ticket-view-mode){height:100%;overflow:hidden}
body.ticket-view-mode{
  height:100vh;height:100dvh;min-height:0;overflow:hidden!important;
  display:flex;flex-direction:column;
}
body.ticket-view-mode>main{
  flex:1 1 auto;min-height:0;height:100%;max-height:100%;
  width:100%;max-width:none;margin:0;padding:18px 24px;
  overflow:hidden;display:flex;flex-direction:column;
}
body.ticket-view-mode>main>.layout{
  flex:1 1 auto;min-height:0;height:100%;max-height:100%;
  width:100%;grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden;
}
body.ticket-view-mode>main>.layout>aside{
  min-height:0;height:100%;max-height:100%;overflow:hidden;
}
body.ticket-view-mode>main>.layout>.content{
  min-width:0;min-height:0;height:100%;max-height:100%;
  display:flex;flex-direction:column;overflow:hidden;
}
body.ticket-view-mode .ticket-page-head{flex:0 0 auto;margin-bottom:8px}
body.ticket-view-mode .ticket-view-page{
  flex:1 1 0;min-height:0;height:0;max-height:100%;width:100%;max-width:100%;
  margin:0 auto;padding:20px 22px 26px;overflow-x:hidden;overflow-y:auto;
  overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;touch-action:pan-y;
}
body.ticket-view-mode .ticket-view-page::-webkit-scrollbar{width:8px}
body.ticket-view-mode .ticket-view-page::-webkit-scrollbar-track{background:#0b1020;border-radius:8px}
body.ticket-view-mode .ticket-view-page::-webkit-scrollbar-thumb{background:#514078;border-radius:8px}
body.ticket-view-mode>footer{display:none!important}
@media(max-width:800px){
 body.ticket-view-mode>main{padding:10px;height:100%;}
 body.ticket-view-mode>main>.layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:8px}
 body.ticket-view-mode>main>.layout>aside{height:auto;max-height:74px;overflow:hidden;display:flex;flex-direction:row;flex-wrap:nowrap;white-space:nowrap}
 body.ticket-view-mode>main>.layout>.content{min-height:0;height:100%}
 body.ticket-view-mode .ticket-page-head{min-height:48px}
 body.ticket-view-mode .ticket-view-page{padding:14px 12px 22px;margin:0;min-height:0}
}

/* V2.48 — fixed application viewport; page content scrolls inside its own panel */
html{height:100%;}
body:has(>main>.layout){height:100vh;height:100dvh;min-height:0;overflow:hidden!important;display:flex;flex-direction:column;}
body:has(>main>.layout)>main{flex:1 1 auto;min-height:0;height:100%;max-height:100%;width:100%;max-width:none;margin:0;padding:16px 20px;overflow:hidden;display:flex;flex-direction:column;}
body:has(>main>.layout)>main>.layout{flex:1 1 auto;min-height:0;height:100%;max-height:100%;width:100%;grid-template-rows:minmax(0,1fr);align-items:stretch;overflow:hidden;}
body:has(>main>.layout)>main>.layout>aside{min-height:0;height:100%;max-height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;}
body:has(>main>.layout)>main>.layout>.content{min-width:0;min-height:0;height:100%;max-height:100%;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding:2px 5px 22px 2px;}
body:has(>main>.layout)>footer{display:none!important;}
body:has(>main>.layout)>.layout{min-height:0;}
body:has(>main>.layout) .content::-webkit-scrollbar,body:has(>main>.layout) aside::-webkit-scrollbar{width:8px;}
body:has(>main>.layout) .content::-webkit-scrollbar-track,body:has(>main>.layout) aside::-webkit-scrollbar-track{background:#0b1020;border-radius:8px;}
body:has(>main>.layout) .content::-webkit-scrollbar-thumb,body:has(>main>.layout) aside::-webkit-scrollbar-thumb{background:#514078;border-radius:8px;}
/* Dashboard is a compact overview and never gets a page scrollbar. */
body.page-dashboard:has(>main>.layout)>main>.layout>.content{overflow:hidden!important;}
/* Ticket detail keeps its dedicated conversation scroller, not a second content scroller. */
body.ticket-view-mode>main>.layout>.content{overflow:hidden!important;padding:0 4px 0 0;}
/* Saved automatic reply editor follows the Darkoob dark purple ticket palette. */
.ticket-saved-message-form{background:radial-gradient(ellipse at 92% 0,rgba(126,77,205,.15),transparent 45%),linear-gradient(145deg,#17172e,#101626 82%)!important;border:1px solid #393252!important;border-radius:18px!important;box-shadow:0 12px 30px #0003!important;color:#f1efff!important;}
.ticket-saved-message-form label{color:#e9ddff!important;font-size:14px!important;}
.ticket-saved-message-form textarea{background:#0b1020!important;border:1px solid #3b3658!important;color:#f2efff!important;border-radius:12px!important;line-height:2!important;}
.ticket-saved-message-form textarea::placeholder{color:#85839e!important;}
.ticket-saved-message-form textarea:focus{border-color:#9b70e8!important;box-shadow:0 0 0 3px #9b5cff24!important;}
.ticket-saved-message-form small{color:#aaa6c3!important;line-height:1.9!important;}
.ticket-saved-message-form .ticket-primary{border:0!important;border-radius:10px!important;background:linear-gradient(110deg,#8b5cf6,#6754e9)!important;color:#fff!important;padding:10px 18px!important;}
/* Public landing page fits the viewport without scrolling. */
body.page-home{height:100vh;height:100dvh;min-height:0;overflow:hidden!important;display:flex;flex-direction:column;}
body.page-home>header{flex:0 0 76px;height:76px;}
body.page-home>main{flex:1 1 auto;min-height:0;height:100%;max-height:100%;overflow:hidden;width:100%;max-width:1180px;padding:clamp(12px,2.5vh,28px) 24px;display:flex;flex-direction:column;justify-content:center;}
body.page-home .hero{flex:1 1 auto;min-height:0;padding:10px 0;gap:24px;}
body.page-home .hero h1{font-size:clamp(28px,4vw,46px);margin:8px 0;}
body.page-home .hero p{font-size:clamp(12px,1.1vw,15px);margin:8px 0;line-height:1.9;}
body.page-home .hero-art img{max-height:min(34vh,300px);object-fit:contain;}
body.page-home .tiles{flex:0 0 auto;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0 0;}
body.page-home .tiles article{padding:14px 16px;}
body.page-home .tiles p{font-size:12px;line-height:1.7;margin:7px 0 0;}
body.page-home>footer{display:none!important;}
@media(max-width:800px){
 body:has(>main>.layout)>main{padding:9px;height:100%;}
 body:has(>main>.layout)>main>.layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:8px;}
 body:has(>main>.layout)>main>.layout>aside{height:auto;max-height:116px;overflow-x:auto;overflow-y:hidden;display:flex;flex-direction:row;flex-wrap:nowrap;white-space:nowrap;align-items:center;}
 body:has(>main>.layout)>main>.layout>.content{min-height:0;height:100%;padding:2px 2px 16px;}
 body.page-dashboard:has(>main>.layout)>main>.layout>.content{overflow:hidden!important;}
 body.ticket-view-mode>main>.layout>.content{overflow:hidden!important;}
 body.page-home>header{flex:0 0 auto;height:auto;min-height:70px;}
 body.page-home>main{padding:10px 16px;}
 body.page-home .hero{grid-template-columns:1fr .7fr;gap:10px;}
 body.page-home .hero-art img{max-height:25vh;}
 body.page-home .tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}
 body.page-home .tiles article{padding:10px;}
}
@media(max-width:520px){body.page-home .hero{grid-template-columns:1fr;align-content:center;}body.page-home .hero-art{display:none;}body.page-home .tiles{grid-template-columns:1fr;overflow:hidden;}body.page-home .tiles article{padding:8px 12px;}body.page-home .tiles p{display:none;}}

/* V2.49 — opposite-side ticket bubbles and relocated close action */
.ticket-view-page .ticket-view-message{width:fit-content;max-width:min(78%,720px);min-width:min(260px,100%);}
.ticket-view-page .ticket-view-message.from-user{margin-inline-start:auto;margin-inline-end:0;border-right:3px solid #5799ef;border-left:1px solid rgba(87,153,239,.22);}
.ticket-view-page .ticket-view-message.from-support{margin-inline-start:0;margin-inline-end:auto;border-left:3px solid #a77af0;border-right:1px solid rgba(167,122,240,.25);}
.ticket-view-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.ticket-view-page .ticket-close-form.ticket-close-top{margin:0}
.ticket-view-page .ticket-close-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 13px;border:1px solid #744052;background:linear-gradient(135deg,#3b1d2b,#281722);color:#ffb5c1;border-radius:10px;font-size:12px;transition:background .18s,border-color .18s,transform .18s}
.ticket-view-page .ticket-close-button:hover{background:linear-gradient(135deg,#542538,#38202d);border-color:#b35c75;transform:translateY(-1px)}
@media(max-width:640px){.ticket-view-page .ticket-view-message{max-width:92%;min-width:min(220px,100%)}.ticket-view-actions{justify-content:flex-start}}

/* V2.50 — messenger-style, account-relative chat bubbles and growing composer */
.ticket-view-page .ticket-view-message{display:block;width:fit-content;max-width:min(76%,680px);min-width:0;margin:12px 0;padding:13px 16px;border-radius:18px;}
.ticket-view-page .ticket-view-message.from-self{margin-inline-start:auto;margin-inline-end:0;border:1px solid rgba(91,145,238,.32);border-inline-end:3px solid #609af0;border-radius:18px 18px 5px 18px;background:linear-gradient(135deg,rgba(48,104,174,.28),rgba(25,36,62,.98));}
.ticket-view-page .ticket-view-message.from-other{margin-inline-start:0;margin-inline-end:auto;border:1px solid rgba(167,122,240,.28);border-inline-start:3px solid #a77af0;border-radius:18px 18px 18px 5px;background:linear-gradient(135deg,rgba(111,70,166,.25),rgba(35,27,55,.98));}
.ticket-view-page .ticket-view-message .ticket-message-head{margin-bottom:8px;padding-bottom:7px;}
.ticket-view-page .ticket-view-message p{font-size:13px;line-height:1.95;}
.ticket-view-page .ticket-messenger-compose{margin-top:16px;padding:10px;border:1px solid #383452;border-radius:18px;background:linear-gradient(145deg,#17182d,#101626);}
.ticket-view-page .ticket-compose-input-wrap{position:relative;display:flex;align-items:flex-end;gap:8px;min-height:42px;}
.ticket-view-page .ticket-compose-input-wrap textarea{display:block;flex:1 1 auto;width:100%;min-width:0;min-height:42px;max-height:160px;height:42px;resize:none;overflow-y:hidden;padding:10px 13px 10px 52px;border:1px solid #3b3658;border-radius:13px;background:#0b1020;color:#f2efff;font:inherit;font-size:13px;line-height:1.7;outline:none;transition:border-color .18s,box-shadow .18s;}
.ticket-view-page .ticket-compose-input-wrap textarea:focus{border-color:#9b70e8;box-shadow:0 0 0 3px #9b70e822;}
.ticket-view-page .ticket-compose-input-wrap textarea::placeholder{color:#85839e;}
.ticket-view-page .ticket-send-arrow{position:absolute;inset-inline-end:7px;bottom:7px;width:30px;height:30px;display:grid;place-items:center;padding:0;border:0;border-radius:10px;background:linear-gradient(135deg,#8b5cf6,#6754e9);color:#fff;cursor:pointer;box-shadow:0 4px 12px #7650db44;transition:transform .16s,filter .16s;}
.ticket-view-page .ticket-send-arrow:hover{filter:brightness(1.12);transform:translateY(-1px);}
.ticket-view-page .ticket-send-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:rotate(180deg);}
@media(max-width:640px){.ticket-view-page .ticket-view-message{max-width:88%;min-width:0;padding:11px 13px}.ticket-view-page .ticket-messenger-compose{padding:8px}.ticket-view-page .ticket-compose-input-wrap textarea{max-height:130px}}


/* V2.51 — swap messenger bubble sides and pin composer to bottom */
body.ticket-view-mode>main>.layout>.content{overflow:hidden!important;}
body.ticket-view-mode .ticket-view-page{
  display:flex;flex-direction:column;min-height:0;height:0;overflow:hidden!important;
  padding-bottom:12px;
}
body.ticket-view-mode .ticket-view-meta{flex:0 0 auto;}
body.ticket-view-mode .ticket-chat-messages{
  flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;
  display:flex;flex-direction:column;padding:8px 8px 14px;
  overscroll-behavior:contain;-webkit-overflow-scrolling:touch;
  scrollbar-gutter:stable;scroll-behavior:smooth;
}
body.ticket-view-mode .ticket-chat-messages::-webkit-scrollbar{width:7px;}
body.ticket-view-mode .ticket-chat-messages::-webkit-scrollbar-track{background:#0b1020;border-radius:8px;}
body.ticket-view-mode .ticket-chat-messages::-webkit-scrollbar-thumb{background:#514078;border-radius:8px;}
/* Account-relative: own messages left, other participant right. */
body.ticket-view-mode .ticket-chat-messages .ticket-view-message.from-self{
  margin-inline-start:0!important;margin-inline-end:auto!important;
  border-inline-start:3px solid #609af0!important;border-inline-end:1px solid rgba(91,145,238,.32)!important;
  border-radius:18px 18px 18px 5px!important;
}
body.ticket-view-mode .ticket-chat-messages .ticket-view-message.from-other{
  margin-inline-start:auto!important;margin-inline-end:0!important;
  border-inline-end:3px solid #a77af0!important;border-inline-start:1px solid rgba(167,122,240,.28)!important;
  border-radius:18px 18px 5px 18px!important;
}
body.ticket-view-mode .ticket-view-page .ticket-messenger-compose{
  flex:0 0 auto;margin:10px 0 0!important;position:relative;z-index:2;
  box-shadow:0 -8px 24px rgba(0,0,0,.18);
}
body.ticket-view-mode .ticket-view-page>.muted{flex:0 0 auto;margin-top:auto;}
@media(max-width:800px){
 body.ticket-view-mode .ticket-view-page{padding:10px 9px 8px!important;}
 body.ticket-view-mode .ticket-chat-messages{padding:6px 3px 10px;}
 body.ticket-view-mode .ticket-view-page .ticket-messenger-compose{margin-top:8px!important;}
}

/* V2.52 - dedicated saved reply page and ticket pagination */
.ticket-saved-open-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border:1px solid #59417f;border-radius:11px;background:linear-gradient(135deg,#211a38,#15182b);color:#d9c4ff;font-size:13px;font-weight:700;transition:.18s ease}
.ticket-saved-open-button:hover{border-color:#9b70e8;background:linear-gradient(135deg,#30204e,#1b1d35);transform:translateY(-1px)}
.ticket-saved-page{max-width:760px;margin:20px auto;padding:26px;border:1px solid #393252;border-radius:20px;background:radial-gradient(ellipse at 90% 0,rgba(126,77,205,.16),transparent 48%),linear-gradient(145deg,#17172e,#101626 82%);box-shadow:0 16px 38px #0003;color:#f1efff}
.ticket-saved-page-icon{width:48px;height:48px;display:grid;place-items:center;border:1px solid #60458d;border-radius:14px;background:#291e42;color:#d7bdff;font-size:23px}
.ticket-saved-page h2{margin:15px 0 5px;font-size:19px;color:#f2eaff}.ticket-saved-page>p{margin:0 0 22px;color:#aaa6c3;font-size:12px;line-height:2}
.ticket-saved-page .ticket-saved-message-form{margin:0;padding:0;border:0;background:transparent;box-shadow:none;display:grid;gap:12px}
.ticket-saved-page .ticket-saved-message-form label{color:#e9ddff;font-size:13px;font-weight:700}
.ticket-saved-page .ticket-saved-message-form textarea{width:100%;min-height:150px;resize:vertical;padding:14px;border:1px solid #3b3658;border-radius:13px;background:#0b1020;color:#f2efff;font:inherit;line-height:2;outline:none}
.ticket-saved-page .ticket-saved-message-form textarea:focus{border-color:#9b70e8;box-shadow:0 0 0 3px #9b5cff24}
.ticket-saved-page .ticket-saved-message-form small{color:#aaa6c3;line-height:1.9}
.ticket-saved-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:8px}
.ticket-pagination{display:flex;align-items:center;gap:6px;direction:rtl}
.ticket-pagination a{min-width:34px;height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0 9px;border:1px solid #393252;border-radius:9px;background:#111326;color:#c8bfdf;font-size:11px}
.ticket-pagination a.active{border-color:#8b5cf6;background:#38245a;color:#fff;font-weight:800}
.ticket-pagination a:hover{border-color:#9b70e8;color:#fff}
.ticket-table-footer{gap:12px;flex-wrap:wrap}
@media(max-width:640px){.ticket-saved-page{padding:18px;margin:14px 0}.ticket-saved-actions{justify-content:stretch}.ticket-saved-actions>*{flex:1;text-align:center}.ticket-table-footer{align-items:flex-start;flex-direction:column}}


/* V2.53 — fit ticket list to the available viewport without page scrolling */
body.page-tickets:has(>main>.layout)>main>.layout>.content{
  display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden!important;
  padding:0 4px 4px 2px!important;gap:0;
}
body.page-tickets .ticket-page-head{flex:0 0 auto;min-height:36px;margin:0 0 5px;padding:0 4px;}
body.page-tickets .ticket-page-head h1{font-size:19px;line-height:1.4;}
body.page-tickets .ticket-toolbar{flex:0 0 40px;height:40px;min-height:40px;align-items:center;margin:0 0 8px;padding:0 10px;gap:10px;}
body.page-tickets .ticket-new-button{height:36px;padding:7px 17px;min-width:112px;font-size:12px;}
body.page-tickets .ticket-saved-open-button{padding:7px 11px;font-size:11px;}
body.page-tickets .ticket-toolbar-link{padding:7px 10px;font-size:11px;}
body.page-tickets .ticket-board{
  flex:1 1 auto;min-height:0;height:auto!important;display:flex!important;flex-direction:column;
  overflow:hidden!important;border-radius:14px;margin:0!important;
}
body.page-tickets .ticket-board-title{flex:0 0 38px;height:38px;min-height:38px;padding:0 14px;font-size:11px;}
body.page-tickets .ticket-board-title strong{font-size:13px;}
body.page-tickets .ticket-refresh{font-size:20px;}
body.page-tickets .ticket-tabs{flex:0 0 auto;gap:24px;padding:7px 10px 9px;min-height:70px;}
body.page-tickets .ticket-tab{min-width:72px;gap:2px;padding:0 3px;font-size:10px;}
body.page-tickets .ticket-tab svg{width:29px;height:29px;}
body.page-tickets .ticket-tab b{top:29px;width:18px;height:18px;font-size:9px;}
body.page-tickets .ticket-table-wrap{flex:1 1 auto;min-height:0;overflow:hidden;padding:0 12px;}
body.page-tickets .ticket-table{height:auto;table-layout:fixed;}
body.page-tickets .ticket-table th{padding:7px 9px;font-size:10px;}
body.page-tickets .ticket-table td{padding:7px 9px;font-size:11px;line-height:1.45;}
body.page-tickets .ticket-table td:first-child{min-width:0;}
body.page-tickets .ticket-table td:first-child strong{font-size:11px;}
body.page-tickets .ticket-table td:first-child small{font-size:9px;margin-top:2px;}
body.page-tickets .ticket-status-pill{padding:4px 8px;font-size:9px;}
body.page-tickets .ticket-view-button{padding:5px 9px;font-size:10px;}
body.page-tickets .ticket-table-footer{flex:0 0 auto;min-height:38px;padding:5px 12px;font-size:10px;align-items:center;}
body.page-tickets .ticket-pagination{gap:4px;}
body.page-tickets .ticket-pagination a{min-width:27px;height:26px;padding:0 6px;font-size:9px;}
@media(max-width:800px){
 body.page-tickets:has(>main>.layout)>main>.layout>.content{padding:0 2px 2px!important;}
 body.page-tickets .ticket-page-head{min-height:30px;margin-bottom:4px;}
 body.page-tickets .ticket-page-head h1{font-size:16px;}
 body.page-tickets .ticket-toolbar{flex-basis:36px;height:36px;min-height:36px;margin-bottom:5px;gap:6px;}
 body.page-tickets .ticket-new-button{height:32px;min-width:0;padding:6px 10px;font-size:10px;}
 body.page-tickets .ticket-saved-open-button{padding:6px 8px;font-size:10px;}
 body.page-tickets .ticket-toolbar-link{display:none;}
 body.page-tickets .ticket-board-title{flex-basis:32px;height:32px;min-height:32px;padding:0 9px;}
 body.page-tickets .ticket-tabs{gap:5px;justify-content:space-around;flex-wrap:nowrap;min-height:58px;padding:5px 3px 7px;}
 body.page-tickets .ticket-tab{min-width:0;flex:1 1 0;font-size:9px;}
 body.page-tickets .ticket-tab svg{width:24px;height:24px;}
 body.page-tickets .ticket-tab b{top:23px;width:16px;height:16px;font-size:8px;}
 body.page-tickets .ticket-tab span{font-size:8px;}
 body.page-tickets .ticket-table-wrap{overflow:hidden;padding:0 4px;}
 body.page-tickets .ticket-table{min-width:0!important;width:100%!important;}
 body.page-tickets .ticket-table th,body.page-tickets .ticket-table td{padding:6px 4px;font-size:9px;}
 body.page-tickets .ticket-table td:first-child{min-width:0;width:36%;}
 body.page-tickets .ticket-table td:first-child small{display:none;}
 body.page-tickets .ticket-status-pill{padding:3px 5px;font-size:8px;}
 body.page-tickets .ticket-view-button{padding:4px 5px;font-size:8px;}
 body.page-tickets .ticket-table-footer{min-height:34px;padding:4px 7px;font-size:8px;gap:4px;}
 body.page-tickets .ticket-pagination a{min-width:23px;height:23px;padding:0 4px;font-size:8px;}
}
@media(max-height:700px){
 body.page-tickets .ticket-tabs{min-height:54px;padding:4px 8px;}
 body.page-tickets .ticket-tab svg{width:24px;height:24px;}
 body.page-tickets .ticket-tab b{top:23px;}
 body.page-tickets .ticket-table th,body.page-tickets .ticket-table td{padding-top:5px;padding-bottom:5px;}
}

/* V2.55 — restore comfortable sizing and fill the ticket workspace */
body.page-tickets .content{
  min-width:0!important;min-height:0!important;height:100%!important;
  padding:8px 10px 10px!important;gap:0!important;overflow:hidden!important;
}
body.page-tickets .ticket-page-head{min-height:48px;margin:0 0 10px;padding:0 8px;align-items:center}
body.page-tickets .ticket-page-head h1{font-size:24px;line-height:1.5}
body.page-tickets .ticket-back{font-size:14px}
body.page-tickets .ticket-toolbar{height:58px;min-height:58px;flex:0 0 58px;margin:0 0 12px;padding:0 16px;gap:14px;align-items:center}
body.page-tickets .ticket-new-button{height:44px;min-width:150px;padding:10px 24px;font-size:14px}
body.page-tickets .ticket-saved-open-button{padding:11px 17px;font-size:13px}
body.page-tickets .ticket-toolbar-link{padding:12px 16px;font-size:13px}
body.page-tickets .ticket-board{flex:1 1 auto;min-height:0;height:auto!important;display:flex!important;flex-direction:column;overflow:hidden!important;border-radius:19px}
body.page-tickets .ticket-board-title{height:54px;min-height:54px;flex:0 0 54px;padding:0 22px;font-size:14px}
body.page-tickets .ticket-board-title strong{font-size:17px}
body.page-tickets .ticket-refresh{font-size:25px}
body.page-tickets .ticket-tabs{min-height:96px;flex:0 0 auto;gap:clamp(22px,4vw,58px);padding:12px 18px 16px}
body.page-tickets .ticket-tab{min-width:100px;gap:5px;padding:2px 5px 4px;font-size:13px}
body.page-tickets .ticket-tab svg{width:42px;height:42px}
body.page-tickets .ticket-tab b{top:43px;width:22px;height:22px;font-size:11px}
body.page-tickets .ticket-tab span{font-size:13px}
body.page-tickets .ticket-table-wrap{flex:1 1 auto;min-height:0;overflow:hidden;padding:0 18px}
body.page-tickets .ticket-table{width:100%!important;min-width:0!important;table-layout:auto;height:auto}
body.page-tickets .ticket-table th{padding:14px 16px;font-size:13px;white-space:nowrap}
body.page-tickets .ticket-table td{padding:15px 16px;font-size:14px;line-height:1.65}
body.page-tickets .ticket-table td:first-child{min-width:180px}
body.page-tickets .ticket-table td:first-child strong{font-size:14px}
body.page-tickets .ticket-table td:first-child small{font-size:11px;margin-top:4px}
body.page-tickets .ticket-status-pill{padding:6px 13px;font-size:11px}
body.page-tickets .ticket-view-button{padding:8px 15px;font-size:12px}
body.page-tickets .ticket-table-footer{min-height:52px;flex:0 0 52px;padding:9px 20px;font-size:12px;align-items:center}
body.page-tickets .ticket-pagination{gap:6px}
body.page-tickets .ticket-pagination a{min-width:34px;height:32px;padding:0 10px;font-size:11px}
body.page-tickets .ticket-table tbody tr[hidden]{display:none!important}
@media(max-width:800px){
 body.page-tickets .content{padding:5px 4px 6px!important}
 body.page-tickets .ticket-page-head{min-height:38px;margin-bottom:6px}
 body.page-tickets .ticket-page-head h1{font-size:19px}
 body.page-tickets .ticket-toolbar{height:46px;min-height:46px;flex-basis:46px;margin-bottom:7px;padding:0 8px}
 body.page-tickets .ticket-new-button{height:36px;min-width:0;padding:7px 12px;font-size:12px}
 body.page-tickets .ticket-saved-open-button{padding:8px 10px;font-size:11px}
 body.page-tickets .ticket-board-title{height:42px;min-height:42px;flex-basis:42px;padding:0 10px}
 body.page-tickets .ticket-tabs{min-height:74px;gap:4px;padding:7px 4px 9px}
 body.page-tickets .ticket-tab{min-width:0;flex:1 1 0;font-size:10px}
 body.page-tickets .ticket-tab svg{width:30px;height:30px}
 body.page-tickets .ticket-tab b{top:29px;width:18px;height:18px;font-size:9px}
 body.page-tickets .ticket-tab span{font-size:10px}
 body.page-tickets .ticket-table-wrap{padding:0 5px}
 body.page-tickets .ticket-table th,body.page-tickets .ticket-table td{padding:9px 6px;font-size:10px}
 body.page-tickets .ticket-table td:first-child{min-width:0}
 body.page-tickets .ticket-table td:first-child strong{font-size:11px}
 body.page-tickets .ticket-table td:first-child small{font-size:9px}
 body.page-tickets .ticket-status-pill{padding:4px 7px;font-size:9px}
 body.page-tickets .ticket-view-button{padding:5px 7px;font-size:9px}
 body.page-tickets .ticket-table-footer{min-height:42px;flex-basis:42px;padding:6px 8px;font-size:9px}
 body.page-tickets .ticket-pagination a{min-width:26px;height:25px;padding:0 6px;font-size:9px}
}


/* V2.56 — final ticket sizing; cache-busted from index.php */
body.page-tickets:has(>main>.layout)>main>.layout>.content{
  display:flex!important;flex-direction:column!important;min-width:0!important;min-height:0!important;
  height:100%!important;max-height:100%!important;overflow:hidden!important;
  padding:clamp(6px,1vh,12px) clamp(8px,1vw,16px)!important;gap:0!important;
}
body.page-tickets .ticket-page-head{flex:0 0 auto;min-height:clamp(42px,5.5vh,58px);margin:0 0 clamp(6px,1vh,12px);padding:0 10px;}
body.page-tickets .ticket-page-head h1{font-size:clamp(21px,1.55vw,27px)!important;line-height:1.5;}
body.page-tickets .ticket-back{font-size:clamp(12px,.9vw,15px)!important;}
body.page-tickets .ticket-toolbar{flex:0 0 clamp(46px,6.5vh,62px)!important;height:clamp(46px,6.5vh,62px)!important;min-height:0!important;margin:0 0 clamp(7px,1vh,13px)!important;padding:0 clamp(10px,1.2vw,18px)!important;gap:12px!important;}
body.page-tickets .ticket-new-button{height:clamp(36px,4.8vh,46px)!important;min-width:130px;padding:8px 20px!important;font-size:clamp(12px,.95vw,15px)!important;}
body.page-tickets .ticket-saved-open-button{padding:10px 16px!important;font-size:clamp(12px,.9vw,14px)!important;}
body.page-tickets .ticket-toolbar-link{font-size:clamp(12px,.9vw,14px)!important;}
body.page-tickets .ticket-board{flex:1 1 0!important;min-height:0!important;height:auto!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:18px!important;}
body.page-tickets .ticket-board-title{flex:0 0 clamp(44px,6vh,58px)!important;height:clamp(44px,6vh,58px)!important;min-height:0!important;padding:0 clamp(12px,1.5vw,22px)!important;font-size:clamp(12px,.95vw,15px)!important;}
body.page-tickets .ticket-board-title strong{font-size:clamp(15px,1.15vw,18px)!important;}
body.page-tickets .ticket-tabs{flex:0 0 auto!important;min-height:clamp(78px,11vh,108px)!important;gap:clamp(18px,4vw,64px)!important;padding:clamp(8px,1.4vh,16px) 18px!important;}
body.page-tickets .ticket-tab{min-width:90px!important;gap:5px!important;font-size:clamp(11px,.9vw,14px)!important;}
body.page-tickets .ticket-tab svg{width:clamp(30px,2.8vw,44px)!important;height:clamp(30px,2.8vw,44px)!important;}
body.page-tickets .ticket-tab b{top:clamp(31px,3vw,45px)!important;width:21px!important;height:21px!important;font-size:11px!important;}
body.page-tickets .ticket-tab span{font-size:clamp(11px,.9vw,14px)!important;}
body.page-tickets .ticket-table-wrap{flex:1 1 0!important;min-height:0!important;overflow:hidden!important;padding:0 clamp(8px,1.2vw,18px)!important;}
body.page-tickets .ticket-table{width:100%!important;min-width:0!important;table-layout:auto!important;border-radius:0!important;}
body.page-tickets .ticket-table th{padding:clamp(10px,1.4vh,16px) clamp(12px,1vw,18px)!important;font-size:clamp(12px,.9vw,14px)!important;}
body.page-tickets .ticket-table td{padding:clamp(10px,1.5vh,17px) clamp(12px,1vw,18px)!important;font-size:clamp(13px,1vw,15px)!important;line-height:1.65!important;}
body.page-tickets .ticket-table td:first-child{min-width:160px!important;}
body.page-tickets .ticket-table td:first-child strong{font-size:clamp(13px,1vw,15px)!important;}
body.page-tickets .ticket-table td:first-child small{display:block!important;font-size:clamp(10px,.78vw,12px)!important;margin-top:4px!important;}
body.page-tickets .ticket-status-pill{padding:6px 12px!important;font-size:clamp(10px,.8vw,12px)!important;}
body.page-tickets .ticket-view-button{padding:7px 13px!important;font-size:clamp(11px,.85vw,13px)!important;}
body.page-tickets .ticket-table-footer{flex:0 0 clamp(42px,5.8vh,54px)!important;min-height:0!important;padding:6px clamp(10px,1.4vw,20px)!important;font-size:clamp(11px,.85vw,13px)!important;}
body.page-tickets .ticket-pagination{gap:6px!important;}
body.page-tickets .ticket-pagination a{min-width:32px!important;height:30px!important;padding:0 9px!important;font-size:11px!important;}
body.page-tickets .ticket-table tbody tr[hidden]{display:none!important;}
@media(max-width:800px){
 body.page-tickets .ticket-page-head h1{font-size:18px!important;}
 body.page-tickets .ticket-toolbar{flex-basis:44px!important;height:44px!important;}
 body.page-tickets .ticket-new-button{min-width:0!important;padding:7px 11px!important;font-size:11px!important;}
 body.page-tickets .ticket-saved-open-button{padding:7px 9px!important;font-size:10px!important;}
 body.page-tickets .ticket-tabs{gap:4px!important;min-height:68px!important;padding:6px 3px!important;}
 body.page-tickets .ticket-tab{min-width:0!important;flex:1 1 0!important;font-size:9px!important;}
 body.page-tickets .ticket-tab svg{width:27px!important;height:27px!important;}
 body.page-tickets .ticket-tab b{top:26px!important;width:17px!important;height:17px!important;font-size:9px!important;}
 body.page-tickets .ticket-tab span{font-size:9px!important;}
 body.page-tickets .ticket-table th,body.page-tickets .ticket-table td{padding:8px 5px!important;font-size:10px!important;}
 body.page-tickets .ticket-table td:first-child{min-width:0!important;}
 body.page-tickets .ticket-table td:first-child small{font-size:8px!important;}
 body.page-tickets .ticket-status-pill{padding:4px 6px!important;font-size:8px!important;}
 body.page-tickets .ticket-view-button{padding:5px 6px!important;font-size:9px!important;}
}


/* V2.59 — compact phone layout; pagination recalculates from the real viewport */
@media(max-width:600px){
 body.page-tickets .content{padding:3px 3px 4px!important;gap:0!important;}
 body.page-tickets .ticket-page-head{min-height:32px!important;margin:0 0 4px!important;padding:0 5px!important;}
 body.page-tickets .ticket-page-head h1{font-size:17px!important;}
 body.page-tickets .ticket-toolbar{height:38px!important;min-height:38px!important;flex-basis:38px!important;margin:0 0 5px!important;padding:0 6px!important;gap:6px!important;}
 body.page-tickets .ticket-new-button{height:31px!important;padding:5px 9px!important;font-size:10px!important;}
 body.page-tickets .ticket-saved-open-button{padding:6px 8px!important;font-size:9px!important;}
 body.page-tickets .ticket-board-title{height:34px!important;min-height:34px!important;flex-basis:34px!important;padding:0 8px!important;}
 body.page-tickets .ticket-tabs{min-height:54px!important;padding:3px 2px 5px!important;gap:2px!important;}
 body.page-tickets .ticket-tab{gap:0!important;padding:0 1px!important;font-size:8px!important;}
 body.page-tickets .ticket-tab svg{width:22px!important;height:22px!important;}
 body.page-tickets .ticket-tab b{top:21px!important;width:14px!important;height:14px!important;font-size:7px!important;}
 body.page-tickets .ticket-tab span{font-size:8px!important;white-space:nowrap!important;}
 body.page-tickets .ticket-table-wrap{padding:0 3px!important;overflow:hidden!important;}
 body.page-tickets .ticket-table th{padding:5px 3px!important;font-size:9px!important;line-height:1.2!important;}
 body.page-tickets .ticket-table td{padding:5px 3px!important;font-size:9px!important;line-height:1.25!important;}
 body.page-tickets .ticket-table td:first-child{min-width:0!important;}
 body.page-tickets .ticket-table td:first-child strong{font-size:9px!important;line-height:1.25!important;}
 body.page-tickets .ticket-table td:first-child small{display:none!important;}
 body.page-tickets .ticket-status-pill{padding:3px 4px!important;font-size:8px!important;white-space:nowrap!important;}
 body.page-tickets .ticket-view-button{padding:4px 5px!important;font-size:8px!important;white-space:nowrap!important;}
 body.page-tickets .ticket-table-footer{min-height:32px!important;flex-basis:32px!important;padding:3px 5px!important;font-size:8px!important;}
 body.page-tickets .ticket-pagination{gap:3px!important;}
 body.page-tickets .ticket-pagination a{min-width:21px!important;height:21px!important;padding:0 4px!important;font-size:8px!important;}
}

/* شماره کارت و شبا: خوانا و قابل کپی */
.finance-bank-card .bank-copy-value{cursor:pointer;user-select:text;border-radius:7px;transition:background .18s ease,color .18s ease;position:relative;}
.finance-bank-card .bank-copy-value:hover,.finance-bank-card .bank-copy-value:focus-visible{background:#ffffff18;color:#fff;outline:1px solid #b99aff;padding:3px 6px;margin:-3px -6px;}
.finance-bank-card .finance-card-number{word-spacing:5px;white-space:nowrap;}
.bank-copy-toast{position:fixed;z-index:99999;left:50%;bottom:26px;transform:translate(-50%,12px);opacity:0;pointer-events:none;padding:10px 18px;border:1px solid #7655a8;border-radius:12px;background:#211638;color:#fff;box-shadow:0 8px 28px #0008;font-size:13px;transition:opacity .18s ease,transform .18s ease;}
.bank-copy-toast.visible{opacity:1;transform:translate(-50%,0);}


/* V2.61 — Darkoob dimensional landing page */
body.page-home{--home-lilac:#c9a4ff;--home-violet:#8d55ff;--home-blue:#6b8cff;background:radial-gradient(ellipse at 78% 16%,#32165c88 0,transparent 34%),radial-gradient(ellipse at 18% 72%,#171b4880 0,transparent 32%),#080812;overflow-x:hidden;}
body.page-home main{max-width:1440px;min-height:calc(100vh - 164px);padding:clamp(24px,4vh,52px) clamp(24px,5vw,76px) 34px;position:relative;isolation:isolate;}
body.page-home main:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.22;background-image:radial-gradient(#a989ff 0.7px,transparent .7px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent,#000 40%,#000 85%,transparent);}
body.page-home .home-hero{grid-template-columns:1.05fr .95fr;gap:clamp(24px,5vw,84px);padding:clamp(28px,5vh,64px) 0 clamp(24px,4vh,48px);min-height:clamp(420px,57vh,610px);perspective:1200px;}
body.page-home .hero-copy{position:relative;z-index:2;max-width:650px;}
body.page-home .tag{display:inline-flex;align-items:center;gap:10px;padding:9px 15px;border:1px solid #9b6bdf55;border-radius:999px;background:linear-gradient(120deg,#25183d99,#11132699);box-shadow:inset 0 1px #ffffff12,0 8px 28px #0003;font-weight:800;letter-spacing:3px;}
body.page-home .tag i{width:7px;height:7px;border-radius:50%;background:#b98aff;box-shadow:0 0 14px #b98aff;}
body.page-home .hero h1{font-size:clamp(42px,5.1vw,72px);line-height:1.38;letter-spacing:-1.8px;margin:24px 0 16px;text-shadow:0 8px 35px #0008;}
body.page-home .hero h1 em{background:linear-gradient(100deg,#e0caff 0%,#b68aff 45%,#8e73ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 8px 22px #8b4fff45);}
body.page-home .hero p{font-size:clamp(14px,1.15vw,17px);line-height:2.15;max-width:590px;color:#b9b4d0;margin:0 0 25px;}
body.page-home .hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
body.page-home .hero-primary{padding:14px 23px;border-radius:13px;background:linear-gradient(135deg,#a56aff,#6747e8 75%);box-shadow:0 12px 28px #7545d955,inset 0 1px #ffffff66;transition:transform .25s,box-shadow .25s;}
body.page-home .hero-primary span{display:inline-block;margin-right:12px;font-size:18px;transition:transform .25s;}
body.page-home .hero-primary:hover{transform:translateY(-4px);box-shadow:0 18px 36px #7545d977,inset 0 1px #ffffff66;}
body.page-home .hero-primary:hover span{transform:translateX(-4px);}
body.page-home .hero-secondary{padding:13px 21px;border-radius:13px;background:#ffffff08;border-color:#76629b66;backdrop-filter:blur(12px);}
body.page-home .hero-proof{display:flex;gap:clamp(12px,2vw,26px);flex-wrap:wrap;margin-top:34px;color:#aaa3c4;font-size:12px;}
body.page-home .hero-proof span{display:flex;align-items:center;gap:7px;}
body.page-home .hero-proof b{color:#c39bff;font-size:16px;}
body.page-home .home-hero-art{height:clamp(340px,43vw,510px);max-height:520px;position:relative;display:grid;place-items:center;transform-style:preserve-3d;isolation:isolate;}
body.page-home .home-hero-art:before{content:"";position:absolute;width:72%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#8750ff36 0,#6438bd20 42%,transparent 70%);filter:blur(15px);transform:translateZ(-50px);}
body.page-home .art-glow{position:absolute;width:56%;aspect-ratio:1;border-radius:50%;background:#9154ff24;filter:blur(48px);transform:translate3d(0,15px,-35px);}
body.page-home .art-orbit{position:absolute;border:1px solid #a77aff55;border-radius:50%;transform-style:preserve-3d;pointer-events:none;}
body.page-home .orbit-one{width:76%;height:42%;transform:rotate(-24deg) rotateX(62deg) translateZ(20px);box-shadow:0 0 24px #945cff18,inset 0 0 22px #945cff12;}
body.page-home .orbit-two{width:66%;height:66%;transform:rotateY(63deg) rotateX(18deg);border-color:#718bff44;}
body.page-home .art-platform{position:absolute;bottom:13%;width:62%;height:19%;border-radius:50%;background:linear-gradient(180deg,#34235b,#111126 68%);border:1px solid #a77aff66;box-shadow:0 28px 45px #0009,0 0 32px #8954ff35,inset 0 3px 9px #ffffff20;transform:rotateX(68deg) translateZ(-15px);}
body.page-home .art-platform:after{content:"";position:absolute;inset:12% 9%;border-radius:50%;border:1px solid #b99aff55;box-shadow:inset 0 0 18px #9864ff35;}
body.page-home .art-logo-wrap{width:min(74%,390px);position:relative;z-index:2;transform:translateZ(65px) rotateY(-7deg);filter:drop-shadow(0 22px 24px #000b) drop-shadow(0 0 22px #9b5cff66);animation:darkoobFloat 6s ease-in-out infinite;transition:transform .45s cubic-bezier(.2,.8,.2,1),filter .45s;}
body.page-home .art-logo-wrap img{display:block;width:100%;max-height:360px;object-fit:contain;}
body.page-home .home-hero-art:hover .art-logo-wrap{transform:translate3d(0,-10px,85px) rotateY(-2deg) rotateX(3deg);filter:drop-shadow(0 32px 30px #000c) drop-shadow(0 0 32px #a46cff99);}
@keyframes darkoobFloat{0%,100%{translate:0 0;}50%{translate:0 -12px;}}
body.page-home .art-chip{position:absolute;z-index:4;display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid #9e7ad966;border-radius:14px;background:linear-gradient(135deg,#28203fdd,#111322e8);box-shadow:0 16px 35px #0008,inset 0 1px #ffffff18;backdrop-filter:blur(14px);transform:translateZ(100px);}
body.page-home .art-chip b{display:block;font-size:10px;letter-spacing:1.4px;color:#e6d8ff;}
body.page-home .art-chip small{display:block;color:#aaa2c3;font-size:10px;margin-top:4px;}
body.page-home .chip-top{top:13%;right:0;}
body.page-home .chip-bottom{bottom:15%;left:0;}
body.page-home .chip-dot{width:9px;height:9px;border-radius:50%;background:#8effd0;box-shadow:0 0 14px #60ffc5;}
body.page-home .chip-symbol{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#8b5aff33;color:#d4b6ff;font-size:18px;}
body.page-home .art-spark{position:absolute;color:#d8c0ff;text-shadow:0 0 18px #a76bff;font-size:26px;z-index:3;}
body.page-home .spark-one{top:21%;left:17%;}.spark-two{bottom:27%;right:13%;font-size:17px;}
body.page-home .home-tiles{gap:16px;margin:0;perspective:900px;}
body.page-home .home-tiles article{position:relative;overflow:hidden;padding:22px 23px 20px;border-radius:18px;background:linear-gradient(145deg,#1b1930e8,#101321f5);border:1px solid #51407188;box-shadow:0 15px 35px #0004,inset 0 1px #ffffff12;transform:translateZ(0);transition:transform .28s,border-color .28s,box-shadow .28s;}
body.page-home .home-tiles article:before{content:"";position:absolute;inset:0;background:linear-gradient(120deg,#ffffff0b,transparent 42%);pointer-events:none;}
body.page-home .home-tiles article:hover{transform:translateY(-7px) rotateX(2deg);border-color:#a77affaa;box-shadow:0 22px 42px #0007,0 0 25px #8e55ff18,inset 0 1px #ffffff22;}
body.page-home .tile-icon{display:grid;place-items:center;width:38px;height:38px;margin-bottom:12px;border-radius:12px;color:#d8c0ff;font-size:20px;background:linear-gradient(145deg,#9b62ff55,#5140a833);border:1px solid #a77aff55;box-shadow:0 7px 18px #7843cf33;}
body.page-home .home-tiles b{font-size:16px;color:#f0eaff;}
body.page-home .home-tiles p{font-size:12px;margin:8px 0 0;line-height:1.9;color:#aaa6c2;}
body.page-home .tile-edge{position:absolute;left:0;bottom:0;width:38%;height:2px;background:linear-gradient(90deg,transparent,#a978ff,transparent);opacity:.7;}
@media(max-width:900px){body.page-home main{padding:28px 22px;}body.page-home .home-hero{gap:12px;min-height:0;}body.page-home .home-hero-art{height:350px;}body.page-home .hero h1{font-size:clamp(36px,6vw,54px);}}
@media(max-width:650px){body.page-home main{padding:24px 16px 28px;}body.page-home .home-hero{grid-template-columns:1fr;gap:0;padding:20px 0 24px;}body.page-home .hero h1{font-size:38px;margin:18px 0 12px;}body.page-home .hero p{font-size:13px;}body.page-home .home-hero-art{height:290px;max-height:290px;grid-row:1;margin-bottom:8px;}body.page-home .art-logo-wrap{width:65%;}body.page-home .art-chip{padding:8px 10px;}body.page-home .chip-top{top:7%;right:1%;}body.page-home .chip-bottom{bottom:8%;left:1%;}body.page-home .home-tiles{grid-template-columns:1fr;gap:10px;}body.page-home .home-tiles article{padding:14px 16px;display:grid;grid-template-columns:40px 1fr;column-gap:12px;align-items:center;}body.page-home .tile-icon{grid-row:span 2;margin:0;}body.page-home .home-tiles p{margin:3px 0 0;}body.page-home .hero-proof{margin-top:22px;gap:12px;}}
@media(prefers-reduced-motion:reduce){body.page-home .art-logo-wrap{animation:none!important;}body.page-home .home-tiles article,body.page-home .hero-primary{transition:none!important;}}

/* V2.62 — premium public landing header */
body.page-home>header{position:sticky;top:0;z-index:30;height:88px;flex:0 0 88px;padding:0 clamp(22px,5.2vw,84px);gap:22px;background:linear-gradient(105deg,rgba(9,9,20,.92),rgba(20,13,39,.88) 55%,rgba(9,9,20,.94));border-bottom:1px solid rgba(171,129,255,.2);box-shadow:0 12px 38px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.035);backdrop-filter:blur(22px) saturate(145%);-webkit-backdrop-filter:blur(22px) saturate(145%);}
body.page-home>header:before{content:"";position:absolute;inset:auto 5% -1px;height:1px;background:linear-gradient(90deg,transparent,rgba(167,112,255,.7),rgba(112,139,255,.45),transparent);pointer-events:none;}
body.page-home>header .brand{position:relative;display:flex;align-items:center;gap:13px;min-width:220px;padding:9px 13px 9px 16px;border:1px solid rgba(164,126,235,.18);border-radius:17px;background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.012));box-shadow:0 10px 25px rgba(0,0,0,.18),inset 0 1px rgba(255,255,255,.08);transition:transform .25s,border-color .25s,box-shadow .25s;}
body.page-home>header .brand:hover{transform:translateY(-2px);border-color:rgba(183,139,255,.48);box-shadow:0 14px 30px rgba(94,53,157,.2),inset 0 1px rgba(255,255,255,.12);}
body.page-home>header .brand img{width:43px;height:43px;object-fit:contain;filter:drop-shadow(0 0 12px rgba(151,94,255,.45));}
body.page-home>header .brand span{font-size:16px;font-weight:900;letter-spacing:-.3px;color:#fbf8ff;white-space:nowrap;}
body.page-home>header .brand small{margin-top:4px;font-size:8px;letter-spacing:2.1px;color:#a99ac8;font-weight:700;}
body.page-home>header nav{display:flex;align-items:center;justify-content:center;gap:5px;padding:6px;border:1px solid rgba(164,126,235,.15);border-radius:16px;background:rgba(255,255,255,.025);box-shadow:inset 0 1px rgba(255,255,255,.035);}
body.page-home>header nav a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 19px;border-radius:11px;color:#b9b2ce;font-size:13px;font-weight:700;transition:color .2s,background .2s,transform .2s;}
body.page-home>header nav a:hover{color:#fff;background:rgba(164,119,255,.11);transform:translateY(-1px);}
body.page-home>header nav a.active{color:#f5eaff;background:linear-gradient(135deg,rgba(147,91,255,.25),rgba(92,83,210,.12));box-shadow:inset 0 0 0 1px rgba(177,135,255,.22),0 5px 16px rgba(93,57,155,.13);}
body.page-home>header nav a.active:after{content:"";position:absolute;bottom:4px;left:50%;width:14px;height:2px;transform:translateX(-50%);border-radius:3px;background:#c59aff;box-shadow:0 0 10px #a66aff;}
body.page-home>header .header-account-area{min-width:150px;}
body.page-home>header .header-account-area .btn{position:relative;min-width:92px;padding:12px 24px;border:1px solid rgba(220,199,255,.35);border-radius:13px;background:linear-gradient(135deg,#a36bff 0%,#7650ed 58%,#5947ce 100%);box-shadow:0 9px 22px rgba(112,68,210,.3),inset 0 1px rgba(255,255,255,.36);font-size:13px;transition:transform .22s,box-shadow .22s,filter .22s;}
body.page-home>header .header-account-area .btn:hover{transform:translateY(-3px);filter:brightness(1.08);box-shadow:0 14px 28px rgba(112,68,210,.42),inset 0 1px rgba(255,255,255,.4);}
@media(max-width:800px){body.page-home>header{height:auto;min-height:76px;flex:0 0 auto;padding:10px 16px;gap:9px;}body.page-home>header .brand{min-width:0;padding:6px 9px;gap:8px;border-radius:13px;}body.page-home>header .brand img{width:34px;height:34px;}body.page-home>header .brand span{font-size:13px;}body.page-home>header .brand small{font-size:6px;letter-spacing:1.4px;}body.page-home>header .header-account-area{min-width:0;margin-right:auto;}body.page-home>header .header-account-area .btn{min-width:72px;padding:9px 15px;}body.page-home>header nav{order:3;width:100%;justify-content:center;gap:3px;padding:4px;}body.page-home>header nav a{min-height:36px;padding:0 clamp(10px,3vw,18px);font-size:12px;}}
@media(max-width:420px){body.page-home>header{padding:9px 11px;}body.page-home>header .brand img{width:30px;height:30px;}body.page-home>header .brand span{font-size:12px;}body.page-home>header nav a{padding:0 10px;font-size:11px;}}

/* Darkoob unified premium header — shared by public and authenticated pages */
.darkoob-global-header{position:sticky!important;top:0;z-index:100!important;height:82px!important;min-height:82px!important;width:100%;padding:0 clamp(18px,4.2vw,68px)!important;display:grid!important;grid-template-columns:minmax(210px,1fr) auto minmax(210px,1fr)!important;align-items:center!important;gap:22px!important;background:linear-gradient(110deg,rgba(10,9,23,.94),rgba(22,14,43,.91) 52%,rgba(10,13,27,.95))!important;border:0!important;border-bottom:1px solid rgba(164,119,255,.22)!important;box-shadow:0 12px 38px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.045)!important;backdrop-filter:blur(22px) saturate(145%)!important;-webkit-backdrop-filter:blur(22px) saturate(145%)!important}
.darkoob-global-header:before{content:"";position:absolute;inset:auto 7% -1px 7%;height:1px;background:linear-gradient(90deg,transparent,rgba(166,112,255,.7),rgba(75,144,255,.35),transparent);pointer-events:none}
.darkoob-header-brand{display:flex;align-items:center;gap:12px;min-width:0;justify-self:start;text-decoration:none!important}
.darkoob-brand-mark{width:48px;height:48px;display:grid;place-items:center;flex:0 0 48px;border-radius:16px;background:linear-gradient(145deg,rgba(149,91,255,.23),rgba(43,35,77,.55));border:1px solid rgba(178,137,255,.38);box-shadow:0 8px 25px rgba(116,67,220,.22),inset 0 1px rgba(255,255,255,.16);position:relative;overflow:hidden}
.darkoob-brand-mark:after{content:"";position:absolute;inset:-50%;background:linear-gradient(115deg,transparent 38%,rgba(255,255,255,.16) 50%,transparent 62%);transform:translateX(-70%);transition:transform .65s ease}
.darkoob-header-brand:hover .darkoob-brand-mark:after{transform:translateX(70%)}
.darkoob-brand-mark img{width:36px;height:36px;object-fit:contain;filter:drop-shadow(0 0 9px rgba(160,105,255,.5))}
.darkoob-brand-copy{display:flex;flex-direction:column;gap:4px;line-height:1.1}
.darkoob-brand-copy strong{font-size:17px;font-weight:900;color:#f7f2ff;letter-spacing:-.3px}
.darkoob-brand-copy small{font-size:8px;letter-spacing:1.7px;color:#a99abb;font-weight:700;white-space:nowrap}
.darkoob-header-nav{justify-self:center;display:flex!important;align-items:center;gap:5px!important;padding:6px;border:1px solid rgba(155,119,215,.16);border-radius:17px;background:rgba(255,255,255,.035);box-shadow:inset 0 1px rgba(255,255,255,.035)}
.darkoob-header-nav a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:0 16px;border-radius:11px;color:#b9b2ca!important;font-size:12px;font-weight:700;white-space:nowrap;transition:color .2s,background .2s,transform .2s,box-shadow .2s}
.darkoob-header-nav a:hover{color:#fff!important;background:rgba(149,103,238,.13);transform:translateY(-1px)}
.darkoob-header-nav a.active{color:#fff!important;background:linear-gradient(135deg,rgba(132,78,224,.35),rgba(71,75,157,.24));box-shadow:inset 0 0 0 1px rgba(179,139,255,.25),0 5px 16px rgba(74,44,133,.18)}
.darkoob-header-actions{justify-self:end;display:flex;align-items:center;gap:10px;min-width:0}
.darkoob-header-login,.darkoob-header-register{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:0 17px;border-radius:12px;font-size:12px;font-weight:800;white-space:nowrap;transition:transform .2s,box-shadow .2s,border-color .2s}
.darkoob-header-login{color:#fff!important;background:linear-gradient(135deg,#9860f4,#624be0);border:1px solid rgba(210,185,255,.28);box-shadow:0 7px 22px rgba(111,68,220,.3),inset 0 1px rgba(255,255,255,.22)}
.darkoob-header-login span{font-size:16px;line-height:1}
.darkoob-header-register{color:#d9c9ff!important;background:rgba(255,255,255,.035);border:1px solid rgba(165,126,229,.28)}
.darkoob-header-login:hover,.darkoob-header-register:hover,.darkoob-header-logout:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(112,73,199,.25)}
.darkoob-header-user{display:flex;align-items:center;gap:8px;max-width:210px;min-height:42px;padding:0 13px;border:1px solid rgba(159,124,219,.23);border-radius:13px;background:rgba(255,255,255,.04);color:#f2eaff}
.darkoob-user-pulse{width:7px;height:7px;border-radius:50%;background:#55d6aa;box-shadow:0 0 0 4px rgba(85,214,170,.11),0 0 12px rgba(85,214,170,.55);flex:0 0 7px}
.darkoob-user-name{font-size:12px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:115px}
.darkoob-header-user small{font-size:10px;color:#aaa0bf;white-space:nowrap}
.darkoob-header-logout{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;color:#d7c5ff!important;background:rgba(148,96,231,.11);border:1px solid rgba(158,120,224,.25);transition:.2s}
.darkoob-header-logout svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:900px){.darkoob-global-header{grid-template-columns:1fr auto!important;gap:10px!important;height:auto!important;min-height:72px!important;padding:10px 18px!important}.darkoob-header-nav{grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:flex-start;overflow-x:auto;scrollbar-width:none;max-width:100%;order:3}.darkoob-header-nav::-webkit-scrollbar{display:none}.darkoob-header-nav a{padding:0 14px;min-height:36px}.darkoob-header-actions{grid-column:2;grid-row:1}.darkoob-brand-mark{width:42px;height:42px;flex-basis:42px;border-radius:13px}.darkoob-brand-mark img{width:32px;height:32px}}
@media(max-width:520px){.darkoob-global-header{padding:9px 12px!important}.darkoob-brand-copy strong{font-size:15px}.darkoob-brand-copy small{font-size:7px;letter-spacing:1.2px}.darkoob-header-user{max-width:120px;padding:0 8px;gap:6px}.darkoob-user-name{max-width:68px;font-size:10px}.darkoob-header-user small{display:none}.darkoob-header-logout{width:36px;height:38px}.darkoob-header-login,.darkoob-header-register{min-height:37px;padding:0 10px;font-size:10px}.darkoob-header-nav{gap:2px!important;padding:4px}.darkoob-header-nav a{font-size:11px;padding:0 11px}}


/* V2.64 — align public plans and guide pages with the full landing-page scale */
body.page-plans,body.page-guide{background:radial-gradient(ellipse at 82% 12%,rgba(91,45,153,.22),transparent 38%),radial-gradient(ellipse at 12% 78%,rgba(43,58,130,.12),transparent 34%),#080812;}
body.page-plans>main,body.page-guide>main{width:100%;max-width:1440px;min-height:calc(100dvh - 164px);margin:0 auto;padding:clamp(28px,4.2vh,58px) clamp(24px,5vw,76px) 42px;}
body.page-plans>main>h1,body.page-guide>main>h1{font-size:clamp(32px,3.4vw,48px);font-weight:900;line-height:1.4;letter-spacing:-.8px;margin:0 0 12px;color:#f5efff;text-shadow:0 8px 30px rgba(0,0,0,.35);}
body.page-plans>main>.muted{font-size:clamp(14px,1.15vw,17px);margin:0 0 clamp(24px,3vh,38px);color:#b9b1ce;}
body.page-plans>main>.cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:clamp(16px,2vw,24px);margin:clamp(24px,3vh,38px) 0;align-items:stretch;}
body.page-plans>main>.cards>.card{position:relative;min-height:250px;padding:clamp(22px,2.5vw,34px);overflow:hidden;border-radius:22px;background:linear-gradient(145deg,rgba(31,25,53,.96),rgba(13,17,33,.98) 72%);border:1px solid rgba(159,119,224,.28);box-shadow:0 18px 42px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.06);transition:transform .25s,border-color .25s,box-shadow .25s;}
body.page-plans>main>.cards>.card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,transparent,#a779ff,#6b8cff,transparent);opacity:.8;}
body.page-plans>main>.cards>.card:after{content:"";position:absolute;width:190px;height:190px;top:-115px;left:-75px;border-radius:50%;background:rgba(146,91,255,.14);filter:blur(35px);pointer-events:none;}
body.page-plans>main>.cards>.card:hover{transform:translateY(-6px);border-color:rgba(183,143,255,.58);box-shadow:0 25px 48px rgba(0,0,0,.34),0 0 28px rgba(132,82,220,.12),inset 0 1px rgba(255,255,255,.1);}
body.page-plans>main>.cards>.card h2{position:relative;z-index:1;font-size:clamp(19px,1.6vw,24px);margin:0 0 20px;color:#f2eaff;}
body.page-plans>main>.cards>.card .price{position:relative;z-index:1;font-size:clamp(27px,2.4vw,36px);color:#c49aff;text-shadow:0 0 22px rgba(159,103,255,.2);}
body.page-plans>main>.cards>.card p{position:relative;z-index:1;font-size:14px;line-height:2.05;color:#b8b1ca;}
body.page-guide>main>.panel{max-width:none;width:100%;min-height:clamp(220px,34vh,360px);padding:clamp(26px,4vw,48px);border-radius:22px;background:linear-gradient(145deg,rgba(31,25,53,.96),rgba(13,17,33,.98) 72%);border:1px solid rgba(159,119,224,.28);box-shadow:0 18px 42px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.06);}
body.page-guide>main>.panel p{max-width:1000px;margin:0;color:#c3bdd4;font-size:clamp(15px,1.3vw,18px);line-height:2.4;}
@media(max-width:800px){body.page-plans>main,body.page-guide>main{min-height:calc(100dvh - 130px);padding:26px 20px 34px;}body.page-plans>main>.cards{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));}}
@media(max-width:520px){body.page-plans>main,body.page-guide>main{padding:22px 15px 28px;}body.page-plans>main>h1,body.page-guide>main>h1{font-size:30px;}body.page-plans>main>.cards>.card{min-height:0;padding:22px;}}

/* V2.65 — customer direct-purchase dashboard */
.customer-dashboard-tiles{grid-template-columns:repeat(3,minmax(0,1fr));}
.customer-dashboard-tiles article{position:relative;overflow:hidden;min-height:158px;border:1px solid rgba(157,112,230,.24);background:linear-gradient(145deg,#19152b,#101525 75%);}
.customer-dashboard-tiles article .btn{margin-top:5px;}
.customer-dashboard-welcome{margin-top:22px;padding:26px;border-color:rgba(157,112,230,.28);background:radial-gradient(ellipse at 90% 0,rgba(139,83,226,.16),transparent 45%),linear-gradient(145deg,#17142a,#101525);}
.customer-dashboard-welcome h2{margin:0 0 9px;font-size:19px;}
.customer-dashboard-welcome p{color:var(--muted);line-height:2;margin:0 0 18px;}
.customer-plan-buy{margin-top:18px;}
@media(max-width:760px){.customer-dashboard-tiles{grid-template-columns:1fr;}.customer-dashboard-tiles article{min-height:0;}}

/* V2.66 — clear customer registration and compact public utility pages */
.darkoob-login-stack{display:flex;flex-direction:column;align-items:center;gap:3px}
.darkoob-login-stack .darkoob-header-login{min-height:38px;padding:0 15px}
.darkoob-customer-register-link{font-size:10px;font-weight:700;color:#c9b5f5!important;line-height:1.5;white-space:nowrap;transition:color .2s}
.darkoob-customer-register-link:hover{color:#fff!important;text-decoration:underline}
.auth-foot{margin:12px 0 0;color:var(--muted);font-size:12px}
.auth-foot a{color:#c6a4ff;font-weight:800}
.auth-subtitle{font-size:12px;color:var(--muted);margin:-8px 0 15px}
body.page-login,body.page-customer_register,body.page-seller_register{min-height:100dvh;display:flex;flex-direction:column}
body.page-login>main,body.page-customer_register>main,body.page-seller_register>main{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center;padding:16px 20px}
body.page-login .auth,body.page-customer_register .auth,body.page-seller_register .auth{width:min(100%,430px);margin:0;padding:22px 28px;border-radius:20px}
body.page-login .auth img,body.page-customer_register .auth img,body.page-seller_register .auth img{width:58px;height:58px;object-fit:contain;margin-bottom:3px}
body.page-login .auth h1,body.page-customer_register .auth h1,body.page-seller_register .auth h1{font-size:22px;margin:5px 0 15px}
body.page-login .auth form,body.page-customer_register .auth form,body.page-seller_register .auth form{gap:5px}
body.page-login .auth input,body.page-customer_register .auth input,body.page-seller_register .auth input{padding:9px 12px;margin:2px 0 7px}
body.page-login .auth .btn,body.page-customer_register .auth .btn,body.page-seller_register .auth .btn{margin-top:5px}
body.page-login>footer,body.page-customer_register>footer,body.page-seller_register>footer{padding:9px 5%;font-size:11px}
body.page-login>footer img,body.page-customer_register>footer img,body.page-seller_register>footer img{width:95px}
body.page-guide>main{min-height:calc(100dvh - 145px);padding-top:clamp(20px,3vh,36px);padding-bottom:20px}
body.page-guide>footer{padding-top:12px;padding-bottom:12px}
@media(max-height:760px) and (min-width:801px){body.page-login .auth,body.page-customer_register .auth,body.page-seller_register .auth{padding:14px 24px}body.page-login .auth img,body.page-customer_register .auth img,body.page-seller_register .auth img{width:44px;height:44px}body.page-login .auth h1,body.page-customer_register .auth h1,body.page-seller_register .auth h1{font-size:19px;margin-bottom:9px}body.page-login .auth input,body.page-customer_register .auth input,body.page-seller_register .auth input{padding:7px 10px;margin-bottom:4px}}
@media(max-width:520px){.darkoob-login-stack .darkoob-header-login{min-height:35px;padding:0 9px}.darkoob-customer-register-link{font-size:9px}.darkoob-header-actions{gap:7px!important}body.page-login>main,body.page-customer_register>main,body.page-seller_register>main{padding:14px 12px}body.page-login .auth,body.page-customer_register .auth,body.page-seller_register .auth{padding:20px 18px}}

/* V2.72 — consistent show/hide control for every password field */
.password-field{position:relative;display:flex;align-items:center;width:100%;min-width:0}
.password-field input{width:100%;min-width:0;box-sizing:border-box;padding-left:48px!important}
.password-toggle{position:absolute;left:8px;top:50%;transform:translateY(-50%);z-index:3;display:grid;place-items:center;width:34px;height:34px;padding:6px;border:0;border-radius:8px;background:transparent;color:var(--muted,#8b8b9a);cursor:pointer}
.password-toggle:hover{color:var(--text,#fff);background:rgba(255,255,255,.07)}
.password-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.password-toggle .eye-slash{display:block;stroke-width:2.2}
.password-toggle.is-visible .eye-slash{display:none}
.password-toggle.is-visible svg{color:#b99aff}

/* V2.73 — remember login helper */
.remember-help{font-size:12px;line-height:1.9;margin:-4px 0 12px;text-align:right}
#darkoob-login-form .checkline{display:flex;align-items:center;gap:8px;cursor:pointer}
#darkoob-login-form .checkline input{width:auto;flex:0 0 auto;margin:0}


/* V2.74 — themed remember-login control */


/* V2.83 — responsive layout pass for phones, tablets and compact desktops */
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas{max-width:100%;height:auto}
button,input,select,textarea{max-width:100%;font:inherit}
.layout,.content,.panel,.card,.finance-panel,.ticket-board,.ticket-view-page{min-width:0}
.content>*{max-width:100%}
.content table{max-width:100%}
.finance-table-wrap,.users-table-wrap,.wallet-seller-table-wrap,.wallet-ledger-scroll,.ticket-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.finance-table,.users-admin-table,.wallet-seller-table,.wallet-ledger-table,.ticket-table{min-width:640px}
.inlineform input,.inlineform select{max-width:100%;flex:1 1 150px}
form:not(.inlineform) input:not([type=checkbox]):not([type=radio]):not([type=file]),form:not(.inlineform) select,form:not(.inlineform) textarea{max-width:100%}

@media(max-width:1100px){
  main{padding:30px 20px}
  .layout{grid-template-columns:210px minmax(0,1fr);gap:16px}
  .tiles,.cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ticket-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .finance-heading{flex-wrap:wrap;gap:12px}
}
@media(max-width:800px){
  html,body{width:100%;min-width:320px}
  body:has(>main>.layout)>main{padding:10px 12px!important;overflow:hidden!important}
  body:has(>main>.layout)>main>.layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:10px!important}
  body:has(>main>.layout)>main>.layout>aside{width:100%;height:auto!important;max-height:94px!important;min-height:0!important;padding:8px!important;gap:6px!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;scrollbar-width:thin;overscroll-behavior-x:contain}
  body:has(>main>.layout)>main>.layout>aside>*{flex:0 0 auto}
  body:has(>main>.layout)>main>.layout>aside>a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 13px!important;border:1px solid #29294a;border-radius:10px;white-space:nowrap;font-size:12px}
  body:has(>main>.layout)>main>.layout>aside .sidebar-account-card{width:210px;min-width:210px;max-height:78px!important;margin:0!important;padding:7px 9px!important;overflow:hidden;grid-column:auto!important}
  body:has(>main>.layout)>main>.layout>aside .sidebar-account-card.is-open{max-height:420px!important;overflow:visible;z-index:20}
  body:has(>main>.layout)>main>.layout>.content{width:100%;max-width:100%;height:100%!important;max-height:100%!important;min-height:0!important;padding:4px 2px 18px!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:auto!important}
  body.page-dashboard:has(>main>.layout)>main>.layout>.content{overflow-y:auto!important;overflow-x:hidden!important}
  body.ticket-view-mode>main{padding:8px!important}
  body.ticket-view-mode>main>.layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important}
  body.ticket-view-mode>main>.layout>aside{height:auto!important;max-height:72px!important;overflow-x:auto!important;overflow-y:hidden!important}
  body.ticket-view-mode>main>.layout>.content{overflow:hidden!important}
  main{padding:24px 16px}
  .hero{grid-template-columns:minmax(0,1fr);gap:18px;padding:28px 0}
  .hero h1{font-size:clamp(28px,6vw,38px)}
  .tiles,.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .ticket-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ticket-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ticket-compose{padding:18px}
  .ticket-board{max-width:100%}
  .ticket-tabs{gap:12px;flex-wrap:wrap}
  .finance-heading,.finance-panel-head,.finance-heading-actions{flex-wrap:wrap}
  .finance-heading-actions>*{flex:1 1 auto}
  .wallet-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wallet-detail-actions,.ticket-form-actions{flex-wrap:wrap}
  .topup-drawer{width:min(100vw,480px)!important;max-width:100vw!important}
  footer{padding:20px 16px;flex-wrap:wrap}
}
@media(max-width:600px){
  body:has(>main>.layout)>main{padding:7px 8px!important}
  body:has(>main>.layout)>main>.layout{gap:7px!important}
  body:has(>main>.layout)>main>.layout>aside{max-height:82px!important;padding:6px!important}
  body:has(>main>.layout)>main>.layout>aside>a{min-height:38px;padding:7px 10px!important;font-size:11px}
  body:has(>main>.layout)>main>.layout>aside .sidebar-account-card{width:185px;min-width:185px;max-height:68px!important}
  .content h1{font-size:clamp(20px,5vw,27px)}
  .content h2{font-size:clamp(16px,4vw,21px)}
  .tiles,.cards,.ticket-stats,.wallet-admin-stats,.customer-dashboard-tiles{grid-template-columns:minmax(0,1fr)!important}
  .tiles article,.card,.panel{padding:16px!important;border-radius:14px}
  .inlineform{align-items:stretch;flex-direction:column;padding:12px}
  .inlineform input,.inlineform select,.inlineform button,.inlineform .btn{width:100%;min-width:0;flex:1 1 auto}
  .ticket-fields{grid-template-columns:minmax(0,1fr)}
  .ticket-heading,.ticket-page-head,.ticket-list-title,.ticket-compose-title{align-items:flex-start;flex-direction:column;gap:8px}
  .ticket-toolbar{height:auto;min-height:42px;flex-wrap:wrap;padding:6px 8px;gap:6px}
  .ticket-tabs{justify-content:space-around;gap:4px;padding:10px 5px}
  .ticket-tab{min-width:0;flex:1 1 28%;}
  .ticket-table-wrap{overflow-x:auto!important}
  .ticket-table{min-width:560px!important}
  .ticket-conversation{min-width:0!important;width:min(88vw,480px);max-width:88vw}
  .ticket-compose{padding:14px;margin:10px 0}
  .ticket-view-page{padding:12px!important}
  .ticket-view-page .ticket-view-message{max-width:92%;min-width:0}
  .finance-panel{padding:13px!important}
  .finance-heading-actions{width:100%}
  .finance-heading-actions>*{flex:1 1 100%;width:100%}
  .finance-calculation,.finance-review-form{grid-template-columns:minmax(0,1fr)!important}
  .wallet-detail-actions>*{flex:1 1 100%}
  .wallet-selected-summary{flex-wrap:wrap}
  .wallet-balance-value{font-size:clamp(22px,7vw,32px)}
  .auth{width:100%;max-width:440px;margin:16px auto;padding:20px 16px!important}
  .auth input,.auth select,.auth textarea{font-size:16px}
  .bank-card{max-width:100%;padding:12px}
  .bank-card-inner{padding:12px}
  .bank-card strong{font-size:clamp(13px,4vw,18px);overflow-wrap:anywhere}
  footer{gap:12px;font-size:12px}
  footer img{width:110px}
  body.page-home{height:auto!important;min-height:100dvh!important;overflow-y:auto!important}
  body.page-home>main{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;padding:18px 14px 28px!important}
  body.page-home .hero{display:grid;grid-template-columns:minmax(0,1fr)!important;padding:22px 0;gap:12px}
  body.page-home .hero-art{display:none!important}
  body.page-home .hero h1{font-size:clamp(28px,8vw,38px)!important}
  body.page-home .tiles{grid-template-columns:minmax(0,1fr)!important}
  body.page-home .tiles article{padding:14px!important}
  body.page-home .tiles p{display:block!important}
  body.page-home>header nav{justify-content:flex-start!important;overflow-x:auto;white-space:nowrap}
}
@media(max-width:380px){
  body:has(>main>.layout)>main>.layout>aside>a{padding:6px 8px!important;font-size:10px}
  .btn{padding:9px 12px;font-size:12px}
  .ticket-tab span{white-space:normal}
  .ticket-page-head h1{font-size:16px}
  .content h1{font-size:19px}
}

/* V2.84 — login username remember option */
#darkoob-login-form .login-remember-option{display:flex;align-items:center;gap:9px;margin:14px 0 16px;color:#bcb5d2;font-size:12px;cursor:pointer;user-select:none}
#darkoob-login-form .login-remember-option input{width:16px;height:16px;min-width:16px;margin:0;accent-color:#9865e8;cursor:pointer}
#darkoob-login-form .login-remember-option span{line-height:1.8}

/* V2.87 — Admin overview dashboard */
.admin-dashboard-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:8px 0 22px;padding:25px 27px;border:1px solid #493568;border-radius:20px;background:radial-gradient(ellipse at 85% 0,#50317b55,transparent 52%),linear-gradient(120deg,#17152b,#111323);box-shadow:0 16px 36px #0003}
.admin-dashboard-intro h2{font-size:21px;margin:8px 0 5px}.admin-dashboard-intro p{margin:0;color:var(--muted);font-size:13px;line-height:1.9}.admin-eyebrow{font-size:9px;letter-spacing:2px;color:#bd9aff;font-weight:800}.admin-dashboard-intro .btn{white-space:nowrap}
.admin-overview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 18px}.admin-overview-card{position:relative;overflow:hidden;min-width:0;padding:18px 19px;border:1px solid var(--line);border-radius:17px;background:linear-gradient(145deg,#19192e,#10111f);box-shadow:0 10px 25px #0002}.admin-overview-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;left:-40px;bottom:-65px;background:var(--card-glow,#9b5cff);opacity:.12;filter:blur(3px)}.admin-overview-icon{display:flex;width:34px;height:34px;align-items:center;justify-content:center;border-radius:11px;background:var(--card-bg,#33244c);color:var(--card-color,#c69cff);font-size:19px;margin-bottom:13px}.admin-overview-card small{display:block;color:var(--muted);font-size:11px}.admin-overview-card strong{display:block;font-size:25px;line-height:1.7;margin:2px 0;color:#f7f3ff;overflow-wrap:anywhere}.admin-card-foot{display:block;color:#817e9c;font-size:10px;line-height:1.8}.accent-purple{--card-color:#c69cff;--card-bg:#35264e;--card-glow:#a66aff}.accent-blue{--card-color:#8ebcff;--card-bg:#203552;--card-glow:#4d8dff}.accent-green{--card-color:#82dfb0;--card-bg:#1d3b34;--card-glow:#35c78a}.accent-orange{--card-color:#ffc17e;--card-bg:#44301f;--card-glow:#ff9c42}
.admin-dashboard-lower{display:grid;grid-template-columns:1.08fr .92fr;gap:16px;margin:0 0 17px}.admin-dashboard-panel{min-width:0;padding:20px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(145deg,#151528,#10111e);box-shadow:0 12px 28px #0002}.admin-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}.admin-panel-heading h3{font-size:15px;margin:0 0 5px}.admin-panel-heading p{font-size:11px;color:var(--muted);margin:0}.admin-panel-heading>a{font-size:11px;color:#c5a2ff;white-space:nowrap}.admin-live-dot{font-size:10px;color:#9cdbb9;white-space:nowrap}.admin-live-dot:before{content:"";display:inline-block;width:6px;height:6px;background:#48c78e;border-radius:50%;margin-left:7px;box-shadow:0 0 9px #48c78e88}
.admin-attention-list{display:flex;flex-direction:column}.admin-attention-list>a{display:flex;align-items:center;gap:11px;padding:12px 2px;border-top:1px solid #ffffff0b}.admin-attention-symbol{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#29213d;color:#c8a8ff;font-size:16px;flex:0 0 auto}.admin-attention-list>a>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.admin-attention-list strong{font-size:12px}.admin-attention-list small{font-size:10px;color:var(--muted)}.admin-attention-list b{min-width:31px;text-align:center;padding:5px 8px;border-radius:8px;background:#29213d;color:#d9c3ff;font-size:12px}
.admin-quick-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-quick-links a{display:grid;grid-template-columns:35px 1fr;align-items:center;column-gap:9px;padding:13px 11px;border:1px solid #ffffff0d;border-radius:12px;background:#ffffff04;transition:.2s}.admin-quick-links a:hover{border-color:#70539b;background:#33244a55;transform:translateY(-2px)}.admin-quick-links a>span{grid-row:span 2;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#302344;color:#c9a8ff;font-size:17px}.admin-quick-links strong{font-size:11px}.admin-quick-links small{font-size:9px;color:var(--muted);margin-top:4px}
.admin-recent-orders{margin-bottom:20px}.admin-recent-table-wrap{overflow-x:auto}.admin-recent-table{min-width:580px;background:transparent}.admin-recent-table th,.admin-recent-table td{font-size:11px;padding:12px 10px}.admin-recent-table th{background:#ffffff05}.admin-empty{text-align:center!important;color:var(--muted)!important;padding:25px!important}
@media(max-width:1000px){.admin-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-dashboard-lower{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.admin-dashboard-intro{align-items:flex-start;flex-direction:column;padding:20px}.admin-dashboard-intro .btn{width:100%;text-align:center}.admin-dashboard-lower{grid-template-columns:1fr}.admin-overview-card{padding:15px}.admin-overview-card strong{font-size:22px}}
@media(max-width:420px){.admin-overview-grid{gap:9px}.admin-overview-card{padding:13px}.admin-overview-card strong{font-size:19px}.admin-card-foot{font-size:9px}.admin-quick-links{gap:7px}.admin-quick-links a{padding:10px 8px}}

/* Darkoob 2.88 — spacious admin overview */
main:has(.admin-dashboard-intro){max-width:1580px;padding:42px 34px;}
main:has(.admin-dashboard-intro)>.layout{grid-template-columns:230px minmax(0,1fr);gap:22px;}
.admin-dashboard-intro{min-height:170px;padding:34px 38px;margin:8px 0 28px;border-radius:24px;}
.admin-dashboard-intro h2{font-size:29px;line-height:1.6;margin:10px 0 7px;}
.admin-dashboard-intro p{font-size:15px;}
.admin-eyebrow{font-size:11px;}
.admin-dashboard-intro .btn{font-size:15px;padding:14px 23px;}
.admin-overview-grid{gap:18px;margin-bottom:24px;}
.admin-overview-card{min-height:190px;padding:25px 26px;border-radius:21px;}
.admin-overview-icon{width:46px;height:46px;border-radius:14px;font-size:23px;margin-bottom:17px;}
.admin-overview-card small{font-size:14px;}
.admin-overview-card strong{font-size:32px;line-height:1.65;margin:5px 0;}
.admin-card-foot{font-size:12px;line-height:1.9;}
.admin-dashboard-lower{gap:22px;margin-bottom:23px;}
.admin-dashboard-panel{padding:27px;border-radius:22px;}
.admin-panel-heading{margin-bottom:21px;}
.admin-panel-heading h3{font-size:19px;margin-bottom:7px;}
.admin-panel-heading p{font-size:13px;}
.admin-panel-heading>a,.admin-live-dot{font-size:12px;}
.admin-attention-list a{padding:16px 14px;min-height:76px;}
.admin-attention-list a strong,.admin-quick-links strong{font-size:14px;}
.admin-attention-list a small,.admin-quick-links small{font-size:12px;}
.admin-attention-symbol{width:42px;height:42px;font-size:19px;}
.admin-attention-list a>b{font-size:17px;min-width:38px;}
.admin-quick-links{gap:13px;}
.admin-quick-links a{min-height:118px;padding:17px;border-radius:16px;}
.admin-quick-links a>span{width:38px;height:38px;font-size:19px;margin-bottom:12px;}
.admin-recent-orders{margin-bottom:28px;}
.admin-recent-table{min-width:650px;}
.admin-recent-table th,.admin-recent-table td{font-size:13px;padding:16px 13px;}
@media(max-width:1100px){main:has(.admin-dashboard-intro){max-width:100%;padding:30px 22px;}main:has(.admin-dashboard-intro)>.layout{grid-template-columns:210px minmax(0,1fr);gap:18px;}}
@media(max-width:800px){main:has(.admin-dashboard-intro){padding:24px 15px;}main:has(.admin-dashboard-intro)>.layout{grid-template-columns:1fr;}.admin-dashboard-intro{padding:25px;min-height:0;}.admin-dashboard-intro h2{font-size:25px;}.admin-overview-card{min-height:165px;padding:19px;}.admin-overview-card strong{font-size:27px;}.admin-dashboard-panel{padding:21px;}}
@media(max-width:420px){.admin-dashboard-intro h2{font-size:22px;}.admin-overview-card small{font-size:12px;}.admin-overview-card strong{font-size:23px;}.admin-card-foot{font-size:10px;}}





/* V3.02 — dashboard visual sizing only; authenticated shell/sidebar use shared global layout */
body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-intro{min-height:170px;padding:34px 38px;margin:8px 0 28px;border-radius:24px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-intro h2{font-size:29px;line-height:1.6;margin:10px 0 7px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-intro p{font-size:15px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-eyebrow{font-size:11px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-intro .btn{font-size:15px;padding:14px 23px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-overview-grid{gap:18px;margin-bottom:24px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-overview-card{min-height:190px;padding:25px 26px;border-radius:21px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-overview-icon{width:46px;height:46px;border-radius:14px;font-size:23px;margin-bottom:17px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-overview-card small{font-size:14px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-overview-card strong{font-size:32px;line-height:1.65;margin:5px 0}
body.page-dashboard:has(.admin-dashboard-intro) .admin-card-foot{font-size:12px;line-height:1.9}
body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-lower{gap:22px;margin-bottom:23px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-panel{min-height:0;padding:27px;border-radius:22px;overflow:visible}
body.page-dashboard:has(.admin-dashboard-intro) .admin-panel-heading{margin-bottom:21px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-panel-heading h3{font-size:19px;margin-bottom:7px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-panel-heading p{font-size:13px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-panel-heading>a,body.page-dashboard:has(.admin-dashboard-intro) .admin-live-dot{font-size:12px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-attention-list a{padding:16px 14px;min-height:76px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-attention-list a strong,body.page-dashboard:has(.admin-dashboard-intro) .admin-quick-links strong{font-size:14px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-attention-list a small,body.page-dashboard:has(.admin-dashboard-intro) .admin-quick-links small{font-size:12px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-attention-symbol{width:42px;height:42px;font-size:19px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-attention-list a>b{font-size:17px;min-width:38px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-quick-links{gap:13px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-quick-links a{min-height:118px;padding:17px;border-radius:16px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-quick-links a>span{width:38px;height:38px;font-size:19px;margin-bottom:12px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-recent-orders{margin-bottom:28px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-recent-table-wrap{overflow-x:auto;overflow-y:visible}
body.page-dashboard:has(.admin-dashboard-intro) .admin-recent-table{min-width:650px}
body.page-dashboard:has(.admin-dashboard-intro) .admin-recent-table th,body.page-dashboard:has(.admin-dashboard-intro) .admin-recent-table td{font-size:13px;padding:16px 13px}

/* Override the legacy dashboard overflow:hidden only on its content panel.
   All main/layout/aside sizing and placement are inherited unchanged from other logged-in pages. */
body.page-dashboard:has(>main>.layout):has(.admin-dashboard-intro)>main>.layout>.content{
  overflow-x:hidden!important;overflow-y:auto!important;
  scrollbar-width:none!important;-ms-overflow-style:none!important;
}
body.page-dashboard:has(>main>.layout):has(.admin-dashboard-intro)>main>.layout>.content::-webkit-scrollbar{
  display:none!important;width:0!important;height:0!important;
}
@media(max-width:800px){
 body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-intro{padding:25px;min-height:0}
 body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-intro h2{font-size:25px}
 body.page-dashboard:has(.admin-dashboard-intro) .admin-overview-card{min-height:165px;padding:19px}
 body.page-dashboard:has(.admin-dashboard-intro) .admin-overview-card strong{font-size:27px}
 body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-lower{grid-template-columns:1fr!important;gap:16px}
 body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-panel{padding:21px}
}
@media(max-width:600px){
 body.page-dashboard:has(.admin-dashboard-intro) .admin-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-intro{align-items:flex-start;flex-direction:column}
 body.page-dashboard:has(.admin-dashboard-intro) .admin-dashboard-intro .btn{width:100%;text-align:center}
}

/* V3.04 — admin ticket user quick filter */
body.page-tickets .ticket-users-panel{flex:0 0 auto;max-height:112px;overflow:auto;margin:0 0 8px;padding:9px 12px;background:linear-gradient(135deg,#111326,#0b1220);border:1px solid #302747;border-radius:12px;}
body.page-tickets .ticket-users-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px;color:#dce5f2;font-size:12px;}
body.page-tickets .ticket-users-heading span{color:#9b8cba;font-size:10px;}
body.page-tickets .ticket-users-list{display:flex;flex-wrap:wrap;gap:6px;}
body.page-tickets .ticket-user-chip{display:inline-flex;align-items:center;gap:8px;max-width:100%;padding:6px 10px;border:1px solid #302747;border-radius:8px;background:#15152a;color:#c9d4e4;font-size:11px;line-height:1.5;text-decoration:none;}
body.page-tickets .ticket-user-chip span{overflow-wrap:anywhere;}
body.page-tickets .ticket-user-chip b{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border-radius:10px;background:#25203c;color:#c7a9ff;font-size:10px;}
body.page-tickets .ticket-user-chip:hover,body.page-tickets .ticket-user-chip.selected{border-color:#8b5cf6;background:#241b3c;color:#fff;}
body.page-tickets .ticket-user-chip.selected b{background:#7044bd;color:#fff;}
body.page-tickets .ticket-sender-link{color:#bda1ff;text-decoration:none;font-weight:700;}
body.page-tickets .ticket-sender-link:hover{text-decoration:underline;color:#e0ceff;}
@media(max-width:800px){body.page-tickets .ticket-users-panel{max-height:104px;padding:7px 9px;}body.page-tickets .ticket-user-chip{padding:5px 8px;font-size:10px;}}


/* V3.06 — normalize homepage heading typography across all responsive rules. */
body.page-home .home-hero .hero-copy h1,
body.page-home .home-hero .hero-copy h1 em{
  font-family:inherit!important;
  font-size:clamp(36px,5.1vw,72px)!important;
  font-weight:800!important;
  line-height:1.38!important;
  letter-spacing:-1.8px!important;
}
body.page-home .home-hero .hero-copy h1 em{font-style:normal!important;}
body.page-home .home-tiles article>b{font-family:inherit!important;font-size:16px!important;font-weight:800!important;line-height:1.7!important;}
@media(max-width:900px){
  body.page-home .home-hero .hero-copy h1,
  body.page-home .home-hero .hero-copy h1 em{font-size:clamp(36px,6vw,54px)!important;}
}
@media(max-width:650px){
  body.page-home .home-hero .hero-copy h1,
  body.page-home .home-hero .hero-copy h1 em{font-size:clamp(30px,8vw,40px)!important;line-height:1.45!important;letter-spacing:-.8px!important;}
  body.page-home .home-tiles article>b{font-size:15px!important;}
}


/* V3.10 — apply consistent visual scaling to public pages. */
body.page-plans>main,
body.page-guide>main{
  width:100%!important;max-width:1286px!important;zoom:1.12!important;
  min-height:calc((100dvh - 82px) / 1.12)!important;margin:0 auto!important;
  padding:clamp(24px,4vh,52px) clamp(24px,5vw,76px) 34px!important;
  box-sizing:border-box!important;
}
body.page-plans>main>h1,body.page-guide>main>h1{
  font-size:clamp(36px,5.1vw,72px)!important;line-height:1.38!important;letter-spacing:-1.8px!important;
}
body.page-plans>main>.muted{font-size:clamp(14px,1.15vw,17px)!important;}
body.page-plans>main>.cards>.card{padding:clamp(25px,2.5vw,36px)!important;min-height:300px;}
body.page-plans>main>.cards>.card h2{font-size:clamp(21px,1.8vw,28px)!important;}
body.page-plans>main>.cards>.card .price{font-size:clamp(30px,3.1vw,48px)!important;}
body.page-plans>main>.cards>.card p{font-size:16px!important;line-height:2.1!important;}
body.page-guide>main>.panel{min-height:clamp(420px,57vh,610px);padding:clamp(32px,4.4vw,52px);font-size:16px;}
body.page-guide>main>.panel p{max-width:none;width:100%;font-size:16px;line-height:2.2;}
@media(max-width:800px){
  body.page-plans>main,body.page-guide>main{zoom:1!important;max-width:100%!important;min-height:calc(100dvh - 72px)!important;padding:clamp(18px,4vh,26px) 20px 34px!important;}
  body.page-plans>main>.cards>.card{min-height:250px;}
}
@media(max-width:520px){
  body.page-plans>main,body.page-guide>main{padding:18px 14px 28px!important;}
  body.page-plans>main>h1,body.page-guide>main>h1{font-size:32px!important;}
  body.page-plans>main>.cards>.card{min-height:0;padding:22px!important;}
  body.page-guide>main>.panel{min-height:clamp(300px,48vh,420px);padding:22px 18px;}
}


/* V3.12 — match the rendered desktop scale of the homepage. */
html,body{max-width:100%;}
body.page-guide,body.page-plans{min-height:100dvh;min-height:100vh;overflow-x:hidden;}
body.page-guide>header,body.page-plans>header{height:82px!important;min-height:82px!important;flex:0 0 82px!important;}
body.page-guide>main,body.page-plans>main{
  display:block!important;position:relative!important;
  width:100%!important;max-width:1054px!important;
  min-height:calc((100dvh - 82px)/1.12)!important;height:auto!important;max-height:none!important;
  margin:0 auto!important;padding:clamp(12px,2.5vh,28px) 24px 34px!important;
  box-sizing:border-box!important;zoom:1.12!important;transform:none!important;
}
body.page-guide>footer,body.page-plans>footer{display:none!important;}
body.page-guide>main>h1,body.page-plans>main>h1{
  font-size:clamp(42px,5.1vw,72px)!important;line-height:1.38!important;
  font-weight:900!important;letter-spacing:-1.8px!important;margin:8px 0 16px!important;
}
body.page-plans>main>.muted{font-size:clamp(12px,1.1vw,15px)!important;margin:8px 0 22px!important;}
body.page-plans>main>.cards{width:100%!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))!important;gap:16px!important;margin:18px 0!important;}
body.page-plans>main>.cards>.card{min-height:250px!important;padding:22px!important;border-radius:18px!important;}
body.page-plans>main>.cards>.card h2{font-size:clamp(19px,1.6vw,24px)!important;margin:0 0 20px!important;}
body.page-plans>main>.cards>.card .price{font-size:clamp(27px,2.4vw,36px)!important;}
body.page-plans>main>.cards>.card p{font-size:14px!important;line-height:1.9!important;}
body.page-guide>main>.panel{width:100%!important;max-width:none!important;min-height:clamp(220px,34vh,360px)!important;padding:23px!important;border-radius:18px!important;}
body.page-guide>main>.panel p{max-width:none!important;width:100%!important;font-size:clamp(14px,1.2vw,16px)!important;line-height:2.1!important;}
@media(max-width:800px){
  body.page-guide>header,body.page-plans>header{height:auto!important;min-height:72px!important;flex-basis:auto!important;}
  body.page-guide>main,body.page-plans>main{max-width:100%!important;min-height:calc(100dvh - 72px)!important;padding:18px 20px 28px!important;}
  body.page-guide>main>h1,body.page-plans>main>h1{font-size:clamp(32px,6vw,46px)!important;letter-spacing:-.8px!important;}
}
@media(max-width:520px){
  body.page-guide>main,body.page-plans>main{padding:16px 14px 24px!important;}
  body.page-plans>main>.cards{grid-template-columns:1fr!important;}
  body.page-plans>main>.cards>.card{min-height:0!important;padding:20px!important;}
  body.page-guide>main>.panel{min-height:clamp(260px,45vh,380px)!important;padding:18px!important;}
}

/* V3.13 — use the exact homepage content canvas; remove conflicting page zoom. */
body.page-plans>header,body.page-guide>header{
  height:88px!important;min-height:88px!important;flex:0 0 88px!important;
}
body.page-plans>main,body.page-guide>main{
  display:block!important;position:relative!important;
  width:100%!important;max-width:1180px!important;
  min-height:calc(100dvh - 88px)!important;height:auto!important;max-height:none!important;
  margin:0 auto!important;
  padding:clamp(12px,2.5vh,28px) 24px!important;
  box-sizing:border-box!important;
  zoom:1!important;transform:none!important;
}
body.page-plans>main>h1,body.page-guide>main>h1{
  font-size:clamp(36px,5.1vw,72px)!important;
  line-height:1.38!important;letter-spacing:-1.8px!important;
  margin:0 0 12px!important;
}
body.page-plans>main>.muted{font-size:clamp(14px,1.15vw,17px)!important;margin:0 0 24px!important;}
body.page-plans>main>.cards{
  width:100%!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))!important;
  gap:clamp(16px,2vw,24px)!important;margin:24px 0!important;
}
body.page-plans>main>.cards>.card{min-height:300px!important;padding:clamp(25px,2.5vw,36px)!important;border-radius:22px!important;}
body.page-plans>main>.cards>.card h2{font-size:clamp(21px,1.8vw,28px)!important;}
body.page-plans>main>.cards>.card .price{font-size:clamp(30px,3.1vw,48px)!important;}
body.page-plans>main>.cards>.card p{font-size:16px!important;line-height:2.1!important;}
body.page-guide>main>.panel{width:100%!important;max-width:none!important;min-height:clamp(420px,57vh,610px)!important;padding:clamp(32px,4.4vw,52px)!important;}
body.page-guide>main>.panel p{width:100%!important;max-width:none!important;font-size:clamp(16px,1.3vw,18px)!important;line-height:2.2!important;}
@media(max-width:800px){
  body.page-plans>header,body.page-guide>header{height:auto!important;min-height:76px!important;flex-basis:auto!important;}
  body.page-plans>main,body.page-guide>main{max-width:100%!important;min-height:calc(100dvh - 76px)!important;padding:18px 20px 28px!important;}
  body.page-plans>main>h1,body.page-guide>main>h1{font-size:clamp(32px,6vw,46px)!important;letter-spacing:-.8px!important;}
  body.page-plans>main>.cards>.card{min-height:250px!important;}
}
@media(max-width:520px){
  body.page-plans>main,body.page-guide>main{padding:16px 14px 24px!important;}
  body.page-plans>main>.cards{grid-template-columns:1fr!important;}
  body.page-plans>main>.cards>.card{min-height:0!important;padding:20px!important;}
  body.page-guide>main>.panel{min-height:clamp(260px,45vh,380px)!important;padding:18px!important;}
}


/* V3.14 — make every public-page header match the homepage header dimensions. */
body:not(.ticket-view-mode) > header.darkoob-global-header{
  height:88px!important;
  min-height:88px!important;
  flex:0 0 88px!important;
  box-sizing:border-box!important;
}
@media(max-width:900px){
  body:not(.ticket-view-mode) > header.darkoob-global-header{
    height:auto!important;
    min-height:76px!important;
    flex:0 0 auto!important;
    padding:10px 16px!important;
    gap:9px!important;
  }
}
@media(max-width:520px){
  body:not(.ticket-view-mode) > header.darkoob-global-header{
    padding:9px 11px!important;
  }
}


/* V3.15 — one canonical header geometry on every public page. */
body:not(.ticket-view-mode) > header.darkoob-global-header{
  height:88px!important; min-height:88px!important; flex:0 0 88px!important;
  box-sizing:border-box!important; width:100%!important;
  padding:0 clamp(22px,5.2vw,84px)!important; gap:22px!important;
}
@media(max-width:900px){
  body:not(.ticket-view-mode) > header.darkoob-global-header{
    height:auto!important; min-height:76px!important; flex:0 0 auto!important;
    padding:10px 16px!important; gap:9px!important;
  }
}
@media(max-width:520px){
  body:not(.ticket-view-mode) > header.darkoob-global-header{
    padding:9px 11px!important;
  }
}


/* V3.16 — lock the public navigation capsule and its three links to the homepage geometry. */
body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav{
  width:212px!important; min-width:212px!important; max-width:212px!important;
  height:54px!important; min-height:54px!important;
  box-sizing:border-box!important; display:flex!important;
  align-items:center!important; justify-content:space-between!important;
  gap:0!important; padding:5px!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a{
  flex:1 1 0!important; min-width:0!important; height:42px!important; min-height:42px!important;
  padding:0 4px!important; margin:0!important;
  display:inline-flex!important; align-items:center!important; justify-content:center!important;
  box-sizing:border-box!important; white-space:nowrap!important;
}
@media(max-width:900px){
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav{
    width:100%!important; min-width:0!important; max-width:100%!important;
    height:48px!important; min-height:48px!important; justify-content:center!important;
  }
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a{
    flex:0 0 auto!important; min-width:72px!important; padding:0 14px!important;
  }
}
@media(max-width:520px){
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav{height:44px!important;min-height:44px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a{min-width:64px!important;padding:0 10px!important;font-size:11px!important;}
}


/* V3.17 — normalize typography across every shared header. */
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-copy strong{
  font-family:inherit!important;font-size:17px!important;line-height:1.35!important;font-weight:900!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-copy small{
  font-family:inherit!important;font-size:8px!important;line-height:1.3!important;letter-spacing:1.7px!important;font-weight:700!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a{
  font-family:inherit!important;font-size:12px!important;line-height:1.4!important;font-weight:700!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-login,
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-register{
  font-family:inherit!important;font-size:12px!important;line-height:1.4!important;font-weight:800!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-user-name{
  font-family:inherit!important;font-size:12px!important;line-height:1.4!important;font-weight:800!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-user small{
  font-family:inherit!important;font-size:10px!important;line-height:1.35!important;font-weight:500!important;
}
@media(max-width:520px){
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-copy strong{font-size:15px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-copy small{font-size:7px!important;letter-spacing:1.2px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a{font-size:11px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-login,
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-register{font-size:10px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-user-name{font-size:10px!important;}
}


/* V3.18 — premium, balanced and responsive global header. */
body:not(.ticket-view-mode) > header.darkoob-global-header{
  position:sticky!important;top:0!important;z-index:120!important;
  display:grid!important;
  grid-template-columns:minmax(220px,1fr) auto minmax(220px,1fr)!important;
  align-items:center!important;gap:clamp(14px,2vw,28px)!important;
  width:100%!important;height:88px!important;min-height:88px!important;
  padding:0 clamp(22px,4.8vw,76px)!important;box-sizing:border-box!important;
  background:linear-gradient(105deg,rgba(9,9,22,.96),rgba(23,15,43,.94) 52%,rgba(10,13,29,.96))!important;
  border:0!important;border-bottom:1px solid rgba(170,132,255,.22)!important;
  box-shadow:0 10px 34px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.045)!important;
  backdrop-filter:blur(22px) saturate(155%)!important;
  -webkit-backdrop-filter:blur(22px) saturate(155%)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header:before{
  content:""!important;position:absolute!important;left:6%!important;right:6%!important;bottom:-1px!important;
  height:1px!important;background:linear-gradient(90deg,transparent,rgba(164,119,255,.62),rgba(92,142,255,.32),transparent)!important;
  pointer-events:none!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-brand{
  justify-self:start!important;gap:13px!important;min-width:0!important;
  text-decoration:none!important;transition:transform .22s ease,opacity .22s ease!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-brand:hover{transform:translateY(-1px)!important;opacity:1!important;}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-mark{
  width:48px!important;height:48px!important;flex:0 0 48px!important;border-radius:15px!important;
  background:linear-gradient(145deg,rgba(151,103,255,.25),rgba(48,37,82,.58))!important;
  border:1px solid rgba(184,150,255,.42)!important;
  box-shadow:0 7px 22px rgba(108,70,190,.22),inset 0 1px rgba(255,255,255,.13)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-mark img{width:70%!important;height:70%!important;object-fit:contain!important;}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-copy{display:flex!important;flex-direction:column!important;gap:2px!important;min-width:0!important;}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-copy strong{font-size:17px!important;line-height:1.35!important;font-weight:900!important;letter-spacing:0!important;color:#f7f1ff!important;}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-copy small{font-size:8px!important;line-height:1.35!important;letter-spacing:1.55px!important;font-weight:750!important;color:#a99bbf!important;}
body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav{
  justify-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:max-content!important;min-width:0!important;max-width:min(100%,680px)!important;height:54px!important;min-height:54px!important;
  gap:4px!important;padding:5px!important;box-sizing:border-box!important;
  border:1px solid rgba(172,139,231,.2)!important;border-radius:17px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.055),0 5px 18px rgba(0,0,0,.12)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a{
  position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;min-width:68px!important;height:42px!important;min-height:42px!important;
  padding:0 14px!important;margin:0!important;border-radius:12px!important;box-sizing:border-box!important;
  color:#bdb4ce!important;font-size:12px!important;font-weight:750!important;line-height:1.4!important;
  white-space:nowrap!important;text-decoration:none!important;
  transition:background .2s ease,color .2s ease,box-shadow .2s ease,transform .2s ease!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a:hover{
  color:#fff!important;background:rgba(155,111,241,.14)!important;transform:translateY(-1px)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a.active{
  color:#fff!important;background:linear-gradient(135deg,rgba(139,91,235,.36),rgba(89,83,177,.24))!important;
  box-shadow:inset 0 0 0 1px rgba(190,159,255,.3),0 4px 14px rgba(79,51,143,.18)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a.active:after{
  content:""!important;position:absolute!important;left:calc(50% - 9px)!important;bottom:3px!important;
  width:18px!important;height:2px!important;border-radius:2px!important;background:#c6a6ff!important;
  box-shadow:0 0 9px rgba(177,132,255,.72)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-actions{
  justify-self:end!important;display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-login,
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-register{
  min-height:42px!important;padding:0 16px!important;border-radius:12px!important;font-size:12px!important;font-weight:800!important;
  letter-spacing:0!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-login{
  background:linear-gradient(135deg,#9864f3,#6549df)!important;border:1px solid rgba(214,190,255,.36)!important;
  box-shadow:0 6px 18px rgba(105,67,208,.26),inset 0 1px rgba(255,255,255,.24)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-register{
  color:#e0d3f8!important;background:rgba(255,255,255,.035)!important;border:1px solid rgba(171,139,225,.24)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-login:hover,
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-register:hover,
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-logout:hover{
  transform:translateY(-2px)!important;box-shadow:0 9px 23px rgba(111,75,203,.28)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-user{
  min-height:42px!important;padding:0 12px!important;gap:8px!important;border-radius:13px!important;
  background:rgba(255,255,255,.045)!important;border:1px solid rgba(172,139,231,.22)!important;
}
body:not(.ticket-view-mode) > header.darkoob-global-header a:focus-visible{
  outline:2px solid #c7a7ff!important;outline-offset:3px!important;
}
@media(max-width:1100px){
  body:not(.ticket-view-mode) > header.darkoob-global-header{padding:0 22px!important;gap:12px!important;grid-template-columns:minmax(170px,1fr) auto minmax(170px,1fr)!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a{min-width:60px!important;padding:0 10px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-login,
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-register{padding:0 12px!important;}
}
@media(max-width:900px){
  body:not(.ticket-view-mode) > header.darkoob-global-header{
    display:flex!important;flex-wrap:wrap!important;justify-content:space-between!important;align-content:center!important;
    height:auto!important;min-height:76px!important;flex:0 0 auto!important;padding:10px 18px!important;gap:10px 14px!important;
  }
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav{
    order:3!important;flex:1 0 100%!important;width:100%!important;max-width:100%!important;height:48px!important;min-height:48px!important;
  }
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a{flex:1 1 auto!important;min-width:0!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-actions{margin-inline-start:auto!important;}
}
@media(max-width:520px){
  body:not(.ticket-view-mode) > header.darkoob-global-header{padding:9px 12px!important;gap:9px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-mark{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:13px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-copy strong{font-size:15px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-brand-copy small{font-size:7px!important;letter-spacing:1.1px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-actions{gap:6px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-login,
  body:not(.ticket-view-mode) > header.darkoob-global-header .darkoob-header-register{min-height:36px!important;padding:0 9px!important;font-size:10px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav{height:44px!important;min-height:44px!important;padding:4px!important;}
  body:not(.ticket-view-mode) > header.darkoob-global-header > nav.darkoob-header-nav > a{height:36px!important;min-height:36px!important;padding:0 7px!important;font-size:11px!important;}
}


/* V3.19 — single-page public landing experience; no global header. */
body.page-home{height:auto!important;min-height:100vh!important;min-height:100dvh!important;display:block!important;overflow-x:hidden!important;overflow-y:auto!important;background:radial-gradient(ellipse at 78% 8%,#32165c88 0,transparent 34%),radial-gradient(ellipse at 18% 72%,#171b4880 0,transparent 32%),#080812!important;}
body.page-home>main{display:block!important;width:100%!important;max-width:1320px!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;margin:0 auto!important;padding:clamp(26px,4vw,58px) clamp(18px,4.5vw,64px) 56px!important;}
body.page-home>main:before{position:fixed!important;inset:0!important;}
body.page-home .home-hero{min-height:clamp(430px,65vh,650px)!important;padding:clamp(28px,5vh,64px) 0 clamp(30px,4vh,52px)!important;}
body.page-home .home-hero-art{height:clamp(340px,38vw,500px)!important;}
body.page-home .home-tiles{margin:0 0 clamp(60px,8vw,104px)!important;}
.landing-section{position:relative;margin:0 0 clamp(64px,8vw,108px);scroll-margin-top:28px;}
.landing-section-heading{max-width:720px;margin:0 auto 30px;text-align:center;}
.landing-eyebrow{display:inline-flex;align-items:center;gap:8px;color:#c4a0ff;font-size:10px;font-weight:900;letter-spacing:2.2px;}
.landing-section-heading h2,.landing-cta h2,.landing-region h2{margin:10px 0 8px;color:#f3edff;font-size:clamp(26px,3.2vw,42px);font-weight:900;letter-spacing:-.7px;}
.landing-section-heading p,.landing-cta p,.landing-region p{margin:0;color:#aaa6c2;font-size:14px;line-height:2.1;}
.landing-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:18px;}
.landing-plan-card{position:relative;overflow:hidden;min-height:270px;padding:26px;border:1px solid #59447788;border-radius:22px;background:linear-gradient(145deg,#211a37ed,#101321f5 72%);box-shadow:0 18px 42px #0004,inset 0 1px #ffffff12;transition:transform .25s,border-color .25s,box-shadow .25s;}
.landing-plan-card:before{content:"";position:absolute;width:190px;height:190px;right:-95px;top:-110px;border-radius:50%;background:#9860ff2b;filter:blur(12px);pointer-events:none;}
.landing-plan-card:hover{transform:translateY(-6px);border-color:#a77affbb;box-shadow:0 24px 48px #0006,0 0 25px #8e55ff18;}
.landing-plan-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#9b62ff28;border:1px solid #a77aff55;color:#d9c2ff;font-size:19px;}
.landing-plan-card h3{margin:18px 0 10px;font-size:19px;color:#f1eaff;}
.landing-plan-price{font-size:clamp(25px,2.5vw,34px);font-weight:900;color:#c69aff;}
.landing-plan-meta{display:flex;align-items:center;gap:10px;margin-top:12px;color:#b9b2cf;font-size:12px;}
.landing-plan-meta i{width:4px;height:4px;border-radius:50%;background:#a77aff;}
.landing-plan-card p{min-height:42px;margin:13px 0 18px;color:#a9a5bf;font-size:12px;line-height:2;}
.landing-action{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;border:1px solid #7854b5;border-radius:11px;background:linear-gradient(110deg,#7045b5,#4e3a91);color:#fff;text-decoration:none;font-size:12px;font-weight:800;}
.landing-action span{font-size:18px;}
.landing-empty-plans{grid-column:1/-1;padding:26px;border:1px dashed #594477;border-radius:18px;color:#aaa6c2;text-align:center;}
.landing-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.landing-steps article{display:flex;align-items:flex-start;gap:16px;padding:23px;border:1px solid #3d3458;border-radius:18px;background:linear-gradient(145deg,#19172be8,#101321f5);}
.landing-steps article>span{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#a56aff44,#5140a833);border:1px solid #a77aff66;color:#d8c0ff;font-weight:900;}
.landing-steps h3{margin:1px 0 7px;color:#eee7ff;font-size:16px;}
.landing-steps p{margin:0;color:#aaa6c2;font-size:12px;line-height:2;}
.landing-region{position:relative;display:flex;align-items:center;gap:22px;overflow:hidden;margin:0 0 clamp(64px,8vw,100px);padding:clamp(24px,4vw,42px);border:1px solid #5e4786;border-radius:24px;background:radial-gradient(circle at 85% 50%,#8750ff24,transparent 35%),linear-gradient(110deg,#211934,#111322 72%);box-shadow:0 20px 48px #0004,inset 0 1px #ffffff12;}
.landing-region-mark{flex:0 0 76px;width:76px;height:76px;display:grid;place-items:center;border-radius:22px;border:1px solid #a77aff77;background:linear-gradient(145deg,#9b62ff44,#5140a833);color:#e2d2ff;font-size:24px;font-weight:900;letter-spacing:1px;box-shadow:0 10px 28px #7843cf33;}
.landing-region h2{font-size:clamp(22px,2.7vw,34px);}
.landing-region p{font-size:13px;}
.landing-region-flag{margin-inline-start:auto;color:#c69aff;font-size:36px;text-shadow:0 0 24px #a46cff88;}
.landing-cta{display:flex;align-items:center;justify-content:space-between;gap:26px;padding:clamp(25px,4vw,42px);border:1px solid #49386a;border-radius:24px;background:linear-gradient(115deg,#211735,#111321 70%);box-shadow:0 20px 48px #0004;}
.landing-cta h2{font-size:clamp(23px,2.8vw,35px);}
.landing-cta-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
body.page-home>footer{display:flex!important;justify-content:center;align-items:center;gap:10px;margin:0!important;padding:20px 16px 28px!important;border-top:1px solid #29213d!important;background:#090914!important;color:#817b9c!important;font-size:11px!important;}
body.page-home>footer img{width:150px;height:auto;max-height:58px;object-fit:contain;}
@media(max-width:850px){.landing-steps{grid-template-columns:1fr;}.landing-cta{align-items:flex-start;flex-direction:column;}.landing-cta-actions{width:100%;}}
@media(max-width:650px){body.page-home>main{padding:20px 16px 38px!important;}body.page-home .home-hero{min-height:0!important;padding:18px 0 28px!important;}body.page-home .home-tiles{margin-bottom:62px!important;}.landing-section{margin-bottom:64px;}.landing-section-heading{margin-bottom:22px;}.landing-section-heading p{font-size:12px;}.landing-plan-grid{grid-template-columns:1fr;gap:12px;}.landing-plan-card{min-height:0;padding:22px;}.landing-region{gap:14px;padding:20px;}.landing-region-mark{flex-basis:54px;width:54px;height:54px;border-radius:16px;font-size:18px;}.landing-region-flag{display:none;}.landing-cta-actions{flex-direction:column;align-items:stretch;}.landing-cta-actions .btn{width:100%;text-align:center;}}


/* V3.27 — fixed, compact access header for the public landing page only. */
body.page-home > .landing-fixed-header{
  position:fixed!important;z-index:1000!important;top:0!important;left:0!important;right:0!important;
  min-height:76px!important;width:100%!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;gap:20px!important;padding:10px clamp(18px,5vw,72px)!important;
  background:rgba(9,9,20,.88)!important;border-bottom:1px solid rgba(167,122,255,.22)!important;
  box-shadow:0 12px 34px rgba(0,0,0,.28)!important;backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
body.page-home .landing-header-brand{display:inline-flex!important;align-items:center!important;gap:11px!important;
  color:#f5efff!important;text-decoration:none!important;min-width:0!important;}
body.page-home .landing-header-brand img{width:174px!important;height:58px!important;object-fit:contain!important;
  filter:drop-shadow(0 0 12px rgba(158,105,255,.35))!important;}
body.page-home .landing-header-brand span{display:none!important;}
body.page-home .landing-header-brand strong{font-size:18px!important;font-weight:900!important;line-height:1.2!important;}
body.page-home .landing-header-brand small{font-size:8px!important;letter-spacing:1.5px!important;color:#a99ac8!important;direction:ltr!important;}
body.page-home .landing-header-actions{display:flex!important;align-items:center!important;gap:10px!important;}
body.page-home .landing-header-actions a{min-height:42px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  padding:0 20px!important;border-radius:12px!important;text-decoration:none!important;font:800 12px Tahoma,Arial,sans-serif!important;
  transition:transform .2s,box-shadow .2s,border-color .2s!important;white-space:nowrap!important;}
body.page-home .landing-header-login{color:#eee6ff!important;background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(177,148,226,.34)!important;}
body.page-home .landing-header-register{color:#fff!important;background:linear-gradient(115deg,#9a5cff,#6740bd)!important;
  border:1px solid rgba(202,169,255,.55)!important;box-shadow:0 7px 22px rgba(125,76,220,.3)!important;}
body.page-home .landing-header-actions a:hover{transform:translateY(-2px)!important;box-shadow:0 10px 26px rgba(130,83,220,.3)!important;}
body.page-home > main{padding-top:112px!important;}
@media(max-width:600px){
  body.page-home > .landing-fixed-header{min-height:66px!important;padding:8px 12px!important;gap:8px!important;}
  body.page-home .landing-header-brand{gap:7px!important;}
  body.page-home .landing-header-brand img{width:142px!important;height:48px!important;}
  body.page-home .landing-header-brand strong{font-size:15px!important;}
  body.page-home .landing-header-brand small{font-size:6px!important;letter-spacing:1px!important;}
  body.page-home .landing-header-actions{gap:6px!important;}
  body.page-home .landing-header-actions a{min-height:36px!important;padding:0 10px!important;border-radius:10px!important;font-size:10px!important;}
  body.page-home > main{padding-top:88px!important;}
}

/* V3.29 — cooperation-only closing card; preserve V3.27 landing layout. */
body.page-home .landing-cooperation{
  border-color:rgba(155,112,224,.38)!important;
  background:radial-gradient(ellipse at 85% 0%,rgba(116,72,184,.16),transparent 55%),linear-gradient(115deg,#211735,#111321 70%)!important;
}
body.page-home .landing-cooperation .landing-cta-actions{flex:0 0 auto!important;}


/* V3.30 — hide the homepage scrollbar chrome only; keep native page scrolling enabled. */
html, body.page-home {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
html::-webkit-scrollbar,
body.page-home::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}


/* V3.31 — consistent return link on login and registration screens */
.auth { position: relative; }
.auth-back-home {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid rgba(171, 126, 255, .34);
  border-radius: 12px;
  background: rgba(18, 15, 34, .88);
  color: #d8c5ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.auth-back-home:hover {
  background: rgba(104, 61, 190, .28);
  border-color: rgba(190, 151, 255, .7);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .auth-back-home { top: 10px; right: 10px; padding: 8px 11px; font-size: 12px; }
  .auth { margin-top: 62px; }
}


/* V3.34 — simple ticket list, restored on the original ticket workflow */
body.page-tickets .ticket-page-head { margin-bottom:12px !important; }
body.page-tickets .ticket-page-head p { margin:5px 0 0; color:#9294ad; font-size:12px; }
body.page-tickets .ticket-toolbar { margin-bottom:12px !important; }
body.page-tickets .ticket-board { margin-top:0 !important; }
body.page-tickets .ticket-board-title { min-height:54px; }
body.page-tickets .ticket-table th, body.page-tickets .ticket-table td { padding:15px 18px; }
body.page-tickets .ticket-table td small { display:block; margin-top:5px; color:#858ba4; font-size:11px; }
body.page-tickets .ticket-email-cell { direction:ltr; text-align:right; color:#aeb5c8; font-size:12px; }


/* V3.36 — admin ticket overview grouped by requester, preserving the existing ticket page design */
body.page-tickets .ticket-users-summary-table { min-width:820px; }
body.page-tickets .ticket-users-summary-table th,
body.page-tickets .ticket-users-summary-table td { white-space:nowrap; }
body.page-tickets .ticket-users-summary-table td { vertical-align:middle; }
body.page-tickets .ticket-user-open-link {
  display:inline-flex; flex-direction:column; gap:5px; color:#e7e5f5;
  font-weight:800; text-decoration:none; transition:color .18s ease;
}
body.page-tickets .ticket-user-open-link:hover { color:#b996ff; }
body.page-tickets .ticket-user-open-link span { color:#a98af0; font-size:10px; font-weight:600; }
body.page-tickets .ticket-user-total { color:#e5e7f3; font-size:14px; }
body.page-tickets .ticket-user-count {
  display:inline-flex; min-width:34px; justify-content:center; padding:5px 9px;
  border-radius:9px; font-size:12px; font-weight:800;
  background:rgba(145,150,175,.09); color:#c5c9d8;
}
body.page-tickets .ticket-user-count.is-open { color:#f2bd65; background:rgba(242,189,101,.10); }
body.page-tickets .ticket-user-count.is-answered { color:#75b8ff; background:rgba(91,159,240,.10); }
body.page-tickets .ticket-user-count.is-closed { color:#55d6b4; background:rgba(63,198,157,.10); }


/* V3.38 — admin-only whole-row click; seller/customer ticket UI restored */
body.page-tickets .ticket-users-summary-table tbody tr {
  position: relative;
  cursor: pointer;
  transition: background .18s ease;
}
body.page-tickets .ticket-users-summary-table tbody tr:hover {
  background: rgba(126, 87, 194, .12);
}
/* V3.66 — full-row hover and accessible activation for ticket user list */
body.page-tickets .ticket-users-summary-table tbody tr.ticket-user-row {
  cursor:pointer;
  outline:none;
  transition:background-color .18s ease,box-shadow .18s ease;
}
body.page-tickets .ticket-users-summary-table tbody tr.ticket-user-row:hover > td {
  background:rgba(126,87,194,.16)!important;
}
body.page-tickets .ticket-users-summary-table tbody tr.ticket-user-row:hover {
  box-shadow:inset 0 1px 0 rgba(185,150,255,.18),inset 0 -1px 0 rgba(185,150,255,.18);
}
body.page-tickets .ticket-users-summary-table tbody tr.ticket-user-row:focus-visible > td {
  background:rgba(126,87,194,.20)!important;
}
body.page-tickets .ticket-users-summary-table tbody tr.ticket-user-row:focus-visible {
  outline:2px solid #a77af0;
  outline-offset:-2px;
}
body.page-tickets .ticket-users-summary-table tbody tr.ticket-user-row > td {
  transition:background-color .18s ease,color .18s ease;
}
body.page-tickets .ticket-users-summary-table tbody tr.ticket-user-row:hover .ticket-user-total {
  color:#c8a9ff;
}


/* V3.39 — ticket status overview layout, adapted to Darkoob purple theme */
body.page-tickets .ticket-tabs{
  border-bottom:1px solid #302747!important;
  background:linear-gradient(180deg,rgba(30,22,52,.30),rgba(12,12,25,0))!important;
}
body.page-tickets .ticket-tab{
  color:#b9afce!important;
  text-decoration:none!important;
  transition:color .18s ease,transform .18s ease;
}
body.page-tickets .ticket-tab svg{
  fill:#b9a9d6!important;
  stroke:#b9a9d6!important;
}
body.page-tickets .ticket-tab.selected{color:#c49aff!important;}
body.page-tickets .ticket-tab.selected svg{
  fill:#9b69e8!important;
  stroke:#9b69e8!important;
}
body.page-tickets .ticket-tab b{
  background:#29203d!important;
  color:#d8c5ff!important;
  border:1px solid #49336b!important;
}
body.page-tickets .ticket-tab .ticket-check{
  fill:#36c9a5!important;stroke:#36c9a5!important;
}
body.page-tickets .ticket-tab .ticket-check-line{
  fill:none!important;stroke:#10251f!important;
}
body.page-tickets .ticket-tab .ticket-clock{
  fill:#f0ad45!important;stroke:#f0ad45!important;
}
body.page-tickets .ticket-tab .ticket-clock-line{
  fill:none!important;stroke:#3b2606!important;
}
body.page-tickets .ticket-table td:nth-last-child(3){white-space:nowrap;}
body.page-tickets .ticket-tab:hover{color:#e2ceff!important;transform:translateY(-1px);}
@media(max-width:800px){
  body.page-tickets .ticket-tabs{gap:5px!important;}
  body.page-tickets .ticket-tab{min-width:0!important;}
}


/* V3.40 — clear two-type selector in admin pricing settings */
body.page-pricing .pricing-type-label{display:block;margin-bottom:12px;font-weight:800;color:#eee8fb;}
body.page-pricing .pricing-type-options{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:10px 0 22px;
}
body.page-pricing .pricing-type-option{
  position:relative;display:flex;align-items:center;gap:13px;min-height:86px;
  padding:16px 18px;border:1px solid rgba(167,139,250,.22);border-radius:15px;
  background:linear-gradient(145deg,rgba(34,25,54,.78),rgba(15,15,29,.92));
  cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease;
}
body.page-pricing .pricing-type-option:hover{border-color:rgba(185,145,255,.65);transform:translateY(-1px);}
body.page-pricing .pricing-type-option input{
  position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;
}
body.page-pricing .pricing-type-option.is-selected{
  border-color:#9b6bea;background:linear-gradient(145deg,rgba(83,49,128,.38),rgba(29,21,46,.96));
  box-shadow:0 0 0 1px rgba(155,107,234,.16),0 10px 28px rgba(0,0,0,.16);
}
body.page-pricing .pricing-type-icon{
  display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;
  color:#d8bdff;background:rgba(151,105,225,.17);font-size:25px;font-weight:800;
}
body.page-pricing .pricing-type-copy{display:flex;flex-direction:column;gap:5px;min-width:0;}
body.page-pricing .pricing-type-copy strong{color:#f1eaff;font-size:14px;}
body.page-pricing .pricing-type-copy small{color:#aaa0bd;font-size:11px;line-height:1.7;}
body.page-pricing .pricing-type-check{
  display:grid;place-items:center;margin-right:auto;flex:0 0 22px;width:22px;height:22px;
  border:1px solid #66547f;border-radius:50%;color:transparent;font-size:12px;
}
body.page-pricing .pricing-type-option.is-selected .pricing-type-check{
  color:#fff;background:#8958d2;border-color:#a77ae8;
}
body.page-pricing .pricing-type-option:focus-within{outline:2px solid #b58af0;outline-offset:3px;}
@media(max-width:650px){body.page-pricing .pricing-type-options{grid-template-columns:1fr;}}


/* V3.41 — multi-platform selection for seller config creation */
body.page-create_config .platform-select-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0 18px;}
body.page-create_config .platform-choice{position:relative;display:flex;align-items:center;gap:11px;min-height:66px;padding:12px 14px;border:1px solid rgba(167,139,250,.22);border-radius:13px;background:linear-gradient(145deg,rgba(34,25,54,.72),rgba(15,15,29,.9));cursor:pointer;transition:.18s ease;}
body.page-create_config .platform-choice:hover{border-color:rgba(185,145,255,.65);}
body.page-create_config .platform-choice input{position:absolute;opacity:0;width:1px;height:1px;}
body.page-create_config .platform-choice:has(input:checked){border-color:#9868df;background:rgba(103,66,153,.24);box-shadow:0 0 0 1px rgba(152,104,223,.12);}
body.page-create_config .platform-choice-mark{display:grid;place-items:center;width:22px;height:22px;border:1px solid #66547f;border-radius:6px;color:transparent;flex:0 0 22px;}
body.page-create_config .platform-choice input:checked+.platform-choice-mark{background:#8958d2;border-color:#a77ae8;color:#fff;}
body.page-create_config .platform-choice>span:last-child{display:flex;flex-direction:column;gap:3px;}
body.page-create_config .platform-choice strong{color:#f1eaff;font-size:13px;}
body.page-create_config .platform-choice small{color:#aaa0bd;font-size:11px;}
body.page-create_config .platform-choice-all{grid-column:1/-1;border-style:dashed;}
body.page-create_config .platform-choice:focus-within{outline:2px solid #b58af0;outline-offset:2px;}
@media(max-width:560px){body.page-create_config .platform-select-grid{grid-template-columns:1fr;}}


/* V3.42 — config creation type selector */
body.page-create_config .config-mode-label{display:block;margin:4px 0 10px;font-weight:800;color:#eee8fb;}
body.page-create_config .config-mode-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 20px;}
body.page-create_config .config-mode-card{position:relative;display:flex;align-items:center;gap:12px;min-height:82px;padding:14px;border:1px solid rgba(167,139,250,.22);border-radius:14px;background:linear-gradient(145deg,rgba(34,25,54,.78),rgba(15,15,29,.92));cursor:pointer;transition:.18s ease;}
body.page-create_config .config-mode-card:hover{border-color:rgba(185,145,255,.65);transform:translateY(-1px);}
body.page-create_config .config-mode-card input{position:absolute;opacity:0;width:1px;height:1px;}
body.page-create_config .config-mode-card.is-selected{border-color:#9b6bea;background:linear-gradient(145deg,rgba(83,49,128,.38),rgba(29,21,46,.96));box-shadow:0 0 0 1px rgba(155,107,234,.16);}
body.page-create_config .config-mode-symbol{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;color:#d8bdff;background:rgba(151,105,225,.17);font-size:25px;font-weight:800;}
body.page-create_config .config-mode-copy{display:flex;flex-direction:column;gap:5px;}
body.page-create_config .config-mode-copy strong{color:#f1eaff;font-size:14px;}
body.page-create_config .config-mode-copy small{color:#aaa0bd;font-size:11px;line-height:1.7;}
body.page-create_config .config-mode-tick{margin-right:auto;color:transparent;border:1px solid #66547f;border-radius:50%;width:22px;height:22px;display:grid;place-items:center;}
body.page-create_config .config-mode-card.is-selected .config-mode-tick{color:white;background:#8958d2;border-color:#a77ae8;}
body.page-create_config .config-mode-card:focus-within{outline:2px solid #b58af0;outline-offset:3px;}
@media(max-width:650px){body.page-create_config .config-mode-options{grid-template-columns:1fr;}}

/* V3.44: optional seller-specific username prefix */
body.page-create_config .custom-prefix-toggle{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;margin:16px 0 10px;border:1px solid rgba(167,139,250,.24);border-radius:13px;background:linear-gradient(145deg,rgba(34,25,54,.72),rgba(15,15,29,.88));cursor:pointer;}
body.page-create_config .custom-prefix-copy{display:flex;flex-direction:column;gap:5px;}
body.page-create_config .custom-prefix-toggle strong{color:#eee8fb;font-size:13px;}
body.page-create_config .custom-prefix-toggle small{color:#aaa0bd;font-size:11px;line-height:1.7;}
body.page-create_config .custom-prefix-switch{position:relative;display:inline-flex;flex:0 0 48px;width:48px;height:28px;align-items:center;}
body.page-create_config .custom-prefix-switch input{position:absolute;inset:0;z-index:2;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;}
body.page-create_config .custom-prefix-switch-track{position:relative;display:block;width:48px;height:28px;border-radius:99px;background:#51485f;border:1px solid rgba(255,255,255,.12);transition:background .2s,border-color .2s;}
body.page-create_config .custom-prefix-switch-track:after{content:"";position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:50%;background:#f4efff;box-shadow:0 2px 6px rgba(0,0,0,.3);transition:transform .2s;}
body.page-create_config .custom-prefix-switch input:checked + .custom-prefix-switch-track{background:#8654cf;border-color:#a77be8;}
body.page-create_config .custom-prefix-switch input:checked + .custom-prefix-switch-track:after{transform:translateX(-20px);}
body.page-create_config .custom-prefix-switch input:focus-visible + .custom-prefix-switch-track{outline:2px solid #c7a8ff;outline-offset:3px;}
body.page-create_config #custom-prefix-field{margin:8px 0 14px;}

/* Seller duration choices: selectable cards instead of a dropdown */
.duration-choice-grid{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 16px}
.duration-choice{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:104px;min-height:48px;padding:10px 18px;border:1px solid var(--border-color,#ddd);border-radius:12px;background:var(--card-bg,#fff);color:var(--text-color,inherit);cursor:pointer;transition:border-color .18s,background .18s,box-shadow .18s}
.duration-choice input{position:absolute;opacity:0;pointer-events:none}
.duration-choice span{font-weight:700}
.duration-choice:has(input:checked){border-color:var(--primary,#7950c8);background:rgba(121,80,200,.12);box-shadow:0 0 0 2px rgba(121,80,200,.12)}
.duration-choice:focus-within{outline:2px solid var(--primary,#7950c8);outline-offset:2px}


/* V3.48 — polished duration selection cards, aligned with Darkoob purple theme */
body.page-create_config .duration-choice-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:12px;
  margin:12px 0 20px;padding:4px 0;
}
body.page-create_config .duration-choice{
  position:relative;display:flex;align-items:center;justify-content:center;
  min-width:0;min-height:64px;padding:13px 16px;margin:0;
  border:1px solid #392b55;border-radius:14px;
  background:linear-gradient(145deg,#19152a 0%,#111222 100%);
  color:#dcd4ef;font-size:14px;font-weight:700;cursor:pointer;
  box-shadow:inset 0 1px 0 #ffffff08,0 5px 14px #0002;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.page-create_config .duration-choice:hover{
  border-color:#8d62c9;background:linear-gradient(145deg,#241a39,#17152b);
  transform:translateY(-2px);
}
body.page-create_config .duration-choice input{
  position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;margin:0;
}
body.page-create_config .duration-choice span{
  display:flex;align-items:center;justify-content:center;gap:7px;
  color:inherit;font-size:14px;font-weight:800;line-height:1.5;
}
body.page-create_config .duration-choice span:before{
  content:"";width:8px;height:8px;border-radius:50%;
  background:#66547f;box-shadow:0 0 0 4px #66547f20;transition:all .18s ease;
}
body.page-create_config .duration-choice:has(input:checked){
  border-color:#a879f0;
  background:linear-gradient(135deg,#38245a 0%,#211936 100%);
  color:#fff;box-shadow:0 0 0 2px #a879f033,0 9px 22px #0004,inset 0 1px 0 #ffffff12;
}
body.page-create_config .duration-choice:has(input:checked) span:before{
  background:#c8a6ff;box-shadow:0 0 0 4px #a879f033,0 0 12px #a879f088;
}
body.page-create_config .duration-choice:focus-within{outline:2px solid #c5a0ff;outline-offset:3px;}
@media(max-width:560px){body.page-create_config .duration-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}body.page-create_config .duration-choice{min-height:58px;padding:10px 8px;}}

/* Admin subscription-duration management */
.duration-admin-page{max-width:1120px;margin:0 auto;padding-bottom:24px}
.duration-admin-heading{align-items:flex-end;margin-bottom:24px}
.duration-admin-eyebrow{display:inline-block;color:#b69aff;font-size:10px;font-weight:800;letter-spacing:1.8px;margin-bottom:7px}
.duration-admin-heading h1{font-size:25px!important;margin:0 0 7px!important;color:#f5efff}
.duration-add-panel{display:grid;grid-template-columns:auto minmax(180px,1fr) minmax(300px,1.35fr);align-items:center;gap:18px;padding:22px;border:1px solid rgba(164,125,255,.24);border-radius:20px;background:linear-gradient(115deg,rgba(103,65,171,.22),rgba(34,28,52,.88));box-shadow:0 14px 38px rgba(0,0,0,.16);margin-bottom:30px}
.duration-add-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#9a70f2,#6842b5);color:#fff;font-size:31px;box-shadow:0 8px 22px rgba(123,79,206,.3)}
.duration-add-copy h2,.duration-list-heading h2{font-size:16px;margin:0 0 6px;color:#f3edff}
.duration-add-copy p,.duration-list-heading p{font-size:12px;color:#aaa3bd;margin:0;line-height:1.8}
.duration-add-form{display:flex;align-items:center;gap:9px;position:relative}
.duration-add-form input{height:46px!important;min-width:0;flex:1;padding:0 14px!important;border-radius:12px!important;border:1px solid rgba(185,157,239,.28)!important;background:rgba(15,12,25,.7)!important;color:#fff!important}
.duration-days-suffix{color:#c9b6ed;margin-right:-42px;z-index:1;pointer-events:none;font-size:12px}
.duration-add-form button{height:46px;white-space:nowrap;border-radius:12px;padding:0 20px;background:linear-gradient(135deg,#9468e8,#7046bd);box-shadow:0 6px 18px rgba(112,70,189,.22)}
.duration-list-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 2px 14px}
.duration-count{font-size:11px;color:#c6b5e7;background:rgba(143,103,210,.13);border:1px solid rgba(163,128,220,.2);padding:7px 12px;border-radius:30px;white-space:nowrap}
.duration-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,1fr));gap:13px}
.duration-admin-card{border:1px solid rgba(164,140,202,.17);border-radius:17px;padding:16px;background:linear-gradient(145deg,rgba(42,35,59,.92),rgba(27,24,39,.96));box-shadow:0 8px 24px rgba(0,0,0,.12);transition:transform .18s,border-color .18s,box-shadow .18s}
.duration-admin-card:hover{transform:translateY(-2px);border-color:rgba(164,125,255,.42);box-shadow:0 12px 28px rgba(0,0,0,.2)}
.duration-admin-card-top{display:flex;align-items:center;gap:7px;color:#aaa3bd;font-size:11px}
.duration-status-dot{width:7px;height:7px;border-radius:50%;background:#8d8a9b}
.duration-admin-card.is-active .duration-status-dot{background:#45d6a0;box-shadow:0 0 0 4px rgba(69,214,160,.1)}
.duration-admin-card.is-active .duration-status-text{color:#72dfb4}
.duration-admin-check{margin-right:auto;color:#a88ae1;font-size:18px}
.duration-admin-value{font-size:34px;font-weight:850;letter-spacing:-1px;color:#f4efff;margin:17px 0 15px;line-height:1}
.duration-admin-value small{font-size:13px;font-weight:600;letter-spacing:0;color:#bcb2d0;margin-right:7px}
.duration-admin-actions{display:flex;gap:8px;border-top:1px solid rgba(180,160,215,.12);padding-top:12px}
.duration-admin-actions form{margin:0;flex:1;min-width:0}
.duration-admin-actions button{width:100%;min-height:34px;padding:6px 8px!important;font-size:11px!important;border-radius:9px!important;white-space:nowrap}
.duration-toggle-btn{background:rgba(139,101,210,.17)!important;border:1px solid rgba(160,125,220,.26)!important;color:#d9c8fa!important}
.duration-delete-btn{background:rgba(220,75,97,.1)!important;border:1px solid rgba(220,75,97,.25)!important;color:#ff9ba9!important}
.duration-empty-state{padding:38px 18px;text-align:center;border:1px dashed rgba(167,137,214,.3);border-radius:18px;background:rgba(40,32,57,.35);color:#bdb2d0}
.duration-empty-state>span{display:block;font-size:30px;color:#a987e5;margin-bottom:10px}
.duration-empty-state strong{display:block;color:#eee6fa;font-size:14px}
.duration-empty-state p{font-size:12px;margin:7px 0 0;color:#a9a0ba}
@media(max-width:760px){.duration-add-panel{grid-template-columns:auto 1fr;gap:13px;padding:17px}.duration-add-form{grid-column:1/-1}.duration-admin-heading{align-items:flex-start}.duration-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.duration-admin-grid{grid-template-columns:1fr}.duration-add-form{flex-wrap:wrap}.duration-add-form input{flex-basis:100%}.duration-days-suffix{position:absolute;right:14px;top:15px;margin:0}.duration-add-form button{width:100%}}

/* v3.51: repair subscription-duration add form layout */
.duration-add-panel{
  grid-template-columns:56px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  column-gap:16px;
  row-gap:18px;
  padding:24px;
}
.duration-add-icon{grid-column:1;grid-row:1;width:56px;height:56px;flex:none}
.duration-add-copy{grid-column:2;grid-row:1;min-width:0}
.duration-add-copy h2{font-size:17px;line-height:1.6}
.duration-add-copy p{max-width:620px}
.duration-add-form{
  grid-column:1/-1;
  grid-row:2;
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  min-width:0;
  direction:rtl;
  padding-top:16px;
  border-top:1px solid rgba(190,163,238,.13);
}
.duration-add-form>.sr-only{
  position:absolute!important;
  width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;border:0!important;
}
.duration-add-form input{
  display:block;
  flex:1 1 220px;
  width:100%;
  max-width:none;
  height:50px!important;
  box-sizing:border-box;
  font-size:14px!important;
}
.duration-days-suffix{
  flex:0 0 auto;
  margin:0!important;
  padding:0 5px;
  color:#cbb8ed;
  font-size:13px;
  white-space:nowrap;
}
.duration-add-form button{
  flex:0 0 auto;
  min-width:142px;
  height:50px;
  font-size:13px;
}
@media(max-width:760px){
  .duration-add-panel{grid-template-columns:48px minmax(0,1fr);padding:18px;gap:13px}
  .duration-add-icon{width:48px;height:48px}
  .duration-add-form{grid-column:1/-1;grid-row:2;flex-wrap:wrap}
  .duration-add-form input{flex:1 1 180px}
  .duration-add-form button{min-width:120px}
}
@media(max-width:440px){
  .duration-add-panel{padding:15px}
  .duration-add-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .duration-add-form input{grid-column:1/-1;grid-row:1}
  .duration-days-suffix{grid-column:2;grid-row:2}
  .duration-add-form button{grid-column:1;grid-row:2;width:100%;min-width:0}
}

/* V3.52 — unify the expanded account menu with Darkoob's purple admin theme */
.layout>aside .sidebar-account-card.is-open .sidebar-account-details{width:100%!important;box-sizing:border-box!important;padding:2px 0 0!important}
.layout>aside .sidebar-account-card .sidebar-account-primary{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:46px!important;box-sizing:border-box!important;
  margin:4px 0 10px!important;padding:10px 14px!important;
  border:1px solid #7650b5!important;border-radius:13px!important;
  background:linear-gradient(135deg,#7948c8 0%,#5b38a5 100%)!important;
  color:#fff!important;font-size:13px!important;font-weight:800!important;
  line-height:1.5!important;text-align:center!important;text-decoration:none!important;
  box-shadow:inset 0 1px 0 #ffffff24,0 6px 16px #5b38a544!important;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important
}
.layout>aside .sidebar-account-card .sidebar-account-primary:hover{
  filter:brightness(1.1)!important;transform:translateY(-1px)!important;
  box-shadow:inset 0 1px 0 #ffffff2e,0 9px 20px #5b38a566!important
}
.layout>aside .sidebar-account-card .sidebar-account-primary:focus-visible{outline:2px solid #c5a5ff!important;outline-offset:3px!important}
.layout>aside .sidebar-account-card .sidebar-account-link{
  min-height:42px!important;padding:0 8px!important;border-top:1px solid #ffffff12!important;
  color:#c7c5d8!important;font-size:12px!important;transition:color .18s ease,background .18s ease!important
}
.layout>aside .sidebar-account-card .sidebar-account-link:hover{color:#d8c1ff!important;background:#9b5cff0c!important}
.layout>aside .sidebar-account-card .sidebar-account-logout{
  min-height:48px!important;margin-top:7px!important;padding:9px 8px 2px!important;
  border-top:1px solid #ffffff16!important;font-size:12px!important
}

/* V3.53 — polished plan management inside accounting */
.plans-admin-page{max-width:1120px;margin:0 auto;padding-bottom:28px}.plans-admin-heading{align-items:flex-end;margin-bottom:22px}.plans-admin-eyebrow{display:inline-block;color:#b69aff;font-size:10px;font-weight:800;letter-spacing:1.8px;margin-bottom:7px}.plans-admin-heading h1{font-size:25px!important;margin:0 0 7px!important;color:#f5efff}.plans-admin-heading p{margin:0;color:#a9a1bd;font-size:13px}.plans-admin-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0 0 20px}.plans-admin-stats>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;padding:15px 17px;border:1px solid rgba(164,140,202,.17);border-radius:15px;background:linear-gradient(145deg,rgba(39,31,57,.92),rgba(20,18,32,.96))}.plans-admin-stats>div>span{grid-row:1/3;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#9b5cff20;color:#c4a0ff;font-size:20px}.plans-admin-stats small{color:#a9a1bd;font-size:11px}.plans-admin-stats strong{font-size:21px;color:#f4efff}.plans-create-panel{padding:20px;border:1px solid rgba(164,140,202,.2);border-radius:18px;background:linear-gradient(145deg,rgba(34,27,51,.96),rgba(18,17,31,.98));box-shadow:0 12px 30px #0002}.plans-create-heading{display:flex;align-items:center;gap:12px;margin-bottom:17px}.plans-create-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(145deg,#a56bff,#7045c8);color:white;font-size:26px;box-shadow:0 7px 18px #8d55e533}.plans-create-heading h2,.plans-list-heading h2{margin:0;color:#f3edff;font-size:17px}.plans-create-heading p,.plans-list-heading p{margin:4px 0 0;color:#a69db8;font-size:12px}.plans-create-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px;align-items:end}.plans-create-form label{display:block;color:#c8bfd9;font-size:12px;font-weight:600}.plans-create-form input{width:100%;margin:7px 0 0;padding:11px 13px;border:1px solid #39304e;border-radius:10px;background:#100e1c;color:#f5efff;font:inherit;font-size:13px;outline:none;transition:border-color .18s,box-shadow .18s}.plans-create-form input:focus{border-color:#a477ef;box-shadow:0 0 0 3px #9b5cff20}.plans-create-form input::placeholder{color:#777087}.plans-description-field{grid-column:span 2}.plans-create-submit{min-height:42px;align-self:end;white-space:nowrap}.plans-list-heading{display:flex;align-items:center;justify-content:space-between;margin:25px 2px 13px}.plans-list-heading>span{padding:6px 11px;border-radius:30px;background:#211832;border:1px solid #45315f;color:#c6a5ff;font-size:11px}.plans-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:13px}.plans-admin-card{padding:16px;border:1px solid rgba(164,140,202,.17);border-radius:16px;background:linear-gradient(145deg,rgba(42,35,59,.92),rgba(24,21,36,.98));transition:transform .18s,border-color .18s,box-shadow .18s}.plans-admin-card:hover{transform:translateY(-2px);border-color:#9b5cff70;box-shadow:0 12px 25px #0003}.plans-admin-card-top{display:flex;align-items:center;justify-content:space-between}.plans-admin-card-top>small{color:#80788f;font-size:10px}.plans-admin-status{display:inline-flex;align-items:center;gap:7px;color:#72dfb4;font-size:11px}.plans-admin-status i{width:7px;height:7px;border-radius:50%;background:#45d6a0;box-shadow:0 0 0 4px #45d6a018}.plans-admin-card.is-inactive .plans-admin-status{color:#d99b9b}.plans-admin-card.is-inactive .plans-admin-status i{background:#c66a78;box-shadow:0 0 0 4px #c66a7818}.plans-admin-card h3{font-size:17px;color:#f4efff;margin:14px 0 5px}.plans-admin-description{margin:0 0 12px;color:#9d94b0;font-size:11px;line-height:1.8;min-height:20px}.plans-admin-specs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0;padding:11px 0;border-top:1px solid #ffffff12;border-bottom:1px solid #ffffff12}.plans-admin-specs>div,.plans-admin-prices>div{display:flex;flex-direction:column;gap:5px}.plans-admin-specs small,.plans-admin-prices small{color:#a79db8;font-size:10px}.plans-admin-specs strong{color:#e9ddff;font-size:17px}.plans-admin-specs strong small{font-size:10px;color:#b7a9cc}.plans-admin-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.plans-admin-prices strong{font-size:12px;color:#c6a0ff;white-space:nowrap}.plans-admin-toggle{margin-top:14px;padding-top:12px;border-top:1px solid #ffffff12}.plans-admin-toggle button{width:100%;border:1px solid #7652a8;background:#2a2040;color:#d9c4ff}.plans-admin-card.is-inactive .plans-admin-toggle button{border-color:#368b70;background:#15372e;color:#8ce0bf}.plans-empty-state{padding:35px 15px;text-align:center;border:1px dashed #514365;border-radius:15px;color:#a99dbd}.plans-empty-state span{display:block;font-size:28px;color:#b68cff}.plans-empty-state strong{display:block;margin:8px 0;color:#eee5ff}.plans-empty-state p{font-size:12px;margin:0}.accounting-hub-plans .accounting-hub-icon{color:#c6a0ff}
@media(max-width:760px){.plans-admin-heading{align-items:flex-start}.plans-admin-stats{gap:8px}.plans-admin-stats>div{padding:11px;column-gap:8px}.plans-admin-stats>div>span{width:32px;height:32px}.plans-create-form{grid-template-columns:repeat(2,minmax(0,1fr))}.plans-description-field{grid-column:span 2}.plans-create-submit{grid-column:span 2}.plans-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.plans-admin-stats{grid-template-columns:1fr}.plans-create-form{grid-template-columns:1fr}.plans-description-field,.plans-create-submit{grid-column:auto}.plans-admin-grid{grid-template-columns:1fr}}

/* V3.54 — full-card duration selection and responsive account-menu disclosure */
body.page-create_config .duration-choice-grid{align-items:stretch;}
body.page-create_config .duration-choice{
  width:100%;min-height:68px;box-sizing:border-box;margin:0;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;
  transition:background .14s ease,border-color .14s ease,box-shadow .14s ease,transform .14s ease;
}
body.page-create_config .duration-choice:hover{
  border-color:#a879f0!important;
  background:linear-gradient(135deg,#302047 0%,#211a35 100%)!important;
  box-shadow:0 0 0 2px #a879f026,0 8px 20px #0003!important;
  transform:translateY(-2px);
}
body.page-create_config .duration-choice:active{transform:translateY(0) scale(.985);}
body.page-create_config .duration-choice span{width:100%;min-height:100%;pointer-events:none;}
body.page-create_config .duration-choice input{pointer-events:none;}
body.page-create_config .duration-choice:has(input:checked){border-color:#bd94ff!important;}

/* Remove the accumulated legacy hover delays that made the account panel feel stuck. */
.layout>aside .sidebar-account-card,
.layout>aside .sidebar-account-card>*:not(.sidebar-account-top),
.layout>aside .sidebar-account-card.is-open .sidebar-account-details{
  transition-delay:0s!important;
}
.layout>aside .sidebar-account-card{
  transition:max-height .18s ease,padding .18s ease,box-shadow .16s ease,border-color .16s ease!important;
}
.layout>aside .sidebar-account-card.is-open{max-height:480px!important;}
.layout>aside .sidebar-account-card.is-open .sidebar-account-details{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transition:opacity .12s ease,visibility 0s linear 0s!important;
}
@media(prefers-reduced-motion:reduce){
  body.page-create_config .duration-choice,
  .layout>aside .sidebar-account-card,
  .layout>aside .sidebar-account-card>*:not(.sidebar-account-top){transition:none!important;}
}

/* Plans admin: list-first layout with an explicit add action */
.plans-create-panel[hidden]{display:none!important}
.plans-list-actions{display:flex;align-items:center;gap:10px}
.plans-add-toggle{min-height:39px;padding:8px 16px;border:1px solid #8d5bd0!important;border-radius:11px;background:linear-gradient(135deg,#9b5cff,#7045c8)!important;color:#fff!important;font-weight:700;box-shadow:0 6px 18px #8d55e533;white-space:nowrap;transition:transform .18s,filter .18s,box-shadow .18s}
.plans-add-toggle:hover{transform:translateY(-2px);filter:brightness(1.08);box-shadow:0 9px 22px #8d55e544}
.plans-create-panel{margin-top:16px;margin-bottom:20px;animation:plansPanelIn .22s ease-out}
@keyframes plansPanelIn{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:640px){.plans-list-heading{align-items:flex-start;gap:10px}.plans-list-actions{flex-direction:column-reverse;align-items:flex-end;gap:7px}.plans-add-toggle{font-size:11px;padding:7px 11px}}


/* V3.56 — full account-card hover and click target; immediate disclosure */
.layout>aside .sidebar-account-card{
  cursor:pointer!important;
  -webkit-tap-highlight-color:transparent!important;
  transition:max-height .14s ease,padding .14s ease,box-shadow .14s ease,
             border-color .14s ease,background .14s ease!important;
  transition-delay:0s!important;
}
.layout>aside .sidebar-account-card:hover,
.layout>aside .sidebar-account-card:focus-visible{
  border-color:#9b70df!important;
  background:linear-gradient(145deg,#261d43 0%,#172033 100%)!important;
  box-shadow:0 0 0 1px #a879f044,0 10px 26px #0005,0 0 20px #8951e52b!important;
}
.layout>aside .sidebar-account-card:focus-visible{outline:2px solid #a879f0!important;outline-offset:3px!important}
.layout>aside .sidebar-account-card .sidebar-account-top{cursor:pointer!important}
.layout>aside .sidebar-account-card .sidebar-account-details{cursor:default!important}
.layout>aside .sidebar-account-card.is-open{transition:max-height .16s ease,padding .16s ease,box-shadow .14s ease!important}
.layout>aside .sidebar-account-card .sidebar-account-details{transition:opacity .1s ease,visibility 0s linear .1s!important}
.layout>aside .sidebar-account-card.is-open .sidebar-account-details{transition:opacity .1s ease,visibility 0s linear 0s!important}


/* V3.57 — reliable full-surface account-card toggle and smooth close */
.layout>aside .sidebar-account-card{
  cursor:pointer!important;
  transition:max-height .24s cubic-bezier(.22,.7,.25,1),padding .24s ease,
             box-shadow .18s ease,border-color .18s ease,background .18s ease!important;
  transition-delay:0s!important;
}
.layout>aside .sidebar-account-card .sidebar-account-top{width:100%!important;cursor:pointer!important}
.layout>aside .sidebar-account-card .sidebar-account-details{
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transition:opacity .14s ease,visibility 0s linear .24s!important;
}
.layout>aside .sidebar-account-card.is-open{max-height:480px!important;overflow:hidden!important}
.layout>aside .sidebar-account-card.is-open .sidebar-account-details{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transition:opacity .16s ease .04s,visibility 0s linear 0s!important;
}
.layout>aside .sidebar-account-card:not(.is-open){max-height:72px!important;overflow:hidden!important}
.layout>aside .sidebar-account-card:focus-visible{outline:2px solid #a879f0!important;outline-offset:3px!important}
@media(prefers-reduced-motion:reduce){
  .layout>aside .sidebar-account-card,.layout>aside .sidebar-account-card .sidebar-account-details{transition:none!important}
}


/* V3.58 — eliminate max-height close lag and apply hover to the entire account card */
.layout>aside .sidebar-account-card{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:50px 0fr!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  overflow:hidden!important;
  padding:10px 12px!important;margin:0 0 10px!important;
  border:1px solid #3b2c5d!important;border-radius:19px!important;
  background:linear-gradient(145deg,#1b1732 0%,#111827 100%)!important;
  cursor:pointer!important;-webkit-tap-highlight-color:transparent!important;
  transition:grid-template-rows .18s cubic-bezier(.2,.7,.25,1),
             border-color .16s ease,background .16s ease,box-shadow .16s ease!important;
  transition-delay:0s!important;
}
.layout>aside .sidebar-account-card:hover,
.layout>aside .sidebar-account-card:focus-visible{
  border-color:#a879f0!important;
  background:linear-gradient(145deg,#2a2048 0%,#19243a 100%)!important;
  box-shadow:0 0 0 1px #a879f044,0 10px 26px #0005,0 0 22px #8951e533!important;
}
.layout>aside .sidebar-account-card .sidebar-account-top{
  grid-row:1!important;width:100%!important;min-width:0!important;
  min-height:50px!important;height:50px!important;
  padding:0 2px!important;margin:0!important;
  border:0!important;border-radius:11px!important;
  background:transparent!important;cursor:pointer!important;
  transition:background .14s ease!important;
}
.layout>aside .sidebar-account-card:hover .sidebar-account-top{
  background:linear-gradient(90deg,#a879f018,#6d8cff0c)!important;
}
.layout>aside .sidebar-account-card .sidebar-account-details{
  grid-row:2!important;min-height:0!important;max-height:none!important;
  overflow:hidden!important;display:flex!important;flex-direction:column!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  padding:0!important;margin:0!important;
  transition:opacity .10s ease,visibility 0s linear .10s!important;
}
.layout>aside .sidebar-account-card.is-open{
  grid-template-rows:50px 1fr!important;
  box-shadow:0 14px 34px #0006,0 0 22px #8951e533!important;
}
.layout>aside .sidebar-account-card.is-open .sidebar-account-details{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  padding-top:2px!important;
  transition:opacity .12s ease .02s,visibility 0s linear 0s!important;
}
.layout>aside .sidebar-account-card .sidebar-account-details a{cursor:pointer!important}
.layout>aside .sidebar-account-card:focus-visible{outline:2px solid #a879f0!important;outline-offset:3px!important}
@media(prefers-reduced-motion:reduce){
  .layout>aside .sidebar-account-card,.layout>aside .sidebar-account-card .sidebar-account-details{transition:none!important}
}


/* V3.59 — balanced account menu motion: deliberate opening and visible smooth closing */
.layout>aside .sidebar-account-card{
  transition:grid-template-rows .34s cubic-bezier(.22,.72,.24,1),
             border-color .18s ease,background .18s ease,box-shadow .18s ease!important;
  transition-delay:0s!important;
}
.layout>aside .sidebar-account-card:not(.is-open){
  grid-template-rows:50px 0fr!important;
}
.layout>aside .sidebar-account-card.is-open{
  grid-template-rows:50px 1fr!important;
}
.layout>aside .sidebar-account-card .sidebar-account-details{
  min-height:0!important;max-height:none!important;overflow:hidden!important;
  opacity:0!important;visibility:hidden!important;pointer-events:none!important;
  transition:opacity .22s ease,visibility 0s linear .34s!important;
}
.layout>aside .sidebar-account-card.is-open .sidebar-account-details{
  opacity:1!important;visibility:visible!important;pointer-events:auto!important;
  transition:opacity .24s ease .08s,visibility 0s linear 0s!important;
}
.layout>aside .sidebar-account-card .sidebar-account-chevron{
  transition:transform .30s cubic-bezier(.22,.72,.24,1)!important;
}
.layout>aside .sidebar-account-card.is-open .sidebar-account-chevron{transform:rotate(180deg)!important}
@media(prefers-reduced-motion:reduce){
  .layout>aside .sidebar-account-card,.layout>aside .sidebar-account-card .sidebar-account-details,
  .layout>aside .sidebar-account-card .sidebar-account-chevron{transition:none!important}
}


/* V3.60 — deterministic account-menu open/close animation.
   Animate the card and its content independently; avoid grid 1fr/0fr and delayed visibility,
   which caused the close state to snap or appear stuck in some browsers. */
.layout>aside .sidebar-account-card{
  display:flex!important;flex-direction:column!important;gap:0!important;
  box-sizing:border-box!important;height:auto!important;min-height:72px!important;
  max-height:72px!important;overflow:hidden!important;
  transition:max-height .42s cubic-bezier(.22,.68,.2,1),
             padding .42s cubic-bezier(.22,.68,.2,1),
             border-color .22s ease,background .22s ease,box-shadow .22s ease!important;
  transition-delay:0s!important;
}
.layout>aside .sidebar-account-card:not(.is-open){
  max-height:72px!important;padding:10px 12px!important;
}
.layout>aside .sidebar-account-card.is-open{
  max-height:340px!important;padding:10px 12px!important;
}
.layout>aside .sidebar-account-card .sidebar-account-top{
  flex:0 0 50px!important;width:100%!important;min-height:50px!important;height:50px!important;
}
.layout>aside .sidebar-account-card .sidebar-account-details{
  display:flex!important;flex:0 0 auto!important;flex-direction:column!important;
  box-sizing:border-box!important;width:100%!important;min-height:0!important;
  max-height:0!important;overflow:hidden!important;padding:0!important;margin:0!important;
  opacity:0!important;transform:translateY(-7px)!important;
  pointer-events:none!important;visibility:visible!important;
  transition:max-height .38s cubic-bezier(.22,.68,.2,1),
             opacity .20s ease,transform .30s cubic-bezier(.22,.68,.2,1),
             padding .38s ease!important;
  transition-delay:0s!important;
}
.layout>aside .sidebar-account-card.is-open .sidebar-account-details{
  max-height:240px!important;padding:3px 0 0!important;
  opacity:1!important;transform:translateY(0)!important;
  pointer-events:auto!important;
  transition:max-height .42s cubic-bezier(.22,.68,.2,1),
             opacity .26s ease .08s,transform .30s ease .06s,padding .38s ease!important;
}
.layout>aside .sidebar-account-card .sidebar-account-chevron{
  transition:transform .38s cubic-bezier(.22,.68,.2,1),background .2s ease,border-color .2s ease!important;
}
.layout>aside .sidebar-account-card.is-open .sidebar-account-chevron{transform:rotate(180deg)!important}
@media(prefers-reduced-motion:reduce){
  .layout>aside .sidebar-account-card,
  .layout>aside .sidebar-account-card .sidebar-account-details,
  .layout>aside .sidebar-account-card .sidebar-account-chevron{transition:none!important;transform:none!important}
}


/* V3.65 — visually distinguish automated ticket notices from user/admin replies */
.ticket-view-page .ticket-view-message.system-message{
  margin-inline:auto;
  max-width:94%;
  border:1px dashed rgba(167,122,240,.42);
  border-radius:14px;
  background:rgba(126,77,205,.10);
  text-align:center;
}
.ticket-view-page .ticket-view-message.system-message .ticket-message-head{
  justify-content:center;
}
.ticket-view-page .ticket-view-message.system-message .ticket-message-head small,
.ticket-view-page .ticket-view-message.system-message .ticket-message-head span{
  color:#c5a7ff;
}


/* Darkoob V3.68 — role dashboards, inbound manager and OS guide */
.role-dashboard-welcome{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:27px 30px;margin:0 0 22px;border:1px solid rgba(151,111,221,.25);border-radius:22px;background:radial-gradient(circle at 8% 10%,rgba(119,77,190,.22),transparent 36%),linear-gradient(135deg,#171b31,#111827);box-shadow:0 14px 36px rgba(0,0,0,.14)}
.role-dashboard-welcome h2{margin:8px 0;font-size:23px;color:#f4f1ff}.role-dashboard-welcome p{margin:0;color:#aeb6cb;font-size:13px;line-height:1.9}.role-dashboard-welcome .admin-eyebrow{font-size:10px;letter-spacing:1.6px;color:#b99bff}.role-dashboard-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-bottom:22px}.role-dashboard-stats article{min-height:142px;padding:19px 17px;border:1px solid rgba(139,151,181,.17);border-radius:17px;background:linear-gradient(145deg,#1a2033,#131a2a);display:flex;flex-direction:column;gap:9px;min-width:0}.role-dashboard-stats small{color:#aab3c9;font-size:12px}.role-dashboard-stats strong{font-size:21px;color:#fff;line-height:1.5;overflow-wrap:anywhere}.role-dashboard-stats a{font-size:11px;color:#c5aaff;text-decoration:none;margin-top:auto}.role-dashboard-stats span{font-size:11px;color:#8490a8;margin-top:auto}.role-dashboard-recent{margin-bottom:20px}.role-dashboard-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 28px}.role-dashboard-shortcuts a{display:flex;justify-content:space-between;align-items:center;padding:17px 18px;border:1px solid rgba(148,132,190,.2);border-radius:14px;background:#171d2d;color:#e9e5f8;text-decoration:none;font-size:13px;transition:.2s}.role-dashboard-shortcuts a:hover{border-color:#9271ce;transform:translateY(-2px)}.role-dashboard-shortcuts span{color:#b89aff}
.xui-connect-panel{margin-bottom:22px;padding:25px}.xui-connect-panel h2{font-size:18px;margin:0 0 18px}.xui-connect-panel form{max-width:650px}.xui-connect-panel input{width:100%}.xui-connect-panel .btn{margin-top:10px}.xui-connect-panel .muted{font-size:12px;line-height:1.9}
.guide-page-head{margin-bottom:24px}.guide-page-head h1{margin:8px 0}.guide-page-head p{line-height:1.9}.os-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.os-guide-card{display:flex;align-items:flex-start;gap:18px;padding:23px;border:1px solid rgba(153,130,202,.22);border-radius:19px;background:linear-gradient(145deg,#1b2034,#121a2a);min-height:190px}.os-guide-icon{flex:0 0 54px;height:54px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,#6947a4,#342d61);color:white;font-size:27px;box-shadow:0 8px 20px #0003}.os-guide-card small{font-size:9px;letter-spacing:1.1px;color:#b99cff}.os-guide-card h2{font-size:20px;margin:6px 0}.os-guide-card p{font-size:12px;line-height:1.9;color:#aeb7cc;margin:0 0 15px}.os-guide-card .btn{display:inline-flex}.guide-note{margin-top:20px;line-height:2;font-size:13px}
@media(max-width:1100px){.role-dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.role-dashboard-welcome{align-items:stretch;flex-direction:column;padding:22px}.role-dashboard-welcome .btn{width:100%;text-align:center}.role-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.role-dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.os-guide-grid{grid-template-columns:1fr}.os-guide-card{padding:18px;min-height:0}}

/* V3.70.1 — persistent, accessible feedback on the login form */
.login-feedback{display:flex;align-items:center;gap:10px;margin:0 0 16px;padding:12px 14px;border:1px solid rgba(255,105,125,.48);border-radius:12px;background:rgba(100,25,42,.24);color:#ffd9df;text-align:right;font-size:13px;line-height:1.9;box-shadow:0 8px 24px rgba(0,0,0,.16)}
.login-feedback-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 23px;width:23px;height:23px;border-radius:50%;background:#a8324b;color:#fff;font-weight:900;font-size:15px}


/* V3.70.2 — clear red login errors and button-style inbound selection */
.login-feedback{border:1px solid #ff344f!important;background:linear-gradient(135deg,rgba(112,12,31,.96),rgba(65,9,25,.96))!important;color:#fff!important;box-shadow:0 0 0 1px rgba(255,52,79,.16),0 12px 32px rgba(125,0,25,.28)!important}
.login-feedback-icon{background:#ff344f!important;color:#fff!important;box-shadow:0 0 15px rgba(255,52,79,.38)}
.inbound-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin:7px 0 16px}
.inbound-choice{position:relative;display:flex;align-items:center;gap:11px;min-height:66px;padding:12px 13px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(145deg,#17172c,#101020);cursor:pointer;transition:border-color .18s,background .18s,transform .18s; color:var(--text)}
.inbound-choice:hover{border-color:#8e5be9;transform:translateY(-1px)}
.inbound-choice:has(input:checked){border-color:#a66bff;background:linear-gradient(135deg,rgba(107,61,170,.34),rgba(33,37,76,.9));box-shadow:0 0 0 1px rgba(166,107,255,.2),0 8px 24px rgba(74,42,130,.16)}
.inbound-choice input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px;margin:0}
.inbound-choice-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:10px;background:#292044;color:#c8a4ff;font-size:21px}
.inbound-choice-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.inbound-choice-copy strong{font-size:13px}.inbound-choice-copy small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.inbound-choice-check{display:none;place-items:center;width:22px;height:22px;border-radius:50%;background:#a66bff;color:white;font-size:12px}.inbound-choice:has(input:checked) .inbound-choice-check{display:grid}
.inbound-sale-buttons{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.inbound-sale-option{cursor:pointer}.inbound-sale-option input{position:absolute;opacity:0;width:1px;height:1px}.inbound-sale-option span{display:inline-flex;padding:7px 10px;border:1px solid var(--line);border-radius:9px;background:#151525;color:var(--muted);font-size:11px;white-space:nowrap}.inbound-sale-option.is-off input:checked+span{background:rgba(175,44,64,.22);border-color:#e14b61;color:#ffb5c0}.inbound-sale-option.is-on input:checked+span{background:rgba(48,154,111,.18);border-color:#38b889;color:#8be2bd}
@media(max-width:600px){.inbound-choice-grid{grid-template-columns:1fr}.inbound-sale-buttons{min-width:190px}}

/* Darkoob V3.70.3 — glassmorphism inbound selectors */
.inbound-choice-grid{gap:12px}
.inbound-choice{
  isolation:isolate;overflow:hidden;position:relative;
  border:1px solid rgba(198,174,255,.24)!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.105),rgba(255,255,255,.025) 48%,rgba(137,87,205,.09))!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%);
  backdrop-filter:blur(18px) saturate(145%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12),inset 0 -1px 0 rgba(255,255,255,.025),0 8px 24px rgba(0,0,0,.16);
  transition:transform .22s ease,border-color .22s ease,background .22s ease,box-shadow .22s ease;
}
.inbound-choice:before{
  content:"";position:absolute;z-index:-1;inset:-1px;pointer-events:none;
  background:radial-gradient(circle at 12% 0%,rgba(190,151,255,.20),transparent 48%),linear-gradient(115deg,rgba(255,255,255,.07),transparent 42%);
  opacity:.85;
}
.inbound-choice:hover{
  border-color:rgba(194,153,255,.62)!important;
  background:linear-gradient(135deg,rgba(174,132,255,.17),rgba(255,255,255,.045) 55%,rgba(80,65,130,.13))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 12px 30px rgba(73,44,126,.24);
  transform:translateY(-2px);
}
.inbound-choice:has(input:checked){
  border-color:rgba(198,158,255,.88)!important;
  background:linear-gradient(135deg,rgba(145,91,220,.34),rgba(93,77,145,.20) 55%,rgba(255,255,255,.065))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 0 0 1px rgba(178,128,255,.22),0 12px 30px rgba(100,60,165,.28);
}
.inbound-choice-icon{
  border:1px solid rgba(215,190,255,.22)!important;
  background:linear-gradient(145deg,rgba(196,157,255,.24),rgba(255,255,255,.055))!important;
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 4px 12px rgba(0,0,0,.12);
}
.inbound-choice-check{
  border:1px solid rgba(255,255,255,.35);
  background:linear-gradient(145deg,#bd91ff,#7540c4)!important;
  box-shadow:0 3px 12px rgba(125,75,200,.38),inset 0 1px 0 rgba(255,255,255,.25);
}
.inbound-sale-option span{
  border:1px solid rgba(198,174,255,.22)!important;border-radius:11px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.025))!important;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.10);
  transition:background .2s,border-color .2s,box-shadow .2s;
}
.inbound-sale-option.is-off input:checked+span{
  background:linear-gradient(135deg,rgba(225,75,97,.24),rgba(255,255,255,.035))!important;
  border-color:rgba(255,105,126,.72)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 4px 14px rgba(190,50,75,.12);
}
.inbound-sale-option.is-on input:checked+span{
  background:linear-gradient(135deg,rgba(56,184,137,.24),rgba(255,255,255,.035))!important;
  border-color:rgba(74,218,166,.68)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 4px 14px rgba(40,160,115,.12);
}
@media(prefers-reduced-motion:reduce){.inbound-choice,.inbound-sale-option span{transition:none}}

/* Darkoob V3.70.4 — glass segmented choices for panel type and authentication */
.panel-choice-group{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;width:100%;margin:12px auto 20px;padding:7px;border:1px solid rgba(194,169,255,.18);border-radius:16px;background:rgba(12,10,27,.48);-webkit-backdrop-filter:blur(18px) saturate(145%);backdrop-filter:blur(18px) saturate(145%);box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.panel-choice{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;flex:0 1 auto;min-width:205px;min-height:48px;padding:10px 18px;margin:0!important;border:1px solid transparent;border-radius:11px;background:transparent;cursor:pointer;transition:all .2s ease;color:var(--text);text-align:center}
.panel-choice:hover{border-color:rgba(194,153,255,.32);background:rgba(255,255,255,.045)}
.panel-choice:has(input:checked){border-color:rgba(198,158,255,.52);background:linear-gradient(135deg,rgba(145,91,220,.30),rgba(93,77,145,.17));box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 0 20px rgba(100,60,165,.16)}
.panel-choice input{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important}
.panel-choice-mark{display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border:1px solid rgba(206,188,240,.35);border-radius:50%;color:transparent;background:rgba(10,9,25,.3);font-size:11px;font-weight:800}
.panel-choice:has(input:checked) .panel-choice-mark{border-color:#c49aff;background:linear-gradient(145deg,#c49aff,#7746c7);color:#fff;box-shadow:0 0 13px rgba(158,105,230,.45)}
.panel-choice-body{display:flex;min-width:0;flex-direction:column;align-items:center;gap:3px}.panel-choice-body strong{font-size:13px;color:#f4efff}.panel-choice-body small{font-size:10px;color:var(--muted);line-height:1.6}
.compact-panel-choice{margin:9px auto 12px;gap:6px;padding:5px}.compact-panel-choice .panel-choice{min-width:140px;min-height:39px;padding:7px 12px;border-radius:9px}.compact-panel-choice .panel-choice-body strong{font-size:11px}.compact-panel-choice .panel-choice-mark{flex-basis:17px;width:17px;height:17px;font-size:10px}
.panel-choice:focus-within{outline:2px solid rgba(174,132,255,.65);outline-offset:3px}
.panel-choice.is-disabled{opacity:.38;filter:grayscale(.5);cursor:not-allowed;pointer-events:none}
@media(max-width:620px){.panel-choice-group{gap:6px;padding:5px}.panel-choice{flex:1 1 100%;min-width:0;min-height:48px}.compact-panel-choice .panel-choice{flex:1 1 calc(50% - 6px);min-width:0;min-height:42px}}


/* V3.70.6 — centered add-panel form and centered glass selector tabs */
.xui-connect-panel{width:min(100%,980px);margin:0 auto 24px!important;padding:30px clamp(16px,3vw,38px)!important;text-align:center}
.xui-connect-panel h2{text-align:center;margin-bottom:22px}
.xui-connect-panel>form{width:min(100%,680px);max-width:680px;margin:0 auto!important;text-align:center}
.xui-connect-panel>form>label{display:block;text-align:center;margin:16px 0 9px}
.xui-connect-panel>form>input{display:block;width:100%;margin-inline:auto;text-align:center}
.xui-connect-panel .panel-choice-group{justify-content:center;margin:12px auto 20px}
.xui-connect-panel .panel-choice{flex:0 1 245px;min-width:210px}
.xui-connect-panel>form>.muted{max-width:620px;margin:14px auto;text-align:center}
.xui-connect-panel>form>button{display:inline-flex;margin:14px auto 0}
@media(max-width:640px){.xui-connect-panel{padding:20px 14px!important}.xui-connect-panel .panel-choice{flex:1 1 100%;min-width:0}}


/* V3.70.7 — separate panel/API/inbound management hub */
.inbound-management-hub{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:24px}
.inbound-management-hub .accounting-hub-card{min-height:205px;position:relative;overflow:hidden;background:linear-gradient(145deg,rgba(34,27,59,.82),rgba(13,17,34,.88));backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-color:rgba(164,125,255,.25)}
.inbound-management-hub .accounting-hub-card:after{content:"";position:absolute;inset:0 auto 0 0;width:2px;background:linear-gradient(180deg,transparent,rgba(180,139,255,.65),transparent);opacity:.7}
.inbound-management-hub .accounting-hub-card:hover{border-color:rgba(177,133,255,.75);box-shadow:0 14px 38px rgba(93,49,168,.18)}
.inbound-subnav{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:18px 0 22px;padding:9px;border:1px solid rgba(153,119,221,.2);border-radius:16px;background:rgba(17,15,34,.55);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.inbound-subnav a{display:inline-flex;align-items:center;justify-content:center;min-width:150px;padding:11px 18px;border:1px solid transparent;border-radius:11px;color:#bdb4d2;text-decoration:none;font-size:13px;font-weight:700;transition:.18s ease}
.inbound-subnav a:hover{color:#fff;background:rgba(150,105,230,.12);border-color:rgba(162,124,239,.22)}
.inbound-subnav a.active{color:#fff;background:linear-gradient(135deg,rgba(133,83,211,.42),rgba(91,61,150,.32));border-color:rgba(178,137,255,.65);box-shadow:inset 0 1px rgba(255,255,255,.12),0 0 18px rgba(139,92,246,.14)}
.inbound-api-form-panel{max-width:850px;margin:0 auto;padding:26px 30px;border:1px solid rgba(151,119,218,.24);background:linear-gradient(145deg,rgba(25,21,44,.88),rgba(13,16,31,.92));backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.inbound-api-form-panel h2{text-align:center;margin:0 0 22px}
.inbound-api-form-panel .form>label{text-align:center}
.inbound-api-form-panel .form>input{max-width:100%}
.inbound-api-form-panel .panel-choice-group{max-width:620px;margin:0 auto 24px;justify-content:center}
.inbound-api-form-panel .form>button{display:block;margin:20px auto 0;min-width:230px}
.inbound-edit-form{min-width:280px;padding:12px}
@media(max-width:900px){.inbound-management-hub{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.inbound-management-hub{grid-template-columns:1fr}.inbound-subnav{gap:6px}.inbound-subnav a{min-width:0;flex:1;padding:10px 8px;font-size:12px}.inbound-api-form-panel{padding:18px 14px}}

/* V3.70.8 — full-width, focused API setup page with panel-specific fields */
.inbound-api-fullpage{width:100%;max-width:none;margin:0 auto 28px;padding:0 0 28px}
.inbound-api-page-heading{position:relative;display:flex;align-items:center;justify-content:center;min-height:94px;margin:0 0 18px;text-align:center}
.inbound-api-page-heading>div{max-width:760px}
.inbound-api-page-heading>div>span{display:inline-block;margin-bottom:6px;color:#b99aff;font-size:11px;font-weight:800;letter-spacing:.6px}
.inbound-api-page-heading h1{margin:0 0 6px;color:#f5efff;font-size:25px}
.inbound-api-page-heading p{margin:0;color:#a9a1bd;font-size:12px;line-height:1.9}
.inbound-api-page-heading>.finance-return{position:absolute;inset-inline-start:0;top:12px}
.inbound-api-form-panel.xui-connect-panel{width:100%;max-width:none;margin:0 auto!important;padding:clamp(22px,3vw,42px)!important;border:1px solid rgba(151,119,218,.27);border-radius:20px;background:linear-gradient(145deg,rgba(25,21,44,.91),rgba(13,16,31,.96));box-shadow:0 18px 50px rgba(0,0,0,.18);text-align:center}
.inbound-api-form-panel form#inbound-api-create-form{width:100%;max-width:none;margin:0 auto!important;display:flex;flex-direction:column;gap:0;text-align:center}
.inbound-api-form-panel .api-form-section{width:100%;padding:0 0 24px;margin:0 0 22px;border-bottom:1px solid rgba(190,166,235,.12)}
.inbound-api-form-panel .api-form-section-title{display:block;margin:0 0 14px;color:#dcd1f1;font-size:14px;font-weight:800;text-align:center}
.inbound-api-form-panel .panel-type-choice{max-width:760px;margin:0 auto!important}
.inbound-api-form-panel .panel-type-choice .panel-choice{flex:1 1 280px;min-height:68px}
.inbound-api-form-panel .api-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;width:min(100%,1120px);margin:0 auto 18px;text-align:right}
.inbound-api-form-panel .api-form-fields>label{display:block;text-align:right;color:#d0c7e2;font-weight:700}
.inbound-api-form-panel .api-form-fields input{display:block;width:100%;margin:8px 0 0;text-align:right}
.inbound-api-form-panel .api-form-fields small{display:block;margin-top:5px;color:#938ba8;font-size:10px;font-weight:400}
.inbound-api-form-panel .api-auth-mode-wrap{width:100%;margin:8px auto 18px}
.inbound-api-form-panel .auth-choice-group{max-width:760px;margin:0 auto!important}
.inbound-api-form-panel .auth-choice-group .panel-choice{flex:1 1 260px;min-height:60px}
.inbound-api-form-panel [hidden]{display:none!important}
.inbound-api-form-panel .api-form-note{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px 12px;max-width:900px;margin:8px auto 18px;padding:13px 17px;border:1px solid rgba(159,126,220,.2);border-radius:12px;background:rgba(113,77,168,.09);color:#aaa1bd;font-size:11px;line-height:1.9}
.inbound-api-form-panel .api-form-note strong{color:#c8a8ff}
.inbound-api-form-panel .inbound-api-submit{display:inline-flex;align-items:center;justify-content:center;min-width:250px;min-height:48px;margin:6px auto 0}
@media(max-width:700px){.inbound-api-page-heading{padding:42px 8px 8px}.inbound-api-page-heading>.finance-return{top:0}.inbound-api-page-heading h1{font-size:21px}.inbound-api-form-panel.xui-connect-panel{padding:20px 14px!important}.inbound-api-form-panel .api-form-fields{grid-template-columns:1fr;gap:8px}.inbound-api-form-panel .panel-type-choice .panel-choice,.inbound-api-form-panel .auth-choice-group .panel-choice{flex:1 1 100%}}

/* V3.70.12: compact viewport-fitted API setup + clearer responsive layout */
.inbound-api-fullpage{min-height:calc(100vh - 118px);display:flex;flex-direction:column;justify-content:center;gap:clamp(10px,2vh,22px);padding:clamp(8px,1.5vh,18px) 0;overflow:visible}
.inbound-api-page-heading{position:relative;display:flex;align-items:center;justify-content:center;text-align:center;min-height:54px;margin:0!important;padding:0 130px!important}
.inbound-api-page-heading>div{display:flex;flex-direction:column;align-items:center;gap:2px}
.inbound-api-page-heading h1{font-size:clamp(20px,2vw,27px);margin:0!important}
.inbound-api-page-heading p{font-size:12px;margin:2px 0 0!important}
.inbound-api-page-heading>.finance-return{position:absolute;inset-inline-start:0;top:50%;transform:translateY(-50%)}
.inbound-api-form-panel.xui-connect-panel{width:min(100%,1120px);margin:0 auto!important;padding:clamp(16px,2.2vh,26px) clamp(18px,3vw,42px)!important;border-radius:22px}
.inbound-api-form-panel form#inbound-api-create-form{gap:0}
.inbound-api-form-panel .api-form-section{padding-bottom:clamp(10px,1.4vh,17px);margin-bottom:clamp(10px,1.4vh,17px)}
.inbound-api-form-panel .api-form-section-title{margin-bottom:9px;font-size:13px}
.inbound-api-form-panel .panel-type-choice{max-width:700px}
.inbound-api-form-panel .panel-type-choice .panel-choice{min-height:56px;padding:9px 15px}
.inbound-api-form-panel .api-form-fields{gap:10px 18px;margin-bottom:10px}
.inbound-api-form-panel .api-form-fields>label{font-size:12px}
.inbound-api-form-panel .api-form-fields input{height:42px;margin-top:5px}
.inbound-api-form-panel .api-form-fields small{font-size:10px;line-height:1.5}
.inbound-api-form-panel .api-form-note{margin:4px auto 10px;padding:8px 14px;font-size:10px}
.inbound-api-form-panel .inbound-api-submit{min-height:43px;margin-top:4px}
@media(min-width:900px) and (min-height:650px){.inbound-api-fullpage{min-height:calc(100vh - 150px)}.inbound-api-form-panel.xui-connect-panel{max-height:calc(100vh - 205px)}}
@media(max-width:700px){.inbound-api-fullpage{min-height:auto;padding:8px 0 22px}.inbound-api-page-heading{padding:48px 8px 4px!important}.inbound-api-page-heading>.finance-return{top:0;transform:none}.inbound-api-form-panel.xui-connect-panel{max-height:none;padding:17px 13px!important}.inbound-api-form-panel .api-form-fields{grid-template-columns:1fr}.inbound-api-form-panel .panel-type-choice .panel-choice{flex:1 1 100%}}

/* Darkoob 3.70.13 — refined panel management */
.inbound-subnav{display:none!important}
.inbound-api-fullpage{min-height:calc(100vh - 150px);display:flex;flex-direction:column;justify-content:center;max-width:1080px;margin:0 auto;padding:clamp(12px,2vh,26px) clamp(12px,2vw,28px);overflow:visible}
.inbound-api-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 clamp(14px,2vh,24px)}
.inbound-api-page-heading>div{text-align:center;flex:1;order:1}.inbound-api-page-heading>.finance-return{order:0;white-space:nowrap}
.inbound-api-page-heading h1{font-size:clamp(22px,2.2vw,30px);margin:5px 0 6px}.inbound-api-page-heading p{margin:0;color:var(--muted,#aaa)}
.inbound-api-form-panel{width:min(100%,920px);margin:0 auto;padding:clamp(20px,3vw,36px);border:1px solid rgba(177,137,255,.25);border-radius:24px;background:linear-gradient(145deg,rgba(35,25,58,.88),rgba(15,14,29,.94));box-shadow:0 24px 70px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.07);backdrop-filter:blur(20px)}
.inbound-api-form-panel .api-form-section{margin-bottom:clamp(14px,2vh,22px)}
.inbound-api-form-panel .panel-choice-group{justify-content:center;gap:14px}
.inbound-api-form-panel .panel-choice{min-width:min(270px,44%);border-radius:16px;padding:15px 18px;background:rgba(255,255,255,.035);border:1px solid rgba(190,160,255,.18);transition:.2s ease}
.inbound-api-form-panel .panel-choice:has(input:checked){background:linear-gradient(135deg,rgba(139,92,246,.24),rgba(91,55,150,.16));border-color:rgba(190,153,255,.72);box-shadow:0 0 24px rgba(139,92,246,.16),inset 0 1px rgba(255,255,255,.12)}
.inbound-api-form-panel .api-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.inbound-api-form-panel label{display:block}.inbound-api-form-panel input:not([type=radio]){width:100%;min-height:48px;margin-top:8px;border-radius:12px;background:rgba(7,8,20,.58);border:1px solid rgba(174,145,224,.23);padding:11px 14px;color:#fff;outline:none;transition:border-color .18s,box-shadow .18s}
.inbound-api-form-panel input:focus{border-color:#a78bfa;box-shadow:0 0 0 3px rgba(139,92,246,.16)}
.inbound-api-form-panel .api-form-note{border-radius:13px;padding:12px 15px;background:rgba(139,92,246,.08);border:1px solid rgba(167,139,250,.17)}
.inbound-api-submit{width:100%;min-height:50px;border-radius:14px;font-weight:800;box-shadow:0 10px 28px rgba(124,58,237,.2)}
.panel-edit-drawer{display:inline-block;position:relative}
.panel-edit-trigger{list-style:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;border:1px solid rgba(167,139,250,.32);background:rgba(139,92,246,.11);color:#c4a7ff;cursor:pointer;transition:.2s}
.panel-edit-trigger::-webkit-details-marker{display:none}.panel-edit-trigger svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.panel-edit-trigger:hover{background:rgba(139,92,246,.25);border-color:#b99aff;box-shadow:0 0 18px rgba(139,92,246,.2);transform:translateY(-1px)}
.panel-edit-drawer[open]{position:fixed;inset:0;z-index:9999;width:100vw;height:100dvh;display:block;background:rgba(3,3,12,.58);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.panel-edit-drawer[open]>.panel-edit-trigger{position:absolute;top:18px;right:calc(50% - min(44vw,520px) + 18px);z-index:2;background:rgba(239,68,68,.12);color:#ff9b9b;border-color:rgba(248,113,113,.35)}
.panel-edit-sheet{position:absolute;top:0;right:0;width:min(50vw,680px);min-width:min(440px,100vw);height:100dvh;overflow-y:auto;padding:28px clamp(20px,3vw,42px) 36px;background:linear-gradient(155deg,rgba(29,23,48,.98),rgba(12,13,27,.99));border-left:1px solid rgba(185,154,255,.25);box-shadow:-28px 0 80px rgba(0,0,0,.4);animation:panelSheetIn .24s ease-out}
@keyframes panelSheetIn{from{transform:translateX(35px);opacity:.65}to{transform:translateX(0);opacity:1}}
.panel-edit-sheet-head{display:flex;flex-direction:column;gap:6px;padding:4px 0 22px;margin-bottom:20px;border-bottom:1px solid rgba(190,160,255,.14)}
.panel-edit-sheet-head small{color:#b99aff;font-weight:700}.panel-edit-sheet-head strong{font-size:21px}.panel-edit-close-hint{font-size:11px;color:#928aa5}
.panel-edit-sheet .inbound-edit-form{min-width:0;padding:0;display:flex;flex-direction:column;gap:17px}.panel-edit-sheet .inbound-edit-form>label{display:flex;flex-direction:column;gap:7px}.panel-edit-sheet .inbound-edit-form input:not([type=radio]){width:100%;min-height:46px;border-radius:12px;background:rgba(5,6,17,.65);border:1px solid rgba(177,147,230,.24);color:#fff;padding:10px 13px}.panel-edit-sheet .inbound-edit-form input:focus{outline:none;border-color:#a78bfa;box-shadow:0 0 0 3px rgba(139,92,246,.15)}
@media(max-width:760px){.inbound-api-fullpage{min-height:auto;padding:8px 0}.inbound-api-page-heading{align-items:flex-start}.inbound-api-form-panel .api-form-fields{grid-template-columns:1fr}.inbound-api-form-panel .panel-choice{min-width:0;flex:1}.panel-edit-sheet{width:100vw;min-width:0}.panel-edit-drawer[open]>.panel-edit-trigger{right:16px;top:14px}}
@media(min-width:761px) and (max-height:760px){.inbound-api-fullpage{min-height:0;padding-top:4px;padding-bottom:4px}.inbound-api-page-heading{margin-bottom:10px}.inbound-api-form-panel{padding:16px 24px}.inbound-api-form-panel .api-form-section{margin-bottom:10px}.inbound-api-form-panel input:not([type=radio]){min-height:40px}.inbound-api-form-panel .api-form-note{padding:8px 12px}}


/* V3.70.14 — force refreshed panel UI, viewport-fit API page, and true half-screen editor */
.inbound-subnav,
.page-inbounds_add_api .inbound-subnav,
.page-inbounds_panels .inbound-subnav,
.page-inbounds_list .inbound-subnav{display:none!important}

.panel-edit-drawer[open]>.panel-edit-trigger{display:none!important}
.panel-edit-sheet{width:min(52vw,700px);min-width:min(460px,100vw);height:100dvh;box-sizing:border-box}
.panel-edit-sheet-head{flex-direction:row;align-items:center;justify-content:space-between;gap:16px}
.panel-edit-close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;border:1px solid rgba(248,113,113,.32);background:rgba(248,113,113,.10);color:#ffaaaa;font-size:27px;line-height:1;cursor:pointer;transition:.18s}
.panel-edit-close:hover{background:rgba(248,113,113,.2);transform:rotate(90deg)}
.panel-edit-sheet .inbound-edit-form .btn{align-self:stretch;min-height:48px;border-radius:12px}
.panel-edit-drawer[open] .panel-edit-sheet{box-shadow:-24px 0 80px rgba(0,0,0,.48),inset 1px 0 rgba(255,255,255,.035)}

@media(min-width:900px){
 body.page-inbounds_add_api{overflow:hidden}
 body.page-inbounds_add_api main{max-width:none;min-height:0;height:calc(100dvh - 24px);box-sizing:border-box;padding:12px 24px}
 body.page-inbounds_add_api .layout{height:100%;min-height:0;align-items:stretch;grid-template-columns:230px minmax(0,1fr);gap:20px}
 body.page-inbounds_add_api .layout>aside{height:100%;max-height:100%;overflow:auto;box-sizing:border-box}
 body.page-inbounds_add_api .content{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 .page-inbounds_add_api .inbound-api-fullpage{flex:1;min-height:0;height:100%;max-height:100%;box-sizing:border-box;justify-content:center;gap:clamp(8px,1.3vh,16px);padding:8px 0;overflow:hidden}
 .page-inbounds_add_api .inbound-api-page-heading{flex:0 0 auto;min-height:46px;margin:0!important}
 .page-inbounds_add_api .inbound-api-form-panel.xui-connect-panel{flex:0 1 auto;max-height:calc(100% - 58px);overflow:visible;padding:clamp(12px,1.7vh,20px) clamp(18px,2vw,32px)!important}
 .page-inbounds_add_api .inbound-api-form-panel .api-form-section{padding-bottom:clamp(8px,1vh,13px);margin-bottom:clamp(8px,1vh,13px)}
 .page-inbounds_add_api .inbound-api-form-panel .panel-choice{min-height:48px;padding:9px 14px}
 .page-inbounds_add_api .inbound-api-form-panel .api-form-fields{gap:9px 16px;margin-bottom:8px}
 .page-inbounds_add_api .inbound-api-form-panel input:not([type=radio]){min-height:40px;margin-top:5px}
 .page-inbounds_add_api .inbound-api-form-panel .api-form-note{margin:4px auto 8px;padding:7px 12px}
 .page-inbounds_add_api .inbound-api-submit{min-height:42px}
}
@media(max-width:899px){
 body.page-inbounds_add_api{overflow:auto}
 .panel-edit-sheet{width:100vw;min-width:0;padding:22px 18px 30px}
 .panel-edit-sheet-head{flex-direction:row}
}

/* V3.70.15 — centered half-screen editor and readable fullscreen API form */
@media (min-width:900px){
  body.page-inbounds_add_api{overflow:hidden!important}
  body.page-inbounds_add_api main{width:100%;max-width:none;height:100dvh;min-height:100dvh;margin:0;padding:22px 34px;box-sizing:border-box;overflow:hidden}
  body.page-inbounds_add_api .layout{display:block!important;width:100%;height:100%;min-height:0;margin:0}
  body.page-inbounds_add_api .layout>aside{display:none!important}
  body.page-inbounds_add_api .content{width:100%;height:100%;max-width:none;min-height:0;margin:0;display:flex;flex-direction:column;overflow:hidden}
  body.page-inbounds_add_api .inbound-api-fullpage{width:100%;max-width:1440px;flex:1;min-height:0;height:100%;max-height:100%;margin:0 auto;padding:18px 24px;justify-content:center;gap:22px;overflow:hidden}
  body.page-inbounds_add_api .inbound-api-page-heading{width:100%;margin:0 0 8px!important;min-height:60px;align-items:center}
  body.page-inbounds_add_api .inbound-api-page-heading h1{font-size:clamp(28px,2.2vw,36px);line-height:1.45}
  body.page-inbounds_add_api .inbound-api-page-heading p{font-size:16px;line-height:1.8}
  body.page-inbounds_add_api .inbound-api-form-panel.xui-connect-panel{width:min(100%,1240px);max-width:1240px;max-height:calc(100% - 82px);margin:0 auto!important;padding:clamp(26px,3vh,42px) clamp(28px,3vw,52px)!important;overflow:visible}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-section{padding-bottom:clamp(18px,2vh,26px);margin-bottom:clamp(18px,2vh,26px)}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-section-title{font-size:19px;margin-bottom:18px}
  body.page-inbounds_add_api .inbound-api-form-panel .panel-choice{min-height:76px;padding:17px 24px;min-width:300px}
  body.page-inbounds_add_api .inbound-api-form-panel .panel-choice-body strong{font-size:18px}
  body.page-inbounds_add_api .inbound-api-form-panel .panel-choice-body small{font-size:13px}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields{gap:18px 24px;margin:0 auto 18px}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields>label{font-size:17px;line-height:1.8}
  body.page-inbounds_add_api .inbound-api-form-panel input:not([type=radio]){min-height:58px;margin-top:9px;padding:13px 16px;font-size:17px}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields small{font-size:13px;line-height:1.7}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-note{margin:12px auto 18px;padding:14px 18px;font-size:14px;line-height:1.9}
  body.page-inbounds_add_api .inbound-api-submit{min-height:58px;max-width:420px;margin:10px auto 0;font-size:17px}
}
/* Center the editor dialog in the viewport instead of docking it to an edge. */
.panel-edit-drawer[open]{display:grid!important;place-items:center!important;padding:24px;box-sizing:border-box}
.panel-edit-drawer[open]>.panel-edit-trigger{display:none!important}
.panel-edit-drawer[open] .panel-edit-sheet{position:relative!important;inset:auto!important;top:auto!important;right:auto!important;left:auto!important;transform:none!important;width:min(760px, min(54vw, calc(100vw - 48px)))!important;min-width:0!important;height:auto!important;max-height:min(84dvh,900px)!important;overflow-y:auto!important;border:1px solid rgba(185,154,255,.32)!important;border-radius:24px!important;padding:30px clamp(24px,3vw,42px) 34px!important;box-shadow:0 30px 100px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.06)!important;animation:panelModalCenterIn .22s ease-out both;background:linear-gradient(155deg,rgba(35,27,56,.98),rgba(12,13,27,.99))!important}
@keyframes panelModalCenterIn{from{opacity:0;transform:translateY(14px) scale(.985)!important}to{opacity:1;transform:translateY(0) scale(1)!important}}
.panel-edit-sheet-head{padding-bottom:18px;margin-bottom:22px}
.panel-edit-sheet-head strong{font-size:23px}
.panel-edit-sheet .inbound-edit-form{gap:19px}
.panel-edit-sheet .inbound-edit-form>label{font-size:15px;line-height:1.8}
.panel-edit-sheet .inbound-edit-form input:not([type=radio]){min-height:52px;font-size:15px;padding:12px 15px}
.panel-edit-sheet .inbound-edit-form small{font-size:12px;line-height:1.7;color:#aaa1bd}
.panel-edit-sheet .compact-panel-choice .panel-choice{min-height:62px;padding:13px 16px}
@media(max-width:899px){
 body.page-inbounds_add_api{overflow:auto!important}
 body.page-inbounds_add_api main{height:auto;min-height:100dvh;padding:16px 14px;overflow:visible}
 body.page-inbounds_add_api .layout{display:block!important;height:auto;min-height:0}
 body.page-inbounds_add_api .layout>aside{display:none!important}
 body.page-inbounds_add_api .content{height:auto;min-height:calc(100dvh - 32px);overflow:visible}
 body.page-inbounds_add_api .inbound-api-fullpage{min-height:calc(100dvh - 40px);height:auto;max-height:none;padding:18px 0;gap:18px;overflow:visible}
 body.page-inbounds_add_api .inbound-api-page-heading h1{font-size:26px}
 body.page-inbounds_add_api .inbound-api-page-heading p{font-size:14px}
 body.page-inbounds_add_api .inbound-api-form-panel.xui-connect-panel{width:100%;max-height:none;padding:22px 18px!important}
 body.page-inbounds_add_api .inbound-api-form-panel .api-form-section-title{font-size:17px}
 body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields>label{font-size:15px}
 body.page-inbounds_add_api .inbound-api-form-panel input:not([type=radio]){min-height:52px;font-size:15px}
 body.page-inbounds_add_api .inbound-api-form-panel .api-form-note{font-size:12px;line-height:1.9}
 .panel-edit-drawer[open]{padding:14px!important}
 .panel-edit-drawer[open] .panel-edit-sheet{width:min(620px,calc(100vw - 28px))!important;max-height:90dvh!important;padding:22px 18px 26px!important;border-radius:20px!important}
 .panel-edit-sheet-head strong{font-size:20px}
}


/* V3.70.16 — restore the normal admin shell, compact one-piece API form,
   remove the unused admin username field, and make the editor modal fit. */
@media (min-width:900px){
  body.page-inbounds_add_api{overflow:hidden!important}
  body.page-inbounds_add_api main{
    width:auto!important;max-width:1600px!important;height:calc(100dvh - 24px)!important;
    min-height:0!important;margin:0 auto!important;padding:12px 24px!important;
    box-sizing:border-box!important;overflow:hidden!important
  }
  body.page-inbounds_add_api .layout{
    display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;
    gap:20px!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important
  }
  body.page-inbounds_add_api .layout>aside{
    display:block!important;height:100%!important;max-height:100%!important;overflow:auto!important
  }
  body.page-inbounds_add_api .content{
    display:flex!important;flex-direction:column!important;width:auto!important;
    height:100%!important;min-height:0!important;max-width:none!important;margin:0!important;overflow:hidden!important
  }
  body.page-inbounds_add_api .inbound-api-fullpage{
    display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
    justify-content:center!important;gap:14px!important;width:100%!important;max-width:none!important;
    height:100%!important;min-height:0!important;max-height:100%!important;
    margin:0!important;padding:8px 0!important;overflow:hidden!important;box-sizing:border-box!important
  }
  body.page-inbounds_add_api .inbound-api-page-heading{min-height:54px!important;margin:0 0 2px!important}
  body.page-inbounds_add_api .inbound-api-page-heading h1{font-size:clamp(26px,2vw,32px)!important}
  body.page-inbounds_add_api .inbound-api-page-heading p{font-size:15px!important}
  body.page-inbounds_add_api .inbound-api-form-panel.xui-connect-panel{
    width:100%!important;max-width:none!important;max-height:none!important;flex:0 1 auto!important;
    margin:0!important;padding:20px 28px!important;overflow:visible!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-section{margin:0 0 12px!important;padding:0 0 12px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-section-title{font-size:17px!important;margin-bottom:10px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .panel-choice{min-height:58px!important;padding:10px 20px!important;min-width:230px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .panel-choice-body strong{font-size:16px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .panel-choice-body small{font-size:12px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields{gap:12px 18px!important;margin:0 0 10px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields>label{font-size:15px!important;line-height:1.6!important}
  body.page-inbounds_add_api .inbound-api-form-panel input:not([type=radio]){min-height:48px!important;margin-top:6px!important;padding:10px 14px!important;font-size:15px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields small{font-size:11px!important;line-height:1.5!important}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-note{margin:6px auto 10px!important;padding:8px 14px!important;font-size:12px!important;line-height:1.7!important}
  body.page-inbounds_add_api .inbound-api-submit{min-height:48px!important;max-width:360px!important;margin:4px auto 0!important;font-size:15px!important}
}
@media (min-width:900px) and (max-height:760px){
  body.page-inbounds_add_api .inbound-api-form-panel.xui-connect-panel{padding:14px 22px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-section{margin-bottom:8px!important;padding-bottom:8px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .panel-choice{min-height:48px!important}
  body.page-inbounds_add_api .inbound-api-form-panel input:not([type=radio]){min-height:42px!important}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-note{display:none!important}
}
@media(max-width:899px){
  body.page-inbounds_add_api .layout>aside{display:block!important}
  body.page-inbounds_add_api .layout{display:grid!important;grid-template-columns:1fr!important}
  body.page-inbounds_add_api .inbound-api-fullpage{height:auto!important;max-height:none!important;overflow:visible!important}
}
.panel-edit-drawer[open]{
  display:grid!important;place-items:center!important;overflow:hidden!important;
  padding:24px!important;box-sizing:border-box!important
}
.panel-edit-drawer[open] .panel-edit-sheet{
  position:relative!important;inset:auto!important;transform:none!important;
  width:min(700px,calc(100vw - 48px))!important;min-width:0!important;
  height:auto!important;max-height:calc(100dvh - 48px)!important;
  overflow:visible!important;box-sizing:border-box!important;
  padding:24px 30px!important;border-radius:24px!important
}
.panel-edit-sheet .inbound-edit-form{gap:12px!important}
.panel-edit-sheet .inbound-edit-form>label{font-size:14px!important}
.panel-edit-sheet .inbound-edit-form input:not([type=radio]){min-height:44px!important}
.panel-edit-sheet .inbound-edit-form small{font-size:11px!important}
.panel-edit-sheet .compact-panel-choice .panel-choice{min-height:52px!important;padding:9px 14px!important}
.panel-edit-sheet-head{padding-bottom:12px!important;margin-bottom:14px!important}
.panel-edit-sheet-head strong{font-size:20px!important}
@media(max-height:760px) and (min-width:900px){
 .panel-edit-drawer[open] .panel-edit-sheet{padding:16px 24px!important}
 .panel-edit-sheet .inbound-edit-form{gap:8px!important}
 .panel-edit-sheet .inbound-edit-form input:not([type=radio]){min-height:38px!important}
 .panel-edit-sheet .inbound-edit-form>label small{display:none!important}
}


/* V3.70.17 — restore the real admin workspace, unify API form, and keep autofill dark */
@media (min-width:900px){
  body.page-inbounds_add_api{overflow:hidden!important}
  body.page-inbounds_add_api>main{
    display:block!important;width:100%!important;max-width:none!important;
    height:100dvh!important;min-height:100dvh!important;margin:0!important;
    padding:22px 30px!important;overflow:hidden!important;box-sizing:border-box!important
  }
  body.page-inbounds_add_api>main>.layout{
    display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;
    gap:22px!important;width:100%!important;height:100%!important;min-height:0!important;
    margin:0!important;align-items:stretch!important;overflow:hidden!important
  }
  body.page-inbounds_add_api>main>.layout>aside{
    display:flex!important;width:auto!important;height:100%!important;max-height:100%!important;
    overflow-y:auto!important;align-self:stretch!important
  }
  body.page-inbounds_add_api>main>.layout>.content{
    display:flex!important;flex-direction:column!important;min-width:0!important;width:100%!important;
    max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;
    overflow:hidden!important
  }
  body.page-inbounds_add_api .inbound-api-fullpage{
    display:flex!important;flex:1 1 auto!important;flex-direction:column!important;
    justify-content:center!important;gap:18px!important;width:100%!important;max-width:none!important;
    height:100%!important;min-height:0!important;max-height:100%!important;
    margin:0!important;padding:12px 10px!important;overflow:hidden!important;box-sizing:border-box!important
  }
  body.page-inbounds_add_api .inbound-api-page-heading{
    display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:space-between!important;
    width:100%!important;min-height:62px!important;margin:0!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel.xui-connect-panel{
    display:block!important;flex:0 1 auto!important;width:100%!important;max-width:none!important;
    max-height:calc(100% - 82px)!important;margin:0!important;padding:26px clamp(28px,3vw,52px)!important;
    overflow:visible!important;box-sizing:border-box!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields{
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;
    width:100%!important;max-width:none!important;margin:0 0 14px!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields>label{
    display:block!important;width:100%!important;font-size:16px!important;line-height:1.7!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel input:not([type=radio]){
    display:block!important;width:100%!important;min-height:54px!important;margin:7px 0 0!important;
    padding:12px 17px!important;font-size:16px!important;background:#0b0b19!important;color:#f4f1ff!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields small{font-size:12px!important;line-height:1.6!important}
  body.page-inbounds_add_api .inbound-api-form-panel .panel-type-choice{width:min(100%,760px)!important;margin:0 auto!important}
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-note{margin:10px 0 14px!important;padding:12px 16px!important;font-size:13px!important}
  body.page-inbounds_add_api .inbound-api-submit{display:block!important;width:min(100%,430px)!important;max-width:430px!important;min-height:54px!important;margin:10px auto 0!important;font-size:16px!important}
}
/* Chrome/Edge autofill must retain Darkoob's dark glass theme. */
body.page-inbounds_add_api input:-webkit-autofill,
body.page-inbounds_add_api input:-webkit-autofill:hover,
body.page-inbounds_add_api input:-webkit-autofill:focus,
.panel-edit-sheet input:-webkit-autofill,
.panel-edit-sheet input:-webkit-autofill:hover,
.panel-edit-sheet input:-webkit-autofill:focus{
  -webkit-text-fill-color:#f4f1ff!important;
  -webkit-box-shadow:0 0 0 1000px #0b0b19 inset!important;
  box-shadow:0 0 0 1000px #0b0b19 inset!important;
  caret-color:#f4f1ff!important;transition:background-color 99999s ease-out 0s!important
}
body.page-inbounds_add_api input:not([type=radio]){color:#f4f1ff!important;background-color:#0b0b19!important}
/* The editor is a centered half-screen modal, with no white browser scrollbar. */
.panel-edit-drawer[open]{display:grid!important;place-items:center!important;overflow:hidden!important;padding:24px!important;box-sizing:border-box!important}
.panel-edit-drawer[open] .panel-edit-sheet{
  position:relative!important;inset:auto!important;transform:none!important;
  width:min(760px,54vw)!important;min-width:0!important;height:auto!important;
  max-height:calc(100dvh - 64px)!important;overflow:visible!important;
  scrollbar-width:none!important;box-sizing:border-box!important
}
.panel-edit-drawer[open] .panel-edit-sheet::-webkit-scrollbar{display:none!important;width:0!important}
@media(max-width:899px){
 body.page-inbounds_add_api>main{height:auto!important;min-height:100dvh!important;overflow:visible!important;padding:16px!important}
 body.page-inbounds_add_api>main>.layout{display:grid!important;grid-template-columns:1fr!important;height:auto!important;overflow:visible!important}
 body.page-inbounds_add_api>main>.layout>aside{display:flex!important;height:auto!important;max-height:none!important}
 body.page-inbounds_add_api .inbound-api-fullpage{height:auto!important;max-height:none!important;overflow:visible!important;padding:14px 0!important}
 body.page-inbounds_add_api .inbound-api-form-panel.xui-connect-panel{width:100%!important;max-width:none!important;max-height:none!important;padding:22px 18px!important}
 body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields{grid-template-columns:1fr!important}
 .panel-edit-drawer[open] .panel-edit-sheet{width:min(94vw,700px)!important;max-height:calc(100dvh - 36px)!important;overflow-y:auto!important}
}

/* V3.70.18 — prevent API page heading/form content from being clipped.
   Use the document scrollbar instead of clipping the top and bottom. */
@media (min-width:900px){
  html:has(body.page-inbounds_add_api),
  body.page-inbounds_add_api{height:auto!important;min-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important}
  body.page-inbounds_add_api>main{
    height:auto!important;min-height:100dvh!important;max-height:none!important;
    overflow:visible!important;padding:22px 30px 34px!important
  }
  body.page-inbounds_add_api>main>.layout{
    height:auto!important;min-height:calc(100dvh - 56px)!important;max-height:none!important;
    overflow:visible!important;align-items:stretch!important
  }
  body.page-inbounds_add_api>main>.layout>aside{
    height:auto!important;min-height:calc(100dvh - 56px)!important;max-height:none!important;
    overflow:visible!important;align-self:stretch!important
  }
  body.page-inbounds_add_api>main>.layout>.content{
    height:auto!important;min-height:calc(100dvh - 56px)!important;max-height:none!important;
    overflow:visible!important;justify-content:flex-start!important
  }
  body.page-inbounds_add_api .inbound-api-fullpage{
    height:auto!important;min-height:calc(100dvh - 100px)!important;max-height:none!important;
    flex:0 0 auto!important;justify-content:flex-start!important;overflow:visible!important;
    padding:12px 10px 34px!important;gap:18px!important
  }
  body.page-inbounds_add_api .inbound-api-page-heading{flex-shrink:0!important;min-height:76px!important;padding:8px 0 12px!important}
  body.page-inbounds_add_api .inbound-api-form-panel.xui-connect-panel{
    height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;
    overflow:visible!important;margin-bottom:12px!important
  }
}


/* V3.70.19 — remove the redundant “new panel” heading and fit the API form
   into the admin viewport without document or inner-panel scrolling. */
@media (min-width:900px) and (min-height:700px){
  html:has(body.page-inbounds_add_api),
  body.page-inbounds_add_api{
    height:100dvh!important;min-height:100dvh!important;max-height:100dvh!important;
    overflow:hidden!important
  }
  body.page-inbounds_add_api>main{
    height:100dvh!important;min-height:0!important;max-height:100dvh!important;
    padding:12px 24px!important;margin:0!important;overflow:hidden!important;
    box-sizing:border-box!important
  }
  body.page-inbounds_add_api>main>.layout{
    height:100%!important;min-height:0!important;max-height:100%!important;
    overflow:hidden!important;grid-template-columns:230px minmax(0,1fr)!important;
    gap:20px!important
  }
  body.page-inbounds_add_api>main>.layout>aside{
    height:100%!important;min-height:0!important;max-height:100%!important;
    overflow:hidden!important
  }
  body.page-inbounds_add_api>main>.layout>.content{
    height:100%!important;min-height:0!important;max-height:100%!important;
    overflow:hidden!important;justify-content:center!important
  }
  body.page-inbounds_add_api .inbound-api-page-heading{display:none!important}
  body.page-inbounds_add_api .inbound-api-fullpage{
    display:flex!important;flex:1 1 auto!important;justify-content:center!important;
    height:100%!important;min-height:0!important;max-height:100%!important;
    padding:4px 0!important;margin:0!important;gap:0!important;overflow:hidden!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel.xui-connect-panel{
    width:100%!important;max-width:none!important;height:auto!important;
    min-height:0!important;max-height:100%!important;flex:0 1 auto!important;
    margin:0!important;padding:clamp(14px,2.2vh,22px) clamp(22px,2.8vw,42px)!important;
    overflow:visible!important;box-sizing:border-box!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-section{
    margin:0 0 clamp(7px,1.2vh,12px)!important;
    padding:0 0 clamp(7px,1.2vh,12px)!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-section-title{
    font-size:clamp(15px,1.25vw,17px)!important;margin-bottom:8px!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .panel-choice{
    min-height:clamp(48px,6.5vh,58px)!important;padding:8px 18px!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields{
    grid-template-columns:minmax(0,1fr)!important;gap:clamp(7px,1.15vh,11px)!important;
    margin:0 0 8px!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields>label{
    font-size:15px!important;line-height:1.5!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel input:not([type=radio]){
    min-height:clamp(42px,5.8vh,50px)!important;margin-top:5px!important;
    padding:9px 14px!important;font-size:15px!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-fields small{
    font-size:11px!important;line-height:1.4!important
  }
  body.page-inbounds_add_api .inbound-api-form-panel .api-form-note{
    margin:6px 0 8px!important;padding:8px 12px!important;
    font-size:11px!important;line-height:1.5!important
  }
  body.page-inbounds_add_api .inbound-api-submit{
    min-height:clamp(42px,5.8vh,50px)!important;margin:6px auto 0!important;
    font-size:15px!important
  }
}
@media (min-width:900px) and (max-height:699px){
  body.page-inbounds_add_api .inbound-api-page-heading{display:none!important}
  body.page-inbounds_add_api .inbound-api-fullpage{height:auto!important;min-height:100dvh!important;overflow:visible!important}
}


/* V3.70.20: conditional panel credentials; prevent theme label rules overriding hidden fields. */
#inbound-api-create-form label[data-username-label][hidden],
.inbound-edit-form label[data-username-label][hidden]{display:none!important;}
#inbound-api-create-form label[data-username-label],
.inbound-edit-form label[data-username-label]{transition:opacity .16s ease;}

/* V3.70.21: CSS-level fallback guarantees only the selected panel credentials are visible. */
#inbound-api-create-form:has(input[name="panel_type"][value="xui"]:checked) label[data-username-label],
.inbound-edit-form:has(input[name="panel_type"][value="xui"]:checked) label[data-username-label]{display:none!important;}
#inbound-api-create-form:has(input[name="panel_type"][value="pasarguard"]:checked) label[data-username-label],
.inbound-edit-form:has(input[name="panel_type"][value="pasarguard"]:checked) label[data-username-label]{display:flex!important;}


/* V3.70.22: credential typography and layout correction. Keep each selected panel's fields full-width and readable. */
#inbound-api-create-form .api-credentials-fields{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;max-width:1120px!important;gap:14px!important;
  margin:0 auto 18px!important;align-items:stretch!important;
}
#inbound-api-create-form .api-credentials-fields>label,
.inbound-edit-form>label[data-username-label],
.inbound-edit-form>label[data-secret-field]{
  display:block!important;width:100%!important;min-width:0!important;
  box-sizing:border-box!important;text-align:right!important;
  direction:rtl!important;font-size:16px!important;line-height:1.9!important;
  font-weight:700!important;color:#d8cfea!important;white-space:normal!important;
}
#inbound-api-create-form .api-credentials-fields input,
.inbound-edit-form>label[data-username-label] input,
.inbound-edit-form>label[data-secret-field] input{
  display:block!important;width:100%!important;max-width:100%!important;
  min-height:54px!important;box-sizing:border-box!important;margin-top:7px!important;
  font-size:16px!important;line-height:1.6!important;text-align:right!important;
}
#inbound-api-create-form .api-credentials-fields small,
.inbound-edit-form>label[data-secret-field] small{
  display:block!important;font-size:12px!important;line-height:1.8!important;
  margin-top:6px!important;text-align:right!important;
}
#inbound-api-create-form label[data-username-label][hidden],
.inbound-edit-form label[data-username-label][hidden]{display:none!important}
#inbound-api-create-form .api-credentials-fields>label[data-username-label]:not([hidden]),
.inbound-edit-form>label[data-username-label]:not([hidden]){display:block!important}
#inbound-api-create-form .api-form-note{font-size:13px!important;line-height:2!important}
#inbound-api-create-form .api-form-section-title{font-size:17px!important}
@media(max-width:700px){
 #inbound-api-create-form .api-credentials-fields{grid-template-columns:minmax(0,1fr)!important}
 #inbound-api-create-form .api-credentials-fields>label{font-size:15px!important}
}

/* V3.70.23: PasarGuard username label must occupy a full row above its input. */
#inbound-api-create-form:has(input[name="panel_type"][value="pasarguard"]:checked) .api-credentials-fields>label[data-username-label]:not([hidden]),
.inbound-edit-form:has(input[name="panel_type"][value="pasarguard"]:checked) label[data-username-label]:not([hidden]){
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  text-align:right!important;
  white-space:nowrap!important;
  direction:rtl!important;
  line-height:1.8!important;
}
#inbound-api-create-form:has(input[name="panel_type"][value="pasarguard"]:checked) .api-credentials-fields>label[data-username-label] input,
.inbound-edit-form:has(input[name="panel_type"][value="pasarguard"]:checked) label[data-username-label] input{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin-top:8px!important;
  box-sizing:border-box!important;
}


/* V3.70.24: hard CSS-driven credential labels and stable full-width PasarGuard username field. */
#inbound-api-create-form:has(input[name="panel_type"][value="xui"]:checked) label[data-username-label],
.inbound-edit-form:has(input[name="panel_type"][value="xui"]:checked) label[data-username-label]{display:none!important;}
#inbound-api-create-form:has(input[name="panel_type"][value="pasarguard"]:checked) .api-credentials-fields>label[data-username-label],
.inbound-edit-form:has(input[name="panel_type"][value="pasarguard"]:checked) label[data-username-label]{
 display:block!important;float:none!important;position:relative!important;width:100%!important;max-width:100%!important;
 min-width:0!important;box-sizing:border-box!important;text-align:right!important;direction:rtl!important;
 white-space:nowrap!important;line-height:1.9!important;flex:none!important;grid-column:1/-1!important;
}
#inbound-api-create-form:has(input[name="panel_type"][value="pasarguard"]:checked) .api-credentials-fields>label[data-username-label] input,
.inbound-edit-form:has(input[name="panel_type"][value="pasarguard"]:checked) label[data-username-label] input{
 display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important;
 margin:7px 0 0!important;
}
/* The credential title is rendered from the checked panel, so stale JS text can never leak across panel types. */
#inbound-api-create-form label[data-secret-field]>[data-secret-label],
.inbound-edit-form label[data-secret-field]>[data-secret-label]{font-size:0!important;}
#inbound-api-create-form label[data-secret-field]>[data-secret-label]::after,
.inbound-edit-form label[data-secret-field]>[data-secret-label]::after{
 content:"API Token مدیریتی سنایی";font-size:16px!important;line-height:1.9!important;display:inline-block!important;
}
#inbound-api-create-form:has(input[name="panel_type"][value="pasarguard"]:checked) label[data-secret-field]>[data-secret-label]::after,
.inbound-edit-form:has(input[name="panel_type"][value="pasarguard"]:checked) label[data-secret-field]>[data-secret-label]::after{
 content:"رمز عبور مدیر پاسارگارد";
}

/* V3.70.25: unify connection form sizing and center the bottom access note. */
#inbound-api-create-form .api-form-fields,
#inbound-api-create-form .api-credentials-fields{
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
}
#inbound-api-create-form .api-form-fields:not(.api-credentials-fields){
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;
}
#inbound-api-create-form .api-form-fields>label,
#inbound-api-create-form .api-credentials-fields>label{
  width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
#inbound-api-create-form .api-form-fields>label>input,
#inbound-api-create-form .api-credentials-fields>label>input{
  width:100%!important;max-width:100%!important;min-height:54px!important;height:54px!important;
  box-sizing:border-box!important;border-radius:13px!important;padding:12px 16px!important;
  font-size:16px!important;line-height:1.5!important;
}
#inbound-api-create-form .api-form-note{
  width:100%!important;max-width:100%!important;box-sizing:border-box!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;
  justify-content:center!important;text-align:center!important;gap:5px!important;
  padding:12px 18px!important;margin:14px auto 16px!important;
}
#inbound-api-create-form .api-form-note strong,
#inbound-api-create-form .api-form-note span{
  display:block!important;width:100%!important;text-align:center!important;margin-inline:auto!important;
}
#inbound-api-create-form .panel-type-choice{
  display:flex!important;justify-content:center!important;align-items:stretch!important;gap:12px!important;
}
#inbound-api-create-form .panel-type-choice>.panel-choice{
  flex:0 1 310px!important;width:310px!important;min-width:0!important;min-height:88px!important;
  box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;
}
#inbound-api-create-form .inbound-api-submit{display:flex!important;margin:0 auto!important;}
@media(max-width:700px){
 #inbound-api-create-form .panel-type-choice{flex-direction:column!important;}
 #inbound-api-create-form .panel-type-choice>.panel-choice{flex:1 1 auto!important;width:100%!important;}
 #inbound-api-create-form .api-form-fields>label>input,
 #inbound-api-create-form .api-credentials-fields>label>input{height:50px!important;min-height:50px!important;font-size:15px!important;}
}

/* Inbound manager: choose a registered panel before loading its inbound list */
.inbound-panel-picker{display:flex;flex-direction:column;gap:18px}
.inbound-panel-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 2px}
.inbound-panel-picker-heading h2,.inbound-selected-panel-head h2{margin:0 0 7px;font-size:21px;color:var(--text,#f3efff)}
.inbound-panel-picker-heading p{margin:0;color:var(--muted,#a9a2bd);font-size:13px}
.inbound-panel-picker-heading>span{white-space:nowrap;border:1px solid rgba(159,111,255,.25);background:rgba(128,82,220,.12);padding:8px 13px;border-radius:12px;color:#c8a9ff;font-size:12px}
.inbound-panel-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}
.inbound-panel-card{display:flex;flex-direction:column;gap:13px;min-width:0;padding:20px;border:1px solid rgba(155,119,222,.23);border-radius:18px;background:linear-gradient(145deg,rgba(35,27,57,.94),rgba(15,15,31,.96));color:inherit;text-decoration:none;transition:transform .18s,border-color .18s,box-shadow .18s}
.inbound-panel-card:hover{transform:translateY(-3px);border-color:rgba(169,124,255,.7);box-shadow:0 14px 35px rgba(0,0,0,.22),0 0 0 1px rgba(169,124,255,.12)}
.inbound-panel-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.inbound-panel-type{font-size:11px;color:#c4a8f5;font-weight:700;letter-spacing:.2px}
.inbound-panel-card h3{margin:0;font-size:19px;font-weight:800;color:#f3edff}
.inbound-panel-card-address{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#9991ad}
.inbound-panel-card-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0;border-top:1px solid rgba(170,145,210,.12);border-bottom:1px solid rgba(170,145,210,.12)}
.inbound-panel-card-stats>div{display:flex;flex-direction:column;gap:5px;text-align:center}
.inbound-panel-card-stats strong{font-size:20px;color:#e8dcff;font-variant-numeric:tabular-nums}
.inbound-panel-card-stats small{font-size:10px;color:#a9a0bd}
.inbound-panel-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.inbound-panel-card-footer small{font-size:10px;color:#8f879f}
.inbound-panel-card-footer strong{font-size:12px;color:#bd9aff}
.inbound-empty-panels{padding:32px;text-align:center;border:1px dashed rgba(170,145,210,.2);border-radius:16px}
.inbound-selected-panel-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid rgba(155,119,222,.2);border-radius:16px;background:rgba(28,22,47,.65)}
.inbound-selected-panel-head>div{margin-inline-start:auto;display:flex;flex-direction:column;gap:5px;min-width:0}
.inbound-selected-panel-head>div>span{font-size:11px;color:#b99ae9}
.inbound-selected-panel-head h2{margin:0;font-size:19px}
.inbound-selected-panel-head small{font-size:11px;color:#9991ad}
@media(max-width:700px){.inbound-panel-card-grid{grid-template-columns:1fr}.inbound-selected-panel-head{align-items:flex-start;flex-wrap:wrap}.inbound-selected-panel-head>div{order:-1;width:100%}}

/* V3.70.27 — unified bulk controls for inbound sale permissions */
.inbound-bulk-form{display:block}
.inbound-bulk-toolbar,.inbound-bulk-save-row{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid rgba(170,145,210,.13)}
.inbound-bulk-toolbar>span,.inbound-bulk-save-row>span{font-size:12px;color:#a9a0bd}
.inbound-bulk-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.inbound-bulk-enable{background:linear-gradient(135deg,#208c69,#176d55)!important;color:#fff!important}
.inbound-bulk-disable{background:linear-gradient(135deg,#a83d59,#7e2942)!important;color:#fff!important}
.inbound-sale-bulk-option{display:flex;align-items:center;justify-content:center}
.inbound-sale-bulk-option .inbound-sale-option{display:inline-flex;align-items:center;gap:8px;cursor:pointer;padding:7px 11px;border:1px solid rgba(150,125,190,.25);border-radius:10px;background:rgba(40,31,61,.45);font-size:12px;white-space:nowrap}
.inbound-sale-bulk-option .inbound-sale-option input{width:16px;height:16px;accent-color:#9360ee}
.inbound-bulk-save-row{border-top:1px solid rgba(170,145,210,.13);border-bottom:0;justify-content:flex-end}
.inbound-bulk-save{min-width:150px}
@media(max-width:700px){.inbound-bulk-toolbar,.inbound-bulk-save-row{align-items:stretch}.inbound-bulk-actions{width:100%}.inbound-bulk-actions .btn{flex:1}.inbound-bulk-save{width:100%}}


/* V3.70.28 — separate and center bulk controls */
.finance-panel .inbound-bulk-form > .inbound-bulk-toolbar{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  width:100% !important;
  box-sizing:border-box !important;
  padding:18px 20px !important;
  text-align:center !important;
}
.finance-panel .inbound-bulk-toolbar > .inbound-bulk-actions{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  width:100% !important;
}
.finance-panel .inbound-bulk-toolbar .inbound-bulk-actions > .btn{
  display:inline-flex !important;
  flex:0 0 190px !important;
  width:190px !important;
  min-width:190px !important;
  max-width:190px !important;
  min-height:42px !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  box-sizing:border-box !important;
  margin:0 !important;
}
.finance-panel .inbound-bulk-toolbar > span{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  line-height:1.9 !important;
  margin:0 !important;
}
.finance-panel .inbound-bulk-form > .inbound-bulk-save-row{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:100% !important;
  box-sizing:border-box !important;
  padding:18px 20px 22px !important;
  text-align:center !important;
}
.finance-panel .inbound-bulk-save-row > span{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  line-height:1.8 !important;
}
.finance-panel .inbound-bulk-save-row > .inbound-bulk-save{
  display:inline-flex !important;
  flex:0 0 220px !important;
  width:220px !important;
  min-width:220px !important;
  min-height:46px !important;
  align-items:center !important;
  justify-content:center !important;
  white-space:nowrap !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
}
@media(max-width:600px){
  .finance-panel .inbound-bulk-toolbar .inbound-bulk-actions{flex-direction:column !important}
  .finance-panel .inbound-bulk-toolbar .inbound-bulk-actions > .btn{
    flex-basis:44px !important;width:100% !important;min-width:0 !important;max-width:320px !important
  }
  .finance-panel .inbound-bulk-save-row > .inbound-bulk-save{
    flex-basis:46px !important;width:100% !important;min-width:0 !important;max-width:320px !important
  }
}

/* V3.70.29 — isolate inbound table and keep bulk controls out of the table flow */
.page-inbounds_list #inboundBulkForm{
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
  gap:0 !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  position:relative !important;
  box-sizing:border-box !important;
}
.page-inbounds_list #inboundBulkForm .inbound-bulk-toolbar{
  order:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:12px !important;
  width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  padding:18px 20px !important;
  margin:0 !important;
  text-align:center !important;
}
.page-inbounds_list #inboundBulkForm .inbound-bulk-actions{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:12px !important;
  width:100% !important;
  margin:0 !important;
}
.page-inbounds_list #inboundBulkForm .inbound-bulk-actions .btn{
  position:static !important;
  float:none !important;
  flex:0 0 190px !important;
  width:190px !important;
  min-width:190px !important;
  max-width:190px !important;
  min-height:44px !important;
  margin:0 !important;
  box-sizing:border-box !important;
  white-space:nowrap !important;
}
.page-inbounds_list #inboundBulkForm .inbound-bulk-toolbar>span{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  text-align:center !important;
  line-height:1.9 !important;
}
.page-inbounds_list #inboundBulkForm .finance-table-wrap{
  order:1 !important;
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  margin:0 !important;
  padding:0 14px !important;
  box-sizing:border-box !important;
}
.page-inbounds_list #inboundBulkForm .inbound-management-table{
  width:100% !important;
  min-width:720px !important;
  margin:0 !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
}
.page-inbounds_list #inboundBulkForm .inbound-management-table tbody tr{position:static !important;transform:none !important}
.page-inbounds_list #inboundBulkForm .inbound-bulk-save-row{
  order:2 !important;
  position:static !important;
  float:none !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:100% !important;
  min-height:110px !important;
  margin:0 !important;
  padding:18px 20px 24px !important;
  border-top:1px solid rgba(170,145,210,.16) !important;
  box-sizing:border-box !important;
  text-align:center !important;
}
.page-inbounds_list #inboundBulkForm .inbound-bulk-save-row>span{
  display:block !important;
  width:100% !important;
  margin:0 !important;
  text-align:center !important;
  line-height:1.9 !important;
}
.page-inbounds_list #inboundBulkForm .inbound-bulk-save-row>.inbound-bulk-save{
  position:static !important;
  float:none !important;
  display:inline-flex !important;
  flex:0 0 220px !important;
  align-items:center !important;
  justify-content:center !important;
  width:220px !important;
  min-width:220px !important;
  max-width:220px !important;
  min-height:46px !important;
  margin:0 auto !important;
  box-sizing:border-box !important;
}
@media(max-width:600px){
 .page-inbounds_list #inboundBulkForm .inbound-bulk-actions{flex-direction:column !important}
 .page-inbounds_list #inboundBulkForm .inbound-bulk-actions .btn{flex:0 0 44px !important;width:100% !important;min-width:0 !important;max-width:320px !important}
 .page-inbounds_list #inboundBulkForm .inbound-bulk-save-row>.inbound-bulk-save{flex-basis:46px !important;width:100% !important;min-width:0 !important;max-width:320px !important}
}


/* V3.70.30 — hard-isolate inbound bulk actions and centered save row; cache-busted by index.php */
body.page-inbounds_list #inboundBulkForm .inbound-bulk-toolbar,
body.page-inbounds_list #inboundBulkForm .inbound-bulk-actions,
body.page-inbounds_list #inboundBulkForm .inbound-bulk-save-row,
body.page-inbounds_list #inboundBulkForm .inbound-bulk-save-message,
body.page-inbounds_list #inboundBulkForm .inbound-bulk-save-action{
  position:static !important; float:none !important; clear:both !important;
  transform:none !important; inset:auto !important;
}
body.page-inbounds_list #inboundBulkForm .inbound-bulk-toolbar{
  display:flex !important; flex-direction:column !important; align-items:center !important;
  justify-content:center !important; gap:12px !important; width:100% !important;
  height:auto !important; min-height:0 !important; padding:18px 20px !important;
  margin:0 !important; box-sizing:border-box !important;
}
body.page-inbounds_list #inboundBulkForm .inbound-bulk-actions{
  display:flex !important; flex-direction:row !important; flex-wrap:nowrap !important;
  align-items:center !important; justify-content:center !important; gap:12px !important;
  width:100% !important; height:auto !important; margin:0 !important; padding:0 !important;
}
body.page-inbounds_list #inboundBulkForm .inbound-bulk-actions > button{
  display:inline-flex !important; flex:0 1 190px !important; width:190px !important;
  min-width:150px !important; max-width:190px !important; height:44px !important;
  min-height:44px !important; margin:0 !important; white-space:nowrap !important;
  align-items:center !important; justify-content:center !important; box-sizing:border-box !important;
}
body.page-inbounds_list #inboundBulkForm .inbound-bulk-toolbar > span{
  display:block !important; position:static !important; width:100% !important;
  margin:0 !important; text-align:center !important; line-height:1.9 !important;
}
body.page-inbounds_list #inboundBulkForm .inbound-bulk-save-row{
  display:flex !important; flex-direction:column !important; flex-wrap:nowrap !important;
  align-items:center !important; justify-content:center !important; gap:10px !important;
  width:100% !important; height:auto !important; min-height:0 !important;
  margin:0 !important; padding:18px 20px 24px !important;
  border-top:1px solid rgba(170,145,210,.16) !important; box-sizing:border-box !important;
  text-align:center !important;
}
body.page-inbounds_list #inboundBulkForm .inbound-bulk-save-message,
body.page-inbounds_list #inboundBulkForm .inbound-bulk-save-action{
  display:flex !important; align-items:center !important; justify-content:center !important;
  width:100% !important; height:auto !important; min-height:0 !important;
  margin:0 !important; padding:0 !important; text-align:center !important;
}
body.page-inbounds_list #inboundBulkForm .inbound-bulk-save-message{line-height:1.9 !important;}
body.page-inbounds_list #inboundBulkForm .inbound-bulk-save-action > .inbound-bulk-save{
  display:inline-flex !important; position:static !important; flex:0 0 220px !important;
  width:220px !important; min-width:220px !important; max-width:220px !important;
  height:46px !important; min-height:46px !important; margin:0 !important;
  align-items:center !important; justify-content:center !important; box-sizing:border-box !important;
}
@media(max-width:600px){
 body.page-inbounds_list #inboundBulkForm .inbound-bulk-actions{flex-direction:column !important;}
 body.page-inbounds_list #inboundBulkForm .inbound-bulk-actions > button{width:min(100%,320px) !important;max-width:320px !important;flex:0 0 44px !important;}
}

/* V3.70.32 sale methods */
.sale-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:12px 0 20px}.sale-method-card{display:flex;flex-direction:column;gap:8px;padding:18px;border:1px solid var(--line);border-radius:15px;background:rgba(35,27,55,.55);cursor:pointer}.sale-method-card:has(input:checked){border-color:#9565ed;background:rgba(116,75,190,.16);box-shadow:0 0 0 1px rgba(149,101,237,.25)}.sale-method-card input{accent-color:#9565ed}.sale-method-card strong{font-size:15px}.sale-method-card small{color:var(--muted);font-size:12px}.sale-mode-select{display:block;max-width:170px;margin:8px auto 0;padding:7px;border:1px solid var(--line);border-radius:9px;background:#171326;color:var(--text)}@media(max-width:650px){.sale-method-grid{grid-template-columns:1fr}}

/* V3.70.33 seller method-only selection */
.sale-method-card.is-unavailable{opacity:.42;cursor:not-allowed;filter:saturate(.5)}
/* Sales method assignment and seller method marks */
.sale-method-logo{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;font-size:25px;font-weight:800;background:rgba(149,101,237,.16);border:1px solid rgba(149,101,237,.35);color:#c4a6ff;margin-bottom:4px;flex:0 0 auto}
.sale-logo-direct{background:rgba(245,166,35,.13);border-color:rgba(245,166,35,.35);color:#f4bd5b}
.sale-logo-tunnel{background:rgba(62,170,220,.13);border-color:rgba(62,170,220,.35);color:#6cc8ef}
.sale-logo-multi{background:rgba(149,101,237,.16);border-color:rgba(149,101,237,.35);color:#c4a6ff}
.admin-sale-method-grid{margin-top:20px}
.admin-sale-method-card{text-decoration:none;min-height:185px;justify-content:center}
.admin-sale-method-card b{font-size:12px;color:var(--accent,#b99aff);margin-top:8px}
.sale-method-card .sale-method-logo{align-self:flex-start}

/* V3.70.36 - themed, full-row inbound assignment selection and centered seller method marks */
.theme-inbound-checkbox{appearance:none;-webkit-appearance:none;width:20px;height:20px;min-width:20px;border:1.5px solid #78659d;border-radius:6px;background:#171326;display:inline-grid;place-content:center;cursor:pointer;vertical-align:middle;transition:background .16s,border-color .16s,box-shadow .16s}
.theme-inbound-checkbox::before{content:"";width:10px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);transform-origin:center;transition:transform .12s}
.theme-inbound-checkbox:checked{background:linear-gradient(135deg,#9b6cf0,#7042bd);border-color:#b99aff;box-shadow:0 0 0 3px rgba(149,101,237,.15)}
.theme-inbound-checkbox:checked::before{transform:rotate(-45deg) scale(1)}
.theme-inbound-checkbox:focus-visible{outline:2px solid #c4a6ff;outline-offset:3px}
.theme-inbound-checkbox:disabled{opacity:.35;cursor:not-allowed}
.sale-inbound-select-row.is-selectable{cursor:pointer;transition:background .15s}
.sale-inbound-select-row.is-selectable:hover{background:rgba(149,101,237,.09)}
.sale-inbound-select-row.is-selected{background:rgba(123,79,190,.13)}
.sale-inbound-select-row.is-selected:hover{background:rgba(123,79,190,.19)}
.sale-inbound-select-row.is-disabled{opacity:.55;cursor:not-allowed}
.sale-method-grid:not(.admin-sale-method-grid) .sale-method-card{align-items:center;text-align:center}
.sale-method-grid:not(.admin-sale-method-grid) .sale-method-card .sale-method-logo{align-self:center;margin:2px auto 8px}
.sale-method-grid:not(.admin-sale-method-grid) .sale-method-card strong,.sale-method-grid:not(.admin-sale-method-grid) .sale-method-card small{text-align:center}

/* V3.70.37: reliable volume/unlimited selection and multi-method inbound assignment */
body.page-create_config .config-mode-card{user-select:none;cursor:pointer;position:relative;z-index:1;pointer-events:auto;}
body.page-create_config .config-mode-card input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;clip-path:inset(50%);pointer-events:none;}
body.page-create_config .config-mode-card.is-selected{border-color:#a77be8;background:linear-gradient(145deg,rgba(100,62,155,.48),rgba(29,21,46,.98));box-shadow:0 0 0 2px rgba(155,107,234,.24),0 8px 24px rgba(75,42,120,.16);}
body.page-create_config .config-mode-card .config-mode-tick{flex:0 0 22px;}
body.page-create_config .sale-method-card{user-select:none;cursor:pointer;}

body.page-create_config .config-mode-card:has(input[name="config_mode"]:checked){border-color:#a77be8;background:linear-gradient(145deg,rgba(100,62,155,.48),rgba(29,21,46,.98));box-shadow:0 0 0 2px rgba(155,107,234,.24);}

/* Separate base prices for each sales method */
.pricing-method-base-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:22px 0;padding:18px;border:1px solid rgba(155,110,255,.22);border-radius:18px;background:rgba(115,76,190,.055)}
.pricing-method-base-grid h3{grid-column:1/-1;margin:0 0 4px;color:var(--text,#f4efff)}
.pricing-method-base-grid label{display:flex;flex-direction:column;gap:9px;font-weight:700}
.pricing-method-base-grid input{width:100%;min-width:0}
@media(max-width:760px){.pricing-method-base-grid{grid-template-columns:1fr}}

/* Dedicated accounting page for per-method base prices */
.base-prices-page{max-width:1120px;margin:0 auto}
.base-prices-form{display:flex;flex-direction:column;gap:22px;padding:26px!important}
.base-prices-method-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.base-price-method-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:22px;border:1px solid rgba(171,139,230,.22);border-radius:18px;background:linear-gradient(145deg,rgba(126,83,190,.10),rgba(24,22,34,.35));min-width:0}
.base-price-method-card>strong{font-size:17px;color:var(--text,#f4efff)}
.base-price-method-card>small{min-height:42px;line-height:1.9;color:var(--muted,#aaa1b8)}
.base-price-method-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(153,111,220,.15);font-size:25px}
.base-price-input-label{font-size:13px;color:var(--muted,#aaa1b8);margin-top:8px}
.base-price-method-card input{width:100%;min-height:48px;border:1px solid rgba(171,139,230,.28);border-radius:11px;padding:10px 13px;background:rgba(10,9,16,.48);color:var(--text,#fff);font:inherit;direction:ltr;text-align:right}
.base-price-method-card input:focus{outline:2px solid rgba(181,138,240,.55);border-color:#b58af0}
.base-prices-hint{margin:0;color:var(--muted,#aaa1b8);font-size:13px;line-height:2}
.base-prices-form>.btn{align-self:flex-start;min-width:190px}
@media(max-width:800px){.base-prices-method-grid{grid-template-columns:1fr}.base-price-method-card>small{min-height:0}}


/* V3.70.40 — persistent sidebar logout action */
.layout>aside .sidebar-logout-direct{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-height:44px!important;margin:12px 0 4px!important;padding:0 13px!important;border:1px solid #5b2942!important;border-radius:12px!important;background:linear-gradient(110deg,#351827,#241523)!important;color:#ff7c9a!important;font-size:13px!important;font-weight:800!important;text-decoration:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transition:background .2s ease,border-color .2s ease,transform .2s ease!important}
.layout>aside .sidebar-logout-direct:hover{background:linear-gradient(110deg,#4a1d34,#2d1830)!important;border-color:#a53c67!important;transform:translateY(-1px)}
.layout>aside .sidebar-logout-direct span{font-size:19px!important}

/* V3.70.41 — logout belongs inside the expanded account dropdown */
.layout>aside .sidebar-logout-direct{display:none!important}
.layout>aside .sidebar-account-card .sidebar-account-logout{display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;box-sizing:border-box!important;min-height:46px!important;margin:8px 0 0!important;padding:10px 9px!important;border-top:1px solid #ffffff18!important;color:#ff7898!important;text-decoration:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.layout>aside .sidebar-account-card .sidebar-account-logout:hover{background:rgba(255,82,123,.09)!important;color:#ff9ab0!important}

/* Darkoob mobile activation-code controls */
.app-code-control{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:125px}
.app-code-result{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-width:220px;color:var(--muted,#aaa);font-size:12px;line-height:1.7}
.app-issued-code{display:inline-block;direction:ltr;unicode-bidi:isolate;padding:5px 8px;border:1px dashed #8b6ce8;border-radius:8px;color:#c9b7ff;letter-spacing:1px;font-size:13px}
.app-code-device-count{display:block;width:100%;color:var(--muted,#aaa);font-size:11px}

/* Clear text-only order states: yellow means pending, green means active. */
.order-status-text{display:inline-block;font-size:12px;font-weight:800;white-space:nowrap;line-height:1.8}
.order-status-text.is-active{color:#35d2a0!important}
.order-status-text.is-pending{color:#f4c34e!important}
.order-status-text.is-inactive{color:#a7b0c0!important}
.finance-table .order-status-text.is-active{color:#35d2a0!important}
.finance-table .order-status-text.is-pending{color:#f4c34e!important}
