:root{
 --bg:#f7f9fc;--surface:#fff;--surface2:#f8fafc;--text:#0f172a;--muted:#64748b;
 --border:#e2e8f0;--primary:#2563eb;--primary2:#1d4ed8;--blue-soft:#eff6ff;
 --green:#16a34a;--amber:#d97706;--violet:#7c3aed;--danger:#dc2626;
 --shadow:0 14px 38px rgba(15,23,42,.06);--radius:20px
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.5}
a{color:var(--primary);text-underline-offset:3px}
.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.95);border-bottom:1px solid var(--border);backdrop-filter:blur(14px)}
.topbar-inner{max-width:1280px;margin:auto;min-height:76px;display:flex;align-items:center;justify-content:space-between;padding:10px 24px;gap:24px}
.brand-img img{height:46px;width:auto;display:block}
nav{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
nav a,.navlink{color:#334155;text-decoration:none;font-weight:700;font-size:14px}
nav a:hover,.navlink:hover{color:var(--primary)}
.nav-login{padding:10px 4px}
.nav-cta{background:var(--primary)!important;color:#fff!important;padding:11px 17px;border-radius:12px;box-shadow:0 7px 18px rgba(37,99,235,.22)}
.navform{margin:0}.navlink{background:none;border:0;padding:0;cursor:pointer}
main{max-width:1280px;margin:0 auto;padding:42px 24px 54px;min-height:68vh}
h1,h2,h3{letter-spacing:-.025em;line-height:1.12}
h1{font-size:clamp(34px,4vw,52px);margin:0 0 18px}
h2{font-size:30px;margin:0 0 14px}h3{font-size:20px}
.eyebrow{display:inline-flex;align-items:center;background:var(--blue-soft);color:var(--primary2);border:1px solid #dbeafe;padding:7px 11px;border-radius:999px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-bottom:14px}
.home-hero{display:grid;grid-template-columns:1.07fr .93fr;gap:40px;align-items:center;background:#fff;border:1px solid var(--border);border-radius:30px;padding:54px;box-shadow:var(--shadow);overflow:hidden}
.hero-copy h1{max-width:730px}.hero-copy>p{font-size:19px;color:#526178;max-width:700px;margin:0 0 26px}
.hero-search{display:flex;gap:10px;background:#fff;border:1px solid #cbd5e1;border-radius:15px;padding:7px;box-shadow:0 5px 18px rgba(15,23,42,.04)}
.hero-search input{border:0!important;margin:0!important;box-shadow:none!important;padding:12px 14px!important}
.hero-search button{white-space:nowrap}
.hero-visual img{display:block;width:100%;max-height:460px}
.trust-row{display:flex;gap:18px;flex-wrap:wrap;margin-top:23px;color:#475569;font-size:13px;font-weight:700}
.benefit-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:22px 0 54px}
.benefit-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:19px;display:flex;gap:14px;align-items:center;box-shadow:0 8px 22px rgba(15,23,42,.035)}
.benefit-card>div:last-child{display:grid}.benefit-card strong{color:#64748b;font-size:13px}.benefit-card b{font-size:24px}.benefit-card span{color:#94a3b8;font-size:12px}
.benefit-icon{width:44px;height:44px;border-radius:14px;display:grid;place-items:center;font-weight:900;font-size:20px}.benefit-icon.blue{background:#dbeafe;color:#2563eb}.benefit-icon.green{background:#dcfce7;color:#16a34a}.benefit-icon.amber{background:#fef3c7;color:#d97706}.benefit-icon.violet{background:#ede9fe;color:#7c3aed}
.section-title{max-width:680px;margin-bottom:23px}.section-title p{color:var(--muted);margin-top:0}.section-title.inline{max-width:none;display:flex;justify-content:space-between;align-items:end;gap:20px}.text-link{text-decoration:none;font-weight:750}
.how-section{padding:8px 0 50px}.steps.modern{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.steps.modern .step{background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;min-height:180px;box-shadow:0 7px 20px rgba(15,23,42,.03)}
.steps.modern .step span{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--blue-soft);color:var(--primary);font-weight:900;margin-bottom:24px}.steps.modern .step b{display:block;font-size:16px}.steps.modern .step p{color:var(--muted);font-size:13px;margin:8px 0 0}
.category-section{padding-bottom:10px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.category-card{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;text-decoration:none;color:var(--text);box-shadow:0 6px 20px rgba(15,23,42,.03);transition:.18s}.category-card:hover{transform:translateY(-2px);border-color:#bfdbfe;box-shadow:var(--shadow)}
.category-icon{grid-row:1/3;width:42px;height:42px;border-radius:13px;background:var(--blue-soft);display:grid;place-items:center;color:var(--primary);font-size:20px}.category-card strong{font-size:15px}.category-card small{color:var(--muted)}
.panel,.card,.finance-box,.stat,.notice{background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 8px 28px rgba(15,23,42,.035)}
.panel{padding:28px}.card{padding:22px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:17px}
.card h3{margin:12px 0}.card p{color:#475569}.card .muted{color:var(--muted)}
.badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#4338ca;font-size:11px;font-weight:800}.badge.ok,.ok{background:#dcfce7;color:#166534}.badge.warn,.warn{background:#fef3c7;color:#92400e}.badge.bad,.bad{background:#fee2e2;color:#991b1b}
button,.btn{display:inline-flex;justify-content:center;align-items:center;background:var(--primary);color:#fff;border:1px solid var(--primary);border-radius:11px;padding:11px 17px;text-decoration:none;cursor:pointer;font:inherit;font-weight:800;transition:.15s}
button:hover,.btn:hover{background:var(--primary2);border-color:var(--primary2)}
.btn.secondary{background:#fff;color:#334155;border-color:#cbd5e1}.btn.good{background:#16a34a;border-color:#16a34a}.btn.danger{background:#dc2626;border-color:#dc2626}
.btn-wide{width:100%;padding:13px 18px;margin-top:6px}
label{display:block;margin:15px 0 5px;font-weight:750;color:#334155;font-size:14px}
input,textarea,select{width:100%;margin-top:7px;padding:12px 13px;border:1px solid #cbd5e1;border-radius:11px;background:#fff;color:var(--text);font:inherit;outline:none;transition:.15s}
input:focus,textarea:focus,select:focus{border-color:#60a5fa;box-shadow:0 0 0 4px rgba(59,130,246,.10)}
textarea{min-height:120px;resize:vertical}input::placeholder{color:#9ca3af}
.checkline{display:flex;align-items:flex-start;gap:10px;font-weight:500}.checkline input{width:18px;height:18px;margin:2px 0 0}.checkline span{line-height:1.4}
.flash{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;padding:13px 16px;border-radius:12px;margin-bottom:20px}
.legal{background:#fffbeb;border:1px solid #fde68a;padding:17px;border-radius:14px;color:#78350f}
.muted{color:var(--muted)}
.page-head{margin-bottom:24px}.page-head h1{font-size:40px;margin-bottom:9px}.page-head p{color:var(--muted);font-size:17px}
.filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:12px;align-items:end;margin-bottom:24px}.catalog-filters{background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px;box-shadow:0 7px 24px rgba(15,23,42,.035)}
table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid var(--border);border-radius:16px;overflow:hidden;box-shadow:0 6px 20px rgba(15,23,42,.025)}
th,td{padding:13px 14px;border-bottom:1px solid #edf2f7;text-align:left;vertical-align:top}th{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#64748b;background:#f8fafc}
.auth-shell{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);max-width:1080px;margin:10px auto 0;background:#fff;border:1px solid var(--border);border-radius:28px;overflow:hidden;box-shadow:var(--shadow)}
.auth-shell.compact{max-width:980px}.auth-card{padding:46px 50px}.auth-copy h1{font-size:38px}.auth-copy p{color:var(--muted);max-width:560px}.auth-visual{background:linear-gradient(145deg,#eff6ff,#f8fafc);padding:34px;display:flex;flex-direction:column;justify-content:center}.auth-visual img{width:100%;max-height:300px}.auth-visual h2{font-size:23px;margin-bottom:8px}.auth-visual p{color:var(--muted);margin-top:0}.auth-help{margin-top:18px}
.stat-grid,.finance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0}.finance-grid{grid-template-columns:repeat(3,1fr)}
.stat,.finance-box{padding:18px}.stat strong{display:block;font-size:28px}.stat span,.finance-box span{color:var(--muted)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}.doc-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.meta{background:#f8fafc;border:1px solid #edf2f7;border-radius:13px;padding:13px}
.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:14px 0}
.upload-zone{border:2px dashed #bfdbfe;background:#eff6ff;border-radius:17px;padding:22px}
.notice{padding:16px;margin-bottom:10px}.notice.unread{border-left:4px solid var(--primary)}
.site-footer{max-width:1280px;margin:0 auto;padding:34px 24px 42px;border-top:1px solid var(--border);display:flex;justify-content:space-between;gap:40px;color:#64748b;font-size:13px}.footer-brand img{width:150px;height:auto;margin-bottom:10px}.footer-brand p,.footer-links p{margin:4px 0}.footer-links{max-width:650px}.footer-links a{display:inline-block;margin:0 14px 8px 0;color:#475569;font-weight:650}
.docprint{background:#fff;border:1px solid var(--border);padding:32px;border-radius:14px;line-height:1.6}
code{display:block;overflow-wrap:anywhere;background:#f1f5f9;padding:12px;border-radius:9px}
@media(max-width:1050px){.home-hero{grid-template-columns:1fr;padding:38px}.hero-visual{display:none}.benefit-row{grid-template-columns:1fr 1fr}.steps.modern{grid-template-columns:repeat(2,1fr)}.category-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:800px){main{padding:28px 16px 42px}.topbar-inner{align-items:flex-start;padding:12px 16px}.brand-img img{height:39px}nav{justify-content:flex-end;gap:12px}.nav-cta{padding:8px 11px}.auth-shell{grid-template-columns:1fr}.auth-visual{display:none}.auth-card{padding:28px 22px}.filters,.stat-grid,.finance-grid,.split,.doc-meta{grid-template-columns:1fr}.benefit-row,.category-grid,.steps.modern{grid-template-columns:1fr}.home-hero{padding:27px 22px;border-radius:22px}.hero-search{display:grid}.section-title.inline{align-items:flex-start;flex-direction:column}.site-footer{flex-direction:column}.page-head h1{font-size:34px}}
@media print{header,.site-footer,.no-print{display:none!important}main{max-width:none;margin:0}.docprint{border:0}}


/* DSRent 5.3.2 cache-proof layout fixes */
.home-hero{position:relative}
.home-hero .hero-copy{min-width:0}
.home-hero .hero-visual{min-width:0}
.home-hero .hero-visual img{width:100%;height:auto;max-width:560px;margin-left:auto}
.benefit-row .benefit-card{min-width:0}
.category-grid .category-card{min-width:0}
.category-card strong,.category-card small{display:block}
.site-footer .footer-brand img{max-width:175px}
@media(max-width:1050px){
 .home-hero .hero-visual{display:block}
 .home-hero{grid-template-columns:1fr .8fr}
 .home-hero .hero-visual img{max-height:360px}
}
@media(max-width:860px){
 .home-hero{grid-template-columns:1fr}
 .home-hero .hero-visual{display:none}
}


/* DSRent 5.4.0 catalog */
.catalog-summary{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 18px}
.catalog-summary p{margin:0;color:var(--muted)}
.catalog-count{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);padding:9px 13px;border-radius:999px;color:#475569;font-size:13px;font-weight:750}
.catalog-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}
.catalog-tab{display:inline-flex;padding:9px 14px;border-radius:11px;background:#fff;border:1px solid var(--border);text-decoration:none;color:#475569;font-size:13px;font-weight:750}
.catalog-tab.active{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}
.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.document-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:20px;padding:22px;box-shadow:0 8px 28px rgba(15,23,42,.035);display:flex;flex-direction:column;min-height:330px}
.document-card:hover{border-color:#bfdbfe;box-shadow:0 14px 34px rgba(37,99,235,.08)}
.doc-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:14px}
.doc-type{font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
.doc-status{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;white-space:nowrap}
.doc-status.active{background:#dcfce7;color:#166534}.doc-status.review{background:#fef3c7;color:#92400e}.doc-status.archive{background:#f1f5f9;color:#64748b}
.document-card h3{font-size:18px;margin:0 0 10px;line-height:1.25}
.doc-number{font-size:13px;font-weight:750;color:#2563eb;overflow-wrap:anywhere;margin-bottom:15px}
.doc-facts{display:grid;gap:9px;margin:0 0 16px}
.doc-fact{display:grid;grid-template-columns:100px 1fr;gap:10px;font-size:13px}.doc-fact span{color:#94a3b8}.doc-fact b{font-weight:650;color:#334155;overflow-wrap:anywhere}
.doc-scope{color:#64748b;font-size:13px;line-height:1.45;margin:0 0 18px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.doc-actions{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:12px}
.doc-price{font-size:14px;font-weight:800;color:#0f172a}.doc-price.request{color:#64748b}
.empty-catalog{background:#fff;border:1px dashed #cbd5e1;border-radius:20px;padding:46px;text-align:center;color:#64748b}.empty-catalog h3{color:#0f172a;margin-top:0}
.registry-note{background:#eff6ff;border:1px solid #bfdbfe;color:#1e40af;border-radius:14px;padding:13px 15px;font-size:13px;margin-bottom:18px}
@media(max-width:1050px){.document-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.document-grid{grid-template-columns:1fr}.catalog-summary{align-items:flex-start;flex-direction:column}.doc-fact{grid-template-columns:88px 1fr}}


/* DSRent 5.5.0 scalable catalog */
.search-panel{background:#fff;border:1px solid var(--border);border-radius:20px;padding:18px 20px;box-shadow:0 8px 28px rgba(15,23,42,.035);margin-bottom:16px}
.search-main{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end}
.search-main label{margin:0}
.search-main input{height:50px;margin:0;font-size:15px;padding-left:15px}
.search-main button{height:50px;padding:0 24px}
.search-sub{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #edf2f7}
.search-sub label{margin:0;font-size:12px;color:#64748b}
.search-sub select{height:42px;margin-top:5px}
.search-hints{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.search-hint{font-size:12px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;padding:6px 9px;border-radius:999px}

.catalog-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:18px 0}
.catalog-toolbar-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.catalog-toolbar-right{display:flex;align-items:center;gap:10px}
.result-count{font-size:14px;color:#64748b}.result-count b{color:#0f172a}
.page-size{display:flex;align-items:center;gap:7px;color:#64748b;font-size:12px}.page-size select{width:auto;margin:0;padding:7px 28px 7px 9px}

.document-list{display:grid;gap:10px}
.document-row{background:#fff;border:1px solid var(--border);border-radius:16px;padding:17px 18px;display:grid;grid-template-columns:minmax(330px,1.5fr) minmax(180px,.7fr) minmax(120px,.45fr) minmax(120px,.45fr) auto;gap:18px;align-items:center;box-shadow:0 5px 18px rgba(15,23,42,.025);transition:.15s}
.document-row:hover{border-color:#bfdbfe;box-shadow:0 9px 24px rgba(37,99,235,.07)}
.doc-primary{min-width:0}.doc-primary-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:7px}
.doc-primary h3{font-size:15px;margin:0 0 5px;line-height:1.25}.doc-primary .doc-number{margin:0;font-size:12px}
.doc-cell{min-width:0}.doc-cell small{display:block;color:#94a3b8;font-size:10px;text-transform:uppercase;letter-spacing:.04em;font-weight:750;margin-bottom:3px}.doc-cell b{display:block;color:#334155;font-size:12px;line-height:1.35;overflow-wrap:anywhere}
.doc-row-action{display:flex;align-items:center;justify-content:flex-end}.doc-row-action .btn{padding:9px 13px;font-size:12px}
.doc-status{padding:5px 8px;font-size:10px}
.doc-type{font-size:10px}
.pagination{display:flex;justify-content:center;align-items:center;gap:6px;margin:24px 0 4px;flex-wrap:wrap}
.page-link{min-width:38px;height:38px;display:grid;place-items:center;border:1px solid var(--border);border-radius:10px;background:#fff;color:#475569;text-decoration:none;font-size:13px;font-weight:750}
.page-link:hover{border-color:#bfdbfe;color:#2563eb}.page-link.active{background:#2563eb;color:#fff;border-color:#2563eb}.page-link.disabled{opacity:.4;pointer-events:none}
.catalog-tabs{margin-bottom:0}
@media(max-width:1050px){
 .document-row{grid-template-columns:1.3fr .7fr .55fr auto}
 .document-row .hide-tablet{display:none}
}
@media(max-width:760px){
 .search-main{grid-template-columns:1fr}.search-main button{width:100%}
 .search-sub{grid-template-columns:1fr}
 .catalog-toolbar{align-items:flex-start;flex-direction:column}
 .document-row{grid-template-columns:1fr auto;gap:10px}
 .document-row .doc-cell{display:none}
 .doc-row-action{align-self:start}
}


/* DSRent 5.5.1 document detail + price request */
.doc-detail-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:22px;align-items:start}
.doc-detail-main,.doc-detail-side{background:#fff;border:1px solid var(--border);border-radius:22px;box-shadow:0 10px 30px rgba(15,23,42,.04)}
.doc-detail-main{padding:28px}
.doc-detail-side{padding:26px;position:sticky;top:98px}
.doc-detail-head{margin-bottom:20px}
.doc-detail-head .badge-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}
.doc-detail-head h1{font-size:clamp(32px,3.8vw,48px);margin-bottom:13px}
.doc-detail-number{font-size:18px;font-weight:850;color:#1d4ed8;overflow-wrap:anywhere}
.doc-fact-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
.doc-fact-box{background:#f8fafc;border:1px solid #e8eef5;border-radius:15px;padding:15px}
.doc-fact-box span{display:block;color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:800;margin-bottom:5px}
.doc-fact-box b{display:block;color:#172033;font-size:14px;line-height:1.4}
.doc-section{padding-top:20px;margin-top:20px;border-top:1px solid #edf2f7}
.doc-section h2{font-size:20px;margin-bottom:10px}
.doc-section p{color:#475569;line-height:1.65}
.request-side-head{margin-bottom:18px}
.request-side-head .eyebrow{margin-bottom:10px}
.request-side-head h2{font-size:26px;margin-bottom:8px}
.request-side-head p{color:#64748b;margin:0}
.request-price-note{display:flex;gap:10px;align-items:flex-start;background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px;padding:13px 14px;margin:16px 0;color:#1e40af;font-size:13px}
.request-price-note strong{display:block;color:#1e3a8a}
.request-form label{margin-top:12px}
.request-form textarea{min-height:95px}
.request-form .btn-wide{margin-top:16px}
.request-owner{display:flex;align-items:center;gap:10px;padding-top:16px;margin-top:16px;border-top:1px solid #edf2f7;color:#64748b;font-size:12px}
.request-owner-icon{width:34px;height:34px;border-radius:11px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-weight:900}
.price-value{font-size:32px;font-weight:900;letter-spacing:-.03em;margin-bottom:5px}
.price-caption{color:#64748b;font-size:13px}
.price-action{margin-top:18px}
.login-to-request{background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:16px}
.login-to-request p{margin-top:0;color:#64748b}
@media(max-width:900px){.doc-detail-layout{grid-template-columns:1fr}.doc-detail-side{position:static}.doc-fact-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.doc-detail-main,.doc-detail-side{padding:20px}.doc-fact-grid{grid-template-columns:1fr}}


/* DSRent 5.5.2 security / 2FA */
.security-page{max-width:1120px;margin:0 auto}
.security-intro{margin-bottom:22px}
.security-intro h1{font-size:42px;margin-bottom:9px}
.security-intro p{color:#64748b;max-width:760px}
.security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.security-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:22px;box-shadow:0 8px 26px rgba(15,23,42,.035)}
.security-card h3{margin:0 0 8px}.security-card p{color:#64748b;margin:0 0 14px}
.security-status{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}
.security-status.on{background:#dcfce7;color:#166534}.security-status.off{background:#fef3c7;color:#92400e}

.twofa-shell{max-width:1080px;margin:0 auto}
.twofa-header{margin-bottom:22px}.twofa-header h1{font-size:42px;margin-bottom:8px}.twofa-header p{color:#64748b}
.twofa-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:20px;align-items:start}
.twofa-qr-card,.twofa-form-card{background:#fff;border:1px solid var(--border);border-radius:22px;padding:25px;box-shadow:0 9px 28px rgba(15,23,42,.04)}
.twofa-qr-card{text-align:center}
.twofa-qr-box{width:252px;height:252px;margin:18px auto;background:#fff;border:1px solid #dbe3ee;border-radius:18px;padding:15px;display:grid;place-items:center}
.twofa-qr-box img,.twofa-qr-box canvas{max-width:220px!important;max-height:220px!important}
.twofa-step{display:flex;gap:12px;align-items:flex-start;margin:18px 0}
.twofa-step-num{width:32px;height:32px;flex:0 0 32px;border-radius:10px;background:#eff6ff;color:#2563eb;display:grid;place-items:center;font-weight:900}
.twofa-step div:last-child{color:#475569}
.twofa-step strong{display:block;color:#172033;margin-bottom:3px}
.twofa-secret-wrap{margin:16px 0;text-align:left}
.twofa-secret{display:flex;gap:8px;align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:10px 12px}
.twofa-secret code{padding:0;background:none;display:inline;color:#334155;font-size:13px;letter-spacing:.05em;flex:1;word-break:break-all}
.copy-mini{padding:7px 10px!important;font-size:11px!important;white-space:nowrap}
.authenticator-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0}
.authenticator-card{border:1px solid #e2e8f0;border-radius:14px;padding:13px;background:#f8fafc}
.authenticator-card b{display:block;font-size:13px}.authenticator-card span{display:block;color:#64748b;font-size:11px;margin-top:3px}
.twofa-enabled{background:#ecfdf5;border:1px solid #bbf7d0;border-radius:18px;padding:22px;color:#166534}
.twofa-enabled h2{margin-top:0;color:#14532d}
.security-note{font-size:12px;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:12px 13px}
@media(max-width:850px){.security-grid,.twofa-layout{grid-template-columns:1fr}.twofa-qr-card{text-align:left}.twofa-qr-box{margin:18px 0}.authenticator-grid{grid-template-columns:1fr}}


/* DSRent 5.5.3 account security + recovery codes */
.account-security{max-width:1050px;margin:0 auto}
.account-security-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.account-security-card{background:#fff;border:1px solid var(--border);border-radius:20px;padding:22px;box-shadow:0 8px 26px rgba(15,23,42,.035)}
.account-security-card h3{margin:0 0 8px}.account-security-card p{color:#64748b}
.recovery-box{background:#fff7ed;border:1px solid #fed7aa;border-radius:16px;padding:18px;margin-top:18px}
.recovery-box h3{margin-top:0;color:#9a3412}.recovery-codes{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:14px 0}
.recovery-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#fff;border:1px solid #fdba74;border-radius:10px;padding:10px 12px;font-weight:800;letter-spacing:.06em;text-align:center}
.critical-2fa{background:#fff1f2;border:1px solid #fecdd3;color:#9f1239;border-radius:14px;padding:14px 16px;margin-bottom:18px}
.login-2fa-help{font-size:13px;color:#64748b;margin-top:12px}
.login-2fa-help a{font-weight:700}
@media(max-width:760px){.account-security-grid,.recovery-codes{grid-template-columns:1fr}}

/* DSRent 5.6.0 legal documents and cookie consent */
.legal-wrap{max-width:1040px;margin:0 auto}.legal-hero{margin-bottom:24px}.legal-hero h1{font-size:44px;line-height:1.08;margin:8px 0 12px}.legal-hero p{color:#64748b;max-width:820px}
.legal-doc{background:#fff;border:1px solid var(--border);border-radius:22px;padding:34px 38px;box-shadow:0 8px 28px rgba(15,23,42,.035);line-height:1.65}
.legal-doc h2{margin:34px 0 10px;font-size:25px}.legal-doc h3{margin:24px 0 8px;font-size:19px}.legal-doc p,.legal-doc li{color:#334155}.legal-doc ul{padding-left:22px}.legal-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.legal-pill{background:#eff6ff;color:#1d4ed8;border:1px solid #dbeafe;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}
.cookie-banner{position:fixed;left:22px;right:22px;bottom:20px;z-index:9999;max-width:1180px;margin:auto;background:#fff;border:1px solid #dbe3ee;border-radius:20px;box-shadow:0 18px 60px rgba(15,23,42,.18);padding:20px 22px;display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center}
.cookie-banner h3{margin:0 0 5px}.cookie-banner p{margin:0;color:#64748b;font-size:13px;line-height:1.5}.cookie-actions{display:flex;gap:9px;flex-wrap:wrap}.cookie-settings{margin-top:14px;padding-top:14px;border-top:1px solid #e2e8f0}.cookie-choice{display:flex;align-items:flex-start;gap:10px;margin:8px 0}.cookie-choice input{margin-top:4px}.cookie-choice small{display:block;color:#64748b}
.cookie-fab{position:fixed;left:18px;bottom:18px;z-index:9990;border:1px solid #dbe3ee;background:#fff;border-radius:999px;padding:9px 12px;font-weight:800;font-size:12px;box-shadow:0 8px 25px rgba(15,23,42,.12);cursor:pointer}
@media(max-width:760px){.legal-doc{padding:24px 20px}.legal-hero h1{font-size:34px}.cookie-banner{grid-template-columns:1fr;left:10px;right:10px;bottom:10px}.cookie-actions{width:100%}.cookie-actions button{flex:1}}


/* DSRent 5.6.1 cookie preferences redesign */
.cookie-banner{position:fixed;left:18px;right:18px;bottom:18px;z-index:9998;max-width:1040px;margin:auto;background:#fff;border:1px solid #dbe3ee;border-radius:18px;box-shadow:0 18px 60px rgba(15,23,42,.18);padding:18px 20px;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}
.cookie-banner-copy h3{margin:0 0 5px;font-size:17px}.cookie-banner-copy p{margin:0;color:#64748b;font-size:13px;line-height:1.5;max-width:720px}
.cookie-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end}.cookie-actions .btn{white-space:nowrap;padding:10px 14px;font-size:13px}
.cookie-modal[hidden]{display:none!important}
.cookie-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px}
.cookie-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.48);backdrop-filter:blur(3px)}
.cookie-modal-card{position:relative;z-index:1;width:min(650px,100%);max-height:min(760px,calc(100vh - 36px));overflow:auto;background:#fff;border:1px solid #dbe3ee;border-radius:22px;box-shadow:0 28px 90px rgba(15,23,42,.28);padding:26px}
.cookie-modal-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding-bottom:18px;border-bottom:1px solid #e8eef5}
.cookie-modal-head h2{font-size:26px;margin:0 0 7px}.cookie-modal-head p{color:#64748b;margin:0;font-size:13px;line-height:1.5}
.cookie-close{width:38px;height:38px;border-radius:11px;background:#f8fafc;border:1px solid #e2e8f0;color:#475569;padding:0;font-size:22px;line-height:1;flex:0 0 auto}
.cookie-pref-list{display:grid;gap:12px;padding:18px 0}
.cookie-pref{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;border:1px solid #e2e8f0;border-radius:16px;padding:16px 17px;background:#fff}
.cookie-pref h3{font-size:15px;margin:0 0 5px}.cookie-pref p{font-size:12px;color:#64748b;margin:0;line-height:1.5}
.cookie-pref-badge{display:inline-flex;margin-top:8px;padding:5px 8px;border-radius:999px;background:#ecfdf5;color:#166534;font-size:10px;font-weight:800}
.cookie-switch{position:relative;width:48px;height:28px;display:inline-block}.cookie-switch input{position:absolute;opacity:0;pointer-events:none}.cookie-switch span{position:absolute;inset:0;background:#cbd5e1;border-radius:999px;transition:.18s}.cookie-switch span:before{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;background:white;border-radius:50%;box-shadow:0 2px 6px rgba(15,23,42,.2);transition:.18s}.cookie-switch input:checked+span{background:#2563eb}.cookie-switch input:checked+span:before{transform:translateX(20px)}.cookie-switch input:disabled+span{background:#22c55e;opacity:.85}
.cookie-modal-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;padding-top:18px;border-top:1px solid #e8eef5}.cookie-modal-foot-left,.cookie-modal-foot-right{display:flex;gap:8px;flex-wrap:wrap}
.cookie-modal-foot .btn{padding:10px 14px;font-size:13px}
.cookie-policy-links{font-size:12px;color:#64748b;margin-top:13px}.cookie-policy-links a{font-weight:700}
.cookie-fab{position:fixed;left:18px;bottom:18px;z-index:9990;border:1px solid #dbe3ee;background:#fff;border-radius:999px;padding:9px 12px;font-weight:800;font-size:12px;box-shadow:0 8px 25px rgba(15,23,42,.12);cursor:pointer}
@media(max-width:760px){
 .cookie-banner{grid-template-columns:1fr;left:10px;right:10px;bottom:10px;padding:16px}.cookie-actions{justify-content:stretch}.cookie-actions .btn{flex:1}
 .cookie-modal{padding:10px;align-items:end}.cookie-modal-card{border-radius:20px 20px 12px 12px;padding:20px;max-height:88vh}
 .cookie-modal-foot{align-items:stretch;flex-direction:column}.cookie-modal-foot-left,.cookie-modal-foot-right{display:grid;grid-template-columns:1fr}.cookie-pref{grid-template-columns:1fr auto}
}


/* DSRent 5.6.2 cookie routing/layout hotfix */
.footer-cookie-link{appearance:none;border:0;background:none;padding:0;margin:0 14px 8px 0;color:#475569;font:inherit;font-weight:650;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.footer-cookie-link:hover{color:#2563eb}
.cookie-fab{display:none!important}


/* DSRent 5.7.0 static pages CMS */
.cms-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.cms-head p{color:#64748b;margin:6px 0 0}
.cms-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cms-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;box-shadow:0 7px 24px rgba(15,23,42,.035)}
.cms-card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.cms-card h3{margin:0 0 6px}.cms-card p{color:#64748b;margin:0 0 14px;font-size:13px}.cms-card-actions{display:flex;gap:8px;flex-wrap:wrap}
.cms-status{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:850}.cms-status.published{background:#dcfce7;color:#166534}.cms-status.draft{background:#f1f5f9;color:#64748b}
.editor-shell{background:#fff;border:1px solid var(--border);border-radius:20px;box-shadow:0 8px 28px rgba(15,23,42,.035);overflow:hidden}
.editor-toolbar{display:flex;gap:6px;flex-wrap:wrap;padding:10px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.editor-toolbar button{background:#fff;color:#334155;border:1px solid #dbe3ee;padding:7px 10px;border-radius:9px;font-size:12px}
.editor-area{min-height:520px;padding:28px;outline:none;line-height:1.65;color:#1f2937}.editor-area h2{font-size:27px;margin:32px 0 10px}.editor-area h3{font-size:20px;margin:23px 0 8px}.editor-area p{margin:10px 0}.editor-area ul,.editor-area ol{padding-left:24px}
.editor-meta{display:grid;grid-template-columns:1fr 180px;gap:12px;margin-bottom:14px}.editor-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:14px}.editor-actions-right{display:flex;gap:8px}
.page-admin-note{background:#eff6ff;border:1px solid #bfdbfe;border-radius:13px;padding:12px 14px;color:#1e40af;font-size:12px;margin-bottom:16px}
.static-page .legal-doc{min-height:300px}
@media(max-width:760px){.cms-grid{grid-template-columns:1fr}.cms-head{align-items:flex-start;flex-direction:column}.editor-meta{grid-template-columns:1fr}.editor-actions{align-items:stretch;flex-direction:column}.editor-actions-right{display:grid}}


/* DSRent 5.7.3 B2B request form */
.request-company-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:15px;padding:14px 15px;margin-bottom:16px}
.request-company-card strong{display:block;color:#0f172a;margin-bottom:3px}.request-company-card span{color:#64748b;font-size:12px}
.request-form-compact{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.request-form-compact label{margin:0}
.request-form-compact .full{grid-column:1/-1}
.request-form-compact textarea{min-height:92px}
.request-submit-note{font-size:12px;color:#64748b;margin-top:10px;line-height:1.45}
.request-login-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:18px}
.request-login-box h3{margin:0 0 7px}.request-login-box p{color:#64748b;margin:0 0 14px}
@media(max-width:650px){.request-form-compact{grid-template-columns:1fr}.request-form-compact .full{grid-column:auto}}


/* DSRent 5.7.4 category management */
.category-admin-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:20px}
.category-admin-head p{color:#64748b;margin:6px 0 0}
.category-admin-table .cat-name{font-weight:800;color:#0f172a}
.category-admin-table .cat-slug{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#64748b;font-size:12px}
.category-admin-table .cat-count{font-weight:800}
.category-admin-form{max-width:820px}
.category-admin-form .panel{padding:26px}
.category-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.category-form-grid .full{grid-column:1/-1}
.category-switch{display:flex;gap:10px;align-items:center;margin-top:15px}
.category-switch input{width:18px;height:18px;margin:0}
.category-danger{margin-top:20px;padding-top:18px;border-top:1px solid #e2e8f0}
.category-help{background:#eff6ff;border:1px solid #bfdbfe;border-radius:14px;padding:13px 14px;color:#1e40af;font-size:13px;margin-bottom:16px}
@media(max-width:720px){
 .category-admin-head{align-items:flex-start;flex-direction:column}
 .category-form-grid{grid-template-columns:1fr}
 .category-form-grid .full{grid-column:auto}
}


/* DSRent 5.8.0 document moderation */
.doc-admin-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:end;margin-bottom:18px}
.doc-admin-toolbar p{margin:5px 0 0;color:#64748b}
.doc-admin-filter{display:grid;grid-template-columns:1.4fr .7fr .7fr auto;gap:10px;background:#fff;border:1px solid var(--border);border-radius:16px;padding:14px;margin-bottom:16px}
.doc-admin-filter label{margin:0}
.doc-admin-list .doc-admin-status{white-space:nowrap}
.doc-edit-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(320px,.6fr);gap:18px;align-items:start}
.doc-edit-card{background:#fff;border:1px solid var(--border);border-radius:19px;padding:22px;box-shadow:0 7px 24px rgba(15,23,42,.035)}
.doc-edit-card.sticky{position:sticky;top:94px}
.doc-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.doc-edit-grid .full{grid-column:1/-1}
.doc-edit-card h2{font-size:22px;margin-bottom:14px}.doc-edit-card h3{font-size:17px}
.review-list{display:grid;gap:9px}.review-item{border:1px solid #e2e8f0;border-radius:13px;padding:12px;background:#f8fafc}.review-item label{margin:0;font-size:13px}.review-item select{margin-top:6px}
.review-progress{display:flex;justify-content:space-between;gap:8px;align-items:center;background:#eff6ff;border:1px solid #bfdbfe;border-radius:13px;padding:11px 13px;margin-bottom:13px;color:#1e40af;font-size:12px}
.review-warning{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:13px;padding:11px 13px;font-size:12px;margin-bottom:12px}
.review-ok{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534;border-radius:13px;padding:11px 13px;font-size:12px;margin-bottom:12px}
.doc-admin-files{display:grid;gap:8px}.doc-file-row{display:flex;justify-content:space-between;gap:10px;align-items:center;border:1px solid #e2e8f0;border-radius:11px;padding:9px 11px;font-size:12px}
.doc-history{display:grid;gap:8px;max-height:340px;overflow:auto}.doc-history-item{border-left:3px solid #bfdbfe;padding:8px 10px;background:#f8fafc;border-radius:0 10px 10px 0;font-size:12px}.doc-history-item small{color:#64748b}
@media(max-width:980px){.doc-edit-layout{grid-template-columns:1fr}.doc-edit-card.sticky{position:static}}
@media(max-width:760px){.doc-admin-filter,.doc-edit-grid{grid-template-columns:1fr}.doc-edit-grid .full{grid-column:auto}.doc-admin-toolbar{align-items:flex-start;flex-direction:column}}

/* DSRent 5.8.1 moderation workspace UX */
.doc-edit-layout{grid-template-columns:minmax(0,1fr) 300px;gap:16px}
.doc-edit-card{padding:20px}
.doc-edit-grid{gap:10px 12px}
.field-review{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-3px;padding:8px 10px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc}
.field-review.full{grid-column:1/-1}.field-review span{font-size:12px;font-weight:800;color:#64748b}.field-review select{width:auto;min-width:170px;margin:0;padding:7px 30px 7px 9px;font-size:12px}
.doc-details>summary{cursor:pointer;list-style:none;font-size:20px;font-weight:850;color:#0f172a;display:flex;align-items:center;justify-content:space-between}.doc-details>summary::-webkit-details-marker{display:none}.doc-details>summary:after{content:'+';font-size:24px;color:#64748b}.doc-details[open]>summary:after{content:'−'}.doc-details[open]>summary{margin-bottom:16px}
.moderation-summary{padding:18px}.moderation-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}.moderation-head h2{font-size:18px;margin:4px 0 0}.moderation-count{display:grid;place-items:center;min-width:48px;height:34px;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:13px}.moderation-summary textarea{min-height:88px}.moderation-note{font-size:11px;margin:10px 0 0}.review-progress{margin-bottom:10px}.review-warning,.review-ok{margin-bottom:12px}
.doc-admin-toolbar h1{font-size:clamp(30px,4vw,52px);line-height:1.05}
@media(max-width:980px){.doc-edit-layout{grid-template-columns:1fr}.field-review select{min-width:155px}}
@media(max-width:600px){.field-review{align-items:stretch;flex-direction:column}.field-review select{width:100%}}

/* DSRent 5.8.2 moderation workspace */
.moderation-workspace{max-width:1480px;margin:0 auto}.moderation-page-head{display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:22px}.moderation-page-head h1{font-size:clamp(34px,4vw,54px);margin:8px 0 8px;letter-spacing:-.035em}.moderation-page-head p{margin:0;color:#64748b}.moderation-kickers{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.status-chip,.meta-chip{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:850}.meta-chip{background:#f1f5f9;color:#475569}.status-chip{background:#eef2ff;color:#3730a3}.status-published{background:#dcfce7;color:#166534}.status-rejected,.status-suspended{background:#fff1f2;color:#9f1239}.moderation-head-actions{display:flex;gap:8px;flex-wrap:wrap}
.moderation-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:18px;align-items:start}.moderation-main{display:grid;gap:14px}.moderation-section{background:#fff;border:1px solid #dfe7f0;border-radius:20px;padding:22px 24px;box-shadow:0 8px 26px rgba(15,23,42,.035)}.section-title-row{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}.section-title-row>div{display:flex;align-items:center;gap:10px}.section-title-row h2{font-size:22px;margin:0}.section-title-row p{margin:2px 0 0;color:#64748b;font-size:12px}.section-index{display:inline-grid;place-items:center;min-width:32px;height:32px;border-radius:10px;background:#eff6ff;color:#2563eb;font-weight:900;font-size:12px}
.field-grid{display:grid;gap:12px}.field-grid.two{grid-template-columns:1fr 1fr}.field-grid .full{grid-column:1/-1}.standalone-field{margin-top:12px}.verify-field{margin-top:12px;border:1px solid #e2e8f0;border-radius:15px;background:#fbfdff;padding:12px}.verify-field>label{margin:0}.verify-field input,.verify-field textarea{background:#fff}.verify-control{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:9px;padding-top:9px;border-top:1px solid #e8eef5}.verify-control>span{font-size:11px;font-weight:800;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.verify-control select{width:auto;min-width:170px;margin:0;padding:7px 34px 7px 10px;font-size:12px;font-weight:750;background:#fff}.verify-field[data-review-state="yes"]{border-color:#bbf7d0;background:#f0fdf4}.verify-field[data-review-state="no"]{border-color:#fecaca;background:#fff1f2}.verify-field[data-review-state="na"]{border-color:#e2e8f0;background:#f8fafc}.verified-pair{margin-top:12px}.verified-pair .verify-field{margin-top:0}.date-verify .compact-inside{margin-bottom:0}.scope-field textarea{min-height:130px}
.collapsible{padding:0;overflow:hidden}.collapsible>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 22px}.collapsible>summary::-webkit-details-marker{display:none}.collapsible>summary>div{display:flex;align-items:center;gap:10px}.collapsible>summary strong{font-size:18px}.summary-hint{font-size:11px;color:#94a3b8}.collapsible[open]>summary{border-bottom:1px solid #e8eef5}.details-body{padding:18px 22px}.file-verify{margin:0 0 12px;padding:0 0 10px;border-top:0}.doc-file-row>div{display:flex;flex-direction:column;gap:2px}.doc-file-row small{color:#64748b}.empty-files{border:1px dashed #fdba74;background:#fff7ed;border-radius:14px;padding:16px;color:#9a3412}.empty-files p{margin:5px 0 0;color:#9a3412;font-size:12px}
.moderation-sidebar{position:sticky;top:92px}.moderation-summary-card{background:#fff;border:1px solid #dfe7f0;border-radius:20px;padding:20px;box-shadow:0 12px 36px rgba(15,23,42,.07)}.moderation-summary-top{display:flex;justify-content:space-between;align-items:center}.progress-badge{display:inline-grid;place-items:center;min-width:48px;height:38px;padding:0 10px;border-radius:999px;background:#eff6ff;color:#2563eb;font-weight:900}.moderation-summary-card h2{font-size:20px;margin:13px 0 12px}.progress-track{height:8px;border-radius:999px;background:#e9eff7;overflow:hidden}.progress-track span{display:block;height:100%;background:#2563eb;border-radius:999px;transition:width .2s}.progress-caption{display:flex;justify-content:space-between;margin:8px 0 14px;color:#64748b;font-size:12px}.summary-alert,.summary-success{border-radius:13px;padding:12px 13px;margin-bottom:14px;display:flex;flex-direction:column;gap:3px;font-size:12px}.summary-alert{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.summary-success{background:#ecfdf5;border:1px solid #bbf7d0;color:#166534}.remaining-checks{margin:0 0 14px;padding:12px 13px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:13px}.remaining-checks>strong{display:block;font-size:12px;margin-bottom:8px}.remaining-checks>div{display:flex;align-items:center;gap:7px;padding:4px 0;color:#64748b;font-size:12px}.remaining-checks>div:before{content:"•";color:#f59e0b}.remaining-checks>div.done{display:none}.moderation-summary-card textarea{min-height:110px}.sidebar-note{font-size:11px;color:#64748b;margin:10px 0 0}.review-select.is-yes{border-color:#86efac;color:#166534;background:#f0fdf4}.review-select.is-no{border-color:#fca5a5;color:#991b1b;background:#fff1f2}.review-select.is-na{color:#64748b;background:#f8fafc}
@media(max-width:1050px){.moderation-layout{grid-template-columns:1fr}.moderation-sidebar{position:static}.moderation-summary-card{display:grid;grid-template-columns:1fr 1fr;gap:12px}.moderation-summary-top,.moderation-summary-card h2,.progress-track,.progress-caption,.remaining-checks,.summary-alert,.summary-success,.moderation-summary-card .btn-wide,.sidebar-note{grid-column:1/-1}}@media(max-width:760px){.moderation-page-head{align-items:flex-start;flex-direction:column}.field-grid.two{grid-template-columns:1fr}.field-grid .full{grid-column:auto}.section-title-row{flex-direction:column}.verify-control{align-items:flex-start;flex-direction:column}.verify-control select{width:100%}.moderation-summary-card{display:block}.moderation-section{padding:18px}.collapsible>summary,.details-body{padding-left:18px;padding-right:18px}}


/* =========================================================
   DSRent 5.8.3 — Unified moderation form controls
   ========================================================= */

.moderation-workspace{
  --control-h:52px;
  --control-radius:13px;
  --control-border:#cfd9e6;
  --control-border-hover:#aebed0;
  --control-focus:#2f6fed;
  --control-bg:#fff;
  --control-text:#172033;
  --control-muted:#718096;
}

/* All field labels in moderation use one rhythm */
.moderation-workspace label{
  margin:0;
  display:block;
  font-size:13px;
  font-weight:800;
  line-height:1.35;
  color:#35445a;
}

.moderation-workspace .field-grid{
  align-items:start;
}

.moderation-workspace .field-grid.two{
  column-gap:16px;
  row-gap:18px;
}

/* Unified text controls */
.moderation-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.moderation-workspace select,
.moderation-workspace textarea{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  margin-top:8px;
  border:1px solid var(--control-border);
  border-radius:var(--control-radius);
  background:var(--control-bg);
  color:var(--control-text);
  font-family:inherit;
  font-size:14px;
  font-weight:650;
  line-height:1.35;
  outline:none;
  box-shadow:0 1px 2px rgba(15,23,42,.025);
  transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}

/* Inputs and selects MUST be same height */
.moderation-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.moderation-workspace select{
  height:var(--control-h);
  min-height:var(--control-h);
  padding:0 14px;
}

/* Select gets predictable right padding */
.moderation-workspace select{
  padding-right:40px;
}

/* Textarea is visually related to inputs but can grow */
.moderation-workspace textarea{
  min-height:112px;
  padding:13px 14px;
  resize:vertical;
  line-height:1.55;
}

/* Notes need a little more breathing room */
.moderation-workspace textarea[name="public_notes"],
.moderation-workspace textarea[name="private_notes"]{
  min-height:128px;
}

/* Useful, calm hover/focus states */
.moderation-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):hover,
.moderation-workspace select:hover,
.moderation-workspace textarea:hover{
  border-color:var(--control-border-hover);
}

.moderation-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,
.moderation-workspace select:focus,
.moderation-workspace textarea:focus{
  border-color:var(--control-focus);
  box-shadow:0 0 0 4px rgba(47,111,237,.10);
}

/* Placeholder should not compete with entered data */
.moderation-workspace input::placeholder,
.moderation-workspace textarea::placeholder{
  color:#9aa7b8;
  font-weight:550;
  opacity:1;
}

/* Remove ugly native number arrows and make money fields look like normal fields */
.moderation-workspace input[type="number"]{
  appearance:textfield;
  -moz-appearance:textfield;
  font-variant-numeric:tabular-nums;
}

.moderation-workspace input[type="number"]::-webkit-outer-spin-button,
.moderation-workspace input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}

/* Date controls */
.moderation-workspace input[type="date"]{
  font-variant-numeric:tabular-nums;
}

/* Additional/commercial section: equal-height columns and stronger grouping */
.moderation-section[data-section="additional"] .details-body{
  padding-top:20px;
}

.moderation-workspace .commercial-field{
  position:relative;
}

.moderation-workspace .money-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  padding:16px;
  margin-top:4px;
  border:1px solid #e3eaf2;
  border-radius:16px;
  background:#f8fafc;
}

.moderation-workspace .money-grid label{
  color:#44546a;
}

.moderation-workspace .money-grid input{
  background:#fff;
}

/* Verify blocks also use the same control height */
.moderation-workspace .verify-control{
  min-height:42px;
}

.moderation-workspace .verify-control select,
.moderation-workspace .review-select{
  height:38px;
  min-height:38px;
  margin:0;
  padding:0 36px 0 11px;
  border-radius:10px;
  font-size:12px;
  font-weight:750;
}

/* Prevent review select rules from being overwritten by generic form control rules */
.moderation-workspace .verify-control select.review-select{
  width:auto;
  min-width:178px;
}

/* Standalone controls have consistent spacing */
.moderation-workspace .standalone-field{
  margin-top:18px;
}

.moderation-workspace .verify-field{
  margin-top:18px;
  padding:14px;
}

/* Collapsible additional section — calmer interior */
.moderation-workspace .collapsible .details-body > .field-grid{
  gap:18px 16px;
}

/* Sidebar controls match the main form, but remain compact */
.moderation-summary-card label{
  font-size:12px;
}

.moderation-summary-card select{
  height:44px;
  min-height:44px;
  margin-top:7px;
}

.moderation-summary-card textarea{
  min-height:96px;
  font-weight:600;
}

/* Long owner names should not visually explode the layout */
.moderation-workspace select[name="owner_id"]{
  text-overflow:ellipsis;
}

/* Section 05 specific visual hierarchy */
.additional-top-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px 16px;
  margin-bottom:20px;
}

.additional-notes{
  display:grid;
  gap:18px;
  margin-top:20px;
}

.additional-subtitle{
  margin:2px 0 12px;
  font-size:12px;
  font-weight:850;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.055em;
}

/* Smaller screens */
@media(max-width:900px){
  .moderation-workspace .money-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:760px){
  .additional-top-grid,
  .moderation-workspace .money-grid{
    grid-template-columns:1fr;
  }

  .moderation-workspace input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
  .moderation-workspace select{
    height:50px;
    min-height:50px;
  }

  .moderation-workspace .verify-control select.review-select{
    width:100%;
    min-width:0;
  }
}


/* =========================================================
   DSRent 5.8.4 — optional document files + quick publish
   ========================================================= */

.files-section .details-body{
  display:grid;
  gap:16px;
}

.admin-upload-box{
  border:1px dashed #b9c9dc;
  border-radius:16px;
  background:#f8fafc;
  padding:16px;
}

.admin-upload-box h3{
  margin:0 0 5px;
  font-size:15px;
}

.admin-upload-box p{
  margin:0 0 14px;
  color:#64748b;
  font-size:12px;
  line-height:1.5;
}

.admin-upload-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 180px;
  gap:12px;
  align-items:end;
}

.admin-upload-grid input[type="file"]{
  height:auto!important;
  min-height:52px;
  padding:10px 12px!important;
  background:#fff;
  cursor:pointer;
}

.admin-upload-grid input[type="file"]::file-selector-button{
  border:0;
  border-radius:9px;
  background:#eaf2ff;
  color:#2158be;
  font:inherit;
  font-size:12px;
  font-weight:800;
  padding:8px 10px;
  margin-right:10px;
  cursor:pointer;
}

.files-optional-note{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 14px;
  border:1px solid #dbe7f4;
  border-radius:13px;
  background:#f8fbff;
  color:#53657b;
  font-size:12px;
  line-height:1.5;
}

.files-optional-note b{
  display:block;
  color:#2f4056;
  margin-bottom:2px;
}

.doc-file-row{
  gap:14px;
}

.doc-file-row .file-actions{
  display:flex;
  gap:7px;
  align-items:center;
  flex:0 0 auto;
}

.file-delete-button{
  background:#fff!important;
  color:#b42318!important;
  border:1px solid #f0c7c3!important;
  padding:8px 10px!important;
  font-size:11px!important;
  border-radius:9px!important;
}

.file-delete-button:hover{
  background:#fff5f4!important;
  border-color:#e7aaa4!important;
}

.quick-publish-box{
  margin-top:16px;
  padding:15px;
  border:1px solid #b9d1ff;
  border-radius:15px;
  background:linear-gradient(180deg,#f4f8ff,#eef5ff);
}

.quick-publish-box h3{
  margin:0 0 5px;
  color:#174ea6;
  font-size:15px;
}

.quick-publish-box p{
  margin:0 0 12px;
  color:#536b91;
  font-size:11px;
  line-height:1.5;
}

.quick-publish-button{
  width:100%;
  background:#174ea6!important;
}

.quick-publish-button:hover{
  background:#113f89!important;
}

.quick-publish-note{
  display:flex;
  gap:8px;
  margin-top:9px;
  color:#64748b;
  font-size:10px;
  line-height:1.45;
}

.optional-check{
  opacity:.86;
}

.optional-check:before{
  content:"необязательно";
  display:inline-flex;
  margin-left:7px;
  padding:3px 6px;
  border-radius:999px;
  background:#eef2f7;
  color:#64748b;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.04em;
  vertical-align:middle;
}

@media(max-width:760px){
  .admin-upload-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   DSRent 5.8.5 — Documents moderation queue
   ========================================================= */

.documents-queue{
  --queue-border:#dce5ef;
  --queue-muted:#718096;
}

.queue-hero{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-end;
  margin-bottom:18px;
}

.queue-hero h1{
  margin:4px 0 6px;
}

.queue-hero p{
  margin:0;
  color:#64748b;
}

.queue-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:16px;
}

.queue-stat{
  display:block;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--queue-border);
  border-radius:16px;
  padding:14px 16px;
  color:#334155;
  transition:.15s ease;
}

.queue-stat:hover{
  border-color:#b8cdf1;
  box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.queue-stat.active{
  border-color:#8eb4ff;
  background:#f3f7ff;
}

.queue-stat span{
  display:block;
  color:#64748b;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.055em;
}

.queue-stat strong{
  display:block;
  margin-top:4px;
  font-size:25px;
  line-height:1;
  color:#172033;
}

.queue-tabs{
  display:flex;
  gap:7px;
  flex-wrap:wrap;
  margin:0 0 14px;
}

.queue-tab{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 12px;
  border:1px solid #dce5ef;
  border-radius:11px;
  background:#fff;
  color:#475569;
  font-size:12px;
  font-weight:800;
}

.queue-tab:hover{
  border-color:#b8c9de;
}

.queue-tab.active{
  color:#1d5bd6;
  background:#eef5ff;
  border-color:#b9d3ff;
}

.queue-tab .tab-count{
  min-width:23px;
  height:20px;
  display:inline-grid;
  place-items:center;
  padding:0 6px;
  border-radius:999px;
  background:#f1f5f9;
  color:#64748b;
  font-size:10px;
}

.queue-tab.active .tab-count{
  background:#dbeafe;
  color:#1d4ed8;
}

.queue-filter{
  display:grid;
  grid-template-columns:minmax(300px,1fr) 260px auto;
  gap:10px;
  align-items:end;
  padding:14px;
  margin-bottom:15px;
  background:#fff;
  border:1px solid var(--queue-border);
  border-radius:16px;
}

.queue-filter label{
  margin:0;
  font-size:12px;
  font-weight:800;
  color:#44546a;
}

.queue-filter input,
.queue-filter select{
  height:46px;
  margin-top:7px;
  border:1px solid #cfd9e6;
  border-radius:11px;
  background:#fff;
  padding:0 12px;
  font:inherit;
  font-size:13px;
  font-weight:650;
  color:#172033;
}

.queue-filter button{
  height:46px;
  padding:0 20px;
}

.queue-list{
  display:grid;
  gap:10px;
}

.queue-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) 175px 160px;
  gap:18px;
  align-items:center;
  padding:17px 18px;
  background:#fff;
  border:1px solid var(--queue-border);
  border-radius:17px;
  box-shadow:0 3px 14px rgba(15,23,42,.025);
  transition:.15s ease;
}

.queue-card:hover{
  border-color:#b9cbe0;
  box-shadow:0 9px 25px rgba(15,23,42,.05);
}

.queue-card.priority{
  border-left:4px solid #f59e0b;
  padding-left:15px;
}

.queue-card.problem{
  border-left:4px solid #ef4444;
  padding-left:15px;
}

.queue-main{
  min-width:0;
}

.queue-title-row{
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:6px;
}

.queue-doc-id{
  color:#94a3b8;
  font-size:11px;
  font-weight:800;
}

.queue-reg{
  color:#172033;
  font-size:15px;
  font-weight:850;
  line-height:1.3;
}

.queue-product{
  color:#52657d;
  font-size:13px;
  line-height:1.4;
  margin-bottom:9px;
  max-width:820px;
}

.queue-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  color:#7b8aa0;
  font-size:11px;
}

.queue-meta b{
  color:#52657d;
  font-weight:750;
}

.queue-progress{
  min-width:0;
}

.queue-progress-top{
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-bottom:7px;
  color:#52657d;
  font-size:11px;
  font-weight:750;
}

.queue-progress-bar{
  height:7px;
  border-radius:999px;
  overflow:hidden;
  background:#edf2f7;
}

.queue-progress-bar span{
  display:block;
  height:100%;
  background:#3b82f6;
  border-radius:999px;
}

.queue-progress-bar.problem span{
  background:#ef4444;
}

.queue-progress-note{
  margin-top:7px;
  color:#94a3b8;
  font-size:10px;
  line-height:1.35;
}

.queue-actions{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:8px;
}

.queue-actions .btn{
  text-align:center;
}

.queue-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  padding:5px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:850;
  line-height:1.2;
}

.queue-status.moderation{background:#fff4d6;color:#9a5a00}
.queue-status.published{background:#dcfce7;color:#166534}
.queue-status.expired{background:#f1f5f9;color:#64748b}
.queue-status.rejected{background:#fee2e2;color:#991b1b}
.queue-status.suspended{background:#ffedd5;color:#9a3412}
.queue-status.draft{background:#e0e7ff;color:#3730a3}

.queue-empty{
  background:#fff;
  border:1px dashed #cbd5e1;
  border-radius:18px;
  padding:42px 24px;
  text-align:center;
}

.queue-empty h3{
  margin:0 0 6px;
}

.queue-empty p{
  margin:0;
  color:#64748b;
}

@media(max-width:1050px){
  .queue-card{
    grid-template-columns:minmax(0,1fr) 170px;
  }
  .queue-actions{
    grid-column:1/-1;
    flex-direction:row;
    justify-content:flex-end;
  }
}

@media(max-width:820px){
  .queue-stats{
    grid-template-columns:1fr 1fr;
  }
  .queue-filter{
    grid-template-columns:1fr;
  }
  .queue-card{
    grid-template-columns:1fr;
  }
  .queue-actions{
    grid-column:auto;
    justify-content:stretch;
  }
  .queue-progress{
    max-width:380px;
  }
}

@media(max-width:520px){
  .queue-stats{
    grid-template-columns:1fr 1fr;
  }
  .queue-card{
    padding:15px;
  }
  .queue-meta{
    display:grid;
    gap:4px;
  }
}


/* =========================================================
   DSRent 5.8.6 — Footer links polish
   ========================================================= */

.site-footer .footer-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 18px;
  margin-bottom:8px;
}

.site-footer .footer-links a,
.site-footer .footer-cookie-link{
  display:inline-flex;
  align-items:center;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent!important;
  color:#475569!important;
  font:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1.45;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  box-shadow:none!important;
  transition:color .15s ease,text-decoration-color .15s ease;
  cursor:pointer;
  white-space:nowrap;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible,
.site-footer .footer-cookie-link:hover,
.site-footer .footer-cookie-link:focus-visible{
  background:transparent!important;
  color:#2563eb!important;
  text-decoration-color:#2563eb;
  outline:none;
  box-shadow:none!important;
}

.site-footer .footer-links a:active,
.site-footer .footer-cookie-link:active{
  color:#1d4ed8!important;
}

.site-footer .footer-links a:visited{
  color:#475569;
}

.site-footer .footer-cookie-link{
  appearance:none;
  -webkit-appearance:none;
}

.site-footer .footer-cookie-link:hover{
  transform:none!important;
}

@media(min-width:1100px){
  .site-footer .footer-links{
    flex-wrap:nowrap;
  }
}

@media(max-width:760px){
  .site-footer .footer-links{
    gap:8px 14px;
  }

  .site-footer .footer-links a,
  .site-footer .footer-cookie-link{
    white-space:normal;
  }
}


/* =========================================================
   DSRent 5.8.7 — Footer structure fix
   ========================================================= */

.site-footer{
  align-items:flex-start;
}

.site-footer .footer-content{
  flex:1 1 720px;
  min-width:0;
  max-width:820px;
}

.site-footer .footer-nav{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:0 0 13px;
}

.site-footer .footer-nav a,
.site-footer .footer-nav .footer-cookie-link{
  display:inline-flex;
  align-items:center;
  margin:0;
  padding:0;
  border:0;
  background:transparent!important;
  color:#475569!important;
  font:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1.45;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  box-shadow:none!important;
  white-space:nowrap;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus-visible,
.site-footer .footer-nav .footer-cookie-link:hover,
.site-footer .footer-nav .footer-cookie-link:focus-visible{
  color:#2563eb!important;
  background:transparent!important;
  text-decoration-color:#2563eb;
  outline:none;
}

.site-footer .footer-note{
  display:block;
  width:100%;
  max-width:760px;
  margin:0;
  color:#64748b;
  font-size:12px;
  line-height:1.55;
}

/* Disable the obsolete 5.8.6 flex styling on the wrapper */
.site-footer .footer-links{
  display:block;
  max-width:none;
  margin:0;
}

@media(min-width:1100px){
  .site-footer .footer-nav{
    flex-wrap:wrap;
  }
}

@media(max-width:800px){
  .site-footer .footer-content{
    flex-basis:auto;
    width:100%;
    max-width:none;
  }

  .site-footer .footer-nav{
    gap:8px 14px;
  }

  .site-footer .footer-nav a,
  .site-footer .footer-nav .footer-cookie-link{
    white-space:normal;
  }
}


/* =========================================================
   DSRent 5.8.8 — Stable moderation header badges
   ========================================================= */

.moderation-kickers{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:8px;
  min-height:38px;
  margin:0 0 18px;
}

.moderation-kickers .eyebrow,
.moderation-kickers .status-chip,
.moderation-kickers .meta-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  box-sizing:border-box;
  min-height:34px;
  margin:0;
  padding:7px 11px;
  border-radius:999px;
  line-height:1;
  white-space:nowrap;
  vertical-align:middle;
}

.moderation-kickers .eyebrow{
  font-size:11px;
  font-weight:850;
  letter-spacing:.055em;
}

.moderation-kickers .status-chip,
.moderation-kickers .meta-chip{
  font-size:11px;
  font-weight:800;
}

.moderation-kickers .meta-chip{
  max-width:320px;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media(max-width:760px){
  .moderation-kickers{
    flex-wrap:wrap;
    min-height:0;
    gap:7px;
    margin-bottom:14px;
  }

  .moderation-kickers .meta-chip{
    max-width:100%;
  }
}


/* =========================================================
   DSRent 5.9.0 — Full users administration
   ========================================================= */

.users-admin{
  --u-border:#dce5ef;
  --u-muted:#718096;
}

.users-hero{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}

.users-hero h1{margin:4px 0 6px}
.users-hero p{margin:0;color:#64748b}

.users-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
  margin-bottom:15px;
}

.users-stat{
  display:block;
  padding:14px 16px;
  border:1px solid var(--u-border);
  border-radius:15px;
  background:#fff;
  color:#334155;
  text-decoration:none;
}

.users-stat.active{border-color:#94b9ff;background:#f3f7ff}
.users-stat span{display:block;color:#64748b;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.055em}
.users-stat strong{display:block;margin-top:5px;font-size:25px;line-height:1;color:#172033}

.users-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:13px;
}

.users-tab{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 12px;
  border:1px solid var(--u-border);
  border-radius:11px;
  background:#fff;
  color:#475569;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}

.users-tab.active{background:#eef5ff;border-color:#b9d3ff;color:#1d5bd6}
.users-tab em{
  font-style:normal;
  min-width:21px;
  height:19px;
  padding:0 5px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background:#f1f5f9;
  color:#64748b;
  font-size:9px;
}

.users-search{
  display:grid;
  grid-template-columns:minmax(280px,1fr) 210px 210px auto;
  gap:10px;
  align-items:end;
  padding:14px;
  margin-bottom:14px;
  background:#fff;
  border:1px solid var(--u-border);
  border-radius:16px;
}

.users-search label{margin:0;font-size:12px;font-weight:800;color:#44546a}
.users-search input,.users-search select{
  box-sizing:border-box;
  width:100%;
  height:46px;
  margin-top:7px;
  padding:0 12px;
  border:1px solid #cfd9e6;
  border-radius:11px;
  background:#fff;
  color:#172033;
  font:inherit;
  font-size:13px;
  font-weight:650;
}
.users-search button{height:46px;padding:0 20px}

.users-list{display:grid;gap:9px}

.user-row{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(180px,.75fr) 145px 145px;
  gap:16px;
  align-items:center;
  padding:16px 17px;
  border:1px solid var(--u-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 3px 14px rgba(15,23,42,.025);
}

.user-row:hover{border-color:#b9cbe0;box-shadow:0 8px 24px rgba(15,23,42,.045)}

.user-primary{min-width:0}
.user-name-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:4px}
.user-name{font-size:15px;font-weight:850;color:#172033}
.user-id{font-size:10px;font-weight:800;color:#94a3b8}
.user-email{font-size:12px;color:#52657d;word-break:break-word}
.user-company{font-size:12px;color:#52657d;line-height:1.4}
.user-company strong{display:block;color:#35445a}
.user-mini{font-size:11px;color:#718096;line-height:1.45}

.user-role,.user-state{
  display:inline-flex;
  width:max-content;
  padding:5px 8px;
  border-radius:999px;
  font-size:10px;
  font-weight:850;
}
.user-role.admin{background:#ede9fe;color:#5b21b6}
.user-role.owner{background:#dbeafe;color:#1d4ed8}
.user-role.client{background:#ecfdf5;color:#166534}
.user-state.active{background:#dcfce7;color:#166534}
.user-state.blocked{background:#fee2e2;color:#991b1b}
.user-state.pending{background:#fff4d6;color:#9a5a00}

.user-row-actions{display:flex;justify-content:flex-end}
.user-row-actions .btn{min-width:110px;text-align:center}

.user-profile-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom:18px;
}
.user-profile-head h1{margin:5px 0}
.user-profile-sub{display:flex;gap:7px;align-items:center;flex-wrap:wrap}

.user-admin-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:17px;
  align-items:start;
}

.user-admin-card{
  padding:21px;
  border:1px solid var(--u-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 5px 20px rgba(15,23,42,.03);
}

.user-admin-card + .user-admin-card{margin-top:14px}
.user-admin-card h2{margin:0 0 15px;font-size:20px}
.user-admin-card h3{margin:0 0 8px;font-size:15px}

.user-edit-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.user-edit-grid .full{grid-column:1/-1}

.user-edit-grid label,.user-side-form label{
  margin:0;
  font-size:12px;
  font-weight:800;
  color:#44546a;
}

.user-edit-grid input,.user-edit-grid select,.user-edit-grid textarea,
.user-side-form input,.user-side-form select,.user-side-form textarea{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  margin-top:7px;
  border:1px solid #cfd9e6;
  border-radius:11px;
  background:#fff;
  color:#172033;
  font:inherit;
  font-size:13px;
  font-weight:650;
}

.user-edit-grid input,.user-edit-grid select,.user-side-form input,.user-side-form select{
  height:48px;
  padding:0 12px;
}
.user-edit-grid textarea,.user-side-form textarea{min-height:105px;padding:12px;resize:vertical}

.user-edit-grid input:focus,.user-edit-grid select:focus,.user-edit-grid textarea:focus,
.user-side-form input:focus,.user-side-form select:focus,.user-side-form textarea:focus{
  outline:none;border-color:#2f6fed;box-shadow:0 0 0 4px rgba(47,111,237,.1)
}

.user-sidebar{position:sticky;top:90px}
.user-summary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  margin-bottom:14px;
}
.user-summary-box{
  padding:12px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#f8fafc;
}
.user-summary-box span{display:block;font-size:10px;font-weight:800;color:#718096;text-transform:uppercase}
.user-summary-box strong{display:block;margin-top:3px;font-size:18px;color:#172033}

.user-security-state{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding:11px 12px;
  border:1px solid #e2e8f0;
  border-radius:12px;
  background:#f8fafc;
  margin-bottom:9px;
  font-size:12px;
}

.user-action-stack{display:grid;gap:8px}
.user-action-stack form{margin:0}
.user-action-stack button{width:100%}

.btn-warning-soft{
  background:#fff7ed!important;
  color:#9a3412!important;
  border:1px solid #fed7aa!important;
}
.btn-danger-soft{
  background:#fff5f5!important;
  color:#b42318!important;
  border:1px solid #fecaca!important;
}

.user-related-list{display:grid;gap:7px}
.user-related-item{
  display:flex;justify-content:space-between;gap:12px;align-items:center;
  padding:10px 12px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc;
  font-size:11px;
}
.user-related-item b{color:#35445a}
.user-related-item span{color:#718096}

.user-audit{display:grid;gap:7px;max-height:360px;overflow:auto}
.user-audit-item{padding:9px 11px;border-left:3px solid #bfdbfe;background:#f8fafc;border-radius:0 10px 10px 0;font-size:11px}
.user-audit-item small{display:block;margin-top:3px;color:#718096}

.user-danger-zone{border-color:#fecaca}
.user-danger-zone h2{color:#991b1b}
.user-danger-note{margin:0 0 12px;color:#7f1d1d;font-size:11px;line-height:1.5}

@media(max-width:980px){
  .user-admin-layout{grid-template-columns:1fr}
  .user-sidebar{position:static}
  .user-row{grid-template-columns:minmax(0,1fr) 150px 120px}
  .user-row-actions{grid-column:1/-1}
}

@media(max-width:760px){
  .users-stats{grid-template-columns:1fr 1fr}
  .users-search{grid-template-columns:1fr}
  .user-row{grid-template-columns:1fr}
  .user-row-actions{grid-column:auto;justify-content:stretch}
  .user-edit-grid{grid-template-columns:1fr}
  .user-edit-grid .full{grid-column:auto}
  .user-profile-head{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   DSRent 5.9.1 — User profile polish + password generator
   ========================================================= */

.user-admin-layout{
  grid-template-columns:minmax(0,1fr) 360px;
  gap:20px;
}

.user-admin-card{
  padding:22px;
  border-radius:20px;
}

.user-admin-card h2{
  margin-bottom:16px;
}

.user-sidebar{
  top:92px;
}

.user-security-state{
  padding:12px 13px;
  border-radius:13px;
  background:#fbfcfe;
}

.user-summary{
  gap:10px;
}

.user-summary-box{
  min-height:76px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:14px;
  border-radius:14px;
}

.user-summary-box strong{
  font-size:21px;
}

.user-password-card{
  overflow:hidden;
}

.password-generator{
  display:grid;
  gap:12px;
}

.password-field-wrap{
  position:relative;
}

.password-field-wrap input{
  padding-right:46px!important;
}

.password-toggle{
  position:absolute;
  right:8px;
  top:14px;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:0!important;
  border-radius:9px!important;
  background:#f1f5f9!important;
  color:#475569!important;
  padding:0!important;
  cursor:pointer;
  font-size:14px!important;
}

.password-tools{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}

.password-tools button{
  width:100%;
  min-height:42px;
  border-radius:11px!important;
  font-size:12px!important;
}

.password-tools .secondary-tool{
  background:#f8fafc!important;
  color:#334155!important;
  border:1px solid #d8e2ee!important;
}

.password-tools .secondary-tool:hover{
  background:#f1f5f9!important;
}

.password-strength{
  display:flex;
  align-items:center;
  gap:10px;
}

.password-strength-bar{
  flex:1;
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#edf2f7;
}

.password-strength-bar span{
  display:block;
  height:100%;
  width:0;
  border-radius:999px;
  background:#cbd5e1;
  transition:width .15s ease,background .15s ease;
}

.password-strength-text{
  flex:0 0 auto;
  min-width:74px;
  text-align:right;
  color:#718096;
  font-size:10px;
  font-weight:800;
}

.password-help{
  margin:0;
  color:#718096;
  font-size:10px;
  line-height:1.5;
}

.password-save{
  width:100%;
  min-height:46px;
  margin-top:2px;
}

.copy-feedback{
  min-height:17px;
  margin-top:-3px;
  color:#166534;
  font-size:10px;
  font-weight:750;
}

.user-danger-zone{
  background:#fffafa;
}

.user-danger-zone .btn-danger-soft{
  min-height:46px;
  border-radius:12px!important;
}

@media(max-width:980px){
  .user-admin-layout{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   DSRent 5.9.2 — Password card compact layout fix
   ========================================================= */

.user-password-card{
  padding:20px;
}

.user-password-card h2{
  margin-bottom:8px;
  font-size:20px;
}

.user-password-card > p.muted{
  margin:0 0 15px!important;
  font-size:11px!important;
  line-height:1.5;
}

.password-generator{
  display:grid;
  gap:11px;
}

.password-generator label{
  margin:0;
}

.password-field-wrap{
  position:relative;
  display:block;
}

.password-field-wrap input{
  height:46px!important;
  min-height:46px!important;
  padding:0 88px 0 12px!important;
  margin-top:7px!important;
}

.password-toggle{
  position:absolute;
  right:6px;
  top:13px;
  width:auto;
  min-width:72px;
  height:32px;
  padding:0 10px!important;
  border:1px solid #d8e2ee!important;
  border-radius:9px!important;
  background:#f8fafc!important;
  color:#475569!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1!important;
  box-shadow:none!important;
}

.password-toggle:hover{
  background:#eef2f7!important;
  color:#334155!important;
}

.password-generator > label > input{
  height:46px!important;
  min-height:46px!important;
}

.password-tools{
  display:flex;
  gap:8px;
}

.password-tools button{
  flex:1 1 0;
  min-height:40px;
  height:40px;
  padding:0 12px!important;
  border-radius:10px!important;
  font-size:11px!important;
  font-weight:800!important;
}

.password-strength{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  margin-top:1px;
}

.password-strength-bar{
  height:6px;
}

.password-strength-text{
  min-width:68px;
  font-size:9px;
}

.copy-feedback{
  min-height:14px;
  margin:0;
  font-size:9px;
}

.password-help{
  margin:0;
  padding:10px 11px;
  border-radius:10px;
  background:#f8fafc;
  color:#718096;
  font-size:9px;
  line-height:1.45;
}

.password-save{
  width:100%;
  min-height:44px;
  height:44px;
  margin-top:0;
  border-radius:11px!important;
  font-size:12px!important;
  font-weight:850!important;
}

@media(max-width:760px){
  .password-tools{
    display:grid;
    grid-template-columns:1fr;
  }

  .password-toggle{
    min-width:66px;
    font-size:10px!important;
  }
}


/* DSRent 5.9.3 — Finance admin */
.finance-admin{--f-border:#dce5ef}.finance-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin-bottom:18px}.finance-hero h1{margin:4px 0 6px}.finance-hero p{margin:0;color:#64748b}.finance-demo-actions{display:flex;gap:8px}.finance-demo-actions form{margin:0}.finance-demo-delete{background:#fff5f5!important;color:#b42318!important;border:1px solid #fecaca!important}.finance-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:15px}.finance-stat{background:#fff;border:1px solid var(--f-border);border-radius:16px;padding:15px}.finance-stat span{display:block;color:#64748b;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.045em}.finance-stat strong{display:block;margin:5px 0 3px;font-size:23px;color:#172033}.finance-stat small{color:#94a3b8;font-size:10px}.finance-demo-notice{display:flex;gap:10px;align-items:center;padding:11px 14px;margin-bottom:14px;background:#fff7ed;border:1px solid #fed7aa;border-radius:13px;color:#9a3412;font-size:11px}.finance-demo-notice b{padding:4px 7px;border-radius:999px;background:#ffedd5}.finance-panel{background:#fff;border:1px solid var(--f-border);border-radius:18px;overflow:hidden;margin-bottom:14px}.finance-section-head{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:18px 19px;border-bottom:1px solid #e8eef5}.finance-section-head h2{margin:0 0 3px;font-size:20px}.finance-section-head p{margin:0;color:#718096;font-size:11px}.finance-section-head>span{color:#718096;font-size:10px;font-weight:800}.finance-table-wrap{overflow:auto}.finance-table{width:100%;border-collapse:collapse}.finance-table th{padding:11px 14px;background:#f8fafc;color:#718096;text-transform:uppercase;letter-spacing:.045em;font-size:9px;text-align:left}.finance-table td{padding:13px 14px;border-top:1px solid #eef2f7;vertical-align:middle;font-size:11px;color:#334155}.finance-table td b{display:inline-block;color:#172033;font-size:12px}.finance-table td small{display:block;margin-top:3px;color:#8492a6;font-size:9px;max-width:330px}.finance-money{font-size:13px!important;font-weight:850!important;white-space:nowrap}.demo-pill{display:inline-flex;margin-left:6px;padding:3px 6px;border-radius:999px;background:#fff4d6;color:#9a5a00;font-size:8px;font-weight:900;vertical-align:middle}.finance-status{display:inline-flex;padding:5px 7px;border-radius:999px;font-size:9px;font-weight:850;white-space:nowrap}.status-succeeded,.ledger-available{background:#dcfce7;color:#166534}.status-pending,.ledger-reserved{background:#fff4d6;color:#9a5a00}.status-failed,.status-cancelled,.ledger-cancelled{background:#fee2e2;color:#991b1b}.status-refunded,.ledger-paid{background:#e0e7ff;color:#3730a3}.status-created{background:#f1f5f9;color:#64748b}.finance-muted{color:#c0cad6}.finance-empty{padding:32px;text-align:center}.finance-empty b{display:block;margin-bottom:5px}.finance-empty span{color:#718096;font-size:11px}.finance-flow{background:#fff;border:1px solid var(--f-border);border-radius:18px;padding:19px}.finance-flow h2{margin:0 0 14px}.finance-flow-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.finance-flow-grid>div{position:relative;padding:14px;border:1px solid #e2e8f0;border-radius:13px;background:#f8fafc}.finance-flow-grid span{display:grid;place-items:center;width:26px;height:26px;border-radius:9px;background:#eaf2ff;color:#2563eb;font-size:10px;font-weight:900;margin-bottom:8px}.finance-flow-grid b{display:block;font-size:11px}.finance-flow-grid small{display:block;margin-top:4px;color:#718096;font-size:9px;line-height:1.45}@media(max-width:1000px){.finance-stats{grid-template-columns:1fr 1fr}.finance-flow-grid{grid-template-columns:1fr 1fr}.finance-hero{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.finance-stats,.finance-flow-grid{grid-template-columns:1fr}.finance-demo-actions{flex-direction:column;width:100%}.finance-demo-actions button{width:100%}}


/* DSRent 5.9.5 — document creation */
.documents-queue .user-profile-head p.muted{
  margin:6px 0 0;
}
.documents-queue .user-admin-card.moderation-workspace{
  max-width:1180px;
}
.documents-queue .user-admin-card.moderation-workspace input[type="file"]{
  height:auto!important;
  min-height:48px;
  padding:10px 12px!important;
}
.documents-queue .user-admin-card.moderation-workspace input[type="file"]::file-selector-button{
  border:0;
  border-radius:9px;
  background:#eaf2ff;
  color:#2158be;
  font:inherit;
  font-size:11px;
  font-weight:800;
  padding:8px 10px;
  margin-right:10px;
  cursor:pointer;
}


/* =========================================================
   DSRent 5.9.6 — Persistent admin workspace
   ========================================================= */

.admin-workspace-nav{
  position:sticky;
  top:0;
  z-index:80;
  border-bottom:1px solid #dbe4ef;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.admin-workspace-inner{
  max-width:1480px;
  margin:0 auto;
  padding:0 28px;
  min-height:56px;
  display:flex;
  align-items:center;
  gap:22px;
}

.admin-workspace-home{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  color:#172033;
  text-decoration:none;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}

.admin-workspace-mark{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#2563eb;
  color:#fff;
  font-size:11px;
  font-weight:900;
}

.admin-workspace-links{
  min-width:0;
  display:flex;
  align-items:center;
  gap:3px;
  flex:1 1 auto;
}

.admin-workspace-links > a,
.admin-more > summary{
  position:relative;
  display:flex;
  align-items:center;
  min-height:40px;
  padding:0 11px;
  border-radius:9px;
  color:#52657d;
  text-decoration:none;
  font-size:11px;
  font-weight:800;
  white-space:nowrap;
  cursor:pointer;
  list-style:none;
  transition:.15s ease;
}

.admin-more > summary::-webkit-details-marker{display:none}
.admin-workspace-links > a:hover,
.admin-more > summary:hover{
  background:#f1f5f9;
  color:#172033;
}

.admin-workspace-links > a.active,
.admin-more > summary.active{
  background:#eef5ff;
  color:#1d5bd6;
}

.admin-workspace-links > a.active:after,
.admin-more > summary.active:after{
  content:"";
  position:absolute;
  left:11px;
  right:11px;
  bottom:-8px;
  height:2px;
  border-radius:999px;
  background:#2563eb;
}

.admin-more{
  position:relative;
}

.admin-more-menu{
  position:absolute;
  top:48px;
  left:0;
  min-width:190px;
  padding:7px;
  border:1px solid #dbe4ef;
  border-radius:13px;
  background:#fff;
  box-shadow:0 15px 35px rgba(15,23,42,.12);
}

.admin-more:not([open]) .admin-more-menu{display:none}

.admin-more-menu a{
  display:block;
  padding:9px 10px;
  border-radius:8px;
  color:#475569;
  text-decoration:none;
  font-size:11px;
  font-weight:750;
}

.admin-more-menu a:hover{background:#f8fafc;color:#172033}
.admin-more-menu a.active{background:#eef5ff;color:#1d5bd6}

.admin-workspace-actions{
  flex:0 0 auto;
}

.admin-workspace-actions a{
  color:#64748b;
  text-decoration:none;
  font-size:10px;
  font-weight:750;
  white-space:nowrap;
}

.admin-workspace-actions a:hover{color:#2563eb}

.admin-main{
  padding-top:28px;
}

.admin-overview,
.admin-orders{
  max-width:1420px;
  margin:0 auto;
}

.admin-overview-head,
.admin-page-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom:18px;
}

.admin-overview-head h1,
.admin-page-head h1{
  margin:5px 0 6px;
}

.admin-overview-head p,
.admin-page-head p{
  margin:0;
  color:#64748b;
}

.admin-overview-actions{
  display:flex;
  gap:8px;
}

.admin-overview-section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:26px;
}

.admin-overview-section-head a{
  color:#2563eb;
  text-decoration:none;
  font-size:11px;
  font-weight:800;
}

.admin-order-stats{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px;
  margin-bottom:14px;
}

.admin-order-stats a{
  padding:13px 14px;
  border:1px solid #dce5ef;
  border-radius:14px;
  background:#fff;
  color:#334155;
  text-decoration:none;
}

.admin-order-stats a.active{
  border-color:#9abaff;
  background:#f3f7ff;
}

.admin-order-stats span{
  display:block;
  color:#718096;
  font-size:9px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.admin-order-stats strong{
  display:block;
  margin-top:4px;
  font-size:21px;
}

.admin-order-filter{
  display:grid;
  grid-template-columns:minmax(300px,1fr) auto;
  gap:9px;
  align-items:end;
  padding:13px;
  margin-bottom:13px;
  border:1px solid #dce5ef;
  border-radius:15px;
  background:#fff;
}

.admin-order-filter label{
  margin:0;
  font-size:11px;
  font-weight:800;
  color:#44546a;
}

.admin-order-filter input{
  box-sizing:border-box;
  width:100%;
  height:44px;
  margin-top:6px;
  padding:0 12px;
  border:1px solid #cfd9e6;
  border-radius:10px;
  font:inherit;
  font-size:12px;
}

.admin-order-filter button{
  height:44px;
  padding:0 20px;
}

.admin-order-list{
  display:grid;
  gap:8px;
}

.admin-order-row{
  display:grid;
  grid-template-columns:minmax(0,1.5fr) 170px 190px 110px;
  gap:14px;
  align-items:center;
  padding:15px 16px;
  border:1px solid #dce5ef;
  border-radius:15px;
  background:#fff;
}

.admin-order-primary strong{font-size:13px;color:#172033}
.admin-order-primary small{display:block;margin-top:4px;color:#718096;font-size:10px}
.admin-order-id{margin-right:8px;color:#94a3b8;font-size:10px;font-weight:850}
.admin-order-label{display:block;margin-bottom:3px;color:#94a3b8;font-size:9px;font-weight:850;text-transform:uppercase}
.admin-order-row-action{text-align:right}

@media(max-width:1080px){
  .admin-workspace-inner{
    gap:12px;
  }
  .admin-workspace-actions{display:none}
  .admin-order-stats{grid-template-columns:repeat(3,1fr)}
}

@media(max-width:820px){
  .admin-workspace-inner{
    padding:0 14px;
    overflow-x:auto;
  }
  .admin-workspace-home span:last-child{display:none}
  .admin-workspace-links{min-width:max-content}
  .admin-workspace-links > a,
  .admin-more > summary{padding:0 9px}
  .admin-order-row{grid-template-columns:1fr 1fr}
  .admin-order-row-action{grid-column:1/-1;text-align:left}
}

@media(max-width:600px){
  .admin-order-stats{grid-template-columns:1fr 1fr}
  .admin-order-filter{grid-template-columns:1fr}
  .admin-overview-head,.admin-page-head{align-items:flex-start;flex-direction:column}
  .admin-overview-actions{width:100%;flex-wrap:wrap}
}


/* =========================================================
   DSRent 5.9.7 — Admin navigation sizing/alignment
   ========================================================= */

.admin-workspace-nav{
  position:sticky;
  top:0;
  z-index:80;
  border-bottom:1px solid #dbe4ef;
  background:rgba(255,255,255,.98);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.admin-workspace-inner{
  width:min(100%, 1500px);
  max-width:none;
  box-sizing:border-box;
  margin:0 auto;
  padding:0 32px;
  min-height:64px;
  display:flex;
  align-items:center;
  gap:26px;
}

.admin-workspace-home{
  gap:9px;
  font-size:13px;
}

.admin-workspace-mark{
  width:30px;
  height:30px;
  border-radius:9px;
  font-size:12px;
}

.admin-workspace-links{
  gap:4px;
  flex:1 1 auto;
  min-width:0;
  justify-content:flex-start;
}

.admin-workspace-links > a,
.admin-more > summary{
  min-height:46px;
  padding:0 12px;
  border-radius:10px;
  font-size:13px;
  font-weight:800;
  letter-spacing:0;
}

.admin-workspace-links > a.active:after,
.admin-more > summary.active:after{
  left:12px;
  right:12px;
  bottom:-9px;
  height:3px;
}

.admin-more-menu{
  top:54px;
  min-width:210px;
}

.admin-more-menu a{
  padding:10px 11px;
  font-size:12px;
}

.admin-workspace-actions a{
  font-size:12px;
}

.admin-main{
  padding-top:30px;
}

/* Align admin page content to the same visual grid as navigation */
.admin-overview,
.admin-orders,
.documents-queue,
.users-admin{
  width:min(100%, 1500px);
  box-sizing:border-box;
  margin-left:auto;
  margin-right:auto;
}

/* Desktop: use available width and show all major sections */
@media(min-width:1280px){
  .admin-workspace-links{
    overflow:visible;
  }

  .admin-workspace-links > a,
  .admin-more > summary{
    flex:0 0 auto;
  }
}

/* Medium screens: keep full labels and allow smooth horizontal scrolling */
@media(max-width:1279px){
  .admin-workspace-inner{
    padding:0 20px;
    gap:18px;
  }

  .admin-workspace-links{
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }

  .admin-workspace-links::-webkit-scrollbar{
    display:none;
  }

  .admin-workspace-links > a,
  .admin-more > summary{
    flex:0 0 auto;
    font-size:12px;
    padding:0 10px;
  }

  .admin-workspace-actions{
    display:none;
  }
}

@media(max-width:820px){
  .admin-workspace-inner{
    padding:0 14px;
    min-height:58px;
    gap:12px;
  }

  .admin-workspace-home{
    flex:0 0 auto;
  }

  .admin-workspace-home span:last-child{
    display:none;
  }

  .admin-workspace-links{
    min-width:0;
    width:100%;
  }

  .admin-workspace-links > a,
  .admin-more > summary{
    min-height:42px;
    font-size:11px;
  }
}


/* =========================================================
   DSRent 5.10.0 — Commercial offers + finance accounting
   ========================================================= */

.owner-offers,.finance-admin{
  width:min(100%,1500px);
  margin:0 auto;
}

.owner-offer-list{display:grid;gap:12px}
.owner-offer-card{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);
  gap:18px;
  padding:18px;
  border:1px solid #dce5ef;
  border-radius:18px;
  background:#fff;
}
.owner-offer-main h3{margin:7px 0 4px}
.owner-offer-main p{margin:0 0 12px;color:#64748b}
.owner-offer-meta{display:grid;gap:6px;color:#52657d;font-size:11px}
.owner-offer-side{border-left:1px solid #e5edf5;padding-left:18px}
.owner-offer-form{display:grid;gap:10px}
.owner-offer-form label{margin:0;font-size:11px;font-weight:800;color:#44546a}
.owner-offer-form input,.owner-offer-form textarea{
  box-sizing:border-box;width:100%;margin-top:6px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;font:inherit;font-size:12px
}
.owner-offer-form input{height:44px;padding:0 11px}
.owner-offer-form textarea{min-height:76px;padding:10px;resize:vertical}
.owner-term-grid{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}
.owner-term-grid span{padding-top:6px;color:#64748b;font-size:11px}
.owner-commission-note{padding:10px 11px;border-radius:10px;background:#f1f6ff;color:#315a9e;font-size:10px;line-height:1.45}
.owner-offer-actions{display:flex;gap:8px;flex-wrap:wrap}
.owner-offer-result{display:grid;gap:6px;padding:14px;border-radius:13px;background:#f8fafc}
.owner-offer-result strong{font-size:24px}
.owner-offer-result span{color:#64748b;font-size:10px}

.client-offer-card{
  padding:18px;
  margin-bottom:14px;
  border:1px solid #b9d3ff;
  border-radius:16px;
  background:#f8fbff;
}
.client-offer-card h3{margin:7px 0 13px}
.client-offer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:12px}
.client-offer-grid>div{padding:12px;border:1px solid #d8e5f7;border-radius:11px;background:#fff}
.client-offer-grid span{display:block;color:#718096;font-size:9px;font-weight:800;text-transform:uppercase}
.client-offer-grid strong{display:block;margin-top:4px;font-size:17px}
.client-offer-actions{display:flex;gap:8px}

.finance-stats{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.finance-record-form{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1fr;
  gap:10px;
  align-items:end;
  padding:16px;
}
.finance-record-form label{margin:0;font-size:11px;font-weight:800;color:#44546a}
.finance-record-form input,.finance-record-form select{
  box-sizing:border-box;width:100%;height:44px;margin-top:6px;padding:0 11px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;font:inherit;font-size:12px
}
.finance-record-form .full{grid-column:1/-1}
.finance-record-form button{height:44px}

@media(max-width:1050px){
  .owner-offer-card{grid-template-columns:1fr}
  .owner-offer-side{border-left:0;border-top:1px solid #e5edf5;padding-left:0;padding-top:16px}
  .finance-stats{grid-template-columns:repeat(2,1fr)!important}
  .finance-record-form{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .client-offer-grid{grid-template-columns:1fr}
  .finance-record-form{grid-template-columns:1fr}
  .finance-record-form .full{grid-column:auto}
}


/* =========================================================
   DSRent 5.10.1 — Public privacy + per-request architecture
   ========================================================= */

.commercial-architecture-note{
  padding:13px 14px;
  margin-bottom:14px;
  border:1px solid #cfe0f7;
  border-radius:12px;
  background:#f5f9ff;
  color:#36577f;
  font-size:11px;
  line-height:1.55;
}

.doc-detail-side .request-side-head h2{
  margin-bottom:8px;
}

.doc-detail-side .request-side-head p{
  line-height:1.55;
}

.request-form-compact{
  gap:11px;
}

.request-form-compact textarea{
  min-height:88px;
}

.request-submit-note{
  line-height:1.5;
}

@media(max-width:760px){
  .request-form-compact{
    grid-template-columns:1fr!important;
  }
  .request-form-compact .full{
    grid-column:auto!important;
  }
}


/* =========================================================
   DSRent 5.11.0 — Minimal registration + profile onboarding
   ========================================================= */

.signup-shell{
  width:min(100% - 40px,1180px);
  margin:28px auto 54px;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(340px,.72fr);
  overflow:hidden;
  border:1px solid #dbe5f0;
  border-radius:24px;
  background:#fff;
  box-shadow:0 18px 45px rgba(30,52,80,.07);
}

.signup-main{padding:48px 52px}
.signup-head{margin-bottom:28px}
.signup-head h1{margin:10px 0 8px;font-size:40px;line-height:1.08;letter-spacing:-.035em}
.signup-head p{max-width:620px;margin:0;color:#687a92;font-size:16px;line-height:1.55}

.signup-form{display:grid;gap:22px}
.signup-role-fieldset{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:0;border:0}
.signup-role-fieldset legend{grid-column:1/-1;margin-bottom:2px;font-size:13px;font-weight:850;color:#334155}

.signup-role-card{
  position:relative;
  min-height:92px;
  display:grid;
  grid-template-columns:42px 1fr 24px;
  gap:12px;
  align-items:center;
  box-sizing:border-box;
  padding:16px;
  margin:0;
  border:1px solid #d7e1ec;
  border-radius:15px;
  background:#fff;
  cursor:pointer;
  transition:.15s ease;
}
.signup-role-card:hover{border-color:#abc8ff;background:#fbfdff}
.signup-role-card input{position:absolute;opacity:0;pointer-events:none}
.signup-role-card:has(input:checked){border-color:#6ea0ff;background:#f3f7ff;box-shadow:0 0 0 3px rgba(37,99,235,.07)}
.signup-role-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#edf4ff;color:#2563eb;font-size:20px;font-weight:900}
.signup-role-copy strong{display:block;color:#172033;font-size:15px}
.signup-role-copy small{display:block;margin-top:4px;color:#718096;font-size:11px;line-height:1.35}
.signup-role-check{width:22px;height:22px;display:grid;place-items:center;border-radius:999px;background:#e8eef6;color:transparent;font-size:11px;font-weight:900}
.signup-role-card:has(input:checked) .signup-role-check{background:#2563eb;color:#fff}

.signup-fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.signup-fields label{margin:0;color:#34455b;font-size:12px;font-weight:850}
.signup-fields input{
  box-sizing:border-box;width:100%;height:50px;margin-top:7px;padding:0 13px;
  border:1px solid #cfdbe8;border-radius:12px;background:#fff;
  color:#172033;font:inherit;font-size:13px;outline:none
}
.signup-fields input:focus{border-color:#6ea0ff;box-shadow:0 0 0 3px rgba(37,99,235,.08)}
.signup-password{position:relative}
.signup-password input{padding-right:88px}
.signup-show-password{
  position:absolute;right:8px;bottom:7px;height:36px;padding:0 10px;border:0;border-radius:9px;
  background:#f1f5f9;color:#475569;font-size:10px;font-weight:850;cursor:pointer
}

.signup-legal{display:grid;gap:10px;padding:15px 16px;border-radius:14px;background:#f8fafc}
.signup-consent{display:grid;grid-template-columns:20px 1fr;gap:9px;align-items:start;margin:0;color:#53657c;font-size:11px;line-height:1.5}
.signup-consent input{width:17px;height:17px;margin:1px 0 0}
.signup-consent a{color:#1f63d9;font-weight:750}
.signup-submit{height:52px;font-size:14px}
.signup-login{text-align:center;margin:0;color:#718096;font-size:11px}
.signup-login a{color:#2563eb;font-weight:800}

.signup-aside{
  display:flex;align-items:center;padding:42px;
  background:linear-gradient(145deg,#f2f7ff,#edf5ff 58%,#f7fbff)
}
.signup-aside-inner{max-width:360px;margin:auto}
.signup-shield{width:68px;height:68px;display:grid;place-items:center;border-radius:20px;background:#2d6bed;color:#fff;font-size:28px;font-weight:900;box-shadow:0 13px 28px rgba(45,107,237,.20)}
.signup-aside h2{margin:24px 0 8px;font-size:27px;line-height:1.12}
.signup-aside p{color:#657991;line-height:1.55}
.signup-aside ul{margin:20px 0 0;padding:0;list-style:none;display:grid;gap:10px}
.signup-aside li{position:relative;padding-left:22px;color:#52657d;font-size:12px;line-height:1.45}
.signup-aside li:before{content:"✓";position:absolute;left:0;color:#20a36b;font-weight:900}

.profile-setup{width:min(100% - 40px,1120px);margin:30px auto 60px}
.profile-setup-head{max-width:760px;margin-bottom:22px}
.profile-setup-head h1{margin:8px 0;font-size:38px;letter-spacing:-.03em}
.profile-setup-head p{margin:0;color:#687a92;line-height:1.55}
.profile-setup-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:18px}
.profile-business-card,.profile-legal-card{padding:24px;border:1px solid #dbe5f0;border-radius:18px;background:#fff}
.profile-business-card{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.profile-business-card label{margin:0;color:#34455b;font-size:11px;font-weight:850}
.profile-business-card input{box-sizing:border-box;width:100%;height:48px;margin-top:6px;padding:0 12px;border:1px solid #cfdbe8;border-radius:11px;font:inherit}
.profile-business-card label:first-of-type,.profile-email-row,.profile-business-card button{grid-column:1/-1}
.profile-email-row{padding:12px 13px;border-radius:11px;background:#f8fafc;display:flex;justify-content:space-between;gap:15px;font-size:11px}
.profile-email-row span{color:#718096}
.profile-legal-card h2{margin-top:0}
.profile-legal-card p{color:#687a92;line-height:1.55;font-size:12px}

@media(max-width:900px){
  .signup-shell{grid-template-columns:1fr}
  .signup-aside{display:none}
  .profile-setup-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .signup-shell{width:min(100% - 20px,1180px);margin-top:12px}
  .signup-main{padding:28px 20px}
  .signup-head h1{font-size:32px}
  .signup-role-fieldset,.signup-fields,.profile-business-card{grid-template-columns:1fr}
  .profile-business-card label:first-of-type,.profile-email-row,.profile-business-card button{grid-column:auto}
  .profile-setup{width:min(100% - 20px,1120px)}
}


/* =========================================================
   DSRent 5.11.1 — Registration scale + role offer switching
   ========================================================= */

.signup-shell{
  width:min(100% - 48px,1320px);
  grid-template-columns:minmax(0,1.08fr) minmax(380px,.72fr);
  margin-top:38px;
  margin-bottom:64px;
}

.signup-main{
  padding:58px 64px 54px;
}

.signup-head{
  margin-bottom:34px;
}

.signup-head h1{
  margin:12px 0 12px;
  font-size:48px;
  line-height:1.04;
  letter-spacing:-.04em;
}

.signup-head p{
  max-width:680px;
  font-size:18px;
  line-height:1.5;
}

.signup-role-fieldset{
  gap:16px;
}

.signup-role-fieldset legend{
  margin-bottom:6px;
  font-size:15px;
}

.signup-role-card{
  min-height:112px;
  grid-template-columns:50px 1fr 28px;
  gap:14px;
  padding:20px;
  border-radius:17px;
}

.signup-role-icon{
  width:50px;
  height:50px;
  border-radius:14px;
  font-size:22px;
}

.signup-role-copy strong{
  font-size:18px;
  line-height:1.2;
}

.signup-role-copy small{
  margin-top:6px;
  font-size:13px;
  line-height:1.4;
}

.signup-role-check{
  width:26px;
  height:26px;
  font-size:13px;
}

.signup-fields{
  gap:18px;
}

.signup-fields label{
  font-size:14px;
}

.signup-fields input{
  height:56px;
  margin-top:8px;
  padding:0 15px;
  border-radius:13px;
  font-size:15px;
}

.signup-password input{
  padding-right:104px;
}

.signup-show-password{
  right:9px;
  bottom:8px;
  height:40px;
  padding:0 13px;
  border-radius:10px;
  font-size:12px;
}

.signup-legal{
  gap:13px;
  padding:18px 20px;
  border-radius:16px;
}

.signup-consent{
  grid-template-columns:22px 1fr;
  gap:11px;
  font-size:13px;
  line-height:1.55;
}

.signup-consent input{
  width:19px;
  height:19px;
}

.signup-submit{
  height:58px;
  border-radius:13px;
  font-size:16px;
}

.signup-login{
  font-size:13px;
}

.signup-aside{
  padding:54px;
}

.signup-aside-inner{
  max-width:410px;
}

.signup-shield{
  width:76px;
  height:76px;
  border-radius:22px;
  font-size:32px;
}

.signup-aside h2{
  margin-top:28px;
  font-size:31px;
}

.signup-aside p{
  font-size:15px;
}

.signup-aside li{
  padding-left:24px;
  font-size:13px;
}

.signup-form[data-selected-role="owner"] .signup-role-card[data-role-card="owner"],
.signup-form[data-selected-role="client"] .signup-role-card[data-role-card="client"]{
  border-color:#5f95ff;
  background:#f1f6ff;
  box-shadow:0 0 0 4px rgba(37,99,235,.07);
}

#roleOfferLink{
  font-weight:850;
}

@media(max-width:1050px){
  .signup-main{padding:46px 40px}
  .signup-head h1{font-size:42px}
  .signup-role-copy strong{font-size:16px}
  .signup-role-copy small{font-size:12px}
}

@media(max-width:640px){
  .signup-shell{
    width:min(100% - 20px,1320px);
    margin-top:14px;
  }
  .signup-main{
    padding:30px 20px;
  }
  .signup-head h1{
    font-size:34px;
  }
  .signup-head p{
    font-size:15px;
  }
  .signup-role-fieldset{
    grid-template-columns:1fr;
  }
  .signup-role-card{
    min-height:96px;
  }
}


/* =========================================================
   DSRent 5.12.0 — CAPTCHA / authentication security
   ========================================================= */

.captcha-box{
  margin:2px 0;
  padding:14px 16px;
  border:1px solid #d8e4f0;
  border-radius:15px;
  background:#fbfdff;
}

.captcha-box-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:11px;
}

.captcha-shield{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#eaf3ff;
  color:#2464df;
  font-weight:900;
}

.captcha-box-head strong{
  display:block;
  color:#26364a;
  font-size:12px;
}

.captcha-box-head small{
  display:block;
  margin-top:2px;
  color:#8391a4;
  font-size:10px;
}

.captcha-widget-wrap{
  min-height:78px;
  display:flex;
  align-items:center;
  overflow:hidden;
}

.captcha-box-yandex .smart-captcha{
  width:100%;
  min-height:78px;
}

.auth-login-form{
  display:grid;
  gap:14px;
}

.captcha-admin-panel{
  margin:22px 0;
  overflow:hidden;
  border:1px solid #d9e4ef;
  border-radius:20px;
  background:#fff;
  box-shadow:0 10px 30px rgba(30,52,80,.045);
}

.captcha-admin-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  padding:24px 26px 20px;
  border-bottom:1px solid #e8eef5;
}

.captcha-admin-heading h2{
  margin:6px 0 5px;
  font-size:25px;
}

.captcha-admin-heading p{
  max-width:760px;
  margin:0;
  color:#687a92;
  font-size:12px;
  line-height:1.5;
}

.captcha-provider-status{
  flex:0 0 auto;
  padding:8px 11px;
  border-radius:999px;
  background:#e9f8ef;
  color:#20814d;
  font-size:10px;
  font-weight:850;
}

.captcha-provider-status.off{
  background:#f1f5f9;
  color:#718096;
}

.captcha-admin-form{
  padding:22px 26px 26px;
}

.captcha-provider-choice{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.captcha-provider-card{
  position:relative;
  display:grid;
  grid-template-columns:42px 1fr 22px;
  gap:11px;
  align-items:center;
  min-height:80px;
  box-sizing:border-box;
  margin:0;
  padding:14px;
  border:1px solid #d8e2ed;
  border-radius:14px;
  background:#fff;
  cursor:pointer;
  transition:.15s ease;
}

.captcha-provider-card:hover{
  border-color:#a9c7ff;
  background:#fbfdff;
}

.captcha-provider-card input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.captcha-provider-card:has(input:checked){
  border-color:#6f9fff;
  background:#f3f7ff;
  box-shadow:0 0 0 3px rgba(37,99,235,.06);
}

.captcha-provider-card strong{
  display:block;
  color:#26364a;
  font-size:12px;
}

.captcha-provider-card small{
  display:block;
  margin-top:3px;
  color:#8492a5;
  font-size:9px;
  line-height:1.35;
}

.captcha-provider-logo{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:12px;
  font-size:17px;
  font-weight:900;
}

.captcha-provider-logo.yandex{
  background:#fff0f0;
  color:#e83030;
}

.captcha-provider-logo.google{
  background:#eef4ff;
  color:#3274db;
}

.captcha-provider-logo.disabled{
  background:#f1f5f9;
  color:#94a3b8;
}

.captcha-radio-dot{
  width:20px;
  height:20px;
  box-sizing:border-box;
  border:2px solid #d3dde9;
  border-radius:999px;
}

.captcha-provider-card:has(input:checked) .captcha-radio-dot{
  border:6px solid #2d6bea;
}

.captcha-protection-targets{
  display:flex;
  gap:10px;
  margin:16px 0;
}

.captcha-protection-targets label{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:190px;
  margin:0;
  padding:11px 13px;
  border:1px solid #e0e7ef;
  border-radius:12px;
  background:#f8fafc;
}

.captcha-protection-targets input{
  width:18px;
  height:18px;
}

.captcha-protection-targets strong{
  display:block;
  color:#334155;
  font-size:11px;
}

.captcha-protection-targets small{
  display:block;
  margin-top:1px;
  color:#94a3b8;
  font-size:9px;
}

.captcha-keys-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.captcha-key-group{
  padding:17px;
  border:1px solid #e0e8f1;
  border-radius:15px;
  background:#fbfcfe;
}

.captcha-key-title{
  display:flex;
  align-items:center;
  gap:11px;
  margin-bottom:14px;
}

.captcha-key-title strong{
  display:block;
  color:#26364a;
  font-size:13px;
}

.captcha-key-title small{
  display:block;
  margin-top:3px;
  color:#8492a5;
  font-size:9px;
}

.captcha-key-group label{
  display:block;
  margin:10px 0 0;
  color:#45566c;
  font-size:10px;
  font-weight:850;
}

.captcha-key-group input{
  box-sizing:border-box;
  width:100%;
  height:44px;
  margin-top:6px;
  padding:0 11px;
  border:1px solid #d0dbe7;
  border-radius:10px;
  background:#fff;
  color:#1f2937;
  font:inherit;
  font-size:11px;
}

.secret-state{
  display:inline-block;
  margin-top:11px;
  padding:6px 8px;
  border-radius:8px;
  font-size:9px;
  font-weight:800;
}

.secret-state.ok{
  background:#eaf8ef;
  color:#248150;
}

.secret-state.missing{
  background:#fff5e8;
  color:#a86317;
}

.captcha-admin-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-top:17px;
  padding-top:17px;
  border-top:1px solid #e7edf4;
}

.captcha-security-note{
  display:flex;
  gap:9px;
  max-width:760px;
  color:#687a92;
}

.captcha-security-note p{
  margin:0;
  font-size:10px;
  line-height:1.45;
}

.captcha-security-note strong{
  color:#45566c;
}

@media(max-width:900px){
  .captcha-provider-choice{
    grid-template-columns:1fr;
  }
  .captcha-keys-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:640px){
  .captcha-admin-heading,
  .captcha-admin-bottom{
    flex-direction:column;
    align-items:stretch;
  }
  .captcha-protection-targets{
    flex-direction:column;
  }
  .captcha-protection-targets label{
    min-width:0;
  }
  .captcha-widget-wrap{
    overflow-x:auto;
  }
}


/* =========================================================
   DSRent 5.12.1 — SmartCaptcha renderer diagnostics
   ========================================================= */

.captcha-widget-wrap{
  position:relative;
  min-height:100px;
}

.dsrent-smartcaptcha{
  position:relative;
  z-index:2;
  width:100%;
  min-height:100px;
}

.captcha-load-state{
  position:absolute;
  inset:0;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  color:#78889d;
  font-size:11px;
}

.captcha-spinner{
  width:15px;
  height:15px;
  box-sizing:border-box;
  border:2px solid #d7e4f2;
  border-top-color:#2d6bea;
  border-radius:999px;
  animation:captcha-spin .8s linear infinite;
}

@keyframes captcha-spin{
  to{transform:rotate(360deg)}
}

.captcha-widget-error{
  margin-top:9px;
  padding:10px 12px;
  border:1px solid #f4c98c;
  border-radius:10px;
  background:#fff8ed;
  color:#84501b;
  font-size:10px;
  line-height:1.45;
}

.captcha-widget-error strong{
  display:block;
  margin-bottom:3px;
  color:#9b4d12;
}

.captcha-domain-note{
  margin-top:12px;
  padding:10px 11px;
  border:1px solid #dbe6f2;
  border-radius:10px;
  background:#fff;
}

.captcha-domain-note strong{
  display:block;
  margin-bottom:6px;
  color:#43546a;
  font-size:10px;
}

.captcha-domain-note code{
  display:inline-block;
  padding:4px 7px;
  border-radius:7px;
  background:#edf4ff;
  color:#1e5fc8;
  font-size:10px;
}

.captcha-domain-note small{
  display:block;
  margin-top:6px;
  color:#8290a3;
  font-size:9px;
  line-height:1.4;
}


/* =========================================================
   DSRent 5.12.2 — CAPTCHA diagnostics
   ========================================================= */

.captcha-widget-error code{
  display:block;
  margin-top:7px;
  padding:6px 8px;
  border-radius:7px;
  background:rgba(122,72,14,.07);
  color:#85511e;
  white-space:normal;
  overflow-wrap:anywhere;
  font-size:9px;
}

.captcha-admin-actions{
  display:flex;
  gap:8px;
  align-items:center;
}

.captcha-test-page{
  width:min(100% - 42px,1300px);
  margin:28px auto 60px;
}

.captcha-test-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  margin-bottom:14px;
}

.captcha-test-card,
.captcha-browser-test,
.captcha-test-help{
  padding:22px;
  border:1px solid #dbe5ef;
  border-radius:17px;
  background:#fff;
}

.captcha-test-card h2,
.captcha-browser-test h2,
.captcha-test-help h2{
  margin:0 0 14px;
  font-size:20px;
}

.captcha-test-row{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:9px 0;
  border-bottom:1px solid #edf1f5;
  font-size:11px;
}

.captcha-test-row:last-child{
  border-bottom:0;
}

.captcha-test-row span{
  color:#74849a;
}

.captcha-test-row strong{
  color:#2c3b4e;
}

.captcha-test-row strong.ok{
  color:#16804a;
}

.captcha-test-row strong.bad{
  color:#b33b2c;
}

.captcha-test-error{
  margin-top:10px;
  padding:10px 12px;
  border:1px solid #f2c3bc;
  border-radius:10px;
  background:#fff4f2;
  color:#a33d31;
  font-size:10px;
  overflow-wrap:anywhere;
}

.captcha-browser-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
  margin-bottom:16px;
}

.captcha-browser-head h2{
  margin-bottom:5px;
}

.captcha-browser-head p{
  margin:0;
  color:#74849a;
  font-size:11px;
}

.captcha-browser-status{
  flex:0 0 auto;
  padding:7px 10px;
  border-radius:999px;
  background:#f1f5f9;
  color:#66768b;
  font-size:9px;
  font-weight:900;
}

.captcha-browser-status.ok{
  background:#e8f8ee;
  color:#197b49;
}

.captcha-browser-status.bad{
  background:#fff0ed;
  color:#ad3d2f;
}

.captcha-diagnostic-box{
  min-height:110px;
  padding:14px;
  border:1px solid #dce6f0;
  border-radius:13px;
  background:#fbfdff;
}

.captcha-diagnostic-log{
  min-height:120px;
  margin:14px 0 0;
  padding:14px;
  border-radius:12px;
  background:#111827;
  color:#d9e5f4;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:10px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
}

.captcha-help-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.captcha-help-grid>div{
  padding:12px;
  border-radius:11px;
  background:#f8fafc;
}

.captcha-help-grid strong{
  display:block;
  margin-bottom:4px;
  color:#34455b;
  font-size:10px;
}

.captcha-help-grid span{
  color:#718096;
  font-size:9px;
  line-height:1.45;
}

@media(max-width:760px){
  .captcha-test-grid,
  .captcha-help-grid{
    grid-template-columns:1fr;
  }
  .captcha-browser-head,
  .captcha-admin-actions{
    flex-direction:column;
    align-items:stretch;
  }
}


/* =========================================================
   DSRent 5.12.3 — CSP status
   ========================================================= */

.captcha-csp-note{
  margin:14px 0;
  padding:15px 17px;
  border:1px solid #cfe1ff;
  border-radius:14px;
  background:#f3f7ff;
}

.captcha-csp-note>div{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.captcha-csp-icon{
  flex:0 0 auto;
  min-width:42px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#2d6bea;
  color:#fff;
  font-size:9px;
  font-weight:900;
  letter-spacing:.08em;
}

.captcha-csp-note strong{
  display:block;
  margin-bottom:3px;
  color:#29466f;
  font-size:11px;
}

.captcha-csp-note p{
  margin:0;
  color:#637996;
  font-size:10px;
  line-height:1.5;
}


/* =========================================================
   DSRent 5.12.4 — application CSP diagnostics
   ========================================================= */

.captcha-csp-compare{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:14px;
}

.captcha-csp-compare>div:not(.captcha-csp-verdict){
  min-width:0;
  padding:11px;
  border:1px solid #e1e8f0;
  border-radius:11px;
  background:#f8fafc;
}

.captcha-csp-compare span{
  display:block;
  margin-bottom:6px;
  color:#718096;
  font-size:9px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.captcha-csp-compare code{
  display:block;
  max-height:120px;
  overflow:auto;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  color:#334155;
  font-size:9px;
  line-height:1.45;
}

.captcha-csp-verdict{
  grid-column:1/-1;
  padding:10px 12px;
  border-radius:10px;
  font-size:10px;
  font-weight:850;
}

.captcha-csp-verdict.pending{
  background:#f1f5f9;
  color:#64748b;
}

.captcha-csp-verdict.ok{
  background:#eaf8ef;
  color:#1c7b49;
}

.captcha-csp-verdict.bad{
  background:#fff0ed;
  color:#ad3d2f;
}

.captcha-csp-verdict.warn{
  background:#fff8e8;
  color:#9a6917;
}

@media(max-width:760px){
  .captcha-csp-compare{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   DSRent 5.12.5 — CSP reporting journal
   ========================================================= */

.csp-admin-page{
  width:min(100% - 42px,1400px);
  margin:28px auto 60px;
}

.csp-admin-actions{
  display:flex;
  gap:8px;
  align-items:center;
}

.csp-admin-actions form{
  margin:0;
}

.csp-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}

.csp-stat-grid>div{
  padding:15px;
  border:1px solid #dce5ef;
  border-radius:14px;
  background:#fff;
}

.csp-stat-grid span{
  display:block;
  color:#718096;
  font-size:9px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.csp-stat-grid strong{
  display:block;
  margin-top:5px;
  color:#172033;
  font-size:24px;
}

.csp-filter{
  display:grid;
  grid-template-columns:minmax(280px,1fr) 260px auto;
  gap:10px;
  align-items:end;
  margin-bottom:14px;
  padding:13px;
  border:1px solid #dce5ef;
  border-radius:14px;
  background:#fff;
}

.csp-filter label{
  margin:0;
  color:#44546a;
  font-size:10px;
  font-weight:850;
}

.csp-filter input,
.csp-filter select{
  box-sizing:border-box;
  width:100%;
  height:44px;
  margin-top:6px;
  padding:0 11px;
  border:1px solid #cfd9e6;
  border-radius:10px;
  background:#fff;
  font:inherit;
  font-size:11px;
}

.csp-filter button{
  height:44px;
}

.csp-report-list{
  display:grid;
  gap:8px;
}

.csp-report-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:14px 15px;
  border:1px solid #dce5ef;
  border-radius:14px;
  background:#fff;
}

.csp-report-title{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}

.csp-report-title strong{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#26364a;
  font-size:11px;
}

.csp-directive{
  flex:0 0 auto;
  padding:5px 7px;
  border-radius:8px;
  background:#eef4ff;
  color:#2a63c8;
  font-size:9px;
  font-weight:850;
}

.csp-report-main small{
  display:block;
  margin-top:5px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#8190a3;
  font-size:9px;
}

.csp-report-meta{
  display:flex;
  gap:8px;
  align-items:center;
  color:#8492a5;
  font-size:9px;
  white-space:nowrap;
}

@media(max-width:760px){
  .csp-stat-grid{
    grid-template-columns:1fr 1fr;
  }
  .csp-filter{
    grid-template-columns:1fr;
  }
  .csp-report-row{
    grid-template-columns:1fr;
  }
  .csp-report-meta{
    justify-content:space-between;
  }
  .csp-admin-actions{
    flex-wrap:wrap;
  }
}


/* =========================================================
   DSRent 5.12.6 — Owner workspace
   ========================================================= */
.owner-workspace-nav{
  position:sticky;
  top:0;
  z-index:45;
  border-bottom:1px solid #dbe4ef;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.owner-workspace-inner{
  width:min(100% - 44px,1460px);
  min-height:62px;
  margin:0 auto;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:28px;
}
.owner-workspace-home{
  display:flex;
  align-items:center;
  gap:10px;
  color:#162033;
  text-decoration:none;
  white-space:nowrap;
}
.owner-workspace-mark{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:10px;
  background:#2f6bed;color:#fff;
  font-size:13px;font-weight:900;
  box-shadow:0 6px 16px rgba(47,107,237,.18);
}
.owner-workspace-name{display:flex;flex-direction:column;line-height:1.05}
.owner-workspace-name b{font-size:13px}
.owner-workspace-name small{margin-top:4px;color:#8a98aa;font-size:9px;font-weight:750}
.owner-workspace-links{
  display:flex;
  align-items:stretch;
  height:62px;
  gap:4px;
  min-width:0;
}
.owner-workspace-links a{
  position:relative;
  display:flex;
  align-items:center;
  padding:0 14px;
  border-radius:10px 10px 0 0;
  color:#52647a;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.owner-workspace-links a:hover{color:#1f5fd3;background:#f6f9ff}
.owner-workspace-links a.active{color:#1f5fd3;background:#eef4ff}
.owner-workspace-links a.active:after{
  content:"";position:absolute;left:13px;right:13px;bottom:0;height:3px;
  border-radius:3px 3px 0 0;background:#2f6bed;
}
.owner-workspace-actions{display:flex;align-items:center}
.owner-add-link{
  display:flex;align-items:center;gap:6px;
  padding:10px 13px;border:1px solid #cbd8e8;border-radius:10px;
  background:#fff;color:#26364a;text-decoration:none;font-size:11px;font-weight:850;
  white-space:nowrap;
}
.owner-add-link:hover,.owner-add-link.active{border-color:#8fb4ff;background:#eef4ff;color:#1f5fd3}
.owner-add-link span{font-size:15px;line-height:1}
.owner-main{
  width:min(100% - 56px,1460px);
  margin:0 auto;
  padding-top:34px;
}
.owner-main>h1{margin-top:0}
.owner-dashboard-head{
  display:flex;justify-content:space-between;align-items:center;gap:20px;
  margin:24px 0 12px;
}
.owner-dashboard-head h2{margin:0 0 4px;font-size:22px}
.owner-dashboard-head p{margin:0;color:#73839a;font-size:12px}
.owner-empty-state{
  min-height:250px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:34px;border:1px solid #dbe4ef;border-radius:18px;background:#fff;text-align:center;
}
.owner-empty-state h3{margin:10px 0 5px;font-size:18px}
.owner-empty-state p{max-width:560px;margin:0 0 18px;color:#77879b;font-size:12px}
.owner-empty-icon{
  width:48px;height:48px;display:grid;place-items:center;border-radius:14px;
  background:#eef4ff;color:#2f6bed;font-size:22px;font-weight:900;
}
.owner-doc-table{margin-top:0}

@media(max-width:1050px){
  .owner-workspace-inner{
    grid-template-columns:auto 1fr;
    gap:14px;
    padding:8px 0;
  }
  .owner-workspace-links{
    grid-column:1/-1;
    order:3;
    height:auto;
    overflow-x:auto;
    padding-bottom:2px;
  }
  .owner-workspace-links a{height:40px;border-radius:9px}
  .owner-workspace-links a.active:after{display:none}
  .owner-workspace-actions{justify-self:end}
}
@media(max-width:640px){
  .owner-workspace-inner{width:min(100% - 24px,1460px)}
  .owner-workspace-name small{display:none}
  .owner-add-link{padding:9px 10px}
  .owner-add-link{font-size:0}
  .owner-add-link span{font-size:18px}
  .owner-main{width:min(100% - 24px,1460px);padding-top:22px}
  .owner-dashboard-head{align-items:flex-start;flex-direction:column}
}


/* =========================================================
   DSRent 5.12.7 — Owner action dashboard
   ========================================================= */
.owner-dashboard{padding-bottom:46px}
.owner-dashboard-hero{
  display:flex;align-items:flex-end;justify-content:space-between;gap:30px;
  margin:0 0 24px;
}
.owner-dashboard-hero h1{margin:6px 0 7px;font-size:46px;line-height:1.02;letter-spacing:-.035em}
.owner-dashboard-hero p{max-width:760px;margin:0;color:#728299;font-size:14px;line-height:1.5}
.owner-hero-add{flex:0 0 auto}
.owner-section-heading{
  display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px
}
.owner-section-heading h2{margin:2px 0 0;font-size:21px}
.owner-section-heading>a{color:#48617e;text-decoration:none;font-size:11px;font-weight:800}
.owner-section-heading>a:hover{color:#2164db}
.owner-section-kicker{
  display:block;color:#8b9bb0;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em
}
.owner-count-chip{
  min-width:31px;height:31px;display:grid;place-items:center;border-radius:999px;background:#eef4ff;color:#2464d9;font-size:11px;font-weight:900
}
.owner-attention{
  margin-bottom:16px;padding:18px;border:1px solid #d9e4f1;border-radius:18px;background:#fff
}
.owner-attention-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.owner-attention-card{
  display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #e2e9f1;border-radius:13px;
  background:#fafcff;color:#2c3b4f;text-decoration:none;transition:.15s ease
}
.owner-attention-card:hover{transform:translateY(-1px);border-color:#bcd0ee;box-shadow:0 8px 22px rgba(39,71,117,.06)}
.owner-attention-dot{width:9px;height:9px;margin-top:5px;border-radius:50%;background:#f0a43a;box-shadow:0 0 0 5px #fff2dc}
.owner-attention-card.money .owner-attention-dot{background:#1ca365;box-shadow:0 0 0 5px #e5f8ee}
.owner-attention-card.moderation .owner-attention-dot{background:#5577ee;box-shadow:0 0 0 5px #edf1ff}
.owner-attention-card.payout .owner-attention-dot{background:#7b5fd1;box-shadow:0 0 0 5px #f0ecff}
.owner-attention-card strong{display:block;font-size:12px}
.owner-attention-card p{margin:3px 0 6px;color:#75869b;font-size:10px;line-height:1.45}
.owner-attention-card span{color:#2464d9;font-size:9px;font-weight:850}
.owner-all-clear{
  display:flex;align-items:center;gap:13px;margin-bottom:16px;padding:17px 19px;border:1px solid #ccead8;border-radius:16px;background:#f1fbf5
}
.owner-clear-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:#dff5e8;color:#16864e;font-size:19px;font-weight:900}
.owner-all-clear strong{font-size:12px}.owner-all-clear p{margin:3px 0 0;color:#688174;font-size:10px}
.owner-dashboard-metrics{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:16px
}
.owner-metric-card{
  min-height:112px;padding:16px;border:1px solid #dbe4ef;border-radius:16px;background:#fff;color:#1f2c3e;text-decoration:none
}
.owner-metric-card:hover{border-color:#b6c9e2;box-shadow:0 8px 22px rgba(40,66,102,.05)}
.owner-metric-card.is-hot{border-color:#f1cf91;background:#fffaf0}
.owner-metric-card span{display:block;color:#728299;font-size:10px;font-weight:800}
.owner-metric-card strong{display:block;margin:8px 0 6px;font-size:26px;line-height:1}
.owner-metric-card small{color:#93a0b2;font-size:9px;line-height:1.35}
.owner-dashboard-columns{display:grid;grid-template-columns:1.15fr .85fr;gap:14px;margin-bottom:14px}
.owner-dashboard-panel{
  padding:18px;border:1px solid #dbe4ef;border-radius:18px;background:#fff
}
.owner-panel-empty{
  min-height:160px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#8290a2
}
.owner-panel-empty strong{color:#35455a;font-size:13px}.owner-panel-empty p{max-width:440px;margin:5px 0 0;font-size:10px}
.owner-request-preview-list,.owner-event-list{display:grid;gap:7px}
.owner-request-preview{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px;border:1px solid #e5ebf2;border-radius:12px;
  color:#2a394d;text-decoration:none;background:#fff
}
.owner-request-preview.needs-action{border-color:#efcf98;background:#fffaf1}
.owner-request-status{
  padding:5px 7px;border-radius:8px;background:#edf1f6;color:#6d7b8e;font-size:8px;font-weight:900;white-space:nowrap
}
.owner-request-preview.needs-action .owner-request-status{background:#fff0d5;color:#a5680e}
.owner-request-copy{min-width:0}.owner-request-copy strong,.owner-request-copy span,.owner-request-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.owner-request-copy strong{font-size:11px}.owner-request-copy span{margin-top:2px;color:#5d7089;font-size:9px}.owner-request-copy small{margin-top:3px;color:#93a0b0;font-size:8px}
.owner-request-arrow{color:#8aa0ba;font-size:16px}
.owner-event-item{display:grid;grid-template-columns:auto 1fr;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f5}
.owner-event-item:last-child{border-bottom:0}
.owner-event-marker{width:8px;height:8px;margin-top:4px;border-radius:50%;background:#cbd5e1}.owner-event-marker.unread{background:#2f6bed;box-shadow:0 0 0 4px #edf3ff}
.owner-event-item strong{display:block;font-size:10px}.owner-event-item p{margin:3px 0;color:#74849a;font-size:9px;line-height:1.4}.owner-event-item small{color:#a0abba;font-size:8px}
.owner-documents-panel{margin-bottom:0}
.owner-small-btn{padding:8px 11px;font-size:10px}
.owner-doc-list{display:grid;gap:7px}
.owner-doc-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 13px;border:1px solid #e3eaf2;border-radius:12px
}
.owner-doc-main{display:grid;grid-template-columns:auto minmax(150px,.6fr) minmax(220px,1fr);align-items:center;gap:10px;min-width:0}
.owner-doc-main strong,.owner-doc-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.owner-doc-main strong{font-size:10px}.owner-doc-main small{color:#75869b;font-size:9px}
.owner-doc-status{padding:5px 7px;border-radius:8px;background:#eef2f6;color:#68788d;font-size:8px;font-weight:900;white-space:nowrap}
.owner-doc-status.published{background:#e5f7eb;color:#207947}.owner-doc-status.moderation{background:#fff2d9;color:#94600d}
.owner-doc-actions{display:flex;align-items:center;gap:8px}.owner-doc-actions form{margin:0}.owner-doc-actions .btn{padding:8px 10px;font-size:9px}
.owner-paused-chip{padding:5px 7px;border-radius:8px;background:#fff0ed;color:#ad3d2f;font-size:8px;font-weight:850}
.owner-doc-more{padding:12px 2px 0;color:#8a98aa;font-size:9px;text-align:center}

@media(max-width:980px){
  .owner-dashboard-metrics{grid-template-columns:1fr 1fr}
  .owner-dashboard-columns{grid-template-columns:1fr}
  .owner-doc-main{grid-template-columns:auto 1fr}.owner-doc-main small{grid-column:2}
}
@media(max-width:680px){
  .owner-dashboard-hero{align-items:flex-start;flex-direction:column}
  .owner-dashboard-hero h1{font-size:34px}
  .owner-attention-grid,.owner-dashboard-metrics{grid-template-columns:1fr}
  .owner-doc-row{grid-template-columns:1fr}
  .owner-doc-actions{justify-content:space-between}
}


/* =========================================================
   DSRent 5.12.8 — Business profile and client workspace
   ========================================================= */
.client-workspace-nav{
  position:sticky;top:0;z-index:44;border-bottom:1px solid #dbe4ef;background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
}
.client-workspace-inner{
  width:min(100% - 44px,1460px);min-height:62px;margin:0 auto;display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px
}
.client-workspace-home{display:flex;align-items:center;gap:10px;color:#172033;text-decoration:none;white-space:nowrap}
.client-workspace-mark{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#2f6bed;color:#fff;font-size:12px;font-weight:900}
.client-workspace-home>span:last-child{display:flex;flex-direction:column;line-height:1.05}
.client-workspace-home b{font-size:13px}.client-workspace-home small{margin-top:4px;color:#8a98aa;font-size:9px;font-weight:750}
.client-workspace-links{display:flex;height:62px;align-items:stretch;gap:4px}
.client-workspace-links a{
  position:relative;display:flex;align-items:center;padding:0 15px;color:#52647a;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap
}
.client-workspace-links a:hover{color:#1f5fd3;background:#f6f9ff}
.client-workspace-links a.active{color:#1f5fd3;background:#eef4ff}
.client-workspace-links a.active:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;background:#2f6bed;border-radius:3px 3px 0 0}
.client-catalog-link{padding:10px 12px;border:1px solid #cbd8e8;border-radius:10px;color:#26364a;text-decoration:none;font-size:10px;font-weight:850;white-space:nowrap}
.client-catalog-link:hover{border-color:#94b8ff;color:#1f5fd3;background:#eef4ff}
.client-main{width:min(100% - 56px,1460px);margin:0 auto;padding-top:34px}

.business-profile{padding-bottom:50px}
.business-profile-head{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:34px;align-items:end;margin-bottom:20px}
.business-profile-head h1{margin:6px 0 8px;font-size:44px;letter-spacing:-.035em}
.business-profile-head p{max-width:800px;margin:0;color:#718198;font-size:13px;line-height:1.55}
.profile-completion{padding:15px;border:1px solid #dce5ef;border-radius:15px;background:#fff}
.profile-completion-top{display:flex;justify-content:space-between;gap:12px;color:#61738a;font-size:10px;font-weight:800}
.profile-completion-top strong{color:#1f5fd3}
.profile-completion-bar{height:7px;margin:10px 0 8px;border-radius:999px;background:#edf2f7;overflow:hidden}
.profile-completion-bar span{display:block;height:100%;border-radius:inherit;background:#2f6bed}
.profile-completion small{display:block;color:#8a98aa;font-size:9px;line-height:1.4}.profile-completion small.complete{color:#278353}
.business-profile-form{display:grid;gap:14px}
.profile-section-card{padding:20px;border:1px solid #dbe4ef;border-radius:18px;background:#fff}
.profile-section-title{display:flex;gap:12px;align-items:flex-start;padding-bottom:16px;margin-bottom:17px;border-bottom:1px solid #edf1f5}
.profile-section-title>span{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#eef4ff;color:#2a64d7;font-size:11px;font-weight:900}
.profile-section-title h2{margin:0;font-size:20px}.profile-section-title p{margin:3px 0 0;color:#8492a5;font-size:10px}
.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 18px}
.profile-form-grid label{display:block;margin:0;color:#405168;font-size:10px;font-weight:850}
.profile-form-grid label.full{grid-column:1/-1}
.profile-form-grid input,.profile-form-grid select,.profile-form-grid textarea{
  box-sizing:border-box;width:100%;margin-top:7px;border:1px solid #ccd8e6;border-radius:11px;background:#fff;color:#172033;font:inherit;font-size:12px;font-weight:650;outline:none
}
.profile-form-grid input,.profile-form-grid select{height:49px;padding:0 12px}
.profile-form-grid textarea{padding:12px;resize:vertical;line-height:1.5}
.profile-form-grid input:focus,.profile-form-grid select:focus,.profile-form-grid textarea:focus{border-color:#72a3ff;box-shadow:0 0 0 3px rgba(47,107,237,.08)}
.profile-readonly-field{padding-top:0}
.profile-readonly-field>span{display:block;color:#405168;font-size:10px;font-weight:850}
.profile-readonly-field strong{display:flex;align-items:center;min-height:49px;margin-top:7px;padding:0 12px;border:1px solid #e2e8f0;border-radius:11px;background:#f8fafc;color:#45566d;font-size:12px}
.profile-readonly-field small{display:block;margin-top:5px;color:#98a5b5;font-size:8px}
.profile-savebar{
  position:sticky;bottom:14px;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:13px 15px;border:1px solid #cfdceb;border-radius:15px;background:rgba(255,255,255,.95);box-shadow:0 12px 34px rgba(36,57,88,.1);backdrop-filter:blur(10px)
}
.profile-savebar strong,.profile-savebar span{display:block}.profile-savebar strong{font-size:11px}.profile-savebar span{margin-top:2px;color:#8593a5;font-size:9px}
.profile-offer-note{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px;padding:17px 19px;border:1px solid #dbe4ef;border-radius:16px;background:#f8fbff}
.profile-offer-note h3{margin:4px 0;font-size:15px}.profile-offer-note p{margin:0;color:#7b899b;font-size:10px}

.owner-workspace-links a[href="/profile"]{min-width:max-content}

@media(max-width:900px){
  .business-profile-head{grid-template-columns:1fr}
  .client-workspace-inner{grid-template-columns:auto 1fr;padding:8px 0}
  .client-workspace-links{grid-column:1/-1;order:3;height:auto;overflow-x:auto}
  .client-workspace-links a{height:40px}
  .client-catalog-link{justify-self:end}
}
@media(max-width:680px){
  .client-workspace-inner,.client-main{width:min(100% - 24px,1460px)}
  .client-main{padding-top:22px}
  .business-profile-head h1{font-size:34px}
  .profile-form-grid{grid-template-columns:1fr}
  .profile-form-grid label.full{grid-column:auto}
  .profile-savebar,.profile-offer-note{align-items:flex-start;flex-direction:column}
  .profile-savebar .btn{width:100%}
}


/* =========================================================
   DSRent 5.12.9 — Account security management
   ========================================================= */
.security-center{padding-bottom:50px}
.security-center-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px
}
.security-center-head h1{margin:6px 0 7px;font-size:44px;letter-spacing:-.035em}
.security-center-head p{max-width:760px;margin:0;color:#748399;font-size:13px;line-height:1.5}
.security-account-chip{
  min-width:260px;padding:13px 15px;border:1px solid #dbe4ef;border-radius:14px;background:#fff
}
.security-account-chip span,.security-account-chip strong{display:block}
.security-account-chip span{color:#8b99aa;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}
.security-account-chip strong{margin-top:4px;color:#26364b;font-size:11px;overflow-wrap:anywhere}
.security-center-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.security-manage-card{
  padding:19px;border:1px solid #dbe4ef;border-radius:18px;background:#fff
}
.security-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.security-card-head h2{margin:8px 0 0;font-size:20px}
.security-card-icon{
  width:44px;height:44px;display:grid;place-items:center;flex:0 0 auto;border-radius:13px;background:#eef4ff;color:#2864dc;font-size:12px;font-weight:900
}
.security-manage-card>p{min-height:45px;margin:12px 0;color:#74849a;font-size:10px;line-height:1.5}
.security-status.neutral{background:#eef2f6;color:#64748b}
.security-card-actions{margin-top:14px}.security-card-actions form{margin:0}
.security-email-value{display:block;margin:16px 0 5px;color:#26364a;font-size:15px}
.self-password-form{display:grid;gap:11px;margin-top:15px}
.self-password-form label{display:block;margin:0;color:#42536a;font-size:10px;font-weight:850}
.self-password-form input{
  box-sizing:border-box;width:100%;height:46px;margin-top:6px;padding:0 11px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;font:inherit;font-size:11px
}
.self-password-field{position:relative}.self-password-field input{padding-right:84px}
.self-password-field button{
  position:absolute;right:6px;bottom:6px;height:34px;padding:0 10px;border:0;border-radius:8px;background:#f0f4f8;color:#43536a;font-size:9px;font-weight:850;cursor:pointer
}
.self-password-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.self-password-form small{color:#8c99aa;font-size:8px;line-height:1.4}
.self-password-form>.btn{justify-self:start}
.security-password-card{grid-column:1/-1}
.security-email-card{grid-column:1/-1}

.twofa-management{padding-bottom:50px}
.twofa-management-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.twofa-management-head>div:first-child{min-width:0}
.twofa-enabled-manage{display:grid;gap:14px;margin-top:18px}
.twofa-current-state{
  display:flex;align-items:center;gap:15px;padding:20px;border:1px solid #cde8d8;border-radius:18px;background:#f3fbf6
}
.twofa-state-icon{
  width:48px;height:48px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:#dff5e8;color:#16864e;font-size:22px;font-weight:900
}
.twofa-current-state h2{margin:7px 0 4px;font-size:21px}
.twofa-current-state p{margin:0;color:#698074;font-size:10px}
.twofa-manage-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.twofa-manage-card{
  padding:19px;border:1px solid #dbe4ef;border-radius:18px;background:#fff
}
.twofa-manage-card h3{margin:7px 0 6px;font-size:19px}
.twofa-manage-card>p{margin:0 0 15px;color:#75859a;font-size:10px;line-height:1.5}
.twofa-danger-card{border-color:#f0d1ca;background:#fffafa}
.twofa-sensitive-form{display:grid;gap:11px}
.twofa-sensitive-form label{display:block;margin:0;color:#42536a;font-size:10px;font-weight:850}
.twofa-sensitive-form input{
  box-sizing:border-box;width:100%;height:46px;margin-top:6px;padding:0 11px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;font:inherit;font-size:11px
}
.twofa-sensitive-form button{justify-self:start}
.twofa-compatible-note{
  padding:14px 16px;border:1px solid #dbe4ef;border-radius:14px;background:#f8fafc;color:#718096;font-size:10px;line-height:1.5
}
.twofa-compatible-note strong{color:#334155}

@media(max-width:800px){
  .security-center-head,.twofa-management-head{align-items:flex-start;flex-direction:column}
  .security-account-chip{min-width:0;width:100%;box-sizing:border-box}
  .security-center-grid,.twofa-manage-grid{grid-template-columns:1fr}
  .security-password-card,.security-email-card{grid-column:auto}
  .self-password-two{grid-template-columns:1fr}
}


/* =========================================================
   DSRent 5.13.0 — Portal settings vs account settings
   ========================================================= */
.account-settings-tabs{
  display:flex;gap:6px;margin:0 0 14px;padding:5px;border:1px solid #dce5ef;border-radius:13px;background:#fff;width:max-content
}
.account-settings-tabs a{
  padding:9px 14px;border-radius:9px;color:#607188;text-decoration:none;font-size:10px;font-weight:850
}
.account-settings-tabs a:hover{background:#f5f8fc;color:#245fcf}
.account-settings-tabs a.active{background:#eef4ff;color:#245fcf}
.account-role-chip{
  display:inline-flex;margin-bottom:12px;padding:6px 9px;border-radius:999px;background:#eef4ff;color:#2b64d3;font-size:9px;font-weight:900
}
.full-account-email{grid-column:1/-1}
.account-email-change{
  display:grid;grid-template-columns:minmax(0,.8fr) minmax(420px,1.2fr);gap:22px;align-items:start;
  margin-top:14px;padding:20px;border:1px solid #dbe4ef;border-radius:18px;background:#fff
}
.account-email-change h2{margin:6px 0;font-size:20px}
.account-email-change p{margin:0;color:#78889c;font-size:10px;line-height:1.5}
.account-email-form{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.account-email-form label{color:#42536a;font-size:10px;font-weight:850}
.account-email-form input{
  box-sizing:border-box;width:100%;height:46px;margin-top:6px;padding:0 11px;border:1px solid #cfd9e6;border-radius:10px;background:#fff;font:inherit;font-size:11px
}
.account-email-form .btn{grid-column:1/-1;justify-self:start}
.pending-email-note{
  grid-column:1/-1;padding:10px 12px;border:1px solid #f1d29a;border-radius:11px;background:#fffaf0
}
.pending-email-note span,.pending-email-note strong{display:block}
.pending-email-note span{color:#9c6a19;font-size:8px;font-weight:900;text-transform:uppercase}
.pending-email-note strong{margin-top:3px;color:#4d4332;font-size:11px}

.portal-settings-page{width:min(100% - 44px,1400px);margin:26px auto 60px}
.portal-setting-warning{
  display:flex;gap:12px;align-items:center;margin:16px 0;padding:13px 15px;border:1px solid #d9e5f4;border-radius:13px;background:#f4f8ff
}
.portal-setting-warning strong{font-size:10px;white-space:nowrap;color:#235fcf}
.portal-setting-warning span{font-size:9px;color:#6f8096}
.portal-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.portal-setting-card{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;
  min-height:135px;padding:18px;border:1px solid #dbe4ef;border-radius:17px;background:#fff;color:#26364a;text-decoration:none
}
.portal-setting-card:not(.static):hover{border-color:#a9c4ed;box-shadow:0 10px 28px rgba(43,70,108,.06);transform:translateY(-1px)}
.portal-setting-icon{
  width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#eef4ff;color:#2864dc;font-size:18px;font-weight:900
}
.portal-setting-card span{display:block;color:#8493a6;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}
.portal-setting-card h2{margin:5px 0 5px;font-size:16px}
.portal-setting-card p{margin:0;color:#78889c;font-size:9px;line-height:1.5}
.portal-setting-card>b{color:#2d64cc;font-size:9px}
.portal-setting-value{font-size:24px;color:#25364c}
.portal-settings-summary{
  display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;padding:16px;border:1px solid #dbe4ef;border-radius:16px;background:#fff
}
.portal-settings-summary>div{padding:5px 7px}
.portal-settings-summary span,.portal-settings-summary strong,.portal-settings-summary a{display:block}
.portal-settings-summary span{color:#8997a9;font-size:8px;font-weight:850;text-transform:uppercase}
.portal-settings-summary strong{margin-top:4px;font-size:11px}
.portal-settings-summary a{margin-top:5px;color:#2c64cf;text-decoration:none;font-size:9px;font-weight:800}

/* Modern self-service password generator */
.modern-password-form{max-width:100%}
.generated-password-panel{
  padding:14px;border:1px solid #dce5ef;border-radius:13px;background:#f8fafc
}
.generated-password-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}
.generated-password-head strong,.generated-password-head span{display:block}
.generated-password-head strong{font-size:10px;color:#334155}
.generated-password-head div>span{margin-top:2px;color:#8290a2;font-size:8px}
.password-strength-badge{
  flex:0 0 auto;padding:5px 7px;border-radius:8px;background:#edf2f7;color:#718096;font-size:8px;font-weight:900
}
.password-strength-badge[data-level="3"]{background:#fff1d9;color:#9a6818}
.password-strength-badge[data-level="4"],.password-strength-badge[data-level="5"]{background:#e4f7eb;color:#1f7c49}
.generated-password-field{position:relative}
.generated-password-field input{padding-right:82px!important}
.generated-password-field button{
  position:absolute;right:6px;top:12px;height:34px;padding:0 10px;border:0;border-radius:8px;background:#eaf0f6;color:#44556b;font-size:8px;font-weight:850;cursor:pointer
}
.password-generator-actions{display:flex;gap:8px;margin-top:9px}
.password-generator-actions .btn{padding:8px 10px;font-size:8px}
.password-generator-actions button:disabled{opacity:.45;cursor:not-allowed}
.password-strength-track{height:6px;margin-top:10px;border-radius:999px;background:#e6ecf3;overflow:hidden}
.password-strength-track span{display:block;width:0;height:100%;border-radius:inherit;background:#d49a35;transition:width .2s ease}
.password-strength-track span[data-level="4"],.password-strength-track span[data-level="5"]{background:#2aa166}
.generated-password-panel>small{display:block;margin-top:8px;color:#8492a5;font-size:8px;line-height:1.4}

@media(max-width:850px){
  .account-email-change{grid-template-columns:1fr}
  .account-email-form{grid-template-columns:1fr}
  .portal-settings-grid,.portal-settings-summary{grid-template-columns:1fr}
}
@media(max-width:620px){
  .account-settings-tabs{width:100%;box-sizing:border-box}
  .account-settings-tabs a{flex:1;text-align:center}
  .account-email-form .btn{width:100%}
  .portal-setting-warning{align-items:flex-start;flex-direction:column}
  .portal-setting-card{grid-template-columns:auto 1fr}
  .portal-setting-card>b,.portal-setting-value{grid-column:2}
  .password-generator-actions{display:grid;grid-template-columns:1fr 1fr}
}


/* =========================================================
   DSRent 5.13.1 — Compact portal settings
   ========================================================= */
.portal-settings-compact{max-width:1280px}
.portal-settings-head{margin-bottom:18px}
.portal-settings-head h1{margin-bottom:6px}
.portal-settings-section{
  margin-bottom:14px;
  padding:19px;
  border:1px solid #dbe4ef;
  border-radius:18px;
  background:#fff
}
.portal-section-title{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:15px
}
.portal-section-title>span{
  width:34px;height:34px;
  display:grid;place-items:center;
  flex:0 0 auto;
  border-radius:10px;
  background:#eef4ff;
  color:#2b64d3;
  font-size:10px;
  font-weight:900
}
.portal-section-title h2{margin:0;font-size:18px}
.portal-section-title p{margin:3px 0 0;color:#8391a4;font-size:9px}
.portal-setting-row-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px
}
.portal-setting-row{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:13px;
  min-height:76px;
  padding:13px 14px;
  border:1px solid #e1e8f0;
  border-radius:13px;
  background:#fbfcfe;
  color:#26364a;
  text-decoration:none
}
.portal-setting-row:hover{
  border-color:#adc8ef;
  background:#f7faff
}
.portal-setting-row .portal-setting-icon{
  width:38px;height:38px;
  border-radius:11px;
  font-size:15px
}
.portal-setting-copy strong,
.portal-setting-copy span{display:block}
.portal-setting-copy strong{font-size:11px}
.portal-setting-copy span{
  margin-top:3px;
  color:#7d8ca0;
  font-size:8px;
  line-height:1.4
}
.portal-setting-row>b{
  color:#2a64d0;
  font-size:8px;
  white-space:nowrap
}

.portal-commercial-form{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:15px;
  border:1px solid #e1e8f0;
  border-radius:13px;
  background:#fbfcfe
}
.portal-commercial-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex:1
}
.portal-commercial-main label span,
.portal-commercial-main label small{display:block}
.portal-commercial-main label span{
  color:#2c3d52;
  font-size:11px;
  font-weight:900
}
.portal-commercial-main label small{
  margin-top:3px;
  color:#7c8ba0;
  font-size:8px
}
.portal-percent-field{
  position:relative;
  width:145px;
  flex:0 0 auto
}
.portal-percent-field input{
  box-sizing:border-box;
  width:100%;
  height:48px;
  padding:0 40px 0 13px;
  border:1px solid #cbd8e6;
  border-radius:11px;
  background:#fff;
  color:#1d2b3d;
  font-size:16px;
  font-weight:900;
  outline:none
}
.portal-percent-field input:focus{
  border-color:#74a4fa;
  box-shadow:0 0 0 3px rgba(47,107,237,.08)
}
.portal-percent-field span{
  position:absolute;
  right:13px;
  top:50%;
  transform:translateY(-50%);
  color:#75859a;
  font-size:13px;
  font-weight:900
}
.portal-commercial-note{
  margin-top:9px;
  padding:10px 12px;
  border-radius:10px;
  background:#f5f8fc;
  color:#7b899b;
  font-size:8px;
  line-height:1.45
}

/* 5.13.1: legacy 5.13.0 portal cards are no longer rendered */
.portal-settings-compact .portal-setting-warning,
.portal-settings-compact .portal-settings-grid,
.portal-settings-compact .portal-settings-summary{display:none!important}

@media(max-width:760px){
  .portal-setting-row-grid{grid-template-columns:1fr}
  .portal-commercial-form,
  .portal-commercial-main{
    align-items:stretch;
    flex-direction:column
  }
  .portal-percent-field{width:100%}
  .portal-commercial-form .btn{width:100%}
}


/* =========================================================
   DSRent 5.13.2 — Embedded secure updater
   ========================================================= */
.embedded-updater{
  width:min(100% - 44px,1320px);
  margin:28px auto 58px
}
.updater-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:17px
}
.updater-head h1{
  margin:6px 0 7px;
  font-size:42px;
  letter-spacing:-.035em
}
.updater-head p{
  max-width:800px;
  margin:0;
  color:#74849a;
  font-size:11px;
  line-height:1.5
}
.updater-health{
  min-width:175px;
  padding:13px 15px;
  border:1px solid #dbe4ef;
  border-radius:14px;
  background:#fff
}
.updater-health span,.updater-health strong{display:block}
.updater-health span{
  color:#7b8b9f;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase
}
.updater-health strong{
  margin-top:4px;
  font-size:20px
}
.updater-health.ok{border-color:#cfe8d9;background:#f5fbf7}
.updater-health.ok strong{color:#207b49}
.updater-health.warn{border-color:#f0d19b;background:#fffaf0}
.updater-health.warn strong{color:#9a6512}

.updater-status-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px
}
.updater-status-card{
  min-height:94px;
  padding:14px;
  border:1px solid #dbe4ef;
  border-radius:15px;
  background:#fff
}
.updater-status-card span,.updater-status-card strong,.updater-status-card small{display:block}
.updater-status-card span{
  color:#8493a5;
  font-size:8px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em
}
.updater-status-card strong{
  margin:8px 0 4px;
  color:#26364b;
  font-size:18px
}
.updater-status-card small{
  color:#99a5b5;
  font-size:8px
}

.updater-action-card,
.updater-upload-card,
.updater-package-ready{
  margin-bottom:14px;
  padding:20px;
  border:1px solid #dbe4ef;
  border-radius:18px;
  background:#fff
}
.updater-action-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:16px;
  align-items:center
}
.updater-local-migration{
  border-color:#f0d19a;
  background:#fffaf1
}
.updater-card-icon{
  width:44px;height:44px;
  display:grid;place-items:center;
  border-radius:13px;
  background:#fff0d5;
  color:#9e6713;
  font-size:19px;
  font-weight:900
}
.updater-action-copy h2{margin:5px 0 5px;font-size:18px}
.updater-action-copy p{margin:0;color:#7e7564;font-size:9px;line-height:1.5}
.updater-version-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:9px
}
.updater-version-list span{
  padding:5px 7px;
  border-radius:8px;
  background:#fff;
  color:#695b43;
  font-size:8px;
  font-weight:800
}

.updater-upload-card{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(460px,1.2fr);
  gap:28px;
  align-items:center
}
.updater-upload-card.disabled{opacity:.65}
.updater-upload-copy h2{margin:6px 0 6px;font-size:20px}
.updater-upload-copy p{margin:0;color:#7a899c;font-size:9px;line-height:1.5}
.updater-upload-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:stretch
}
.updater-file-picker{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  min-height:64px;
  box-sizing:border-box;
  padding:10px 13px;
  border:1px dashed #b8c8dc;
  border-radius:13px;
  background:#f8fafc;
  cursor:pointer
}
.updater-file-picker input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer
}
.updater-file-icon{
  width:42px;height:42px;
  display:grid;place-items:center;
  flex:0 0 auto;
  border-radius:11px;
  background:#eef4ff;
  color:#2b64d7;
  font-size:9px;
  font-weight:950
}
.updater-file-picker strong,.updater-file-picker small{display:block}
.updater-file-picker strong{font-size:10px;color:#35465c}
.updater-file-picker small{margin-top:3px;color:#8997a9;font-size:8px}

.updater-package-ready{
  border-color:#bcd3f4;
  box-shadow:0 10px 28px rgba(46,79,126,.06)
}
.updater-package-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px
}
.updater-package-top h2{margin:6px 0 5px;font-size:23px}
.updater-package-top p{margin:0;color:#738398;font-size:10px}
.updater-verified-badge{
  padding:7px 10px;
  border-radius:999px;
  background:#e5f7eb;
  color:#1f7b48;
  font-size:9px;
  font-weight:900;
  white-space:nowrap
}
.updater-package-meta{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin:16px 0
}
.updater-package-meta>div{
  padding:11px;
  border:1px solid #e2e8f0;
  border-radius:11px;
  background:#f8fafc
}
.updater-package-meta span,.updater-package-meta strong{display:block}
.updater-package-meta span{color:#8a98aa;font-size:8px;font-weight:850}
.updater-package-meta strong{margin-top:4px;font-size:11px}
.updater-checks{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:16px
}
.updater-checks span{
  padding:6px 8px;
  border-radius:8px;
  background:#f0f7ff;
  color:#41658f;
  font-size:8px;
  font-weight:800
}
.updater-package-actions{
  display:flex;
  align-items:center;
  gap:9px
}
.updater-package-actions form{margin:0}
.updater-install-btn{min-width:190px}

.updater-lower-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:14px
}
.updater-security-card,
.updater-history-card{
  padding:18px;
  border:1px solid #dbe4ef;
  border-radius:17px;
  background:#fff
}
.updater-security-card h2,
.updater-history-card h2{
  margin:6px 0 14px;
  font-size:18px
}
.updater-security-list{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px
}
.updater-security-list>div{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:9px;
  padding:10px;
  border:1px solid #e6ebf1;
  border-radius:11px;
  background:#fafbfd
}
.updater-security-list b{
  width:27px;height:27px;
  display:grid;place-items:center;
  border-radius:8px;
  background:#eef4ff;
  color:#2a63d1;
  font-size:8px
}
.updater-security-list span,
.updater-security-list strong{display:block}
.updater-security-list span{
  color:#7f8da0;
  font-size:8px;
  line-height:1.4
}
.updater-security-list strong{
  margin-bottom:2px;
  color:#36475c;
  font-size:9px
}

.updater-history-list{display:grid;gap:7px}
.updater-history-list>div{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  padding:9px 0;
  border-bottom:1px solid #edf1f5
}
.updater-history-list>div:last-child{border-bottom:0}
.updater-history-list strong,.updater-history-list small{display:block}
.updater-history-list strong{font-size:9px}
.updater-history-list small{margin-top:2px;color:#929eae;font-size:7px}
.updater-history-list>div>span:last-child{
  color:#8290a2;
  font-size:7px;
  font-weight:850
}
.updater-history-status{
  width:8px;height:8px;
  border-radius:50%;
  background:#cbd5e1
}
.updater-history-status.success{background:#27a164}
.updater-history-status.failed,
.updater-history-status.failed_during_migration{background:#d95849}
.updater-empty{
  min-height:120px;
  display:grid;
  place-items:center;
  color:#8b98a9;
  font-size:9px
}
.updater-db-warning{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:14px;
  padding:11px 13px;
  border:1px solid #eee2c9;
  border-radius:11px;
  background:#fffdf7;
  color:#81765f;
  font-size:8px;
  line-height:1.45
}
.updater-db-warning strong{
  flex:0 0 auto;
  color:#6c5d3e
}

@media(max-width:980px){
  .updater-status-grid,
  .updater-package-meta{grid-template-columns:1fr 1fr}
  .updater-upload-card,
  .updater-lower-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .embedded-updater{width:min(100% - 24px,1320px)}
  .updater-head{align-items:flex-start;flex-direction:column}
  .updater-head h1{font-size:34px}
  .updater-health{width:100%;box-sizing:border-box}
  .updater-status-grid,
  .updater-package-meta,
  .updater-security-list{grid-template-columns:1fr}
  .updater-action-card{grid-template-columns:1fr}
  .updater-upload-form{grid-template-columns:1fr}
  .updater-package-top,
  .updater-package-actions{align-items:flex-start;flex-direction:column}
  .updater-package-actions form,
  .updater-package-actions button{width:100%}
}


/* =========================================================
   DSRent 5.13.3 — readable compact updater + admin navigation
   ========================================================= */

/* Admin navigation: do not wrap into an accidental second line */
.admin-workspace-nav{
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
}
.admin-workspace-inner{
  width:max-content;
  min-width:100%;
  min-height:64px;
  display:flex!important;
  align-items:center;
  gap:18px!important;
  padding:0 28px;
  box-sizing:border-box;
}
.admin-workspace-home{
  flex:0 0 auto;
  margin-right:6px;
}
.admin-workspace-links{
  flex:1 0 auto;
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:stretch;
  gap:2px!important;
  min-width:max-content;
  height:64px!important;
}
.admin-workspace-links a{
  flex:0 0 auto;
  display:flex!important;
  align-items:center;
  height:64px!important;
  box-sizing:border-box;
  padding:0 12px!important;
  white-space:nowrap!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:800!important;
}
.admin-open-site{
  flex:0 0 auto;
  margin-left:auto;
  white-space:nowrap;
  font-size:12px!important;
}

/* Main updater */
.updater-simple{
  width:min(100% - 48px,1280px);
  margin:34px auto 64px;
}
.updater-simple-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:22px;
}
.updater-simple-head h1{
  margin:7px 0 8px;
  font-size:46px;
  line-height:1.05;
  letter-spacing:-.04em;
}
.updater-simple-head p{
  max-width:760px;
  margin:0;
  color:#6d7f96;
  font-size:15px;
  line-height:1.5;
}
.updater-version-pill{
  min-width:170px;
  padding:14px 16px;
  border:1px solid #dbe4ef;
  border-radius:15px;
  background:#fff;
}
.updater-version-pill span,
.updater-version-pill strong{display:block}
.updater-version-pill span{
  color:#7e8fa4;
  font-size:11px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.updater-version-pill strong{
  margin-top:5px;
  font-size:24px;
  line-height:1;
}
.updater-version-pill.ok{
  border-color:#c9e4d3;
  background:#f4fbf6;
}
.updater-version-pill.ok strong{color:#1f7c49}

.updater-compact-status{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:14px;
}
.updater-compact-status>div{
  padding:14px 16px;
  border:1px solid #dbe4ef;
  border-radius:14px;
  background:#fff;
}
.updater-compact-status span,
.updater-compact-status strong{display:block}
.updater-compact-status span{
  color:#8291a4;
  font-size:11px;
  font-weight:800;
}
.updater-compact-status strong{
  margin-top:4px;
  color:#293b50;
  font-size:17px;
}

.updater-primary-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  margin-bottom:14px;
  padding:22px;
  border:1px solid #dbe4ef;
  border-radius:18px;
  background:#fff;
}
.updater-primary-card h2{
  margin:7px 0 7px;
  font-size:24px;
  line-height:1.15;
}
.updater-primary-card p{
  margin:0;
  color:#718298;
  font-size:14px;
  line-height:1.5;
}

.updater-upload-card-simple{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(500px,1.2fr);
}
.updater-upload-form-simple{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:stretch;
}
.updater-file-picker-simple{
  position:relative;
  display:flex;
  align-items:center;
  gap:13px;
  min-height:70px;
  padding:12px 14px;
  box-sizing:border-box;
  border:1px dashed #b8c8dc;
  border-radius:13px;
  background:#f8fafc;
  cursor:pointer;
}
.updater-file-picker-simple input{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}
.updater-file-picker-simple strong,
.updater-file-picker-simple small{display:block}
.updater-file-picker-simple strong{
  color:#33465d;
  font-size:13px;
}
.updater-file-picker-simple small{
  margin-top:4px;
  color:#8190a3;
  font-size:11px;
}
.updater-file-picker-simple .updater-file-icon{
  width:44px;
  height:44px;
  font-size:10px;
}
.updater-upload-form-simple>.btn{
  min-width:180px;
  font-size:14px;
}

.updater-ready-main{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  flex:1;
}
.updater-ready-facts{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:14px;
}
.updater-ready-facts span{
  padding:7px 9px;
  border-radius:9px;
  background:#f4f7fb;
  color:#6f8095;
  font-size:11px;
}
.updater-ready-facts b{
  color:#304258;
  font-size:12px;
}
.updater-verified-badge{
  font-size:11px!important;
}
.updater-package-ready{
  display:block;
}
.updater-package-ready .updater-package-actions{
  margin-top:18px;
}

.updater-secondary{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.updater-details{
  border:1px solid #dbe4ef;
  border-radius:16px;
  background:#fff;
  overflow:hidden;
}
.updater-details summary{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:3px;
  padding:17px 48px 17px 18px;
  cursor:pointer;
  list-style:none;
}
.updater-details summary::-webkit-details-marker{display:none}
.updater-details summary:after{
  content:"+";
  position:absolute;
  right:18px;
  top:50%;
  transform:translateY(-50%);
  color:#64758b;
  font-size:22px;
  font-weight:500;
}
.updater-details[open] summary:after{content:"−"}
.updater-details summary span{
  color:#2c3e54;
  font-size:15px;
  font-weight:900;
}
.updater-details summary small{
  color:#8593a6;
  font-size:12px;
}
.updater-details-body{
  padding:0 18px 18px;
  border-top:1px solid #edf1f5;
}
.updater-security-list.readable{
  grid-template-columns:1fr;
  margin-top:14px;
}
.updater-security-list.readable>div{
  padding:11px 12px;
}
.updater-security-list.readable b{
  width:30px;height:30px;
  font-size:10px;
}
.updater-security-list.readable span{
  color:#6f8094;
  font-size:12px;
  line-height:1.45;
}
.updater-security-list.readable strong{
  margin-bottom:3px;
  color:#33465d;
  font-size:12px;
}
.updater-history-list.readable{
  margin-top:10px;
}
.updater-history-list.readable>div{
  padding:11px 0;
}
.updater-history-list.readable strong{
  font-size:13px;
}
.updater-history-list.readable small{
  margin-top:3px;
  font-size:11px;
}
.updater-history-list.readable>div>span:last-child{
  font-size:10px;
}
.updater-empty.compact{
  min-height:90px;
  font-size:12px;
}

.updater-db-note{
  display:flex;
  align-items:flex-start;
  gap:9px;
  margin-top:12px;
  padding:12px 14px;
  border:1px solid #eee2c9;
  border-radius:11px;
  background:#fffdf8;
  color:#7e735e;
  font-size:11px;
  line-height:1.5;
}
.updater-db-note strong{
  flex:0 0 auto;
  color:#675a41;
}

/* Override the excessively tiny legacy helper text on updater only */
.updater-simple .eyebrow{
  font-size:11px!important;
}
.updater-simple .btn{
  min-height:46px;
  padding:0 18px;
  font-size:13px;
}
.updater-simple .updater-version-list span{
  font-size:11px;
}

@media(max-width:980px){
  .updater-upload-card-simple{grid-template-columns:1fr}
  .updater-secondary{grid-template-columns:1fr}
}
@media(max-width:720px){
  .updater-simple{width:min(100% - 24px,1280px)}
  .updater-simple-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .updater-simple-head h1{font-size:36px}
  .updater-version-pill{width:100%;box-sizing:border-box}
  .updater-compact-status{grid-template-columns:1fr}
  .updater-primary-card{
    align-items:stretch;
    flex-direction:column;
  }
  .updater-upload-form-simple{grid-template-columns:1fr}
  .updater-upload-form-simple>.btn{width:100%}
  .updater-db-note{flex-direction:column}
}


/* =========================================================
   DSRent 5.13.4 — grouped admin navigation
   ========================================================= */
.admin-nav-v2{
  position:relative;
  z-index:70;
  overflow:visible!important;
  border-bottom:1px solid #dce5ef;
  background:#fff;
}
.admin-nav-v2-inner{
  width:min(100%,1680px)!important;
  min-width:0!important;
  min-height:68px!important;
  height:68px;
  margin:0 auto;
  padding:0 28px!important;
  gap:24px!important;
  overflow:visible!important;
}
.admin-brand-compact{
  display:flex!important;
  align-items:center;
  gap:9px;
  min-width:142px;
  margin-right:6px!important;
}
.admin-brand-copy{
  display:flex;
  flex-direction:column;
  gap:1px;
  line-height:1.05;
}
.admin-brand-copy b{color:#172135;font-size:13px}
.admin-brand-copy small{color:#8290a3;font-size:9px;font-weight:800}

.admin-primary-links{
  flex:1 1 auto!important;
  min-width:0!important;
  height:68px!important;
  gap:3px!important;
  overflow:visible!important;
}
.admin-primary-links>a{
  position:relative;
  flex:0 0 auto;
  display:flex!important;
  align-items:center;
  height:68px!important;
  box-sizing:border-box;
  padding:0 15px!important;
  border-radius:0!important;
  color:#516178!important;
  white-space:nowrap!important;
  font-size:14px!important;
  line-height:1!important;
  font-weight:850!important;
  text-decoration:none;
}
.admin-primary-links>a:hover{background:#f7f9fc!important;color:#245fcf!important}
.admin-primary-links>a.active{background:#f1f6ff!important;color:#245fcf!important}
.admin-primary-links>a.active:after{
  content:"";
  position:absolute;
  left:14px;right:14px;bottom:0;
  height:3px;
  border-radius:3px 3px 0 0;
  background:#2f6bed;
}

.admin-nav-actions{
  display:flex!important;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  margin-left:auto;
  overflow:visible!important;
}
.admin-open-site-v2{
  display:flex!important;
  align-items:center;
  min-height:38px;
  padding:0 11px;
  border-radius:9px;
  color:#63748a!important;
  text-decoration:none;
  white-space:nowrap;
  font-size:12px!important;
  font-weight:800;
}
.admin-open-site-v2:hover{background:#f4f7fa;color:#245fcf!important}

.admin-account-menu{position:relative;overflow:visible}
.admin-account-menu>summary{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:190px;
  min-height:44px;
  box-sizing:border-box;
  padding:6px 10px;
  border:1px solid transparent;
  border-radius:11px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.admin-account-menu>summary::-webkit-details-marker{display:none}
.admin-account-menu>summary:hover,
.admin-account-menu>summary.active,
.admin-account-menu[open]>summary{
  border-color:#dce5ef;
  background:#f7f9fc;
}
.admin-account-avatar{
  width:30px;height:30px;
  display:grid;place-items:center;
  flex:0 0 auto;
  border-radius:9px;
  background:#2f6bed;
  color:#fff;
  font-size:11px;
  font-weight:950;
}
.admin-account-summary-copy{display:flex;flex-direction:column;min-width:0;line-height:1.15}
.admin-account-summary-copy b{color:#2a3b51;font-size:11px}
.admin-account-summary-copy small{
  max-width:120px;
  margin-top:2px;
  overflow:hidden;
  color:#8795a7;
  font-size:8px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-account-chevron{margin-left:auto;color:#8290a3;font-size:11px}
.admin-account-dropdown{
  position:absolute;
  z-index:500;
  top:calc(100% + 8px);
  right:0;
  width:245px;
  padding:7px;
  border:1px solid #dce5ef;
  border-radius:13px;
  background:#fff;
  box-shadow:0 18px 44px rgba(31,48,73,.16);
}
.admin-account-dropdown a{display:block;padding:10px 11px;border-radius:9px;color:#34465c;text-decoration:none}
.admin-account-dropdown a:hover{background:#f4f7fb}
.admin-account-dropdown a span,.admin-account-dropdown a small{display:block}
.admin-account-dropdown a span{font-size:11px;font-weight:850}
.admin-account-dropdown a small{margin-top:3px;color:#8997a9;font-size:8px}
.admin-account-divider{height:1px;margin:5px 4px;background:#e7edf3}
.admin-account-dropdown a.danger{color:#a33b32;font-size:10px;font-weight:850}

.admin-context-nav{border-top:1px solid #edf1f5;background:#f8fafc}
.admin-context-inner{
  width:min(100%,1680px);
  min-height:48px;
  margin:0 auto;
  padding:0 28px;
  display:flex;
  align-items:center;
  gap:18px;
  box-sizing:border-box;
}
.admin-context-label{flex:0 0 auto;color:#26384e;font-size:11px;font-weight:900}
.admin-context-links{display:flex;align-items:center;gap:4px;min-width:0}
.admin-context-links a{
  display:flex;
  align-items:center;
  min-height:32px;
  padding:0 10px;
  border-radius:8px;
  color:#6d7d91;
  text-decoration:none;
  white-space:nowrap;
  font-size:11px;
  font-weight:800;
}
.admin-context-links a:hover{background:#fff;color:#245fcf}
.admin-context-links a.active{background:#fff;color:#245fcf;box-shadow:0 0 0 1px #dce5ef}

/* Old 'Ещё' menu is no longer part of the admin UI. */
.admin-nav-v2 .admin-more{display:none!important}

@media(max-width:1120px){
  .admin-nav-v2-inner{gap:12px!important;padding:0 18px!important}
  .admin-brand-copy{display:none}
  .admin-brand-compact{min-width:auto}
  .admin-primary-links>a{padding:0 11px!important;font-size:13px!important}
  .admin-account-menu>summary{min-width:auto}
  .admin-account-summary-copy{display:none}
}
@media(max-width:820px){
  .admin-nav-v2{overflow-x:auto!important}
  .admin-nav-v2-inner{width:max-content!important;min-width:100%!important}
  .admin-primary-links{flex:0 0 auto!important;min-width:max-content!important}
  .admin-context-nav{overflow-x:auto}
  .admin-context-inner{width:max-content;min-width:100%}
}


/* =========================================================
   DSRent 5.13.5 — centered adaptive admin navigation
   ========================================================= */

:root{
  --admin-shell-max:1280px;
}

/* Whole admin header stays visually tied to the page content */
.admin-nav-v2{
  width:100%;
  background:#fff;
  border-bottom:1px solid #dce5ef;
  overflow:visible!important;
}
.admin-nav-v2-inner{
  width:min(calc(100% - 40px),var(--admin-shell-max))!important;
  min-width:0!important;
  height:66px!important;
  min-height:66px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:24px!important;
  box-sizing:border-box;
  overflow:visible!important;
}

/* Brand */
.admin-brand-compact{
  min-width:auto!important;
  margin:0!important;
}
.admin-brand-copy b{font-size:13px}
.admin-brand-copy small{font-size:10px}

/* Primary nav — centered and not stretched apart */
.admin-primary-links{
  min-width:0!important;
  width:auto!important;
  height:66px!important;
  display:flex!important;
  justify-content:center!important;
  align-items:stretch!important;
  gap:4px!important;
  overflow:visible!important;
}
.admin-primary-links>a{
  height:66px!important;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-size:13px!important;
  font-weight:850!important;
  letter-spacing:0!important;
}
.admin-primary-links>a.active:after{
  left:12px;
  right:12px;
}

/* Right side */
.admin-nav-actions{
  margin:0!important;
  justify-content:flex-end;
  gap:10px;
}
.admin-open-site-v2{
  padding:0 9px;
  font-size:11px!important;
}
.admin-account-menu>summary{
  min-width:178px;
}
.admin-account-summary-copy b{font-size:11px}
.admin-account-summary-copy small{font-size:9px}

/* Contextual row shares the same centered shell */
.admin-context-nav{
  width:100%;
  overflow:visible;
}
.admin-context-inner{
  width:min(calc(100% - 40px),var(--admin-shell-max))!important;
  min-height:46px!important;
  margin:0 auto!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  gap:16px!important;
  box-sizing:border-box;
}
.admin-context-label{
  font-size:11px;
  min-width:auto;
}
.admin-context-links{
  flex:1;
  display:flex;
  justify-content:flex-start;
  gap:4px;
  overflow:visible;
}
.admin-context-links a{
  min-height:32px;
  padding:0 11px;
  font-size:11px;
}

/* Keep admin content visually on the same grid */
main.admin-main > .admin-page,
main.admin-main > section,
main.admin-main > .page-shell,
main.admin-main > .content-shell{
  max-width:var(--admin-shell-max);
  margin-left:auto;
  margin-right:auto;
}

/* Large laptops */
@media(max-width:1180px){
  .admin-nav-v2-inner{
    width:min(calc(100% - 28px),var(--admin-shell-max))!important;
    gap:14px!important;
  }
  .admin-primary-links>a{
    padding:0 10px!important;
    font-size:12px!important;
  }
  .admin-open-site-v2{
    display:none!important;
  }
  .admin-account-menu>summary{
    min-width:150px;
  }
  .admin-context-inner{
    width:min(calc(100% - 28px),var(--admin-shell-max))!important;
  }
}

/* Tablet: brand + account stay fixed, menu becomes its own smooth scroll strip */
@media(max-width:900px){
  .admin-nav-v2-inner{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    padding:0!important;
    display:grid!important;
    grid-template-columns:auto 1fr auto;
    grid-template-rows:56px 48px;
    gap:0!important;
  }

  .admin-brand-compact{
    grid-column:1;
    grid-row:1;
    margin-left:16px!important;
  }
  .admin-brand-copy{
    display:flex!important;
  }

  .admin-nav-actions{
    grid-column:3;
    grid-row:1;
    margin-right:16px!important;
  }
  .admin-account-menu>summary{
    min-width:auto!important;
    padding:5px 8px;
  }
  .admin-account-summary-copy{
    display:none!important;
  }

  .admin-primary-links{
    grid-column:1 / -1;
    grid-row:2;
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    padding:0 12px!important;
    justify-content:flex-start!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none;
    border-top:1px solid #edf1f5;
  }
  .admin-primary-links::-webkit-scrollbar{display:none}
  .admin-primary-links>a{
    height:48px!important;
    flex:0 0 auto!important;
    padding:0 12px!important;
    font-size:12px!important;
  }

  .admin-context-nav{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none;
  }
  .admin-context-nav::-webkit-scrollbar{display:none}
  .admin-context-inner{
    width:max-content!important;
    min-width:100%!important;
    min-height:44px!important;
    padding:0 12px!important;
    gap:10px!important;
  }
  .admin-context-label{
    position:sticky;
    left:0;
    z-index:2;
    padding-right:8px;
    background:#f8fafc;
  }
  .admin-context-links{
    flex:0 0 auto!important;
  }
}

/* Phones */
@media(max-width:560px){
  .admin-nav-v2-inner{
    grid-template-rows:54px 46px;
  }
  .admin-brand-compact{
    margin-left:12px!important;
  }
  .admin-workspace-mark,
  .admin-account-avatar{
    width:28px!important;
    height:28px!important;
  }
  .admin-brand-copy b{font-size:12px}
  .admin-brand-copy small{font-size:9px}

  .admin-nav-actions{
    margin-right:12px!important;
  }
  .admin-account-menu>summary{
    min-height:38px;
  }
  .admin-account-chevron{display:none}

  .admin-primary-links{
    height:46px!important;
    padding:0 8px!important;
  }
  .admin-primary-links>a{
    height:46px!important;
    padding:0 10px!important;
    font-size:11px!important;
  }

  .admin-context-inner{
    min-height:42px!important;
    padding:0 8px!important;
  }
  .admin-context-label{
    font-size:10px;
  }
  .admin-context-links a{
    min-height:30px;
    padding:0 9px;
    font-size:10px;
  }

  .admin-account-dropdown{
    position:fixed;
    top:58px;
    right:10px;
    width:min(260px,calc(100vw - 20px));
  }
}

/* Very narrow phones: shorten brand copy but preserve functionality */
@media(max-width:390px){
  .admin-brand-copy small{display:none}
  .admin-primary-links>a{
    padding:0 9px!important;
  }
}


/* =========================================================
   DSRent 5.13.6 — unified compact admin shell
   ========================================================= */

:root{
  --admin-shell-max:1200px;
  --admin-shell-gutter:20px;
}

/* Override legacy 1500px admin widths with one shared shell */
.admin-overview,
.admin-orders,
.documents-queue,
.users-admin,
.owner-offers,
.finance-admin,
.portal-settings-page,
.embedded-updater,
.admin-page,
.user-admin-page{
  width:min(calc(100% - (var(--admin-shell-gutter) * 2)),var(--admin-shell-max))!important;
  max-width:var(--admin-shell-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Navigation uses exactly the same visual grid */
.admin-nav-v2-inner,
.admin-context-inner{
  width:min(calc(100% - (var(--admin-shell-gutter) * 2)),var(--admin-shell-max))!important;
  max-width:var(--admin-shell-max)!important;
}

/* Slightly denser desktop rhythm */
.documents-queue .queue-hero,
.admin-overview-head,
.admin-page-head{
  gap:20px;
}
.documents-queue .queue-hero h1,
.admin-page-head h1{
  max-width:760px;
}
.queue-stats{
  gap:10px;
}
.queue-stat{
  padding:13px 14px;
}
.queue-filter{
  grid-template-columns:minmax(280px,1fr) 230px auto;
}
.queue-card{
  grid-template-columns:minmax(0,1fr) 155px 145px;
  gap:14px;
  padding:15px 16px;
}
.queue-product{
  max-width:700px;
}
.queue-meta{
  gap:5px 11px;
}

/* Medium desktop / small laptop */
@media(max-width:1240px){
  :root{
    --admin-shell-gutter:16px;
  }

  .admin-primary-links>a{
    padding-left:11px!important;
    padding-right:11px!important;
  }

  .queue-card{
    grid-template-columns:minmax(0,1fr) 150px 135px;
  }
}

/* Tablet */
@media(max-width:900px){
  :root{
    --admin-shell-gutter:12px;
  }

  .admin-overview,
  .admin-orders,
  .documents-queue,
  .users-admin,
  .owner-offers,
  .finance-admin,
  .portal-settings-page,
  .embedded-updater,
  .admin-page,
  .user-admin-page{
    width:calc(100% - 24px)!important;
  }

  .queue-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .queue-filter{
    grid-template-columns:1fr 1fr;
  }
  .queue-filter button{
    grid-column:1/-1;
    width:100%;
  }

  .queue-card{
    grid-template-columns:minmax(0,1fr) 145px;
  }
  .queue-actions{
    grid-column:1/-1;
    justify-content:flex-end;
  }
}

/* Phone */
@media(max-width:620px){
  :root{
    --admin-shell-gutter:10px;
  }

  .admin-overview,
  .admin-orders,
  .documents-queue,
  .users-admin,
  .owner-offers,
  .finance-admin,
  .portal-settings-page,
  .embedded-updater,
  .admin-page,
  .user-admin-page{
    width:calc(100% - 20px)!important;
  }

  .queue-hero,
  .admin-overview-head,
  .admin-page-head{
    align-items:stretch!important;
    flex-direction:column!important;
  }

  .queue-hero .btn,
  .admin-overview-head .btn,
  .admin-page-head .btn{
    width:100%;
    box-sizing:border-box;
    text-align:center;
  }

  .queue-stats{
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .queue-stat{
    padding:11px;
  }
  .queue-stat span{
    font-size:10px;
  }
  .queue-stat strong{
    font-size:22px;
  }

  .queue-tabs{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:3px;
    scrollbar-width:none;
  }
  .queue-tabs::-webkit-scrollbar{display:none}
  .queue-tab{
    flex:0 0 auto;
  }

  .queue-filter{
    grid-template-columns:1fr;
  }
  .queue-filter button{
    grid-column:auto;
  }

  .queue-card{
    grid-template-columns:1fr;
    gap:12px;
  }
  .queue-progress,
  .queue-actions{
    grid-column:auto;
  }
  .queue-actions .btn{
    width:100%;
    box-sizing:border-box;
  }

  .queue-title-row{
    align-items:flex-start;
  }

  .queue-reg{
    font-size:14px;
  }

  .queue-meta{
    display:grid;
    gap:4px;
  }
}


/* =========================================================
   DSRent 5.13.7 — Adaptive Typography System
   Goal: readable without zoom on desktop, tablet and phone.
   ========================================================= */

:root{
  --fs-xs:12px;
  --fs-sm:13px;
  --fs-md:14px;
  --fs-body:15px;
  --fs-ui:15px;
  --fs-lg:17px;
  --fs-xl:20px;

  --lh-tight:1.25;
  --lh-ui:1.35;
  --lh-body:1.55;
}

/* ---------- Global readable baseline ---------- */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body{
  font-size:var(--fs-body);
  line-height:var(--lh-body);
}

main,
.admin-main,
.owner-workspace,
.customer-workspace{
  font-size:var(--fs-body);
}

/* Normal body copy should never be microscopic */
p,
li,
dd,
dt,
td,
th,
label,
input,
select,
textarea,
button{
  font-size:inherit;
}

/* ---------- Forms ---------- */
label,
.form-label,
.field-label,
.input-label,
.form-group>label{
  font-size:14px!important;
  line-height:1.35!important;
  font-weight:800!important;
}

input,
select,
textarea{
  font-size:15px!important;
  line-height:1.35!important;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="url"],
select{
  min-height:46px;
}

textarea{
  min-height:110px;
}

::placeholder{
  font-size:14px!important;
}

/* ---------- Buttons ---------- */
.btn,
button,
.button,
a.btn,
input[type="submit"]{
  font-size:14px!important;
  line-height:1.2!important;
  font-weight:850!important;
}

.btn small,
button small{
  font-size:12px!important;
}

/* ---------- Generic muted/helper text ---------- */
small,
.muted,
.text-muted,
.help,
.helper,
.hint,
.note,
.form-help,
.field-help,
.description,
.subtitle,
.meta,
.caption{
  font-size:13px!important;
  line-height:1.45!important;
}

/* ---------- Eyebrows, labels, pills, badges ---------- */
.eyebrow,
.badge,
.pill,
.status-badge,
.tag,
.chip,
.queue-badge,
.queue-status,
.admin-context-label{
  font-size:12px!important;
  line-height:1.2!important;
}

/* ---------- Top public navigation ---------- */
.site-header,
.site-header nav,
.site-header a,
.top-nav,
.top-nav a{
  font-size:14px!important;
}

/* ---------- Admin navigation ---------- */
.admin-brand-copy b{
  font-size:14px!important;
}
.admin-brand-copy small{
  font-size:11px!important;
}

.admin-primary-links>a{
  font-size:14px!important;
}

.admin-context-label{
  font-size:12px!important;
}

.admin-context-links a{
  font-size:13px!important;
}

.admin-open-site-v2{
  font-size:12px!important;
}

.admin-account-summary-copy b{
  font-size:12px!important;
}
.admin-account-summary-copy small{
  font-size:11px!important;
}
.admin-account-dropdown a span{
  font-size:13px!important;
}
.admin-account-dropdown a small{
  font-size:12px!important;
}
.admin-account-dropdown a.danger{
  font-size:13px!important;
}

/* ---------- Page headings ---------- */
h1,
.page-title,
.admin-page-head h1,
.queue-hero h1{
  font-size:clamp(34px,3.2vw,54px)!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}

h2,
.section-title{
  font-size:clamp(22px,2vw,30px);
  line-height:1.15;
}

h3{
  font-size:18px;
  line-height:1.2;
}

/* ---------- Portal settings / cards ---------- */
.portal-section-title h2{
  font-size:20px!important;
}
.portal-section-title p{
  font-size:13px!important;
}

.portal-setting-copy strong{
  font-size:14px!important;
}
.portal-setting-copy span{
  font-size:13px!important;
  line-height:1.45!important;
}
.portal-setting-row>b{
  font-size:12px!important;
}

.portal-commercial-main label span{
  font-size:14px!important;
}
.portal-commercial-main label small{
  font-size:13px!important;
}
.portal-commercial-note{
  font-size:13px!important;
  line-height:1.5!important;
}

/* ---------- Documents queue ---------- */
.queue-stat span{
  font-size:12px!important;
}
.queue-stat strong{
  font-size:25px!important;
}
.queue-tab{
  font-size:13px!important;
}
.queue-tab small{
  font-size:12px!important;
}
.queue-reg{
  font-size:16px!important;
}
.queue-product{
  font-size:14px!important;
  line-height:1.45!important;
}
.queue-meta{
  font-size:12px!important;
  line-height:1.45!important;
}
.queue-progress,
.queue-progress small,
.queue-progress span{
  font-size:12px!important;
}

/* ---------- Tables / lists ---------- */
table{
  font-size:14px!important;
}
th{
  font-size:12px!important;
  line-height:1.25!important;
}
td{
  font-size:14px!important;
  line-height:1.45!important;
}

/* ---------- Dashboard/stat cards ---------- */
.stat-card span,
.metric-card span,
.dashboard-card span{
  font-size:12px!important;
}
.stat-card strong,
.metric-card strong,
.dashboard-card strong{
  font-size:24px!important;
}

/* ---------- Security / updater ---------- */
.updater-simple .eyebrow{
  font-size:12px!important;
}
.updater-simple-head p{
  font-size:15px!important;
}
.updater-compact-status span{
  font-size:12px!important;
}
.updater-compact-status strong{
  font-size:18px!important;
}
.updater-file-picker-simple strong{
  font-size:14px!important;
}
.updater-file-picker-simple small{
  font-size:12px!important;
}
.updater-details summary span{
  font-size:15px!important;
}
.updater-details summary small{
  font-size:12px!important;
}
.updater-security-list.readable span{
  font-size:13px!important;
}
.updater-security-list.readable strong{
  font-size:13px!important;
}
.updater-history-list.readable strong{
  font-size:13px!important;
}
.updater-history-list.readable small{
  font-size:12px!important;
}

/* ---------- User/account forms ---------- */
.account-card,
.profile-card,
.security-card,
.user-card,
.owner-card,
.customer-card{
  font-size:15px;
}

.account-card small,
.profile-card small,
.security-card small,
.user-card small,
.owner-card small,
.customer-card small{
  font-size:13px!important;
}

/* ---------- Footer ---------- */
footer,
.site-footer,
.site-footer a{
  font-size:13px!important;
  line-height:1.45!important;
}

/* ---------- Responsive: preserve readability, reflow instead ---------- */
@media(max-width:900px){
  :root{
    --fs-body:15px;
    --fs-ui:14px;
  }

  .admin-primary-links>a{
    font-size:13px!important;
  }
  .admin-context-links a{
    font-size:12px!important;
  }

  h1,
  .page-title,
  .admin-page-head h1,
  .queue-hero h1{
    font-size:clamp(30px,6vw,42px)!important;
  }

  .portal-setting-row-grid{
    grid-template-columns:1fr;
  }

  .portal-commercial-form,
  .portal-commercial-main{
    align-items:stretch;
    flex-direction:column;
  }
}

@media(max-width:620px){
  :root{
    --fs-body:15px;
    --fs-sm:13px;
    --fs-xs:12px;
  }

  body{
    font-size:15px;
  }

  /* Don't shrink text to fit: cards stack instead. */
  .admin-primary-links>a{
    font-size:13px!important;
  }
  .admin-context-links a{
    font-size:12px!important;
  }

  label,
  .form-label,
  .field-label,
  .input-label{
    font-size:14px!important;
  }

  input,
  select,
  textarea{
    font-size:16px!important; /* prevents iOS zoom and improves readability */
  }

  .btn,
  button,
  .button,
  a.btn,
  input[type="submit"]{
    font-size:15px!important;
    min-height:46px;
  }

  small,
  .muted,
  .text-muted,
  .help,
  .helper,
  .hint,
  .note,
  .description,
  .subtitle,
  .meta,
  .caption{
    font-size:13px!important;
  }

  .queue-stat span{
    font-size:11px!important;
  }
  .queue-stat strong{
    font-size:22px!important;
  }

  th{
    font-size:12px!important;
  }
  td{
    font-size:14px!important;
  }

  footer,
  .site-footer,
  .site-footer a{
    font-size:13px!important;
  }
}

/* Very narrow devices: layout may scroll, text remains readable */
@media(max-width:390px){
  body{
    font-size:15px;
  }

  .admin-primary-links>a{
    font-size:13px!important;
  }

  .admin-context-links a{
    font-size:12px!important;
  }

  .eyebrow,
  .badge,
  .pill,
  .status-badge,
  .tag,
  .chip{
    font-size:12px!important;
  }
}


/* =========================================================
   DSRent 5.13.8 — Professional global header & footer
   ========================================================= */

:root{
  --site-shell:1200px;
}

/* ---------------- HEADER ---------------- */
.site-header-v2{
  position:sticky;
  top:0;
  z-index:1000;
  width:100%;
  border-bottom:1px solid #e5ebf2;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
}

.site-header-inner{
  width:min(calc(100% - 40px),var(--site-shell));
  max-width:var(--site-shell);
  min-height:72px;
  margin:0 auto;
  padding:0;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
  gap:36px;
}

.site-header-brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}
.site-header-brand img{
  height:44px;
  width:auto;
  display:block;
}

.site-nav-desktop{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:4px;
  min-width:0;
}
.site-nav-desktop>a{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:0 11px;
  border-radius:10px;
  color:#334155;
  text-decoration:none;
  white-space:nowrap;
  font-size:14px!important;
  font-weight:750;
}
.site-nav-desktop>a:hover{
  background:#f4f7fb;
  color:#1d5ed7;
}
.site-nav-desktop .nav-login{
  margin-left:4px;
}
.site-nav-desktop .nav-cta{
  min-height:42px;
  padding:0 15px;
  margin-left:3px;
  border-radius:10px;
  box-shadow:none;
}

/* Desktop user account dropdown */
.site-account-menu{
  position:relative;
  margin-left:4px;
}
.site-account-menu>summary{
  display:flex;
  align-items:center;
  gap:7px;
  min-height:42px;
  padding:0 11px;
  border-radius:10px;
  color:#334155;
  cursor:pointer;
  list-style:none;
  font-size:14px;
  font-weight:750;
  user-select:none;
}
.site-account-menu>summary::-webkit-details-marker{display:none}
.site-account-menu>summary:hover,
.site-account-menu[open]>summary{
  background:#f4f7fb;
  color:#1d5ed7;
}
.site-account-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#2f6bed;
}
.site-account-arrow{
  color:#8795a7;
  font-size:12px;
}
.site-account-dropdown{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  width:220px;
  padding:7px;
  border:1px solid #dde6ef;
  border-radius:13px;
  background:#fff;
  box-shadow:0 20px 48px rgba(28,44,68,.16);
}
.site-account-dropdown a,
.site-account-dropdown button{
  width:100%;
  min-height:40px;
  padding:0 10px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#34465c;
  text-decoration:none;
  box-shadow:none;
  font-size:13px!important;
  font-weight:750;
}
.site-account-dropdown a:hover,
.site-account-dropdown button:hover{
  background:#f4f7fb;
  color:#1d5ed7;
}
.site-account-dropdown form{
  margin:4px 0 0;
  padding-top:4px;
  border-top:1px solid #edf1f5;
}
.site-account-dropdown button{
  color:#a23b34;
}

/* Mobile menu is not rendered as a giant inline nav */
.site-mobile-menu{
  display:none;
}

/* ---------------- FOOTER ---------------- */
.site-footer-v2{
  width:100%;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border-top:1px solid #e1e8f0;
  background:#f3f6fa;
  color:#5f7086;
  display:block!important;
}

.site-footer-inner{
  width:min(calc(100% - 40px),var(--site-shell));
  max-width:var(--site-shell);
  margin:0 auto;
  padding:42px 0 32px;
  display:grid;
  grid-template-columns:minmax(300px,.9fr) minmax(460px,1.1fr);
  gap:72px;
  align-items:start;
}

.footer-brand-v2{
  min-width:0;
}
.footer-logo{
  display:inline-flex;
  margin-bottom:18px;
}
.footer-brand-v2 img{
  width:172px!important;
  max-width:172px!important;
  height:auto;
  margin:0!important;
  display:block;
}
.footer-company{
  margin:0 0 4px!important;
  color:#34465d;
  font-size:14px!important;
  line-height:1.45!important;
  font-weight:750;
}
.footer-company-meta{
  margin:0!important;
  color:#718096;
  font-size:13px!important;
  line-height:1.45!important;
}
.footer-brand-note{
  max-width:390px;
  margin:16px 0 0!important;
  color:#8390a1;
  font-size:13px!important;
  line-height:1.5!important;
}

.footer-columns{
  display:grid;
  grid-template-columns:minmax(180px,.8fr) minmax(260px,1.2fr);
  gap:48px;
}
.footer-column h3{
  margin:0 0 13px;
  color:#25364b;
  font-size:13px;
  line-height:1.2;
  font-weight:900;
}
.footer-column nav{
  display:grid!important;
  gap:9px!important;
}
.footer-column nav a,
.footer-column .footer-cookie-link{
  width:max-content;
  max-width:100%;
  min-height:0;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#5c6d82!important;
  box-shadow:none!important;
  text-decoration:none!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:650!important;
  white-space:normal!important;
  cursor:pointer;
}
.footer-column nav a:hover,
.footer-column .footer-cookie-link:hover{
  color:#2563eb!important;
  background:transparent!important;
  text-decoration:none!important;
}

.site-footer-bottom{
  border-top:1px solid #dfe6ee;
  background:#eef2f7;
}
.site-footer-bottom-inner{
  width:min(calc(100% - 40px),var(--site-shell));
  max-width:var(--site-shell);
  min-height:58px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-footer-bottom-inner p{
  margin:0;
  color:#718096;
  font-size:12px!important;
  line-height:1.45!important;
}
.site-footer-bottom-inner span{
  color:#8491a2;
  font-size:12px;
  white-space:nowrap;
}

/* ---------------- TABLET ---------------- */
@media(max-width:980px){
  .site-header-inner{
    width:min(calc(100% - 28px),var(--site-shell));
    gap:18px;
  }
  .site-nav-desktop>a{
    padding:0 8px;
    font-size:13px!important;
  }
  .site-nav-desktop>a[href="/#how-it-works"]{
    display:none;
  }
  .site-footer-inner{
    width:min(calc(100% - 32px),var(--site-shell));
    grid-template-columns:1fr;
    gap:30px;
  }
  .footer-columns{
    max-width:720px;
  }
  .site-footer-bottom-inner{
    width:min(calc(100% - 32px),var(--site-shell));
  }
}

/* ---------------- MOBILE ---------------- */
@media(max-width:760px){
  .site-header-v2{
    position:sticky;
  }
  .site-header-inner{
    width:100%;
    min-height:64px;
    padding:0 14px;
    grid-template-columns:minmax(0,1fr) auto;
    gap:12px;
  }
  .site-header-brand img{
    height:42px;
    max-width:min(220px,65vw);
  }
  .site-nav-desktop{
    display:none!important;
  }

  .site-mobile-menu{
    position:relative;
    display:block;
  }
  .site-mobile-menu>summary{
    min-width:86px;
    min-height:42px;
    padding:0 11px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:1px solid #dbe4ef;
    border-radius:11px;
    background:#fff;
    color:#33465d;
    cursor:pointer;
    list-style:none;
    font-size:13px;
    font-weight:800;
  }
  .site-mobile-menu>summary::-webkit-details-marker{display:none}
  .site-mobile-menu[open]>summary{
    border-color:#bcd2f5;
    background:#f1f6ff;
    color:#245fcf;
  }
  .mobile-menu-icon{
    width:18px;
    display:grid;
    gap:3px;
  }
  .mobile-menu-icon i{
    display:block;
    height:2px;
    border-radius:2px;
    background:currentColor;
  }

  .site-mobile-panel{
    position:fixed;
    z-index:1200;
    top:64px;
    left:0;
    right:0;
    max-height:calc(100vh - 64px);
    overflow-y:auto;
    padding:10px 12px 18px;
    border-top:1px solid #e5ebf2;
    background:rgba(247,249,252,.98);
    box-shadow:0 18px 38px rgba(27,43,66,.12);
    backdrop-filter:blur(16px);
  }
  .site-mobile-panel nav{
    width:min(100%,540px);
    margin:0 auto;
    padding:8px;
    display:grid!important;
    gap:5px!important;
    border:1px solid #dfe7f0;
    border-radius:16px;
    background:#fff;
    box-shadow:0 10px 28px rgba(22,39,64,.06);
  }
  .site-mobile-panel nav>a{
    min-height:48px;
    padding:0 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    border-radius:10px;
    color:#304258;
    text-decoration:none;
    font-size:14px!important;
    font-weight:750;
  }
  .site-mobile-panel nav>a:hover{
    background:#f4f7fb;
    color:#245fcf;
  }
  .site-mobile-panel nav>a b{
    color:#91a0b2;
    font-size:14px;
  }
  .site-mobile-logout{
    margin:6px 0 0;
    padding-top:8px;
    border-top:1px solid #edf1f5;
  }
  .site-mobile-logout button{
    width:100%;
    min-height:46px;
    border-color:#f0c9c5;
    background:#fff8f7;
    color:#a13d34;
    box-shadow:none;
  }
  .site-mobile-logout button:hover{
    border-color:#e9b6b0;
    background:#fff2f0;
    color:#8d3029;
  }
  .site-mobile-auth{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:4px;
  }
  .site-mobile-auth .btn{
    width:100%;
  }

  .site-footer-inner{
    width:100%;
    padding:30px 18px 24px;
    grid-template-columns:1fr;
    gap:28px;
  }
  .footer-brand-v2 img{
    width:155px!important;
    max-width:155px!important;
  }
  .footer-company{
    font-size:14px!important;
  }
  .footer-company-meta,
  .footer-brand-note{
    font-size:13px!important;
  }
  .footer-columns{
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  .footer-column h3{
    font-size:13px;
  }
  .footer-column nav a,
  .footer-column .footer-cookie-link{
    font-size:13px!important;
  }
  .site-footer-bottom-inner{
    width:100%;
    min-height:0;
    padding:15px 18px 18px;
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
  }
  .site-footer-bottom-inner p,
  .site-footer-bottom-inner span{
    font-size:12px!important;
  }
}

/* Small phones: compact, not microscopic */
@media(max-width:480px){
  .site-header-inner{
    min-height:60px;
    padding:0 12px;
  }
  .site-header-brand img{
    height:38px;
    max-width:190px;
  }
  .site-mobile-menu>summary{
    min-width:44px;
    width:44px;
    min-height:40px;
    padding:0;
  }
  .mobile-menu-label{
    display:none;
  }
  .site-mobile-panel{
    top:60px;
    max-height:calc(100vh - 60px);
    padding:8px 8px 14px;
  }
  .site-mobile-panel nav{
    border-radius:14px;
  }
  .site-mobile-panel nav>a{
    min-height:46px;
    font-size:14px!important;
  }
  .footer-columns{
    grid-template-columns:1fr;
    gap:24px;
  }
  .footer-brand-note{
    max-width:320px;
  }
}

/* Prevent generic nav rules from forcing mobile header links into wraps */
.site-header-v2 nav{
  flex-wrap:nowrap;
}
.site-mobile-panel nav{
  flex-wrap:initial;
}


/* =========================================================
   DSRent 5.13.9 — compact professional mobile footer
   ========================================================= */

@media(max-width:760px){

  .site-footer-v2{
    background:#f4f7fb;
  }

  .site-footer-inner{
    width:100%;
    padding:24px 18px 20px;
    display:block;
  }

  .footer-brand-v2{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    grid-template-areas:
      "logo company"
      "logo meta"
      "note note";
    column-gap:14px;
    row-gap:2px;
    align-items:center;
    padding-bottom:20px;
    margin-bottom:20px;
    border-bottom:1px solid #dfe6ee;
  }

  .footer-logo{
    grid-area:logo;
    margin:0!important;
    align-self:start;
  }

  .footer-brand-v2 img{
    width:124px!important;
    max-width:124px!important;
    height:auto!important;
  }

  .footer-company{
    grid-area:company;
    margin:0!important;
    color:#304258;
    font-size:13px!important;
    line-height:1.35!important;
    font-weight:800;
  }

  .footer-company-meta{
    grid-area:meta;
    margin:2px 0 0!important;
    color:#718096;
    font-size:12px!important;
    line-height:1.35!important;
  }

  .footer-brand-note{
    grid-area:note;
    max-width:none;
    margin:12px 0 0!important;
    color:#8190a3;
    font-size:12px!important;
    line-height:1.45!important;
  }

  .footer-columns{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
    margin:0;
  }

  .footer-column{
    min-width:0;
    padding:0;
  }

  .footer-column h3{
    margin:0 0 10px;
    color:#2c3e54;
    font-size:12px!important;
    line-height:1.25!important;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.03em;
  }

  .footer-column nav{
    display:grid!important;
    gap:7px!important;
  }

  .footer-column nav a,
  .footer-column .footer-cookie-link{
    width:auto!important;
    max-width:100%;
    min-height:0!important;
    padding:0!important;
    color:#5e6f84!important;
    font-size:12px!important;
    line-height:1.35!important;
    font-weight:700!important;
  }

  .site-footer-bottom{
    background:#eef2f7;
    border-top:1px solid #dde5ee;
  }

  .site-footer-bottom-inner{
    width:100%;
    min-height:0;
    padding:13px 18px 15px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:6px 12px;
    align-items:end;
  }

  .site-footer-bottom-inner p{
    grid-column:1/-1;
    margin:0!important;
    max-width:560px;
    color:#738399;
    font-size:11px!important;
    line-height:1.4!important;
  }

  .site-footer-bottom-inner span{
    grid-column:1;
    color:#8795a7;
    font-size:11px!important;
    line-height:1.3!important;
    white-space:nowrap;
  }
}

@media(max-width:480px){

  .site-footer-inner{
    padding:22px 14px 18px;
  }

  .footer-brand-v2{
    grid-template-columns:1fr;
    grid-template-areas:
      "logo"
      "company"
      "meta"
      "note";
    gap:0;
    padding-bottom:18px;
    margin-bottom:18px;
  }

  .footer-logo{
    margin-bottom:12px!important;
  }

  .footer-brand-v2 img{
    width:132px!important;
    max-width:132px!important;
  }

  .footer-company{
    font-size:13px!important;
  }

  .footer-company-meta{
    margin-top:4px!important;
    font-size:12px!important;
  }

  .footer-brand-note{
    margin-top:10px!important;
    font-size:12px!important;
  }

  .footer-columns{
    grid-template-columns:1fr;
    gap:18px;
  }

  .footer-column{
    padding:0;
  }

  .footer-column + .footer-column{
    padding-top:18px;
    border-top:1px solid #dfe6ee;
  }

  .footer-column h3{
    margin-bottom:9px;
    font-size:12px!important;
  }

  .footer-column nav{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    gap:8px 12px!important;
  }

  .footer-column nav a,
  .footer-column .footer-cookie-link{
    font-size:12px!important;
    line-height:1.35!important;
  }

  .site-footer-bottom-inner{
    padding:12px 14px 14px;
    grid-template-columns:1fr;
    gap:7px;
  }

  .site-footer-bottom-inner p,
  .site-footer-bottom-inner span{
    grid-column:auto;
  }
}

@media(max-width:360px){
  .footer-column nav{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   DSRent 5.13.10 — dedicated professional mobile footer
   ========================================================= */

.footer-mobile{display:none}

/* Desktop remains clean and unchanged */
@media(min-width:761px){
  .footer-desktop{display:block}
}

/* Mobile gets its own component instead of squeezing desktop layout */
@media(max-width:760px){

  .footer-desktop{display:none!important}
  .footer-mobile{
    display:block;
    width:100%;
  }

  .site-footer-v3{
    border-top:1px solid #e0e7ef;
    background:#f4f7fb;
  }

  .footer-mobile-main{
    padding:20px 16px 16px;
  }

  .footer-mobile-brand{
    display:flex;
    align-items:flex-start;
    gap:14px;
    padding-bottom:18px;
  }

  .footer-mobile-logo{
    flex:0 0 auto;
    display:flex;
  }

  .footer-mobile-logo img{
    width:118px!important;
    max-width:118px!important;
    height:auto!important;
    display:block;
  }

  .footer-mobile-company{
    min-width:0;
    padding-top:2px;
  }

  .footer-mobile-company strong{
    display:block;
    color:#304258;
    font-size:13px;
    line-height:1.35;
    font-weight:850;
  }

  .footer-mobile-company span{
    display:block;
    margin-top:5px;
    color:#75859a;
    font-size:11px;
    line-height:1.4;
  }

  .footer-mobile-groups{
    border-top:1px solid #dfe6ee;
  }

  .footer-mobile-group{
    border-bottom:1px solid #dfe6ee;
  }

  .footer-mobile-group summary{
    min-height:52px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    list-style:none;
    cursor:pointer;
    color:#2f4056;
    font-size:13px;
    line-height:1.2;
    font-weight:850;
    user-select:none;
  }

  .footer-mobile-group summary::-webkit-details-marker{display:none}

  .footer-mobile-group summary b{
    width:28px;
    height:28px;
    display:grid;
    place-items:center;
    flex:0 0 auto;
    border-radius:8px;
    background:#eaf1fb;
    color:#2f6bed;
    font-size:18px;
    line-height:1;
    font-weight:500;
    transition:transform .18s ease;
  }

  .footer-mobile-group[open] summary b{
    transform:rotate(45deg);
  }

  .footer-mobile-group nav{
    display:grid!important;
    grid-template-columns:1fr 1fr;
    gap:8px 10px!important;
    padding:0 0 16px;
  }

  .footer-mobile-group nav a,
  .footer-mobile-group .footer-cookie-link{
    min-height:40px!important;
    display:flex;
    align-items:center;
    padding:0 10px!important;
    border:1px solid #e1e8f0!important;
    border-radius:10px!important;
    background:#fff!important;
    color:#53657b!important;
    text-decoration:none!important;
    box-shadow:none!important;
    font-size:12px!important;
    line-height:1.3!important;
    font-weight:700!important;
    text-align:left;
  }

  .footer-mobile-group nav a:hover,
  .footer-mobile-group .footer-cookie-link:hover{
    border-color:#c8d8ee!important;
    color:#245fcf!important;
    background:#f8fbff!important;
  }

  .footer-mobile-note{
    padding-top:16px;
  }

  .footer-mobile-note p{
    margin:0;
    color:#7a899d;
    font-size:11px!important;
    line-height:1.45!important;
  }

  .footer-mobile-note span{
    display:block;
    margin-top:8px;
    color:#94a0af;
    font-size:11px!important;
    line-height:1.2!important;
  }
}

@media(max-width:480px){

  .footer-mobile-main{
    padding:18px 14px 14px;
  }

  .footer-mobile-brand{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    padding-bottom:16px;
  }

  .footer-mobile-logo img{
    width:128px!important;
    max-width:128px!important;
  }

  .footer-mobile-company strong{
    font-size:13px;
  }

  .footer-mobile-company span{
    font-size:11px;
  }

  .footer-mobile-group summary{
    min-height:50px;
    font-size:13px;
  }

  .footer-mobile-group nav{
    grid-template-columns:1fr;
    gap:7px!important;
    padding-bottom:14px;
  }

  .footer-mobile-group nav a,
  .footer-mobile-group .footer-cookie-link{
    min-height:42px!important;
    padding:0 11px!important;
    font-size:12px!important;
  }
}

/* Extra narrow phones */
@media(max-width:360px){
  .footer-mobile-main{
    padding-left:12px;
    padding-right:12px;
  }
}


/* =========================================================
   DSRent 5.13.11 — desktop footer rebalance
   Mobile footer from 5.13.10 remains unchanged.
   ========================================================= */

@media(min-width:761px){

  .site-footer-v3{
    width:100%;
    background:#f4f7fb;
    border-top:1px solid #dfe6ee;
  }

  .footer-desktop{
    display:block!important;
    width:100%;
  }

  .footer-desktop .site-footer-inner{
    width:min(calc(100% - 40px),1200px)!important;
    max-width:1200px!important;
    margin:0 auto!important;
    padding:38px 0 30px!important;

    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) minmax(0,1.35fr)!important;
    gap:72px!important;
    align-items:start!important;
  }

  .footer-desktop .footer-brand-v2{
    min-width:0;
    max-width:none!important;
  }

  .footer-desktop .footer-logo{
    margin:0 0 18px!important;
  }

  .footer-desktop .footer-brand-v2 img{
    width:170px!important;
    max-width:170px!important;
    height:auto!important;
  }

  .footer-desktop .footer-company{
    max-width:470px;
    margin:0 0 4px!important;
    color:#34465d!important;
    font-size:14px!important;
    line-height:1.45!important;
  }

  .footer-desktop .footer-company-meta{
    margin:0!important;
    color:#718096!important;
    font-size:13px!important;
    line-height:1.45!important;
  }

  .footer-desktop .footer-brand-note{
    max-width:470px!important;
    margin:16px 0 0!important;
    color:#8390a1!important;
    font-size:13px!important;
    line-height:1.5!important;
  }

  .footer-desktop .footer-columns{
    width:100%;
    display:grid!important;
    grid-template-columns:minmax(160px,.8fr) minmax(260px,1.2fr)!important;
    gap:54px!important;
    align-items:start;
  }

  .footer-desktop .footer-column{
    min-width:0;
  }

  .footer-desktop .footer-column h3{
    margin:0 0 13px!important;
    color:#2b3d53!important;
    font-size:13px!important;
    line-height:1.25!important;
    font-weight:900!important;
  }

  .footer-desktop .footer-column nav{
    display:grid!important;
    gap:9px!important;
  }

  .footer-desktop .footer-column nav a,
  .footer-desktop .footer-column .footer-cookie-link{
    width:max-content!important;
    max-width:100%!important;
    min-height:0!important;
    padding:0!important;
    color:#5f7086!important;
    font-size:13px!important;
    line-height:1.4!important;
    font-weight:700!important;
  }

  .footer-desktop .site-footer-bottom{
    width:100%;
    border-top:1px solid #dfe6ee!important;
    background:#eef2f7!important;
  }

  .footer-desktop .site-footer-bottom-inner{
    width:min(calc(100% - 40px),1200px)!important;
    max-width:1200px!important;
    min-height:58px!important;
    margin:0 auto!important;
    padding:0!important;

    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:28px!important;
  }

  .footer-desktop .site-footer-bottom-inner p{
    flex:1 1 auto;
    margin:0!important;
    color:#718096!important;
    font-size:12px!important;
    line-height:1.45!important;
  }

  .footer-desktop .site-footer-bottom-inner span{
    flex:0 0 auto;
    color:#8795a7!important;
    font-size:12px!important;
    white-space:nowrap!important;
  }
}

/* Medium desktop */
@media(min-width:761px) and (max-width:1050px){
  .footer-desktop .site-footer-inner{
    width:min(calc(100% - 32px),1200px)!important;
    grid-template-columns:1fr!important;
    gap:28px!important;
  }

  .footer-desktop .footer-columns{
    max-width:720px;
  }

  .footer-desktop .site-footer-bottom-inner{
    width:min(calc(100% - 32px),1200px)!important;
  }
}

/* DSRent 5.14.0 — DT cost calculator */
.nav-tool{color:#1762e8!important}.dtc-page,.dtc-admin{max-width:1200px;margin:0 auto;padding:48px 24px 70px}.dtc-head{display:flex;justify-content:space-between;gap:30px;align-items:flex-start}.dtc-head h1{max-width:850px;margin:14px 0 12px;font-size:clamp(34px,4.4vw,62px);line-height:1.02}.dtc-head p{max-width:850px;font-size:18px;line-height:1.55;color:#64748b}.dtc-head-badge{min-width:130px;padding:20px;border:1px solid #bcd5ff;border-radius:22px;background:#edf5ff;text-align:center}.dtc-head-badge b{display:block;font-size:30px;color:#1762e8}.dtc-head-badge span{color:#64748b}.dtc-steps{display:flex;gap:8px;margin:28px 0}.dtc-steps span{padding:10px 16px;border-radius:999px;background:#eef2f7;color:#718096;font-weight:800}.dtc-steps .active{background:#1762e8;color:#fff}.dtc-steps .done{background:#e8f7ef;color:#16834b}.dtc-upload{padding:32px;border:1px solid #d9e2ec;border-radius:26px;background:#fff}.dtc-drop{min-height:260px;border:2px dashed #b9cbe1;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;background:#f8fbff;cursor:pointer}.dtc-drop input{margin-top:10px;max-width:320px}.dtc-file-icon{display:grid;place-items:center;width:64px;height:64px;border-radius:18px;background:#1762e8;color:#fff;font-weight:900}.dtc-drop strong{font-size:22px}.dtc-drop small,.dtc-privacy{color:#718096}.dtc-primary{margin-top:18px;min-height:54px;font-size:17px}.dtc-alert{padding:16px 18px;border-radius:16px;margin:16px 0}.dtc-alert.error{background:#fff0ed;color:#a93a27}.dtc-alert.warn{background:#fff8e5;color:#805b12}.dtc-section-title{display:flex;justify-content:space-between;gap:20px;align-items:flex-end;margin:30px 0 18px}.dtc-section-title h2{margin:7px 0 4px;font-size:32px}.dtc-section-title p{margin:0;color:#718096}.dtc-ai{padding:8px 12px;border-radius:999px;background:#edf5ff;color:#1762e8;font-weight:800}.dtc-goods{display:grid;gap:16px}.dtc-good{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:22px;border:1px solid #dbe4ef;border-radius:22px;background:#fff}.dtc-good-top{grid-column:1/-1;display:flex;justify-content:space-between}.dtc-good-top span{color:#64748b}.dtc-good label,.dtc-admin-grid label{display:grid;gap:7px;font-weight:750;color:#42536a}.dtc-good label.wide{grid-column:span 3}.dtc-good input,.dtc-expense input,.dtc-expense select,.dtc-admin input{min-height:48px;border:1px solid #cad6e3;border-radius:12px;padding:0 13px;background:#fff;font:inherit}.dtc-expenses{display:grid;gap:10px}.dtc-expense{display:grid;grid-template-columns:1.3fr .7fr .8fr;gap:10px}.dtc-results{display:grid;gap:16px}.dtc-result-card{display:grid;grid-template-columns:1.5fr .7fr;gap:20px;padding:24px;border:1px solid #d9e3ef;border-radius:22px;background:#fff}.dtc-result-card h3{margin:6px 0}.dtc-result-card>div>span{color:#718096}.dtc-unit{padding:18px;border-radius:18px;background:#edf5ff}.dtc-unit small,.dtc-unit span{display:block}.dtc-unit b{display:block;margin:5px 0;font-size:30px;color:#1762e8}.dtc-result-card dl{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0}.dtc-result-card dl div{padding:12px;background:#f7f9fc;border-radius:12px}.dtc-result-card dt{color:#718096;font-size:12px}.dtc-result-card dd{margin:4px 0 0;font-weight:850}.dtc-result-card .total{background:#eaf3ff}.dtc-admin-card{padding:26px;border:1px solid #d9e3ef;border-radius:24px;background:#fff}.dtc-switch{display:flex;gap:14px;align-items:center;padding:18px;background:#f5f8fc;border-radius:16px}.dtc-switch span{display:grid}.dtc-switch small{color:#718096}.dtc-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.dtc-admin-grid small{font-weight:500;color:#718096}.dtc-admin-note{padding:18px;border-radius:16px;background:#eef5ff;margin-bottom:20px}.dtc-admin-note p{margin:5px 0 0;color:#5f7086}.dtc-home-promo{max-width:1200px;margin:58px auto;padding:36px;display:grid;grid-template-columns:1.35fr .65fr;gap:38px;align-items:center;border-radius:30px;background:linear-gradient(135deg,#0e4fd4,#2875f5);color:#fff;box-shadow:0 22px 55px rgba(23,98,232,.18)}.dtc-home-promo .eyebrow{background:rgba(255,255,255,.14);color:#fff;border-color:rgba(255,255,255,.24)}.dtc-home-promo h2{font-size:clamp(30px,3.5vw,48px);line-height:1.05;margin:14px 0}.dtc-home-promo p{font-size:17px;line-height:1.55;color:#e7efff}.dtc-home-points{display:flex;flex-wrap:wrap;gap:9px 18px;margin:18px 0}.dtc-home-btn{background:#fff!important;color:#155bd7!important}.dtc-home-visual{position:relative;min-height:250px}.dtc-doc-mini,.dtc-calc-mini{position:absolute;padding:22px;border-radius:22px;background:#fff;color:#142033;box-shadow:0 18px 40px rgba(0,0,0,.18)}.dtc-doc-mini{left:0;top:0;width:190px;display:grid;gap:8px}.dtc-doc-mini b{color:#1762e8}.dtc-doc-mini span{font-size:12px;color:#718096}.dtc-calc-mini{right:0;bottom:0;width:185px}.dtc-calc-mini span,.dtc-calc-mini small{display:block;color:#718096}.dtc-calc-mini b{display:block;font-size:25px;margin:6px 0;color:#1762e8}
@media(max-width:760px){.dtc-page,.dtc-admin{padding:28px 18px 50px}.dtc-head{display:block}.dtc-head-badge{display:none}.dtc-head h1{font-size:38px}.dtc-head p{font-size:16px}.dtc-steps{overflow:auto}.dtc-steps span{white-space:nowrap}.dtc-upload{padding:18px}.dtc-drop{min-height:220px;padding:18px}.dtc-good{grid-template-columns:1fr 1fr;padding:17px}.dtc-good label.wide{grid-column:1/-1}.dtc-expense{grid-template-columns:1fr}.dtc-section-title{align-items:flex-start;flex-direction:column}.dtc-result-card{grid-template-columns:1fr}.dtc-result-card dl{grid-template-columns:1fr 1fr}.dtc-admin-grid{grid-template-columns:1fr}.dtc-home-promo{margin:34px 18px;padding:26px 22px;grid-template-columns:1fr}.dtc-home-visual{min-height:210px}.dtc-home-points{display:grid}.dtc-home-btn{width:100%;text-align:center}.dtc-doc-mini{width:170px}.dtc-calc-mini{width:160px}.nav-tool{color:inherit!important}}
@media(max-width:430px){.dtc-good{grid-template-columns:1fr}.dtc-good label.wide{grid-column:auto}.dtc-result-card dl{grid-template-columns:1fr}.dtc-head h1{font-size:33px}.dtc-home-promo h2{font-size:31px}}


/* =========================================================
   DSRent 5.14.1 — DT calculator admin form stabilization
   ========================================================= */

.dtc-admin-card{
  overflow:hidden;
}

/* Never let the service checkbox inherit generic full-width input styles. */
.dtc-admin .dtc-switch{
  width:100%;
  min-height:82px;
  box-sizing:border-box;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  align-items:center!important;
  justify-content:initial!important;
  gap:14px!important;
  padding:18px 20px!important;
  border:1px solid #dce6f1;
  border-radius:16px;
  background:#f5f8fc;
  cursor:pointer;
}

.dtc-admin .dtc-switch input[type="checkbox"]{
  appearance:none;
  -webkit-appearance:none;
  position:relative!important;
  inset:auto!important;
  flex:none!important;
  width:46px!important;
  min-width:46px!important;
  max-width:46px!important;
  height:26px!important;
  min-height:26px!important;
  max-height:26px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:999px!important;
  background:#cbd5e1!important;
  box-shadow:none!important;
  opacity:1!important;
  pointer-events:auto!important;
  cursor:pointer;
  transition:background .18s ease;
}

.dtc-admin .dtc-switch input[type="checkbox"]::after{
  content:"";
  position:absolute;
  width:20px;
  height:20px;
  left:3px;
  top:3px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 1px 4px rgba(24,39,61,.25);
  transition:transform .18s ease;
}

.dtc-admin .dtc-switch input[type="checkbox"]:checked{
  background:#2f6bed!important;
}

.dtc-admin .dtc-switch input[type="checkbox"]:checked::after{
  transform:translateX(20px);
}

.dtc-admin .dtc-switch input[type="checkbox"]:focus-visible{
  outline:3px solid rgba(47,107,237,.18)!important;
  outline-offset:3px;
}

.dtc-admin .dtc-switch>span{
  min-width:0!important;
  width:auto!important;
  display:grid!important;
  gap:3px!important;
  justify-self:stretch!important;
}

.dtc-admin .dtc-switch>span b{
  display:block;
  margin:0;
  color:#26384e;
  font-size:15px!important;
  line-height:1.25!important;
  font-weight:850;
}

.dtc-admin .dtc-switch>span small{
  display:block;
  margin:0;
  max-width:760px;
  color:#718096;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:550;
}

/* Text inputs only — do not target checkbox/radio/file controls. */
.dtc-admin-grid input[type="text"],
.dtc-admin-grid input[type="password"],
.dtc-admin-grid input[type="number"],
.dtc-admin-grid input[type="url"],
.dtc-admin-grid input[type="email"]{
  width:100%;
  box-sizing:border-box;
  min-height:48px;
  border:1px solid #cad6e3;
  border-radius:12px;
  padding:0 13px;
  background:#fff;
}

/* Keep two-column form balanced and prevent long values from stretching it. */
.dtc-admin-grid{
  align-items:start;
}

.dtc-admin-grid label{
  min-width:0;
}

.dtc-admin-grid input{
  max-width:100%;
}

.dtc-admin-grid small{
  display:block;
  margin-top:3px;
}

/* Clear visual state for configured secret. */
.dtc-admin-grid label:has(input[name="deepseek_api_key"]) small{
  width:max-content;
  max-width:100%;
  padding:5px 8px;
  border-radius:8px;
  background:#eaf8ef;
  color:#267b4e!important;
  font-size:12px!important;
  font-weight:750!important;
}

@media(max-width:760px){
  .dtc-admin .dtc-switch{
    min-height:74px;
    padding:15px 16px!important;
  }

  .dtc-admin .dtc-switch>span b{
    font-size:14px!important;
  }

  .dtc-admin .dtc-switch>span small{
    font-size:12px!important;
  }

  .dtc-admin-grid{
    grid-template-columns:1fr!important;
  }
}


/* =========================================================
   DSRent 5.14.2 — compact calculator, consent, CAPTCHA
   ========================================================= */

.dtc-page{
  width:min(calc(100% - 36px),980px)!important;
  max-width:980px!important;
  margin:0 auto!important;
  padding:38px 0 60px!important;
}

.dtc-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto;
  gap:22px!important;
  align-items:start!important;
}
.dtc-head h1{
  max-width:780px!important;
  margin:11px 0 10px!important;
  font-size:clamp(36px,4.2vw,52px)!important;
}
.dtc-head p{
  max-width:780px!important;
  margin:0!important;
  font-size:16px!important;
  line-height:1.5!important;
}
.dtc-head-badge{
  min-width:104px!important;
  padding:15px 16px!important;
  border-radius:18px!important;
}
.dtc-head-badge b{font-size:25px!important}

.dtc-steps{
  margin:22px 0 18px!important;
}
.dtc-steps span{
  padding:8px 13px!important;
  font-size:13px!important;
}

.dtc-upload-v2{
  padding:20px!important;
  border-radius:22px!important;
  box-shadow:0 10px 28px rgba(28,48,78,.04);
}

.dtc-drop-v2{
  min-height:178px!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-areas:
    "icon copy"
    "file file";
  justify-content:center!important;
  align-content:center!important;
  align-items:center!important;
  gap:12px 16px!important;
  padding:24px!important;
  text-align:left!important;
}
.dtc-drop-v2 .dtc-file-icon{
  grid-area:icon;
  width:54px!important;
  height:54px!important;
  border-radius:15px!important;
}
.dtc-drop-copy{
  grid-area:copy;
  display:grid;
  gap:3px;
}
.dtc-drop-copy strong{
  font-size:18px!important;
  line-height:1.25!important;
}
.dtc-drop-copy small{
  font-size:13px!important;
}
.dtc-drop-v2 input[type="file"]{
  grid-area:file;
  width:min(100%,520px);
  min-height:44px!important;
  margin:4px auto 0!important;
  padding:5px!important;
  border:1px solid #d3deea;
  border-radius:11px;
  background:#fff;
  font-size:13px!important;
}

.dtc-submit-zone{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,.78fr);
  gap:14px;
  margin-top:14px;
}
.dtc-consent-box{
  padding:15px 16px;
  border:1px solid #dbe4ee;
  border-radius:15px;
  background:#f7f9fc;
}
.dtc-consent-check{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr);
  align-items:start;
  gap:10px;
  margin:0!important;
  cursor:pointer;
}
.dtc-consent-check input[type="checkbox"]{
  width:18px!important;
  min-width:18px!important;
  height:18px!important;
  min-height:18px!important;
  margin:2px 0 0!important;
  padding:0!important;
}
.dtc-consent-check span{
  color:#405269;
  font-size:12px!important;
  line-height:1.48!important;
  font-weight:650;
}
.dtc-consent-links{
  display:flex;
  flex-wrap:wrap;
  gap:3px 7px;
  margin:8px 0 0 28px;
  font-size:11px;
}
.dtc-consent-links a{color:#1f64dc}

.dtc-captcha{
  min-width:0;
  padding:13px 14px;
  border:1px solid #dbe4ee;
  border-radius:15px;
  background:#fff;
}
.dtc-captcha-title{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:8px;
}
.dtc-captcha-title>span{
  width:26px;height:26px;
  display:grid;place-items:center;
  border-radius:8px;
  background:#eaf3ff;
  color:#1762e8;
  font-weight:900;
}
.dtc-captcha-title div{display:grid}
.dtc-captcha-title b{font-size:12px}
.dtc-captcha-title small{font-size:10px!important;color:#7a899b}

.dtc-submit-row{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  gap:16px;
  padding-top:2px;
}
.dtc-submit-row .dtc-primary{
  flex:0 0 auto;
  min-height:48px!important;
  margin:0!important;
}
.dtc-submit-row .dtc-privacy{
  margin:0!important;
  max-width:650px;
  font-size:11px!important;
  line-height:1.45!important;
}

.dtc-security-missing{
  padding:14px;
  border:1px solid #efc0b8;
  border-radius:14px;
  background:#fff4f1;
  color:#a54131;
  font-size:12px;
  line-height:1.4;
}

.dtc-admin-switches{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:20px;
}
.dtc-admin-switches .dtc-switch{
  min-height:80px!important;
}
.dtc-admin-security-status,
.dtc-admin-legal-warning{
  margin:0 0 14px;
  padding:15px 17px;
  border-radius:14px;
}
.dtc-admin-security-status b,
.dtc-admin-legal-warning b{
  display:block;
  margin-bottom:4px;
  font-size:13px;
}
.dtc-admin-security-status p,
.dtc-admin-legal-warning p{
  margin:0;
  font-size:12px;
  line-height:1.45;
}
.dtc-admin-security-status.ok{
  background:#edf9f2;
  color:#26744b;
}
.dtc-admin-security-status.warn,
.dtc-admin-legal-warning{
  background:#fff7e8;
  color:#785814;
}

.legal-calculator-addendum{
  margin-top:30px;
  padding-top:26px;
  border-top:1px solid #e0e7ef;
}
.legal-important{
  padding:14px 16px;
  border-radius:13px;
  background:#fff7e8;
  color:#725517;
}

@media(max-width:760px){
  .dtc-page{
    width:calc(100% - 24px)!important;
    padding:24px 0 44px!important;
  }
  .dtc-head{
    grid-template-columns:1fr!important;
  }
  .dtc-head h1{
    font-size:34px!important;
  }
  .dtc-head-badge{
    display:none!important;
  }
  .dtc-upload-v2{
    padding:12px!important;
  }
  .dtc-drop-v2{
    min-height:170px!important;
    grid-template-columns:1fr;
    grid-template-areas:"icon" "copy" "file";
    justify-items:center!important;
    text-align:center!important;
    padding:20px 14px!important;
  }
  .dtc-drop-copy strong{
    font-size:16px!important;
  }
  .dtc-submit-zone{
    grid-template-columns:1fr!important;
  }
  .dtc-submit-row{
    display:grid;
    grid-template-columns:1fr;
  }
  .dtc-submit-row .dtc-primary{
    width:100%;
  }
  .dtc-admin-switches{
    grid-template-columns:1fr;
  }
}

@media(max-width:420px){
  .dtc-page{
    width:calc(100% - 16px)!important;
  }
  .dtc-head h1{
    font-size:30px!important;
  }
  .dtc-steps{
    gap:5px!important;
  }
  .dtc-steps span{
    padding:7px 10px!important;
    font-size:12px!important;
  }
  .dtc-consent-links{
    margin-left:0;
    margin-top:9px;
  }
}

/* DSRent 5.14.3 — provider-neutral AI wording; no visual changes. */

/* DSRent 5.15.0 — DT Parser 2.0 / compact responsive review */
.dtc-control{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}.dtc-control>div{padding:14px 16px;border:1px solid #dbe5f0;border-radius:16px;background:#f8fbff}.dtc-control small{display:block;color:#718096;font-size:12px;font-weight:700}.dtc-control b{display:block;margin-top:4px;font-size:17px;color:#17243a}.dtc-review{max-width:1080px;margin:0 auto}.dtc-good{grid-template-columns:2fr 1fr 1fr 1fr!important;padding:18px!important}.dtc-good label{font-size:13px}.dtc-good input{min-height:44px!important}.dtc-expenses{max-width:900px}.dtc-expense{grid-template-columns:1.25fr .65fr .85fr!important}.dtc-ai{font-size:12px}.dtc-admin-switches{grid-template-columns:repeat(3,minmax(0,1fr))!important}
@media(max-width:900px){.dtc-control{grid-template-columns:1fr 1fr}.dtc-admin-switches{grid-template-columns:1fr!important}.dtc-good{grid-template-columns:1fr 1fr!important}.dtc-good label.wide{grid-column:1/-1!important}}
@media(max-width:560px){.dtc-page{padding-left:16px!important;padding-right:16px!important}.dtc-control{grid-template-columns:1fr 1fr}.dtc-control>div{padding:12px}.dtc-control b{font-size:15px}.dtc-good{grid-template-columns:1fr!important;border-radius:18px}.dtc-good label.wide{grid-column:auto!important}.dtc-expense{grid-template-columns:1fr!important}.dtc-section-title h2{font-size:26px!important}.dtc-ai{white-space:normal}}

/* =========================================================
   DSRent 5.15.1 — polished responsive DT calculator upload
   ========================================================= */
.dtc-page{width:min(calc(100% - 40px),1040px)!important;max-width:1040px!important;padding:34px 0 56px!important}
.dtc-head{grid-template-columns:minmax(0,1fr) 104px!important;gap:28px!important;align-items:start!important}
.dtc-head h1{max-width:820px!important;font-size:clamp(38px,4vw,54px)!important;line-height:1.03!important;letter-spacing:-.035em!important}
.dtc-head p{max-width:820px!important;font-size:17px!important;line-height:1.55!important}
.dtc-head-badge{width:104px!important;min-width:104px!important;box-sizing:border-box;padding:14px 10px!important}
.dtc-steps{gap:8px!important;margin:24px 0 18px!important}
.dtc-steps span{min-width:112px;text-align:center;padding:9px 14px!important;font-size:14px!important}
.dtc-upload-v2{padding:22px!important;border-radius:24px!important;box-shadow:0 16px 42px rgba(29,55,91,.055)!important}
.dtc-drop-v2{min-height:164px!important;grid-template-columns:64px minmax(0,1fr) minmax(260px,360px)!important;grid-template-areas:"icon copy file"!important;gap:18px!important;padding:24px 28px!important;border-radius:20px!important;background:#f7faff!important}
.dtc-drop-v2 .dtc-file-icon{width:58px!important;height:58px!important;border-radius:16px!important;font-size:16px!important}
.dtc-drop-copy{align-self:center!important}.dtc-drop-copy strong{font-size:19px!important;line-height:1.25!important}.dtc-drop-copy small{margin-top:3px;font-size:13px!important;line-height:1.4!important}
.dtc-drop-v2 input[type="file"]{width:100%!important;max-width:none!important;min-height:48px!important;margin:0!important;padding:5px 7px!important;border-radius:13px!important;font-size:13px!important;align-self:center!important;color:#243249!important;overflow:hidden!important}
.dtc-drop-v2 input[type="file"]::file-selector-button{min-height:36px;margin-right:10px;padding:0 13px;border:0;border-radius:9px;background:#e9f1ff;color:#175ed8;font:inherit;font-weight:800;cursor:pointer}
.dtc-submit-zone{grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr)!important;gap:14px!important;margin-top:14px!important;align-items:stretch!important}
.dtc-consent-box,.dtc-captcha{min-height:152px;box-sizing:border-box;border-radius:17px!important;padding:17px 18px!important}
.dtc-consent-box{display:flex;flex-direction:column;justify-content:center;background:#f8fafc!important}
.dtc-consent-check{gap:11px!important}.dtc-consent-check input[type="checkbox"]{width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;margin-top:1px!important}
.dtc-consent-check span{font-size:13px!important;line-height:1.48!important;font-weight:680!important}
.dtc-consent-links{margin:10px 0 0 31px!important;font-size:12px!important;line-height:1.4!important}
.dtc-captcha{display:flex;flex-direction:column;justify-content:center;overflow:hidden!important}.dtc-captcha-title{margin-bottom:10px!important}.dtc-captcha-title b{font-size:13px!important}.dtc-captcha-title small{font-size:11px!important}
.dtc-submit-row{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:18px!important;align-items:center!important;padding-top:3px!important}
.dtc-submit-row .dtc-primary{min-height:50px!important;padding-inline:20px!important;white-space:nowrap!important}.dtc-submit-row .dtc-privacy{max-width:none!important;font-size:12px!important;line-height:1.45!important}
@media(max-width:900px){.dtc-page{width:min(calc(100% - 32px),760px)!important}.dtc-head{grid-template-columns:1fr!important}.dtc-head-badge{display:none!important}.dtc-drop-v2{grid-template-columns:58px minmax(0,1fr)!important;grid-template-areas:"icon copy" "file file"!important}.dtc-drop-v2 input[type="file"]{width:min(100%,520px)!important;justify-self:center!important}.dtc-submit-zone{grid-template-columns:1fr!important}.dtc-consent-box,.dtc-captcha{min-height:auto}.dtc-captcha{padding:16px!important}.dtc-submit-row{grid-template-columns:auto minmax(0,1fr)!important}}
@media(max-width:640px){.dtc-page{width:calc(100% - 28px)!important;padding:24px 0 42px!important}.dtc-head h1{font-size:clamp(31px,9vw,40px)!important;line-height:1.04!important}.dtc-head p{font-size:15px!important;line-height:1.5!important}.dtc-steps{display:grid!important;grid-template-columns:repeat(3,1fr)!important;overflow:visible!important}.dtc-steps span{min-width:0!important;padding:8px 6px!important;font-size:12px!important}.dtc-upload-v2{padding:12px!important;border-radius:20px!important}.dtc-drop-v2{min-height:0!important;grid-template-columns:1fr!important;grid-template-areas:"icon" "copy" "file"!important;justify-items:center!important;gap:10px!important;padding:22px 14px!important;text-align:center!important}.dtc-drop-v2 .dtc-file-icon{width:52px!important;height:52px!important}.dtc-drop-copy strong{font-size:17px!important}.dtc-drop-copy small{font-size:12px!important}.dtc-drop-v2 input[type="file"]{width:100%!important;max-width:100%!important;font-size:12px!important}.dtc-submit-zone{gap:10px!important;margin-top:10px!important}.dtc-consent-box,.dtc-captcha{padding:15px!important;border-radius:15px!important}.dtc-consent-check span{font-size:12.5px!important}.dtc-consent-links{margin-left:31px!important;font-size:11.5px!important}.dtc-submit-row{grid-template-columns:1fr!important;gap:9px!important}.dtc-submit-row .dtc-primary{width:100%!important;white-space:normal!important}.dtc-submit-row .dtc-privacy{font-size:11.5px!important;text-align:center!important}.dtc-captcha iframe{max-width:100%!important}}
@media(max-width:380px){.dtc-page{width:calc(100% - 20px)!important}.dtc-head h1{font-size:29px!important}.dtc-steps span{font-size:11px!important}.dtc-consent-links{margin-left:0!important}.dtc-drop-v2 input[type="file"]::file-selector-button{margin-right:6px;padding:0 9px}}

/* DSRent 5.15.2 — production Poppler PDF diagnostics */
.dtc-pdf-diag-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}
.dtc-pdf-diag-grid article{padding:18px;border:1px solid #dbe4ef;border-radius:16px;background:#fff}
.dtc-pdf-diag-grid span{display:block;color:#718096;font-size:12px;margin-bottom:6px}
.dtc-pdf-diag-grid b{font-size:15px;word-break:break-word}
.dtc-pdf-diag-grid .ok{color:#23804e}.dtc-pdf-diag-grid .bad{color:#b13b2d}
.dtc-pdf-version{padding:18px;border:1px solid #dbe4ef;border-radius:16px;background:#fff;margin-bottom:16px}
.dtc-pdf-version pre{white-space:pre-wrap;margin:8px 0 0;padding:12px;border-radius:10px;background:#101827;color:#d9e6f6;font-size:12px}
.dtc-admin-actions{display:flex;gap:10px;margin:0 0 14px}
@media(max-width:760px){.dtc-pdf-diag-grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.dtc-pdf-diag-grid{grid-template-columns:1fr}}


/* =========================================================
   DSRent 5.15.3 — progress + compact massive goods review
   ========================================================= */

.dtc-processing[hidden]{display:none!important}
.dtc-processing{
  position:fixed;
  inset:0;
  z-index:9999;
  display:grid;
  place-items:center;
  padding:20px;
  background:rgba(240,245,251,.86);
  backdrop-filter:blur(8px);
}
.dtc-processing-card{
  width:min(100%,600px);
  padding:24px;
  border:1px solid #d5e0ec;
  border-radius:22px;
  background:#fff;
  box-shadow:0 28px 80px rgba(21,43,75,.18);
}
.dtc-processing-head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:flex-start;
}
.dtc-processing-head h3{
  margin:7px 0 0;
  font-size:24px;
}
.dtc-processing-head>b{
  color:#1762e8;
  font-size:25px;
}
.dtc-progress-track{
  height:10px;
  margin:20px 0 15px;
  overflow:hidden;
  border-radius:999px;
  background:#e8eef6;
}
.dtc-progress-track span{
  display:block;
  height:100%;
  border-radius:999px;
  background:#1762e8;
  transition:width .5s ease;
}
.dtc-processing-steps{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:6px;
}
.dtc-processing-steps span{
  padding:7px 4px;
  border-radius:9px;
  background:#f1f4f8;
  color:#8190a3;
  text-align:center;
  font-size:11px;
  font-weight:800;
}
.dtc-processing-steps span.active{
  background:#eaf3ff;
  color:#1762e8;
}
.dtc-processing-steps span.done{
  background:#eaf8ef;
  color:#23764b;
}
.dtc-processing-card>p{
  margin:14px 0 0;
  color:#6f7f93;
  font-size:13px;
}

.dtc-review-toolbar{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:end;
  margin:0 0 12px;
}
.dtc-review-search{
  flex:1 1 auto;
}
.dtc-review-search input{
  width:100%;
  min-height:44px;
  padding:0 13px;
  border:1px solid #cbd7e4;
  border-radius:11px;
  background:#fff;
  font:inherit;
}
.dtc-review-meta{
  display:flex;
  align-items:center;
  gap:14px;
  color:#64748b;
  font-size:12px;
  white-space:nowrap;
}
.dtc-review-meta label{
  display:flex;
  align-items:center;
  gap:6px;
}
.dtc-review-meta select{
  min-height:38px;
  padding:0 30px 0 10px;
  border:1px solid #cbd7e4;
  border-radius:9px;
  background:#fff;
}

.dtc-goods-table-wrap{
  overflow:auto;
  border:1px solid #dbe4ee;
  border-radius:16px;
  background:#fff;
}
.dtc-goods-table{
  width:100%;
  min-width:900px;
  border-collapse:collapse;
  table-layout:fixed;
}
.dtc-goods-table th{
  padding:10px 9px;
  border-bottom:1px solid #dfe7ef;
  background:#f6f8fb;
  color:#607086;
  text-align:left;
  font-size:11px;
  font-weight:850;
}
.dtc-goods-table td{
  padding:10px 9px;
  border-bottom:1px solid #edf1f5;
  color:#33465c;
  font-size:12px;
  vertical-align:middle;
}
.dtc-goods-table tr:last-child td{
  border-bottom:0;
}
.dtc-goods-table .dtc-col-num{width:42px}
.dtc-goods-table .dtc-col-product{width:31%}
.dtc-goods-table .dtc-col-action{width:84px;text-align:right}
.dtc-col-product strong{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#172236;
  font-size:12px;
}
.dtc-col-product small{
  display:none;
}
.dtc-edit-toggle{
  min-height:32px;
  padding:0 10px;
  border:1px solid #cedae7;
  border-radius:8px;
  background:#fff;
  color:#31516f;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.dtc-edit-toggle[aria-expanded="true"]{
  border-color:#a9c8fb;
  background:#edf5ff;
  color:#1762e8;
}
.dtc-good-edit-row td{
  padding:0!important;
  background:#f8fbff;
}
.dtc-good-edit-panel{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  padding:14px 16px 16px;
  border-bottom:1px solid #dce6f0;
}
.dtc-good-edit-panel label{
  display:grid;
  gap:5px;
  min-width:0;
  color:#5c6d82;
  font-size:11px;
  font-weight:750;
}
.dtc-good-edit-panel label.wide{
  grid-column:span 2;
}
.dtc-good-edit-panel input{
  width:100%;
  min-height:40px;
  box-sizing:border-box;
  padding:0 10px;
  border:1px solid #cad6e3;
  border-radius:9px;
  background:#fff;
  font:inherit;
  font-size:12px;
}
.dtc-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  margin:12px 0 24px;
}
.dtc-pagination button{
  width:36px;
  height:34px;
  border:1px solid #cedae7;
  border-radius:9px;
  background:#fff;
  color:#31516f;
  font-weight:900;
}
.dtc-pagination button:disabled{
  opacity:.35;
}
.dtc-pagination span{
  min-width:170px;
  text-align:center;
  color:#6d7d91;
  font-size:12px;
}

@media(max-width:760px){
  .dtc-processing-card{
    padding:20px 16px;
    border-radius:18px;
  }
  .dtc-processing-head h3{font-size:21px}
  .dtc-processing-steps{
    grid-template-columns:repeat(5,minmax(68px,1fr));
    overflow:auto;
    padding-bottom:3px;
  }

  .dtc-review-toolbar{
    display:grid;
    grid-template-columns:1fr;
    align-items:stretch;
  }
  .dtc-review-meta{
    justify-content:space-between;
  }

  .dtc-goods-table-wrap{
    overflow:visible;
    border:0;
    background:transparent;
  }
  .dtc-goods-table{
    min-width:0;
    display:block;
  }
  .dtc-goods-table thead{display:none}
  .dtc-goods-table tbody{display:grid;gap:8px}
  .dtc-good-row{
    display:grid;
    grid-template-columns:auto 1fr auto;
    grid-template-areas:
      "num product action"
      "code qty qty"
      "weight cost cost";
    gap:6px 10px;
    padding:12px;
    border:1px solid #dbe4ee;
    border-radius:13px;
    background:#fff;
  }
  .dtc-good-row td{
    padding:0!important;
    border:0!important;
  }
  .dtc-good-row td:nth-child(1){grid-area:num}
  .dtc-good-row td:nth-child(2){grid-area:product}
  .dtc-good-row td:nth-child(3){grid-area:code}
  .dtc-good-row td:nth-child(4){grid-area:qty;text-align:right}
  .dtc-good-row td:nth-child(5){grid-area:weight}
  .dtc-good-row td:nth-child(6){grid-area:cost;text-align:right}
  .dtc-good-row td:nth-child(7),
  .dtc-good-row td:nth-child(8){display:none}
  .dtc-good-row td:nth-child(9){grid-area:action}
  .dtc-col-product strong{
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
  }
  .dtc-col-product small{display:block;color:#8a98a9;margin-top:2px}
  .dtc-col-action{width:auto!important}
  .dtc-edit-toggle{min-height:30px}
  .dtc-good-edit-row{
    display:block;
    margin:-4px 0 7px;
    border:1px solid #cfe0f5;
    border-top:0;
    border-radius:0 0 13px 13px;
    overflow:hidden;
  }
  .dtc-good-edit-row[hidden]{display:none!important}
  .dtc-good-edit-row td{display:block}
  .dtc-good-edit-panel{
    grid-template-columns:1fr 1fr;
    padding:12px;
  }
}

@media(max-width:430px){
  .dtc-good-edit-panel{
    grid-template-columns:1fr;
  }
  .dtc-good-edit-panel label.wide{
    grid-column:auto;
  }
  .dtc-review-meta{
    align-items:flex-start;
    flex-direction:column;
  }
  .dtc-pagination span{
    min-width:140px;
  }
}

/* DSRent 5.15.5 — DT reconciliation safety */
.dtc-calc-blocked{display:grid;gap:4px;margin-top:18px;padding:15px 17px;border:1px solid #efcf91;border-radius:14px;background:#fff8e8;color:#76520c}
.dtc-calc-blocked b{font-size:14px}.dtc-calc-blocked span{font-size:12px;line-height:1.45}
.dtc-control{grid-template-columns:repeat(5,minmax(0,1fr))!important}
@media(max-width:900px){.dtc-control{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:480px){.dtc-control{grid-template-columns:1fr 1fr!important}}

/* DSRent 5.15.6 — blocked-state recovery */
.dtc-review-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 14px;padding:13px 15px;border:1px solid #d9e4ef;border-radius:15px;background:#fff}
.dtc-review-actions>div:first-child{display:grid;gap:2px}.dtc-review-actions>div:first-child span{font-size:11px;color:#718096}.dtc-review-actions>div:first-child b{font-size:15px}
.dtc-review-actions>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.btn.compact{min-height:38px!important;padding:0 13px!important;font-size:12px!important}
.dtc-validation-problems{margin:14px 0 18px;padding:15px;border:1px solid #efc66f;border-radius:15px;background:#fffaf0}
.dtc-validation-head{display:grid;gap:3px}.dtc-validation-head b{font-size:14px;color:#76510d}.dtc-validation-head span{font-size:11px;color:#8c6c32}
.dtc-validation-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:11px}
.dtc-validation-list article{display:grid;gap:4px;padding:10px 11px;border:1px solid #ead9b6;border-radius:10px;background:#fff}.dtc-validation-list strong{font-size:12px}.dtc-validation-list span{font-size:11px}.dtc-validation-list .ok{color:#26744b}.dtc-validation-list .bad{color:#a64c24;font-weight:700}
.dtc-expenses-fieldset{min-width:0;margin:0;padding:0;border:0}.dtc-expenses-fieldset:disabled{opacity:.44}.dtc-expenses-fieldset:disabled input,.dtc-expenses-fieldset:disabled select{cursor:not-allowed}
.dtc-review-footer{position:sticky;bottom:12px;z-index:20;display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 0;padding:11px;border:1px solid #d6e1ed;border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 12px 30px rgba(30,53,82,.10);backdrop-filter:blur(10px)}
.dtc-review-footer-left,.dtc-review-footer-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dtc-review-footer-right{justify-content:flex-end}.dtc-review-footer-right small{color:#93601e;font-size:11px;font-weight:750}.dtc-review-footer .btn:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:760px){.dtc-review-actions{align-items:stretch;flex-direction:column}.dtc-review-actions>div:last-child{display:grid;grid-template-columns:1fr 1fr}.dtc-validation-list{grid-template-columns:1fr}.dtc-review-footer{position:static;display:grid;grid-template-columns:1fr}.dtc-review-footer-left,.dtc-review-footer-right{display:grid;grid-template-columns:1fr}.dtc-review-footer .btn{width:100%}}
@media(max-width:430px){.dtc-review-actions>div:last-child{grid-template-columns:1fr}}

/* DSRent 5.15.7 — reconciliation result polish */
.dtc-validation-list article .ok{background:#e9fbf0;border-radius:6px;padding:4px 6px}
.dtc-validation-list article .bad{background:#fff0ed;border-radius:6px;padding:4px 6px}

/* DSRent 5.15.8 — readable DT review and real print layout */
.dtc-goods-table{min-width:0;table-layout:fixed}
.dtc-goods-table th,.dtc-goods-table td{font-size:13px}
.dtc-goods-table th:nth-child(1){width:76px}
.dtc-goods-table th:nth-child(2){width:auto}
.dtc-goods-table th:nth-child(3){width:105px}
.dtc-goods-table th:nth-child(4){width:112px}
.dtc-goods-table th:nth-child(5){width:150px}
.dtc-goods-table th:nth-child(6){width:175px}
.dtc-goods-table th:nth-child(7){width:96px}
.dtc-goods-table .dtc-col-num,.dtc-goods-table .dtc-col-product,.dtc-goods-table .dtc-col-action{width:auto}
.dtc-col-num b{display:block;color:#1762e8;font-size:14px}
.dtc-col-num small{display:block;margin-top:2px;color:#8a98a9;font-size:10px}
.dtc-col-product strong{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;line-height:1.35;font-size:13px}
.dtc-col-product small{display:block;margin-top:4px;color:#7a899b;font-size:10px}
.dtc-col-payments{display:grid;gap:3px}
.dtc-col-payments span{display:flex;justify-content:space-between;gap:8px;white-space:nowrap}
.dtc-col-payments small{color:#8391a2;font-size:9px}
.dtc-pagination[hidden]{display:none!important}
.dtc-result-actions{display:flex;gap:8px;flex-wrap:wrap}
.dtc-result-card h3{font-size:18px;line-height:1.35;text-transform:none;overflow-wrap:anywhere}

@media(max-width:980px){
  .dtc-goods-table-wrap{overflow:visible;border:0;background:transparent}
  .dtc-goods-table,.dtc-goods-table tbody{display:block}
  .dtc-goods-table thead{display:none}
  .dtc-good-row{display:grid!important;grid-template-columns:70px minmax(0,1fr) 100px;grid-template-areas:"num product action" "qty qty qty" "weight cost pay";gap:9px 12px;margin-bottom:10px;padding:14px;border:1px solid #dbe4ee;border-radius:15px;background:#fff}
  .dtc-good-row[hidden]{display:none!important}
  .dtc-good-row td{padding:0!important;border:0!important}
  .dtc-good-row .dtc-col-num{grid-area:num}
  .dtc-good-row .dtc-col-product{grid-area:product}
  .dtc-good-row td:nth-child(3){grid-area:qty}
  .dtc-good-row td:nth-child(4){grid-area:weight}
  .dtc-good-row td:nth-child(5){grid-area:cost}
  .dtc-good-row .dtc-col-payments{grid-area:pay}
  .dtc-good-row .dtc-col-action{grid-area:action}
  .dtc-good-row td[data-label]::before{content:attr(data-label);display:block;margin-bottom:2px;color:#8a98a9;font-size:9px;font-weight:800;text-transform:uppercase}
  .dtc-col-payments span{display:grid;gap:1px}
  .dtc-good-edit-row{display:block;margin:-10px 0 10px}
  .dtc-good-edit-row[hidden]{display:none!important}
  .dtc-good-edit-row td{display:block}
}
@media(max-width:620px){
  .dtc-good-row{grid-template-columns:54px minmax(0,1fr);grid-template-areas:"num product" "action action" "qty weight" "cost cost" "pay pay"}
  .dtc-good-row .dtc-col-action{text-align:left}
  .dtc-edit-toggle{width:100%}
  .dtc-col-product strong{-webkit-line-clamp:3}
  .dtc-col-payments{grid-template-columns:1fr 1fr;padding-top:4px;border-top:1px solid #edf1f5}
  .dtc-result-actions{display:grid;width:100%;grid-template-columns:1fr 1fr}
  .dtc-result-actions .btn{width:100%}
}
@media(max-width:430px){
  .dtc-good-row{grid-template-columns:48px minmax(0,1fr);padding:12px}
  .dtc-col-product strong{font-size:12px}
  .dtc-result-actions{grid-template-columns:1fr}
}

@media print{
  @page{size:A4 portrait;margin:11mm 10mm 12mm}
  html,body{height:auto!important;overflow:visible!important;background:#fff!important}
  body{font-size:10pt!important}
  header,.site-header,.site-footer,.dtc-head,.dtc-steps,.no-print{display:none!important}
  main,.dtc-page{max-width:none!important;width:auto!important;margin:0!important;padding:0!important}
  .dtc-section-title{margin:0 0 5mm!important;display:block!important}
  .dtc-section-title .eyebrow{font-size:8pt!important}
  .dtc-section-title h2{font-size:22pt!important;margin:2mm 0 1mm!important}
  .dtc-section-title p{font-size:9pt!important}
  .dtc-results{display:block!important}
  .dtc-result-card{display:grid!important;grid-template-columns:minmax(0,1fr) 52mm!important;gap:4mm!important;margin:0 0 5mm!important;padding:5mm!important;border:1px solid #cad6e3!important;border-radius:4mm!important;box-shadow:none!important;break-inside:avoid!important;page-break-inside:avoid!important}
  .dtc-result-card h3{font-size:11pt!important;line-height:1.25!important;margin:1mm 0!important}
  .dtc-result-card>div>span{font-size:8pt!important}
  .dtc-unit{padding:4mm!important;border-radius:3mm!important}
  .dtc-unit b{font-size:18pt!important}
  .dtc-unit small,.dtc-unit span{font-size:8.5pt!important}
  .dtc-result-card dl{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:2mm!important}
  .dtc-result-card dl div{padding:2.5mm!important;border-radius:2mm!important}
  .dtc-result-card dt{font-size:7.5pt!important}
  .dtc-result-card dd{font-size:9pt!important}
}


/* =============================================================
   DSRent 5.15.9 — grouped customs-position review
   ============================================================= */
.dtc-groups-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:16px 0 12px;
}
.dtc-groups-search{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
  min-width:0;
}
.dtc-groups-search input{
  min-width:0;
  flex:1;
  height:46px;
  border:1px solid #cfdae7;
  border-radius:13px;
  background:#fff;
  padding:0 14px;
  font:inherit;
}
.dtc-groups-search span{
  white-space:nowrap;
  color:#7a8899;
  font-size:12px;
}
.dtc-groups-actions{display:flex;gap:8px;flex-wrap:wrap}

.dtc-customs-groups{
  display:grid;
  gap:10px;
  margin-bottom:24px;
}
.dtc-customs-group{
  overflow:hidden;
  border:1px solid #d8e3ee;
  border-radius:17px;
  background:#fff;
  box-shadow:0 5px 18px rgba(33,55,82,.035);
}
.dtc-customs-group[hidden]{display:none}
.dtc-customs-group>summary{
  position:relative;
  display:grid;
  grid-template-columns:minmax(260px,1fr) minmax(420px,.95fr) 24px;
  align-items:center;
  gap:18px;
  min-height:82px;
  padding:14px 18px;
  cursor:pointer;
  list-style:none;
  user-select:none;
}
.dtc-customs-group>summary::-webkit-details-marker{display:none}
.dtc-customs-group[open]>summary{
  background:#f8fbff;
  border-bottom:1px solid #e2eaf2;
}
.dtc-group-ident{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.dtc-group-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:96px;
  height:38px;
  padding:0 11px;
  border-radius:11px;
  background:#eaf3ff;
  color:#1762e8;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}
.dtc-group-ident>div{display:grid;gap:2px;min-width:0}
.dtc-group-ident b{font-size:15px;color:#19273a}
.dtc-group-ident small{font-size:11px;color:#77879a}
.dtc-group-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.dtc-group-metrics span{
  display:grid;
  gap:2px;
  min-width:0;
  padding:8px 10px;
  border-radius:10px;
  background:#f4f7fb;
}
.dtc-group-metrics small{
  color:#8492a3;
  font-size:9px;
  font-weight:750;
  text-transform:uppercase;
}
.dtc-group-metrics b{
  overflow:hidden;
  color:#22344a;
  font-size:12px;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dtc-group-chevron{
  color:#7890aa;
  font-size:21px;
  transition:transform .2s ease;
}
.dtc-customs-group[open] .dtc-group-chevron{transform:rotate(180deg)}

.dtc-group-body{padding:0}
.dtc-group-table-head,
.dtc-group-product{
  display:grid;
  grid-template-columns:minmax(310px,2.2fr) 105px 110px 145px 175px 90px;
  align-items:center;
  gap:12px;
}
.dtc-group-table-head{
  padding:10px 16px;
  border-bottom:1px solid #e8eef4;
  color:#7b8a9c;
  font-size:9px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.025em;
}
.dtc-group-product{
  min-height:68px;
  padding:10px 16px;
  border-bottom:1px solid #edf1f5;
  font-size:12px;
}
.dtc-group-product:last-of-type{border-bottom:0}
.dtc-group-product[hidden]{display:none}
.dtc-group-product-name{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:9px;
  align-items:start;
  min-width:0;
}
.dtc-sku-number{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:30px;
  padding:4px 6px;
  border-radius:8px;
  background:#f1f6fd;
  color:#1762e8;
  font-size:10px;
  font-weight:850;
}
.dtc-group-product-name>div{min-width:0}
.dtc-group-product-name strong{
  display:block;
  overflow:hidden;
  color:#17263a;
  font-size:12px;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dtc-group-product-name small{
  display:block;
  margin-top:3px;
  color:#8492a4;
  font-size:9px;
}
.dtc-group-product-payments{display:grid;gap:3px}
.dtc-group-product-payments span{
  display:flex;
  justify-content:space-between;
  gap:8px;
  white-space:nowrap;
}
.dtc-group-product-payments small{
  color:#8b98a8;
  font-size:8px;
}
.dtc-group-edit{
  padding:12px 16px 16px;
  border-bottom:1px solid #e7edf4;
  background:#f9fbfd;
}
.dtc-group-edit[hidden]{display:none}

.dtc-review-footer{
  bottom:14px;
  box-shadow:0 14px 34px rgba(27,51,82,.12);
}

@media(max-width:1100px){
  .dtc-customs-group>summary{
    grid-template-columns:minmax(240px,1fr) minmax(330px,.9fr) 20px;
  }
  .dtc-group-table-head,
  .dtc-group-product{
    grid-template-columns:minmax(260px,2fr) 95px 100px 135px 155px 82px;
    gap:9px;
  }
}
@media(max-width:860px){
  .dtc-groups-toolbar{align-items:stretch;flex-direction:column}
  .dtc-groups-actions{display:grid;grid-template-columns:1fr 1fr}
  .dtc-customs-group>summary{
    grid-template-columns:1fr 24px;
    gap:10px;
  }
  .dtc-group-metrics{
    grid-column:1/-1;
    grid-template-columns:repeat(3,1fr);
  }
  .dtc-group-table-head{display:none}
  .dtc-group-product{
    grid-template-columns:1fr 1fr;
    gap:10px 14px;
    padding:14px;
  }
  .dtc-group-product-name{grid-column:1/-1}
  .dtc-group-product>div[data-label]::before{
    content:attr(data-label);
    display:block;
    margin-bottom:3px;
    color:#8b98a8;
    font-size:8px;
    font-weight:850;
    text-transform:uppercase;
  }
  .dtc-group-product-payments{
    grid-column:1/-1;
    grid-template-columns:1fr 1fr;
    padding-top:7px;
    border-top:1px solid #edf1f5;
  }
  .dtc-group-product>div:last-child{grid-column:1/-1}
  .dtc-group-product .dtc-edit-toggle{width:100%}
}
@media(max-width:560px){
  .dtc-groups-search{align-items:stretch;flex-direction:column}
  .dtc-groups-search span{padding-left:2px}
  .dtc-groups-actions{grid-template-columns:1fr}
  .dtc-customs-group>summary{padding:12px}
  .dtc-group-ident{align-items:flex-start}
  .dtc-group-number{min-width:82px;height:34px;font-size:10px}
  .dtc-group-ident b{font-size:13px}
  .dtc-group-metrics{
    grid-template-columns:1fr;
    gap:5px;
  }
  .dtc-group-metrics span{
    grid-template-columns:1fr auto;
    align-items:center;
  }
  .dtc-group-metrics small{font-size:8px}
  .dtc-group-metrics b{font-size:11px}
  .dtc-group-product{grid-template-columns:1fr}
  .dtc-group-product>div[data-label],
  .dtc-group-product-payments,
  .dtc-group-product>div:last-child{grid-column:1}
  .dtc-group-product-payments{grid-template-columns:1fr 1fr}
  .dtc-review-footer{position:static}
}

/* DSRent 5.16.0 — DT currency semantics */
.dtc-currency-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.dtc-currency-strip>div{background:#eef5ff;border:1px solid #cfe1fb;border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}.dtc-currency-strip small{font-size:13px;color:#6d7f98;font-weight:700}.dtc-currency-strip b{font-size:17px;color:#10203a}.dtc-control{grid-template-columns:repeat(6,minmax(0,1fr))}.dtc-group-metrics{grid-template-columns:repeat(4,minmax(105px,1fr))}.dtc-price-native{display:flex;flex-direction:column;gap:3px;line-height:1.2}.dtc-price-native b{font-size:15px}.dtc-price-native small{font-size:12px;color:#75859b}.dtc-result-origin{margin:8px 0 0;color:#687b95;font-size:14px;line-height:1.45}.dtc-result-card dl{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1180px){.dtc-control{grid-template-columns:repeat(3,minmax(0,1fr))}.dtc-group-metrics{grid-template-columns:repeat(2,minmax(105px,1fr))}}
@media(max-width:760px){.dtc-currency-strip{grid-template-columns:1fr}.dtc-control{grid-template-columns:repeat(2,minmax(0,1fr))}.dtc-group-metrics{grid-template-columns:1fr 1fr}.dtc-result-card dl{grid-template-columns:1fr 1fr}.dtc-price-native b{font-size:16px}.dtc-price-native small{font-size:13px}}
@media(max-width:460px){.dtc-control{grid-template-columns:1fr 1fr}.dtc-group-metrics{grid-template-columns:1fr}.dtc-result-card dl{grid-template-columns:1fr}}


/* =============================================================
   DSRent 5.16.1 — compact grouped result
   ============================================================= */
.dtc-result-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}.dtc-result-summary>div{display:grid;gap:5px;padding:14px 16px;border:1px solid #d8e4ef;border-radius:15px;background:#fff}.dtc-result-summary small{color:#7a8a9d;font-size:10px;font-weight:800;text-transform:uppercase}.dtc-result-summary b{font-size:18px;color:#17263a}.dtc-result-summary .accent{background:#edf5ff;border-color:#c8dcfb}.dtc-result-summary .accent b{color:#1762e8}
.dtc-result-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 12px}.dtc-result-search{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.dtc-result-search input{height:44px;flex:1;min-width:0;border:1px solid #cedae7;border-radius:12px;padding:0 13px;font:inherit;background:#fff}.dtc-result-search span{white-space:nowrap;color:#7d8b9c;font-size:11px}.dtc-result-toolbar>div:last-child{display:flex;gap:7px}
.dtc-result-groups{display:grid;gap:10px}.dtc-result-group{overflow:hidden;border:1px solid #d8e3ee;border-radius:17px;background:#fff;box-shadow:0 5px 18px rgba(30,52,80,.035)}.dtc-result-group[hidden]{display:none}.dtc-result-group>summary{display:grid;grid-template-columns:minmax(225px,.85fr) minmax(470px,1.35fr) 22px;gap:14px;align-items:center;padding:13px 16px;cursor:pointer;list-style:none}.dtc-result-group>summary::-webkit-details-marker{display:none}.dtc-result-group[open]>summary{background:#f8fbff;border-bottom:1px solid #e4ebf3}.dtc-result-group>summary>i{font-style:normal;color:#7890aa;font-size:20px;transition:transform .2s}.dtc-result-group[open]>summary>i{transform:rotate(180deg)}
.dtc-result-group-id{display:flex;align-items:center;gap:10px;min-width:0}.dtc-result-group-id>span{display:inline-flex;align-items:center;justify-content:center;min-width:88px;height:34px;padding:0 9px;border-radius:10px;background:#eaf3ff;color:#1762e8;font-size:10px;font-weight:850}.dtc-result-group-id>div{display:grid;gap:2px}.dtc-result-group-id b{font-size:13px}.dtc-result-group-id small{color:#7f8ea0;font-size:9px}.dtc-result-group-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.dtc-result-group-stats span{display:grid;gap:2px;padding:7px 9px;border-radius:9px;background:#f4f7fb}.dtc-result-group-stats small{color:#8795a5;font-size:8px;font-weight:800;text-transform:uppercase}.dtc-result-group-stats b{overflow:hidden;font-size:11px;white-space:nowrap;text-overflow:ellipsis}.dtc-result-group-stats .strong{background:#eaf3ff}.dtc-result-group-stats .strong b{color:#1762e8}
.dtc-result-products-head,.dtc-result-product{display:grid;grid-template-columns:minmax(310px,2fr) 105px 165px 150px 90px;gap:12px;align-items:center}.dtc-result-products-head{padding:9px 14px;border-bottom:1px solid #e8eef4;color:#8290a0;font-size:8px;font-weight:850;text-transform:uppercase}.dtc-result-product{min-height:66px;padding:10px 14px;border-bottom:1px solid #edf1f5}.dtc-result-product[hidden]{display:none}.dtc-result-product-name{display:grid;grid-template-columns:40px minmax(0,1fr);gap:9px;align-items:start;min-width:0}.dtc-result-product-name>span{display:inline-flex;align-items:center;justify-content:center;min-height:29px;padding:4px 5px;border-radius:8px;background:#f0f6fd;color:#1762e8;font-size:9px;font-weight:850}.dtc-result-product-name strong{display:block;color:#17263a;font-size:12px;line-height:1.35}.dtc-result-product-name small{display:block;margin-top:2px;color:#8795a5;font-size:8px}.dtc-result-value,.dtc-result-native{display:grid;gap:2px}.dtc-result-value b,.dtc-result-native b{font-size:11px}.dtc-result-value small,.dtc-result-native small{color:#8493a4;font-size:8px}.dtc-result-unit{display:grid;gap:1px;padding:8px 10px;border-radius:10px;background:#edf5ff}.dtc-result-unit small{color:#657a94;font-size:8px}.dtc-result-unit b{color:#1762e8;font-size:17px}.dtc-result-unit span{color:#75869a;font-size:8px}.dtc-result-more{min-height:34px;padding:0 10px;border:1px solid #cbd9e8;border-radius:9px;background:#fff;color:#38506c;font-weight:800;cursor:pointer}.dtc-result-details{padding:10px 14px 14px;background:#f9fbfd;border-bottom:1px solid #e7edf4}.dtc-result-details[hidden]{display:none}.dtc-result-details dl{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin:0}.dtc-result-details dl div{padding:9px 10px;border-radius:9px;background:#fff;border:1px solid #e3eaf1}.dtc-result-details dt{color:#7f8fa1;font-size:8px}.dtc-result-details dd{margin:3px 0 0;font-size:10px;font-weight:850}.dtc-result-details .total{background:#eaf3ff;border-color:#cfe0f8}.dtc-result-details .total dd{color:#1762e8}

@media(max-width:1000px){.dtc-result-group>summary{grid-template-columns:minmax(200px,.8fr) minmax(380px,1.2fr) 20px}.dtc-result-products-head,.dtc-result-product{grid-template-columns:minmax(260px,2fr) 95px 145px 135px 82px;gap:8px}.dtc-result-details dl{grid-template-columns:repeat(3,1fr)}}
@media(max-width:780px){.dtc-result-summary{grid-template-columns:1fr 1fr}.dtc-result-toolbar{align-items:stretch;flex-direction:column}.dtc-result-toolbar>div:last-child{display:grid;grid-template-columns:1fr 1fr}.dtc-result-group>summary{grid-template-columns:1fr 20px}.dtc-result-group-stats{grid-column:1/-1;grid-template-columns:1fr 1fr}.dtc-result-products-head{display:none}.dtc-result-product{grid-template-columns:1fr 1fr;gap:9px 12px;padding:13px}.dtc-result-product-name{grid-column:1/-1}.dtc-result-product>div[data-label]::before{content:attr(data-label);display:block;margin-bottom:2px;color:#8a98a8;font-size:8px;font-weight:850;text-transform:uppercase}.dtc-result-native{grid-column:1}.dtc-result-unit{grid-column:2;grid-row:2/4;align-self:stretch;justify-content:center}.dtc-result-product>div:last-child{grid-column:1/-1}.dtc-result-more{width:100%}.dtc-result-details dl{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.dtc-result-summary{grid-template-columns:1fr 1fr}.dtc-result-summary>div{padding:11px}.dtc-result-summary small{font-size:8px}.dtc-result-summary b{font-size:14px}.dtc-result-search{align-items:stretch;flex-direction:column}.dtc-result-toolbar>div:last-child{grid-template-columns:1fr}.dtc-result-group>summary{padding:11px}.dtc-result-group-id{align-items:flex-start}.dtc-result-group-id>span{min-width:76px;height:31px;font-size:9px}.dtc-result-group-stats{grid-template-columns:1fr}.dtc-result-group-stats span{grid-template-columns:1fr auto;align-items:center}.dtc-result-product{grid-template-columns:1fr}.dtc-result-product-name,.dtc-result-native,.dtc-result-unit,.dtc-result-product>div:last-child{grid-column:1;grid-row:auto}.dtc-result-unit{padding:10px 12px}.dtc-result-unit b{font-size:21px}.dtc-result-details dl{grid-template-columns:1fr}.dtc-result-product-name strong{font-size:13px}}

@media print{.dtc-result-toolbar,.dtc-result-more{display:none!important}.dtc-result-summary{grid-template-columns:repeat(4,1fr)!important;gap:2mm!important}.dtc-result-summary>div{padding:2.5mm!important;border-radius:2mm!important}.dtc-result-group{break-inside:auto!important;box-shadow:none!important;margin-bottom:3mm!important}.dtc-result-group>summary{display:grid!important;grid-template-columns:55mm 1fr!important;padding:3mm!important}.dtc-result-group>summary>i{display:none!important}.dtc-result-group-stats{grid-template-columns:repeat(4,1fr)!important}.dtc-result-group-body{display:block!important}.dtc-result-products-head{display:grid!important;grid-template-columns:1fr 24mm 34mm 32mm!important}.dtc-result-products-head span:last-child{display:none!important}.dtc-result-product{display:grid!important;grid-template-columns:1fr 24mm 34mm 32mm!important;break-inside:avoid!important;padding:2.5mm 3mm!important;min-height:0!important}.dtc-result-product>div:last-child{display:none!important}.dtc-result-product-name{grid-template-columns:10mm 1fr!important}.dtc-result-product-name strong{font-size:8.5pt!important}.dtc-result-value b,.dtc-result-native b{font-size:8pt!important}.dtc-result-unit{padding:2mm!important}.dtc-result-unit b{font-size:13pt!important}.dtc-result-details{display:none!important}}


/* ============================================================
   DSRent 5.16.2 - DT calculator UI refinement
   ============================================================ */

/* More readable working width: do not spread dense financial tables across
   the full monitor, but keep enough room for 13-item customs positions. */
.dtc-page{
  --dtc-work-width: 1320px;
}
.dtc-page > .dtc-head,
.dtc-page > .dtc-steps,
.dtc-page > .dtc-card,
.dtc-page > .dtc-review,
.dtc-page > .dtc-section-title,
.dtc-page > .dtc-result-summary,
.dtc-page > .dtc-result-toolbar,
.dtc-page > .dtc-result-groups{
  max-width:var(--dtc-work-width);
  margin-left:auto;
  margin-right:auto;
}

/* Review controls feel like one compact working console instead of many
   unrelated blocks. */
.dtc-currency-strip{
  gap:8px!important;
  margin-bottom:8px!important;
}
.dtc-currency-strip>div{
  min-height:70px!important;
  padding:12px 14px!important;
  border-radius:13px!important;
}
.dtc-control{
  gap:8px!important;
  margin-bottom:12px!important;
}
.dtc-control>div{
  min-height:70px!important;
  padding:12px 14px!important;
  border-radius:13px!important;
}
.dtc-currency-strip small,
.dtc-control small{
  font-size:10px!important;
  letter-spacing:.01em;
}
.dtc-currency-strip b,
.dtc-control b{
  font-size:17px!important;
}

/* Toolbars stay immediately above the records they control. */
.dtc-groups-toolbar,
.dtc-result-toolbar{
  position:sticky;
  top:78px;
  z-index:18;
  gap:10px!important;
  margin:10px 0!important;
  padding:9px!important;
  border:1px solid #dce5ef!important;
  border-radius:14px!important;
  background:rgba(246,249,253,.95)!important;
  box-shadow:0 8px 24px rgba(30,53,82,.06)!important;
  backdrop-filter:blur(12px);
}
.dtc-groups-search input,
.dtc-result-search input{
  height:42px!important;
  border-radius:11px!important;
}
.dtc-groups-actions .btn,
.dtc-result-toolbar .btn{
  min-height:40px!important;
  padding:0 13px!important;
}

/* Customs position is the primary visual entity. */
.dtc-customs-groups,
.dtc-result-groups{
  gap:8px!important;
}
.dtc-customs-group,
.dtc-result-group{
  border-radius:14px!important;
  box-shadow:none!important;
}
.dtc-customs-group>summary,
.dtc-result-group>summary{
  min-height:68px!important;
  padding:10px 13px!important;
}
.dtc-group-number,
.dtc-result-group-number{
  min-width:86px!important;
  height:34px!important;
  border-radius:10px!important;
}
.dtc-group-metrics,
.dtc-result-group-metrics{
  gap:6px!important;
}
.dtc-group-metrics span,
.dtc-result-group-metric{
  padding:7px 8px!important;
  border-radius:9px!important;
}
.dtc-group-metrics small,
.dtc-result-group-metric small{
  font-size:8px!important;
}
.dtc-group-metrics b,
.dtc-result-group-metric b{
  font-size:11px!important;
}

/* Product rows: less vertical whitespace and better information hierarchy. */
.dtc-group-product,
.dtc-result-product{
  min-height:56px!important;
  padding-top:8px!important;
  padding-bottom:8px!important;
}
.dtc-group-product-name strong,
.dtc-result-product-name strong{
  font-size:12px!important;
  line-height:1.35!important;
}
.dtc-group-product-name small,
.dtc-result-product-name small{
  font-size:9px!important;
}
.dtc-result-unit{
  min-width:118px;
  padding:7px 9px!important;
  border-radius:10px!important;
}
.dtc-result-unit b{
  font-size:17px!important;
}
.dtc-result-unit span{
  font-size:9px!important;
}

/* Result summary: stronger focus on totals without oversized cards. */
.dtc-result-summary{
  gap:8px!important;
  margin-bottom:10px!important;
}
.dtc-result-summary>div{
  min-height:76px!important;
  padding:12px 14px!important;
  border-radius:13px!important;
}
.dtc-result-summary small{
  font-size:9px!important;
}
.dtc-result-summary b{
  font-size:18px!important;
}
.dtc-result-summary .accent b{
  font-size:20px!important;
}

/* Expenses are a compact table-like editor. */
.dtc-expenses{
  gap:7px!important;
}
.dtc-expense{
  min-height:50px!important;
}
.dtc-expense input,
.dtc-expense select{
  min-height:48px!important;
  border-radius:11px!important;
}

/* Sticky action bar remains visible on long declarations. */
.dtc-review-footer{
  bottom:10px!important;
  padding:9px!important;
  border-radius:14px!important;
}

/* "Подробнее" detail panels should read as secondary information. */
.dtc-result-details{
  padding:10px 14px 14px!important;
  background:#f8fbff!important;
}
.dtc-result-details dl{
  gap:7px!important;
}
.dtc-result-details dl>div{
  min-height:58px!important;
  padding:9px 11px!important;
  border-radius:10px!important;
}

/* Safari/mobile */
@media(max-width:900px){
  .dtc-groups-toolbar,
  .dtc-result-toolbar{
    position:static;
  }
  .dtc-currency-strip,
  .dtc-control{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:600px){
  .dtc-page{
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .dtc-currency-strip,
  .dtc-control{
    grid-template-columns:1fr!important;
  }
  .dtc-currency-strip>div,
  .dtc-control>div{
    min-height:auto!important;
  }
  .dtc-groups-actions,
  .dtc-result-toolbar>div:last-child{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  .dtc-groups-actions .btn,
  .dtc-result-toolbar .btn{
    width:100%!important;
  }
  .dtc-customs-group>summary,
  .dtc-result-group>summary{
    padding:12px!important;
  }
  .dtc-result-summary{
    grid-template-columns:1fr 1fr!important;
  }
  .dtc-result-summary .accent{
    grid-column:1/-1;
  }
  .dtc-expense{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
  }
  .dtc-expense input,
  .dtc-expense select{
    width:100%!important;
  }
  .dtc-review-footer{
    position:static!important;
  }
}

/* Real print layout. All accordions/details are opened by local JS before
   window.print(), so Safari receives a complete report. */
@media print{
  @page{size:A4 portrait;margin:10mm 9mm 11mm}

  html.dtc-printing,
  html.dtc-printing body{
    background:#fff!important;
  }

  html.dtc-printing .site-header,
  html.dtc-printing .site-footer,
  html.dtc-printing .dtc-head,
  html.dtc-printing .dtc-steps,
  html.dtc-printing .dtc-result-toolbar,
  html.dtc-printing .dtc-groups-toolbar,
  html.dtc-printing .no-print,
  html.dtc-printing button{
    display:none!important;
  }

  html.dtc-printing main,
  html.dtc-printing .dtc-page{
    width:auto!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }

  html.dtc-printing .dtc-section-title{
    margin:0 0 5mm!important;
  }

  html.dtc-printing .dtc-result-summary{
    display:grid!important;
    grid-template-columns:repeat(4,1fr)!important;
    gap:2mm!important;
    margin-bottom:4mm!important;
  }

  html.dtc-printing .dtc-result-summary>div{
    min-height:0!important;
    padding:2.5mm!important;
    border:1px solid #d8e1ea!important;
  }

  html.dtc-printing .dtc-result-group{
    display:block!important;
    margin:0 0 4mm!important;
    border:1px solid #ced9e4!important;
    border-radius:3mm!important;
    box-shadow:none!important;
    break-inside:auto!important;
    page-break-inside:auto!important;
  }

  html.dtc-printing .dtc-result-group>summary{
    display:grid!important;
    min-height:0!important;
    padding:2.5mm 3mm!important;
    background:#f5f8fb!important;
    border-bottom:1px solid #dce4ec!important;
  }

  html.dtc-printing .dtc-result-group-body{
    display:block!important;
  }

  html.dtc-printing .dtc-result-product{
    display:grid!important;
    min-height:0!important;
    padding:2.3mm 3mm!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
    font-size:8.5pt!important;
  }

  html.dtc-printing .dtc-result-product-name strong{
    font-size:8.5pt!important;
    line-height:1.25!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }

  html.dtc-printing .dtc-result-unit{
    padding:2mm!important;
  }
  html.dtc-printing .dtc-result-unit b{
    font-size:12pt!important;
  }

  html.dtc-printing .dtc-result-details{
    display:block!important;
    padding:2mm 3mm 3mm!important;
    break-inside:avoid!important;
    page-break-inside:avoid!important;
  }

  html.dtc-printing .dtc-result-details dl{
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    gap:1.5mm!important;
  }

  html.dtc-printing .dtc-result-details dl>div{
    min-height:0!important;
    padding:2mm!important;
    border:1px solid #e2e8ee!important;
  }
}


/* ============================================================
   DSRent 5.16.3 — result UX refinement
   "Подробнее" now belongs to the unit-cost panel.
   ============================================================ */

.dtc-result-products-head,
.dtc-result-product{
  grid-template-columns:
    minmax(390px, 2.8fr)
    minmax(105px, .72fr)
    minmax(175px, 1fr)
    minmax(230px, 1.28fr)!important;
  gap:14px!important;
}

.dtc-result-products-head{
  padding:8px 15px!important;
}

.dtc-result-product{
  align-items:center!important;
  min-height:62px!important;
  padding:9px 15px!important;
}

.dtc-result-product-name{
  min-width:0!important;
}
.dtc-result-product-name>div{
  min-width:0!important;
}
.dtc-result-product-name strong{
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  white-space:normal!important;
  line-height:1.34!important;
  text-overflow:ellipsis!important;
}

/* Price block + action are one component. */
.dtc-result-unit{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:stretch!important;
  gap:9px!important;
  min-width:0!important;
  padding:7px!important;
  border:1px solid #d7e6f8!important;
  border-radius:12px!important;
  background:#eef6ff!important;
}

.dtc-result-unit-value{
  display:grid!important;
  align-content:center!important;
  min-width:0!important;
  padding:1px 3px!important;
}

.dtc-result-unit-value small{
  color:#6f8197!important;
  font-size:8px!important;
  font-weight:700!important;
  line-height:1.1!important;
}

.dtc-result-unit-value b{
  margin:1px 0!important;
  color:#1762e8!important;
  font-size:18px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
}

.dtc-result-unit-value span{
  overflow:hidden!important;
  color:#7c8b9d!important;
  font-size:9px!important;
  line-height:1.15!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.dtc-result-more{
  align-self:stretch!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:88px!important;
  min-height:40px!important;
  margin:0!important;
  padding:0 10px!important;
  border:1px solid #bcd2ed!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#344a63!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}

.dtc-result-more:hover{
  border-color:#83b3ee!important;
  background:#fbfdff!important;
  color:#1762e8!important;
}

.dtc-result-more[aria-expanded="true"]{
  border-color:#9dc2ef!important;
  background:#e8f2ff!important;
  color:#1762e8!important;
}

/* Secondary details visually attach to their SKU. */
.dtc-result-details{
  margin-top:-1px!important;
  padding:10px 14px 13px!important;
  border-top:1px dashed #d9e4ef!important;
  background:#f8fbfe!important;
}
.dtc-result-details[hidden]{
  display:none!important;
}
.dtc-result-details dl{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
}
.dtc-result-details dl>div{
  min-height:54px!important;
  padding:8px 9px!important;
  border-radius:9px!important;
}

/* Give more room to the actual product, reduce visual noise in group totals. */
.dtc-result-group>summary{
  min-height:64px!important;
}
.dtc-result-group-stats{
  gap:5px!important;
}
.dtc-result-group-stats span{
  padding:6px 8px!important;
}
.dtc-result-group-stats small{
  font-size:8px!important;
}
.dtc-result-group-stats b{
  font-size:11px!important;
}

/* Medium desktop/laptop. */
@media(max-width:1180px){
  .dtc-result-products-head,
  .dtc-result-product{
    grid-template-columns:
      minmax(285px, 2.3fr)
      minmax(92px, .7fr)
      minmax(150px, 1fr)
      minmax(205px, 1.28fr)!important;
    gap:10px!important;
  }

  .dtc-result-unit-value b{
    font-size:16px!important;
  }

  .dtc-result-more{
    min-width:78px!important;
    padding:0 8px!important;
  }
}

/* Tablet: no horizontal table squeeze. */
@media(max-width:880px){
  .dtc-result-products-head{
    display:none!important;
  }

  .dtc-result-product{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(150px,.75fr)!important;
    grid-template-areas:
      "product product"
      "qty native"
      "unit unit"!important;
    gap:9px 12px!important;
    padding:12px!important;
  }

  .dtc-result-product-name{
    grid-area:product!important;
  }

  .dtc-result-product>.dtc-result-value{
    grid-area:qty!important;
  }

  .dtc-result-product>.dtc-result-native{
    grid-area:native!important;
  }

  .dtc-result-unit{
    grid-area:unit!important;
    width:100%!important;
  }

  .dtc-result-value::before,
  .dtc-result-native::before{
    display:block!important;
    margin-bottom:3px!important;
    color:#8997a8!important;
    font-size:8px!important;
    font-weight:800!important;
    text-transform:uppercase!important;
  }
  .dtc-result-value::before{content:"Количество"!important}
  .dtc-result-native::before{content:"Цена по ДТ"!important}

  .dtc-result-details dl{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Phone: cost/action is a full-width bottom panel. */
@media(max-width:540px){
  .dtc-result-product{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "product"
      "qty"
      "native"
      "unit"!important;
    gap:8px!important;
    padding:11px!important;
  }

  .dtc-result-product-name strong{
    -webkit-line-clamp:3!important;
    font-size:13px!important;
  }

  .dtc-result-unit{
    grid-template-columns:1fr!important;
    gap:7px!important;
    padding:9px!important;
  }

  .dtc-result-unit-value b{
    font-size:20px!important;
  }

  .dtc-result-more{
    width:100%!important;
    min-height:42px!important;
  }

  .dtc-result-details{
    padding:9px 11px 12px!important;
  }

  .dtc-result-details dl{
    grid-template-columns:1fr!important;
  }
}

/* Print/PDF: action disappears but cost remains aligned. */
@media print{
  html.dtc-printing .dtc-result-products-head,
  html.dtc-printing .dtc-result-product{
    grid-template-columns:
      minmax(0,2.5fr)
      27mm
      41mm
      43mm!important;
    gap:2.5mm!important;
  }

  html.dtc-printing .dtc-result-unit{
    display:block!important;
    padding:2mm!important;
    border:1px solid #d7e2ed!important;
    background:#f5f8fc!important;
  }

  html.dtc-printing .dtc-result-more{
    display:none!important;
  }

  html.dtc-printing .dtc-result-unit-value b{
    font-size:12pt!important;
  }

  html.dtc-printing .dtc-result-details dl{
    grid-template-columns:repeat(4,1fr)!important;
  }
}


/* DSRent 5.16.4 — reversible review and manual price override */
.dtc-steps a{text-decoration:none!important}
.dtc-steps .can-return{cursor:pointer!important}
.dtc-steps .can-return:hover{border-color:#99bdf0!important;background:#e7f1ff!important;color:#1762e8!important}

.dtc-result-actions{display:flex!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}
.dtc-back-review{border-color:#b9d0ec!important;background:#f8fbff!important}

.dtc-good-edit-panel label>small{display:block;margin-top:5px;color:#8190a2;font-size:9px;line-height:1.35}
.dtc-price-edit.is-manual input{border-color:#7facf0!important;box-shadow:0 0 0 3px rgba(47,112,224,.09)!important;background:#fbfdff!important}
.dtc-price-edit.is-manual::after{content:"изменено вручную";display:inline-flex;margin-top:5px;padding:3px 6px;border-radius:999px;background:#fff2d9;color:#9a6500;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}

.dtc-manual-price-note{padding:10px 12px;border:1px solid #d7e5f5;border-radius:10px;background:#f5f9fe;color:#64778e;font-size:10px;line-height:1.45}
.dtc-manual-price-note.wide{grid-column:1/-1}

@media(max-width:720px){
  .dtc-result-actions{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important}
  .dtc-result-actions .dtc-back-review{grid-column:1/-1!important}
  .dtc-result-actions .btn{width:100%!important;justify-content:center!important}
}
@media(max-width:460px){
  .dtc-result-actions{grid-template-columns:1fr!important}
  .dtc-result-actions .dtc-back-review{grid-column:1!important}
}


/* ============================================================
   DSRent 5.16.5 — reliable signed return to review
   ============================================================ */

.dtc-step-return-form{
  display:contents;
}
.dtc-step-return-form button{
  appearance:none;
  -webkit-appearance:none;
  font:inherit;
}
.dtc-step-return-form .can-return{
  border:0;
  cursor:pointer;
}
.dtc-step-return-form .can-return:hover{
  color:#1762e8!important;
}

.dtc-back-review-form{
  display:inline-flex;
  margin:0;
}
.dtc-back-review-form .btn{
  height:100%;
}

@media(max-width:720px){
  .dtc-back-review-form{
    display:flex;
    width:100%;
    grid-column:1/-1;
  }
  .dtc-back-review-form .btn{
    width:100%;
  }
}

@media print{
  html.dtc-printing .dtc-step-return-form,
  html.dtc-printing .dtc-back-review-form{
    display:none!important;
  }
}


/* ============================================================
   DSRent 5.16.6 — persistent manual edits
   ============================================================ */
.dtc-group-edit.is-dirty{
  position:relative;
  box-shadow:inset 3px 0 0 #f0a51a;
}
.dtc-group-edit.is-dirty::before{
  content:"Изменения будут учтены при расчёте";
  display:inline-flex;
  margin:0 0 8px;
  padding:4px 8px;
  border-radius:999px;
  background:#fff4dc;
  color:#8a5b00;
  font-size:9px;
  font-weight:800;
}


/* ============================================================
   DSRent 5.16.7 — XLSX export
   ============================================================ */
.dtc-xlsx-export-form{
  display:inline-flex;
  margin:0;
}
.dtc-xlsx-export{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-height:44px!important;
  padding:0 16px!important;
  white-space:nowrap!important;
}
.dtc-xlsx-export::before{
  content:"XLSX";
  display:inline-grid;
  place-items:center;
  min-width:36px;
  height:24px;
  padding:0 5px;
  border-radius:6px;
  background:rgba(255,255,255,.18);
  font-size:8px;
  font-weight:900;
  letter-spacing:.04em;
}
@media(max-width:720px){
  .dtc-xlsx-export-form{display:flex;width:100%}
  .dtc-xlsx-export-form .btn{width:100%}
}


/* ============================================================
   DSRent 5.16.8 — stability hotfix
   ============================================================ */

.dtc-xlsx-export-form,
.dtc-back-review-form{
  margin:0!important;
}

/* Do not let nested action forms alter layout of the result header. */
.dtc-result-actions form{
  display:inline-flex;
  min-width:0;
}

.dtc-result-actions button,
.dtc-result-actions .btn{
  white-space:nowrap;
}

/* When a browser restores the page, disabled visual state must be obvious. */
.dtc-review-footer .dtc-primary:disabled{
  pointer-events:none!important;
  opacity:.45!important;
}

@media(max-width:720px){
  .dtc-result-actions form{
    display:flex;
    width:100%;
  }
}


/* ============================================================
   DSRent 5.16.9 — review stage grid / button polish
   ============================================================ */

/* Position header: four financial metrics are exactly four columns. */
.dtc-customs-group>summary{
  grid-template-columns:minmax(260px,.92fr) minmax(620px,1.55fr) 24px!important;
  gap:16px!important;
  padding:13px 16px!important;
}
.dtc-group-metrics{
  grid-template-columns:repeat(4,minmax(130px,1fr))!important;
  gap:7px!important;
}
.dtc-group-metrics span{
  min-height:54px!important;
  align-content:center!important;
  padding:7px 10px!important;
  border:1px solid #edf1f6!important;
  border-radius:10px!important;
  background:#f6f8fb!important;
}
.dtc-group-metrics small{
  font-size:8px!important;
  line-height:1.15!important;
  letter-spacing:.02em!important;
}
.dtc-group-metrics b{
  margin-top:2px!important;
  font-size:11px!important;
  line-height:1.2!important;
}

/* Product list: balanced desktop grid. The product title gets priority. */
.dtc-group-table-head,
.dtc-group-product{
  grid-template-columns:
    minmax(360px,2.75fr)
    minmax(100px,.72fr)
    minmax(105px,.72fr)
    minmax(175px,1.1fr)
    minmax(185px,1.18fr)
    minmax(104px,.72fr)!important;
  gap:12px!important;
}
.dtc-group-table-head{
  padding:9px 16px!important;
  background:#fbfcfe!important;
}
.dtc-group-product{
  min-height:68px!important;
  padding:10px 16px!important;
}
.dtc-group-product-name strong{
  font-size:12px!important;
  line-height:1.32!important;
}
.dtc-group-value{
  color:#1c2c40!important;
  font-weight:650!important;
  white-space:nowrap!important;
}
.dtc-price-native b{
  font-size:14px!important;
  white-space:nowrap!important;
}
.dtc-price-native small{
  margin-top:3px!important;
  font-size:10px!important;
}
.dtc-group-product-payments{
  gap:4px!important;
}
.dtc-group-product-payments span{
  align-items:center!important;
  min-height:20px!important;
}
.dtc-group-product-payments small{
  font-size:9px!important;
}
.dtc-group-action{
  display:flex!important;
  justify-content:flex-end!important;
  align-items:center!important;
}

/* IMPORTANT: override the site's global button:hover rule.
   Text must remain readable on hover/focus/expanded state. */
.dtc-edit-toggle,
button.dtc-edit-toggle{
  min-width:92px!important;
  min-height:38px!important;
  padding:0 12px!important;
  border:1px solid #bfd1e5!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#31516f!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:850!important;
  transition:
    background-color .15s ease,
    border-color .15s ease,
    color .15s ease,
    box-shadow .15s ease!important;
}
.dtc-edit-toggle:hover,
button.dtc-edit-toggle:hover{
  border-color:#8db7ed!important;
  background:#edf5ff!important;
  color:#1762e8!important;
  box-shadow:0 0 0 3px rgba(23,98,232,.07)!important;
}
.dtc-edit-toggle:focus-visible,
button.dtc-edit-toggle:focus-visible{
  outline:0!important;
  border-color:#67a0ee!important;
  background:#f5f9ff!important;
  color:#145acb!important;
  box-shadow:0 0 0 4px rgba(23,98,232,.14)!important;
}
.dtc-edit-toggle[aria-expanded="true"],
button.dtc-edit-toggle[aria-expanded="true"]{
  border-color:#8bb5ec!important;
  background:#e7f1ff!important;
  color:#145acb!important;
}
.dtc-edit-toggle[aria-expanded="true"]:hover,
button.dtc-edit-toggle[aria-expanded="true"]:hover{
  border-color:#6b9fe6!important;
  background:#dcecff!important;
  color:#0e4fb9!important;
}

/* Expanded editor: semantic 12-column layout.
   Row 1: description / HS / qty / net.
   Row 2: calculation price / RUB / box 45.
   Row 3: duty / VAT / other customs payments. */
.dtc-group-edit{
  padding:0!important;
  background:#f8fafc!important;
}
.dtc-good-edit-panel{
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:12px!important;
  padding:18px 22px 20px!important;
  border-top:1px solid #edf2f7!important;
  border-bottom:1px solid #e1e8f0!important;
  background:
    linear-gradient(180deg,#f9fbfd 0%,#f7f9fc 100%)!important;
}
.dtc-good-edit-panel label{
  gap:6px!important;
  color:#566a82!important;
  font-size:10px!important;
  font-weight:800!important;
  line-height:1.25!important;
}
.dtc-good-edit-panel input{
  min-height:44px!important;
  padding:0 12px!important;
  border:1px solid #cbd8e6!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#132238!important;
  font-size:12px!important;
  font-weight:700!important;
}
.dtc-good-edit-panel input:focus{
  outline:0!important;
  border-color:#7daaea!important;
  box-shadow:0 0 0 3px rgba(23,98,232,.08)!important;
}
.dtc-good-edit-panel input[readonly]{
  border-color:#dbe3ec!important;
  background:#f1f5f9!important;
  color:#53667d!important;
}
.dtc-good-edit-panel label>small{
  min-height:24px!important;
  margin-top:0!important;
  color:#8190a3!important;
  font-size:9px!important;
  line-height:1.3!important;
}

/* Explicit desktop placement */
.dtc-edit-desc{grid-column:span 6!important}
.dtc-edit-hs{grid-column:span 2!important}
.dtc-edit-qty{grid-column:span 2!important}
.dtc-edit-net{grid-column:span 2!important}

.dtc-edit-price{grid-column:span 4!important}
.dtc-edit-rub{grid-column:span 4!important}
.dtc-edit-customs{grid-column:span 4!important}

.dtc-edit-duty{grid-column:span 4!important}
.dtc-edit-vat{grid-column:span 4!important}
.dtc-edit-other{grid-column:span 4!important}

.dtc-manual-price-note.wide{
  grid-column:1/-1!important;
  margin-top:2px!important;
  padding:10px 12px!important;
  border:1px solid #dce6f2!important;
  border-radius:10px!important;
  background:#f1f6fc!important;
  color:#64778d!important;
  font-size:9px!important;
  line-height:1.45!important;
}

/* Laptop widths: financial metrics wrap 2×2 rather than squeezing. */
@media(max-width:1280px){
  .dtc-customs-group>summary{
    grid-template-columns:minmax(245px,.82fr) minmax(470px,1.25fr) 22px!important;
  }
  .dtc-group-metrics{
    grid-template-columns:repeat(2,minmax(145px,1fr))!important;
  }
  .dtc-group-table-head,
  .dtc-group-product{
    grid-template-columns:
      minmax(285px,2.35fr)
      92px
      96px
      minmax(145px,1fr)
      minmax(165px,1.15fr)
      96px!important;
    gap:9px!important;
  }
}

/* Tablet: product rows become cards, editor becomes two columns. */
@media(max-width:940px){
  .dtc-customs-group>summary{
    grid-template-columns:1fr 22px!important;
    gap:10px!important;
  }
  .dtc-group-ident{
    grid-column:1!important;
  }
  .dtc-group-metrics{
    grid-column:1/-1!important;
    grid-row:2!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .dtc-group-chevron{
    grid-column:2!important;
    grid-row:1!important;
  }

  .dtc-group-table-head{
    display:none!important;
  }
  .dtc-group-product{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    grid-template-areas:
      "product product"
      "qty net"
      "price payments"
      "action action"!important;
    gap:10px 14px!important;
    padding:14px 16px!important;
  }
  .dtc-group-product-name{grid-area:product!important}
  .dtc-group-qty{grid-area:qty!important}
  .dtc-group-net{grid-area:net!important}
  .dtc-price-native{grid-area:price!important}
  .dtc-group-product-payments{grid-area:payments!important}
  .dtc-group-action{grid-area:action!important;justify-content:flex-end!important}

  .dtc-group-qty::before,
  .dtc-group-net::before,
  .dtc-price-native::before,
  .dtc-group-product-payments::before{
    display:block!important;
    margin-bottom:4px!important;
    color:#8a98a9!important;
    font-size:8px!important;
    font-weight:850!important;
    text-transform:uppercase!important;
  }
  .dtc-group-qty::before{content:"Количество"!important}
  .dtc-group-net::before{content:"Нетто"!important}
  .dtc-price-native::before{content:"Цена по ДТ"!important}
  .dtc-group-product-payments::before{content:"Платежи"!important}

  .dtc-good-edit-panel{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding:16px!important;
  }
  .dtc-edit-desc,
  .dtc-edit-hs,
  .dtc-edit-qty,
  .dtc-edit-net,
  .dtc-edit-price,
  .dtc-edit-rub,
  .dtc-edit-customs,
  .dtc-edit-duty,
  .dtc-edit-vat,
  .dtc-edit-other{
    grid-column:span 1!important;
  }
  .dtc-edit-desc,
  .dtc-manual-price-note.wide{
    grid-column:1/-1!important;
  }
}

/* Phone: one clean vertical card, no horizontal scrolling. */
@media(max-width:560px){
  .dtc-customs-group{
    border-radius:14px!important;
  }
  .dtc-customs-group>summary{
    padding:12px!important;
  }
  .dtc-group-number{
    min-width:auto!important;
    height:34px!important;
    padding:0 9px!important;
  }
  .dtc-group-ident b{font-size:13px!important}
  .dtc-group-ident small{font-size:10px!important}
  .dtc-group-metrics{
    grid-template-columns:1fr 1fr!important;
    gap:6px!important;
  }
  .dtc-group-metrics span{
    min-height:50px!important;
    padding:7px 8px!important;
  }

  .dtc-group-product{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "product"
      "qty"
      "net"
      "price"
      "payments"
      "action"!important;
    gap:8px!important;
    padding:13px!important;
  }
  .dtc-group-action{
    justify-content:stretch!important;
  }
  .dtc-edit-toggle,
  button.dtc-edit-toggle{
    width:100%!important;
    min-height:42px!important;
  }

  .dtc-good-edit-panel{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:14px!important;
  }
  .dtc-edit-desc,
  .dtc-edit-hs,
  .dtc-edit-qty,
  .dtc-edit-net,
  .dtc-edit-price,
  .dtc-edit-rub,
  .dtc-edit-customs,
  .dtc-edit-duty,
  .dtc-edit-vat,
  .dtc-edit-other,
  .dtc-manual-price-note.wide{
    grid-column:1!important;
  }
}


/* ============================================================
   DSRent 5.16.10 — review layout rebuild
   Goal: every control must remain inside the viewport/container.
   ============================================================ */

/* Universal sizing guard for the calculator. */
.dtc-page *,
.dtc-page *::before,
.dtc-page *::after{
  box-sizing:border-box!important;
}
.dtc-customs-group,
.dtc-group-table-head,
.dtc-group-product,
.dtc-group-edit,
.dtc-good-edit-panel,
.dtc-group-metrics,
.dtc-group-product>*,
.dtc-good-edit-panel>*{
  min-width:0!important;
  max-width:100%!important;
}

/* ------------------------------------------------------------
   POSITION HEADER
   ------------------------------------------------------------ */

.dtc-customs-group>summary{
  display:grid!important;
  grid-template-columns:minmax(220px,1.05fr) minmax(0,2.15fr) 22px!important;
  align-items:center!important;
  width:100%!important;
  gap:14px!important;
  padding:12px 14px!important;
  overflow:hidden!important;
}

.dtc-group-ident{
  min-width:0!important;
}
.dtc-group-ident>div{
  min-width:0!important;
}
.dtc-group-ident b{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.dtc-group-metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;
  gap:7px!important;
}
.dtc-group-metrics span{
  display:grid!important;
  align-content:center!important;
  min-width:0!important;
  min-height:52px!important;
  padding:7px 9px!important;
  overflow:hidden!important;
}
.dtc-group-metrics small,
.dtc-group-metrics b{
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
.dtc-group-metrics b{
  white-space:nowrap!important;
}

/* ------------------------------------------------------------
   PRODUCT TABLE — DESKTOP
   Everything is expressed in fractions; only action has fixed width.
   ------------------------------------------------------------ */

.dtc-group-table-head,
.dtc-group-product{
  display:grid!important;
  width:100%!important;
  grid-template-columns:
    minmax(0,2.65fr)
    minmax(0,.62fr)
    minmax(0,.68fr)
    minmax(0,1.02fr)
    minmax(0,1.18fr)
    92px!important;
  column-gap:12px!important;
}

.dtc-group-table-head{
  align-items:center!important;
  padding:9px 14px!important;
  overflow:hidden!important;
}
.dtc-group-table-head>*{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.dtc-group-product{
  align-items:center!important;
  padding:10px 14px!important;
  overflow:hidden!important;
}

.dtc-group-product-name{
  min-width:0!important;
}
.dtc-group-product-name>div{
  min-width:0!important;
}
.dtc-group-product-name strong{
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  white-space:normal!important;
  word-break:break-word!important;
}
.dtc-group-product-name small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.dtc-group-value,
.dtc-price-native,
.dtc-group-product-payments{
  min-width:0!important;
  overflow:hidden!important;
}

.dtc-group-value{
  font-size:12px!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

.dtc-price-native b,
.dtc-price-native small{
  display:block!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

.dtc-group-product-payments{
  display:grid!important;
  gap:4px!important;
}
.dtc-group-product-payments span{
  display:grid!important;
  grid-template-columns:minmax(52px,.8fr) minmax(0,1.2fr)!important;
  align-items:center!important;
  gap:6px!important;
  min-width:0!important;
}
.dtc-group-product-payments small,
.dtc-group-product-payments b{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.dtc-group-product-payments b{
  text-align:right!important;
}

.dtc-group-action{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  overflow:visible!important;
}
.dtc-edit-toggle,
button.dtc-edit-toggle{
  width:92px!important;
  min-width:92px!important;
  max-width:92px!important;
  min-height:38px!important;
  padding:0 8px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* ------------------------------------------------------------
   EXPANDED EDITOR
   Compact semantic 12-column system.
   ------------------------------------------------------------ */

.dtc-group-edit{
  width:100%!important;
  overflow:hidden!important;
}
.dtc-good-edit-panel{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  width:100%!important;
  gap:12px!important;
  padding:16px 18px 18px!important;
  overflow:hidden!important;
}

.dtc-good-edit-panel label{
  display:grid!important;
  align-content:start!important;
  min-width:0!important;
  margin:0!important;
}
.dtc-good-edit-panel input,
.dtc-good-edit-panel select,
.dtc-good-edit-panel textarea{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  height:44px!important;
  min-height:44px!important;
  margin:0!important;
}

.dtc-edit-desc{grid-column:span 6!important}
.dtc-edit-hs{grid-column:span 2!important}
.dtc-edit-qty{grid-column:span 2!important}
.dtc-edit-net{grid-column:span 2!important}

.dtc-edit-price{grid-column:span 4!important}
.dtc-edit-rub{grid-column:span 4!important}
.dtc-edit-customs{grid-column:span 4!important}

.dtc-edit-duty{grid-column:span 4!important}
.dtc-edit-vat{grid-column:span 4!important}
.dtc-edit-other{grid-column:span 4!important}

.dtc-good-edit-panel label>small{
  min-height:0!important;
  margin-top:5px!important;
  overflow-wrap:anywhere!important;
}

/* ------------------------------------------------------------
   1100px: still desktop/table, but header metrics become 2x2.
   ------------------------------------------------------------ */
@media(max-width:1100px){
  .dtc-customs-group>summary{
    grid-template-columns:minmax(200px,.9fr) minmax(0,1.55fr) 22px!important;
  }
  .dtc-group-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .dtc-group-table-head,
  .dtc-group-product{
    grid-template-columns:
      minmax(0,2.35fr)
      minmax(0,.64fr)
      minmax(0,.68fr)
      minmax(0,1fr)
      minmax(0,1.08fr)
      88px!important;
    column-gap:9px!important;
  }

  .dtc-group-action,
  .dtc-edit-toggle,
  button.dtc-edit-toggle{
    width:88px!important;
    min-width:88px!important;
    max-width:88px!important;
  }

  .dtc-good-edit-panel{
    gap:10px!important;
    padding:15px!important;
  }
}

/* ------------------------------------------------------------
   TABLET — card layout starts before the table becomes cramped.
   ------------------------------------------------------------ */
@media(max-width:860px){
  .dtc-customs-group>summary{
    grid-template-columns:minmax(0,1fr) 22px!important;
    gap:9px!important;
  }
  .dtc-group-ident{
    grid-column:1!important;
  }
  .dtc-group-chevron{
    grid-column:2!important;
    grid-row:1!important;
  }
  .dtc-group-metrics{
    grid-column:1/-1!important;
    grid-row:2!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  .dtc-group-table-head{
    display:none!important;
  }

  .dtc-group-product{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:
      "product product"
      "qty net"
      "price payments"
      "action action"!important;
    gap:10px 14px!important;
    width:100%!important;
    padding:13px 14px!important;
    overflow:visible!important;
  }

  .dtc-group-product-name{grid-area:product!important}
  .dtc-group-qty{grid-area:qty!important}
  .dtc-group-net{grid-area:net!important}
  .dtc-price-native{grid-area:price!important}
  .dtc-group-product-payments{grid-area:payments!important}
  .dtc-group-action{
    grid-area:action!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    justify-content:flex-end!important;
  }

  .dtc-group-qty::before,
  .dtc-group-net::before,
  .dtc-price-native::before,
  .dtc-group-product-payments::before{
    display:block!important;
    margin-bottom:4px!important;
    color:#8a98a9!important;
    font-size:8px!important;
    font-weight:850!important;
    text-transform:uppercase!important;
  }
  .dtc-group-qty::before{content:"Количество"!important}
  .dtc-group-net::before{content:"Нетто"!important}
  .dtc-price-native::before{content:"Цена по ДТ"!important}
  .dtc-group-product-payments::before{content:"Платежи"!important}

  .dtc-edit-toggle,
  button.dtc-edit-toggle{
    width:auto!important;
    min-width:112px!important;
    max-width:none!important;
  }

  .dtc-good-edit-panel{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px 12px!important;
    padding:14px!important;
  }

  .dtc-edit-desc,
  .dtc-edit-hs,
  .dtc-edit-qty,
  .dtc-edit-net,
  .dtc-edit-price,
  .dtc-edit-rub,
  .dtc-edit-customs,
  .dtc-edit-duty,
  .dtc-edit-vat,
  .dtc-edit-other{
    grid-column:span 1!important;
  }
  .dtc-edit-desc,
  .dtc-manual-price-note.wide{
    grid-column:1/-1!important;
  }
}

/* ------------------------------------------------------------
   PHONE — one column, full-width actions.
   ------------------------------------------------------------ */
@media(max-width:560px){
  .dtc-customs-group>summary{
    padding:11px!important;
  }

  .dtc-group-ident{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:9px!important;
  }

  .dtc-group-metrics{
    grid-template-columns:1fr!important;
  }

  .dtc-group-product{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "product"
      "qty"
      "net"
      "price"
      "payments"
      "action"!important;
    gap:8px!important;
    padding:12px!important;
  }

  .dtc-group-product-payments span{
    grid-template-columns:minmax(70px,.8fr) minmax(0,1.2fr)!important;
  }

  .dtc-group-action{
    justify-content:stretch!important;
  }

  .dtc-edit-toggle,
  button.dtc-edit-toggle{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:42px!important;
  }

  .dtc-good-edit-panel{
    grid-template-columns:1fr!important;
    padding:12px!important;
  }

  .dtc-edit-desc,
  .dtc-edit-hs,
  .dtc-edit-qty,
  .dtc-edit-net,
  .dtc-edit-price,
  .dtc-edit-rub,
  .dtc-edit-customs,
  .dtc-edit-duty,
  .dtc-edit-vat,
  .dtc-edit-other,
  .dtc-manual-price-note.wide{
    grid-column:1!important;
  }

  .dtc-good-edit-panel input{
    height:46px!important;
    min-height:46px!important;
    font-size:14px!important;
  }
}


/* ============================================================
   DSRent 5.16.11 — Admin reference directories / TN VED
   ============================================================ */
.admin-ref-page{max-width:1440px;margin:0 auto;padding:36px 34px 70px}
.admin-ref-head{display:flex;align-items:end;justify-content:space-between;gap:22px}
.admin-ref-actions{display:flex;gap:8px;flex-wrap:wrap}
.admin-ref-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
.admin-ref-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;padding:24px;border:1px solid #dce5ef;border-radius:18px;background:#fff;color:#17263a;text-decoration:none;box-shadow:0 10px 30px rgba(31,53,80,.05)}
.admin-ref-card:hover{border-color:#a9c9ef;box-shadow:0 14px 34px rgba(31,88,170,.08)}
.admin-ref-card.is-planned{opacity:.7;pointer-events:none}
.admin-ref-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#edf5ff;color:#1762e8;font-weight:900}
.admin-ref-card small{color:#8796a8;font-size:10px;font-weight:800;text-transform:uppercase}
.admin-ref-card h2{margin:3px 0 5px;font-size:22px}
.admin-ref-card p{margin:0;color:#6d7f94;line-height:1.45}
.admin-ref-meta{display:flex;gap:16px;margin-top:10px;color:#50657d}
.admin-ref-arrow{font-size:24px;color:#1762e8}

.admin-ref-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.admin-ref-stats>div,.admin-ref-stat{padding:14px 16px;border:1px solid #dce5ef;border-radius:14px;background:#fff}
.admin-ref-stats small,.admin-ref-stat small{display:block;color:#8796a8;font-size:9px;font-weight:800;text-transform:uppercase}
.admin-ref-stats b,.admin-ref-stat b{display:block;margin-top:3px;font-size:20px;color:#17263a}

.admin-ref-toolbar{display:flex;gap:10px;align-items:start;justify-content:space-between;margin:14px 0}
.admin-ref-search{display:grid;grid-template-columns:minmax(260px,1fr) 190px auto;gap:8px;flex:1}
.admin-ref-search input,.admin-ref-search select,.admin-ref-create input,.admin-ref-create select,.admin-ref-form-grid input,.admin-ref-form-grid textarea,.admin-ref-add-product input,.admin-ref-product-row input{width:100%;min-width:0;border:1px solid #cfdbe7;border-radius:10px;background:#fff;padding:0 12px;min-height:42px;font:inherit}
.admin-ref-create{position:relative}
.admin-ref-create>summary{list-style:none;cursor:pointer}
.admin-ref-create>summary::-webkit-details-marker{display:none}
.admin-ref-create[open]>form{position:absolute;z-index:30;right:0;top:48px;width:360px;padding:14px;border:1px solid #d8e3ee;border-radius:14px;background:#fff;box-shadow:0 18px 50px rgba(25,45,70,.16)}
.admin-ref-create form{display:grid;gap:9px}
.admin-ref-create label,.admin-ref-form-grid label{display:grid;gap:5px;color:#53677f;font-size:10px;font-weight:800}

.admin-ref-import{margin:12px 0;border:1px solid #dce5ef;border-radius:14px;background:#fff}
.admin-ref-import>summary{cursor:pointer;padding:14px 16px;font-weight:850;color:#2b4058}
.admin-ref-import-body{padding:0 16px 16px;border-top:1px solid #edf1f5}
.admin-ref-import-body form{display:grid;grid-template-columns:minmax(240px,1fr) minmax(320px,1.2fr) auto;gap:10px;align-items:center;margin-top:14px}
.admin-ref-import-body p{margin:10px 0 0;color:#78889b;font-size:11px}
.admin-ref-import-body code{font-size:10px}
.checkline{display:flex!important;align-items:center;gap:7px!important;font-size:11px!important;font-weight:650!important}
.checkline input{width:auto!important;min-height:0!important}

.admin-ref-official-note{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:12px 0 16px;padding:15px 17px;border:1px solid #cfe0f3;border-radius:14px;background:#f4f9ff}
.admin-ref-official-note b{color:#1e3d61}
.admin-ref-official-note p{margin:3px 0 0;color:#6c7f95;font-size:11px;line-height:1.45}

.admin-ref-table-wrap{overflow:auto;border:1px solid #dce5ef;border-radius:14px;background:#fff}
.admin-ref-table{width:100%;border-collapse:collapse;min-width:980px}
.admin-ref-table th{padding:11px 12px;background:#f7f9fc;color:#708196;font-size:9px;text-align:left;text-transform:uppercase;letter-spacing:.03em}
.admin-ref-table td{padding:11px 12px;border-top:1px solid #edf1f5;color:#32475e;font-size:11px;vertical-align:middle}
.admin-ref-code{font-weight:900;color:#1762e8;text-decoration:none;white-space:nowrap}
.admin-ref-rates{white-space:nowrap}
.admin-ref-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:16px;color:#6f8197}

.admin-ref-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:14px;margin-top:20px}
.admin-ref-editor,.admin-ref-side,.admin-ref-section{border:1px solid #dce5ef;border-radius:16px;background:#fff}
.admin-ref-editor{padding:18px}
.admin-ref-editor h2{margin:0 0 14px}
.admin-ref-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.admin-ref-form-grid .wide{grid-column:span 2}
.admin-ref-form-grid textarea{padding:10px 12px;min-height:86px;resize:vertical}
.admin-ref-editor-actions{display:flex;justify-content:flex-end;margin-top:14px}
.admin-ref-side{display:grid;gap:8px;padding:12px;background:#f8fafc}
.admin-ref-side .admin-ref-stat{box-shadow:none}

.admin-ref-section{margin-top:14px;padding:18px}
.admin-ref-section-head{display:flex;justify-content:space-between;gap:16px;align-items:end}
.admin-ref-section-head h2{margin:0}
.admin-ref-section-head p{margin:3px 0 0;color:#7a8a9d;font-size:11px}
.admin-ref-add-product{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:14px 0}
.admin-ref-product-list{display:grid;gap:7px}
.admin-ref-product-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:8px;border:1px solid #e2e8ef;border-radius:11px;background:#fafbfd}
.admin-ref-product-row>form:first-child{display:grid;grid-template-columns:minmax(0,1fr) 100px auto;gap:7px;align-items:center}
.admin-ref-product-row span{color:#7c8b9e;font-size:10px}
.admin-ref-danger{display:flex;justify-content:flex-end;margin-top:16px}
.btn.danger{border-color:#e7b8b8!important;color:#a33434!important}
.btn.danger:hover{background:#fff0f0!important;color:#8f2020!important}
.empty-state{padding:24px;text-align:center;color:#8796a8}

@media(max-width:980px){
  .admin-ref-page{padding:28px 20px 60px}
  .admin-ref-cards{grid-template-columns:1fr}
  .admin-ref-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-ref-toolbar{display:grid;grid-template-columns:1fr}
  .admin-ref-search{grid-template-columns:1fr 170px auto}
  .admin-ref-create[open]>form{position:static;width:auto;margin-top:8px}
  .admin-ref-import-body form{grid-template-columns:1fr}
  .admin-ref-detail-grid{grid-template-columns:1fr}
  .admin-ref-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
  .admin-ref-page{padding:22px 14px 50px}
  .admin-ref-head{align-items:start;flex-direction:column}
  .admin-ref-actions{width:100%}.admin-ref-actions .btn{flex:1}
  .admin-ref-stats{grid-template-columns:1fr 1fr}
  .admin-ref-search{grid-template-columns:1fr}
  .admin-ref-official-note{align-items:stretch;flex-direction:column}
  .admin-ref-form-grid{grid-template-columns:1fr}
  .admin-ref-form-grid .wide{grid-column:1}
  .admin-ref-add-product{grid-template-columns:1fr}
  .admin-ref-product-row{grid-template-columns:1fr}
  .admin-ref-product-row>form:first-child{grid-template-columns:1fr}
  .admin-ref-product-row .btn{width:100%}
}


/* ============================================================
   DSRent 5.16.12 — EEC official TN VED synchronization
   ============================================================ */
.eec-sync-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;margin:20px 0 14px;padding:22px;border:1px solid #cfe0f3;border-radius:18px;background:linear-gradient(135deg,#f7fbff,#eef6ff)}
.eec-sync-copy h2{margin:6px 0 7px;font-size:24px}.eec-sync-copy p{max-width:820px;margin:0;color:#667a91;line-height:1.5}
.eec-sync-badge{display:inline-flex;padding:5px 9px;border-radius:999px;background:#e3f0ff;color:#1762e8;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.eec-sync-source{margin-top:13px;color:#788a9f;font-size:10px;line-height:1.5}.eec-sync-source code{font-size:9px}
.eec-sync-actions{display:grid;gap:8px;min-width:250px}.eec-sync-actions .btn{width:100%}

.eec-progress-card{margin:14px 0;padding:16px 18px;border:1px solid #d7e4f1;border-radius:15px;background:#fff}
.eec-progress-head,.eec-progress-meta{display:flex;align-items:center;justify-content:space-between;gap:16px}.eec-progress-head small{display:block;color:#7e8fa3;font-size:9px;font-weight:850;text-transform:uppercase}.eec-progress-head b{display:block;margin-top:2px;color:#263b53}.eec-progress-head strong{color:#1762e8;font-size:22px}
.eec-progress-track{height:9px;margin:12px 0;border-radius:99px;background:#edf2f7;overflow:hidden}.eec-progress-track span{display:block;height:100%;border-radius:inherit;background:#2d70eb;transition:width .25s ease}
.eec-progress-meta{color:#788a9f;font-size:10px}

.eec-discovery{margin:14px 0;padding:17px;border:1px solid #dce5ef;border-radius:16px;background:#fff}
.eec-source-list{display:grid;gap:6px;margin-top:12px;max-height:520px;overflow:auto}
.eec-source-row{display:grid;grid-template-columns:48px minmax(0,1fr) 130px 120px;gap:12px;align-items:center;padding:9px 10px;border:1px solid #e6ebf1;border-radius:10px;background:#fafbfd}
.eec-source-group{display:grid;place-items:center;width:40px;height:34px;border-radius:9px;background:#eaf3ff;color:#1762e8;font-weight:900}
.eec-source-row b{display:block;font-size:11px}.eec-source-row small{display:block;margin-top:2px;color:#8796a8;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.eec-source-state{justify-self:end;padding:5px 8px;border-radius:999px;background:#f0f3f7;color:#718196;font-size:9px;font-weight:850}.eec-source-state.running{background:#e9f2ff;color:#1762e8}.eec-source-state.ok{background:#e7f7ed;color:#228348}.eec-source-state.unchanged{background:#f1f4f7;color:#6b7c90}.eec-source-state.error{background:#fff0ef;color:#b44236}

.eec-status{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:850}.eec-status.ok{background:#e7f7ed;color:#228348}.eec-status.error{background:#fff0ef;color:#b44236}
.eec-error{max-width:300px;white-space:normal!important;color:#8b6b6b!important}
.eec-history-table{min-width:1180px!important}

@media(max-width:900px){
  .eec-sync-panel{grid-template-columns:1fr}.eec-sync-actions{min-width:0;grid-template-columns:1fr 1fr}.eec-sync-actions .checkline{grid-column:1/-1}
  .eec-source-row{grid-template-columns:44px minmax(0,1fr) 105px}.eec-source-row>span:last-child{grid-column:2/-1;justify-self:start}
}
@media(max-width:560px){
  .eec-sync-panel{padding:16px}.eec-sync-copy h2{font-size:20px}.eec-sync-actions{grid-template-columns:1fr}
  .eec-sync-actions .checkline{grid-column:1}.eec-progress-head,.eec-progress-meta{align-items:flex-start;flex-direction:column;gap:5px}
  .eec-source-row{grid-template-columns:40px minmax(0,1fr)}.eec-source-row>span:nth-child(3){grid-column:2}.eec-source-row>span:last-child{grid-column:2}
}


/* DSRent 5.16.13 — official TN VED rate display */
.admin-ref-rates{display:grid;gap:3px;min-width:170px;max-width:300px;white-space:normal!important}
.admin-ref-rates b{color:#263b53;font-size:11px;line-height:1.35;font-weight:800}
.admin-ref-rates small{color:#8190a3;font-size:8px;text-transform:uppercase;letter-spacing:.03em}

/* ===== DSRent 5.16.14 · TN VED adaptive registry ===== */
.tnv{--b:#d9e3ee;--bs:#e9eef4;--txt:#142238;--mut:#71839a;--blue:#2468e8;width:min(1420px,calc(100% - 48px));margin:auto;padding:38px 0 72px;color:var(--txt)}
.tnv *,.tnv *:before,.tnv *:after{box-sizing:border-box}
.tnv-head{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin-bottom:20px}
.tnv-head h1{margin:7px 0 4px;font-size:clamp(38px,4vw,58px);line-height:1;letter-spacing:-.04em}
.tnv-head p{max-width:820px;margin:0;color:var(--mut);font-size:15px;line-height:1.48}
.tnv-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.tnv-add{position:relative}.tnv-add>summary{list-style:none;cursor:pointer}.tnv-add>summary::-webkit-details-marker{display:none}
.tnv-add[open]>form{position:absolute;z-index:50;right:0;top:50px;width:min(390px,calc(100vw - 30px));display:grid;gap:10px;padding:17px;border:1px solid var(--b);border-radius:16px;background:#fff;box-shadow:0 22px 60px rgba(24,47,78,.18)}
.tnv-add form>small{color:var(--mut);font-size:10px}.tnv-add label{display:grid;gap:5px;color:#526981;font-size:10px;font-weight:800}
.tnv-add input{width:100%;height:43px;padding:0 11px;border:1px solid #cad8e6;border-radius:10px;font:inherit}.tnv-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}

.tnv-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:13px}
.tnv-kpis>a{display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px solid var(--b);border-radius:14px;background:#fff;color:inherit;text-decoration:none}
.tnv-kpis>a:hover{border-color:#b9cfe7;box-shadow:0 7px 20px rgba(26,54,88,.06)}
.tnv-kpis>a>span{display:grid;place-items:center;width:37px;height:37px;flex:none;border-radius:10px;background:#eef5ff;color:var(--blue);font-size:11px;font-weight:900}
.tnv-kpis .warn>span{background:#fff5df;color:#956300}
.tnv-kpis small{display:block;color:#8495a8;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.tnv-kpis b{display:block;margin-top:2px;font-size:20px}

.tnv-controls{overflow:hidden;border:1px solid var(--b);border-radius:16px;background:#fff;margin-bottom:11px}
.tnv-filter{display:grid;grid-template-columns:minmax(280px,1.55fr) minmax(130px,.5fr) minmax(160px,.65fr) 110px auto auto;gap:8px;align-items:center;padding:11px}
.tnv-search{position:relative}.tnv-search span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#8b9bad;font-size:18px}
.tnv-search input,.tnv-filter select{width:100%;min-width:0;height:43px;border:1px solid #ccd9e6;border-radius:10px;background:#fff;color:#263a51;font:inherit;font-size:12px;outline:none}
.tnv-search input{padding:0 12px 0 37px}.tnv-filter select{padding:0 30px 0 10px}
.tnv-search input:focus,.tnv-filter select:focus{border-color:#79aaf2;box-shadow:0 0 0 3px rgba(36,104,232,.08)}
.tnv-reset{color:#6f8299;font-size:10px;font-weight:800;text-decoration:none;white-space:nowrap}

.tnv-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.45fr);border-top:1px solid var(--bs)}
.tnv-import>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:58px;padding:10px 14px;list-style:none;cursor:pointer}.tnv-import>summary::-webkit-details-marker{display:none}
.tnv-import>summary b,.tnv-eec b{display:block;font-size:11px}.tnv-import>summary small,.tnv-eec small{display:block;margin-top:2px;color:#8394a7;font-size:9px}
.tnv-import>summary>span{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#f0f5fa;color:#60768d;font-size:17px;transition:.15s}.tnv-import[open]>summary>span{transform:rotate(45deg)}
.tnv-import>div{padding:12px 14px;border-top:1px solid var(--bs)}.tnv-import form{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,1fr) auto;gap:9px;align-items:center}.tnv-import p{margin:8px 0 0;color:#8192a5;font-size:9px}
.tnv-eec{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 14px;border-left:1px solid var(--bs);background:#fbfdff;color:#304961;text-decoration:none}.tnv-eec:hover{background:#f5f9ff}.tnv-eec strong{color:var(--blue);font-size:21px}

.tnv-result{display:flex;justify-content:space-between;gap:12px;padding:7px 3px;color:#7b8da1;font-size:10px}.tnv-result b{color:#31475f;font-size:12px}
.tnv-registry{overflow:hidden;border:1px solid var(--b);border-radius:16px;background:#fff;box-shadow:0 6px 22px rgba(27,55,88,.035)}
.tnv-table{width:100%;border-collapse:collapse;table-layout:fixed}.tnv-table th{padding:9px 11px;border-bottom:1px solid var(--b);background:#f7f9fc;color:#74869a;font-size:8px;font-weight:900;text-align:left;text-transform:uppercase;letter-spacing:.04em}
.tnv-table th:nth-child(1){width:140px}.tnv-table th:nth-child(3){width:290px}.tnv-table th:nth-child(4){width:95px}.tnv-table th:nth-child(5){width:145px}.tnv-table th:nth-child(6){width:92px}
.tnv-table td{padding:11px;border-bottom:1px solid var(--bs);color:#334a63;font-size:11px;line-height:1.35;vertical-align:middle}.tnv-table tr:last-child td{border-bottom:0}.tnv-table tbody tr:hover{background:#fbfdff}.tnv-table tr.missing{background:#fffdf7}
.tnv-code{color:var(--blue);font-size:12px;font-weight:900;text-decoration:none}.tnv-code:hover{text-decoration:underline}
.tnv-name{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-weight:650;overflow-wrap:anywhere}
.tnv-rate{display:grid;gap:5px}.tnv-rate b{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:10.5px;overflow-wrap:anywhere}
.tnv-rate span,.tnv-source{display:inline-flex;width:max-content;max-width:100%;padding:3px 6px;border-radius:999px;background:#f0f3f7;color:#708196;font-size:7.5px;font-weight:900;text-transform:uppercase}.tnv-rate .kind-ad_valorem{background:#eaf8f0;color:#247d4c}.tnv-rate .kind-combined{background:#fff4dc;color:#976300}.tnv-rate .kind-specific{background:#eef4ff;color:#315fa8}.tnv-rate .kind-missing{background:#fff0ed;color:#a84637}.tnv-source.eec{background:#edf5ff;color:#2864bd}
.tnv-table time{color:#71849a;font-size:9px}.tnv-open-cell{text-align:right}.tnv-open{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 9px;border:1px solid #cddae7;border-radius:9px;color:#314c68;font-size:9px;font-weight:850;text-decoration:none;white-space:nowrap}.tnv-open:hover{border-color:#8cb4ee;background:#f2f7ff;color:#1d5fc9}.tnv-open span{color:var(--blue)}
.tnv-empty{display:grid;justify-items:center;gap:6px;padding:45px 20px;text-align:center}.tnv-empty span{color:var(--mut);font-size:10px}
.tnv-pages{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin-top:14px}.tnv-pages>a,.tnv-pages>i{display:inline-flex;align-items:center;gap:6px;width:max-content;min-height:39px;padding:0 12px;border:1px solid var(--b);border-radius:10px;background:#fff;color:#3b526d;font-size:10px;font-weight:850;text-decoration:none;font-style:normal}.tnv-pages>i{opacity:.4}.tnv-pages>a:last-child,.tnv-pages>i:last-child{justify-self:end}.tnv-pages>div{display:flex;align-items:baseline;gap:5px;color:#8191a3;font-size:10px}.tnv-pages>div b{color:#30475f;font-size:16px}

@media(max-width:1050px){
 .tnv{width:calc(100% - 32px);padding-top:28px}.tnv-head{align-items:flex-start}.tnv-filter{grid-template-columns:minmax(230px,1fr) repeat(3,minmax(120px,.45fr)) auto}.tnv-reset{grid-column:1/-1}
 .tnv-table th:nth-child(1){width:125px}.tnv-table th:nth-child(3){width:240px}.tnv-table th:nth-child(4){width:85px}.tnv-table th:nth-child(5){width:120px}.tnv-table th:nth-child(6){width:80px}
}
@media(max-width:820px){
 .tnv{width:calc(100% - 24px);padding:22px 0 55px}.tnv-head{display:grid;gap:14px}.tnv-actions{justify-content:flex-start}.tnv-kpis{grid-template-columns:1fr 1fr}
 .tnv-filter{grid-template-columns:1fr 1fr}.tnv-search{grid-column:1/-1}.tnv-filter .btn{width:100%}.tnv-reset{text-align:center;grid-column:auto}
 .tnv-tools{grid-template-columns:1fr}.tnv-eec{border-left:0;border-top:1px solid var(--bs)}.tnv-import form{grid-template-columns:1fr}
 .tnv-registry{overflow:visible;border:0;background:transparent;box-shadow:none}.tnv-table,.tnv-table tbody{display:grid;gap:9px}.tnv-table thead{display:none}
 .tnv-table tr{display:grid;grid-template-columns:1fr 120px;overflow:hidden;border:1px solid var(--b);border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(27,55,88,.035)}
 .tnv-table td{display:grid;align-content:start;gap:4px;min-width:0;padding:10px 12px!important;border-bottom:1px solid var(--bs)!important}.tnv-table td:before{content:attr(data-label);color:#8b9aab;font-size:7.5px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
 .tnv-table td:nth-child(1){grid-column:1;grid-row:1;border-right:1px solid var(--bs)}.tnv-open-cell{grid-column:2;grid-row:1;display:flex!important;align-items:center!important;justify-content:flex-end;border-bottom:1px solid var(--bs)!important}.tnv-open-cell:before{display:none}
 .tnv-table td:nth-child(2){grid-column:1/-1;grid-row:2}.tnv-table td:nth-child(3){grid-column:1/-1;grid-row:3}.tnv-table td:nth-child(4){grid-column:1;grid-row:4;border-right:1px solid var(--bs)}.tnv-table td:nth-child(5){grid-column:2;grid-row:4}
 .tnv-name,.tnv-rate b{-webkit-line-clamp:unset}.tnv-open{width:100%;justify-content:center}
}
@media(max-width:520px){
 .tnv{width:calc(100% - 20px);padding-top:18px}.tnv-head h1{font-size:40px}.tnv-head p{font-size:13px}
 .tnv-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.tnv-actions>.btn{width:100%}.tnv-add{position:static}.tnv-add>summary{width:100%!important}.tnv-add[open]{grid-column:1/-1}.tnv-add[open]>form{position:static;width:100%;margin-top:8px;box-shadow:none}.tnv-two{grid-template-columns:1fr}
 .tnv-kpis{gap:7px}.tnv-kpis>a{gap:8px;padding:10px}.tnv-kpis>a>span{width:33px;height:33px}.tnv-kpis small{font-size:7px}.tnv-kpis b{font-size:18px}
 .tnv-filter{grid-template-columns:1fr}.tnv-search{grid-column:1}.tnv-search input,.tnv-filter select{height:46px;font-size:13px}.tnv-reset{padding:5px 0}
 .tnv-result{font-size:9px}.tnv-table tr{grid-template-columns:1fr 108px}.tnv-code{font-size:13px}.tnv-name,.tnv-rate b{font-size:12px;line-height:1.45}.tnv-table time{font-size:9px}
 .tnv-pages>a,.tnv-pages>i{padding:0 9px}.tnv-pages>a span,.tnv-pages>i span{display:none}
}

/* ============================================================
   DSRent 5.16.15 — TN VED code card redesign
   ============================================================ */
.tnv-card-page{--tc-b:#d9e3ee;--tc-bs:#e9eef4;--tc-text:#142238;--tc-mut:#71839a;--tc-blue:#2468e8;width:min(1380px,calc(100% - 48px));margin:auto;padding:36px 0 72px;color:var(--tc-text)}
.tnv-card-page *,.tnv-card-page *:before,.tnv-card-page *:after{box-sizing:border-box}

.tnv-card-head{display:flex;align-items:flex-end;justify-content:space-between;gap:26px;margin-bottom:18px}
.tnv-card-title{min-width:0}.tnv-card-breadcrumbs{display:flex;align-items:center;gap:7px;color:#8494a7;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
.tnv-card-breadcrumbs a{color:#59718c;text-decoration:none}.tnv-card-breadcrumbs a:hover{color:var(--tc-blue)}
.tnv-card-code-line{display:flex;align-items:center;gap:11px;margin-top:8px}.tnv-card-code-line h1{margin:0;font-size:clamp(36px,4vw,54px);line-height:1;letter-spacing:-.035em}
.tnv-card-source{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f0f3f7;color:#708196;font-size:8px;font-weight:900;text-transform:uppercase}.tnv-card-source.is-eec{background:#edf5ff;color:#2864bd}
.tnv-card-title>p{max-width:900px;margin:7px 0 0;color:#667b92;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.tnv-card-head-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}

.tnv-card-summary{display:grid;grid-template-columns:1.65fr repeat(3,minmax(0,.7fr));gap:9px;margin-bottom:14px}
.tnv-card-summary article{display:grid;align-content:center;min-width:0;min-height:105px;padding:15px;border:1px solid var(--tc-b);border-radius:15px;background:#fff}
.tnv-card-summary article small{color:#8495a8;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.tnv-card-summary article b{display:block;margin-top:5px;color:#24384f;font-size:20px;line-height:1.25;overflow-wrap:anywhere}
.tnv-card-summary-main{background:#f6faff!important;border-color:#cfe0f4!important}.tnv-card-summary-main>b{font-size:17px!important}.tnv-card-summary-main.is-warning{background:#fffaf0!important;border-color:#ecd7a7!important}
.tnv-card-kind{display:inline-flex;width:max-content;max-width:100%;margin-top:8px;padding:4px 7px;border-radius:999px;background:#eef2f6;color:#6d7e91;font-size:7px;font-weight:900;text-transform:uppercase}
.tnv-card-kind.kind-ad_valorem{background:#eaf8f0;color:#247d4c}.tnv-card-kind.kind-combined{background:#fff4dc;color:#976300}.tnv-card-kind.kind-specific{background:#eef4ff;color:#315fa8}

.tnv-card-layout{display:grid;grid-template-columns:minmax(0,1fr) 265px;gap:13px;align-items:start}
.tnv-card-main{display:grid;gap:13px;min-width:0}.tnv-card-section{overflow:hidden;border:1px solid var(--tc-b);border-radius:17px;background:#fff}
.tnv-card-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid var(--tc-bs);background:#fbfcfe}
.tnv-card-section-head>div{display:flex;align-items:center;gap:11px;min-width:0}.tnv-section-no{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;background:#eef5ff;color:var(--tc-blue);font-size:9px;font-weight:900}
.tnv-card-section-head h2{margin:0;font-size:17px}.tnv-card-section-head p{margin:2px 0 0;color:#8292a5;font-size:9px;line-height:1.4}
.tnv-eec-note{max-width:310px;padding:6px 9px;border-radius:9px;background:#f1f6fc;color:#70849b;font-size:8px;line-height:1.35;text-align:right}

.tnv-card-form{padding:18px}.tnv-card-form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:13px}
.tnv-card-form label{display:grid;align-content:start;gap:5px;grid-column:span 4;min-width:0;color:#536a82;font-size:9px;font-weight:850}
.tnv-card-form label>span{min-height:13px}.tnv-card-form input,.tnv-card-form textarea{width:100%;min-width:0;border:1px solid #cbd8e5;border-radius:10px;background:#fff;color:#1f344c;font:inherit;font-size:12px;font-weight:650;outline:none}
.tnv-card-form input{height:44px;padding:0 11px}.tnv-card-form textarea{padding:10px 11px;line-height:1.4;resize:vertical}
.tnv-card-form input:focus,.tnv-card-form textarea:focus{border-color:#79aaf2;box-shadow:0 0 0 3px rgba(36,104,232,.08)}
.tnv-card-form input[readonly],.tnv-card-form textarea[readonly]{background:#f5f8fb;color:#5f7288}
.tnv-card-form label>small{color:#8a99aa;font-size:8px;font-weight:600;line-height:1.35}
.tnv-field-code{grid-column:span 3!important}.tnv-field-name{grid-column:span 9!important}.tnv-field-official{grid-column:1/-1!important}.tnv-field-notes{grid-column:1/-1!important}
.tnv-card-savebar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding-top:15px;border-top:1px solid var(--tc-bs)}
.tnv-card-savehint{max-width:680px;color:#7e8fa2;font-size:8.5px;line-height:1.45}.tnv-card-savebar .btn{flex:none}

.tnv-source-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:16px 18px}
.tnv-source-grid>div{min-width:0;padding:12px;border:1px solid var(--tc-bs);border-radius:11px;background:#fafbfd}.tnv-source-grid small{display:block;color:#8998aa;font-size:7px;font-weight:900;text-transform:uppercase}.tnv-source-grid b{display:block;margin-top:4px;color:#30465e;font-size:11px;overflow-wrap:anywhere}
.tnv-source-document{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 18px 18px;padding:13px 14px;border:1px solid #d7e5f4;border-radius:12px;background:#f6faff}.tnv-source-document>div{min-width:0}.tnv-source-document small{display:block;color:#8192a6;font-size:7px;font-weight:900;text-transform:uppercase}.tnv-source-document b{display:block;margin-top:3px;font-size:11px}.tnv-source-document span{display:block;margin-top:3px;color:#7890a8;font-size:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tnv-source-document.is-manual{background:#fafbfd;border-color:var(--tc-bs)}

.tnv-card-side{display:grid;gap:12px;position:sticky;top:90px}.tnv-card-sidebox{padding:15px;border:1px solid var(--tc-b);border-radius:15px;background:#fff}.tnv-card-sidebox h3{margin:0 0 11px;font-size:13px}.tnv-status-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:8px;padding:8px 0;border-top:1px solid var(--tc-bs);font-size:9px}.tnv-status-row span{color:#8595a8}.tnv-status-row b{text-align:right;color:#30465e;overflow-wrap:anywhere}
.tnv-card-danger{background:#fffdfd}.tnv-card-danger p{margin:0 0 11px;color:#8a7777;font-size:9px;line-height:1.45}.tnv-card-danger .btn{width:100%}

@media(max-width:1000px){
 .tnv-card-page{width:calc(100% - 32px);padding-top:28px}.tnv-card-summary{grid-template-columns:1.4fr 1fr 1fr}.tnv-card-summary article:last-child{grid-column:span 3}.tnv-card-layout{grid-template-columns:minmax(0,1fr) 230px}
 .tnv-card-form label{grid-column:span 6}.tnv-field-code{grid-column:span 4!important}.tnv-field-name{grid-column:span 8!important}.tnv-source-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
 .tnv-card-page{width:calc(100% - 24px);padding:22px 0 56px}.tnv-card-head{display:grid;align-items:start;gap:14px}.tnv-card-head-actions{justify-content:flex-start}.tnv-card-summary{grid-template-columns:1fr 1fr}.tnv-card-summary-main{grid-column:1/-1}.tnv-card-summary article:last-child{grid-column:auto}
 .tnv-card-layout{grid-template-columns:1fr}.tnv-card-side{position:static;grid-template-columns:1fr 1fr}.tnv-card-section-head{align-items:flex-start}.tnv-eec-note{max-width:220px}
 .tnv-card-form-grid{grid-template-columns:1fr 1fr}.tnv-card-form label,.tnv-field-code,.tnv-field-name,.tnv-field-official,.tnv-field-notes{grid-column:auto!important}.tnv-field-name,.tnv-field-official,.tnv-field-notes{grid-column:1/-1!important}
}
@media(max-width:520px){
 .tnv-card-page{width:calc(100% - 20px);padding-top:18px}.tnv-card-code-line{align-items:flex-start;flex-direction:column;gap:7px}.tnv-card-code-line h1{font-size:39px}.tnv-card-title>p{font-size:12px}.tnv-card-head-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.tnv-card-head-actions .btn{width:100%}
 .tnv-card-summary{grid-template-columns:1fr}.tnv-card-summary-main,.tnv-card-summary article:last-child{grid-column:1}.tnv-card-summary article{min-height:88px;padding:13px}.tnv-card-summary article b{font-size:18px}
 .tnv-card-section-head{display:grid;gap:10px;padding:14px}.tnv-card-section-head>div{align-items:flex-start}.tnv-eec-note{max-width:none;text-align:left}.tnv-card-form{padding:13px}.tnv-card-form-grid{grid-template-columns:1fr;gap:11px}.tnv-card-form label,.tnv-field-code,.tnv-field-name,.tnv-field-official,.tnv-field-notes{grid-column:1!important}.tnv-card-form input{height:46px;font-size:13px}.tnv-card-form textarea{font-size:13px}
 .tnv-card-savebar{align-items:stretch;flex-direction:column}.tnv-card-savebar .btn{width:100%}.tnv-source-grid{grid-template-columns:1fr}.tnv-source-document{align-items:stretch;flex-direction:column;margin:0 13px 13px}.tnv-source-document .btn{width:100%}.tnv-source-document span{white-space:normal;overflow-wrap:anywhere}
 .tnv-card-side{grid-template-columns:1fr}.tnv-status-row{font-size:10px}
}

/* ============================================================
   DSRent 5.16.16 — TNVED unified adaptive code card
   ============================================================ */
.tnvc{--b:#d9e3ee;--bs:#e9eef4;--txt:#142238;--mut:#74869c;--blue:#2468e8;width:min(1320px,calc(100% - 48px));margin:auto;padding:34px 0 72px;color:var(--txt)}
.tnvc *,.tnvc *:before,.tnvc *:after{box-sizing:border-box}

.tnvc-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:17px}
.tnvc-heading{min-width:0}.tnvc-crumbs{display:flex;align-items:center;gap:6px;color:#8a99aa;font-size:9px;font-weight:800;text-transform:uppercase}.tnvc-crumbs a{color:#60768e;text-decoration:none}.tnvc-crumbs a:hover{color:var(--blue)}
.tnvc-code-row{display:flex;align-items:center;gap:10px;margin-top:7px}.tnvc-code-row h1{margin:0;font-size:clamp(38px,4.2vw,56px);line-height:1;letter-spacing:-.04em}.tnvc-source{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f0f3f7;color:#6d7f94;font-size:8px;font-weight:900;text-transform:uppercase}.tnvc-source.eec{background:#edf5ff;color:#2864bd}
.tnvc-heading>p{max-width:900px;margin:6px 0 0;color:#687d94;font-size:14px;line-height:1.45}.tnvc-head-actions{display:flex;gap:8px;flex-wrap:wrap}

.tnvc-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(420px,.8fr);gap:10px;margin-bottom:12px}.tnvc-rate,.tnvc-meta{border:1px solid #cfe0f4;border-radius:16px;background:#f6faff}.tnvc-rate{padding:17px 18px}.tnvc-rate small,.tnvc-meta small{display:block;color:#8293a7;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.tnvc-rate strong{display:block;margin:5px 0 8px;font-size:18px;line-height:1.35;overflow-wrap:anywhere}.tnvc-kind{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef2f6;color:#6f8195;font-size:7px;font-weight:900;text-transform:uppercase}.tnvc-kind.kind-ad_valorem{background:#eaf8f0;color:#247d4c}.tnvc-kind.kind-combined{background:#fff4dc;color:#976300}.tnvc-kind.kind-specific{background:#eef4ff;color:#315fa8}
.tnvc-meta{display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden}.tnvc-meta>div{min-width:0;padding:14px;border-left:1px solid #dce8f5}.tnvc-meta>div:first-child{border-left:0}.tnvc-meta b{display:block;margin-top:4px;color:#2c425a;font-size:11px;line-height:1.3;overflow-wrap:anywhere}.tnvc-hero.warning .tnvc-rate{background:#fffaf0;border-color:#ecd7a7}

.tnvc-form{display:grid;gap:11px}.tnvc-panel{overflow:hidden;border:1px solid var(--b);border-radius:16px;background:#fff}.tnvc-panel-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border-bottom:1px solid var(--bs);background:#fbfcfe}.tnvc-panel-head>div{display:flex;align-items:center;gap:10px;min-width:0}.tnvc-panel-head>div>span{display:grid;place-items:center;width:31px;height:31px;flex:none;border-radius:9px;background:#eef5ff;color:var(--blue);font-size:8px;font-weight:900}.tnvc-panel-head h2{margin:0;font-size:16px}.tnvc-panel-head p{margin:2px 0 0;color:#8393a6;font-size:8.5px}.tnvc-panel-head em{padding:5px 8px;border-radius:999px;background:#eff5fb;color:#708398;font-size:8px;font-style:normal;font-weight:750;white-space:nowrap}

.tnvc-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;padding:16px}.tnvc-grid label{display:grid;align-content:start;gap:5px;grid-column:span 3;min-width:0;color:#536a82;font-size:9px;font-weight:850}.tnvc-grid label>span,.tnvc-admin-grid label>span{min-height:12px}.tnvc-grid input,.tnvc-grid textarea,.tnvc-admin-grid textarea{width:100%;min-width:0;border:1px solid #cbd8e5;border-radius:10px;background:#fff;color:#1f344c;font:inherit;font-size:12px;font-weight:650;outline:none}.tnvc-grid input{height:43px;padding:0 11px}.tnvc-grid textarea,.tnvc-admin-grid textarea{padding:10px 11px;line-height:1.4;resize:vertical}.tnvc-grid input:focus,.tnvc-grid textarea:focus,.tnvc-admin-grid textarea:focus{border-color:#79aaf2;box-shadow:0 0 0 3px rgba(36,104,232,.08)}.tnvc-grid input[readonly],.tnvc-grid textarea[readonly]{background:#f5f8fb;color:#60748a}.tnvc-grid label>small{color:#8b9aab;font-size:7.7px;font-weight:600;line-height:1.35}
.tnvc-code-field{grid-column:span 3!important}.tnvc-name-field{grid-column:span 9!important}.tnvc-official-field{grid-column:1/-1!important}

.tnvc-admin-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.5fr);gap:12px;padding:16px}.tnvc-admin-grid label{display:grid;gap:5px;color:#536a82;font-size:9px;font-weight:850}.tnvc-status-card{padding:13px;border:1px solid var(--bs);border-radius:11px;background:#fafbfd}.tnvc-status-card>small{display:block;color:#8595a8;font-size:8px;font-weight:900;text-transform:uppercase}.tnvc-status-card dl{margin:7px 0 0}.tnvc-status-card dl>div{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid var(--bs);font-size:9px}.tnvc-status-card dt{color:#8797a9}.tnvc-status-card dd{margin:0;color:#31475f;font-weight:800;text-align:right}

.tnvc-source-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:16px;border:1px solid var(--bs);border-radius:11px;background:#fafbfd;overflow:hidden}.tnvc-source-strip>div{min-width:0;padding:12px;border-left:1px solid var(--bs)}.tnvc-source-strip>div:first-child{border-left:0}.tnvc-source-strip small{display:block;color:#8797a9;font-size:7px;font-weight:900;text-transform:uppercase}.tnvc-source-strip b{display:block;margin-top:4px;color:#30465e;font-size:10px;overflow-wrap:anywhere}
.tnvc-source-doc{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 16px 16px;padding:12px 13px;border:1px solid #d8e5f3;border-radius:11px;background:#f6faff}.tnvc-source-doc>div{min-width:0}.tnvc-source-doc small{display:block;color:#8192a6;font-size:7px;font-weight:900;text-transform:uppercase}.tnvc-source-doc b{display:block;margin-top:2px;font-size:10px}.tnvc-source-doc span{display:block;margin-top:3px;color:#7a8fa6;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.tnvc-save{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border:1px solid var(--b);border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(27,55,88,.035)}.tnvc-save p{max-width:760px;margin:0;color:#7d8fa2;font-size:8.5px;line-height:1.45}.tnvc-save .btn{flex:none}
.tnvc-danger{margin-top:12px;border:1px solid #eadede;border-radius:13px;background:#fff}.tnvc-danger>summary{padding:12px 14px;cursor:pointer;list-style:none;color:#835e5e;font-size:9px;font-weight:850}.tnvc-danger>summary::-webkit-details-marker{display:none}.tnvc-danger>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 14px;border-top:1px solid #f0e6e6}.tnvc-danger p{margin:0;color:#8d7777;font-size:9px}

@media(max-width:1000px){
 .tnvc{width:calc(100% - 32px);padding-top:28px}.tnvc-hero{grid-template-columns:1fr}.tnvc-meta{grid-template-columns:repeat(4,1fr)}.tnvc-grid label{grid-column:span 6}.tnvc-code-field{grid-column:span 4!important}.tnvc-name-field{grid-column:span 8!important}
}
@media(max-width:760px){
 .tnvc{width:calc(100% - 24px);padding:22px 0 56px}.tnvc-head{display:grid;align-items:start;gap:13px}.tnvc-head-actions{justify-content:flex-start}.tnvc-meta{grid-template-columns:1fr 1fr}.tnvc-meta>div:nth-child(3){border-left:0;border-top:1px solid #dce8f5}.tnvc-meta>div:nth-child(4){border-top:1px solid #dce8f5}
 .tnvc-panel-head{align-items:flex-start}.tnvc-panel-head em{white-space:normal;text-align:right}.tnvc-grid{grid-template-columns:1fr 1fr}.tnvc-grid label,.tnvc-code-field,.tnvc-name-field,.tnvc-official-field{grid-column:auto!important}.tnvc-name-field,.tnvc-official-field{grid-column:1/-1!important}.tnvc-admin-grid{grid-template-columns:1fr}.tnvc-source-strip{grid-template-columns:1fr 1fr}.tnvc-source-strip>div:nth-child(3){border-left:0;border-top:1px solid var(--bs)}.tnvc-source-strip>div:nth-child(4){border-top:1px solid var(--bs)}
}
@media(max-width:520px){
 .tnvc{width:calc(100% - 20px);padding-top:18px}.tnvc-code-row{align-items:flex-start;flex-direction:column;gap:7px}.tnvc-code-row h1{font-size:39px}.tnvc-heading>p{font-size:12px}.tnvc-head-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.tnvc-head-actions .btn{width:100%}
 .tnvc-rate{padding:14px}.tnvc-rate strong{font-size:16px}.tnvc-meta{grid-template-columns:1fr 1fr}.tnvc-meta>div{padding:12px}
 .tnvc-panel-head{display:grid;gap:9px;padding:13px}.tnvc-panel-head>div{align-items:flex-start}.tnvc-panel-head em{text-align:left}.tnvc-grid{grid-template-columns:1fr;padding:13px}.tnvc-grid label,.tnvc-code-field,.tnvc-name-field,.tnvc-official-field{grid-column:1!important}.tnvc-grid input{height:46px;font-size:13px}.tnvc-grid textarea,.tnvc-admin-grid textarea{font-size:13px}
 .tnvc-admin-grid{padding:13px}.tnvc-source-strip{grid-template-columns:1fr;margin:13px}.tnvc-source-strip>div,.tnvc-source-strip>div:nth-child(2),.tnvc-source-strip>div:nth-child(3),.tnvc-source-strip>div:nth-child(4){border-left:0;border-top:1px solid var(--bs)}.tnvc-source-strip>div:first-child{border-top:0}
 .tnvc-source-doc{align-items:stretch;flex-direction:column;margin:0 13px 13px}.tnvc-source-doc span{white-space:normal;overflow-wrap:anywhere}.tnvc-source-doc .btn{width:100%}.tnvc-save{align-items:stretch;flex-direction:column}.tnvc-save .btn{width:100%}.tnvc-danger>div{align-items:stretch;flex-direction:column}.tnvc-danger .btn{width:100%}
}

/* ============================================================
   DSRent 5.16.17 — professional TN VED code card
   Readable typography, restrained width, desktop/mobile parity.
   ============================================================ */
.tnvd-card{
  --c-text:#16263a;
  --c-muted:#6d7f93;
  --c-border:#d7e1ec;
  --c-border-soft:#e9eef4;
  --c-surface:#fff;
  --c-soft:#f7f9fc;
  --c-blue:#2468e8;
  width:min(1180px,calc(100% - 48px));
  margin:0 auto;
  padding:36px 0 72px;
  color:var(--c-text);
}
.tnvd-card *,.tnvd-card *::before,.tnvd-card *::after{box-sizing:border-box}

.tnvd-card__top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:20px;
}
.tnvd-card__title{min-width:0}
.tnvd-card__crumbs{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
  color:#8292a5;
  font-size:12px;
  font-weight:700;
}
.tnvd-card__crumbs a{color:#5a718b;text-decoration:none}
.tnvd-card__crumbs a:hover{color:var(--c-blue)}
.tnvd-card__code-line{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.tnvd-card__code-line h1{
  margin:0;
  font-size:clamp(42px,5vw,62px);
  line-height:1;
  letter-spacing:-.045em;
}
.tnvd-card__title>p{
  max-width:900px;
  margin:10px 0 0;
  color:#61758c;
  font-size:16px;
  line-height:1.55;
  font-weight:600;
}
.tnvd-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#eef2f6;
  color:#66798f;
  font-size:12px;
  font-weight:800;
}
.tnvd-badge--eec{background:#edf5ff;color:#1f5fbd}
.tnvd-card__actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}

.tnvd-tariff{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);
  gap:12px;
  margin-bottom:16px;
}
.tnvd-tariff__main,
.tnvd-tariff__facts{
  border:1px solid #cddff3;
  border-radius:18px;
  background:linear-gradient(180deg,#f7fbff 0%,#f3f8ff 100%);
}
.tnvd-tariff__main{padding:22px}
.tnvd-tariff__main>span,
.tnvd-tariff__facts span{
  display:block;
  color:#6d8198;
  font-size:12px;
  font-weight:800;
}
.tnvd-tariff__main strong{
  display:block;
  margin:8px 0 12px;
  color:#18324f;
  font-size:clamp(20px,2.3vw,28px);
  line-height:1.35;
  overflow-wrap:anywhere;
}
.tnvd-rate-type{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 9px;
  border-radius:999px;
  background:#eef2f6;
  color:#66798f;
  font-size:11px;
  font-style:normal;
  font-weight:800;
}
.tnvd-rate-type.kind-ad_valorem{background:#eaf8f0;color:#247d4c}
.tnvd-rate-type.kind-combined{background:#fff4dc;color:#8f6200}
.tnvd-rate-type.kind-specific{background:#edf4ff;color:#315fa8}
.tnvd-tariff__facts{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  overflow:hidden;
}
.tnvd-tariff__facts>div{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  padding:18px;
  border-left:1px solid #dbe6f2;
}
.tnvd-tariff__facts>div:first-child{border-left:0}
.tnvd-tariff__facts b{
  display:block;
  margin-top:7px;
  color:#233b55;
  font-size:18px;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.tnvd-tariff__main.is-warning{background:#fffaf0;border-color:#ead4a1}

.tnvd-form{display:grid;gap:14px}
.tnvd-section{
  overflow:hidden;
  border:1px solid var(--c-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 22px rgba(24,51,83,.035);
}
.tnvd-section__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 20px;
  border-bottom:1px solid var(--c-border-soft);
  background:#fbfcfe;
}
.tnvd-section__head>div{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
}
.tnvd-section__num{
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  flex:none;
  border-radius:12px;
  background:#edf5ff;
  color:var(--c-blue);
  font-size:12px;
  font-weight:900;
}
.tnvd-section__head h2{
  margin:0;
  font-size:20px;
  line-height:1.2;
}
.tnvd-section__head p{
  margin:4px 0 0;
  color:#788b9f;
  font-size:13px;
  line-height:1.4;
}
.tnvd-sync-note{
  padding:7px 10px;
  border-radius:999px;
  background:#f0f5fa;
  color:#627890;
  font-size:12px;
  font-weight:700;
  white-space:nowrap;
}

.tnvd-fields{
  display:grid;
  gap:16px;
  padding:20px;
}
.tnvd-fields--identity{grid-template-columns:280px minmax(0,1fr)}
.tnvd-fields--tariff{grid-template-columns:repeat(4,minmax(0,1fr))}
.tnvd-fields--service{grid-template-columns:1fr}
.tnvd-fields label{
  display:grid;
  align-content:start;
  gap:8px;
  min-width:0;
  color:#435b75;
  font-size:14px;
  font-weight:800;
}
.tnvd-fields label>span{line-height:1.3}
.tnvd-fields input,
.tnvd-fields textarea{
  width:100%;
  min-width:0;
  border:1px solid #c8d6e4;
  border-radius:12px;
  background:#fff;
  color:#20354d;
  font:inherit;
  font-size:15px;
  font-weight:650;
  outline:none;
}
.tnvd-fields input{height:50px;padding:0 14px}
.tnvd-fields textarea{
  padding:13px 14px;
  line-height:1.5;
  resize:vertical;
}
.tnvd-fields input:focus,
.tnvd-fields textarea:focus{
  border-color:#74a7f1;
  box-shadow:0 0 0 4px rgba(36,104,232,.08);
}
.tnvd-fields input[readonly],
.tnvd-fields textarea[readonly]{
  background:#f5f8fb;
  color:#536b84;
}
.tnvd-fields label>small{
  color:#7d8fa2;
  font-size:12px;
  font-weight:500;
  line-height:1.45;
}
.tnvd-field-wide{min-width:0}
.tnvd-field-full{grid-column:1/-1!important}

.tnvd-source{padding:20px}
.tnvd-source__grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  overflow:hidden;
  border:1px solid var(--c-border-soft);
  border-radius:14px;
  background:#fafbfd;
}
.tnvd-source__grid>div{
  min-width:0;
  padding:16px;
  border-left:1px solid var(--c-border-soft);
}
.tnvd-source__grid>div:first-child{border-left:0}
.tnvd-source__grid span,
.tnvd-source__document span{
  display:block;
  color:#778a9f;
  font-size:12px;
  font-weight:800;
}
.tnvd-source__grid b{
  display:block;
  margin-top:7px;
  color:#2d445e;
  font-size:15px;
  line-height:1.35;
  overflow-wrap:anywhere;
}
.tnvd-source__document{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-top:14px;
  padding:16px;
  border:1px solid #d6e4f3;
  border-radius:14px;
  background:#f6faff;
}
.tnvd-source__document>div{min-width:0}
.tnvd-source__document b{
  display:block;
  margin-top:5px;
  font-size:15px;
}
.tnvd-source__document small{
  display:block;
  margin-top:5px;
  color:#6f849a;
  font-size:12px;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.tnvd-savebar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px 18px;
  border:1px solid var(--c-border);
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(24,51,83,.045);
}
.tnvd-savebar__status{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.tnvd-status-dot{
  width:12px;
  height:12px;
  flex:none;
  border-radius:50%;
  background:#d1dae4;
}
.tnvd-status-dot.ok{background:#33a36d}
.tnvd-status-dot.warn{background:#d79a27}
.tnvd-savebar__status b{
  display:block;
  color:#2d435c;
  font-size:14px;
}
.tnvd-savebar__status small{
  display:block;
  margin-top:3px;
  color:#788a9d;
  font-size:12px;
  line-height:1.4;
}
.tnvd-savebar .btn{flex:none;min-width:190px}

.tnvd-danger{
  margin-top:14px;
  border:1px solid #eadede;
  border-radius:14px;
  background:#fff;
}
.tnvd-danger>summary{
  padding:14px 16px;
  cursor:pointer;
  list-style:none;
  color:#7f5d5d;
  font-size:13px;
  font-weight:800;
}
.tnvd-danger>summary::-webkit-details-marker{display:none}
.tnvd-danger>div{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:16px;
  border-top:1px solid #f0e5e5;
}
.tnvd-danger b{font-size:14px}
.tnvd-danger p{margin:4px 0 0;color:#876f6f;font-size:12px;line-height:1.4}

/* Medium monitors / laptops */
@media(max-width:1100px){
  .tnvd-card{width:calc(100% - 36px)}
  .tnvd-tariff{grid-template-columns:1fr}
  .tnvd-fields--tariff{grid-template-columns:1fr 1fr}
}

/* Tablet */
@media(max-width:760px){
  .tnvd-card{width:calc(100% - 24px);padding:24px 0 56px}
  .tnvd-card__top{display:grid;align-items:start;gap:16px}
  .tnvd-card__actions{justify-content:flex-start}
  .tnvd-tariff__facts{grid-template-columns:1fr 1fr}
  .tnvd-tariff__facts>div:nth-child(3){grid-column:1/-1;border-top:1px solid #dbe6f2;border-left:0}
  .tnvd-section__head{align-items:flex-start}
  .tnvd-sync-note{white-space:normal;text-align:right}
  .tnvd-fields--identity{grid-template-columns:1fr}
  .tnvd-fields--tariff{grid-template-columns:1fr 1fr}
  .tnvd-source__grid{grid-template-columns:1fr 1fr}
  .tnvd-source__grid>div:nth-child(3){border-left:0;border-top:1px solid var(--c-border-soft)}
  .tnvd-source__grid>div:nth-child(4){border-top:1px solid var(--c-border-soft)}
}

/* Phone */
@media(max-width:520px){
  .tnvd-card{width:calc(100% - 20px);padding-top:20px}
  .tnvd-card__code-line{align-items:flex-start;flex-direction:column}
  .tnvd-card__code-line h1{font-size:42px}
  .tnvd-card__title>p{font-size:15px}
  .tnvd-card__actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .tnvd-card__actions .btn{width:100%}

  .tnvd-tariff__main{padding:18px}
  .tnvd-tariff__main>span,
  .tnvd-tariff__facts span{font-size:13px}
  .tnvd-tariff__main strong{font-size:21px}
  .tnvd-rate-type{font-size:12px}

  .tnvd-tariff__facts{grid-template-columns:1fr}
  .tnvd-tariff__facts>div,
  .tnvd-tariff__facts>div:nth-child(2),
  .tnvd-tariff__facts>div:nth-child(3){
    border-left:0;
    border-top:1px solid #dbe6f2;
    padding:15px 18px;
  }
  .tnvd-tariff__facts>div:first-child{border-top:0}
  .tnvd-tariff__facts b{font-size:17px}

  .tnvd-section__head{display:grid;gap:10px;padding:16px}
  .tnvd-section__head>div{align-items:flex-start}
  .tnvd-section__head h2{font-size:19px}
  .tnvd-section__head p{font-size:13px}
  .tnvd-sync-note{width:max-content;max-width:100%;text-align:left;font-size:12px}

  .tnvd-fields{padding:16px}
  .tnvd-fields--tariff{grid-template-columns:1fr}
  .tnvd-fields label{font-size:14px}
  .tnvd-fields input{height:52px;font-size:16px}
  .tnvd-fields textarea{font-size:16px}
  .tnvd-fields label>small{font-size:13px}

  .tnvd-source{padding:16px}
  .tnvd-source__grid{grid-template-columns:1fr}
  .tnvd-source__grid>div,
  .tnvd-source__grid>div:nth-child(2),
  .tnvd-source__grid>div:nth-child(3),
  .tnvd-source__grid>div:nth-child(4){
    border-left:0;
    border-top:1px solid var(--c-border-soft);
  }
  .tnvd-source__grid>div:first-child{border-top:0}
  .tnvd-source__grid span,
  .tnvd-source__document span{font-size:13px}
  .tnvd-source__grid b,
  .tnvd-source__document b{font-size:15px}
  .tnvd-source__document{align-items:stretch;flex-direction:column}
  .tnvd-source__document small{font-size:13px}
  .tnvd-source__document .btn{width:100%}

  .tnvd-savebar{align-items:stretch;flex-direction:column}
  .tnvd-savebar__status b{font-size:15px}
  .tnvd-savebar__status small{font-size:13px}
  .tnvd-savebar .btn{width:100%;min-width:0}
  .tnvd-danger>div{align-items:stretch;flex-direction:column}
  .tnvd-danger .btn{width:100%}
}

/* ============================================================
   DSRent 5.16.18 — TN VED hierarchy
   ============================================================ */
.tnvd-hierarchy{
  margin-bottom:16px;
  overflow:hidden;
  border:1px solid #d4e0ec;
  border-radius:18px;
  background:#fff;
  box-shadow:0 6px 22px rgba(24,51,83,.035);
}
.tnvd-hierarchy>header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  padding:18px 20px;
  border-bottom:1px solid #e8eef4;
  background:linear-gradient(180deg,#fbfdff,#f8fbfe);
}
.tnvd-hierarchy>header span{
  display:block;
  margin-bottom:3px;
  color:#2468e8;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.tnvd-hierarchy>header h2{
  margin:0;
  color:#18304a;
  font-size:21px;
  line-height:1.25;
}
.tnvd-hierarchy>header small{
  color:#7c8fa3;
  font-size:12px;
  line-height:1.35;
}
.tnvd-hierarchy__tree{
  display:grid;
  margin:0;
  padding:17px 20px 19px;
  list-style:none;
}
.tnvd-hierarchy__tree li{
  position:relative;
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:11px;
  min-height:58px;
}
.tnvd-hierarchy__rail{
  position:relative;
  display:block;
}
.tnvd-hierarchy__rail::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:10px;
  width:2px;
  background:#dbe6f1;
}
.tnvd-hierarchy__rail::after{
  content:"";
  position:absolute;
  top:17px;
  left:5px;
  width:12px;
  height:12px;
  border:3px solid #fff;
  border-radius:50%;
  background:#94abc3;
  box-shadow:0 0 0 1px #cbd9e6;
}
.tnvd-hierarchy__tree li:first-child .tnvd-hierarchy__rail::before{top:17px}
.tnvd-hierarchy__tree li:last-child .tnvd-hierarchy__rail::before{bottom:calc(100% - 22px)}
.tnvd-hierarchy__node{
  min-width:0;
  padding:10px 13px;
  border:1px solid #e2e9f0;
  border-radius:12px;
  background:#fafcfe;
}
.tnvd-hierarchy__node b{
  display:block;
  margin-bottom:3px;
  color:#41617f;
  font-size:13px;
  font-weight:900;
}
.tnvd-hierarchy__node p{
  margin:0;
  color:#30475f;
  font-size:15px;
  line-height:1.45;
  font-weight:650;
}
.tnvd-hierarchy__tree li.is-current .tnvd-hierarchy__rail::after{
  background:#2468e8;
  box-shadow:0 0 0 1px #2468e8;
}
.tnvd-hierarchy__tree li.is-current .tnvd-hierarchy__node{
  border-color:#a9caf8;
  background:#f1f7ff;
}
.tnvd-hierarchy__tree li.is-current .tnvd-hierarchy__node b{color:#1762d9}
.tnvd-hierarchy__tree li.is-current .tnvd-hierarchy__node p{
  color:#183552;
  font-weight:800;
}
.tnvd-hierarchy__missing{
  display:grid;
  justify-items:start;
  gap:7px;
  padding:20px;
}
.tnvd-hierarchy__missing b{font-size:16px}
.tnvd-hierarchy__missing p{
  max-width:720px;
  margin:0 0 4px;
  color:#6f8297;
  font-size:14px;
  line-height:1.5;
}
.tnvd-source__grid{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.tnvd-source__grid small{
  display:block;
  margin-top:5px;
  color:#6f8298;
  font-size:12px;
  line-height:1.4;
}

@media(max-width:900px){
  .tnvd-source__grid{grid-template-columns:1fr 1fr!important}
  .tnvd-source__grid>div{
    border-top:1px solid #e9eef4;
  }
  .tnvd-source__grid>div:first-child,
  .tnvd-source__grid>div:nth-child(2){border-top:0}
}
@media(max-width:520px){
  .tnvd-hierarchy>header{
    align-items:flex-start;
    flex-direction:column;
    padding:16px;
  }
  .tnvd-hierarchy>header h2{font-size:20px}
  .tnvd-hierarchy>header small{font-size:13px}
  .tnvd-hierarchy__tree{padding:14px}
  .tnvd-hierarchy__tree li{grid-template-columns:20px minmax(0,1fr);gap:8px}
  .tnvd-hierarchy__node{padding:11px}
  .tnvd-hierarchy__node b{font-size:13px}
  .tnvd-hierarchy__node p{font-size:15px}
  .tnvd-source__grid{grid-template-columns:1fr!important}
  .tnvd-source__grid>div,
  .tnvd-source__grid>div:nth-child(2){border-top:1px solid #e9eef4!important}
  .tnvd-source__grid>div:first-child{border-top:0!important}
}

/* DSRent 5.16.21 - responsive TN VED knowledge card */
.tnvd-card{width:min(1240px,calc(100% - 48px))}
.tnvd-card__display-name{font-size:18px!important;line-height:1.45!important;color:#314a64!important;font-weight:800!important}
.tnvd-card__leaf{display:block;margin-top:5px;color:#7b8da0;font-size:13px;line-height:1.45}
.tnvd-tariff{grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr)}
.tnvd-tariff__main{display:flex;flex-direction:column;justify-content:center;min-height:152px}
.tnvd-tariff__main>strong{font-size:clamp(30px,3.8vw,48px);letter-spacing:-.035em;color:#155fd3}
.tnvd-tariff__tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tnvd-note-ref{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border-radius:999px;background:#fff4df;color:#8b5e00;font-size:11px;font-weight:850}
.tnvd-field-half{grid-column:span 2!important}
.tnvd-hierarchy__node{display:grid;grid-template-columns:minmax(110px,auto) minmax(0,1fr);align-items:start;gap:14px}
.tnvd-hierarchy__node b{margin:0;white-space:nowrap}.tnvd-hierarchy__node p{font-size:15px}
.tnvd-hierarchy__tree li.is-current .tnvd-hierarchy__node{background:linear-gradient(135deg,#eef6ff,#f8fbff)}
.tnvd-note-accordions{display:grid;gap:10px;padding:18px 20px}
.tnvd-note-accordions details{overflow:hidden;border:1px solid #dfe7ef;border-radius:14px;background:#fbfcfe}
.tnvd-note-accordions summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;cursor:pointer;list-style:none;color:#2d465f;font-size:14px;font-weight:850}
.tnvd-note-accordions summary::-webkit-details-marker{display:none}
.tnvd-note-accordions summary b{color:#2468e8;font-size:12px}
.tnvd-note-accordions details[open] summary{border-bottom:1px solid #e6edf4;background:#f6faff}
.tnvd-note-accordions details>div{padding:16px;color:#405a74;font-size:14px;line-height:1.65}
@media(max-width:1000px){.tnvd-card{width:calc(100% - 32px)}.tnvd-tariff{grid-template-columns:1fr}}
@media(max-width:760px){.tnvd-card{width:calc(100% - 24px)}.tnvd-hierarchy__node{grid-template-columns:1fr;gap:4px}.tnvd-field-half{grid-column:1/-1!important}}
@media(max-width:520px){
 .tnvd-card{width:calc(100% - 18px);padding-top:16px}.tnvd-card__code-line h1{font-size:38px}
 .tnvd-card__display-name{font-size:17px!important}.tnvd-card__leaf{font-size:13px}
 .tnvd-tariff__main{min-height:0;padding:18px}.tnvd-tariff__main>strong{font-size:36px}
 .tnvd-field-half{grid-column:1!important}.tnvd-fields input,.tnvd-fields textarea{font-size:16px}
 .tnvd-note-accordions{padding:14px}.tnvd-note-accordions summary,.tnvd-note-accordions details>div{font-size:15px;padding:14px}
}

/* DSRent 5.16.22 — local EEC parsing controls */
.eec-local-hint{
  display:inline-flex;align-items:center;min-height:38px;padding:0 12px;
  border:1px solid #ead8a8;border-radius:10px;background:#fff8e8;
  color:#7d5b12;font-size:13px;font-weight:750;
}
[data-eec-sync-all]:disabled{opacity:.5;cursor:not-allowed;filter:saturate(.55)}
@media(max-width:760px){
  .eec-local-hint{width:100%;line-height:1.4;padding:10px 12px}
}

/* DSRent 5.16.23 — import VAT 2026 */
.tnvd-vat-fact{position:relative}
.tnvd-vat-fact b{color:#155fd3}
.tnvd-vat-fact small{display:block;margin-top:4px;color:#71869b;font-size:11px;line-height:1.35;font-weight:650}
.tnvd-fields label small{line-height:1.45}

/* ============================================================
   DSRent 5.16.24 — professional TN VED card
   ============================================================ */
.tnvd-card{
  --tnvd-radius:18px;
  --tnvd-gap:16px;
  container-name:tnved-card;
  container-type:inline-size;
  width:min(1180px,calc(100% - 40px))!important;
  margin-inline:auto;
  padding-top:26px;
  color:#1d334a;
}
.tnvd-card__top{
  align-items:flex-end;
  gap:24px;
  margin-bottom:18px;
}
.tnvd-card__crumbs{
  margin-bottom:10px;
  font-size:14px;
  line-height:1.4;
}
.tnvd-card__code-line h1{
  font-size:clamp(34px,4vw,48px)!important;
  line-height:.98;
  letter-spacing:-.045em;
}
.tnvd-card__display-name{
  max-width:850px;
  margin-top:10px!important;
  font-size:clamp(18px,1.8vw,22px)!important;
  line-height:1.35!important;
  text-wrap:balance;
}
.tnvd-card__leaf{
  margin-top:7px;
  font-size:14px;
  color:#71859a;
}
.tnvd-card__actions .btn{
  min-height:44px;
  padding:0 15px;
  font-size:14px;
}

.tnvd-tariff{
  grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr)!important;
  gap:12px;
  margin-bottom:16px;
}
.tnvd-tariff__main,
.tnvd-tariff__facts{
  border-radius:var(--tnvd-radius)!important;
}
.tnvd-tariff__main{
  min-height:146px!important;
  padding:22px 24px!important;
  background:
    radial-gradient(circle at 100% 0,rgba(47,112,237,.12),transparent 42%),
    linear-gradient(145deg,#f8fbff,#edf5ff);
}
.tnvd-eyebrow{
  color:#55718f!important;
  font-size:13px!important;
  font-weight:800!important;
  letter-spacing:.02em;
  text-transform:none!important;
}
.tnvd-tariff__main>strong{
  margin:6px 0 10px;
  font-size:clamp(40px,5.2vw,60px)!important;
  line-height:1;
}
.tnvd-tariff__facts{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  overflow:hidden;
}
.tnvd-tariff__facts>div{
  min-height:73px!important;
  padding:15px 17px!important;
  border-top:1px solid #e5edf5;
  border-left:1px solid #e5edf5!important;
}
.tnvd-tariff__facts>div:nth-child(-n+2){border-top:0}
.tnvd-tariff__facts>div:nth-child(odd){border-left:0!important}
.tnvd-tariff__facts span{
  font-size:12px!important;
  letter-spacing:.025em;
}
.tnvd-tariff__facts b{
  margin-top:5px;
  font-size:18px!important;
  line-height:1.2;
}
.tnvd-vat-fact small{
  margin-top:4px;
  font-size:12px!important;
}

.tnvd-card-nav{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  gap:4px;
  overflow:auto;
  margin:0 0 12px;
  padding:7px;
  border:1px solid #dce6f0;
  border-radius:14px;
  background:color-mix(in srgb,#fff 92%,transparent);
  box-shadow:0 8px 30px rgba(33,58,87,.07);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  scrollbar-width:none;
}
.tnvd-card-nav::-webkit-scrollbar{display:none}
.tnvd-card-nav a{
  flex:0 0 auto;
  min-height:36px;
  display:inline-flex;
  align-items:center;
  padding:0 12px;
  border-radius:9px;
  color:#526a82;
  font-size:13px;
  font-weight:800;
  text-decoration:none;
  white-space:nowrap;
}
.tnvd-card-nav a:hover{
  background:#edf5ff;
  color:#155fd3;
}

.tnvd-hierarchy{
  margin-bottom:14px!important;
  border-radius:var(--tnvd-radius)!important;
}
.tnvd-hierarchy>header{
  padding:17px 19px!important;
}
.tnvd-hierarchy>header h2{
  font-size:20px!important;
}
.tnvd-hierarchy>header small{
  font-size:13px!important;
  white-space:nowrap;
}
.tnvd-hierarchy__tree{
  padding:14px 18px 18px!important;
}
.tnvd-hierarchy__tree li{
  min-height:50px!important;
}
.tnvd-hierarchy__node{
  min-height:42px;
  padding:9px 12px!important;
  border-radius:11px!important;
}
.tnvd-hierarchy__node b{
  font-size:14px!important;
}
.tnvd-hierarchy__node p{
  font-size:15px!important;
  line-height:1.4!important;
}
.tnvd-hierarchy__tree li.is-current .tnvd-hierarchy__node p{
  font-size:16px!important;
}

.tnvd-section{
  margin-bottom:14px!important;
  border-radius:var(--tnvd-radius)!important;
  scroll-margin-top:72px;
}
.tnvd-section__head{
  padding:16px 18px!important;
}
.tnvd-section__head h2{
  font-size:20px!important;
  line-height:1.2;
}
.tnvd-section__head p{
  margin-top:4px!important;
  font-size:14px!important;
  line-height:1.45!important;
}
.tnvd-section__num{
  width:36px!important;
  height:36px!important;
  font-size:13px!important;
}
.tnvd-sync-note{
  font-size:12px!important;
}

.tnvd-fields{
  gap:14px!important;
  padding:18px!important;
}
.tnvd-fields--identity{
  grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr)!important;
}
.tnvd-fields--tariff{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.tnvd-field-half{
  grid-column:span 1!important;
}
.tnvd-fields label{
  gap:7px!important;
  font-size:14px!important;
  font-weight:800!important;
}
.tnvd-fields input,
.tnvd-fields textarea{
  min-height:48px;
  border-radius:11px!important;
  font-size:16px!important;
  line-height:1.35;
}
.tnvd-fields textarea{
  min-height:80px;
}
.tnvd-fields label>small{
  font-size:13px!important;
  line-height:1.45!important;
  color:#71849a!important;
  font-weight:600!important;
}

.tnvd-source{
  padding:0!important;
}
.tnvd-source__grid{
  grid-template-columns:.6fr 1.15fr 1.4fr .65fr .9fr!important;
}
.tnvd-source__grid>div{
  min-height:92px!important;
  padding:15px!important;
}
.tnvd-source__grid span,
.tnvd-source__document span{
  font-size:12px!important;
}
.tnvd-source__grid b,
.tnvd-source__document b{
  font-size:15px!important;
  line-height:1.35!important;
}
.tnvd-source__grid small{
  font-size:12px!important;
  line-height:1.35!important;
}
.tnvd-source__document{
  margin:0!important;
  padding:16px 18px!important;
  border-top:1px solid #e5edf4;
  border-radius:0!important;
}

.tnvd-note-accordions summary{
  min-height:50px;
  font-size:15px!important;
}
.tnvd-note-accordions details>div{
  font-size:15px!important;
  line-height:1.65!important;
}
.tnvd-form-actions{
  border-radius:14px!important;
}

@container tnved-card (max-width:900px){
  .tnvd-tariff{grid-template-columns:1fr!important}
  .tnvd-source__grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .tnvd-source__grid>div{border-top:1px solid #e5edf4!important}
  .tnvd-source__grid>div:nth-child(-n+2){border-top:0!important}
  .tnvd-fields--identity{grid-template-columns:1fr!important}
}
@container tnved-card (max-width:640px){
  .tnvd-card__top{align-items:flex-start;display:grid}
  .tnvd-card__actions{display:flex!important;width:100%;justify-content:flex-start}
  .tnvd-card__actions .btn{width:auto!important}
  .tnvd-tariff__facts{grid-template-columns:1fr 1fr!important}
  .tnvd-fields--tariff{grid-template-columns:1fr!important}
  .tnvd-field-half{grid-column:1!important}
  .tnvd-source__grid{grid-template-columns:1fr!important}
  .tnvd-source__grid>div{border-left:0!important;border-top:1px solid #e5edf4!important}
  .tnvd-source__grid>div:first-child{border-top:0!important}
  .tnvd-hierarchy__node{grid-template-columns:1fr!important;gap:3px!important}
}
@container tnved-card (max-width:430px){
  .tnvd-card__code-line h1{font-size:34px!important}
  .tnvd-card__display-name{font-size:18px!important}
  .tnvd-card__actions{display:grid!important;grid-template-columns:1fr 1fr}
  .tnvd-card__actions .btn{width:100%!important}
  .tnvd-tariff__main{padding:18px!important}
  .tnvd-tariff__main>strong{font-size:44px!important}
  .tnvd-tariff__facts{grid-template-columns:1fr!important}
  .tnvd-tariff__facts>div{
    min-height:auto!important;
    border-left:0!important;
    border-top:1px solid #e5edf5!important;
  }
  .tnvd-tariff__facts>div:first-child{border-top:0!important}
  .tnvd-section__head{padding:15px!important}
  .tnvd-section__head>div{align-items:flex-start!important}
  .tnvd-section__head h2{font-size:19px!important}
  .tnvd-fields{padding:14px!important}
  .tnvd-source__document{padding:15px!important}
  .tnvd-card-nav{margin-inline:-2px}
}

/* Fallback for browsers without container queries */
@media(max-width:600px){
  .tnvd-card{width:calc(100% - 18px)!important}
  .tnvd-card-nav{top:0}
}

/* ============================================================
   DSRent 5.16.25 — official VAT 10% reference
   ============================================================ */
.vat10-page{padding-bottom:50px}
.vat10-page .admin-shell{width:min(1240px,calc(100% - 40px));margin-inline:auto}
.vat10-hero{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;align-items:end;margin:22px 0 16px}
.vat10-hero h1{margin:7px 0 8px;font-size:clamp(34px,4vw,52px);line-height:1;letter-spacing:-.045em;color:#101d33}
.vat10-hero p{max-width:800px;margin:0;color:#647991;font-size:16px;line-height:1.55}
.vat10-law{padding:17px 18px;border:1px solid #cfe0f4;border-radius:16px;background:#f7fbff}
.vat10-law span,.vat10-law small{display:block;color:#71869c;font-size:12px}
.vat10-law b{display:block;margin:5px 0;color:#1b3652;font-size:17px}
.vat10-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}
.vat10-stats>div{min-height:90px;padding:15px;border:1px solid #dce6f0;border-radius:15px;background:#fff}
.vat10-stats span{display:block;color:#71869b;font-size:12px;font-weight:800}
.vat10-stats b{display:block;margin-top:8px;font-size:24px;color:#152a41}
.vat10-actions{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 20px;border:1px solid #dce6f0;border-radius:17px;background:#fff}
.vat10-actions h2{margin:0 0 5px;font-size:19px}.vat10-actions p{max-width:720px;margin:0;color:#6b8096;font-size:14px;line-height:1.5}
.vat10-actions__buttons{display:flex;gap:8px;flex:0 0 auto}
.vat10-safety{margin:12px 0;padding:15px 18px;border:1px solid #ead7a5;border-radius:14px;background:#fff9ea;color:#70531b}
.vat10-safety strong{display:block;margin-bottom:4px}.vat10-safety p{margin:0;font-size:13px;line-height:1.55}
.vat10-filter{display:grid;grid-template-columns:minmax(0,1fr) 230px auto;gap:8px;margin:14px 0}
.vat10-filter input,.vat10-filter select{min-height:46px;padding:0 13px;border:1px solid #d6e1ec;border-radius:11px;background:#fff;font-size:15px}
.vat10-table-wrap{overflow:hidden;border:1px solid #dce6f0;border-radius:17px;background:#fff}
.vat10-table{width:100%;border-collapse:collapse}
.vat10-table th{padding:12px 14px;background:#f6f9fc;color:#677d93;font-size:11px;text-align:left;text-transform:uppercase;letter-spacing:.05em}
.vat10-table td{padding:13px 14px;border-top:1px solid #e8eef4;color:#314a63;font-size:14px;vertical-align:top}
.vat10-table td>b{display:block;color:#182f47;font-size:15px}.vat10-table td>span{display:block;margin-top:3px}.vat10-table td small{display:block;margin-top:4px;color:#7c8fa3;line-height:1.35}
.vat-rule-badge{display:inline-flex!important;align-items:center;min-height:27px;padding:0 8px;border-radius:999px;font-size:11px!important;font-weight:850}
.vat-rule-badge.auto{background:#e9f8ef;color:#177442}.vat-rule-badge.conditional{background:#fff1d7;color:#966300}
.vat10-row-actions{text-align:right}.btn.tiny{min-height:34px!important;padding:0 10px!important;font-size:12px!important}
.tnvd-vat-source{display:inline-flex;margin-top:5px;color:#1665df;font-size:11px;font-weight:850;text-decoration:none}
.tnvd-vat-rule-panel{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(0,1.25fr);gap:14px;margin:0 18px 18px;padding:15px 16px;border-radius:14px}
.tnvd-vat-rule-panel.status-confirmed{border:1px solid #bfe6ce;background:#f2fbf5}
.tnvd-vat-rule-panel.status-conditional{border:1px solid #ecd499;background:#fff9ea}
.tnvd-vat-rule-panel.status-default{border:1px solid #dbe6f1;background:#f8fbfe}
.tnvd-vat-rule-panel__label{display:block;color:#74899e;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.tnvd-vat-rule-panel strong{display:block;margin:5px 0;font-size:17px;color:#19334e}.tnvd-vat-rule-panel p{margin:0;color:#627a91;font-size:13px;line-height:1.45}
.tnvd-vat-rule-panel__rules{display:grid;gap:7px}.tnvd-vat-rule-panel__rules>div{padding:9px 11px;border-radius:10px;background:rgba(255,255,255,.72)}
.tnvd-vat-rule-panel__rules b{display:block;font-size:13px}.tnvd-vat-rule-panel__rules span{display:block;margin-top:2px;color:#6e8297;font-size:12px;line-height:1.35}
@media(max-width:900px){
 .vat10-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .vat10-hero{grid-template-columns:1fr}.vat10-law{max-width:360px}
 .vat10-actions{align-items:flex-start;flex-direction:column}.vat10-filter{grid-template-columns:1fr 200px}
 .vat10-filter .btn{grid-column:1/-1}
 .tnvd-vat-rule-panel{grid-template-columns:1fr}
}
@media(max-width:700px){
 .vat10-page .admin-shell{width:calc(100% - 20px)}
 .vat10-stats{grid-template-columns:1fr 1fr}.vat10-stats>div{min-height:78px}
 .vat10-actions__buttons{width:100%;display:grid;grid-template-columns:1fr}.vat10-actions__buttons form,.vat10-actions__buttons .btn{width:100%}
 .vat10-filter{grid-template-columns:1fr}.vat10-table-wrap{border:0;background:transparent;overflow:visible}
 .vat10-table,.vat10-table tbody{display:block}.vat10-table thead{display:none}.vat10-table tr{display:block;margin-bottom:10px;border:1px solid #dce6f0;border-radius:14px;background:#fff;overflow:hidden}
 .vat10-table td{display:grid;grid-template-columns:105px minmax(0,1fr);gap:10px;padding:10px 12px;border-top:1px solid #edf2f6}
 .vat10-table td:first-child{border-top:0}.vat10-table td:before{content:attr(data-label);color:#7b8ea1;font-size:11px;font-weight:850;text-transform:uppercase}
 .vat10-row-actions{display:block!important;text-align:left!important}.vat10-row-actions:before{display:none}
 .vat10-row-actions form,.vat10-row-actions .btn{width:100%}
}
@media(max-width:430px){
 .vat10-stats{grid-template-columns:1fr}.vat10-hero h1{font-size:36px}
}

/* DSRent 5.16.26 — expose VAT 10% reference in the directory UI */
.admin-ref-card--vat .admin-ref-icon{
  width:64px;min-width:64px;font-size:16px;letter-spacing:-.03em;
}
.admin-ref-card--vat:hover{
  transform:translateY(-2px);
}
@media(max-width:700px){
  .admin-ref-card--vat .admin-ref-icon{
    width:52px;min-width:52px;height:52px;font-size:14px;
  }
}

/* DSRent 5.16.27 — VAT10 runtime safety */
.vat10-page-error{
  margin:0 0 14px;padding:15px 17px;border:1px solid #efc7c7;border-radius:14px;
  background:#fff5f5;color:#8b3030;
}
.vat10-page-error strong{display:block;margin-bottom:4px;font-size:15px}
.vat10-page-error p{margin:0;font-size:13px;line-height:1.5}
.vat10-actions button:disabled{opacity:.48;cursor:not-allowed}

/* DSRent 5.16.28 — VAT10 synchronization progress */
.vat10-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
.vat10-actions__buttons{align-self:center}
.vat10-progress{
  grid-column:1/-1;
  margin-top:4px;padding:15px 16px;border:1px solid #d9e5f1;border-radius:14px;
  background:linear-gradient(180deg,#f9fcff,#f4f8fc);
}
.vat10-progress[hidden]{display:none!important}
.vat10-progress__head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}
.vat10-progress__head strong{display:block;color:#18344f;font-size:14px}
.vat10-progress__head span{display:block;margin-top:3px;color:#6d8398;font-size:13px;line-height:1.4}
.vat10-progress__head>b{color:#1766df;font-size:18px;font-variant-numeric:tabular-nums}
.vat10-progress__track{height:9px;margin-top:12px;overflow:hidden;border-radius:999px;background:#dfe9f4}
.vat10-progress__track i{
  display:block;width:0;height:100%;border-radius:inherit;
  background:linear-gradient(90deg,#1f6feb,#4b8cff);
  transition:width .35s ease;
  position:relative;overflow:hidden;
}
.vat10-progress__track i:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(100deg,transparent 25%,rgba(255,255,255,.48) 45%,transparent 65%);
  transform:translateX(-100%);animation:vat10-shimmer 1.4s linear infinite;
}
@keyframes vat10-shimmer{to{transform:translateX(100%)}}
.vat10-progress__log{display:grid;gap:5px;max-height:145px;overflow:auto;margin-top:11px}
.vat10-progress__log-row{display:grid;grid-template-columns:18px 1fr;gap:6px;align-items:start;color:#60768c;font-size:12px}
.vat10-progress__log-row span{font-weight:900}.vat10-progress__log-row p{margin:0;line-height:1.4}
.vat10-progress__log-row.ok{color:#267248}.vat10-progress__log-row.error{color:#a34848}
.vat10-manual{grid-column:1/-1;border-top:1px solid #e4ebf2;margin-top:3px;padding-top:11px}
.vat10-manual summary{cursor:pointer;color:#49647e;font-size:13px;font-weight:800}
.vat10-manual__body{margin-top:10px;padding:13px 14px;border-radius:12px;background:#f7f9fc}
.vat10-manual__body p{margin:0 0 10px;color:#667d92;font-size:13px;line-height:1.5}
.vat10-manual__body form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.vat10-manual__body input[type=file]{
  min-height:44px;padding:8px 10px;border:1px solid #d8e2ec;border-radius:10px;background:#fff;font-size:13px
}
.vat10-law__source{margin-top:4px!important;color:#56708a!important;font-weight:700}
@media(max-width:900px){
  .vat10-actions{grid-template-columns:1fr!important}
  .vat10-actions__buttons{width:100%}
}
@media(max-width:620px){
  .vat10-progress__head{gap:10px}.vat10-progress__head>b{font-size:16px}
  .vat10-manual__body form{grid-template-columns:1fr}
  .vat10-manual__body .btn{width:100%}
}

/* ============================================================
   DSRent 5.16.29 — OKPD2 crosswalk
   ============================================================ */
.admin-ref-card--okpd2 .admin-ref-icon{font-size:15px}
.okpd2-page .admin-shell{width:min(1240px,calc(100% - 40px));margin-inline:auto}
.okpd2-hero{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;align-items:end;margin:22px 0 16px}
.okpd2-hero h1{margin:7px 0 8px;font-size:clamp(34px,4vw,52px);line-height:1;letter-spacing:-.045em;color:#101d33}
.okpd2-hero p{max-width:820px;margin:0;color:#657a90;font-size:16px;line-height:1.55}
.okpd2-source{padding:16px 17px;border:1px solid #d2e0ee;border-radius:15px;background:#f8fbfe}
.okpd2-source span,.okpd2-source small{display:block;color:#71869b;font-size:12px}.okpd2-source b{display:block;margin:5px 0;color:#173450;font-size:16px}
.okpd2-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.okpd2-stats>div{padding:15px;border:1px solid #dce6f0;border-radius:14px;background:#fff}.okpd2-stats span{display:block;color:#75899d;font-size:12px;font-weight:800}.okpd2-stats b{display:block;margin-top:7px;font-size:24px;color:#18334e}
.okpd2-notice{padding:14px 16px;border:1px solid #cfe0f1;border-radius:14px;background:#f5faff}.okpd2-notice strong{display:block;color:#214d7c}.okpd2-notice p{margin:4px 0 0;color:#607a94;font-size:13px;line-height:1.55}
.okpd2-import{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.7fr);gap:22px;margin:12px 0;padding:18px;border:1px solid #dce6f0;border-radius:16px;background:#fff}
.okpd2-import h2{margin:0 0 5px;font-size:19px}.okpd2-import p{margin:0 0 8px;color:#687f95;font-size:13px;line-height:1.5}.okpd2-import a{display:inline-block;margin-right:12px;color:#1764d8;font-size:12px;font-weight:800}
.okpd2-import form{display:grid;gap:9px}.okpd2-import label span{display:block;margin-bottom:5px;color:#596f85;font-size:12px;font-weight:800}.okpd2-import input{width:100%;min-height:43px;padding:8px 10px;border:1px solid #d5e0eb;border-radius:10px;font-size:14px}
.okpd2-search{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0}.okpd2-search input{min-height:45px;padding:0 13px;border:1px solid #d6e1ec;border-radius:11px;font-size:15px}
.okpd2-table-wrap{overflow:hidden;border:1px solid #dce6f0;border-radius:16px;background:#fff}.okpd2-table{width:100%;border-collapse:collapse}.okpd2-table th{padding:11px 13px;background:#f6f9fc;color:#6c8196;font-size:11px;text-align:left;text-transform:uppercase}.okpd2-table td{padding:12px 13px;border-top:1px solid #e8eef4;color:#324c65;font-size:14px;vertical-align:top}.okpd2-table td>b{font-size:15px;color:#17334f}.okpd2-table td small,.okpd2-table td span{display:block;color:#7b8fa2;font-size:12px}
.tnvd-card-nav a span{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;margin-left:4px;padding:0 5px;border-radius:999px;background:#e8f2ff;color:#1765d9;font-size:10px}
.tnvd-okpd2__count{color:#61788e;font-size:12px;font-weight:800}
.tnvd-okpd2__list{display:grid;gap:0;padding:0 18px}
.tnvd-okpd2__list article{display:grid;grid-template-columns:160px minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px 0;border-top:1px solid #e8eef4}.tnvd-okpd2__list article:first-child{border-top:0}
.tnvd-okpd2__code span{display:block;color:#7a8da0;font-size:10px;font-weight:850;text-transform:uppercase}.tnvd-okpd2__code strong{display:block;margin-top:3px;color:#165fd4;font-size:19px}
.tnvd-okpd2__name b{display:block;color:#203b55;font-size:15px;line-height:1.4}.tnvd-okpd2__name small{display:block;margin-top:4px;color:#7b8da0;font-size:12px}
.tnvd-okpd2__empty{margin:0 18px 14px;padding:14px;border-radius:12px;background:#f7f9fc;color:#687f95;font-size:14px}
.tnvd-okpd2__manual{margin:0 18px 14px;border:1px solid #dce6f0;border-radius:12px;background:#fbfcfe}.tnvd-okpd2__manual summary{padding:12px 14px;cursor:pointer;color:#4e6983;font-size:13px;font-weight:800}.tnvd-okpd2__manual form{display:grid;grid-template-columns:220px 1fr auto;gap:8px;padding:0 12px 12px}.tnvd-okpd2__manual label span{display:block;margin-bottom:4px;color:#73879a;font-size:11px;font-weight:800}.tnvd-okpd2__manual input{width:100%;min-height:40px;padding:0 10px;border:1px solid #d7e2ec;border-radius:9px;font-size:14px}
.tnvd-okpd2__legal{margin:0 18px 18px;padding:11px 13px;border-radius:11px;background:#f3f7fb;color:#71869a;font-size:12px;line-height:1.45}
@media(max-width:850px){.okpd2-hero,.okpd2-import{grid-template-columns:1fr}.okpd2-source{max-width:400px}.tnvd-okpd2__manual form{grid-template-columns:1fr 1fr}.tnvd-okpd2__manual .btn{grid-column:1/-1}}
@media(max-width:650px){
 .okpd2-page .admin-shell{width:calc(100% - 20px)}.okpd2-stats{grid-template-columns:1fr}.okpd2-search{grid-template-columns:1fr}.okpd2-search .btn{width:100%}
 .okpd2-table-wrap{border:0;background:transparent;overflow:visible}.okpd2-table,.okpd2-table tbody{display:block}.okpd2-table thead{display:none}.okpd2-table tr{display:block;margin-bottom:9px;border:1px solid #dce6f0;border-radius:13px;background:#fff;overflow:hidden}.okpd2-table td{display:grid;grid-template-columns:95px 1fr;gap:8px}.okpd2-table td:before{content:attr(data-label);color:#7b8ea1;font-size:10px;font-weight:850;text-transform:uppercase}
 .tnvd-okpd2__list article{grid-template-columns:1fr auto}.tnvd-okpd2__code{grid-column:1}.tnvd-okpd2__name{grid-column:1/-1;grid-row:2}.tnvd-okpd2__list article form{grid-column:2;grid-row:1}.tnvd-okpd2__manual form{grid-template-columns:1fr}
}

/* DSRent 5.16.30 — exact official OKPD2 importer */
.okpd2-import__source{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:9px}.okpd2-import__source a{margin:0!important}
.okpd2-import__last{display:grid;gap:3px;margin-top:13px;padding:11px 12px;border:1px solid #dce7f2;border-radius:11px;background:#f7fafd}
.okpd2-import__last span{color:#7a8da0;font-size:10px;font-weight:850;text-transform:uppercase}.okpd2-import__last b{color:#203d58;font-size:14px}.okpd2-import__last small{color:#6d8297;font-size:12px}.okpd2-import__last code{color:#536c84;font-size:11px;word-break:break-all}
.okpd2-import__check{padding:10px 11px;border-radius:10px;background:#f4f8fc}.okpd2-import__check b{display:block;color:#35536f;font-size:12px}.okpd2-import__check span{display:block;margin-top:3px;color:#71869a;font-size:11px;line-height:1.45}

/* DSRent 5.16.31 — two-sheet OKPD2 reconciliation */
.okpd2-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.okpd2-stats .is-good{border-color:#cce7d6;background:#f6fcf8}
.okpd2-stats .is-good b{color:#247448}
.okpd2-stats .is-warn{border-color:#eadcb3;background:#fffaf0}
.okpd2-stats .is-warn b{color:#916416}
.okpd2-search{grid-template-columns:minmax(0,1fr) 270px auto!important}
.okpd2-search select{min-height:45px;padding:0 12px;border:1px solid #d6e1ec;border-radius:11px;background:#fff;font-size:14px;color:#415c75}
.okpd2-verify,.tnvd-okpd2__verify{
  display:inline-flex!important;align-items:center;width:max-content;min-height:25px;margin-top:5px;padding:0 8px;
  border-radius:999px;font-size:10px!important;font-weight:850
}
.okpd2-verify.status-reciprocal,.tnvd-okpd2__verify.status-reciprocal{background:#e9f8ef;color:#207548}
.okpd2-verify.status-forward_only,.okpd2-verify.status-reverse_only,
.tnvd-okpd2__verify.status-forward_only,.tnvd-okpd2__verify.status-reverse_only{background:#fff1d9;color:#8b610a}
.okpd2-verify.status-legacy,.tnvd-okpd2__verify.status-legacy{background:#eef2f6;color:#667b90}
@media(max-width:760px){
  .okpd2-search{grid-template-columns:1fr!important}
  .okpd2-stats{grid-template-columns:1fr 1fr!important}
}
@media(max-width:430px){.okpd2-stats{grid-template-columns:1fr!important}}

/* DSRent 5.16.32 — official workbook layout detection */
.okpd2-import__check span{max-width:640px}

/* DSRent 5.16.33 — server-side OKPD2 pagination */
.okpd2-search{grid-template-columns:minmax(0,1fr) 260px 180px auto!important}
.okpd2-listbar{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:12px 14px;border:1px solid #dce6f0;border-bottom:0;border-radius:14px 14px 0 0;background:#fff}
.okpd2-listbar>div{display:grid;gap:2px}.okpd2-listbar strong{font-size:15px;color:#1f344a}.okpd2-listbar span,.okpd2-listbar small{font-size:12px;color:#73879a}
.okpd2-pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding:16px 8px}
.pg-btn{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border:1px solid #d5e1ed;border-radius:10px;background:#fff;color:#31516d;font-weight:800;text-decoration:none}
.pg-btn:hover{border-color:#93b9e8;background:#f4f8fd}.pg-btn.is-active{border-color:#2d70e8;background:#2d70e8;color:#fff}.pg-btn.is-disabled{pointer-events:none;opacity:.38}.pg-gap{padding:0 3px;color:#8294a5}
@media(max-width:900px){.okpd2-search{grid-template-columns:1fr 1fr!important}.okpd2-search input{grid-column:1/-1}.okpd2-search .btn{grid-column:1/-1}}
@media(max-width:620px){.okpd2-search{grid-template-columns:1fr!important}.okpd2-search input{grid-column:auto}.okpd2-listbar{align-items:flex-start;flex-direction:column;gap:5px}.okpd2-listbar small{display:none}.pg-btn{min-width:36px;height:36px}}

/* 5.16.34 — TN VED professional card */
.tnvd-card{max-width:1480px;margin-inline:auto}
.tnvd-card__top{position:relative;align-items:flex-start}
.tnvd-card__display-name{max-width:980px;font-size:clamp(20px,1.6vw,28px)!important;line-height:1.28!important}
.tnvd-card-nav{position:sticky;top:0;z-index:20;overflow-x:auto;scrollbar-width:none;background:rgba(255,255,255,.94);backdrop-filter:blur(14px)}
.tnvd-card-nav::-webkit-scrollbar{display:none}
.tnvd-card-nav a{white-space:nowrap;font-size:15px}
.tnvd-card--view .tnvd-fields label{padding:16px 18px;border:1px solid #e3ebf5;border-radius:14px;background:#f8fbff}
.tnvd-card--view .tnvd-fields input,.tnvd-card--view .tnvd-fields textarea,.tnvd-card--view .tnvd-fields select{border:0!important;background:transparent!important;box-shadow:none!important;padding:4px 0!important;min-height:0!important;color:#12213a!important;font-size:17px!important;font-weight:700!important;resize:none}
.tnvd-card--view .tnvd-fields small{font-size:13px;line-height:1.45}
.tnvd-card--view .tnvd-savebar{display:none}
.tnvd-card--view .tnvd-technical-field{display:none}
.tnvd-card--view .tnvd-fields label>span{font-size:13px;letter-spacing:.02em}
.tnvd-card--edit #tnved-edit-toggle{opacity:.65;pointer-events:none}
.tnvd-card--edit .tnvd-savebar{position:sticky;bottom:14px;z-index:25}
.tnvd-savebar__buttons{display:flex;gap:10px;flex-wrap:wrap}
.tnvd-okpd2__code a{color:#1261df;text-decoration:none}.tnvd-okpd2__code a:hover{text-decoration:underline}
.tnvd-okpd2__basis{display:block;margin-top:5px;color:#657991!important}
.tnvd-okpd2__verify{width:max-content;max-width:100%}
@media (min-width:900px){.tnvd-tariff{display:grid;grid-template-columns:minmax(280px,.8fr) 2.2fr}.tnvd-fields--identity{grid-template-columns:minmax(220px,.65fr) 1.35fr}.tnvd-fields--tariff{grid-template-columns:repeat(3,minmax(0,1fr))}.tnvd-okpd2__list article{grid-template-columns:180px minmax(0,1fr) auto}}
@media (max-width:899px){.tnvd-card{padding-inline:12px}.tnvd-card__top{gap:16px}.tnvd-card__actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.tnvd-card__actions .btn{justify-content:center}.tnvd-card__code-line h1{font-size:clamp(30px,9vw,44px)}.tnvd-tariff__facts{grid-template-columns:1fr 1fr}.tnvd-hierarchy__node{padding:12px}.tnvd-section{padding:18px 14px}.tnvd-section__head>div{align-items:flex-start}.tnvd-section__head h2{font-size:20px}.tnvd-fields,.tnvd-fields--identity,.tnvd-fields--tariff{grid-template-columns:1fr!important}.tnvd-field-wide,.tnvd-field-full,.tnvd-field-half{grid-column:auto!important}.tnvd-okpd2__list article{grid-template-columns:1fr;gap:10px}.tnvd-okpd2__list article form{width:100%}.tnvd-okpd2__list article form .btn{width:100%}.tnvd-source__grid{grid-template-columns:1fr 1fr}.tnvd-source__document{align-items:flex-start;flex-direction:column}.tnvd-savebar{align-items:stretch;flex-direction:column}.tnvd-savebar__buttons{display:grid;grid-template-columns:1fr 1fr}.tnvd-savebar__buttons .btn{width:100%}}
@media (max-width:560px){.tnvd-card{padding-inline:8px}.tnvd-card__crumbs{font-size:13px}.tnvd-card__actions{grid-template-columns:1fr}.tnvd-tariff__facts,.tnvd-source__grid{grid-template-columns:1fr}.tnvd-tariff__main strong{font-size:38px}.tnvd-card-nav{margin-inline:-8px;padding-inline:8px}.tnvd-section{border-radius:16px}.tnvd-section__head{gap:10px}.tnvd-section__num{width:34px;height:34px}.tnvd-card--view .tnvd-fields label{padding:14px}.tnvd-savebar__buttons{grid-template-columns:1fr}}

/* DSRent 5.16.35 — DT Parser 4.0 status */
.dtc-parser-health{font-variant-numeric:tabular-nums}

/* DSRent 5.16.36 — graph-coordinate DT parser */
.dtc-reconcile-card{font-variant-numeric:tabular-nums}

/* DSRent 5.16.37 — explicit calculator control gateway */
.dtc-global-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 0}
.dtc-global-checks>div{padding:12px 14px;border:1px solid #dce6f0;border-radius:13px;background:#fff}
.dtc-global-checks span{display:block;color:#72869a;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.025em}
.dtc-global-checks b{display:block;margin-top:5px;color:#1d344c;font-size:16px;font-variant-numeric:tabular-nums}
.dtc-global-checks small{display:block;margin-top:3px;font-size:11px;font-weight:800}
.dtc-global-checks .is-ok{border-color:#cde8d7;background:#f5fcf8}.dtc-global-checks .is-ok small{color:#207649}
.dtc-global-checks .is-error{border-color:#f0c9bf;background:#fff8f6}.dtc-global-checks .is-error small{color:#a94b35}
.dtc-blocking-reasons{margin:12px 0;padding:13px 15px;border:1px solid #efc267;border-radius:13px;background:#fff9eb;color:#79530f}
.dtc-blocking-reasons strong{display:block;font-size:14px}.dtc-blocking-reasons ul{margin:7px 0 0;padding-left:19px}.dtc-blocking-reasons li{margin:3px 0;font-size:13px;line-height:1.45}
@media(max-width:680px){.dtc-global-checks{grid-template-columns:1fr}}

/* DSRent 5.16.38 — graph 5/6 header-box parser */
.dtc-global-checks small{line-height:1.35}

/* DSRent 5.16.39 — DT Parser 5.0 hybrid evidence engine */
.dtc-global-checks .is-ok small{line-height:1.4}

/* DSRent 5.16.40 — semantic graph-31 product identity */
.dtc-product-name{overflow-wrap:anywhere}

/* DSRent 5.16.46 — isolated queue/currency modules */
.dtc-processing-safe{margin-top:18px;padding:24px;border:1px solid #dbe6f1;border-radius:20px;background:#fff;box-shadow:0 14px 34px rgba(30,64,100,.06)}
.dtc-processing-safe h2{margin:5px 0;font-size:24px}.dtc-processing-safe p{margin:0;color:#71869a}
.dtc-processing-safe-bar{height:12px;margin:18px 0 8px;overflow:hidden;border-radius:999px;background:#edf3f8}
.dtc-processing-safe-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1767e8,#64a4ff);transition:width .35s}
.dtc-processing-safe-meta{display:flex;justify-content:space-between;gap:16px;color:#74899d;font-size:12px}.dtc-processing-safe-meta b{color:#1767e8}
.currency-admin-table{margin-top:16px;border:1px solid #dce7f1;border-radius:18px;overflow:hidden;background:#fff}
.currency-admin-head,.currency-admin-row{display:grid;grid-template-columns:80px minmax(220px,1fr) 90px 150px 150px;gap:12px;align-items:center;padding:12px 16px}
.currency-admin-head{background:#f4f8fc;color:#718396;font-size:12px;font-weight:800;text-transform:uppercase}
.currency-admin-row{border-top:1px solid #edf2f6;font-size:14px}.currency-admin-row b{color:#1767e8}
@media(max-width:700px){.dtc-processing-safe-meta{flex-direction:column;gap:3px}.currency-admin-table{overflow:auto}.currency-admin-head,.currency-admin-row{min-width:720px}}

/* DSRent 5.16.47 — professional management / currency UI */
.admin-secondary-nav,.admin-subnav,.admin-workspace-secondary{scrollbar-width:none}
.admin-secondary-nav::-webkit-scrollbar,.admin-subnav::-webkit-scrollbar,.admin-workspace-secondary::-webkit-scrollbar{display:none}
.currency-admin-page{max-width:1500px;margin:0 auto;padding:54px 28px 80px}
.currency-admin-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:24px}
.currency-admin-title{max-width:880px}.currency-admin-title h1{margin:10px 0 8px;font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-.045em}
.currency-admin-title p{margin:0;color:#687d92;font-size:17px;line-height:1.55}
.currency-sync-btn{min-height:52px;padding:0 24px;white-space:nowrap}
.currency-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}
.currency-status-card{padding:18px 20px;border:1px solid #dbe6f1;border-radius:18px;background:#fff;box-shadow:0 9px 26px rgba(35,67,101,.045)}
.currency-status-card span{display:block;color:#788b9e;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.currency-status-card strong{display:block;margin-top:8px;color:#14263a;font-size:23px;line-height:1.15}
.currency-status-card small{display:block;margin-top:5px;color:#7a8ea2;font-size:12px}
.currency-health{display:flex;align-items:center;gap:13px;padding:14px 17px;border-radius:15px;margin-bottom:28px}
.currency-health.is-ok{border:1px solid #c9e8d5;background:#f3fbf6}.currency-health.is-warning{border:1px solid #eed19b;background:#fff9ed}
.currency-health-dot{width:10px;height:10px;border-radius:50%;flex:0 0 auto;background:#2ba568}.currency-health.is-warning .currency-health-dot{background:#d9911f}
.currency-health strong{display:block;color:#1f374c;font-size:14px}.currency-health span{display:block;margin-top:2px;color:#71869a;font-size:13px}
.currency-section{margin-top:24px;padding:24px;border:1px solid #dbe6f1;border-radius:22px;background:#fff;box-shadow:0 15px 38px rgba(31,65,100,.05)}
.currency-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
.currency-section-head h2{margin:6px 0 0;font-size:28px;letter-spacing:-.025em}.currency-filter-wrap{min-width:min(360px,100%)}
.currency-filter-wrap input{width:100%;height:48px;border:1px solid #d7e3ef;border-radius:13px;background:#f9fbfd;padding:0 15px;font-size:14px}
.currency-cards{display:grid;gap:8px}
.currency-rate-card{display:grid;grid-template-columns:90px minmax(260px,1fr) 180px 180px;gap:18px;align-items:center;padding:14px 16px;border:1px solid #e5edf5;border-radius:14px;background:#fff}
.currency-rate-card:hover{border-color:#b9d3f2;background:#fbfdff}
.currency-code{display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:11px;background:#eaf3ff;color:#1767e8;font-size:16px;font-weight:900}
.currency-name strong{display:block;color:#1b3045;font-size:15px}.currency-name span{display:block;margin-top:4px;color:#8294a6;font-size:12px}
.currency-value span{display:block;color:#8294a6;font-size:11px;font-weight:800;text-transform:uppercase}.currency-value strong{display:block;margin-top:4px;color:#20374c;font-size:16px;font-variant-numeric:tabular-nums}
.currency-cron-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,620px);gap:24px;align-items:center;margin-top:18px;padding:22px 24px;border:1px solid #dbe6f1;border-radius:18px;background:#f7faff}
.currency-cron-card h2{margin:5px 0 6px;font-size:22px}.currency-cron-card p{margin:0;color:#74889c}.currency-cron-card code{display:block;padding:14px 16px;border-radius:12px;background:#15273a;color:#f6f9fc;overflow:auto;font-size:13px}
.currency-empty{padding:34px;text-align:center;border:1px dashed #cbd9e6;border-radius:16px;background:#fbfdff}.currency-empty strong{font-size:18px}.currency-empty p{color:#7a8da0}
@media(max-width:1100px){.currency-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.currency-rate-card{grid-template-columns:80px minmax(220px,1fr) 150px 150px}.currency-cron-card{grid-template-columns:1fr}}
@media(max-width:760px){
  .currency-admin-page{padding:28px 14px 60px}.currency-admin-hero{align-items:stretch;flex-direction:column}.currency-sync-form,.currency-sync-btn{width:100%}
  .currency-status-grid{grid-template-columns:1fr 1fr;gap:10px}.currency-status-card{padding:15px}.currency-status-card strong{font-size:19px}
  .currency-section{padding:16px;border-radius:17px}.currency-section-head{align-items:stretch;flex-direction:column}.currency-filter-wrap{min-width:0;width:100%}
  .currency-rate-card{grid-template-columns:64px minmax(0,1fr);gap:12px}.currency-value{grid-column:2}.currency-value+ .currency-value{margin-top:-7px}
  .currency-cron-card{padding:18px}.currency-admin-title p{font-size:15px}
}
@media(max-width:480px){.currency-status-grid{grid-template-columns:1fr}.currency-rate-card{grid-template-columns:58px minmax(0,1fr)}}

/* DSRent 5.16.48 — DT rate must come from graph 23 */
.dtc-global-checks{grid-template-columns:repeat(3,minmax(0,1fr))}
.currency-reference-only{display:flex;gap:12px;align-items:flex-start;margin:18px 0;padding:14px 16px;border:1px solid #cfe0f3;border-radius:14px;background:#f5f9fe}
.currency-reference-only strong{color:#1767e8}.currency-reference-only span{color:#526a81;line-height:1.45}
@media(max-width:1000px){.dtc-global-checks{grid-template-columns:1fr 1fr}}
@media(max-width:680px){.dtc-global-checks{grid-template-columns:1fr}.currency-reference-only{flex-direction:column;gap:4px}}


/* DSRent 5.16.50 — self-processing DT queue */
.dtc-processing-safe-meta span{color:#71869a}

/* DSRent 5.16.50 — browser-triggered processing */
.dtc-processing-safe-meta #dtcJobDetail{max-width:70%;text-align:right}
@media(max-width:680px){.dtc-processing-safe-meta #dtcJobDetail{max-width:none;text-align:left}}

/* DSRent 5.16.51 — processing reset */
.dtc-processing-safe-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}
.dtc-processing-safe-head>div{min-width:0}
.dtc-reset-processing{flex:0 0 auto;min-height:44px;white-space:nowrap}
.dtc-reset-processing:disabled{opacity:.62;cursor:wait}
@media(max-width:680px){
  .dtc-processing-safe-head{flex-direction:column;gap:16px}
  .dtc-reset-processing{width:100%}
}

/* DSRent 5.16.52 — hard server-side reset */
.dtc-reset-processing-form{margin:0;flex:0 0 auto}
.dtc-reset-processing-form .dtc-reset-processing{min-height:44px;white-space:nowrap}
@media(max-width:680px){
  .dtc-reset-processing-form{width:100%}
  .dtc-reset-processing-form .dtc-reset-processing{width:100%}
}

/* DSRent 5.16.53 — DT debugger */
.dtc-debug-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid #e8eff6}
.dtc-debug-tools span{color:#71869a;font-size:12px}
.dtc-debug-panel{margin-top:12px;padding:14px;border:1px solid #d9e5f0;border-radius:14px;background:#111d29}
.dtc-debug-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.dtc-debug-panel-head strong{color:#fff;font-size:14px}
.dtc-debug-panel-head .btn{background:#fff;color:#203448;border-color:#d8e3ed}
.dtc-debug-panel pre{max-height:440px;margin:0;overflow:auto;white-space:pre-wrap;word-break:break-word;color:#d6e4f2;font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace}
@media(max-width:680px){
  .dtc-debug-tools{align-items:stretch;flex-direction:column}
  .dtc-debug-tools .btn{width:100%}
  .dtc-debug-panel-head{align-items:stretch;flex-direction:column}
}

/* DSRent 5.16.54 — no-JS diagnostics */
.dtc-debug-tools-static{justify-content:space-between}
.dtc-debug-tools-static strong{color:#203448;font-size:14px}
.dtc-debug-panel-static{display:block!important}
.dtc-debug-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
.dtc-debug-summary>div{padding:10px 12px;border:1px solid #31445a;border-radius:10px;background:#182737}
.dtc-debug-summary span{display:block;color:#8fa7be;font-size:10px;text-transform:uppercase;font-weight:800}
.dtc-debug-summary b{display:block;margin-top:4px;color:#fff;font-size:14px}
.dtc-processing-actions{display:flex;gap:10px;align-items:center}
.dtc-processing-actions form{margin:0}
@media(max-width:780px){
  .dtc-debug-summary{grid-template-columns:1fr 1fr}
  .dtc-processing-actions{width:100%;flex-direction:column}
  .dtc-processing-actions form,.dtc-processing-actions .btn{width:100%}
}
@media(max-width:480px){.dtc-debug-summary{grid-template-columns:1fr}}

/* DSRent 5.16.55 — synchronous DT parsing + Graph 22/23 geometry-aware parser */

/* DSRent 5.16.56 */
.dtc-result-product-name strong{font-size:14px!important;line-height:1.42!important}
.dtc-result-product-name small{margin-top:4px!important;font-size:11px!important;line-height:1.3!important}
.dtc-result-value b,.dtc-result-native b{font-size:13px!important;line-height:1.3!important}
.dtc-result-value small,.dtc-result-native small,.dtc-result-unit small,.dtc-result-unit span{font-size:11px!important;line-height:1.3!important}
.dtc-result-more{font-size:13px!important;min-height:44px!important;padding:0 14px!important}
.dtc-result-details{padding:16px!important;background:#f7fafc!important}
.dtc-result-details dl{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.dtc-result-details dl>div{min-height:82px!important;padding:14px 15px!important;border:1px solid #dce7f1!important;border-radius:13px!important;background:#fff!important}
.dtc-result-details dt{color:#667d93!important;font-size:12px!important;font-weight:750!important;line-height:1.35!important}
.dtc-result-details dd{margin:7px 0 0!important;color:#172a3d!important;font-size:17px!important;font-weight:850!important;line-height:1.2!important;font-variant-numeric:tabular-nums!important}
.dtc-result-details .dtc-detail-card-wide dt+dd+dt{display:block!important;margin-top:10px!important;padding-top:10px!important;border-top:1px solid #edf2f6!important}
.dtc-result-details .total{border-color:#bfd9fb!important;background:#eaf3ff!important}
.dtc-result-details .total dt{color:#416b9e!important}.dtc-result-details .total dd{color:#1762e8!important;font-size:19px!important}
@media(max-width:1000px){.dtc-result-details dl{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){
 .dtc-result-product-name strong{font-size:15px!important}
 .dtc-result-product-name small,.dtc-result-value small,.dtc-result-native small,.dtc-result-unit small,.dtc-result-unit span{font-size:12px!important}
 .dtc-result-value b,.dtc-result-native b{font-size:14px!important}
 .dtc-result-details{padding:12px!important}.dtc-result-details dl{grid-template-columns:1fr!important;gap:10px!important}
 .dtc-result-details dl>div{min-height:auto!important;padding:14px!important}
 .dtc-result-details dt{font-size:13px!important}.dtc-result-details dd{font-size:18px!important}.dtc-result-details .total dd{font-size:20px!important}
}

/* DSRent 5.16.57 — result row grid and typography fix */

/* Header and item rows use the same column contract:
   product | quantity | DT price | cost | action */
.dtc-result-head,
.dtc-result-row{
  display:grid!important;
  grid-template-columns:
    minmax(360px,1.9fr)
    minmax(130px,.58fr)
    minmax(170px,.72fr)
    minmax(230px,.88fr)
    minmax(132px,.44fr)!important;
  column-gap:18px!important;
  align-items:center!important;
}

.dtc-result-head{
  padding-left:18px!important;
  padding-right:18px!important;
}
.dtc-result-row{
  padding-left:18px!important;
  padding-right:18px!important;
}

/* Cost block owns only its own column. It must never share width with the action. */
.dtc-result-cost-cell,
.dtc-result-unit{
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  padding:12px 14px!important;
  border-radius:14px!important;
  box-sizing:border-box!important;
  overflow:visible!important;
}
.dtc-result-cost-cell strong,
.dtc-result-unit strong,
.dtc-result-cost-cell b,
.dtc-result-unit b{
  display:block!important;
  font-size:20px!important;
  line-height:1.08!important;
  letter-spacing:-.02em!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
.dtc-result-cost-cell small,
.dtc-result-unit small{
  display:block!important;
  margin-top:4px!important;
  font-size:12px!important;
  line-height:1.3!important;
  white-space:nowrap!important;
  overflow:visible!important;
}

/* Dedicated button column. */
.dtc-result-action,
.dtc-result-more{
  justify-self:stretch!important;
  width:100%!important;
  min-width:124px!important;
  min-height:48px!important;
  padding:0 14px!important;
  margin:0!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  position:static!important;
  transform:none!important;
}

/* Main row text: readable without zoom. */
.dtc-result-product-name strong{
  font-size:15px!important;
  line-height:1.38!important;
  font-weight:850!important;
}
.dtc-result-product-name small{
  font-size:12px!important;
  line-height:1.35!important;
}
.dtc-result-value b,
.dtc-result-native b{
  font-size:15px!important;
  line-height:1.2!important;
  font-weight:850!important;
}
.dtc-result-value small,
.dtc-result-native small{
  font-size:12px!important;
  line-height:1.35!important;
}
.dtc-result-head > *{
  font-size:11px!important;
  line-height:1.2!important;
  font-weight:800!important;
}

/* Position summary numbers a little larger too. */
.dtc-result-position-summary strong,
.dtc-result-position-summary b{
  font-size:14px!important;
}
.dtc-result-position-summary span,
.dtc-result-position-summary small{
  font-size:11px!important;
}

/* Large desktop: ensure no collision even with 7-digit ruble amounts. */
@media (min-width:1280px){
  .dtc-result-head,
  .dtc-result-row{
    grid-template-columns:
      minmax(390px,2fr)
      minmax(140px,.58fr)
      minmax(185px,.72fr)
      minmax(250px,.92fr)
      minmax(142px,.46fr)!important;
  }
}

/* Medium desktop / tablet landscape:
   action goes below cost within the last two tracks rather than overlap. */
@media (max-width:1180px){
  .dtc-result-head{
    grid-template-columns:minmax(300px,1.65fr) 120px 160px minmax(220px,.9fr)!important;
  }
  .dtc-result-head > :last-child{
    display:none!important;
  }
  .dtc-result-row{
    grid-template-columns:minmax(300px,1.65fr) 120px 160px minmax(220px,.9fr)!important;
    row-gap:10px!important;
  }
  .dtc-result-action,
  .dtc-result-more{
    grid-column:4!important;
    width:auto!important;
    min-width:0!important;
    justify-self:end!important;
    min-height:42px!important;
    padding:0 16px!important;
  }
  .dtc-result-cost-cell,
  .dtc-result-unit{
    grid-column:4!important;
    padding-right:138px!important;
    position:relative!important;
  }
  .dtc-result-action,
  .dtc-result-more{
    position:relative!important;
    margin-top:-54px!important;
    margin-right:10px!important;
  }
}

/* Mobile: stacked, no absolute/negative layout, button full width. */
@media (max-width:760px){
  .dtc-result-head{
    display:none!important;
  }
  .dtc-result-row{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
    padding:16px!important;
  }
  .dtc-result-product-name,
  .dtc-result-value,
  .dtc-result-native,
  .dtc-result-cost-cell,
  .dtc-result-unit,
  .dtc-result-action,
  .dtc-result-more{
    grid-column:1!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    position:static!important;
    transform:none!important;
  }
  .dtc-result-cost-cell,
  .dtc-result-unit{
    padding:14px!important;
  }
  .dtc-result-cost-cell strong,
  .dtc-result-unit strong,
  .dtc-result-cost-cell b,
  .dtc-result-unit b{
    font-size:22px!important;
  }
  .dtc-result-action,
  .dtc-result-more{
    min-height:48px!important;
  }
  .dtc-result-product-name strong{
    font-size:16px!important;
  }
  .dtc-result-product-name small,
  .dtc-result-value small,
  .dtc-result-native small,
  .dtc-result-unit small{
    font-size:13px!important;
  }
}

/* Very narrow phones. */
@media (max-width:420px){
  .dtc-result-row{padding:14px!important}
  .dtc-result-cost-cell strong,
  .dtc-result-unit strong,
  .dtc-result-cost-cell b,
  .dtc-result-unit b{
    font-size:20px!important;
  }
}

/* ============================================================
   DSRent 5.16.58 — definitive result layout/readability
   Cost and action are separate DOM cells. No overlaps.
   ============================================================ */

.dtc-result-group{
  overflow:hidden!important;
}

/* ---------- Position summary ---------- */
.dtc-result-group>summary{
  grid-template-columns:minmax(300px,1.15fr) minmax(650px,2.2fr) 28px!important;
  gap:16px!important;
  min-height:82px!important;
  padding:14px 18px!important;
  align-items:center!important;
}
.dtc-result-group-id{
  gap:14px!important;
}
.dtc-result-group-id>span{
  min-width:94px!important;
  height:48px!important;
  padding:0 14px!important;
  border-radius:13px!important;
  font-size:14px!important;
  line-height:1!important;
}
.dtc-result-group-id b{
  font-size:18px!important;
  line-height:1.2!important;
}
.dtc-result-group-id small{
  margin-top:5px!important;
  font-size:14px!important;
  line-height:1.3!important;
}
.dtc-result-group-stats{
  grid-template-columns:repeat(4,minmax(135px,1fr))!important;
  gap:10px!important;
}
.dtc-result-group-stats span{
  min-height:58px!important;
  padding:10px 13px!important;
  border-radius:12px!important;
}
.dtc-result-group-stats small{
  font-size:11px!important;
  line-height:1.25!important;
  letter-spacing:.025em!important;
}
.dtc-result-group-stats b{
  margin-top:5px!important;
  font-size:15px!important;
  line-height:1.18!important;
  white-space:nowrap!important;
}
.dtc-result-group>summary>i{
  font-size:23px!important;
}

/* ---------- Column header + rows: SAME five-column contract ---------- */
.dtc-result-products-head,
.dtc-result-product{
  display:grid!important;
  grid-template-columns:
    minmax(390px,2.15fr)
    minmax(135px,.68fr)
    minmax(190px,.92fr)
    minmax(220px,1.02fr)
    minmax(145px,.66fr)!important;
  gap:18px!important;
  align-items:center!important;
}

.dtc-result-products-head{
  min-height:44px!important;
  padding:10px 20px!important;
  border-bottom:1px solid #e2eaf2!important;
}
.dtc-result-products-head span{
  color:#63788e!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:.03em!important;
}
.dtc-result-action-head{
  text-align:center!important;
}

.dtc-result-product{
  min-height:108px!important;
  padding:16px 20px!important;
  border-bottom:1px solid #e5edf4!important;
}

/* ---------- Product ---------- */
.dtc-result-product-name{
  grid-template-columns:58px minmax(0,1fr)!important;
  gap:14px!important;
  align-items:start!important;
}
.dtc-result-product-name>span{
  min-height:42px!important;
  padding:7px 8px!important;
  border-radius:11px!important;
  font-size:13px!important;
}
.dtc-result-product-name strong{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
  color:#15283c!important;
  font-size:17px!important;
  font-weight:850!important;
  line-height:1.34!important;
  letter-spacing:0!important;
}
.dtc-result-product-name small{
  margin-top:7px!important;
  color:#75899e!important;
  font-size:13px!important;
  line-height:1.3!important;
}

/* ---------- Quantity / DT price ---------- */
.dtc-result-value,
.dtc-result-native{
  gap:5px!important;
  min-width:0!important;
}
.dtc-result-value b,
.dtc-result-native b{
  color:#15283c!important;
  font-size:17px!important;
  font-weight:850!important;
  line-height:1.22!important;
  white-space:nowrap!important;
}
.dtc-result-value small,
.dtc-result-native small{
  color:#778b9f!important;
  font-size:14px!important;
  line-height:1.25!important;
}

/* ---------- Unit cost: NO BUTTON INSIDE ---------- */
.dtc-result-cost-cell,
.dtc-result-unit{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  padding:14px 16px!important;
  border:1px solid #cfe0f4!important;
  border-radius:15px!important;
  background:#eaf4ff!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.dtc-result-unit-value{
  display:block!important;
  min-width:0!important;
  padding:0!important;
}
.dtc-result-unit-value small{
  display:block!important;
  color:#627a93!important;
  font-size:13px!important;
  font-weight:750!important;
  line-height:1.2!important;
}
.dtc-result-unit-value b{
  display:block!important;
  margin:4px 0 3px!important;
  color:#1762e8!important;
  font-size:23px!important;
  font-weight:900!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
  white-space:nowrap!important;
}
.dtc-result-unit-value span{
  display:block!important;
  overflow:hidden!important;
  color:#70859b!important;
  font-size:13px!important;
  line-height:1.25!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* ---------- Action: its own fifth cell ---------- */
.dtc-result-action-cell{
  display:flex!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  min-width:0!important;
  width:100%!important;
}
.dtc-result-action-cell .dtc-result-more,
.dtc-result-action{
  position:static!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:58px!important;
  margin:0!important;
  padding:0 14px!important;
  transform:none!important;
  border:1px solid #b9d0eb!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#283f58!important;
  font-size:15px!important;
  font-weight:850!important;
  line-height:1!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
}
.dtc-result-action-cell .dtc-result-more:hover{
  border-color:#73a8e9!important;
  background:#f7fbff!important;
  color:#1762e8!important;
}
.dtc-result-action-cell .dtc-result-more[aria-expanded="true"]{
  border-color:#8cb7eb!important;
  background:#e8f2ff!important;
  color:#1762e8!important;
}

/* ---------- Expanded details ---------- */
.dtc-result-details{
  margin:0!important;
  padding:18px 20px 20px!important;
  border-top:1px dashed #d4e0eb!important;
  background:#f7fafc!important;
}
.dtc-result-details dl{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin:0!important;
}
.dtc-result-details dl>div{
  min-height:104px!important;
  padding:17px 18px!important;
  border:1px solid #d7e3ee!important;
  border-radius:15px!important;
  background:#fff!important;
}
.dtc-result-details dt{
  color:#5e768d!important;
  font-size:14px!important;
  font-weight:800!important;
  line-height:1.35!important;
}
.dtc-result-details dd{
  margin:9px 0 0!important;
  color:#14283c!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:1.15!important;
  font-variant-numeric:tabular-nums!important;
}
.dtc-result-details .dtc-detail-card-wide dt+dd+dt{
  margin-top:13px!important;
  padding-top:13px!important;
  border-top:1px solid #e6edf4!important;
}
.dtc-result-details .total{
  border-color:#abcdf8!important;
  background:#e9f3ff!important;
}
.dtc-result-details .total dt{
  color:#38699e!important;
}
.dtc-result-details .total dd{
  color:#1762e8!important;
  font-size:23px!important;
}

/* ---------- Laptop ---------- */
@media(max-width:1280px){
  .dtc-result-group>summary{
    grid-template-columns:minmax(270px,.9fr) minmax(570px,1.9fr) 24px!important;
  }
  .dtc-result-products-head,
  .dtc-result-product{
    grid-template-columns:
      minmax(320px,1.9fr)
      minmax(110px,.62fr)
      minmax(165px,.82fr)
      minmax(205px,1fr)
      minmax(130px,.62fr)!important;
    gap:12px!important;
  }
  .dtc-result-product-name strong{font-size:16px!important}
  .dtc-result-unit-value b{font-size:21px!important}
}

/* ---------- Tablet: semantic cards, still NO overlap ---------- */
@media(max-width:980px){
  .dtc-result-group>summary{
    grid-template-columns:1fr 28px!important;
    gap:12px!important;
  }
  .dtc-result-group-stats{
    grid-column:1/-1!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .dtc-result-products-head{
    display:none!important;
  }
  .dtc-result-product{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(220px,.72fr)!important;
    grid-template-areas:
      "product product"
      "qty native"
      "cost action"!important;
    gap:14px!important;
    padding:18px!important;
  }
  .dtc-result-product-name{grid-area:product!important}
  .dtc-result-value{grid-area:qty!important}
  .dtc-result-native{grid-area:native!important}
  .dtc-result-cost-cell{grid-area:cost!important}
  .dtc-result-action-cell{grid-area:action!important}
  .dtc-result-value::before,
  .dtc-result-native::before,
  .dtc-result-cost-cell::before{
    display:block!important;
    margin-bottom:6px!important;
    color:#657a90!important;
    font-size:12px!important;
    font-weight:850!important;
    text-transform:uppercase!important;
    letter-spacing:.03em!important;
  }
  .dtc-result-value::before{content:"Количество"!important}
  .dtc-result-native::before{content:"Цена по ДТ"!important}
  .dtc-result-cost-cell::before{content:"Себестоимость"!important}
  .dtc-result-action-cell .dtc-result-more{
    min-height:100%!important;
  }
  .dtc-result-details dl{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* ---------- Phone: one column, big touch targets ---------- */
@media(max-width:620px){
  .dtc-result-group>summary{
    padding:15px!important;
  }
  .dtc-result-group-id>span{
    min-width:86px!important;
    height:44px!important;
    font-size:13px!important;
  }
  .dtc-result-group-id b{font-size:17px!important}
  .dtc-result-group-id small{font-size:13px!important}
  .dtc-result-group-stats{
    grid-template-columns:1fr 1fr!important;
  }
  .dtc-result-group-stats small{font-size:11px!important}
  .dtc-result-group-stats b{font-size:14px!important}

  .dtc-result-product{
    grid-template-columns:1fr!important;
    grid-template-areas:
      "product"
      "qty"
      "native"
      "cost"
      "action"!important;
    gap:13px!important;
    min-height:0!important;
    padding:16px!important;
  }
  .dtc-result-product-name{
    grid-template-columns:48px minmax(0,1fr)!important;
    gap:11px!important;
  }
  .dtc-result-product-name>span{
    min-height:38px!important;
    font-size:13px!important;
  }
  .dtc-result-product-name strong{
    -webkit-line-clamp:4!important;
    font-size:16px!important;
    line-height:1.38!important;
  }
  .dtc-result-product-name small{
    font-size:13px!important;
  }
  .dtc-result-value b,
  .dtc-result-native b{
    font-size:17px!important;
  }
  .dtc-result-value small,
  .dtc-result-native small{
    font-size:14px!important;
  }
  .dtc-result-unit-value small,
  .dtc-result-unit-value span{
    font-size:13px!important;
  }
  .dtc-result-unit-value b{
    font-size:24px!important;
  }
  .dtc-result-action-cell .dtc-result-more{
    min-height:52px!important;
    font-size:16px!important;
  }
  .dtc-result-details{
    padding:14px!important;
  }
  .dtc-result-details dl{
    grid-template-columns:1fr!important;
    gap:11px!important;
  }
  .dtc-result-details dl>div{
    min-height:0!important;
    padding:15px!important;
  }
  .dtc-result-details dt{
    font-size:14px!important;
  }
  .dtc-result-details dd{
    font-size:20px!important;
  }
  .dtc-result-details .total dd{
    font-size:23px!important;
  }
}

/* ---------- Very narrow phone ---------- */
@media(max-width:390px){
  .dtc-result-group-stats{
    grid-template-columns:1fr!important;
  }
  .dtc-result-product-name strong{
    font-size:15px!important;
  }
}

/* Print: action column disappears cleanly. */
@media print{
  .dtc-result-products-head,
  .dtc-result-product{
    grid-template-columns:1fr 24mm 34mm 34mm!important;
  }
  .dtc-result-products-head .dtc-result-action-head,
  .dtc-result-action-cell{
    display:none!important;
  }
}

/* ============================================================
   DSRent 5.16.59 — keep action column inside container
   ============================================================ */

.dtc-result-products-head,
.dtc-result-product{
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:visible!important;

  /* Five columns always fit parent width.
     No fixed minimums that can push the action outside the card. */
  grid-template-columns:
    minmax(0,2.35fr)
    minmax(0,.62fr)
    minmax(0,.88fr)
    minmax(0,1.05fr)
    minmax(118px,.62fr)!important;
  gap:14px!important;
}

.dtc-result-products-head > *,
.dtc-result-product > *{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

.dtc-result-product-name{
  min-width:0!important;
  overflow:hidden!important;
}
.dtc-result-product-name > div{
  min-width:0!important;
}

/* Slightly calmer product title size. */
.dtc-result-product-name strong{
  font-size:15px!important;
  line-height:1.36!important;
  font-weight:850!important;
  -webkit-line-clamp:3!important;
}

/* Cost can shrink gracefully without covering the action. */
.dtc-result-cost-cell,
.dtc-result-unit{
  min-width:0!important;
  overflow:hidden!important;
}
.dtc-result-unit-value b{
  font-size:21px!important;
  white-space:nowrap!important;
}
.dtc-result-unit-value span{
  font-size:12px!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}

/* Action stays fully visible inside its dedicated fifth column. */
.dtc-result-action-cell{
  min-width:0!important;
  width:100%!important;
  overflow:visible!important;
}
.dtc-result-action-cell .dtc-result-more,
.dtc-result-action{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:54px!important;
  padding:0 10px!important;
  font-size:14px!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Header labels align with the same five tracks. */
.dtc-result-products-head span{
  min-width:0!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Large screens: still fluid, never wider than parent. */
@media(min-width:1400px){
  .dtc-result-products-head,
  .dtc-result-product{
    grid-template-columns:
      minmax(0,2.45fr)
      minmax(0,.62fr)
      minmax(0,.9fr)
      minmax(0,1.08fr)
      minmax(126px,.62fr)!important;
    gap:16px!important;
  }
}

/* Laptop: compact but all columns remain visible. */
@media(max-width:1250px) and (min-width:981px){
  .dtc-result-products-head,
  .dtc-result-product{
    grid-template-columns:
      minmax(0,2.15fr)
      minmax(0,.58fr)
      minmax(0,.82fr)
      minmax(0,.98fr)
      minmax(110px,.58fr)!important;
    gap:10px!important;
  }

  .dtc-result-product{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  .dtc-result-products-head{
    padding-left:16px!important;
    padding-right:16px!important;
  }

  .dtc-result-product-name strong{
    font-size:14px!important;
  }
  .dtc-result-value b,
  .dtc-result-native b{
    font-size:15px!important;
  }
  .dtc-result-unit-value b{
    font-size:19px!important;
  }
  .dtc-result-action-cell .dtc-result-more{
    font-size:13px!important;
    padding:0 8px!important;
  }
}

/* Tablet/mobile rules from 5.16.58 remain, but explicitly reset
   to semantic areas so desktop grid cannot leak down. */
@media(max-width:980px){
  .dtc-result-product{
    grid-template-columns:minmax(0,1fr) minmax(190px,.7fr)!important;
  }
  .dtc-result-action-cell .dtc-result-more{
    width:100%!important;
    max-width:100%!important;
  }
}

@media(max-width:620px){
  .dtc-result-product{
    grid-template-columns:1fr!important;
  }
  .dtc-result-product-name strong{
    font-size:15px!important;
    -webkit-line-clamp:4!important;
  }
  .dtc-result-action-cell .dtc-result-more{
    min-height:50px!important;
    font-size:15px!important;
  }
}

/* DSRent 5.16.60 — stable calculation/review state */
.dtc-result-zero-note{
  display:block;
  margin-top:4px;
  color:#7b8da0;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
}


/* ============================================================
   DSRent 5.16.62 — TAR.GZ updater UI v2
   ============================================================ */

.updater-simple{
  width:min(100% - 48px,1480px)!important;
}

/* Hero typography */
.updater-simple-head{
  align-items:center!important;
  gap:36px!important;
  margin-bottom:24px!important;
}
.updater-simple-head h1{
  margin:9px 0 10px!important;
  font-size:44px!important;
  line-height:1.06!important;
}
.updater-simple-head p{
  max-width:850px!important;
  font-size:16px!important;
  line-height:1.55!important;
}
.updater-simple-head p strong{
  color:#30465f;
  font-weight:850;
}

.updater-version-pill{
  min-width:190px!important;
  padding:17px 19px!important;
  border-radius:17px!important;
}
.updater-version-pill span{
  font-size:12px!important;
}
.updater-version-pill strong{
  margin-top:7px!important;
  font-size:27px!important;
}

/* Status strip */
.updater-compact-status{
  gap:12px!important;
  margin-bottom:18px!important;
}
.updater-compact-status>div{
  min-height:78px;
  padding:16px 18px!important;
  border-radius:16px!important;
  box-sizing:border-box;
}
.updater-compact-status span{
  font-size:12px!important;
  line-height:1.25!important;
}
.updater-compact-status strong{
  margin-top:6px!important;
  font-size:19px!important;
  line-height:1.15!important;
}
.updater-compact-status small{
  display:block;
  margin-top:4px;
  color:#8898aa;
  font-size:11px;
  font-weight:650;
  line-height:1.25;
}

/* Main updater card */
.updater-upload-card-v2{
  display:grid!important;
  grid-template-columns:minmax(330px,.78fr) minmax(560px,1.22fr)!important;
  align-items:stretch!important;
  gap:28px!important;
  padding:28px!important;
  border-radius:20px!important;
}
.updater-upload-intro{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:space-between;
  gap:22px;
}
.updater-upload-title h2{
  margin:9px 0 9px!important;
  font-size:27px!important;
  line-height:1.16!important;
}
.updater-upload-title p{
  max-width:540px;
  font-size:15px!important;
  line-height:1.5!important;
}
.updater-upload-title p strong{
  color:#2f455e;
}

.updater-upload-requirements{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}
.updater-upload-requirements>div{
  min-width:0;
  padding:12px 13px;
  border:1px solid #e0e8f1;
  border-radius:12px;
  background:#f8fafc;
}
.updater-upload-requirements span,
.updater-upload-requirements strong{
  display:block;
}
.updater-upload-requirements span{
  color:#8191a5;
  font-size:10px;
  font-weight:800;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.updater-upload-requirements strong{
  margin-top:5px;
  color:#2d4259;
  font-size:14px;
  line-height:1.2;
}

/* Form */
.updater-upload-form-v2{
  display:grid;
  min-width:0;
  grid-template-rows:1fr auto;
  gap:12px;
}
.updater-file-picker-v2{
  position:relative;
  display:grid;
  grid-template-columns:72px minmax(0,1fr) auto;
  align-items:center;
  gap:16px;
  min-height:112px;
  padding:18px 20px;
  border:1.5px dashed #afc5de;
  border-radius:17px;
  background:linear-gradient(180deg,#fafcff 0%,#f6f9fc 100%);
  box-sizing:border-box;
  cursor:pointer;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
.updater-file-picker-v2:hover{
  border-color:#6fa5e7;
  background:#f7fbff;
  box-shadow:0 8px 28px rgba(44,104,180,.07);
}
.updater-file-picker-v2:focus-within{
  border-color:#347be7;
  box-shadow:0 0 0 3px rgba(52,123,231,.12);
}
.updater-file-picker-v2 input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}
.updater-file-format{
  display:flex;
  align-items:center;
  justify-content:center;
  width:72px;
  height:58px;
  border-radius:14px;
  background:#eaf2ff;
  color:#1762e8;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
}
.updater-file-copy{
  min-width:0;
}
.updater-file-copy strong,
.updater-file-copy small{
  display:block;
}
.updater-file-copy strong{
  overflow:hidden;
  color:#2d435b;
  font-size:16px;
  font-weight:850;
  line-height:1.3;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.updater-file-copy small{
  margin-top:6px;
  color:#7e8fa4;
  font-size:12px;
  font-weight:650;
  line-height:1.4;
}
.updater-file-action{
  padding:10px 13px;
  border:1px solid #ccd9e7;
  border-radius:11px;
  background:#fff;
  color:#344b64;
  font-size:12px;
  font-weight:850;
  white-space:nowrap;
}

.updater-upload-submit{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:13px 14px 13px 17px;
  border:1px solid #e0e7ef;
  border-radius:14px;
  background:#fff;
}
.updater-upload-safety{
  min-width:0;
}
.updater-upload-safety strong,
.updater-upload-safety span{
  display:block;
}
.updater-upload-safety strong{
  color:#334a62;
  font-size:13px;
  font-weight:850;
}
.updater-upload-safety span{
  margin-top:3px;
  color:#8595a8;
  font-size:11px;
  line-height:1.3;
}
.updater-check-btn{
  flex:0 0 auto;
  min-width:172px!important;
  min-height:48px!important;
  padding:0 22px!important;
  font-size:14px!important;
}

/* Secondary blocks */
.updater-secondary{
  gap:14px!important;
}
.updater-details{
  border-radius:17px!important;
}
.updater-details summary{
  min-height:72px;
  padding:18px 50px 18px 20px!important;
  box-sizing:border-box;
  justify-content:center;
}
.updater-details summary span{
  font-size:16px!important;
}
.updater-details summary small{
  font-size:12px!important;
}
.updater-security-list.readable span{
  font-size:13px!important;
}
.updater-security-list.readable strong{
  font-size:13px!important;
}
.updater-history-list.readable strong{
  font-size:14px!important;
}
.updater-history-list.readable small{
  font-size:12px!important;
}

/* DB note */
.updater-db-note{
  margin-top:14px!important;
  padding:13px 16px!important;
  border-radius:13px!important;
  font-size:12px!important;
}
.updater-db-note strong{
  font-size:12px;
}

/* Tablet */
@media(max-width:1080px){
  .updater-upload-card-v2{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }
  .updater-upload-requirements{
    max-width:720px;
  }
}

/* Small tablet */
@media(max-width:780px){
  .updater-simple{
    width:min(100% - 28px,1480px)!important;
  }
  .updater-simple-head{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:18px!important;
  }
  .updater-simple-head h1{
    font-size:36px!important;
  }
  .updater-simple-head p{
    font-size:15px!important;
  }
  .updater-version-pill{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box;
  }
  .updater-compact-status{
    grid-template-columns:1fr 1fr!important;
  }
  .updater-compact-status>div:last-child{
    grid-column:1/-1;
  }
  .updater-upload-card-v2{
    padding:20px!important;
  }
  .updater-upload-requirements{
    grid-template-columns:1fr 1fr!important;
  }
  .updater-upload-requirements>div:first-child{
    grid-column:1/-1;
  }
  .updater-file-picker-v2{
    grid-template-columns:58px minmax(0,1fr);
    min-height:100px;
    padding:16px;
  }
  .updater-file-format{
    width:58px;
    height:52px;
    font-size:10px;
  }
  .updater-file-action{
    display:none;
  }
  .updater-upload-submit{
    align-items:stretch;
    flex-direction:column;
  }
  .updater-check-btn{
    width:100%!important;
  }
  .updater-secondary{
    grid-template-columns:1fr!important;
  }
}

/* Phone */
@media(max-width:520px){
  .updater-simple{
    width:min(100% - 20px,1480px)!important;
  }
  .updater-simple-head h1{
    font-size:31px!important;
    letter-spacing:-.035em!important;
  }
  .updater-simple-head p{
    font-size:14px!important;
  }
  .updater-compact-status{
    grid-template-columns:1fr!important;
  }
  .updater-compact-status>div:last-child{
    grid-column:auto;
  }
  .updater-upload-card-v2{
    gap:18px!important;
    padding:16px!important;
    border-radius:17px!important;
  }
  .updater-upload-title h2{
    font-size:22px!important;
  }
  .updater-upload-title p{
    font-size:14px!important;
  }
  .updater-upload-requirements{
    grid-template-columns:1fr!important;
  }
  .updater-upload-requirements>div:first-child{
    grid-column:auto;
  }
  .updater-file-picker-v2{
    grid-template-columns:1fr;
    gap:10px;
    min-height:0;
    padding:15px;
  }
  .updater-file-format{
    width:auto;
    height:38px;
    justify-self:start;
    padding:0 12px;
  }
  .updater-file-copy strong{
    font-size:15px;
    white-space:normal;
    overflow-wrap:anywhere;
  }
  .updater-file-copy small{
    font-size:12px;
  }
  .updater-upload-submit{
    padding:13px;
  }
  .updater-upload-safety span{
    font-size:11px;
  }
  .updater-details summary span{
    font-size:15px!important;
  }
  .updater-db-note{
    flex-direction:column!important;
  }
}


/* ============================================================
   DSRent 5.16.63 — public header stabilization
   Isolated from admin navigation.
   ============================================================ */
.site-header-v2{
  min-height:78px!important;
  border-bottom:1px solid #e3eaf2!important;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(15,36,62,.02)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
.site-header-v2 .site-header-inner{
  width:min(calc(100% - 48px),1240px)!important;
  max-width:1240px!important;
  min-height:78px!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:210px minmax(0,1fr)!important;
  align-items:center!important;
  gap:28px!important;
}
.site-header-v2 .site-header-brand{
  width:190px!important;
  min-width:190px!important;
  height:54px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  overflow:visible!important;
}
.site-header-v2 .site-header-brand img{
  display:block!important;
  width:190px!important;
  height:auto!important;
  max-width:190px!important;
  max-height:52px!important;
  object-fit:contain!important;
  object-position:left center!important;
}
.site-header-v2 .site-nav-desktop{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  min-width:0!important;
  margin:0!important;
}
.site-header-v2 .site-nav-desktop>a{
  min-height:44px!important;
  padding:0 10px!important;
  border-radius:10px!important;
  color:#243448!important;
  font-size:14px!important;
  font-weight:760!important;
  line-height:1!important;
}
.site-header-v2 .site-nav-desktop .nav-tool{
  color:#1762e8!important;
}
.site-header-v2 .site-nav-desktop .nav-cta{
  min-height:44px!important;
  padding:0 16px!important;
  background:#2868e8!important;
  color:#fff!important;
  font-weight:820!important;
}
.site-header-v2 .site-nav-desktop .nav-cta:hover{
  background:#1f5fd8!important;
  color:#fff!important;
}

@media(max-width:1080px){
  .site-header-v2 .site-header-inner{
    width:min(calc(100% - 32px),1240px)!important;
    grid-template-columns:180px minmax(0,1fr)!important;
    gap:16px!important;
  }
  .site-header-v2 .site-header-brand,
  .site-header-v2 .site-header-brand img{
    width:170px!important;
    min-width:0!important;
    max-width:170px!important;
  }
  .site-header-v2 .site-nav-desktop{gap:3px!important}
  .site-header-v2 .site-nav-desktop>a{padding:0 7px!important;font-size:13px!important}
}

@media(max-width:760px){
  .site-header-v2{min-height:66px!important}
  .site-header-v2 .site-header-inner{
    width:100%!important;
    min-height:66px!important;
    padding:0 14px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px!important;
    box-sizing:border-box!important;
  }
  .site-header-v2 .site-header-brand{
    width:164px!important;
    min-width:0!important;
    height:48px!important;
  }
  .site-header-v2 .site-header-brand img{
    width:164px!important;
    max-width:52vw!important;
    max-height:46px!important;
  }
  .site-header-v2 .site-nav-desktop{display:none!important}
  .site-header-v2 .site-mobile-menu{display:block!important}
}

@media(max-width:420px){
  .site-header-v2 .site-header-inner{padding:0 12px!important}
  .site-header-v2 .site-header-brand,
  .site-header-v2 .site-header-brand img{width:150px!important;max-width:55vw!important}
}


/* ============================================================
   DSRent 5.16.64 — public logo/header correction
   ============================================================ */

/* Public shell only. Admin headers are intentionally untouched. */
.site-header-v2 .site-header-inner{
  width:min(calc(100% - 48px),1320px)!important;
  max-width:1320px!important;
  min-height:82px!important;
  padding:0!important;
  gap:40px!important;
}

/* Give the brand enough visual weight and preserve SVG proportions. */
.site-header-v2 .site-header-brand{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  flex:0 0 auto!important;
  min-width:220px!important;
  height:82px!important;
  margin:0!important;
  padding:0!important;
  line-height:0!important;
  overflow:visible!important;
}

.site-header-v2 .site-header-brand img{
  display:block!important;
  width:auto!important;
  height:56px!important;
  max-width:230px!important;
  max-height:56px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  object-position:left center!important;
  transform:none!important;
}

/* Prevent older generic brand rules from shrinking the public logo. */
.site-header-v2 .brand-img img{
  width:auto!important;
  height:56px!important;
  max-width:230px!important;
}

/* Navigation stays vertically centered against the larger brand. */
.site-header-v2 .site-nav-desktop{
  min-height:82px!important;
  gap:6px!important;
}
.site-header-v2 .site-nav-desktop>a,
.site-header-v2 .site-account-menu>summary{
  min-height:44px!important;
  font-size:14px!important;
}

/* Compact desktop */
@media(max-width:1180px) and (min-width:861px){
  .site-header-v2 .site-header-inner{
    width:min(calc(100% - 32px),1320px)!important;
    min-height:76px!important;
    gap:24px!important;
  }
  .site-header-v2 .site-header-brand{
    min-width:190px!important;
    height:76px!important;
  }
  .site-header-v2 .site-header-brand img,
  .site-header-v2 .brand-img img{
    height:50px!important;
    max-width:205px!important;
  }
  .site-header-v2 .site-nav-desktop{
    min-height:76px!important;
    gap:2px!important;
  }
  .site-header-v2 .site-nav-desktop>a,
  .site-header-v2 .site-account-menu>summary{
    padding-left:8px!important;
    padding-right:8px!important;
    font-size:13px!important;
  }
}

/* Mobile/tablet brand remains clearly readable, without dominating header. */
@media(max-width:860px){
  .site-header-v2 .site-header-inner{
    width:100%!important;
    min-height:72px!important;
    padding:0 18px!important;
    display:flex!important;
    justify-content:space-between!important;
    gap:16px!important;
  }
  .site-header-v2 .site-header-brand{
    min-width:0!important;
    height:72px!important;
  }
  .site-header-v2 .site-header-brand img,
  .site-header-v2 .brand-img img{
    height:46px!important;
    max-width:190px!important;
  }
}

@media(max-width:430px){
  .site-header-v2 .site-header-inner{
    min-height:68px!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  .site-header-v2 .site-header-brand{
    height:68px!important;
  }
  .site-header-v2 .site-header-brand img,
  .site-header-v2 .brand-img img{
    height:42px!important;
    max-width:172px!important;
  }
}


/* ============================================================
   DSRent 5.16.65 — robust public wordmark
   The SVG contains only the shield. Text is real HTML so .ru
   can never overlap DSRent at any scale or font rendering mode.
   ============================================================ */
.site-header-v2 .site-header-inner{
  min-height:72px!important;
}
.site-header-v2 .site-header-brand{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:11px!important;
  min-width:0!important;
  width:auto!important;
  height:72px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  text-decoration:none!important;
  line-height:1!important;
}
.site-header-v2 .site-header-brand-mark{
  display:block!important;
  flex:0 0 auto!important;
  width:42px!important;
  height:42px!important;
  max-width:none!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
  transform:none!important;
}
.site-header-v2 .site-header-wordmark{
  display:inline-flex!important;
  align-items:baseline!important;
  flex:0 0 auto!important;
  min-width:0!important;
  white-space:nowrap!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  line-height:1!important;
  letter-spacing:-.025em!important;
}
.site-header-v2 .site-header-wordmark-main{
  color:#111d31!important;
  font-size:25px!important;
  font-weight:850!important;
  line-height:1!important;
}
.site-header-v2 .site-header-wordmark-domain{
  margin-left:1px!important;
  color:#2f6fed!important;
  font-size:17px!important;
  font-weight:850!important;
  line-height:1!important;
  letter-spacing:-.015em!important;
}

/* Neutralize legacy rules targeting full-logo images. */
.site-header-v2 .site-header-brand img.site-header-brand-mark,
.site-header-v2 .brand-img img{
  width:42px!important;
  height:42px!important;
  max-width:none!important;
  max-height:none!important;
}

@media(max-width:1180px) and (min-width:861px){
  .site-header-v2 .site-header-inner{min-height:70px!important}
  .site-header-v2 .site-header-brand{height:70px!important;gap:10px!important}
  .site-header-v2 .site-header-brand-mark,
  .site-header-v2 .site-header-brand img.site-header-brand-mark{width:40px!important;height:40px!important}
  .site-header-v2 .site-header-wordmark-main{font-size:23px!important}
  .site-header-v2 .site-header-wordmark-domain{font-size:16px!important}
}

@media(max-width:860px){
  .site-header-v2 .site-header-inner{min-height:68px!important}
  .site-header-v2 .site-header-brand{height:68px!important;gap:9px!important}
  .site-header-v2 .site-header-brand-mark,
  .site-header-v2 .site-header-brand img.site-header-brand-mark{width:38px!important;height:38px!important}
  .site-header-v2 .site-header-wordmark-main{font-size:22px!important}
  .site-header-v2 .site-header-wordmark-domain{font-size:15px!important}
}

@media(max-width:430px){
  .site-header-v2 .site-header-brand{gap:8px!important}
  .site-header-v2 .site-header-brand-mark,
  .site-header-v2 .site-header-brand img.site-header-brand-mark{width:36px!important;height:36px!important}
  .site-header-v2 .site-header-wordmark-main{font-size:20px!important}
  .site-header-v2 .site-header-wordmark-domain{font-size:14px!important}
}


/* ============================================================
   DSRent 5.16.66 — compact professional homepage + footer
   ============================================================ */

/* Public homepage only: tighter B2B shell, less "landing page" scale. */
body{
  background:#f6f8fb;
}
body>main:not(.admin-main):not(.owner-main):not(.client-main){
  max-width:1320px!important;
  padding:34px 28px 48px!important;
}

/* ---------------- HERO ---------------- */
.home-hero-v4{
  display:grid!important;
  grid-template-columns:minmax(0,1.1fr) minmax(320px,.78fr)!important;
  gap:34px!important;
  align-items:center!important;
  min-height:0!important;
  margin:0!important;
  padding:38px 42px!important;
  border:1px solid #dfe6ee!important;
  border-radius:24px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(15,23,42,.055)!important;
  overflow:hidden!important;
}
.home-hero-v4 .hero-copy{
  max-width:720px!important;
}
.home-hero-v4 .eyebrow{
  margin-bottom:12px!important;
  padding:6px 10px!important;
  font-size:11px!important;
}
.home-hero-v4 h1{
  max-width:700px!important;
  margin:0 0 14px!important;
  font-size:clamp(38px,4vw,54px)!important;
  line-height:1.03!important;
  letter-spacing:-.042em!important;
}
.home-hero-v4 .hero-copy>p{
  max-width:680px!important;
  margin:0 0 20px!important;
  color:#5f7187!important;
  font-size:16px!important;
  line-height:1.55!important;
}
.home-hero-v4 .hero-search{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px!important;
  max-width:650px!important;
  padding:6px!important;
  border:1px solid #cdd8e5!important;
  border-radius:13px!important;
  box-shadow:none!important;
}
.home-hero-v4 .hero-search input{
  min-width:0!important;
  height:44px!important;
  padding:0 13px!important;
  font-size:14px!important;
}
.home-hero-v4 .hero-search button{
  min-height:44px!important;
  padding:0 18px!important;
  border-radius:10px!important;
  font-size:13px!important;
}
.home-hero-v4 .trust-row{
  gap:10px 18px!important;
  margin-top:18px!important;
  color:#42566d!important;
  font-size:12px!important;
}
.home-hero-v4 .hero-visual{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:290px!important;
  padding:8px!important;
  border-radius:22px!important;
  background:#f4f7fb!important;
}
.home-hero-v4 .hero-visual img{
  width:min(100%,430px)!important;
  max-height:330px!important;
  margin:0 auto!important;
}

/* ---------------- COMPACT BENEFIT STRIP ---------------- */
.benefit-row-v4{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:0!important;
  margin:16px 0 42px!important;
  border:1px solid #dfe6ee!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(15,23,42,.035)!important;
  overflow:hidden!important;
}
.benefit-row-v4 .benefit-card{
  min-height:92px!important;
  margin:0!important;
  padding:17px 20px!important;
  border:0!important;
  border-right:1px solid #e7edf3!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  gap:12px!important;
}
.benefit-row-v4 .benefit-card:last-child{
  border-right:0!important;
}
.benefit-row-v4 .benefit-icon{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  border-radius:10px!important;
  font-size:14px!important;
}
.benefit-row-v4 .benefit-card strong{
  font-size:11px!important;
  line-height:1.25!important;
}
.benefit-row-v4 .benefit-card b{
  margin-top:1px!important;
  font-size:19px!important;
  line-height:1.12!important;
}
.benefit-row-v4 .benefit-card span{
  margin-top:3px!important;
  font-size:11px!important;
  line-height:1.3!important;
}

/* ---------------- HOW IT WORKS ---------------- */
.how-section-v4{
  padding:8px 0 38px!important;
}
.how-section-v4 .section-title{
  max-width:760px!important;
  margin-bottom:18px!important;
}
.how-section-v4 .section-title .eyebrow{
  margin-bottom:9px!important;
}
.how-section-v4 .section-title h2{
  margin:0 0 7px!important;
  font-size:30px!important;
  line-height:1.12!important;
}
.how-section-v4 .section-title p{
  max-width:720px!important;
  margin:0!important;
  color:#65788e!important;
  font-size:15px!important;
  line-height:1.45!important;
}
.how-section-v4 .steps.modern{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
}
.how-section-v4 .steps.modern .step{
  min-height:138px!important;
  padding:16px!important;
  border:1px solid #dfe6ee!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.how-section-v4 .steps.modern .step span{
  width:32px!important;
  height:32px!important;
  margin-bottom:17px!important;
  border-radius:9px!important;
  font-size:12px!important;
}
.how-section-v4 .steps.modern .step b{
  font-size:14px!important;
  line-height:1.3!important;
}
.how-section-v4 .steps.modern .step p{
  margin-top:7px!important;
  color:#6b7e93!important;
  font-size:12px!important;
  line-height:1.45!important;
}

/* ---------------- DT PROMO ---------------- */
.dtc-home-promo-v4{
  max-width:none!important;
  min-height:0!important;
  margin:36px 0 42px!important;
  padding:30px 34px!important;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr)!important;
  gap:28px!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,#2456d7 0%,#4d6fe3 100%)!important;
  box-shadow:0 14px 36px rgba(37,78,190,.16)!important;
}
.dtc-home-promo-v4 .eyebrow{
  margin-bottom:8px!important;
  padding:5px 9px!important;
  font-size:10px!important;
}
.dtc-home-promo-v4 h2{
  max-width:720px!important;
  margin:8px 0 10px!important;
  font-size:clamp(28px,3vw,40px)!important;
  line-height:1.08!important;
}
.dtc-home-promo-v4 p{
  max-width:760px!important;
  margin:0!important;
  color:#edf2ff!important;
  font-size:14px!important;
  line-height:1.55!important;
}
.dtc-home-promo-v4 .dtc-home-points{
  gap:7px 16px!important;
  margin:15px 0 17px!important;
  font-size:12px!important;
}
.dtc-home-promo-v4 .dtc-home-btn{
  min-height:42px!important;
  padding:0 15px!important;
  border-radius:10px!important;
  font-size:12px!important;
}
.dtc-home-promo-v4 .dtc-home-visual{
  min-height:190px!important;
}
.dtc-home-promo-v4 .dtc-doc-mini,
.dtc-home-promo-v4 .dtc-calc-mini{
  padding:17px!important;
  border-radius:17px!important;
  box-shadow:0 12px 26px rgba(0,0,0,.13)!important;
}
.dtc-home-promo-v4 .dtc-doc-mini{
  width:162px!important;
}
.dtc-home-promo-v4 .dtc-calc-mini{
  width:160px!important;
}
.dtc-home-promo-v4 .dtc-calc-mini b{
  font-size:22px!important;
}

/* ---------------- CATEGORIES ---------------- */
.category-section-v4{
  padding:0 0 20px!important;
}
.category-section-v4 .section-title.inline{
  align-items:flex-end!important;
  margin-bottom:15px!important;
}
.category-section-v4 .section-title .eyebrow{
  margin-bottom:8px!important;
}
.category-section-v4 .section-title h2{
  margin:0!important;
  font-size:28px!important;
}
.category-section-v4 .text-link{
  font-size:15px!important;
  font-weight:800!important;
}
.category-section-v4 .category-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
}
.category-section-v4 .category-card{
  grid-template-columns:40px minmax(0,1fr)!important;
  min-height:74px!important;
  padding:13px 15px!important;
  border:1px solid #dfe6ee!important;
  border-radius:14px!important;
  box-shadow:none!important;
}
.category-section-v4 .category-card:hover{
  transform:translateY(-1px)!important;
  border-color:#abc7ef!important;
  box-shadow:0 8px 22px rgba(15,23,42,.05)!important;
}
.category-section-v4 .category-icon{
  width:36px!important;
  height:36px!important;
  border-radius:10px!important;
  font-size:13px!important;
}
.category-section-v4 .category-card strong{
  font-size:13px!important;
  line-height:1.25!important;
}
.category-section-v4 .category-card small{
  margin-top:2px!important;
  font-size:11px!important;
  line-height:1.2!important;
}

/* ---------------- FOOTER ---------------- */
.site-footer-v3{
  margin-top:30px!important;
  background:#f4f6f9!important;
  border-top:1px solid #dfe5ec!important;
}
.site-footer-v3 .site-footer-inner{
  width:min(calc(100% - 56px),1320px)!important;
  max-width:1320px!important;
  padding:34px 0 26px!important;
  grid-template-columns:minmax(340px,1.05fr) minmax(430px,.95fr)!important;
  gap:70px!important;
}
.site-footer-v3 .footer-brand{
  max-width:520px!important;
}
.footer-logo-v4{
  display:inline-flex!important;
  align-items:center!important;
  gap:9px!important;
  width:auto!important;
  height:auto!important;
  margin:0 0 18px!important;
  text-decoration:none!important;
  line-height:1!important;
}
.footer-logo-v4 .footer-logo-mark{
  display:block!important;
  width:38px!important;
  height:38px!important;
  max-width:none!important;
  object-fit:contain!important;
  flex:0 0 38px!important;
}
.footer-wordmark{
  display:inline-flex!important;
  align-items:baseline!important;
  white-space:nowrap!important;
  letter-spacing:-.025em!important;
}
.footer-wordmark-main{
  color:#111c31!important;
  font-size:19px!important;
  font-weight:900!important;
  line-height:1!important;
}
.footer-wordmark-domain{
  margin-left:1px!important;
  color:#2f67e8!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
}
.site-footer-v3 .footer-company{
  margin:0 0 5px!important;
  font-size:13px!important;
  line-height:1.35!important;
}
.site-footer-v3 .footer-company-meta,
.site-footer-v3 .footer-brand-note{
  font-size:11px!important;
  line-height:1.45!important;
}
.site-footer-v3 .footer-brand-note{
  margin-top:15px!important;
}
.site-footer-v3 .footer-columns{
  display:grid!important;
  grid-template-columns:1fr 1.2fr!important;
  gap:48px!important;
}
.site-footer-v3 .footer-column h3{
  margin:0 0 11px!important;
  font-size:12px!important;
}
.site-footer-v3 .footer-column nav{
  gap:7px!important;
}
.site-footer-v3 .footer-column a,
.site-footer-v3 .footer-column button{
  font-size:11px!important;
  line-height:1.35!important;
}
.site-footer-v3 .site-footer-bottom{
  background:#eef2f6!important;
}
.site-footer-v3 .site-footer-bottom-inner{
  width:min(calc(100% - 56px),1320px)!important;
  max-width:1320px!important;
  min-height:48px!important;
  padding:10px 0!important;
  font-size:10px!important;
}

/* ---------------- RESPONSIVE ---------------- */
@media(max-width:1100px){
  body>main:not(.admin-main):not(.owner-main):not(.client-main){
    padding-left:20px!important;
    padding-right:20px!important;
  }
  .home-hero-v4{
    grid-template-columns:1fr .72fr!important;
    padding:32px!important;
  }
  .home-hero-v4 h1{
    font-size:42px!important;
  }
  .benefit-row-v4{
    grid-template-columns:1fr 1fr!important;
  }
  .benefit-row-v4 .benefit-card:nth-child(2){
    border-right:0!important;
  }
  .benefit-row-v4 .benefit-card:nth-child(-n+2){
    border-bottom:1px solid #e7edf3!important;
  }
  .how-section-v4 .steps.modern{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .dtc-home-promo-v4{
    grid-template-columns:1fr .55fr!important;
  }
  .category-section-v4 .category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .site-footer-v3 .site-footer-inner{
    grid-template-columns:1fr!important;
    gap:30px!important;
  }
}

@media(max-width:820px){
  body>main:not(.admin-main):not(.owner-main):not(.client-main){
    padding-top:22px!important;
  }
  .home-hero-v4{
    grid-template-columns:1fr!important;
    gap:22px!important;
    padding:26px!important;
  }
  .home-hero-v4 h1{
    font-size:38px!important;
  }
  .home-hero-v4 .hero-visual{
    min-height:230px!important;
  }
  .home-hero-v4 .hero-visual img{
    max-height:245px!important;
  }
  .how-section-v4 .steps.modern{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .dtc-home-promo-v4{
    grid-template-columns:1fr!important;
  }
  .dtc-home-promo-v4 .dtc-home-visual{
    display:none!important;
  }
  .category-section-v4 .category-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .site-footer-v3 .site-footer-inner,
  .site-footer-v3 .site-footer-bottom-inner{
    width:min(calc(100% - 36px),1320px)!important;
  }
}

@media(max-width:560px){
  body>main:not(.admin-main):not(.owner-main):not(.client-main){
    padding:16px 12px 34px!important;
  }
  .home-hero-v4{
    padding:20px!important;
    border-radius:18px!important;
  }
  .home-hero-v4 h1{
    font-size:32px!important;
    line-height:1.05!important;
  }
  .home-hero-v4 .hero-copy>p{
    font-size:14px!important;
  }
  .home-hero-v4 .hero-search{
    grid-template-columns:1fr!important;
  }
  .home-hero-v4 .hero-search button{
    width:100%!important;
  }
  .home-hero-v4 .hero-visual{
    display:none!important;
  }
  .benefit-row-v4{
    grid-template-columns:1fr!important;
    border-radius:15px!important;
  }
  .benefit-row-v4 .benefit-card{
    min-height:78px!important;
    border-right:0!important;
    border-bottom:1px solid #e7edf3!important;
  }
  .benefit-row-v4 .benefit-card:last-child{
    border-bottom:0!important;
  }
  .how-section-v4 .section-title h2{
    font-size:25px!important;
  }
  .how-section-v4 .section-title p{
    font-size:14px!important;
  }
  .how-section-v4 .steps.modern{
    grid-template-columns:1fr!important;
    gap:8px!important;
  }
  .how-section-v4 .steps.modern .step{
    min-height:0!important;
    padding:14px!important;
  }
  .how-section-v4 .steps.modern .step span{
    margin-bottom:10px!important;
  }
  .dtc-home-promo-v4{
    margin:28px 0 34px!important;
    padding:22px 20px!important;
    border-radius:18px!important;
  }
  .dtc-home-promo-v4 h2{
    font-size:28px!important;
  }
  .dtc-home-promo-v4 p{
    font-size:13px!important;
  }
  .dtc-home-promo-v4 .dtc-home-points{
    display:grid!important;
    font-size:12px!important;
  }
  .category-section-v4 .section-title.inline{
    align-items:flex-start!important;
    gap:10px!important;
  }
  .category-section-v4 .section-title h2{
    font-size:24px!important;
  }
  .category-section-v4 .category-grid{
    grid-template-columns:1fr!important;
  }
  .category-section-v4 .category-card{
    min-height:68px!important;
  }
  .footer-logo-v4 .footer-logo-mark{
    width:36px!important;
    height:36px!important;
    flex-basis:36px!important;
  }
  .footer-wordmark-main{
    font-size:18px!important;
  }
  .footer-wordmark-domain{
    font-size:12px!important;
  }
}

/* Mobile footer logo uses the same correct component */
.footer-mobile-logo.footer-logo-v4{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
}
.footer-mobile-logo.footer-logo-v4 img{
  width:34px!important;
  height:34px!important;
}
.footer-mobile-logo .footer-wordmark-main{
  font-size:17px!important;
}
.footer-mobile-logo .footer-wordmark-domain{
  font-size:11px!important;
}


/* ============================================================
   DSRent 5.16.67 — professional compact footer
   ============================================================ */

.site-footer-v3{
  margin-top:36px!important;
  border-top:1px solid #dfe6ee!important;
  background:#f5f7fa!important;
}

/* Main footer grid */
.site-footer-v3 .site-footer-inner{
  width:min(calc(100% - 48px),1280px)!important;
  max-width:1280px!important;
  display:grid!important;
  grid-template-columns:minmax(360px,1.15fr) minmax(420px,.85fr)!important;
  align-items:start!important;
  gap:72px!important;
  padding:32px 0 26px!important;
}

/* Brand block */
.footer-brand-v5{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  max-width:560px!important;
}

/* Footer logo: compact horizontal lockup, no oversized shield */
.footer-logo-v4{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  width:auto!important;
  min-width:0!important;
  height:auto!important;
  margin:0 0 18px!important;
  padding:0!important;
  line-height:1!important;
  text-decoration:none!important;
}

.footer-logo-v4 .footer-logo-mark{
  display:block!important;
  width:42px!important;
  height:42px!important;
  max-width:42px!important;
  max-height:42px!important;
  flex:0 0 42px!important;
  margin:0!important;
  padding:0!important;
  object-fit:contain!important;
}

.footer-logo-v4 .footer-wordmark{
  display:inline-flex!important;
  align-items:baseline!important;
  gap:0!important;
  min-width:0!important;
  white-space:nowrap!important;
  line-height:1!important;
}

.footer-logo-v4 .footer-wordmark-main{
  color:#111d31!important;
  font-size:22px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
}

.footer-logo-v4 .footer-wordmark-domain{
  margin-left:1px!important;
  color:#2f67e8!important;
  font-size:14px!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.015em!important;
}

/* Company info */
.site-footer-v3 .footer-company{
  margin:0!important;
  color:#263b52!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.45!important;
}

.site-footer-v3 .footer-company-meta{
  margin-top:5px!important;
  color:#7b8da1!important;
  font-size:11px!important;
  line-height:1.45!important;
}

.site-footer-v3 .footer-brand-note{
  max-width:470px!important;
  margin:14px 0 0!important;
  color:#7b8da1!important;
  font-size:11px!important;
  line-height:1.5!important;
}

/* Navigation columns */
.site-footer-v3 .footer-columns{
  display:grid!important;
  grid-template-columns:minmax(150px,.8fr) minmax(220px,1.2fr)!important;
  gap:54px!important;
  align-items:start!important;
}

.site-footer-v3 .footer-column h3{
  margin:0 0 13px!important;
  color:#26394f!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.2!important;
}

.site-footer-v3 .footer-column nav{
  display:grid!important;
  gap:9px!important;
}

.site-footer-v3 .footer-column a,
.site-footer-v3 .footer-column button{
  width:max-content!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:none!important;
  color:#60748a!important;
  font-size:12px!important;
  font-weight:650!important;
  line-height:1.35!important;
  text-align:left!important;
  text-decoration:none!important;
}

.site-footer-v3 .footer-column a:hover,
.site-footer-v3 .footer-column button:hover{
  color:#1762e8!important;
}

/* Bottom legal strip */
.site-footer-v3 .site-footer-bottom{
  border-top:1px solid #e0e6ed!important;
  background:#eef2f6!important;
}

.site-footer-v3 .site-footer-bottom-inner{
  width:min(calc(100% - 48px),1280px)!important;
  max-width:1280px!important;
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  padding:9px 0!important;
  color:#7f90a3!important;
  font-size:10px!important;
  line-height:1.35!important;
}

.site-footer-v3 .site-footer-bottom-inner>*{
  margin:0!important;
}

/* Ensure old footer/mobile logo rules cannot make the shield huge again */
.site-footer-v3 .footer-logo img,
.site-footer-v3 .footer-mobile-logo img,
.site-footer-v3 .footer-logo-v4 img{
  width:42px!important;
  height:42px!important;
  max-width:42px!important;
  max-height:42px!important;
}

/* Tablet */
@media(max-width:980px){
  .site-footer-v3 .site-footer-inner{
    width:min(calc(100% - 36px),1280px)!important;
    grid-template-columns:1fr!important;
    gap:28px!important;
    padding:28px 0 22px!important;
  }

  .site-footer-v3 .footer-columns{
    grid-template-columns:1fr 1fr!important;
    gap:32px!important;
    padding-top:4px!important;
  }

  .site-footer-v3 .site-footer-bottom-inner{
    width:min(calc(100% - 36px),1280px)!important;
  }
}

/* Phone */
@media(max-width:620px){
  .site-footer-v3{
    margin-top:28px!important;
  }

  .site-footer-v3 .site-footer-inner{
    width:min(calc(100% - 28px),1280px)!important;
    gap:24px!important;
    padding:24px 0 20px!important;
  }

  .footer-logo-v4{
    margin-bottom:15px!important;
  }

  .footer-logo-v4 .footer-logo-mark{
    width:38px!important;
    height:38px!important;
    max-width:38px!important;
    max-height:38px!important;
    flex-basis:38px!important;
  }

  .footer-logo-v4 .footer-wordmark-main{
    font-size:20px!important;
  }

  .footer-logo-v4 .footer-wordmark-domain{
    font-size:13px!important;
  }

  .site-footer-v3 .footer-company{
    font-size:12px!important;
  }

  .site-footer-v3 .footer-company-meta,
  .site-footer-v3 .footer-brand-note{
    font-size:11px!important;
  }

  .site-footer-v3 .footer-columns{
    grid-template-columns:1fr!important;
    gap:22px!important;
  }

  .site-footer-v3 .footer-column h3{
    margin-bottom:10px!important;
  }

  .site-footer-v3 .footer-column nav{
    gap:8px!important;
  }

  .site-footer-v3 .footer-column a,
  .site-footer-v3 .footer-column button{
    font-size:12px!important;
  }

  .site-footer-v3 .site-footer-bottom-inner{
    width:min(calc(100% - 28px),1280px)!important;
    min-height:0!important;
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:6px!important;
    padding:12px 0!important;
    font-size:10px!important;
  }
}

/* Very narrow phones */
@media(max-width:380px){
  .footer-logo-v4 .footer-logo-mark{
    width:36px!important;
    height:36px!important;
    max-width:36px!important;
    max-height:36px!important;
    flex-basis:36px!important;
  }

  .footer-logo-v4 .footer-wordmark-main{
    font-size:19px!important;
  }

  .footer-logo-v4 .footer-wordmark-domain{
    font-size:12px!important;
  }
}

/* DSRent 5.16.68 — DT product identity */
.dtc-product-identity{min-width:0;display:flex;flex-direction:column;gap:3px}
.dtc-product-identity-title{display:block!important;overflow:hidden;color:#14273b!important;font-size:15px!important;font-weight:900!important;line-height:1.28!important;text-overflow:ellipsis;white-space:nowrap}
.dtc-product-manufacturer{display:block;overflow:hidden;color:#405a74;font-size:12px;font-weight:750;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.dtc-product-description{display:-webkit-box!important;margin-top:2px!important;overflow:hidden!important;color:#74879b!important;font-size:11px!important;font-weight:600!important;line-height:1.32!important;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.dtc-product-code{margin-top:2px!important;color:#8495a7!important;font-size:10px!important;line-height:1.25!important}
.dtc-edit-identity-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.dtc-edit-identity-grid label{min-width:0!important}
.dtc-edit-identity-grid input{width:100%!important;box-sizing:border-box!important}
@media(max-width:980px){
 .dtc-product-identity-title{font-size:15px!important;white-space:normal!important}
 .dtc-product-manufacturer{font-size:12px!important;white-space:normal!important}
 .dtc-edit-identity-grid{grid-template-columns:1fr 1fr!important}
}
@media(max-width:620px){
 .dtc-product-identity-title{font-size:16px!important;line-height:1.3!important}
 .dtc-product-manufacturer{font-size:13px!important}
 .dtc-product-description{font-size:12px!important;-webkit-line-clamp:3}
 .dtc-product-code{font-size:11px!important}
 .dtc-edit-identity-grid{grid-template-columns:1fr!important}
}


/* ============================================================
   DSRent 5.16.69 — product identity reconciliation
   ============================================================ */

.dtc-product-meta{
  display:flex;
  flex-wrap:wrap;
  gap:3px 10px;
  margin-top:1px;
  min-width:0;
  color:#526a82;
  font-size:10px;
  font-weight:650;
  line-height:1.3;
}
.dtc-product-meta span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.dtc-product-meta b{
  color:#72859a;
  font-weight:750;
}
.dtc-product-identity-title{
  max-width:100%;
}
.dtc-product-description{
  margin-top:1px!important;
}
@media(max-width:760px){
  .dtc-product-meta{
    display:grid;
    gap:2px;
    font-size:11px;
  }
  .dtc-product-meta span{
    white-space:normal;
  }
}

/* DSRent 5.16.70 — hybrid identity parser UI */
.dtc-product-identity-title{
  white-space:normal!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
.dtc-product-meta{
  margin-top:3px!important;
  font-size:11px!important;
}
.dtc-product-description{
  color:#8292a4!important;
  font-size:10px!important;
}
@media(max-width:620px){
  .dtc-product-identity-title{-webkit-line-clamp:3!important}
  .dtc-product-meta{font-size:12px!important}
  .dtc-product-description{font-size:11px!important}
}

/* DSRent 5.16.71 — R.055 structural parser */
.dtc-drop-v2 .dtc-file-icon{min-width:58px!important;width:auto!important;padding:0 10px!important;font-size:12px!important;letter-spacing:.02em!important}
.dtc-ai{max-width:520px!important;text-align:right!important;line-height:1.3!important}
@media(max-width:760px){.dtc-ai{max-width:none!important;text-align:left!important}.dtc-drop-v2 .dtc-file-icon{min-width:52px!important}}

/* DSRent 5.16.72 — semantic identity output */
.dtc-product-identity-title{
  overflow-wrap:anywhere!important;
}
.dtc-product-meta span{
  max-width:100%;
}


/* ============================================================
   DSRent 5.16.73 — DT identity diagnostics
   ============================================================ */
.dtc-row-diagnostic{
  margin:0;
  border-top:1px dashed #d7e1ec;
  background:#f8fbff;
}
.dtc-row-diagnostic>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:10px 14px;
  cursor:pointer;
  list-style:none;
  color:#2357b7;
  font-size:12px;
  font-weight:800;
}
.dtc-row-diagnostic>summary::-webkit-details-marker{display:none}
.dtc-row-diagnostic>summary:before{
  content:"＋";
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 20px;
  border:1px solid #bed2ee;
  border-radius:6px;
  background:#fff;
  color:#2764db;
}
.dtc-row-diagnostic[open]>summary:before{content:"−"}
.dtc-row-diagnostic>summary span{margin-right:auto}
.dtc-row-diagnostic>summary small{
  color:#7890aa;
  font-size:10px;
  font-weight:700;
}
.dtc-row-diagnostic-body{
  padding:0 14px 16px;
}
.dtc-diag-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.dtc-diag-grid section,
.dtc-diag-sources section{
  min-width:0;
  padding:12px;
  border:1px solid #dbe5ef;
  border-radius:10px;
  background:#fff;
}
.dtc-diag-grid h4,
.dtc-diag-sources h4{
  margin:0 0 8px;
  color:#334b63;
  font-size:11px;
  font-weight:900;
}
.dtc-diag-status{
  margin:0 0 8px;
  color:#60778f;
  font-size:10px;
}
.dtc-row-diagnostic pre{
  max-height:260px;
  margin:0;
  padding:9px 10px;
  overflow:auto;
  border-radius:7px;
  background:#f2f6fa;
  color:#26394d;
  font:11px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.dtc-diag-sources{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:10px;
}
.dtc-diag-sources pre{max-height:360px}
@media(max-width:900px){
  .dtc-diag-grid,.dtc-diag-sources{grid-template-columns:1fr}
}
@media(max-width:620px){
  .dtc-row-diagnostic>summary{
    align-items:flex-start;
    padding:10px;
    font-size:12px;
  }
  .dtc-row-diagnostic>summary small{display:none}
  .dtc-row-diagnostic-body{padding:0 10px 12px}
  .dtc-row-diagnostic pre{font-size:10px}
}

/* DSRent 5.16.74 — description-first identity */
.dtc-product-identity-title{
  font-size:14px!important;
  line-height:1.3!important;
  font-weight:900!important;
  -webkit-line-clamp:2!important;
}
.dtc-product-meta{
  gap:2px 10px!important;
  margin-top:4px!important;
  color:#4d667f!important;
  font-size:10px!important;
}
@media(max-width:620px){
  .dtc-product-identity-title{font-size:15px!important;-webkit-line-clamp:3!important}
  .dtc-product-meta{font-size:11px!important}
}

/* DSRent 5.16.75 — canonical SKU title */
.dtc-product-identity-title{
  font-size:14px!important;
  line-height:1.28!important;
  -webkit-line-clamp:2!important;
}
.dtc-good-edit-panel textarea[disabled]{
  width:100%;
  min-height:78px;
  padding:10px 12px;
  box-sizing:border-box;
  resize:vertical;
  border:1px solid #d9e3ee;
  border-radius:10px;
  background:#f7f9fc;
  color:#52687e;
  font:12px/1.45 inherit;
}
@media(max-width:620px){
  .dtc-product-identity-title{
    font-size:15px!important;
    -webkit-line-clamp:3!important;
  }
}

/* DSRent 5.16.76 — template-aware diagnostics */
.dtc-row-diagnostic h4{letter-spacing:0!important}

/* DSRent 5.16.77 — automotive template identity */
.dtc-edit-identity-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
@media(max-width:1100px){
  .dtc-edit-identity-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  .dtc-edit-identity-grid{grid-template-columns:1fr!important}
}


/* ============================================================
   DSRent 5.16.78 — Template Registry + Regression Guard
   ============================================================ */
.dt-template-admin{
  max-width:1320px!important;
}
.dt-template-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:20px;
}
.dt-template-head>div{max-width:820px}
.dt-template-head h1{
  margin:10px 0 8px;
  font-size:40px;
  line-height:1.08;
  letter-spacing:-.035em;
}
.dt-template-head p{
  margin:0;
  color:#657a91;
  font-size:14px;
  line-height:1.55;
}
.dt-template-head form{flex:0 0 auto}
.dt-template-head button{
  min-height:44px;
  padding:0 17px;
  border:0;
  border-radius:11px;
  background:#2466e8;
  color:#fff;
  font-weight:850;
  cursor:pointer;
}

.dt-guard-status{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:0 0 18px;
  padding:18px 20px;
  border:1px solid;
  border-radius:16px;
}
.dt-guard-status.ok{
  border-color:#b9e3ca;
  background:#f1fbf5;
}
.dt-guard-status.bad{
  border-color:#f2c6c6;
  background:#fff5f5;
}
.dt-guard-status span{
  display:block;
  margin-bottom:3px;
  color:#70849a;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}
.dt-guard-status strong{
  display:block;
  color:#183048;
  font-size:18px;
}
.dt-guard-status p{
  margin:4px 0 0;
  color:#667b90;
  font-size:12px;
}
.dt-guard-status>b{
  min-width:72px;
  padding:9px 11px;
  border-radius:10px;
  text-align:center;
  font-size:13px;
  letter-spacing:.06em;
}
.dt-guard-status.ok>b{background:#daf3e4;color:#197443}
.dt-guard-status.bad>b{background:#ffe0e0;color:#a53030}

.dt-template-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.dt-template-card{
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:18px;
  border:1px solid #dfe6ee;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.035);
}
.dt-template-card>header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
.dt-template-key{
  display:block;
  margin-bottom:5px;
  color:#4770a0;
  font:700 10px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace;
}
.dt-template-card h2{
  margin:0;
  color:#13263a;
  font-size:17px;
  line-height:1.28;
}
.dt-template-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:0 8px;
  border-radius:999px;
  background:#edf2f7;
  color:#667b91;
  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
}
.dt-template-status.passed{background:#e4f7eb;color:#1e7b48}
.dt-template-status.failed,.dt-template-status.error{background:#ffe6e6;color:#aa3030}
.dt-template-status.unknown{background:#eef2f6;color:#718398}

.dt-template-metrics{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:16px 0;
}
.dt-template-metrics>div{
  padding:10px;
  border-radius:10px;
  background:#f5f8fb;
}
.dt-template-metrics small{
  display:block;
  color:#8293a6;
  font-size:9px;
}
.dt-template-metrics b{
  display:block;
  margin-top:3px;
  color:#1b3148;
  font-size:15px;
}

.dt-template-card dl{
  display:grid;
  gap:7px;
  margin:0;
}
.dt-template-card dl>div{
  display:grid;
  grid-template-columns:90px minmax(0,1fr);
  gap:8px;
  align-items:start;
}
.dt-template-card dt{
  color:#8293a6;
  font-size:10px;
}
.dt-template-card dd{
  min-width:0;
  margin:0;
  overflow-wrap:anywhere;
  color:#435b73;
  font-size:10px;
  font-weight:700;
}
.dt-template-card>footer{
  display:flex;
  gap:8px;
  margin-top:auto;
  padding-top:16px;
}
.dt-template-card>footer form{margin:0}
.dt-template-card>footer button{
  min-height:36px;
  padding:0 11px;
  border:1px solid #cbd8e5;
  border-radius:9px;
  background:#fff;
  color:#29435f;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.dt-template-card>footer button.danger-soft{
  border-color:#eccaca;
  color:#9e3a3a;
}

.dt-regression-history{
  margin-top:28px;
}
.dt-regression-history h2{
  margin:7px 0 12px;
  font-size:25px;
}
.dt-regression-table-wrap{
  overflow:auto;
  border:1px solid #dfe6ee;
  border-radius:14px;
  background:#fff;
}
.dt-regression-table{
  width:100%;
  border-collapse:collapse;
  font-size:11px;
}
.dt-regression-table th,
.dt-regression-table td{
  padding:11px 13px;
  border-bottom:1px solid #edf1f5;
  text-align:left;
  white-space:nowrap;
}
.dt-regression-table th{
  color:#71859b;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.dt-regression-table tbody tr:last-child td{border-bottom:0}
.dt-regression-table code{
  color:#315f98;
  font-size:10px;
}

@media(max-width:1100px){
  .dt-template-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .dt-template-head{
    align-items:stretch;
    flex-direction:column;
  }
  .dt-template-head h1{font-size:32px}
  .dt-template-head button{width:100%}
  .dt-template-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .dt-template-head h1{font-size:28px}
  .dt-guard-status{
    align-items:flex-start;
    flex-direction:column;
  }
  .dt-template-metrics{grid-template-columns:1fr}
  .dt-template-card dl>div{grid-template-columns:1fr;gap:2px}
  .dt-template-card>footer{flex-wrap:wrap}
}



/* DSRent 5.16.79 — Auto Template Intake */
.dt-intake-section{margin-top:28px}
.dt-intake-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:12px}
.dt-intake-heading h2{margin:7px 0 5px;font-size:25px;color:#183048}
.dt-intake-heading p{max-width:820px;margin:0;color:#6b7f93;font-size:12px;line-height:1.55}
.dt-intake-count{display:flex;align-items:baseline;gap:7px;padding:9px 12px;border:1px solid #dfe6ee;border-radius:11px;background:#fff;white-space:nowrap}
.dt-intake-count b{font-size:19px;color:#23466c}.dt-intake-count span{font-size:10px;color:#71859a}
.dt-intake-empty{display:flex;flex-direction:column;gap:3px;padding:15px 17px;border:1px dashed #cfdbe7;border-radius:13px;background:#f8fafc}
.dt-intake-empty strong{font-size:13px;color:#28435f}.dt-intake-empty span{font-size:11px;color:#7c8fa2}
.dt-intake-list{display:grid;gap:9px}
.dt-intake-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid #dfe6ee;border-radius:13px;background:#fff}
.dt-intake-card.review{border-color:#edcfaa;background:#fffaf4}
.dt-intake-main{min-width:0;flex:1}.dt-intake-main header{display:flex;align-items:center;gap:8px;margin-bottom:9px}
.dt-intake-main code{font-size:11px;font-weight:800;color:#315f98}
.dt-intake-stats{display:flex;gap:22px;flex-wrap:wrap}.dt-intake-stats span{display:flex;align-items:baseline;gap:5px}
.dt-intake-stats small{font-size:9px;color:#8798a9}.dt-intake-stats b{font-size:11px;color:#34506d}
.dt-intake-signals{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.dt-intake-signals span{padding:4px 7px;border-radius:999px;background:#f1f5f9;color:#60758b;font-size:9px;font-weight:700}
.dt-intake-card form{flex:0 0 auto}.dt-intake-card button{min-height:34px;padding:0 10px;border:1px solid #d3dce6;border-radius:8px;background:#fff;color:#6c7e90;font-size:10px;font-weight:800;cursor:pointer}
.dt-known-fingerprints{margin-top:10px;border:1px solid #e1e7ee;border-radius:11px;background:#fff}.dt-known-fingerprints summary{padding:11px 13px;cursor:pointer;color:#526b84;font-size:11px;font-weight:800}.dt-known-fingerprints>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:0 11px 11px}.dt-known-fingerprints span{display:flex;align-items:center;gap:7px;padding:7px 8px;border-radius:8px;background:#f7f9fb;min-width:0}.dt-known-fingerprints code{font-size:9px;color:#51769e}.dt-known-fingerprints b{overflow:hidden;text-overflow:ellipsis;font-size:9px;color:#38536f}.dt-known-fingerprints small{margin-left:auto;font-size:9px;color:#8b9bac;white-space:nowrap}
@media(max-width:800px){.dt-intake-heading{flex-direction:column}.dt-intake-card{align-items:flex-start;flex-direction:column}.dt-known-fingerprints>div{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.dt-intake-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}.dt-known-fingerprints>div{grid-template-columns:1fr}}


/* ============================================================
   DSRent 5.16.80 — DT review cleanup + responsive expenses
   ============================================================ */

/* Parser internals must not be visible on the business-facing DT review page. */
.dtc-row-diagnostic{display:none!important}

/* Expenses are a native part of the DT workspace. */
.dtc-expenses-card{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  margin:24px 0 14px;
  padding:20px;
  border:1px solid #dce5ef;
  border-radius:18px;
  background:#fff;
  box-shadow:0 7px 24px rgba(31,55,82,.045);
}
.dtc-expenses-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  margin-bottom:18px;
}
.dtc-expenses-card-head>div:first-child{min-width:0;max-width:760px}
.dtc-expenses-card-head .eyebrow{margin-bottom:7px}
.dtc-expenses-card-head h2{
  margin:0 0 5px;
  color:#17243a;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.025em;
}
.dtc-expenses-card-head p{
  margin:0;
  color:#718096;
  font-size:13px;
  line-height:1.5;
}
.dtc-expenses-card-state{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:850;
  white-space:nowrap;
}
.dtc-expenses-card-state.ready{background:#eaf8f0;color:#197548}
.dtc-expenses-card-state.locked{background:#f2f5f8;color:#718096}

.dtc-expenses-fieldset{
  width:100%;
  min-width:0;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
.dtc-expenses-fieldset:disabled{opacity:.58!important}

.dtc-expenses-table-head{
  display:grid;
  grid-template-columns:minmax(220px,1.35fr) minmax(140px,.55fr) minmax(210px,.8fr);
  gap:10px;
  padding:0 10px 7px;
  color:#7b8a9c;
  font-size:10px;
  font-weight:850;
  text-transform:uppercase;
  letter-spacing:.035em;
}
.dtc-expenses{
  width:100%;
  min-width:0;
  max-width:none!important;
  display:grid;
  gap:7px!important;
}
.dtc-expense{
  width:100%;
  min-width:0;
  display:grid!important;
  grid-template-columns:minmax(220px,1.35fr) minmax(140px,.55fr) minmax(210px,.8fr)!important;
  gap:10px!important;
  align-items:center;
  min-height:0!important;
  padding:7px;
  box-sizing:border-box;
  border:1px solid #e4eaf1;
  border-radius:12px;
  background:#f9fbfd;
}
.dtc-expense-field{
  min-width:0;
  display:block!important;
  margin:0!important;
  color:inherit!important;
  font-weight:inherit!important;
}
.dtc-expense-field>span{display:none}
.dtc-expense input,
.dtc-expense select{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:40px!important;
  height:40px;
  box-sizing:border-box!important;
  margin:0!important;
  padding:0 11px!important;
  border:1px solid #d4dee9!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#25364b;
  font-size:13px!important;
  outline:none;
}
.dtc-expense input:focus,
.dtc-expense select:focus{
  border-color:#8fb5ef!important;
  box-shadow:0 0 0 3px rgba(38,103,218,.08);
}
.dtc-expense-name input{font-weight:700}
.dtc-expense-amount input{text-align:right;font-variant-numeric:tabular-nums}
.dtc-expenses-help{
  display:flex;
  flex-wrap:wrap;
  gap:6px 18px;
  margin-top:10px;
  padding:0 4px;
  color:#8593a4;
  font-size:10px;
  line-height:1.4;
}

.dtc-review-footer{
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.dtc-review-footer-left,
.dtc-review-footer-right{min-width:0}

@media(max-width:880px){
  .dtc-expenses-card{padding:17px;border-radius:16px}
  .dtc-expenses-table-head{display:none}
  .dtc-expense{
    grid-template-columns:minmax(0,1.35fr) minmax(130px,.65fr)!important;
    align-items:end;
    padding:10px!important;
  }
  .dtc-expense-method{grid-column:1/-1}
  .dtc-expense-field>span{
    display:block;
    margin:0 0 5px;
    color:#7c8b9e;
    font-size:10px;
    font-weight:800;
  }
  .dtc-expense input,
  .dtc-expense select{height:42px;min-height:42px!important}
}

@media(max-width:560px){
  .dtc-review{width:100%;min-width:0}
  .dtc-expenses-card{
    margin:18px 0 10px;
    padding:14px;
    border-radius:15px;
  }
  .dtc-expenses-card-head{display:block;margin-bottom:14px}
  .dtc-expenses-card-head h2{font-size:21px}
  .dtc-expenses-card-head p{font-size:12px}
  .dtc-expenses-card-state{margin-top:10px}
  .dtc-expense{
    grid-template-columns:1fr!important;
    gap:8px!important;
    padding:10px!important;
    border-radius:11px;
  }
  .dtc-expense-method{grid-column:auto}
  .dtc-expense input,
  .dtc-expense select{
    width:100%!important;
    height:42px!important;
    min-height:42px!important;
  }
  .dtc-expense-amount input{text-align:left}
  .dtc-expenses-help{display:grid;gap:4px;margin-top:9px}
  .dtc-review-footer{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:8px!important;
    position:static!important;
    padding:10px!important;
  }
  .dtc-review-footer-left,
  .dtc-review-footer-right{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:7px!important;
  }
  .dtc-review-footer .btn{
    width:100%!important;
    box-sizing:border-box!important;
    text-align:center!important;
  }
}


/* ============================================================
   DSRent 5.16.81 — expanded DT editor layout / typography fix
   Final overrides intentionally placed at end of stylesheet.
   ============================================================ */

/* The identity block is a child of the 12-column editor grid.
   It must occupy the entire editor width, otherwise its four
   internal fields collapse into one outer grid track. */
.dtc-good-edit-panel > .dtc-edit-identity-grid{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  align-self:start!important;
}

/* Stable field rhythm. Do not inherit global form margins/heights. */
.dtc-good-edit-panel label{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:flex-start!important;
  gap:6px!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  color:#5b6e84!important;
  font-family:inherit!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.3!important;
  letter-spacing:0!important;
  white-space:normal!important;
}

/* Inputs in the DT editor use one predictable type system. */
.dtc-good-edit-panel input,
.dtc-good-edit-panel select,
.dtc-good-edit-panel textarea{
  position:static!important;
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  box-sizing:border-box!important;
  border:1px solid #cfd9e5!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#192b3e!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:600!important;
  line-height:1.35!important;
  letter-spacing:0!important;
  text-transform:none!important;
  box-shadow:none!important;
}

/* Text-like controls are one-line; textarea is explicitly multiline. */
.dtc-good-edit-panel input,
.dtc-good-edit-panel select{
  height:44px!important;
  min-height:44px!important;
  padding:0 12px!important;
}
.dtc-good-edit-panel textarea,
.dtc-good-edit-panel textarea[disabled]{
  height:auto!important;
  min-height:92px!important;
  max-height:260px!important;
  padding:10px 12px!important;
  resize:vertical!important;
  overflow:auto!important;
  white-space:pre-wrap!important;
  overflow-wrap:anywhere!important;
  font-family:inherit!important;
  font-size:13px!important;
  font-weight:500!important;
  line-height:1.45!important;
}

/* Disabled values are still business data, so keep them readable. */
.dtc-good-edit-panel input:disabled,
.dtc-good-edit-panel select:disabled,
.dtc-good-edit-panel textarea:disabled{
  opacity:1!important;
  -webkit-text-fill-color:#31475d!important;
  color:#31475d!important;
  background:#f7f9fc!important;
  border-color:#d7e0ea!important;
  cursor:default!important;
}
.dtc-good-edit-panel input[readonly]{
  opacity:1!important;
  -webkit-text-fill-color:#52677c!important;
  color:#52677c!important;
  background:#f1f5f9!important;
}

/* Identity fields: four columns only when there is enough real width. */
.dtc-good-edit-panel > .dtc-edit-identity-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
}
.dtc-edit-identity-grid label{
  width:100%!important;
  min-width:0!important;
}
.dtc-edit-identity-grid input{
  width:100%!important;
  min-width:0!important;
}

/* Description rows are full-width. This prevents the title and
   customs description from sharing a cramped half-row. */
.dtc-good-edit-panel > .dtc-edit-desc{
  grid-column:1 / -1!important;
  width:100%!important;
  min-width:0!important;
}

/* Numeric/customs fields: 3-column desktop grid with no collisions. */
.dtc-good-edit-panel > .dtc-edit-hs,
.dtc-good-edit-panel > .dtc-edit-qty,
.dtc-good-edit-panel > .dtc-edit-net{
  grid-column:span 4!important;
}
.dtc-good-edit-panel > .dtc-edit-unit-price,
.dtc-good-edit-panel > .dtc-edit-price,
.dtc-good-edit-panel > .dtc-edit-rub,
.dtc-good-edit-panel > .dtc-edit-customs{
  grid-column:span 4!important;
}
.dtc-good-edit-panel > .dtc-edit-duty,
.dtc-good-edit-panel > .dtc-edit-vat,
.dtc-good-edit-panel > .dtc-edit-other{
  grid-column:span 4!important;
}

.dtc-good-edit-panel label > small{
  display:block!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  color:#8291a3!important;
  font-family:inherit!important;
  font-size:10px!important;
  font-weight:600!important;
  line-height:1.4!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

/* Prevent any old floating/absolute form rules from leaking in. */
.dtc-group-edit,
.dtc-good-edit-panel,
.dtc-good-edit-panel > *,
.dtc-edit-identity-grid > *{
  float:none!important;
}
.dtc-group-edit{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}
.dtc-good-edit-panel{
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
  align-items:start!important;
}

/* Tablet: two columns; identity grid also becomes two columns. */
@media(max-width:940px){
  .dtc-good-edit-panel{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .dtc-good-edit-panel > .dtc-edit-identity-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .dtc-good-edit-panel > .dtc-edit-desc,
  .dtc-good-edit-panel > .dtc-manual-price-note{
    grid-column:1 / -1!important;
  }
  .dtc-good-edit-panel > .dtc-edit-hs,
  .dtc-good-edit-panel > .dtc-edit-qty,
  .dtc-good-edit-panel > .dtc-edit-net,
  .dtc-good-edit-panel > .dtc-edit-unit-price,
  .dtc-good-edit-panel > .dtc-edit-price,
  .dtc-good-edit-panel > .dtc-edit-rub,
  .dtc-good-edit-panel > .dtc-edit-customs,
  .dtc-good-edit-panel > .dtc-edit-duty,
  .dtc-good-edit-panel > .dtc-edit-vat,
  .dtc-good-edit-panel > .dtc-edit-other{
    grid-column:span 1!important;
  }
}

/* Phone: every field is one clean row, no inherited fixed widths. */
@media(max-width:620px){
  .dtc-good-edit-panel{
    grid-template-columns:1fr!important;
    gap:11px!important;
    padding:14px!important;
  }
  .dtc-good-edit-panel > .dtc-edit-identity-grid{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .dtc-good-edit-panel > .dtc-edit-desc,
  .dtc-good-edit-panel > .dtc-edit-hs,
  .dtc-good-edit-panel > .dtc-edit-qty,
  .dtc-good-edit-panel > .dtc-edit-net,
  .dtc-good-edit-panel > .dtc-edit-unit-price,
  .dtc-good-edit-panel > .dtc-edit-price,
  .dtc-good-edit-panel > .dtc-edit-rub,
  .dtc-good-edit-panel > .dtc-edit-customs,
  .dtc-good-edit-panel > .dtc-edit-duty,
  .dtc-good-edit-panel > .dtc-edit-vat,
  .dtc-good-edit-panel > .dtc-edit-other,
  .dtc-good-edit-panel > .dtc-manual-price-note{
    grid-column:1!important;
  }
  .dtc-good-edit-panel input,
  .dtc-good-edit-panel select{
    height:43px!important;
    min-height:43px!important;
    font-size:14px!important;
  }
  .dtc-good-edit-panel textarea,
  .dtc-good-edit-panel textarea[disabled]{
    min-height:110px!important;
    font-size:13px!important;
  }
}

/* DSRent 5.16.82 — unit price + cleaner declaration description */
.dtc-good-edit-panel > .dtc-edit-unit-price{grid-column:span 4!important}
@media(max-width:940px){.dtc-good-edit-panel > .dtc-edit-unit-price{grid-column:span 1!important}}
@media(max-width:620px){.dtc-good-edit-panel > .dtc-edit-unit-price{grid-column:1!important}}

/* 5.16.83 Template Studio */
.dt-studio{max-width:1180px;margin:0 auto;padding:22px 20px 44px}.dt-studio .admin-page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.dt-studio .admin-page-head h1{margin:3px 0 6px;font-size:30px}.dt-studio .admin-page-head p{max-width:760px;margin:0;color:#6d7e91;line-height:1.5}.dt-studio .admin-card{margin-bottom:14px;padding:18px;border:1px solid #dde5ee;border-radius:16px;background:#fff}.dt-studio-upload form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.dt-studio-upload label{display:grid;gap:6px;font-size:12px;font-weight:750;color:#607187}.dt-studio-upload input[type=file]{width:100%;box-sizing:border-box;padding:10px;border:1px solid #d3dde8;border-radius:10px;background:#f8fafc}.dt-studio .muted{color:#8492a3;font-size:11px}.dt-studio-result-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.dt-studio-score{display:grid;place-items:center;min-width:64px;height:38px;padding:0 10px;border-radius:999px;background:#eaf3ff;color:#1d63bd;font-weight:850}.dt-studio-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.dt-studio-facts>div{padding:12px;border:1px solid #e2e8f0;border-radius:11px;background:#f9fbfd}.dt-studio-facts span{display:block;margin-bottom:4px;color:#8391a2;font-size:10px}.dt-studio-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0 14px}.dt-studio-map label{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:10px 11px;border:1px solid #e0e7ef;border-radius:10px;background:#fbfcfe}.dt-studio-map em{font-size:10px;font-style:normal;color:#8190a2}.dt-studio-regression{display:flex;align-items:center;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid #e5ebf1}.dt-studio-activation-note{margin-top:14px;padding:12px 14px;border-radius:11px;background:#fff8e7;color:#765c1a;font-size:11px;line-height:1.5}.dt-studio-list{display:grid;gap:7px}.dt-studio-list a{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e3e9f0;border-radius:10px;color:#25384d;text-decoration:none}.dt-studio-list small{color:#7d8b9c}@media(max-width:760px){.dt-studio{padding:14px 12px 30px}.dt-studio .admin-page-head{display:grid}.dt-studio-upload form{grid-template-columns:1fr}.dt-studio-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.dt-studio-map{grid-template-columns:1fr}.dt-studio-regression{display:grid}.dt-studio-list a{display:grid}}@media(max-width:440px){.dt-studio-facts{grid-template-columns:1fr}}

/* 5.16.84 Template Studio runtime hotfix — cache revision */

/* 5.16.85 Template Studio activation */
.dt-studio-activation-panel{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;padding:13px 14px;border:1px solid #dbe6f1;border-radius:12px;background:#f8fbff}.dt-studio-activation-panel>div{display:grid;gap:3px;min-width:0}.dt-studio-activation-panel strong{font-size:12px;color:#22374c}.dt-studio-activation-panel span{font-size:10px;color:#75869a;line-height:1.45}.dt-studio-activation-panel form{flex:0 0 auto;margin:0}@media(max-width:620px){.dt-studio-activation-panel{display:grid}.dt-studio-activation-panel .btn{width:100%}}

/* 5.16.86 — actual DT recognition preview */
.dt-studio-preview{margin:18px 0;padding:15px;border:1px solid #d9e3ee;border-radius:14px;background:#fbfdff}
.dt-studio-preview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.dt-studio-preview-head h3{margin:3px 0 3px;font-size:17px}.dt-studio-preview-head p{margin:0;max-width:720px;color:#75869a;font-size:10px;line-height:1.45}
.dt-studio-parser-badge{flex:0 0 auto;padding:7px 9px;border-radius:999px;background:#eef4fb;color:#50657c;font-size:10px;font-weight:800}
.dt-studio-preview-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-bottom:12px}
.dt-studio-preview-summary>div{padding:9px 10px;border:1px solid #e3e9f0;border-radius:9px;background:#fff}
.dt-studio-preview-summary span{display:block;color:#8795a5;font-size:9px;margin-bottom:3px}.dt-studio-preview-summary strong{font-size:11px}.dt-studio-preview-summary .is-ok{color:#167546}.dt-studio-preview-summary .is-warn{color:#a06700}
.dt-studio-warnings{margin:0 0 12px;padding:9px 11px;border:1px solid #f0dfae;border-radius:9px;background:#fffaf0;font-size:10px;color:#775b17}
.dt-studio-warnings summary{cursor:pointer;font-weight:800}.dt-studio-warnings ul{margin:8px 0 0;padding-left:18px}
.dt-studio-table-wrap{overflow:auto;border:1px solid #e0e7ef;border-radius:11px;background:#fff}
.dt-studio-recognition-table{width:100%;min-width:1320px;border-collapse:collapse;font-size:10px}
.dt-studio-recognition-table th{position:sticky;top:0;z-index:1;padding:9px 8px;border-bottom:1px solid #dce4ed;background:#f4f7fa;color:#607187;text-align:left;white-space:nowrap}
.dt-studio-recognition-table td{padding:8px;border-bottom:1px solid #edf1f5;vertical-align:top;min-width:120px}
.dt-studio-recognition-table td:nth-child(1){min-width:44px}.dt-studio-recognition-table td:nth-child(2){min-width:230px}
.dt-studio-field{display:grid;gap:4px}.dt-studio-field span{line-height:1.35;overflow-wrap:anywhere}.dt-studio-field em{width:max-content;padding:2px 5px;border-radius:999px;font-size:8px;font-style:normal;font-weight:800}
.dt-studio-field.is-found em{background:#e9f7ef;color:#167546}.dt-studio-field.is-empty span{color:#9ba7b4}.dt-studio-field.is-empty em{background:#fff0ee;color:#ad493d}
.dt-studio-preview-empty{display:grid;gap:4px;margin:15px 0;padding:12px 14px;border:1px dashed #cfd9e4;border-radius:11px;color:#607187;background:#fafbfd}
.dt-studio-preview-empty strong{font-size:11px}.dt-studio-preview-empty span{font-size:10px;line-height:1.45}
@media(max-width:760px){
 .dt-studio-preview-head{display:grid}.dt-studio-parser-badge{width:max-content}
 .dt-studio-preview-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:440px){.dt-studio-preview-summary{grid-template-columns:1fr}}
