:root{
  --navy:#06152f;--navy2:#0a2147;--ink:#0d1730;--muted:#6f7d96;--surface:#fff;--canvas:#f3f7fc;--line:#dce5f2;
  --blue:#0d6efd;--blue2:#3296ff;--cyan:#20c7f6;--green:#16a34a;--greenSoft:#e7f9ed;--amber:#f59e0b;--amberSoft:#fff4d9;
  --red:#ef4444;--purple:#7c3aed;--shadow:0 12px 35px rgba(12,31,67,.09);--radius:20px;--sidebar:270px;
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas)}
button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}textarea{resize:vertical}.hidden{display:none!important}
.app-shell{display:grid;grid-template-columns:var(--sidebar) 1fr;min-height:100vh}.app-shell.is-loading{visibility:hidden}.main-shell{grid-column:2;min-width:0}
.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:linear-gradient(180deg,#071b3d,#04142f 72%,#031126);color:#eaf2ff;padding:22px 14px;display:flex;flex-direction:column;z-index:30;box-shadow:12px 0 35px rgba(2,15,35,.16)}
.brand{display:flex;align-items:center;gap:12px}.brand strong{font-size:26px;letter-spacing:-.8px}.brand small{display:block;color:#a9b9d3;font-size:11px;margin-top:1px}.brand--sidebar{padding:4px 10px 22px}.brand-mark{width:46px;height:38px;position:relative;display:grid;place-items:center;font-style:italic;font-weight:950}.brand-mark span:first-child{position:absolute;left:3px;top:0;color:#3fa8ff;font-size:28px;transform:skew(-14deg)}.brand-mark span:last-child{position:absolute;right:0;bottom:0;color:#35d96f;font-size:26px;transform:skew(-14deg)}
.side-nav{display:flex;flex-direction:column;gap:6px}.nav-item{width:100%;border:0;background:transparent;color:#d7e2f5;border-radius:13px;padding:12px 13px;display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:8px;text-align:left;font-weight:700}.nav-item:hover{background:rgba(255,255,255,.07)}.nav-item.active{background:linear-gradient(135deg,#0875ff,#1761e7);color:white;box-shadow:0 8px 20px rgba(13,110,253,.25)}.nav-item b{font-size:11px;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.15);border-radius:999px;padding:3px 7px}.nav-icon{width:28px;text-align:center;font-size:18px}.side-section{border-top:1px solid rgba(255,255,255,.10);margin-top:18px;padding-top:17px}.side-label{font-size:10px;letter-spacing:1.3px;color:#7f9ac2;margin:0 12px 7px}.nav-item--muted{color:#b9c7dd}.support-card{margin-top:auto;border:1px solid rgba(60,142,255,.5);background:linear-gradient(145deg,rgba(12,65,125,.52),rgba(2,24,55,.85));border-radius:18px;padding:16px}.support-icon{width:34px;height:34px;border-radius:10px;background:#0d6efd;display:grid;place-items:center;font-weight:900;margin-bottom:10px}.support-card p{font-size:12px;color:#b6c6df;line-height:1.45}.support-card button{width:100%;border:1px solid #438df7;background:rgba(13,110,253,.12);color:#eaf3ff;border-radius:999px;padding:10px;font-weight:700}
.topbar{height:76px;background:rgba(255,255,255,.93);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:16px;padding:0 28px;position:sticky;top:0;z-index:20}.search-box{max-width:760px;flex:1;height:44px;border:1px solid #cad7e8;border-radius:14px;display:flex;align-items:center;padding:0 13px;background:#f8fbff}.search-box span{font-size:22px;color:#7a8ca7}.search-box input{border:0;outline:0;background:transparent;width:100%;padding:0 10px;color:var(--ink)}.top-actions{margin-left:auto;display:flex;align-items:center;gap:9px}.icon-button{width:42px;height:42px;border:1px solid var(--line);background:white;border-radius:13px;position:relative;font-size:18px}.notify-dot{position:absolute;right:-5px;top:-6px;background:#ef4444;color:#fff;border:2px solid #fff;border-radius:999px;min-width:19px;height:19px;display:grid;place-items:center;font-size:10px}.profile-chip{display:flex;align-items:center;gap:10px;border:0;background:transparent;padding:4px 6px;border-radius:12px}.avatar{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:#183960;color:white;font-weight:800;border:0}.profile-copy{text-align:left}.profile-copy strong,.profile-copy small{display:block}.profile-copy small{font-size:11px;color:var(--muted);margin-top:2px}.mobile-topbar{display:none}
.content{padding:18px 24px 92px;max-width:1540px;margin:0 auto}.view-header{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:16px}.view-header h1{margin:0;font-size:30px;letter-spacing:-1px}.view-header p{margin:4px 0 0;color:var(--muted)}
.hero{background:radial-gradient(circle at 78% 20%,rgba(0,217,255,.28),transparent 30%),linear-gradient(125deg,#061a39,#073875 55%,#0967ba);color:white;border-radius:24px;padding:25px 28px;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);gap:20px;box-shadow:var(--shadow);overflow:hidden;position:relative}.hero h1{font-size:34px;margin:0 0 8px;letter-spacing:-1.2px}.hero p{margin:0;color:#cfdef4;line-height:1.5;max-width:700px}.hero-features{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hero-feature{background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13);border-radius:16px;padding:13px}.hero-feature span{width:34px;height:34px;border-radius:11px;background:rgba(33,184,255,.17);display:grid;place-items:center;margin-bottom:9px}.hero-feature strong{display:block;font-size:12px}.hero-feature small{color:#b9cce7;font-size:10px}
.mobile-welcome{display:none}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:16px 0}.metric-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px;box-shadow:0 5px 16px rgba(8,35,78,.04);display:flex;gap:12px;align-items:center}.metric-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;font-size:20px}.metric-card strong{display:block;font-size:20px}.metric-card small{color:var(--muted)}.metric-card.amber .metric-icon{background:var(--amberSoft);color:var(--amber)}.metric-card.green .metric-icon{background:var(--greenSoft);color:var(--green)}.metric-card.blue .metric-icon{background:#e7f2ff;color:var(--blue)}.metric-card.purple .metric-icon{background:#f1e9ff;color:var(--purple)}
.status-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:8px;margin-bottom:16px}.status-cell{padding:10px 12px;border-radius:12px}.status-cell small{display:block;color:var(--muted);font-size:10px}.status-cell strong{font-size:17px}.status-cell:nth-child(1){background:#fff3dc}.status-cell:nth-child(2){background:#f0f3f8}.status-cell:nth-child(3){background:#e8f4ff}.status-cell:nth-child(4){background:#e8f9ee}.status-cell:nth-child(5){background:#e2f8e9}.status-cell:nth-child(6){background:#ffe8ec}
.dashboard-grid{display:grid;grid-template-columns:1fr 1fr 320px;gap:14px}.panel-card{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 6px 24px rgba(7,32,72,.05);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid #e7edf6}.panel-head h2{font-size:16px;margin:0}.panel-head button{border:0;background:transparent;color:var(--blue);font-weight:750;font-size:12px}.records{padding:6px 10px}.record{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:11px;align-items:center;padding:10px 5px;border-bottom:1px solid #edf1f7;cursor:pointer}.record:last-child{border-bottom:0}.record:hover{background:#f7faff}.thumb{width:54px;height:48px;border-radius:11px;background:linear-gradient(135deg,#e7edf6,#cbd8ea);object-fit:cover}.record-main{min-width:0}.record-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px}.record-main small{display:block;color:var(--muted);font-size:11px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.record-side{text-align:right}.record-side strong{display:block;font-size:12px}.status-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:800;margin-top:4px;background:#edf2f8;color:#50617a}.status-badge.green{background:#dcf8e5;color:#08752d}.status-badge.blue{background:#e2efff;color:#075cbe}.status-badge.amber{background:#fff0cc;color:#a66600}.status-badge.red{background:#ffe3e7;color:#ad1e33}.status-badge.purple{background:#eee6ff;color:#6930b8}.empty-state{padding:35px 20px;text-align:center;color:var(--muted)}
.catalogue-mini{grid-column:1 / span 2}.catalogue-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:12px}.product-mini{border:1px solid #dce5f2;border-radius:15px;padding:8px;min-width:0;cursor:pointer}.product-mini img{width:100%;height:88px;object-fit:cover;border-radius:10px;background:#eef3f8}.product-mini strong{display:block;font-size:12px;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.product-mini small{color:var(--muted);font-size:10px}.product-mini .price{font-weight:850;color:var(--ink);margin-top:2px}.quick-actions{padding:12px;display:flex;flex-direction:column;gap:9px}.quick-actions button{border:1px solid #d6e2f2;background:#f7faff;border-radius:13px;padding:11px;text-align:left;font-weight:750;color:#27405f}.quick-actions button.primary{background:linear-gradient(135deg,#0d6efd,#1260e8);color:white;border-color:transparent}.quick-actions small{display:block;color:var(--muted);font-weight:500;margin-top:3px}.quick-actions button.primary small{color:#dceaff}
.list-page{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}.toolbar{display:flex;align-items:center;gap:9px;padding:13px 15px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar .search-inline{min-width:220px;flex:1;border:1px solid #d4dfed;border-radius:12px;padding:10px 12px;background:#f8fbff}.toolbar select{border:1px solid #d4dfed;border-radius:12px;padding:10px 12px;background:white;color:var(--ink)}.toolbar .toolbar-action{border:0;border-radius:12px;background:#0d6efd;color:white;padding:10px 14px;font-weight:800}.large-records{padding:8px 14px}.large-record{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:13px;align-items:center;padding:14px 4px;border-bottom:1px solid #e9eef6}.large-record:last-child{border-bottom:0}.large-record:hover{background:#f8fbff}.large-record .thumb{width:72px;height:66px}.large-record h3{font-size:15px;margin:0 0 3px}.large-record p{font-size:12px;color:var(--muted);margin:2px 0}.large-record .amount{font-size:15px;font-weight:850}.record-actions{display:flex;align-items:center;gap:7px;justify-content:flex-end;flex-wrap:wrap}.small-button{border:1px solid #d5e0ee;background:#fff;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:750;color:#24405f}.small-button.primary{background:#0d6efd;border-color:#0d6efd;color:#fff}.small-button.success{border-color:#7bd09a;color:#08752d;background:#effbf3}.small-button:disabled{opacity:.5;cursor:not-allowed}.archive-tabs{display:flex;gap:7px}.archive-tabs button{border:1px solid #d7e1ef;background:white;border-radius:999px;padding:8px 12px}.archive-tabs button.active{background:#0d6efd;color:white;border-color:#0d6efd}
.auth-screen{position:fixed;inset:0;z-index:100;background:#f4f7fb;display:grid;grid-template-columns:minmax(420px,.9fr) minmax(460px,1.1fr)}.auth-screen.hidden{display:none}.auth-art{background:radial-gradient(circle at 65% 18%,rgba(12,150,255,.35),transparent 28%),linear-gradient(145deg,#04142f,#073269 62%,#0854a1);color:white;padding:50px 8vw;display:flex;flex-direction:column}.brand--auth strong{font-size:32px}.brand--auth small{color:#c4d5ec}.brand-mark--large{width:58px;height:54px}.brand-mark--large span:first-child{font-size:40px}.brand-mark--large span:last-child{font-size:38px}.auth-message{margin-top:auto;max-width:560px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:850;color:#6e87aa}.auth-art .eyebrow{color:#54c8ff}.auth-message h1{font-size:48px;line-height:1.03;letter-spacing:-2px;margin:10px 0}.auth-message p{color:#c7d7eb;font-size:17px;line-height:1.6}.trust-list{margin-top:34px;display:grid;gap:12px;max-width:600px}.trust-list>div{display:flex;gap:11px;align-items:center;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);border-radius:15px;padding:12px}.trust-list>div>span{width:30px;height:30px;background:#0d6efd;border-radius:9px;display:grid;place-items:center}.trust-list p{margin:0}.trust-list small,.trust-list strong{display:block}.trust-list small{color:#c2d2e8;margin-top:2px}.auth-panel{display:grid;place-items:center;padding:30px}.auth-form-card{width:min(520px,100%);background:white;border:1px solid #dfe7f1;border-radius:26px;padding:34px;box-shadow:0 22px 70px rgba(9,35,75,.10)}.auth-form-card h2{font-size:30px;margin:7px 0 5px}.auth-form-card>p{color:var(--muted);line-height:1.5}.auth-form-card label{display:block;font-size:12px;font-weight:800;margin:15px 0 7px}.auth-form-card input{width:100%;border:1px solid #cfdbea;background:#f8fbff;border-radius:13px;padding:13px 14px;outline:0}.auth-form-card input:focus{border-color:#3c91ff;box-shadow:0 0 0 3px rgba(13,110,253,.09)}.role-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.role-switch button{border:1px solid #d2deec;background:white;border-radius:12px;padding:10px 7px;color:#4f6179}.role-switch button.active{background:#e7f2ff;border-color:#75afff;color:#075fc6;font-weight:800}.primary-button{width:100%;border:0;border-radius:13px;background:linear-gradient(135deg,#0d6efd,#0b5dd7);color:white;font-weight:850;padding:13px;margin-top:18px;box-shadow:0 8px 20px rgba(13,110,253,.22)}.auth-status{min-height:20px;margin-top:10px;color:#c03546;font-size:12px}.auth-footnote{font-size:11px!important;margin-top:16px!important;text-align:center}
.scrim{position:fixed;inset:0;background:rgba(3,12,28,.48);z-index:70;opacity:0;pointer-events:none;transition:.2s}.scrim.show{opacity:1;pointer-events:auto}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(490px,94vw);background:white;z-index:80;transform:translateX(102%);transition:.25s ease;box-shadow:-20px 0 60px rgba(3,16,37,.15);display:flex;flex-direction:column}.drawer.open{transform:none}.drawer-head,.sheet-head{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid var(--line)}.drawer-head h3,.sheet-head h3{margin:4px 0 0}.drawer-head button,.sheet-head button{border:0;background:#eef3f9;width:38px;height:38px;border-radius:12px;font-size:22px}.drawer-body{padding:18px;overflow:auto}.detail-block{border:1px solid #e0e8f3;border-radius:15px;padding:13px;margin-bottom:10px}.detail-block small{display:block;color:var(--muted);margin-bottom:4px}.detail-block strong{display:block;word-break:break-word}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.drawer-actions{display:grid;gap:8px;margin-top:12px}.drawer-actions button{border:1px solid #d5e0ee;background:white;border-radius:13px;padding:12px;font-weight:800}.drawer-actions button.primary{background:#0d6efd;color:white;border-color:#0d6efd}
.sheet{position:fixed;z-index:90;left:50%;top:50%;width:min(620px,calc(100vw - 30px));max-height:min(82vh,760px);background:#fff;border-radius:24px;box-shadow:0 30px 90px rgba(2,18,42,.24);transform:translate(-50%,-45%) scale(.98);opacity:0;pointer-events:none;transition:.2s;display:flex;flex-direction:column}.sheet.open{transform:translate(-50%,-50%) scale(1);opacity:1;pointer-events:auto}.sheet-handle{display:none}.sheet-body{padding:18px 20px 22px;overflow:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form-field{min-width:0}.form-field.span-2{grid-column:1/-1}.form-field label{display:block;font-size:11px;font-weight:800;color:#42536c;margin:0 0 6px}.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid #cfdaea;background:#f8fbff;border-radius:12px;padding:11px 12px;outline:0;color:var(--ink)}.form-field textarea{min-height:82px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:#3c91ff;box-shadow:0 0 0 3px rgba(13,110,253,.08)}.form-help{font-size:10px;color:var(--muted);margin-top:5px}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.form-actions button{border:1px solid #d5e0ee;background:#fff;border-radius:12px;padding:11px 14px;font-weight:800}.form-actions button.primary{background:#0d6efd;border-color:#0d6efd;color:#fff}.form-actions button.danger{color:#b42336;border-color:#f0bbc3}.sheet-note{background:#f3f7fc;border:1px solid #dce5f2;border-radius:13px;padding:11px 12px;color:#52627a;font-size:11px;line-height:1.45;margin-bottom:12px}
.toast-host{position:fixed;right:20px;bottom:20px;z-index:150;display:grid;gap:8px}.toast{background:#071a37;color:white;border:1px solid rgba(255,255,255,.12);border-radius:13px;padding:12px 14px;box-shadow:0 14px 34px rgba(3,16,37,.24);font-size:12px;max-width:350px}.toast.error{background:#7d1424}.toast.ok{background:#07592b}.mobile-nav{display:none}
@media(max-width:1100px){.dashboard-grid{grid-template-columns:1fr 1fr}.quick-panel{grid-column:1/-1}.catalogue-mini{grid-column:1/-1}.metric-grid{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr}.hero-features{max-width:600px}.profile-copy{display:none}}
@media(max-width:760px){
  body{background:#f4f7fb}.app-shell{display:block}.sidebar{transform:translateX(-103%);transition:.22s;width:min(84vw,310px)}.sidebar.open{transform:none}.main-shell{display:block}.desktop-topbar{display:none}.mobile-topbar{height:62px;padding:0 15px;display:flex;align-items:center;justify-content:space-between;background:#071a39;color:#fff;position:sticky;top:0;z-index:20}.mobile-brand{display:flex;align-items:center;gap:7px}.mobile-brand .brand-mark{width:42px;height:34px}.mobile-brand strong{font-size:20px}.mobile-top-actions{display:flex;align-items:center;gap:8px}.mobile-top-actions .icon-button{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);color:#fff}.mobile-top-actions .notify-dot{border-color:#071a39}.mobile-top-actions .avatar{background:#183c69}
  .content{padding:12px 12px 88px}.hero{display:none}.mobile-welcome{display:block;background:linear-gradient(135deg,#fff,#f8fbff);border:1px solid #dae5f2;border-radius:20px;padding:15px;margin-bottom:10px}.mobile-welcome-top{display:flex;align-items:center;gap:12px}.mobile-welcome-top .avatar{width:52px;height:52px}.mobile-welcome h1{font-size:20px;margin:0}.mobile-welcome p{font-size:12px;color:var(--muted);margin:3px 0 0}.verified-pill{margin-left:auto;background:#e6f9ed;color:#08752d;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800}.mobile-trust{margin-top:12px;background:linear-gradient(135deg,#082c63,#0c67bf);color:#fff;border-radius:16px;padding:13px 14px}.mobile-trust strong{font-size:14px}.mobile-trust p{color:#d4e4f7;margin:3px 0 0;font-size:11px}.mobile-quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:10px 0}.mobile-quick{border:1px solid #dce5f2;background:#fff;border-radius:15px;padding:10px 5px;text-align:center;color:#344760}.mobile-quick span{display:grid;place-items:center;width:32px;height:32px;margin:0 auto 6px;border-radius:10px;background:#eaf3ff;color:#0d6efd;font-size:17px}.mobile-quick small{font-size:9px;font-weight:750}.metric-grid{grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.metric-card{padding:12px 10px;border-radius:15px}.metric-card:nth-child(n+3){display:none}.metric-icon{width:34px;height:34px}.metric-card strong{font-size:16px}.metric-card small{font-size:10px}.status-strip{display:flex;overflow:auto;scrollbar-width:none;padding:6px;margin-bottom:10px}.status-cell{min-width:84px}.dashboard-grid{display:block}.panel-card{margin-bottom:10px;border-radius:17px}.dashboard-grid>.panel-card:nth-child(2),.quick-panel,.catalogue-mini{display:none}.panel-head{padding:13px 14px}.records{padding:4px 9px}.record{grid-template-columns:56px minmax(0,1fr) auto;padding:11px 4px}.record .thumb{width:56px;height:54px}.record-side{max-width:105px}.catalogue-grid{grid-template-columns:repeat(2,1fr)}.view-header{align-items:center}.view-header h1{font-size:24px}.view-header p{font-size:12px}.view-header>div:last-child{font-size:11px;color:var(--muted)}.list-page{border-radius:18px}.toolbar{padding:10px}.toolbar .search-inline{min-width:0;width:100%}.toolbar select{flex:1}.toolbar .toolbar-action{width:100%}.large-records{padding:4px 10px}.large-record{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:12px 0;position:relative}.large-record .thumb{width:62px;height:60px}.large-record .record-side{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}.record-actions{grid-column:1/-1;justify-content:flex-start;padding-left:72px}.large-record h3{font-size:14px}.large-record p{font-size:11px}.archive-tabs{overflow:auto;max-width:100%}
  .mobile-nav{position:fixed;display:grid;grid-template-columns:1fr 1fr .9fr 1fr 1fr;left:0;right:0;bottom:0;height:72px;background:rgba(255,255,255,.98);backdrop-filter:blur(14px);border-top:1px solid #d9e4f1;z-index:50;padding-bottom:env(safe-area-inset-bottom)}.mobile-nav-item,.mobile-nav-create{border:0;background:transparent;color:#6b7c95;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.mobile-nav-item span{font-size:20px}.mobile-nav-item small,.mobile-nav-create small{font-size:9px}.mobile-nav-item.active{color:#0968e9}.mobile-nav-create span{width:48px;height:48px;margin-top:-24px;border-radius:50%;background:linear-gradient(145deg,#0d6efd,#1265e7);color:#fff;display:grid;place-items:center;font-size:28px;box-shadow:0 10px 25px rgba(13,110,253,.35);border:4px solid #f4f7fb}.mobile-nav-create small{color:#34516f;margin-top:-1px;font-weight:800}
  .auth-screen{display:block;overflow:auto;background:linear-gradient(180deg,#061a39 0,#0a3268 34%,#f4f7fb 34%,#f4f7fb 100%)}.auth-screen.hidden{display:none}.auth-art{min-height:300px;padding:28px 22px 38px;background:transparent}.auth-message{margin-top:48px}.auth-message h1{font-size:36px}.auth-message p{font-size:14px}.trust-list{display:none}.auth-panel{padding:0 12px 40px;margin-top:-8px}.auth-form-card{border-radius:24px;padding:24px 18px}.auth-form-card h2{font-size:26px}.role-switch button{font-size:11px}.drawer{width:100%}.detail-grid{grid-template-columns:1fr}.toast-host{right:10px;left:10px;bottom:82px}.toast{max-width:none}.sheet{left:0;right:0;top:auto;bottom:0;width:100%;max-height:88vh;border-radius:24px 24px 0 0;transform:translateY(102%);opacity:1}.sheet.open{transform:none}.sheet-handle{display:block;width:44px;height:5px;border-radius:999px;background:#cbd5e3;margin:8px auto -6px}.sheet-head{padding:15px 16px}.sheet-body{padding:14px 15px calc(18px + env(safe-area-inset-bottom))}.form-grid{grid-template-columns:1fr}.form-field.span-2{grid-column:auto}.form-actions{position:sticky;bottom:0;background:#fff;padding-top:8px}.form-actions button{flex:1}
}

/* TutoPay Next v0.3 — Classic strengths, modern shell */
.avatar.has-photo{background-color:#183960;background-repeat:no-repeat}
.profile-photo{overflow:hidden;flex:0 0 auto}.profile-photo img{width:100%;height:100%;object-fit:cover}
.mobile-main-panels{display:none}.section-kicker{padding:16px 4px 7px;color:#7d8ca4;font-size:10px;font-weight:900;letter-spacing:1.3px}.proposal-card{border:1px solid #d8e4f2;background:linear-gradient(145deg,#f8fbff,#fff);border-radius:17px;padding:14px;margin-bottom:12px}.proposal-card h3{margin:0 0 10px}.proposal-card>div{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e8eef6}.proposal-card>div span{color:var(--muted);font-size:11px}.proposal-card p{color:#52627a;font-size:12px;line-height:1.45;margin:10px 0 0}
@media(max-width:760px){
  .mobile-topbar{height:68px;padding:0 18px;background:linear-gradient(135deg,#06162f,#082654)}
  .mobile-brand strong{font-size:21px;letter-spacing:-.4px}.mobile-brand .brand-mark{transform:scale(1.08)}
  .mobile-welcome-v3{padding:16px;border-radius:22px;background:radial-gradient(circle at 90% 0,rgba(40,145,255,.12),transparent 38%),linear-gradient(145deg,#fff,#f7fbff);box-shadow:0 10px 30px rgba(10,44,92,.06)}
  .mobile-welcome-v3 .mobile-welcome-top{align-items:center}.mobile-welcome-v3 .profile-photo{width:58px;height:58px;box-shadow:0 0 0 4px #e8f2ff}
  .mobile-welcome-v3 .welcome-copy{min-width:0}.mobile-welcome-v3 .welcome-copy>small{display:block;font-size:9px;letter-spacing:1.1px;text-transform:uppercase;color:#7a8da8;font-weight:850;margin-bottom:2px}.mobile-welcome-v3 h1{font-size:21px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.mobile-welcome-v3 .verified-pill{padding:6px 8px}
  .mobile-trust-carousel{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-top:13px;padding-bottom:2px}.mobile-trust-carousel::-webkit-scrollbar{display:none}.mobile-trust-carousel>div{min-width:78%;scroll-snap-align:start;background:linear-gradient(135deg,#07285a,#0b65bd);color:white;border-radius:16px;padding:12px 13px;display:flex;gap:10px;align-items:center}.mobile-trust-carousel>div:nth-child(2){background:linear-gradient(135deg,#173a79,#315fc6)}.mobile-trust-carousel>div:nth-child(3){background:linear-gradient(135deg,#2b2e69,#6651bf)}.mobile-trust-carousel span{width:34px;height:34px;border-radius:11px;background:rgba(255,255,255,.12);display:grid;place-items:center}.mobile-trust-carousel p{margin:0!important;color:#dce9fa!important}.mobile-trust-carousel strong,.mobile-trust-carousel small{display:block}.mobile-trust-carousel strong{font-size:12px}.mobile-trust-carousel small{font-size:10px;margin-top:2px;color:#c4d7f0}
  .metric-grid{margin-top:10px}.status-strip{margin-top:8px}
  .mobile-main-panels{display:block;margin:10px 0 0}.mobile-main-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:8px}.mobile-main-tabs button{border:1px solid #cad9ea;background:#fff;color:#43566f;border-radius:999px;padding:9px 7px;font-size:10px;font-weight:850;min-width:0}.mobile-main-tabs button b{display:inline-grid;place-items:center;min-width:20px;height:20px;border:1px solid currentColor;border-radius:999px;margin-left:3px;font-size:9px}.mobile-main-tabs button.active{background:linear-gradient(135deg,#0d6efd,#1763e6);border-color:transparent;color:#fff;box-shadow:0 7px 18px rgba(13,110,253,.22)}
  .mobile-swipe-viewport{overflow:hidden;border:1px solid #dce5f2;background:#fff;border-radius:19px;box-shadow:0 7px 24px rgba(9,37,79,.05)}.mobile-swipe-track{display:flex;width:100%;transition:transform .24s ease;will-change:transform;touch-action:pan-y}.mobile-main-slide{min-width:100%;max-width:100%;display:flex;flex-direction:column;min-height:420px;max-height:58vh}.mobile-slide-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 10px;border-bottom:1px solid #e7eef7}.mobile-slide-head h2{font-size:18px;margin:0}.mobile-slide-head button{border:0;background:transparent;color:#0d6efd;font-weight:800;font-size:10px}.mobile-slide-body{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:3px 9px 12px;flex:1;min-height:0}.mobile-slide-body .large-record{padding-left:2px;padding-right:2px}.mobile-slide-body .record{padding-left:3px;padding-right:3px}.mobile-slide-body .record-actions{padding-left:72px}
  .dashboard-grid{display:none}.mobile-quick-grid{display:none}
  .service-booking{border-bottom:1px solid #edf1f7}.service-booking .record-actions{grid-column:1/-1}
}


/* TutoPay Next v0.4 — compact guidance + Classic-detail cards + desktop workspace */
.desktop-main-panels{display:block;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 7px 24px rgba(9,37,79,.04);margin-top:14px}
.desktop-workspace-head{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:16px 18px;border-bottom:1px solid #e7eef7}.desktop-workspace-head h2{margin:2px 0 0;font-size:22px}.desktop-panel-tabs{display:flex;gap:8px;flex-wrap:wrap}.desktop-panel-tabs button{border:1px solid #ccd9e9;background:#fff;color:#40556f;border-radius:999px;padding:9px 13px;font-weight:800}.desktop-panel-tabs button.active{background:#0d6efd;color:#fff;border-color:#0d6efd}.desktop-panel-tabs b{margin-left:5px;opacity:.8}.desktop-panel-list{padding:8px 16px 16px;max-height:590px;overflow:auto}
.classic-panel-card{border:1px solid #d9e2ef;border-radius:16px;background:#fff;padding:13px 14px;margin:9px 0;box-shadow:0 3px 12px rgba(13,35,66,.025);cursor:pointer}.classic-panel-card:hover{border-color:#b9cbe1;background:#fbfdff}.card-main-row{display:flex;gap:12px;align-items:flex-start}.classic-thumb{width:72px;height:68px;border-radius:12px;overflow:hidden;flex:0 0 72px;background:linear-gradient(145deg,#e8eff8,#dbe6f4);position:relative}.classic-thumb.image-missing:after{content:'TP';position:absolute;inset:0;display:grid;place-items:center;color:#91a2b8;font-weight:900}.classic-thumb img{width:100%;height:100%;object-fit:cover;display:block}.card-copy{min-width:0;flex:1}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.card-title-row h3{margin:0;font-size:16px;line-height:1.18;min-width:0}.card-price{font-size:15px;white-space:nowrap}.party-line{margin:4px 0 8px!important;color:#65758b!important;font-size:12px!important}.meta-pills{display:flex;gap:6px;flex-wrap:wrap}.meta-pill{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border:1px solid #dbe5f1;border-radius:999px;background:#f8fbff;color:#52647a;font-size:10.5px;font-weight:700}.meta-pill.money{font-weight:900;color:#152d4d}.meta-pill.success{background:#ecf9f0;border-color:#cbeed6;color:#157538}.card-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;padding-top:10px;border-top:1px dashed #e1e8f1;color:#738299;font-size:11px}.transaction-card{border-color:#d1dbe8}.catalogue-card{border-color:#d1dbe8}.request-card{border-color:#d1dbe8}
.dynamic-guide{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 11px;border-radius:13px;background:linear-gradient(135deg,#071f48,#0b4f9a);color:#fff}.dynamic-guide>span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 34px;border-radius:10px;background:rgba(255,255,255,.12);font-size:17px}.dynamic-guide strong,.dynamic-guide small{display:block}.dynamic-guide strong{font-size:12px}.dynamic-guide small{margin-top:2px;color:#d6e6f8;font-size:10px;line-height:1.25}.trust-flash{position:fixed;top:76px;left:50%;transform:translate(-50%,-18px);z-index:120;width:min(560px,calc(100% - 28px));background:#071d40;color:#fff;border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:12px 14px;box-shadow:0 16px 36px rgba(0,18,48,.28);opacity:0;transition:.28s ease;pointer-events:none}.trust-flash.show{opacity:1;transform:translate(-50%,0)}.trust-flash strong,.trust-flash small{display:block}.trust-flash strong{font-size:12px}.trust-flash small{font-size:10px;color:#cddcf0;margin-top:3px}
@media(min-width:761px){.mobile-welcome,.mobile-main-panels{display:none!important}.desktop-main-panels{display:block}.content{padding-bottom:36px}.classic-panel-card{display:block}.desktop-panel-list .classic-panel-card{margin:8px 0}.desktop-panel-list .card-main-row{align-items:center}.desktop-panel-list .classic-thumb{width:78px;height:72px;flex-basis:78px}}
@media(max-width:760px){
  .mobile-topbar{height:54px!important;padding:0 14px!important}.mobile-brand .brand-mark{width:34px!important;height:27px!important;transform:scale(.98)!important}.mobile-brand strong{font-size:18px!important}.mobile-top-actions .icon-button{width:38px;height:38px}.mobile-top-actions .avatar{width:38px;height:38px}
  .content{padding-top:9px!important}.mobile-welcome-v4{padding:11px 12px!important;border-radius:17px!important;margin-bottom:8px!important}.mobile-welcome-v4 .mobile-welcome-top{gap:10px}.mobile-welcome-v4 .profile-photo{width:46px!important;height:46px!important;box-shadow:0 0 0 3px #e8f2ff}.mobile-welcome-v4 .welcome-copy>small{display:block;font-size:8px;letter-spacing:1px;text-transform:uppercase;color:#7a8da8;font-weight:850;margin-bottom:1px}.mobile-welcome-v4 h1{font-size:18px!important;max-width:200px!important}.mobile-welcome-v4 p{font-size:10px!important;margin-top:2px!important}.mobile-welcome-v4 .verified-pill{padding:5px 7px!important;font-size:9px!important}.mobile-trust-carousel{display:none!important}
  .metric-grid{margin:8px 0!important}.metric-card{padding:10px 9px!important}.metric-card strong{font-size:15px!important}.status-strip{margin-top:6px!important;margin-bottom:7px!important}
  .mobile-main-panels{margin-top:7px!important}.mobile-main-tabs{margin-bottom:7px!important}.mobile-main-tabs button{padding:8px 6px!important}.mobile-swipe-viewport{border-radius:17px!important}.mobile-main-slide{min-height:410px!important;max-height:60vh!important}.mobile-slide-head{padding:12px 12px 9px!important}.mobile-slide-head h2{font-size:17px!important}.mobile-slide-body{padding:3px 8px 11px!important}
  .desktop-main-panels{display:none!important}.classic-panel-card{padding:11px 10px;margin:8px 0;border-radius:14px}.classic-thumb{width:62px;height:60px;flex-basis:62px;border-radius:10px}.card-main-row{gap:10px}.card-title-row h3{font-size:14px}.card-title-row .status-badge{font-size:9px}.party-line{font-size:10.5px!important;margin:3px 0 6px!important}.meta-pills{gap:5px}.meta-pill{font-size:9.5px;min-height:23px;padding:3px 7px}.card-foot{margin-top:9px;padding-top:8px}.card-foot .small-button{padding:6px 9px}
  .trust-flash{top:62px}
  .large-records{padding:6px 9px!important}.large-record{display:block!important;padding:0!important;border:0!important}.large-record+.large-record{margin-top:8px}.large-record .classic-panel-card{margin:0}
}

/* v0.5 — lightweight public sign-up in the same auth card */
.auth-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;background:#edf3fa;border:1px solid #dbe5f1;border-radius:14px;margin-bottom:18px}.auth-mode-switch button{border:0;background:transparent;color:#60728b;border-radius:10px;padding:9px 10px;font-weight:800}.auth-mode-switch button.active{background:#fff;color:#0b5fd7;box-shadow:0 3px 12px rgba(18,48,88,.08)}.signup-fields[hidden],#confirmPinWrap[hidden],#businessNameWrap[hidden]{display:none!important}.signup-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.optional{font-weight:600;color:#8b9bb0;font-size:10px}.auth-form-card.is-signup .auth-footnote{color:#60728b}.request-delivery-note{display:flex;gap:8px;align-items:flex-start;margin-top:8px;color:#64758d;font-size:10px;line-height:1.4}.request-delivery-note:before{content:'✓';display:grid;place-items:center;flex:0 0 18px;height:18px;border-radius:50%;background:#e8f8ef;color:#159447;font-weight:900}
@media(max-width:760px){.signup-name-grid{grid-template-columns:1fr}.auth-mode-switch{margin-bottom:14px}}


/* v0.5 — Requests & Replies party distinction */
.request-card{position:relative;overflow:hidden}
.request-card--buyer{border-left:3px solid #2f78ff;background:linear-gradient(90deg,rgba(47,120,255,.035),#fff 18%)}
.request-card--seller{border-left:3px solid #f59e0b;background:linear-gradient(90deg,rgba(245,158,11,.045),#fff 18%)}
.request-side-tag{display:inline-flex;align-items:center;min-height:22px;margin:0 0 9px;padding:3px 8px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.08em}
.request-card--buyer .request-side-tag{background:#eaf2ff;color:#1760cc}
.request-card--seller .request-side-tag{background:#fff3dc;color:#a65b00}
.request-stage{display:inline-flex;align-items:center;justify-content:center;max-width:145px;padding:5px 8px;border-radius:999px;font-size:9.5px;font-weight:850;line-height:1.1;text-align:center;white-space:normal}
.request-stage.waiting{background:#eef3f8;color:#607086}.request-stage.attention{background:#fff0d7;color:#9d5b00}.request-stage.success{background:#e8f8ef;color:#158447}
@media(max-width:760px){.request-card--buyer,.request-card--seller{border-left-width:3px}.request-side-tag{margin-bottom:7px}.request-stage{max-width:120px;font-size:9px;padding:4px 7px}}

/* v0.7 catalogue state tones */
.meta-pill.warning{background:#fff6e5;border-color:#f7d799;color:#986000}.meta-pill.danger{background:#fff0f0;border-color:#f2c0c0;color:#b42318}.meta-pill.muted{background:#f2f5f8;border-color:#dce3eb;color:#718096}.service-catalogue-card .meta-pills{margin-top:2px}
.card-foot-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}


/* v0.14 live transaction timers + seller catalogue ownership/tools */
.card-foot-state{display:flex;align-items:center;gap:9px;flex-wrap:wrap;min-width:0}.tx-live-timer{display:inline-flex;align-items:center;min-height:24px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:850;letter-spacing:.01em}.tx-live-timer.hold{background:#fff4d8;color:#8a5a00;border:1px solid #f1d28b}.tx-live-timer.transit{background:#eaf4ff;color:#0d5ba8;border:1px solid #bfdcff}.own-catalogue-card{border-color:#a9caef;background:linear-gradient(180deg,#fff,#fbfdff)}.own-listing-line strong{display:inline-flex;align-items:center;padding:2px 7px;border-radius:999px;background:#eaf3ff;color:#1765b2;font-size:10px}.catalogue-title-side{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}.share-link-box{margin:10px 0}.share-link-box input{width:100%;border:1px solid #d6e2f1;border-radius:12px;padding:11px;background:#f8fbff;color:#38506d}.share-actions{flex-wrap:wrap}.share-url-text{display:block;max-width:100%;overflow-wrap:anywhere;font-size:11px!important;font-weight:650!important;color:#3e5877}@media(max-width:720px){.card-foot-state{gap:6px}.tx-live-timer{font-size:9px}.catalogue-title-side{gap:5px}.own-catalogue-card .card-foot{align-items:flex-start;flex-direction:column}.own-catalogue-card .card-foot-actions{justify-content:flex-start}}


/* v0.22: seller tools stay bottom-right on phone and PC */
.own-catalogue-card .card-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
.own-catalogue-card .card-foot-actions{justify-content:flex-end;margin-left:auto;align-self:end}
.pricing-saved-flash{outline:2px solid rgba(30,112,208,.22);outline-offset:2px}
.pricing-mode-fields[hidden],[data-pricing-dmp][hidden]{display:none!important}
[data-pricing-hint]{display:block;margin-top:6px;color:#6b7c91;font-size:11px;line-height:1.35}
@media(max-width:720px){
  .own-catalogue-card .card-foot{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;flex-direction:unset!important}
  .own-catalogue-card .card-foot-actions{justify-content:flex-end!important;margin-left:auto!important}
}
@media (hover:none),(pointer:coarse){
  .classic-panel-card{-webkit-tap-highlight-color:transparent!important}
  .classic-panel-card:hover,.classic-panel-card:active,.classic-panel-card:focus-within{border-color:#d1dbe8!important;background:#fff!important;box-shadow:0 3px 12px rgba(13,35,66,.025)!important}
  .own-catalogue-card:hover,.own-catalogue-card:active,.own-catalogue-card:focus-within{border-color:#a9caef!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}
  .classic-panel-card button,.classic-panel-card a,.classic-panel-card input,.classic-panel-card select{-webkit-tap-highlight-color:rgba(30,112,208,.18)}
}

/* v0.23: seller controls stay bottom-right on both desktop and phone */
.own-catalogue-card .card-foot{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:8px!important}
.own-catalogue-card .card-foot>span{grid-column:1!important;align-self:end!important}
.own-catalogue-card .card-foot-actions{grid-column:2!important;justify-self:end!important;align-self:end!important;justify-content:flex-end!important;margin-left:auto!important;width:max-content!important;max-width:100%!important}

/* v0.23: a child control tap must never look like whole-card selection */
.classic-panel-card{-webkit-tap-highlight-color:transparent!important;-webkit-user-select:none!important;user-select:none!important;touch-action:manipulation}
.classic-panel-card.child-control-pressed,.classic-panel-card.child-control-pressed:hover,.classic-panel-card.child-control-pressed:active,.classic-panel-card.child-control-pressed:focus-within{background:#fff!important;box-shadow:0 3px 12px rgba(13,35,66,.025)!important}
.own-catalogue-card.child-control-pressed,.own-catalogue-card.child-control-pressed:hover,.own-catalogue-card.child-control-pressed:active,.own-catalogue-card.child-control-pressed:focus-within{background:linear-gradient(180deg,#fff,#fbfdff)!important;border-color:#a9caef!important}
.classic-panel-card button,.classic-panel-card a,.classic-panel-card input,.classic-panel-card select,.classic-panel-card textarea{-webkit-user-select:auto!important;user-select:auto!important;touch-action:manipulation}
@media(hover:none) and (pointer:coarse){.classic-panel-card:hover,.classic-panel-card:active,.classic-panel-card:focus-within{background:#fff!important;border-color:#d1dbe8!important;box-shadow:0 3px 12px rgba(13,35,66,.025)!important}.own-catalogue-card:hover,.own-catalogue-card:active,.own-catalogue-card:focus-within{background:linear-gradient(180deg,#fff,#fbfdff)!important;border-color:#a9caef!important}.classic-panel-card{cursor:default!important}.classic-panel-card button,.classic-panel-card a{cursor:pointer!important}}


/* v0.24 - authoritative pricing diagnostics + exact catalogue focus */
.pricing-sync-status{display:flex;flex-direction:column;gap:3px;margin:0 0 12px;padding:10px 12px;border-radius:13px;border:1px solid #d5e1ef;background:#f7faff;color:#52647a;font-size:11px}
.pricing-sync-status strong{font-size:12px;color:#213a5d}.pricing-sync-status.connected{border-color:#bfe7cc;background:#f0fbf4}.pricing-sync-status.connected strong{color:#17733a}.pricing-sync-status.error{border-color:#f1c0c0;background:#fff4f4}.pricing-sync-status.error strong{color:#a33030}
.pricing-focus-flash{outline:2px solid #2f8df6;outline-offset:2px;transition:outline-color .6s ease}
.own-catalogue-card .card-foot{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important}
.own-catalogue-card .card-foot-actions{grid-column:2!important;justify-self:end!important;align-self:end!important;display:flex!important;justify-content:flex-end!important;margin-left:auto!important;width:max-content!important}
@media(max-width:760px){
  .classic-panel-card{-webkit-tap-highlight-color:transparent!important;user-select:none!important;-webkit-user-select:none!important;touch-action:pan-y!important}
  .classic-panel-card:hover,.classic-panel-card:active,.classic-panel-card:focus-within,.classic-panel-card.child-control-pressed{background:#fff!important;box-shadow:0 3px 12px rgba(13,35,66,.025)!important}
  .own-catalogue-card:hover,.own-catalogue-card:active,.own-catalogue-card:focus-within,.own-catalogue-card.child-control-pressed{background:linear-gradient(180deg,#fff,#fbfdff)!important;border-color:#a9caef!important}
  .classic-panel-card button,.classic-panel-card a{-webkit-tap-highlight-color:transparent!important}
  .classic-panel-card .control-pressed{background:#e8f2ff!important;border-color:#8bbbf1!important;color:#0b5fd7!important}
  .own-catalogue-card .card-foot{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;flex-direction:unset!important}
  .own-catalogue-card .card-foot-actions{grid-column:2!important;justify-self:end!important;margin-left:auto!important;justify-content:flex-end!important}
}


/* v0.25 — Classic-complete product listing foundation */
.listing-foundation-form{display:grid;gap:12px}.listing-section{border:1px solid #dce6f2;background:#fbfdff;border-radius:16px;padding:12px}.listing-section-head{display:flex;align-items:flex-start;gap:10px;margin-bottom:11px}.listing-section-head>b{display:grid;place-items:center;flex:0 0 25px;height:25px;border-radius:50%;background:#e8f2ff;color:#1262bd;font-size:11px}.listing-section-head strong{display:block;font-size:13px;color:#17375f}.listing-section-head small{display:block;margin-top:2px;color:#71839a;font-size:10px;line-height:1.35}.listing-foundation-form [data-new-pricing-hint],.listing-foundation-form [data-hold-hint]{display:block;margin-top:5px;color:#6b7d93;font-size:10px;line-height:1.35}.listing-inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:7px}.listing-inline-actions small{color:#72839a;font-size:10px}.listing-image-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.listing-image-picker{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:104px;padding:12px;border:1px dashed #adc5e0;border-radius:14px;background:#f7fbff;text-align:center;cursor:pointer}.listing-image-picker.camera{background:#f2f8ff;border-color:#8fb9e8}.listing-image-picker>span{font-size:22px;color:#1a6fc8}.listing-image-picker strong{font-size:12px;color:#244d79}.listing-image-picker small{font-size:9px;color:#7b8da3}.listing-image-picker input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.listing-image-count{margin-top:8px;padding:7px 9px;border-radius:10px;background:#f3f6fa;color:#687c94;font-size:10px}.sticky-listing-actions{position:sticky;bottom:-1px;padding:10px 0 2px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%);z-index:2}
@media(max-width:600px){.listing-section{padding:10px;border-radius:14px}.listing-image-grid{grid-template-columns:1fr 1fr}.listing-image-picker{min-height:94px;padding:9px}.listing-section-head small{font-size:9.5px}.listing-foundation-form .form-grid{gap:8px}}


/* v0.26 dedicated listing workspace */
.listing-page-shell{max-width:1040px;margin:0 auto;padding-bottom:40px}.listing-page-head{align-items:flex-start}.listing-page-head .eyebrow{color:#5bd7ff;font-weight:900;letter-spacing:.08em}.listing-page-card{margin-top:14px;border:1px solid rgba(148,163,184,.22);border-radius:20px;background:rgba(8,25,52,.78);padding:18px;box-shadow:0 16px 45px rgba(0,0,0,.18)}.listing-page-card .listing-foundation-form{display:grid;gap:14px}.listing-page-card .listing-section{display:block!important;visibility:visible!important;opacity:1!important}.listing-page-card .sticky-listing-actions{position:sticky;bottom:8px;z-index:5;background:rgba(7,26,57,.96);padding:10px;border-radius:14px;border:1px solid rgba(148,163,184,.2);backdrop-filter:blur(10px)}
@media(max-width:760px){.listing-page-shell{padding:0 0 92px}.listing-page-card{padding:12px;margin-top:10px;border-radius:16px}.listing-page-head{display:grid;gap:10px}.listing-page-head .toolbar-action{width:max-content}.listing-page-card .form-grid{grid-template-columns:1fr}.listing-page-card .span-2{grid-column:1!important}.listing-page-card .listing-image-grid{grid-template-columns:1fr 1fr}.listing-page-card .sticky-listing-actions{bottom:76px}.listing-page-card .sticky-listing-actions button{min-height:44px}}
\n\n/* v0.27 — phone/PC parity and stale-session diagnostics */\n.runtime-badge{display:inline-flex;align-items:center;margin-left:7px;padding:2px 6px;border:1px solid rgba(91,215,255,.35);border-radius:999px;font-size:8px;font-weight:900;letter-spacing:.04em;color:#8ee7ff;background:rgba(25,116,169,.15);white-space:nowrap}\n.device-parity-line{display:inline-flex;margin-top:7px;padding:5px 8px;border-radius:999px;background:rgba(34,197,94,.10);border:1px solid rgba(34,197,94,.28);font-size:10px;font-weight:800;color:#9be7b4}\n@media(max-width:760px){\n  .runtime-badge{font-size:7.5px;padding:2px 5px}\n  .listing-page-shell{min-height:calc(100dvh - 130px)}\n  body:has(#actionSheet.open) .mobile-nav, body:has(#detailDrawer.open) .mobile-nav{pointer-events:none}\n  .sheet.open,.drawer.open{touch-action:pan-y}\n}\n
/* v0.28 — shared six-step product listing wizard */
.listing-wizard-form{margin:0}.listing-wizard-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px}.listing-step-rail{display:flex;flex-direction:column;gap:7px;align-self:start;position:sticky;top:84px}.listing-step-rail button{display:grid;grid-template-columns:30px 1fr;gap:9px;align-items:center;width:100%;border:1px solid #dbe5f1;background:#f8fbff;border-radius:13px;padding:9px;text-align:left;color:#60748d;cursor:pointer}.listing-step-rail button b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e9f1fa;color:#42658b;font-size:10px}.listing-step-rail button span{font-size:11px;font-weight:850}.listing-step-rail button.active{border-color:#7fb8f5;background:#edf6ff;color:#155fae}.listing-step-rail button.active b{background:#0d6efd;color:#fff}.listing-step-rail button.complete b{background:#e7f7ed;color:#1d7b42}.listing-wizard-main{min-width:0}.listing-wizard-progress{display:grid;grid-template-columns:1fr auto;gap:4px 14px;align-items:end;margin-bottom:14px}.listing-wizard-progress small{display:block;font-size:9px;font-weight:850;letter-spacing:.08em;text-transform:uppercase;color:#72859d}.listing-wizard-progress strong{display:block;margin-top:1px;font-size:17px;color:#17375f}.listing-wizard-progress>span{font-size:9px;color:#74879f}.listing-progress-track{grid-column:1/-1;height:5px;border-radius:999px;background:#e6edf6;overflow:hidden}.listing-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0d6efd,#49a0ff);transition:width .24s ease}.listing-step{min-height:390px;animation:listingStepIn .2s ease}.listing-step[hidden]{display:none!important}@keyframes listingStepIn{from{opacity:.35;transform:translateX(8px)}to{opacity:1;transform:none}}.listing-slide-intro{display:flex;gap:12px;align-items:flex-start;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e5edf6}.listing-slide-intro>span{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:12px;background:#e9f3ff;color:#1265bf;font-size:11px;font-weight:950}.listing-slide-intro h2{margin:0;font-size:19px;color:#17375f}.listing-slide-intro p{margin:4px 0 0;font-size:11px;line-height:1.45;color:#6d8199}.category-first-card,.location-card,.listing-protection-card{border:1px solid #dce6f2;background:#f9fcff;border-radius:16px;padding:16px}.category-first-card label,.location-card label{display:block;font-size:11px;font-weight:900;color:#314f72;margin-bottom:7px}.category-first-card select,.location-card input{width:100%;border:1px solid #cbd9e9;background:#fff;border-radius:13px;padding:13px;color:#17375f;font-weight:750}.category-first-card small,.location-card small{display:block;margin-top:7px;color:#70839b;font-size:10px;line-height:1.4}.pricing-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:10px}.pricing-choice-grid label{position:relative;cursor:pointer}.pricing-choice-grid input{position:absolute;opacity:0;pointer-events:none}.pricing-choice-grid span{display:flex;min-height:76px;flex-direction:column;justify-content:center;border:1px solid #d7e2ef;background:#f9fbfe;border-radius:14px;padding:11px;text-align:center;transition:.16s ease}.pricing-choice-grid b{font-size:12px;color:#294b72}.pricing-choice-grid small{margin-top:3px;font-size:9px;color:#7a8ca2}.pricing-choice-grid input:checked+span{border-color:#4c99ed;background:#eaf4ff;box-shadow:0 0 0 3px rgba(13,110,253,.08)}.pricing-choice-grid input:checked+span b{color:#0b63be}.listing-hidden-control{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.listing-mode-hint{display:block;margin:0 0 12px;color:#6d8198;font-size:10px}.listing-protection-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:13px}.listing-protection-card strong{display:block;color:#24496f;font-size:12px}.listing-protection-card small{display:block;margin-top:2px;color:#788ba1;font-size:9px}.hold-inline{display:grid;grid-template-columns:86px 108px;gap:7px}.hold-inline input,.hold-inline select{border:1px solid #cbd9e8;background:#fff;border-radius:11px;padding:10px;color:#244567}.location-gps-button{width:100%;margin-top:10px;border:1px solid #9bc4ee;background:#eaf4ff;color:#145da6;border-radius:12px;padding:11px;font-weight:850;cursor:pointer}.listing-photo-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:10px}.listing-photo-thumb{position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#edf3f9;border:1px solid #d5e0ec}.listing-photo-thumb img{width:100%;height:100%;object-fit:cover}.listing-photo-thumb span{position:absolute;left:5px;bottom:5px;padding:2px 6px;border-radius:999px;background:rgba(0,0,0,.65);color:#fff;font-size:8px;font-weight:850}.listing-photo-empty,.listing-photo-more{display:grid;place-items:center;min-height:82px;border:1px dashed #c5d4e4;border-radius:12px;color:#7b8ca2;font-size:9px}.listing-review-card{display:grid;grid-template-columns:150px 1fr;border:1px solid #d6e2ef;border-radius:18px;background:#fff;overflow:hidden}.listing-review-cover{min-height:150px;background:#eef4fa;display:grid;place-items:center;color:#8293a8;font-size:10px}.listing-review-cover img{width:100%;height:100%;min-height:150px;object-fit:cover}.listing-review-main{padding:14px}.listing-review-title-row{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.listing-review-title-row h2{margin:3px 0 0;font-size:18px;color:#17375f}.listing-review-title-row>strong{font-size:16px;color:#0b63bb;white-space:nowrap}.listing-review-category{font-size:9px;font-weight:900;letter-spacing:.05em;text-transform:uppercase;color:#6b82a0}.listing-review-main>p{margin:9px 0;font-size:10px;line-height:1.45;color:#667b94}.listing-review-pills{display:flex;gap:5px;flex-wrap:wrap}.listing-review-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.listing-review-edit-grid button{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #dce6f0;background:#f9fbfd;border-radius:12px;padding:9px 10px;text-align:left;cursor:pointer}.listing-review-edit-grid button span{font-size:8px;text-transform:uppercase;letter-spacing:.05em;color:#8494a8}.listing-review-edit-grid button strong{margin-top:2px;font-size:10px;color:#355473}.listing-wizard-actions{position:sticky;bottom:8px;z-index:8;display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;align-items:center;margin-top:18px;padding:10px;border:1px solid #d8e3ef;border-radius:14px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);box-shadow:0 10px 30px rgba(28,63,105,.09)}.listing-wizard-actions button{border:1px solid #d1ddec;background:#fff;color:#31516f;border-radius:11px;padding:10px 14px;font-weight:850;cursor:pointer}.listing-wizard-actions button.primary{background:#0d6efd;border-color:#0d6efd;color:#fff}.listing-wizard-actions button.publish{min-width:150px}.pricing-sync-status.compact{padding:8px 10px;margin-bottom:12px}
@media(max-width:760px){.listing-wizard-layout{display:block}.listing-step-rail{position:static;display:grid;grid-template-columns:repeat(6,1fr);gap:4px;margin-bottom:10px}.listing-step-rail button{display:flex;justify-content:center;padding:5px;border-radius:10px}.listing-step-rail button b{width:24px;height:24px}.listing-step-rail button span{display:none}.listing-wizard-progress{margin-bottom:11px}.listing-step{min-height:0}.listing-slide-intro{margin-bottom:12px}.listing-slide-intro h2{font-size:17px}.pricing-choice-grid{grid-template-columns:1fr 1fr}.listing-protection-card{display:grid}.hold-inline{grid-template-columns:1fr 1fr}.listing-photo-preview-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.listing-review-card{grid-template-columns:104px 1fr}.listing-review-cover,.listing-review-cover img{min-height:112px}.listing-review-main{padding:10px}.listing-review-title-row h2{font-size:14px}.listing-review-title-row>strong{font-size:13px}.listing-review-edit-grid{grid-template-columns:1fr}.listing-wizard-actions{bottom:72px;grid-template-columns:auto 1fr auto;padding:8px}.listing-wizard-actions>div{display:none}.listing-wizard-actions button.publish{min-width:0}.listing-page-card{overflow:visible}.category-first-card,.location-card,.listing-protection-card{padding:13px}}


/* v0.29 — A + D hybrid: minimal card + swipe listing */
.listing-light-shell{min-height:calc(100dvh - 78px);padding:10px 14px 100px;background:radial-gradient(circle at 50% 5%,rgba(218,235,255,.75),rgba(247,250,254,.25) 35%,transparent 65%)}
.listing-light-top{width:min(560px,100%);margin:2px auto 8px;display:flex;align-items:center;gap:10px;color:#17375f}.listing-light-top .listing-exit{width:34px;height:34px;border:0;border-radius:12px;background:#fff;box-shadow:0 4px 16px rgba(36,68,110,.08);font-size:18px;color:#234c76;cursor:pointer}.listing-light-top>div{display:flex;align-items:baseline;gap:8px}.listing-light-top strong{font-size:14px}.listing-light-top span{font-size:9px;color:#7d8fa5}
.listing-page-card.listing-light-card{width:min(560px,calc(100vw - 28px));height:min(66dvh,610px);max-height:66dvh;margin:0 auto;padding:0!important;border:1px solid #dce6f1;border-radius:22px;background:rgba(255,255,255,.97);box-shadow:0 18px 50px rgba(31,70,115,.13);overflow:hidden!important;display:block}
.listing-light-card .listing-wizard-form{height:100%;display:flex;flex-direction:column;min-height:0}.listing-light-dots{display:flex;justify-content:center;gap:8px;padding:14px 16px 8px;flex:0 0 auto}.listing-light-dots button{width:8px;height:8px;border:0;border-radius:999px;background:#d4deea;padding:0;cursor:pointer;transition:.18s ease}.listing-light-dots button.active{width:18px;background:#0d6efd}.listing-light-dots button.complete{background:#74aef2}.listing-sync-lite{margin:0 16px 4px!important;padding:0!important;border:0!important;background:transparent!important;min-height:0;font-size:0!important}.listing-sync-lite.connected{display:none!important}.listing-sync-lite.error{display:flex!important;padding:7px 9px!important;border:1px solid #f2caca!important;background:#fff7f7!important;font-size:9px!important}
.listing-card-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:5px 18px 10px;overscroll-behavior:contain;scrollbar-width:none}.listing-card-scroll::-webkit-scrollbar{display:none}.listing-step{min-height:100%!important;animation:none!important}.listing-step.slide-next{animation:tp29SlideNext .24s ease both!important}.listing-step.slide-prev{animation:tp29SlidePrev .24s ease both!important}@keyframes tp29SlideNext{from{opacity:.15;transform:translateX(42px)}to{opacity:1;transform:none}}@keyframes tp29SlidePrev{from{opacity:.15;transform:translateX(-42px)}to{opacity:1;transform:none}}
.listing-lite-intro{display:flex;align-items:center;gap:10px;margin:2px 0 14px}.listing-lite-intro>span{display:grid;place-items:center;width:36px;height:36px;border-radius:13px;background:#eaf4ff;color:#126be0;font-size:18px;flex:0 0 36px}.listing-lite-intro small{font-size:8px;color:#8a9aaf;font-weight:850}.listing-lite-intro h2{margin:1px 0 0;font-size:17px;color:#18395f}.listing-lite-intro p{margin:2px 0 0;font-size:9px;color:#788ba2}
.category-first-card.lite,.location-card.lite,.listing-protection-card.lite{padding:0;border:0;background:transparent}.category-first-card.lite select,.location-card.lite input{min-height:46px;border-radius:14px;padding:10px 12px}.listing-image-grid.lite{grid-template-columns:1fr 1fr;gap:9px}.listing-image-grid.lite .listing-image-picker{min-height:76px;padding:11px;border-radius:15px}.listing-image-grid.lite .listing-image-picker span{font-size:20px}.listing-image-grid.lite .listing-image-picker strong{font-size:10px}.listing-image-grid.lite .listing-image-picker small{display:none}.listing-photo-row-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 1px 4px;color:#657b95}.listing-photo-row-head>span{font-size:9px;font-weight:850}.listing-photo-row-head small{font-size:8px;color:#91a0b2}.listing-photo-preview-grid.lite{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:6px}.listing-photo-thumb{overflow:visible!important}.listing-photo-thumb img{border-radius:11px}.listing-photo-delete{position:absolute;right:-5px;top:-5px;z-index:3;width:22px;height:22px;border:2px solid #fff;border-radius:50%;background:#e84747;color:#fff;font-size:16px;line-height:16px;display:grid;place-items:center;padding:0;box-shadow:0 2px 7px rgba(0,0,0,.16);cursor:pointer}.listing-photo-add-tile{aspect-ratio:1/1;border:1px dashed #9bbce1;border-radius:12px;background:#f7fbff;color:#1269d7;display:grid;place-items:center;align-content:center;gap:2px;font-size:22px;cursor:pointer}.listing-photo-add-tile span{font-size:8px;font-weight:850}.listing-details-lite{gap:8px}.listing-details-lite .form-field{gap:4px}.listing-details-lite input,.listing-details-lite select,.listing-details-lite textarea{padding:9px 10px!important;border-radius:11px!important}.listing-details-lite textarea{min-height:64px!important}.pricing-choice-grid.lite{grid-template-columns:repeat(2,1fr);gap:7px;margin-bottom:7px}.pricing-choice-grid.lite span{min-height:48px;padding:7px;border-radius:12px}.pricing-choice-grid.lite small{display:none}.pricing-choice-grid.lite b{font-size:10px}.listing-mode-hint{font-size:8px;margin-bottom:7px}.listing-protection-card.lite{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:8px;margin-top:8px}.listing-protection-card.lite>strong{font-size:10px}.listing-protection-card.lite>.hold-inline{grid-template-columns:70px 92px;justify-self:end}.listing-protection-card.lite>.hold-inline input,.listing-protection-card.lite>.hold-inline select{padding:8px}.listing-protection-card.lite>small{grid-column:1/-1;font-size:8px}.listing-note-lite{margin-top:7px}.listing-note-lite input{padding:8px 10px!important}.location-card.lite .location-gps-button{margin:0 0 8px;min-height:44px}.listing-or{text-align:center;font-size:8px;color:#94a2b3;margin:2px 0 8px}.listing-review-card.lite{grid-template-columns:88px 1fr;border-radius:14px}.listing-review-card.lite .listing-review-cover,.listing-review-card.lite .listing-review-cover img{min-height:92px}.listing-review-card.lite .listing-review-main{padding:9px}.listing-review-card.lite .listing-review-title-row{display:block}.listing-review-card.lite .listing-review-title-row h2{font-size:13px;margin:2px 0}.listing-review-card.lite .listing-review-title-row strong{font-size:12px}.listing-review-card.lite .listing-review-main>p{display:none}.listing-review-card.lite .meta-pill{font-size:7px!important}.listing-review-edit-grid.lite{grid-template-columns:repeat(5,1fr);gap:5px;margin-top:8px}.listing-review-edit-grid.lite button{padding:6px;align-items:center;text-align:center}.listing-review-edit-grid.lite button span{font-size:6.5px}.listing-review-edit-grid.lite button strong{font-size:7px}
.listing-wizard-actions.lite{position:static!important;flex:0 0 auto;display:grid!important;grid-template-columns:auto 1fr auto!important;gap:7px;margin:0!important;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))!important;border:0!important;border-top:1px solid #e7edf5!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;backdrop-filter:none!important}.listing-wizard-actions.lite button{min-height:34px!important;padding:7px 12px!important;border-radius:10px!important;font-size:10px!important}.listing-wizard-actions.lite .primary{min-width:78px}.listing-wizard-actions.lite .publish{min-width:92px!important;background:#12a044!important;border-color:#12a044!important}.listing-swipe-hint{align-self:center;justify-self:center;font-size:8px;color:#8b99ab}
@media(max-width:760px){.listing-light-shell{padding:7px 10px 88px;min-height:calc(100dvh - 62px)}.listing-light-top{margin:0 auto 5px}.listing-page-card.listing-light-card{width:min(94vw,520px);height:min(65dvh,590px);max-height:65dvh;border-radius:19px}.listing-card-scroll{padding:4px 14px 8px}.listing-light-dots{padding:11px 14px 6px}.listing-lite-intro{margin-bottom:10px}.listing-lite-intro>span{width:32px;height:32px;flex-basis:32px;font-size:16px}.listing-lite-intro h2{font-size:15px}.listing-photo-preview-grid.lite{grid-template-columns:repeat(4,minmax(0,1fr))}.listing-review-edit-grid.lite{grid-template-columns:repeat(5,1fr)}.listing-wizard-actions.lite{bottom:auto!important}.pricing-choice-grid.lite{grid-template-columns:repeat(2,1fr)}}
@media(max-height:690px){.listing-page-card.listing-light-card{height:62dvh;max-height:62dvh}.listing-lite-intro p{display:none}}


/* v0.30 — A + D demo alignment: compact floating card + in-card controls */
.listing-ad-shell{padding-top:6px!important}
.listing-floating-dots{width:min(520px,90vw);margin:5px auto 12px;display:flex;justify-content:center;align-items:center;gap:8px}
.listing-floating-dots button{width:8px;height:8px;border:0;border-radius:999px;background:#d3deea;padding:0;transition:.18s ease;cursor:pointer}
.listing-floating-dots button.active{background:#0d6efd;box-shadow:0 0 0 4px rgba(13,110,253,.08)}
.listing-floating-dots button.complete{background:#72aef0}
.listing-page-card.listing-ad-card{width:min(520px,90vw)!important;height:min(57dvh,500px)!important;max-height:57dvh!important;margin:0 auto!important;border-radius:22px!important;box-shadow:0 18px 46px rgba(30,67,108,.14)!important;overflow:hidden!important}
.listing-ad-card .listing-card-scroll{padding:22px 16px 8px!important}
.listing-ad-card .listing-step{position:relative;min-height:100%!important}
.listing-ad-card .listing-lite-intro{position:relative;display:block;text-align:center;margin:0 0 14px;padding-top:15px}
.listing-ad-card .listing-lite-intro .listing-step-icon{position:absolute;top:-34px;left:50%;transform:translateX(-50%);width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#eef6ff;border:5px solid #fff;box-shadow:0 7px 18px rgba(31,86,151,.12);color:#0d6efd;font-size:21px}
.listing-ad-card .listing-lite-intro h2{font-size:16px;margin:2px 0 0;color:#16365b}
.listing-ad-card .listing-lite-intro p{font-size:9px;margin:3px 0 0;color:#7b8da2}
.category-dropdown-shell{position:relative!important}
.category-dropdown-trigger{width:100%;min-height:46px;display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:8px;border:1px solid #cbd9e8;border-radius:14px;background:#fff;padding:9px 11px;text-align:left;color:#17375f;cursor:pointer;box-shadow:0 3px 12px rgba(34,75,120,.04)}
.category-dropdown-trigger strong{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.category-dropdown-trigger>b{font-size:16px;color:#6f8298}.category-dropdown-mini-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#edf5ff;color:#0d6efd;font-size:13px}
.category-dropdown-menu{position:absolute;z-index:30;left:0;right:0;top:calc(100% + 6px);max-height:min(240px,31dvh);overflow:auto;border:1px solid #d5e1ee;border-radius:14px;background:#fff;padding:5px;box-shadow:0 16px 36px rgba(26,57,94,.18);overscroll-behavior:contain}
.category-dropdown-menu[hidden]{display:none!important}.category-dropdown-menu button{display:block;width:100%;border:0;border-radius:9px;background:transparent;padding:9px 10px;text-align:left;color:#294867;font-size:10px;font-weight:720;cursor:pointer}.category-dropdown-menu button:hover,.category-dropdown-menu button.selected{background:#edf6ff;color:#0b63bf}
.icon-pricing-grid span{display:grid!important;grid-template-columns:28px 1fr;align-items:center;justify-items:start;text-align:left!important;gap:6px;min-height:48px!important}
.icon-pricing-grid i{display:grid;place-items:center;width:27px;height:27px;border-radius:9px;background:#edf4fc;color:#245d96;font-size:14px;font-weight:950;font-style:normal}.icon-pricing-grid input:checked+span i{background:#dcecff;color:#0d6efd}.icon-pricing-grid b{font-size:10px!important}
.listing-ad-card .listing-wizard-actions.lite{grid-template-columns:auto 1fr auto!important;padding:7px 12px calc(7px + env(safe-area-inset-bottom,0px))!important}
.listing-ad-card .listing-wizard-actions.lite button{width:auto!important;min-width:70px!important;min-height:32px!important;padding:6px 12px!important;font-size:9.5px!important;border-radius:10px!important}
.listing-ad-card .listing-wizard-actions.lite .primary{justify-self:end;min-width:78px!important}.listing-ad-card .listing-swipe-hint{font-size:7.5px}
@media(max-width:760px){
 .listing-light-shell.listing-ad-shell{padding:6px 0 88px!important}
 .listing-light-top{width:90vw!important;margin:0 auto 2px!important}
 .listing-floating-dots{width:90vw;margin:4px auto 11px}
 .listing-page-card.listing-ad-card{width:90vw!important;height:min(56dvh,485px)!important;max-height:56dvh!important;border-radius:20px!important}
 .listing-ad-card .listing-card-scroll{padding:22px 13px 7px!important}
 .listing-ad-card .listing-lite-intro{margin-bottom:11px}
 .listing-ad-card .listing-lite-intro .listing-step-icon{top:-32px;width:44px;height:44px;font-size:19px;border-width:4px}
 .listing-ad-card .listing-lite-intro h2{font-size:15px}
 .listing-image-grid.lite .listing-image-picker{min-height:68px!important}
 .listing-photo-preview-grid.lite{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .category-dropdown-menu{max-height:min(220px,30dvh)}
}
@media(max-height:700px){.listing-page-card.listing-ad-card{height:53dvh!important;max-height:53dvh!important}.listing-ad-card .listing-card-scroll{padding-top:20px!important}}

/* ===== v0.31 listing polish + R&R attention/readability ===== */
.listing-floating-dots{margin-bottom:34px!important}
.listing-page-card.listing-ad-card{position:relative!important;overflow:visible!important;height:min(52dvh,450px)!important;max-height:52dvh!important;margin-top:0!important}
.listing-ad-card .listing-wizard-form{height:100%;overflow:hidden;border-radius:inherit;background:#fff}
.listing-ad-card .listing-card-scroll{padding-top:18px!important}
.listing-card-floating-icon{position:absolute;z-index:30;left:50%;top:-29px;transform:translateX(-50%);width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#eef6ff,#e5f0ff);border:5px solid #fff;box-shadow:0 10px 24px rgba(31,86,151,.18);color:#0d6efd;pointer-events:none}
.listing-card-floating-icon svg{width:27px;height:27px;display:block}
.listing-ad-card .listing-lite-intro{padding-top:17px!important;margin-bottom:12px!important}
.listing-ad-card .listing-lite-intro>div{width:100%}
.listing-ad-card .listing-lite-intro .listing-step-icon{display:none!important}
.icon-pricing-grid i{width:30px!important;height:30px!important;border-radius:10px!important}
.icon-pricing-grid i svg{width:17px;height:17px;display:block}
.icon-pricing-grid span{grid-template-columns:30px 1fr!important;min-height:50px!important}

/* R&R cards: orange means unread/unattended only */
.request-card--seller{border-left-color:#aebdce!important;background:#fff!important}
.request-card--seller .request-side-tag{background:#eef3f8!important;color:#52677f!important}
.request-card--attention{border-left-color:#f59e0b!important;background:linear-gradient(90deg,rgba(245,158,11,.055),#fff 22%)!important;box-shadow:0 5px 16px rgba(245,158,11,.08)!important}
.request-card--attention .request-side-tag{background:#fff1d6!important;color:#9b5a00!important}
.request-note-preview{margin:0 0 8px!important;padding:7px 9px;border-left:2px solid #c9d7e8;border-radius:0 8px 8px 0;background:#f8fafc;color:#54677e;font-size:10.5px;line-height:1.35}

/* Structured request/reply detail view */
.request-detail-stack{display:grid;gap:10px}
.request-detail-section{border:1px solid #dbe5ef;border-radius:15px;background:#fff;padding:12px}
.request-detail-heading{display:flex;align-items:center;gap:9px;margin-bottom:10px}
.request-detail-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#eef5ff;color:#1268d8;font-weight:900}
.request-detail-heading small{display:block;font-size:8px;letter-spacing:.08em;color:#8190a2;font-weight:850}
.request-detail-heading h3{margin:2px 0 0;font-size:13px;color:#193b61}
.request-overview-panel{background:linear-gradient(180deg,#fbfdff,#f7fbff)}
.seller-reply-panel{border-color:#cfe2f7;background:linear-gradient(180deg,#fff,#f8fbff)}
.waiting-reply-panel{background:#fafbfd;color:#66778d}
.waiting-reply-panel small{font-size:8px;font-weight:900;letter-spacing:.08em;color:#8b99aa}
.waiting-reply-panel p{margin:5px 0 0;font-size:11px}
.reply-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.reply-summary-grid>div{padding:8px;border-radius:10px;background:#f6f9fc;border:1px solid #e5ebf2;min-width:0}
.reply-summary-grid small,.reply-message small{display:block;font-size:7.5px;text-transform:uppercase;letter-spacing:.06em;color:#8896a8;font-weight:850}
.reply-summary-grid strong{display:block;margin-top:2px;font-size:10.5px;color:#233f60;word-break:break-word}
.reply-message{margin-top:8px;padding:9px 10px;border-radius:10px;background:#eef6ff;border:1px solid #d4e6fb}
.reply-message p{margin:4px 0 0;font-size:11px;line-height:1.4;color:#294d74;white-space:pre-wrap}
.request-note-thread{display:grid;gap:7px;max-height:220px;overflow:auto}
.request-thread-empty{padding:10px;border-radius:10px;background:#f8fafc;color:#8492a4;font-size:10px;text-align:center}
.request-note-bubble{max-width:88%;padding:8px 10px;border-radius:12px;background:#f2f5f8;border:1px solid #e1e8ef}
.request-note-bubble.mine{justify-self:end;background:#eaf3ff;border-color:#d2e4fb}
.request-note-bubble.theirs{justify-self:start}
.request-note-bubble>div{display:flex;gap:8px;align-items:center;justify-content:space-between}
.request-note-bubble strong{font-size:9px;color:#34516f}.request-note-bubble time{font-size:7.5px;color:#92a0af}
.request-note-bubble p{margin:3px 0 0;font-size:10.5px;line-height:1.38;color:#41566e;white-space:pre-wrap}
.request-note-compose{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:9px}
.request-note-compose input{min-width:0;padding:9px 10px;border:1px solid #d8e2ed;border-radius:10px;font:inherit;font-size:10.5px}
.request-note-compose button{border:0;border-radius:10px;background:#0d6efd;color:#fff;padding:8px 12px;font-weight:850;font-size:10px;cursor:pointer}
.request-note-limit{display:block;margin-top:8px;color:#8c99aa;font-size:9px}
.request-drawer-actions{margin-top:10px}

/* Home dynamic issue action */
.dynamic-guide>div{min-width:0;flex:1}
.dynamic-guide-view{margin-left:auto;flex:0 0 auto;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.13);color:#fff;border-radius:9px;padding:7px 10px;font-size:9px;font-weight:900;cursor:pointer}
.dynamic-guide-view:hover{background:rgba(255,255,255,.2)}

/* R&R -> payment transaction focus */
.transaction-payment-focus{outline:3px solid #2d8cff!important;outline-offset:2px!important;box-shadow:0 0 0 7px rgba(45,140,255,.12),0 12px 28px rgba(35,105,190,.16)!important;animation:tpPaymentFocusPulse 1.15s ease-in-out 4}
@keyframes tpPaymentFocusPulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}

@media(max-width:760px){
  .listing-light-shell.listing-ad-shell{padding-top:8px!important}
  .listing-floating-dots{margin:7px auto 33px!important}
  .listing-page-card.listing-ad-card{width:90vw!important;height:min(50dvh,425px)!important;max-height:50dvh!important}
  .listing-card-floating-icon{top:-27px;width:54px;height:54px;border-width:4px}
  .listing-card-floating-icon svg{width:25px;height:25px}
  .listing-ad-card .listing-card-scroll{padding-top:17px!important}
  .reply-summary-grid{grid-template-columns:1fr 1fr}
  .request-detail-section{padding:10px}
}
@media(max-height:700px){.listing-page-card.listing-ad-card{height:49dvh!important;max-height:49dvh!important}.listing-floating-dots{margin-bottom:29px!important}}
.reply-context-notes{margin:8px 0 10px;padding:9px 10px;border-radius:11px;background:#f7f9fc;border:1px solid #e1e8f0}
.reply-context-notes small{display:block;font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:#8493a5;margin-bottom:4px}
.reply-context-notes p{margin:4px 0;padding-left:8px;border-left:2px solid #bed0e4;font-size:10.5px;line-height:1.35;color:#41586f}
\n\n/* v0.33 — workflow status cues + bottom action badges */\n.request-card{position:relative}\n.rnr-payment-notice{display:inline-flex;align-items:center;gap:6px;margin:5px 0 4px;padding:5px 9px;border:1px solid #acd1f7;border-radius:9px;background:#edf6ff;color:#155f9f;font-size:9px;line-height:1.2;font-weight:800}\n.rnr-payment-notice>span{display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:#2d8cff;color:#fff;font-size:9px;font-weight:950}\n.rnr-payment-notice.settled{border-color:#d5dde6;background:#f6f8fa;color:#667482}\n.rnr-payment-notice.settled>span{background:#8996a4}\n.request-stage.complete{border-color:#ccd4dd!important;background:#f4f6f8!important;color:#66717d!important}\n.rnr-complete-stamp{position:absolute;z-index:4;top:46px;right:14px;padding:4px 12px;border:2px dashed rgba(103,113,125,.52);border-radius:5px;color:rgba(83,94,107,.48);background:rgba(255,255,255,.25);font-family:Impact,'Arial Black',system-ui,sans-serif;font-size:14px;font-weight:950;letter-spacing:.13em;line-height:1;text-transform:uppercase;transform:rotate(-7deg);text-shadow:1px 0 rgba(255,255,255,.9),-1px 0 rgba(87,97,108,.22);box-shadow:none;pointer-events:none;opacity:.78}\n.request-card--complete{border-color:#d8dee5!important;background:#fff!important}
.rnr-state-escrow .request-side-tag{background:#e6f2ff!important;color:#1768c9!important;border:1px solid #b9d9fb!important}
.rnr-state-escrow.request-card--seller{border-left-color:#4d9df4!important;background:linear-gradient(90deg,rgba(77,157,244,.045),#fff 22%)!important}
.rnr-state-settled .request-side-tag{background:#f0f2f4!important;color:#687582!important;border:1px solid #d8dee5!important}
.rnr-state-settled.request-card--seller{border-left-color:#bcc5cf!important;background:#fff!important}\n.mobile-nav-item--badged{position:relative}\n.mobile-nav-symbol{position:relative;display:inline-grid;place-items:center;min-width:26px;height:24px}\n.mobile-action-badge{position:absolute;top:-8px;right:-11px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:999px;background:#df2635;color:#fff;border:2px solid #fff;font-size:9px;line-height:1;font-weight:950;font-style:normal;box-shadow:0 2px 6px rgba(176,20,35,.28)}\n.mobile-action-badge[hidden]{display:none!important}\n.mobile-rnr-envelope{position:absolute;top:-10px;right:-18px;display:grid;place-items:center;width:25px;height:20px;border-radius:6px;background:#df2635;color:#fff;border:2px solid #fff;font-size:13px;line-height:1;font-style:normal;box-shadow:0 2px 7px rgba(176,20,35,.3)}\n.mobile-rnr-envelope b{position:absolute;right:-6px;top:-7px;display:grid;place-items:center;min-width:15px;height:15px;padding:0 3px;border-radius:999px;background:#b80f20;color:#fff;border:1.5px solid #fff;font-size:8px;line-height:1;font-weight:950}\n.mobile-rnr-envelope[hidden]{display:none!important}\n@media(max-width:760px){.rnr-complete-stamp{top:43px;right:12px;font-size:12px;padding:4px 9px}.rnr-payment-notice{max-width:100%;font-size:8.5px}}\n\n/* v0.33 — functional notification center */\n.notify-dot[hidden]{display:none!important}.notify-dot.is-visible{display:grid}\n.notification-summary{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:12px}.notification-summary>div{border:1px solid #dbe5f1;background:#f7faff;border-radius:14px;padding:11px 12px}.notification-summary strong{display:block;font-size:20px;color:#102b50}.notification-summary span{font-size:10px;color:#72839a}.notification-toolbar{display:flex;align-items:center;justify-content:space-between;margin:3px 0 8px;font-size:11px;font-weight:850;color:#42536c}.notification-toolbar button{border:0;background:transparent;color:#0b68dd;font-weight:850;font-size:10px}.notification-list{display:grid;gap:8px}.notification-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:9px;align-items:center;border:1px solid #dfe7f1;border-radius:14px;padding:10px;background:#fff}.notification-row.is-unread{background:#f7fbff;border-color:#b9d8ff}.notification-row-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e9f3ff;color:#0d68d7;font-weight:950}.notification-row.ok .notification-row-icon{background:#e8f8ee;color:#138441}.notification-row.warn .notification-row-icon{background:#fff0e6;color:#c65b11}.notification-row-copy{min-width:0}.notification-row-copy>div{display:flex;align-items:center;gap:6px}.notification-row-copy strong{font-size:11px;color:#1c324f}.notification-row-copy p{font-size:10px;line-height:1.35;color:#607189;margin:3px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.notification-row-copy small{font-size:8.5px;color:#8a98aa}.notification-unread-dot{width:7px;height:7px;border-radius:50%;background:#ef3340;flex:0 0 auto}.notification-view{border:1px solid #bfd5ef;background:#f4f9ff;color:#0d65c7;border-radius:9px;padding:7px 9px;font-size:9px;font-weight:850}.notification-empty{text-align:center;padding:28px 12px;color:#7b8ca2;font-size:11px}\n@media(max-width:760px){.notification-row{grid-template-columns:32px minmax(0,1fr) auto;padding:9px}.notification-summary{gap:7px}.notification-summary>div{padding:9px 10px}.notification-summary strong{font-size:18px}.notification-view{padding:6px 8px}}\n
/* v0.33 — R&R escrow/released status polish (valid override block) */
.request-card.rnr-state-escrow .request-side-tag,
.service-request-card.rnr-state-escrow .request-side-tag{
  background:#e6f2ff!important;
  color:#1768c9!important;
  border:1px solid #b9d9fb!important;
}
.request-card.rnr-state-escrow.request-card--seller,
.service-request-card.rnr-state-escrow.request-card--seller{
  border-left-color:#4d9df4!important;
  background:linear-gradient(90deg,rgba(77,157,244,.045),#fff 22%)!important;
}
.request-card.rnr-state-settled .request-side-tag,
.service-request-card.rnr-state-settled .request-side-tag{
  background:#f0f2f4!important;
  color:#687582!important;
  border:1px solid #d8dee5!important;
}
.request-card.rnr-state-settled.request-card--seller,
.service-request-card.rnr-state-settled.request-card--seller{
  border-left-color:#bcc5cf!important;
  background:#fff!important;
}
.request-card .rnr-complete-stamp{
  position:absolute!important;
  z-index:6!important;
  top:42px!important;
  right:14px!important;
  display:inline-block!important;
  padding:5px 11px!important;
  border:2px dashed rgba(96,106,118,.42)!important;
  border-radius:5px!important;
  background:rgba(255,255,255,.18)!important;
  color:rgba(76,87,99,.42)!important;
  font-family:Impact,'Arial Black',system-ui,sans-serif!important;
  font-size:14px!important;
  font-weight:950!important;
  line-height:1!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
  transform:rotate(-7deg)!important;
  text-shadow:1px 0 rgba(255,255,255,.88),-1px 0 rgba(83,94,105,.18)!important;
  box-shadow:none!important;
  opacity:.72!important;
  pointer-events:none!important;
}
@media(max-width:760px){
  .request-card .rnr-complete-stamp{
    top:42px!important;
    right:12px!important;
    font-size:13px!important;
    padding:4px 9px!important;
  }
}


/* v0.34 — corrected settled-card completion hierarchy */
.request-card .rnr-complete-stamp,
.service-request-card .rnr-complete-stamp{
  position:absolute!important;
  z-index:5!important;
  top:50%!important;
  right:7%!important;
  transform:translateY(-50%) rotate(-11deg)!important;
  width:82px!important;
  height:82px!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  border:2px solid rgba(92,101,112,.28)!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.10)!important;
  color:rgba(74,84,96,.30)!important;
  font-family:Impact,'Arial Black',system-ui,sans-serif!important;
  font-size:15px!important;
  font-weight:950!important;
  letter-spacing:.08em!important;
  line-height:1!important;
  text-transform:uppercase!important;
  text-shadow:1px 0 rgba(255,255,255,.75),-1px 0 rgba(68,77,88,.12)!important;
  box-shadow:inset 0 0 0 3px rgba(97,106,117,.045)!important;
  opacity:.72!important;
  pointer-events:none!important;
}
.request-card .rnr-complete-stamp::before,
.request-card .rnr-complete-stamp::after,
.service-request-card .rnr-complete-stamp::before,
.service-request-card .rnr-complete-stamp::after{
  content:"";
  position:absolute;
  width:28px;
  height:1px;
  background:rgba(78,87,98,.18);
  transform-origin:center;
}
.request-card .rnr-complete-stamp::before,
.service-request-card .rnr-complete-stamp::before{top:23px;left:7px;transform:rotate(24deg)}
.request-card .rnr-complete-stamp::after,
.service-request-card .rnr-complete-stamp::after{right:4px;bottom:22px;transform:rotate(-31deg)}
.request-card .request-stage.complete,
.service-request-card .request-stage.complete{
  border-color:#cbd3dc!important;
  background:#f5f7f9!important;
  color:#596673!important;
  font-weight:850!important;
}
@media(max-width:760px){
  .request-card .rnr-complete-stamp,
  .service-request-card .rnr-complete-stamp{
    width:72px!important;
    height:72px!important;
    right:6%!important;
    font-size:13px!important;
  }
}


/* ==========================================================================
   v0.35 — TutoPay Theme System
   Primary: Classic Blue + Dark Corporate. Optional: Green, Sand, Purple, Grey.
   Presentation only: no workflow/data changes.
   ========================================================================== */

html[data-tp-theme="classic-blue"]{
  --tp-canvas:#eef6ff;--tp-wash-1:#f9fcff;--tp-wash-2:#ddecff;--tp-ink:#0d1730;--tp-muted:#62758e;
  --tp-surface:rgba(255,255,255,.78);--tp-surface-strong:rgba(255,255,255,.90);--tp-border:rgba(137,169,204,.38);--tp-nav:rgba(255,255,255,.82);
  --tp-accent:#0d6efd;--tp-accent-2:#20c7f6;--tp-sidebar-1:#071b3d;--tp-sidebar-2:#031126;
  --tp-pattern:none;
}

html[data-tp-theme="dark-corporate"]{
  --tp-canvas:#06172b;--tp-wash-1:#08233d;--tp-wash-2:#04111f;--tp-ink:#edf7ff;--tp-muted:#a9bfd3;
  --tp-surface:rgba(7,34,60,.76);--tp-surface-strong:rgba(7,31,54,.91);--tp-border:rgba(83,150,192,.32);--tp-nav:rgba(5,28,51,.86);
  --tp-accent:#19c8ff;--tp-accent-2:#42e0b7;--tp-sidebar-1:#041326;--tp-sidebar-2:#020b16;
  --tp-pattern:none;
}

html[data-tp-theme="fresh-green"]{
  --tp-canvas:#eefaf2;--tp-wash-1:#fbfffc;--tp-wash-2:#e1f5e8;--tp-ink:#10271a;--tp-muted:#647b6c;
  --tp-surface:rgba(255,255,255,.78);--tp-surface-strong:rgba(255,255,255,.91);--tp-border:rgba(122,177,142,.34);--tp-nav:rgba(255,255,255,.83);
  --tp-accent:#17a75a;--tp-accent-2:#58c98b;--tp-sidebar-1:#0b3b2a;--tp-sidebar-2:#06271d;
  --tp-pattern:none;
}

html[data-tp-theme="warm-sand"]{
  --tp-canvas:#fff7ec;--tp-wash-1:#fffdf9;--tp-wash-2:#f8e8d0;--tp-ink:#2d2016;--tp-muted:#806c5b;
  --tp-surface:rgba(255,252,246,.80);--tp-surface-strong:rgba(255,252,246,.93);--tp-border:rgba(192,148,99,.31);--tp-nav:rgba(255,251,244,.86);
  --tp-accent:#c96f1a;--tp-accent-2:#e4a35e;--tp-sidebar-1:#54301a;--tp-sidebar-2:#2a190e;
  --tp-pattern:none;
}

html[data-tp-theme="creative-purple"]{
  --tp-canvas:#f6f0ff;--tp-wash-1:#fdfbff;--tp-wash-2:#eadcff;--tp-ink:#24163d;--tp-muted:#77698e;
  --tp-surface:rgba(255,255,255,.79);--tp-surface-strong:rgba(255,255,255,.92);--tp-border:rgba(160,130,207,.32);--tp-nav:rgba(255,255,255,.84);
  --tp-accent:#7c3aed;--tp-accent-2:#a46cf2;--tp-sidebar-1:#2d155c;--tp-sidebar-2:#160a32;
  --tp-pattern:none;
}

html[data-tp-theme="minimal-grey"]{
  --tp-canvas:#f2f5f8;--tp-wash-1:#ffffff;--tp-wash-2:#e7ecf1;--tp-ink:#17202b;--tp-muted:#667586;
  --tp-surface:rgba(255,255,255,.80);--tp-surface-strong:rgba(255,255,255,.93);--tp-border:rgba(139,154,171,.32);--tp-nav:rgba(255,255,255,.86);
  --tp-accent:#526b86;--tp-accent-2:#8399af;--tp-sidebar-1:#26394d;--tp-sidebar-2:#152331;
  --tp-pattern:none;
}

html[data-tp-theme]{
  --canvas:var(--tp-canvas);--ink:var(--tp-ink);--muted:var(--tp-muted);--line:var(--tp-border);--blue:var(--tp-accent);--blue2:var(--tp-accent-2);
  color-scheme:light;
}
html[data-tp-theme="dark-corporate"]{color-scheme:dark}
html[data-tp-theme] body{
  color:var(--tp-ink)!important;
  background-color:var(--tp-canvas)!important;
  background-image:var(--tp-pattern),linear-gradient(150deg,var(--tp-wash-1),var(--tp-canvas) 46%,var(--tp-wash-2));
  background-size:320px 267px,cover;
  background-repeat:repeat,no-repeat;
  background-attachment:fixed,fixed;
}
/* Slight glass effect so the wallpaper reads without compromising legibility. */
html[data-tp-theme] .topbar,
html[data-tp-theme] .mobile-topbar,
html[data-tp-theme] .mobile-nav,
html[data-tp-theme] .metric-card,
html[data-tp-theme] .status-strip,
html[data-tp-theme] .panel-card,
html[data-tp-theme] .list-page,
html[data-tp-theme] .classic-panel-card,
html[data-tp-theme] .catalogue-card,
html[data-tp-theme] .request-card,
html[data-tp-theme] .service-request-card,
html[data-tp-theme] .sheet,
html[data-tp-theme] .drawer,
html[data-tp-theme] .listing-page-card,
html[data-tp-theme] .notification-row,
html[data-tp-theme] .mobile-main-panels,
html[data-tp-theme] .mobile-main-slide,
html[data-tp-theme] .mobile-welcome-card{
  background:var(--tp-surface)!important;
  border-color:var(--tp-border)!important;
  backdrop-filter:blur(14px) saturate(125%);
  -webkit-backdrop-filter:blur(14px) saturate(125%);
}
html[data-tp-theme] .topbar,
html[data-tp-theme] .mobile-topbar,
html[data-tp-theme] .mobile-nav,
html[data-tp-theme] .sheet,
html[data-tp-theme] .drawer{background:var(--tp-nav)!important}
html[data-tp-theme] .sidebar{background:linear-gradient(180deg,var(--tp-sidebar-1),var(--tp-sidebar-2) 78%)!important}
html[data-tp-theme] .status-badge,
html[data-tp-theme] .meta-pill,
html[data-tp-theme] .request-side-tag,
html[data-tp-theme] .request-stage,
html[data-tp-theme] .mobile-main-tabs button,
html[data-tp-theme] .archive-tabs button{
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)
}
html[data-tp-theme] .search-box,
html[data-tp-theme] .toolbar,
html[data-tp-theme] .form-field input,
html[data-tp-theme] .form-field select,
html[data-tp-theme] .form-field textarea,
html[data-tp-theme] .search-inline,
html[data-tp-theme] .listing-category-control,
html[data-tp-theme] .listing-category-menu,
html[data-tp-theme] .listing-photo-add-tile,
html[data-tp-theme] .location-card,
html[data-tp-theme] .listing-review-card{
  background:var(--tp-surface-strong)!important;
  color:var(--tp-ink)!important;
  border-color:var(--tp-border)!important;
}
html[data-tp-theme] .view-header p,
html[data-tp-theme] .record-main small,
html[data-tp-theme] .product-mini small,
html[data-tp-theme] .party-line,
html[data-tp-theme] .sheet-note,
html[data-tp-theme] .form-field small{color:var(--tp-muted)!important}
html[data-tp-theme] .icon-button,
html[data-tp-theme] .small-button,
html[data-tp-theme] .toolbar-action,
html[data-tp-theme] .drawer-actions button:not(.danger){background:var(--tp-surface-strong)!important;border-color:var(--tp-border)!important;color:var(--tp-ink)!important}
html[data-tp-theme] .small-button.primary,
html[data-tp-theme] .toolbar-action.primary,
html[data-tp-theme] .form-actions .primary{background:linear-gradient(135deg,var(--tp-accent),var(--tp-accent-2))!important;color:#fff!important;border-color:transparent!important}

/* Dark Corporate readability overrides for components that previously had fixed light fills. */
html[data-tp-theme="dark-corporate"] .hero{background:linear-gradient(135deg,rgba(4,24,45,.93),rgba(7,62,94,.82))!important;border:1px solid rgba(70,172,218,.20)}
html[data-tp-theme="dark-corporate"] .metric-card,
html[data-tp-theme="dark-corporate"] .status-strip,
html[data-tp-theme="dark-corporate"] .panel-card,
html[data-tp-theme="dark-corporate"] .list-page,
html[data-tp-theme="dark-corporate"] .classic-panel-card,
html[data-tp-theme="dark-corporate"] .catalogue-card,
html[data-tp-theme="dark-corporate"] .request-card,
html[data-tp-theme="dark-corporate"] .service-request-card,
html[data-tp-theme="dark-corporate"] .notification-row,
html[data-tp-theme="dark-corporate"] .request-card--seller,
html[data-tp-theme="dark-corporate"] .request-card--complete,
html[data-tp-theme="dark-corporate"] .rnr-state-settled.request-card--seller{color:var(--tp-ink)!important}
html[data-tp-theme="dark-corporate"] .record:hover{background:rgba(28,85,118,.24)!important}
html[data-tp-theme="dark-corporate"] .status-cell{background:rgba(20,61,88,.58)!important;color:var(--tp-ink)!important}
html[data-tp-theme="dark-corporate"] .product-mini{background:rgba(8,38,66,.70)!important;border-color:var(--tp-border)!important}
html[data-tp-theme="dark-corporate"] .product-mini .price,
html[data-tp-theme="dark-corporate"] .record-side strong,
html[data-tp-theme="dark-corporate"] .card-copy h3,
html[data-tp-theme="dark-corporate"] .panel-head h2,
html[data-tp-theme="dark-corporate"] .view-header h1{color:var(--tp-ink)!important}
html[data-tp-theme="dark-corporate"] .request-card--attention{background:linear-gradient(90deg,rgba(245,158,11,.12),rgba(7,34,60,.76) 25%)!important}
html[data-tp-theme="dark-corporate"] .rnr-state-escrow.request-card--seller{background:linear-gradient(90deg,rgba(77,157,244,.10),rgba(7,34,60,.76) 25%)!important}

/* Appearance picker */
.theme-settings-intro{padding:2px 2px 10px}.theme-settings-intro strong{display:block;font-size:14px;color:var(--tp-ink)}.theme-settings-intro p{margin:5px 0 0;color:var(--tp-muted);font-size:10px;line-height:1.45}.theme-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.theme-choice{position:relative;border:1px solid var(--tp-border);background:var(--tp-surface-strong);border-radius:15px;padding:9px;display:grid;grid-template-columns:62px minmax(0,1fr) 18px;gap:9px;align-items:center;text-align:left;color:var(--tp-ink)}.theme-choice.active{border-color:var(--tp-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--tp-accent) 16%,transparent)}.theme-swatch{height:48px;border-radius:11px;position:relative;overflow:hidden;border:1px solid rgba(120,145,170,.20);display:grid;place-items:center}.theme-swatch::before{content:'TP  ◌  ▣  ⌁  ◇';position:absolute;inset:-8px;color:currentColor;font-size:8px;line-height:19px;letter-spacing:5px;transform:rotate(30deg);opacity:.36}.theme-swatch i{position:relative;z-index:2;font-style:normal;font-size:18px}.theme-swatch.classic-blue{background:#eef6ff;color:#3c87d3}.theme-swatch.dark-corporate{background:#06213b;color:#23d1ff}.theme-swatch.fresh-green{background:#eefaf2;color:#29975b}.theme-swatch.warm-sand{background:#fff5e7;color:#c9782b}.theme-swatch.creative-purple{background:#f5efff;color:#8250d2}.theme-swatch.minimal-grey{background:#f0f3f6;color:#708195}.theme-choice-copy{min-width:0}.theme-choice-copy strong{display:block;font-size:11px}.theme-choice-copy small{display:block;font-size:8px;color:var(--tp-muted);line-height:1.3;margin-top:2px}.theme-choice-check{opacity:0;color:var(--tp-accent);font-weight:950}.theme-choice.active .theme-choice-check{opacity:1}.theme-settings-foot{display:flex;justify-content:space-between;gap:10px;margin-top:11px;padding:9px 10px;border:1px dashed var(--tp-border);border-radius:12px;font-size:9px;color:var(--tp-muted)}.theme-settings-foot b{color:var(--tp-ink)}

@media(max-width:760px){
  html[data-tp-theme] body{background-size:285px 238px,cover}
  .theme-choice-grid{grid-template-columns:1fr}
  .theme-choice{grid-template-columns:58px minmax(0,1fr) 18px}
  /* A little more transparent on phone, where the pattern is the design feature. */
  html[data-tp-theme] .mobile-topbar,html[data-tp-theme] .mobile-nav{background:color-mix(in srgb,var(--tp-nav) 88%,transparent)!important}
  html[data-tp-theme] .classic-panel-card,html[data-tp-theme] .panel-card,html[data-tp-theme] .metric-card,html[data-tp-theme] .status-strip,html[data-tp-theme] .request-card,html[data-tp-theme] .catalogue-card{background:color-mix(in srgb,var(--tp-surface) 91%,transparent)!important}
}


/* ==========================================================================
   v0.36 — Theme performance + randomized pattern polish
   Lightweight tile rendering, translucent shells, large sign-in wallpaper.
   ========================================================================== */
html[data-tp-theme="classic-blue"]{--tp-pattern:none;}
html[data-tp-theme="dark-corporate"]{--tp-pattern:none;}
html[data-tp-theme="fresh-green"]{--tp-pattern:none;}
html[data-tp-theme="warm-sand"]{--tp-pattern:none;}
html[data-tp-theme="creative-purple"]{--tp-pattern:none;}
html[data-tp-theme="minimal-grey"]{--tp-pattern:none;}

:root{--tp-auth-pattern:url("theme-pattern-classic-blue.svg");}
html[data-tp-theme] body{
  background-size:460px 390px,cover;
  background-position:0 0,center;
}
/* Let the pattern breathe through the main shells a little more. */
html[data-tp-theme] .metric-card,
html[data-tp-theme] .status-strip,
html[data-tp-theme] .panel-card,
html[data-tp-theme] .list-page,
html[data-tp-theme] .classic-panel-card,
html[data-tp-theme] .catalogue-card,
html[data-tp-theme] .request-card,
html[data-tp-theme] .service-request-card,
html[data-tp-theme] .listing-page-card,
html[data-tp-theme] .mobile-main-panels,
html[data-tp-theme] .mobile-main-slide,
html[data-tp-theme] .mobile-welcome-card{
  background:color-mix(in srgb,var(--tp-surface) 84%,transparent)!important;
  border-color:color-mix(in srgb,var(--tp-border) 88%,transparent)!important;
}
html[data-tp-theme] .mobile-main-tabs button,
html[data-tp-theme] .archive-tabs button,
html[data-tp-theme] .status-badge,
html[data-tp-theme] .meta-pill,
html[data-tp-theme] .request-side-tag,
html[data-tp-theme] .request-stage{
  background:color-mix(in srgb,var(--tp-surface-strong) 82%,transparent)!important;
}
html[data-tp-theme] .topbar,html[data-tp-theme] .mobile-topbar,html[data-tp-theme] .mobile-nav{
  background:color-mix(in srgb,var(--tp-nav) 87%,transparent)!important;
}
/* Sign-in uses the default Classic Blue language, with the icon motif deliberately larger. */
.auth-screen{
  background-color:#eef6ff!important;
  background-image:var(--tp-auth-pattern),linear-gradient(145deg,#f9fcff,#eef6ff 52%,#ddecff)!important;
  background-size:650px 552px,cover!important;
  background-position:center top,center!important;
}
.auth-art{
  background-image:linear-gradient(145deg,rgba(4,20,47,.90),rgba(7,50,105,.84) 62%,rgba(8,84,161,.80)),var(--tp-auth-pattern)!important;
  background-size:cover,650px 552px!important;
  background-position:center,center!important;
}
.auth-panel{background:transparent!important}
.auth-form-card{background:rgba(255,255,255,.88)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}

/* Performance mode on phones: no live blur on scrolling surfaces. Transparency stays. */
@media(max-width:760px){
  html[data-tp-theme] body{background-size:350px 297px,cover}
  html[data-tp-theme] .topbar,html[data-tp-theme] .mobile-topbar,html[data-tp-theme] .mobile-nav,
  html[data-tp-theme] .metric-card,html[data-tp-theme] .status-strip,html[data-tp-theme] .panel-card,
  html[data-tp-theme] .list-page,html[data-tp-theme] .classic-panel-card,html[data-tp-theme] .catalogue-card,
  html[data-tp-theme] .request-card,html[data-tp-theme] .service-request-card,html[data-tp-theme] .sheet,
  html[data-tp-theme] .drawer,html[data-tp-theme] .listing-page-card,html[data-tp-theme] .notification-row,
  html[data-tp-theme] .mobile-main-panels,html[data-tp-theme] .mobile-main-slide,html[data-tp-theme] .mobile-welcome-card,
  html[data-tp-theme] .status-badge,html[data-tp-theme] .meta-pill,html[data-tp-theme] .request-side-tag,html[data-tp-theme] .request-stage,
  html[data-tp-theme] .mobile-main-tabs button,html[data-tp-theme] .archive-tabs button{
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  }
  html[data-tp-theme] .classic-panel-card,html[data-tp-theme] .panel-card,html[data-tp-theme] .metric-card,
  html[data-tp-theme] .status-strip,html[data-tp-theme] .request-card,html[data-tp-theme] .catalogue-card,
  html[data-tp-theme] .service-request-card,html[data-tp-theme] .mobile-main-slide{
    background:color-mix(in srgb,var(--tp-surface) 82%,transparent)!important;
  }
  html[data-tp-theme] .mobile-topbar,html[data-tp-theme] .mobile-nav{
    background:color-mix(in srgb,var(--tp-nav) 90%,transparent)!important;
  }
  .auth-screen{background-size:520px 442px,cover!important}
  .auth-art{background-size:cover,520px 442px!important}
  /* Reduce decorative animation/transition work while preserving functional slide transforms. */
  html[data-tp-theme] .metric-card,html[data-tp-theme] .status-strip,html[data-tp-theme] .panel-card,
  html[data-tp-theme] .request-card,html[data-tp-theme] .catalogue-card,html[data-tp-theme] .service-request-card{
    transition:none!important;
  }
}

/* ==========================================================================\n   v0.36 CORRECTION — shell-only transparency\n   The wallpaper should show through the outer cases, NOT through actual\n   cards, buttons, navigator tabs, status pills or bottom/top navigation.\n   ========================================================================== */
html[data-tp-theme]{
  --tp-solid-card:#ffffff;
  --tp-solid-control:#ffffff;
  --tp-shell-alpha:rgba(255,255,255,.62);
  --tp-shell-alpha-soft:rgba(255,255,255,.52);
}
html[data-tp-theme="dark-corporate"]{
  --tp-solid-card:#0a2947;
  --tp-solid-control:#0b3154;
  --tp-shell-alpha:rgba(5,28,51,.62);
  --tp-shell-alpha-soft:rgba(5,28,51,.50);
}
html[data-tp-theme="fresh-green"]{
  --tp-solid-card:#ffffff;
  --tp-solid-control:#f9fffb;
  --tp-shell-alpha:rgba(247,255,249,.64);
  --tp-shell-alpha-soft:rgba(247,255,249,.52);
}
html[data-tp-theme="warm-sand"]{
  --tp-solid-card:#fffdf9;
  --tp-solid-control:#fffaf2;
  --tp-shell-alpha:rgba(255,250,242,.66);
  --tp-shell-alpha-soft:rgba(255,250,242,.54);
}
html[data-tp-theme="creative-purple"]{
  --tp-solid-card:#ffffff;
  --tp-solid-control:#fcfaff;
  --tp-shell-alpha:rgba(252,248,255,.64);
  --tp-shell-alpha-soft:rgba(252,248,255,.52);
}
html[data-tp-theme="minimal-grey"]{
  --tp-solid-card:#ffffff;
  --tp-solid-control:#fbfcfd;
  --tp-shell-alpha:rgba(248,250,252,.64);
  --tp-shell-alpha-soft:rgba(248,250,252,.52);
}

/* OUTER CASES: these are the translucent areas marked in red. */
html[data-tp-theme] .desktop-main-panels,
html[data-tp-theme] .mobile-swipe-viewport,
html[data-tp-theme] .status-strip{
  background:var(--tp-shell-alpha)!important;
  border-color:color-mix(in srgb,var(--tp-border) 86%,transparent)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html[data-tp-theme] .desktop-panel-list,
html[data-tp-theme] .mobile-slide-body{
  background:transparent!important;
}

/* Keep the shell headings themselves crisp/solid. */
html[data-tp-theme] .desktop-workspace-head,
html[data-tp-theme] .mobile-slide-head{
  background:var(--tp-solid-card)!important;
  border-color:var(--tp-border)!important;
}

/* REAL CONTENT CARDS: solid, not translucent. */
html[data-tp-theme] .metric-card,
html[data-tp-theme] .panel-card,
html[data-tp-theme] .classic-panel-card,
html[data-tp-theme] .catalogue-card,
html[data-tp-theme] .request-card,
html[data-tp-theme] .service-request-card,
html[data-tp-theme] .listing-page-card,
html[data-tp-theme] .notification-row,
html[data-tp-theme] .mobile-welcome-card,
html[data-tp-theme] .product-mini,
html[data-tp-theme] .proposal-card{
  background:var(--tp-solid-card)!important;
  border-color:var(--tp-border)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

/* NAVIGATORS, BUTTONS, PILLS & FORM CONTROLS: keep them solid and legible. */
html[data-tp-theme] .topbar,
html[data-tp-theme] .mobile-topbar,
html[data-tp-theme] .mobile-nav,
html[data-tp-theme] .desktop-panel-tabs button,
html[data-tp-theme] .mobile-main-tabs button,
html[data-tp-theme] .archive-tabs button,
html[data-tp-theme] .status-badge,
html[data-tp-theme] .meta-pill,
html[data-tp-theme] .request-side-tag,
html[data-tp-theme] .request-stage,
html[data-tp-theme] .icon-button,
html[data-tp-theme] .small-button,
html[data-tp-theme] .toolbar-action,
html[data-tp-theme] .search-box,
html[data-tp-theme] .toolbar,
html[data-tp-theme] .form-field input,
html[data-tp-theme] .form-field select,
html[data-tp-theme] .form-field textarea,
html[data-tp-theme] .search-inline,
html[data-tp-theme] .listing-category-control,
html[data-tp-theme] .listing-category-menu,
html[data-tp-theme] .listing-photo-add-tile,
html[data-tp-theme] .location-card,
html[data-tp-theme] .listing-review-card{
  background:var(--tp-solid-control)!important;
  border-color:var(--tp-border)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html[data-tp-theme] .topbar,
html[data-tp-theme] .mobile-topbar,
html[data-tp-theme] .mobile-nav{
  background:var(--tp-solid-card)!important;
}

/* Preserve intentional semantic colours after the solid-surface reset. */
html[data-tp-theme] .small-button.primary,
html[data-tp-theme] .toolbar-action.primary,
html[data-tp-theme] .form-actions .primary,
html[data-tp-theme] .mobile-main-tabs button.active,
html[data-tp-theme] .desktop-panel-tabs button.active,
html[data-tp-theme] .archive-tabs button.active{
  background:linear-gradient(135deg,var(--tp-accent),var(--tp-accent-2))!important;
  color:#fff!important;
  border-color:transparent!important;
}
html[data-tp-theme] .status-badge.green{background:#dcf8e5!important;color:#08752d!important}
html[data-tp-theme] .status-badge.blue{background:#e2efff!important;color:#075cbe!important}
html[data-tp-theme] .status-badge.amber{background:#fff0cc!important;color:#a66600!important}
html[data-tp-theme] .status-badge.red{background:#ffe3e7!important;color:#ad1e33!important}
html[data-tp-theme] .status-badge.purple{background:#eee6ff!important;color:#6930b8!important}

/* Dark theme cards/controls remain distinctly dark while shells stay translucent. */
html[data-tp-theme="dark-corporate"] .status-badge:not(.green):not(.blue):not(.amber):not(.red):not(.purple),
html[data-tp-theme="dark-corporate"] .meta-pill,
html[data-tp-theme="dark-corporate"] .request-stage,
html[data-tp-theme="dark-corporate"] .request-side-tag{
  background:#103756!important;
  color:#e9f6ff!important;
  border-color:rgba(105,174,216,.28)!important;
}
html[data-tp-theme="dark-corporate"] .request-card--attention{
  background:linear-gradient(90deg,rgba(245,158,11,.14),var(--tp-solid-card) 27%)!important;
}
html[data-tp-theme="dark-corporate"] .rnr-state-escrow.request-card--seller{
  background:linear-gradient(90deg,rgba(77,157,244,.12),var(--tp-solid-card) 27%)!important;
}

/* Phone keeps exactly the same hierarchy, without expensive blur. */
@media(max-width:760px){
  html[data-tp-theme] .desktop-main-panels,
  html[data-tp-theme] .mobile-swipe-viewport,
  html[data-tp-theme] .status-strip{
    background:var(--tp-shell-alpha-soft)!important;
  }
  html[data-tp-theme] .classic-panel-card,
  html[data-tp-theme] .panel-card,
  html[data-tp-theme] .metric-card,
  html[data-tp-theme] .request-card,
  html[data-tp-theme] .catalogue-card,
  html[data-tp-theme] .service-request-card,
  html[data-tp-theme] .mobile-main-slide{
    background:var(--tp-solid-card)!important;
  }
}


/* ==========================================================================
   v0.37 — uniform theme lattice + mobile responsiveness pass
   Equal spacing everywhere; icon identity varies, position spacing does not.
   ========================================================================== */
html[data-tp-theme="classic-blue"]{--tp-pattern:url("theme-pattern-classic-blue.svg")}
html[data-tp-theme="dark-corporate"]{--tp-pattern:url("theme-pattern-dark-corporate.svg")}
html[data-tp-theme="fresh-green"]{--tp-pattern:url("theme-pattern-fresh-green.svg")}
html[data-tp-theme="warm-sand"]{--tp-pattern:url("theme-pattern-warm-sand.svg")}
html[data-tp-theme="creative-purple"]{--tp-pattern:url("theme-pattern-creative-purple.svg")}
html[data-tp-theme="minimal-grey"]{--tp-pattern:url("theme-pattern-minimal-grey.svg")}
:root{--tp-auth-pattern:url("theme-pattern-classic-blue.svg")}
html[data-tp-theme] body{background-size:360px 300px,cover;background-position:0 0,center}
.auth-screen{background-size:620px 517px,cover!important}
.auth-art{background-size:cover,620px 517px!important}

@media(max-width:760px){
  /* Fixed backgrounds + live blur are costly during Android touch scrolling. */
  html[data-tp-theme] body{
    background-size:300px 250px,cover!important;
    background-attachment:scroll,scroll!important;
    background-position:0 0,center!important;
  }
  .auth-screen{background-size:500px 417px,cover!important}
  .auth-art{background-size:cover,500px 417px!important}

  /* Faster, cheaper panel transition while retaining the slide feel. */
  .mobile-swipe-track{
    transition:transform .16s cubic-bezier(.22,.78,.22,1)!important;
    transform-style:flat;
    backface-visibility:hidden;
  }
  .mobile-swipe-viewport,.mobile-main-slide{contain:layout paint style}

  /* Long lists: skip painting off-screen records until they approach view. */
  .request-card,.service-request-card,.catalogue-card,.transaction-card,.large-record{
    content-visibility:auto;
    contain-intrinsic-size:auto 156px;
    contain:layout paint style;
  }

  /* Reduce decorative paint cost; functional states remain intact. */
  .request-card,.service-request-card,.catalogue-card,.transaction-card,.classic-panel-card,.panel-card{
    box-shadow:none!important;
  }
  .trust-flash{transition:opacity .14s ease,transform .14s ease!important}
}
\n\n/* v0.38 — mobile navigation hierarchy: top More + dedicated R&R tab */
.mobile-more-top{font-size:20px;font-weight:950;letter-spacing:2px;line-height:1;color:inherit}
.mobile-rnr-nav-icon{font-size:20px!important}
.mobile-rnr-nav-icon .mobile-action-badge{top:-8px;right:-12px}
@media(max-width:760px){
  .mobile-more-top{width:46px;height:46px;border-radius:15px;display:grid;place-items:center;padding:0}
  .mobile-nav-item[data-view="requests"] small{font-weight:800}
}


/* ==========================================================================
   v0.39 — mobile fixed wallpaper + true shell transparency
   Keep the theme artwork visually stationary while mobile content scrolls,
   without reintroducing expensive live blur. Only outer workspace shells are
   translucent; working cards/controls remain solid.
   ========================================================================== */
@media(max-width:760px){
  /* Paint one fixed wallpaper layer behind the app. This avoids Android's
     costly background-attachment:fixed while keeping the pattern stationary. */
  html[data-tp-theme] body{
    position:relative;
    background-image:none!important;
    background-color:var(--tp-canvas)!important;
  }
  html[data-tp-theme] body::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:0;
    pointer-events:none;
    background-color:var(--tp-canvas);
    background-image:var(--tp-pattern),linear-gradient(150deg,var(--tp-wash-1),var(--tp-canvas) 46%,var(--tp-wash-2));
    background-size:300px 250px,cover;
    background-repeat:repeat,no-repeat;
    background-position:0 0,center;
    transform:translateZ(0);
  }
  /* Keep app/auth content above the fixed wallpaper layer. */
  html[data-tp-theme] #app,
  html[data-tp-theme] .auth-screen{
    position:relative;
    z-index:1;
  }
  html[data-tp-theme] .mobile-topbar,
  html[data-tp-theme] .mobile-nav{
    z-index:50;
  }

  /* OUTER WORKSPACE CASES: translucent on phone, matching desktop intent. */
  html[data-tp-theme] .mobile-main-panels{
    background:transparent!important;
  }
  html[data-tp-theme] .mobile-swipe-viewport{
    background:var(--tp-shell-alpha-soft)!important;
    border-color:color-mix(in srgb,var(--tp-border) 82%,transparent)!important;
  }
  html[data-tp-theme] .mobile-main-slide{
    background:transparent!important;
  }
  html[data-tp-theme] .mobile-slide-body{
    background:transparent!important;
  }

  /* The heading belongs to the outer case, so let the wallpaper breathe through it too. */
  html[data-tp-theme] .mobile-slide-head{
    background:transparent!important;
    border-color:color-mix(in srgb,var(--tp-border) 82%,transparent)!important;
  }
  html[data-tp-theme] .classic-panel-card,
  html[data-tp-theme] .panel-card,
  html[data-tp-theme] .metric-card,
  html[data-tp-theme] .request-card,
  html[data-tp-theme] .catalogue-card,
  html[data-tp-theme] .service-request-card,
  html[data-tp-theme] .transaction-card,
  html[data-tp-theme] .notification-row,
  html[data-tp-theme] .mobile-welcome-card{
    background:var(--tp-solid-card)!important;
  }

  /* No blur on the shell; transparency comes only from alpha background. */
  html[data-tp-theme] .mobile-main-panels,
  html[data-tp-theme] .mobile-swipe-viewport,
  html[data-tp-theme] .mobile-main-slide{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
}


/* ==========================================================================\n   v0.40 — permanent dark header + unified TP vector brand\n   The top header must stay dark in every appearance theme. Brand mark is one\n   consistent blue-T / green-P vector everywhere it appears.\n   ========================================================================== */
.tp-logo{display:block;width:46px;height:auto;overflow:visible;flex:0 0 auto}
.tp-logo-t{fill:#21a9f6}
.tp-logo-p{fill:#31d66b}
.brand .tp-logo{width:48px}
.brand--sidebar .tp-logo{width:46px}
.brand-logo-large{display:grid;place-items:center;width:64px;flex:0 0 64px}
.brand-logo-large .tp-logo{width:62px}
.mobile-brand .tp-logo{width:43px}

/* Header is intentionally theme-independent for maximum contrast. */
html[data-tp-theme] .topbar,
html[data-tp-theme] .mobile-topbar{
  background:linear-gradient(135deg,#06162f 0%,#082654 58%,#0a3767 100%)!important;
  color:#f8fbff!important;
  border-color:rgba(255,255,255,.10)!important;
  box-shadow:0 7px 20px rgba(3,15,38,.16)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
html[data-tp-theme] .mobile-brand strong,
html[data-tp-theme] .mobile-brand .runtime-badge,
html[data-tp-theme] .topbar .profile-copy strong,
html[data-tp-theme] .topbar .profile-copy small,
html[data-tp-theme] .topbar .profile-chip,
html[data-tp-theme] .topbar .search-box input,
html[data-tp-theme] .topbar .search-box span{
  color:#f7fbff!important;
}
html[data-tp-theme] .runtime-badge{
  border-color:rgba(110,220,255,.36)!important;
  background:rgba(40,151,216,.18)!important;
  color:#9beaff!important;
}
html[data-tp-theme] .topbar .search-box{
  background:rgba(255,255,255,.09)!important;
  border-color:rgba(255,255,255,.18)!important;
}
html[data-tp-theme] .topbar .search-box input::placeholder{color:rgba(239,247,255,.72)!important}
html[data-tp-theme] .topbar .icon-button,
html[data-tp-theme] .mobile-topbar .icon-button,
html[data-tp-theme] .topbar .profile-chip{
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(255,255,255,.16)!important;
  color:#fff!important;
}
html[data-tp-theme] .topbar .icon-button:hover,
html[data-tp-theme] .mobile-topbar .icon-button:hover{
  background:rgba(255,255,255,.14)!important;
}
html[data-tp-theme] .topbar .notify-dot,
html[data-tp-theme] .mobile-topbar .notify-dot{
  border-color:#082654!important;
}
html[data-tp-theme] .topbar .avatar{border:1px solid rgba(255,255,255,.30)!important}

@media(max-width:760px){
  html[data-tp-theme] .mobile-topbar{
    min-height:64px!important;
    height:64px!important;
    padding:0 17px!important;
  }
  .mobile-brand{gap:8px}
  .mobile-brand .tp-logo{width:46px!important}
  .mobile-brand strong{font-size:19px!important;letter-spacing:-.35px}
  .mobile-top-actions .icon-button{width:44px!important;height:44px!important;border-radius:14px!important}
}


/* v0.42 — seller-visible three-round negotiation */
.negotiation-shell{display:grid;gap:13px}
.negotiation-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.negotiation-title-row small{display:block;color:var(--muted);font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}
.negotiation-title-row h3{margin:3px 0 0;font-size:21px}
.negotiation-lock{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#e8f8ef;border:1px solid #c8ead3;color:#157538;font-size:11px;font-weight:900;white-space:nowrap}
.negotiation-history{display:grid;gap:8px}
.negotiation-round{border:1px solid #dbe5f1;border-radius:14px;background:#f8fbff;padding:10px 11px}
.negotiation-round-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.negotiation-round-head strong{font-size:12px}.negotiation-round-head span{font-size:9.5px;color:var(--muted);font-weight:800}
.negotiation-values{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}
.negotiation-values>div{border:1px solid #e0e8f2;background:#fff;border-radius:11px;padding:8px 9px}
.negotiation-values small{display:block;color:var(--muted);font-size:9px}.negotiation-values strong{display:block;margin-top:2px;font-size:13px}
.negotiation-decision{display:block;margin-top:7px;color:#64758d;font-weight:750}
.negotiation-empty{padding:13px;border:1px dashed #cfdbea;border-radius:13px;color:#718097;background:#fafcff;font-size:11px;text-align:center}
.negotiation-controls{display:grid;gap:10px}
.negotiation-callout,.negotiation-agreed,.negotiation-ended{border-radius:14px;padding:12px 13px;border:1px solid #dce6f2;background:#f8fbff}
.negotiation-callout strong,.negotiation-agreed strong,.negotiation-ended strong{display:block}.negotiation-callout p,.negotiation-agreed p,.negotiation-ended p{margin:5px 0 0;color:#65758b;font-size:11px;line-height:1.45}
.negotiation-agreed{background:#edf9f1;border-color:#ccebd6}.negotiation-agreed small{display:block;color:#2d7a47;font-weight:900;font-size:9px;letter-spacing:.08em}.negotiation-agreed strong{font-size:25px;color:#126d32;margin-top:2px}
.negotiation-ended{background:#f4f5f7;border-color:#d9dde4}
.negotiation-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.negotiation-actions.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.negotiation-actions button{border:1px solid #cedaea;background:#fff;color:#233b5c;border-radius:12px;padding:10px 8px;font-weight:850;min-height:42px}
.negotiation-actions button.primary{background:#0d6efd;color:#fff;border-color:#0d6efd}.negotiation-actions button.danger{background:#fff3f3;color:#b22c39;border-color:#f1c9cf}
.request-negotiation-panel .negotiation-history{margin-top:8px}.drawer-agreed-amount{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:10px 11px;border-radius:12px;background:#edf9f1;border:1px solid #ccebd6}.drawer-agreed-amount span{font-size:10px;color:#477259}.drawer-agreed-amount strong{color:#126d32}
@media(max-width:760px){.negotiation-title-row h3{font-size:18px}.negotiation-actions.three{grid-template-columns:1fr}.negotiation-actions{grid-template-columns:1fr 1fr}.negotiation-values{grid-template-columns:1fr 1fr}.negotiation-round{padding:9px}}
[data-theme="dark-corporate"] .negotiation-round,[data-theme="dark-corporate"] .negotiation-callout,[data-theme="dark-corporate"] .negotiation-ended,[data-theme="dark-corporate"] .negotiation-empty{background:#0b2948;border-color:#245274;color:#e9f4ff}
[data-theme="dark-corporate"] .negotiation-values>div{background:#09223d;border-color:#244b6c}
[data-theme="dark-corporate"] .negotiation-round-head span,[data-theme="dark-corporate"] .negotiation-values small,[data-theme="dark-corporate"] .negotiation-callout p,[data-theme="dark-corporate"] .negotiation-ended p{color:#a8c1d9}
[data-theme="dark-corporate"] .negotiation-actions button:not(.primary):not(.danger){background:#0b2948;border-color:#2b5577;color:#e9f4ff}


/* v0.42 — visible negotiation participation on R&R cards */
.negotiation-card-history{display:grid;gap:5px;margin:8px 0 2px;padding:7px 8px;border:1px solid #dbe5f1;border-radius:11px;background:#f8fbff}
.negotiation-card-round{display:grid;grid-template-columns:minmax(76px,auto) 1fr 18px 1fr;align-items:center;gap:5px;font-size:10px;color:#52657e}
.negotiation-card-round span{font-weight:900;color:#1b3558}
.negotiation-card-round b{font-size:10.5px;color:#162a44;white-space:nowrap}.negotiation-card-round i{text-align:center;font-style:normal;color:#8a9ab0}
.negotiation-turn-banner{border-radius:14px;padding:12px 13px;border:1px solid #cddff6;background:#f4f9ff}
.negotiation-turn-banner>span{display:inline-flex;padding:4px 7px;border-radius:999px;font-size:8.5px;font-weight:950;letter-spacing:.09em;background:#dcecff;color:#0758b5;margin-bottom:6px}
.negotiation-turn-banner strong{display:block;font-size:15px;color:#17375f}.negotiation-turn-banner p{margin:5px 0 0;color:#60738c;font-size:11px;line-height:1.45}
.negotiation-turn-banner.seller-turn{border-color:#c8dcfb;background:#f2f7ff}.negotiation-turn-banner.seller-turn>span{background:#0d6efd;color:#fff}
.negotiation-turn-banner.buyer-turn{border-color:#cfe8dc;background:#f3fbf7}.negotiation-turn-banner.buyer-turn>span{background:#198754;color:#fff}
.negotiation-reply-intro{margin:10px 0 12px;padding:11px 12px;border-radius:13px;border:1px solid #bcd6fb;background:#f2f7ff}
.negotiation-reply-intro span{display:block;font-size:8.5px;font-weight:950;letter-spacing:.09em;color:#0d6efd}.negotiation-reply-intro strong{display:block;margin-top:3px;font-size:14px;color:#17375f}.negotiation-reply-intro p{margin:4px 0 0;font-size:10.5px;line-height:1.45;color:#62748d}
@media(max-width:760px){.negotiation-card-history{margin-top:7px;padding:6px 7px}.negotiation-card-round{grid-template-columns:minmax(68px,auto) 1fr 16px 1fr;font-size:9.5px}.negotiation-card-round b{font-size:9.7px}.negotiation-turn-banner{padding:11px}.negotiation-actions.three{grid-template-columns:1fr}.negotiation-actions.three button{min-height:44px}}
[data-theme="dark-corporate"] .negotiation-card-history,[data-theme="dark-corporate"] .negotiation-turn-banner,[data-theme="dark-corporate"] .negotiation-reply-intro{background:#0b2948;border-color:#28577a;color:#e9f4ff}
[data-theme="dark-corporate"] .negotiation-card-round span,[data-theme="dark-corporate"] .negotiation-card-round b,[data-theme="dark-corporate"] .negotiation-turn-banner strong,[data-theme="dark-corporate"] .negotiation-reply-intro strong{color:#e9f4ff}
[data-theme="dark-corporate"] .negotiation-card-round,[data-theme="dark-corporate"] .negotiation-turn-banner p,[data-theme="dark-corporate"] .negotiation-reply-intro p{color:#a8c1d9}


/* v0.43 — uniform compact card system */
.classic-panel-card{position:relative}
.card-extra[hidden]{display:none!important}
.card-extra{margin-top:8px;padding-top:8px;border-top:1px dashed color-mix(in srgb,var(--line) 75%,transparent)}
.compact-meta{margin-top:7px}
.uniform-card-foot{align-items:center;gap:8px}
.uniform-card-foot>div:first-child{min-width:72px}
.card-view-more{border:0;background:transparent;color:#0b67c9;font-size:10px;font-weight:900;padding:7px 2px;white-space:nowrap}
.card-more-button{min-width:56px}
.archive-mark-indicator{display:none;position:absolute;z-index:8;top:8px;left:50%;transform:translateX(-50%);padding:4px 9px;border-radius:999px;background:#6c7785;color:#fff;font-size:8px;font-weight:900;letter-spacing:.05em;box-shadow:0 3px 10px rgba(25,39,58,.15)}
.classic-panel-card.archive-marked{outline:2px dashed rgba(104,116,131,.58);outline-offset:-4px}
.classic-panel-card.archive-marked .archive-mark-indicator{display:inline-flex}
.negotiation-compact-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px;padding:6px 9px;border-radius:10px;background:#f4f8fd;border:1px solid #dce6f1;color:#53657c;font-size:9.5px}
.negotiation-compact-line strong{font-size:10.5px;color:#183352}.negotiation-compact-line.agreed{background:#edf9f1;border-color:#cdebd7}.negotiation-compact-line.agreed span,.negotiation-compact-line.agreed strong{color:#176c36}
.negotiation-current{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border:1px solid #dce6f1;border-radius:12px;background:#f7faff;font-size:10px}.negotiation-current span{font-weight:900;color:#607089}.negotiation-current strong{color:#173657}.negotiation-current i{font-style:normal;color:#8a9ab0;margin:0 4px}
.negotiation-history-disclosure{border-top:1px solid #e1e8f1;padding-top:8px}.negotiation-history-disclosure summary{cursor:pointer;color:#0c65c3;font-size:10px;font-weight:900;list-style:none}.negotiation-history-disclosure summary::-webkit-details-marker{display:none}.negotiation-history-disclosure[open] summary{margin-bottom:8px}
.negotiation-shell.compact{gap:9px}.negotiation-shell.compact .negotiation-title-row h3{font-size:17px}.negotiation-shell.compact .negotiation-turn-banner{padding:9px 10px}.negotiation-shell.compact .negotiation-turn-banner p{font-size:10px}.negotiation-shell.compact .negotiation-actions button{min-height:38px;padding:8px 7px}.negotiation-shell.compact .form-field input{padding:9px 10px}
[data-theme="dark-corporate"] .negotiation-compact-line,[data-theme="dark-corporate"] .negotiation-current{background:#0b2948;border-color:#28577a;color:#a8c1d9}[data-theme="dark-corporate"] .negotiation-compact-line strong,[data-theme="dark-corporate"] .negotiation-current strong{color:#e9f4ff}
@media(max-width:760px){
  .sheet.sheet--negotiation{left:5%!important;right:5%!important;top:50%!important;bottom:auto!important;width:90%!important;max-height:68vh!important;border-radius:22px!important;transform:translateY(-47%) scale(.985)!important;opacity:0!important}
  .sheet.sheet--negotiation.open{transform:translateY(-50%) scale(1)!important;opacity:1!important}
  .sheet.sheet--negotiation .sheet-handle{display:none!important}.sheet.sheet--negotiation .sheet-head{padding:12px 14px}.sheet.sheet--negotiation .sheet-body{padding:11px 13px 14px}.sheet.sheet--negotiation .form-actions{position:static;background:transparent;padding-top:4px}
  .negotiation-shell.compact .negotiation-actions.three{grid-template-columns:repeat(3,minmax(0,1fr))}.negotiation-shell.compact .negotiation-actions.three button{font-size:9px;min-height:40px;padding:6px 4px}
  .uniform-card-foot{display:flex;justify-content:space-between}.card-foot-actions{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.card-foot-actions .small-button{padding:7px 9px;font-size:9px}.card-view-more{font-size:9px}.card-extra{margin-top:6px;padding-top:6px}
}


/* v0.44 — deliberate card action hierarchy */
.card-extra-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.card-extra-actions .small-button{font-size:9.5px;padding:7px 9px}.transaction-primary-slot{min-width:0}.transaction-primary-slot:empty{display:none}.compact-protection-state{display:inline-flex;margin-top:8px;padding:5px 8px;border-radius:999px;border:1px solid #efc0c6;background:#fff4f5;color:#a31d2b;font-size:9px;font-weight:850}
.catalogue-manage-actions{align-items:flex-end}.card-action-popover-wrap{display:flex;flex-direction:column;align-items:stretch;position:relative;min-width:118px}.card-action-popover-wrap>.small-button{white-space:nowrap}.menu-caret{opacity:.62;margin-left:2px}.card-action-menu{margin-top:5px;border:1px solid #d9e3ef;background:#fff;border-radius:12px;padding:5px;box-shadow:0 10px 24px rgba(12,34,64,.10);display:grid;gap:3px;min-width:210px;z-index:8}.card-action-menu[hidden]{display:none!important}.card-action-menu button{display:grid;grid-template-columns:26px 1fr;align-items:center;gap:7px;text-align:left;border:0;background:transparent;padding:7px 8px;border-radius:9px;color:var(--ink);font-size:10px}.card-action-menu button:hover,.card-action-menu button.active{background:#f1f6fc}.card-action-menu button>span{display:grid;place-items:center;width:24px;height:24px;border-radius:8px;background:#eef4fb;color:#174e91;font-weight:900}.card-action-menu button strong,.card-action-menu button small{display:block}.card-action-menu button small{font-size:8.5px;color:var(--muted);margin-top:1px}.negotiation-more-details-row{display:flex;justify-content:flex-end;margin-top:7px}.buyer-final-decision{display:block;margin-top:5px;color:#245a36!important;font-weight:850}.compact-action-list{display:grid;gap:7px}.compact-action-list button{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:8px;text-align:left;border:1px solid #d9e3ef;background:#fff;border-radius:12px;padding:9px 10px}.compact-action-list button>span{display:block}.compact-action-list strong,.compact-action-list small{display:block}.compact-action-list small{color:var(--muted);font-size:9px;margin-top:2px}.receipt-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #d9e3ef;border-radius:14px;padding:11px 12px;margin-bottom:10px}.receipt-summary strong{font-size:18px}.receipt-summary small,.receipt-summary span{color:var(--muted);font-size:9px}.receipt-timeline{display:grid;gap:7px;margin-top:10px}.receipt-timeline>div{border-left:2px solid #dce6f3;padding:3px 0 5px 10px}.receipt-timeline small,.receipt-timeline strong{display:block}.receipt-timeline p{font-size:10px;color:var(--muted);margin:3px 0 0}
/* Live negotiation control base only — history table remains unchanged elsewhere. */
.sheet.sheet--negotiation{width:min(440px,calc(100vw - 36px));max-height:62vh}.sheet.sheet--negotiation .sheet-head{padding:11px 13px}.sheet.sheet--negotiation .sheet-body{padding:10px 12px 12px}.sheet.sheet--negotiation .negotiation-shell.compact{gap:7px}.sheet.sheet--negotiation .negotiation-current{padding:7px 9px}.sheet.sheet--negotiation .negotiation-turn-banner{padding:8px 9px}.sheet.sheet--negotiation .negotiation-turn-banner p{margin:3px 0 0}.sheet.sheet--negotiation .form-field label{margin-bottom:4px}.sheet.sheet--negotiation .form-field input{padding:8px 9px}.sheet.sheet--negotiation .negotiation-actions{gap:5px}.sheet.sheet--negotiation .negotiation-actions button{min-height:35px;padding:7px 6px}
@media(max-width:760px){.sheet.sheet--negotiation{left:8%!important;right:8%!important;top:50%!important;bottom:auto!important;width:84%!important;max-height:56vh!important;border-radius:20px!important;transform:translateY(-47%) scale(.985)!important}.sheet.sheet--negotiation.open{transform:translateY(-50%) scale(1)!important}.sheet.sheet--negotiation .sheet-head{padding:9px 11px}.sheet.sheet--negotiation .sheet-body{padding:8px 10px 10px}.sheet.sheet--negotiation .negotiation-title-row h3{font-size:15px}.sheet.sheet--negotiation .negotiation-current strong{font-size:11px}.sheet.sheet--negotiation .negotiation-turn-banner strong{font-size:12px}.sheet.sheet--negotiation .negotiation-turn-banner p{font-size:9px}.sheet.sheet--negotiation .negotiation-actions.three{grid-template-columns:repeat(3,minmax(0,1fr))}.sheet.sheet--negotiation .negotiation-actions.three button{font-size:8.5px;min-height:34px}.card-action-menu{min-width:190px}.catalogue-manage-actions{width:100%;justify-content:flex-end;align-items:flex-start}.card-action-popover-wrap{min-width:108px}.transaction-extra-actions{display:grid;grid-template-columns:1fr}.transaction-extra-actions .small-button{width:100%}}
.negotiation-card-final{grid-column:1/-1;font-style:normal;font-size:8.8px;font-weight:850;color:#245a36;margin-top:2px}


/* ==========================================================================
   v0.45 — R&R cleanup + auth-first mobile login
   - Negotiable R&R uses one deep-detail route: More negotiation details.
   - Mobile auth form is visible immediately instead of living below the artwork.
   ========================================================================== */
@media(max-width:760px){
  .auth-screen{
    min-height:100dvh!important;
    overflow-y:auto!important;
    overscroll-behavior-y:contain;
    display:flex!important;
    flex-direction:column;
    background:transparent!important;
    scroll-behavior:auto!important;
  }
  .auth-screen.hidden{display:none!important}
  .auth-art{
    min-height:230px!important;
    height:230px!important;
    flex:0 0 230px!important;
    padding:22px 20px 82px!important;
    justify-content:flex-start!important;
    background-size:cover,500px 417px!important;
  }
  .auth-art .brand--auth{margin-bottom:10px}
  .auth-message{margin-top:10px!important;max-width:360px}
  .auth-message h1{font-size:30px!important;line-height:1.02;margin:6px 0!important}
  .auth-message p{font-size:12px!important;line-height:1.38;margin:0!important;max-width:330px}
  .auth-panel{
    position:relative;
    z-index:3;
    display:block!important;
    margin-top:-70px!important;
    padding:0 12px 28px!important;
    flex:1 0 auto;
  }
  .auth-form-card{
    margin:0 auto!important;
    width:min(520px,100%)!important;
    padding:20px 18px!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.95)!important;
  }
  html[data-tp-theme="dark-corporate"] .auth-form-card{
    background:rgba(7,29,54,.96)!important;
  }
}


/* ==========================================================================
   v0.46 — independent auth viewport + optional signup selfie
   The signed-out experience is a standalone solid screen. The app underneath
   is hidden. Auth artwork uses larger, more spacious theme icons.
   ========================================================================== */
body.auth-active{overflow:hidden!important}
body.auth-active #app{display:none!important}
body.auth-active .auth-screen{display:grid!important}
.auth-screen{position:fixed!important;inset:0!important;z-index:10000!important;overflow-y:auto!important;overscroll-behavior:contain;background-color:#eef6ff!important;background-image:var(--tp-auth-pattern),linear-gradient(145deg,#f9fcff,#eef6ff 52%,#ddecff)!important;background-size:820px 690px,cover!important;background-position:center top,center!important;background-attachment:local,local!important}
.auth-screen.hidden{display:none!important}
.auth-art{background-image:linear-gradient(145deg,rgba(4,20,47,.92),rgba(7,50,105,.86) 62%,rgba(8,84,161,.82)),var(--tp-auth-pattern)!important;background-size:cover,820px 690px!important;background-position:center,center!important}
.signup-selfie-block{margin-top:15px;padding:12px;border:1px solid #d7e2ef;border-radius:15px;background:#f8fbff}
.signup-selfie-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.signup-selfie-head label{margin:0!important}
.signup-selfie-head small{display:block;margin-top:3px;color:#73859c;font-size:9.5px;line-height:1.35}
.signup-selfie-preview{flex:0 0 58px;width:58px;height:58px;border-radius:50%;border:1px dashed #9bb6d6;background:#fff;display:grid;place-items:center;overflow:hidden;color:#2b78d0;font-size:22px}
.signup-selfie-preview img{width:100%;height:100%;object-fit:cover;display:block}
.signup-selfie-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.signup-selfie-actions .small-button{font-size:9px;padding:7px 9px}
.signup-selfie-actions .ghost{background:transparent}
html[data-tp-theme="dark-corporate"] .signup-selfie-block{background:#0a2947;border-color:#2c5273}
html[data-tp-theme="dark-corporate"] .signup-selfie-preview{background:#0e355b;border-color:#50769b}
@media(max-width:760px){
  body.auth-active{position:fixed!important;inset:0!important;width:100%!important}
  body.auth-active #app{display:none!important}
  .auth-screen{display:flex!important;flex-direction:column!important;min-height:100%!important;height:100%!important;overflow-y:auto!important;background-size:650px 545px,cover!important;background-position:center top,center!important}
  .auth-screen.hidden{display:none!important}
  .auth-art{min-height:205px!important;height:205px!important;flex:0 0 205px!important;padding:20px 20px 58px!important;background-size:cover,650px 545px!important;justify-content:flex-start!important}
  .auth-art .brand--auth{margin-bottom:7px!important}
  .auth-message{margin-top:7px!important}
  .auth-message h1{font-size:29px!important;margin:5px 0!important}
  .auth-message p{font-size:11.5px!important;line-height:1.34!important;max-width:330px!important}
  .trust-list{display:none!important}
  .auth-panel{display:block!important;position:relative!important;z-index:3!important;margin-top:-42px!important;padding:0 12px 26px!important;flex:1 0 auto!important;background:transparent!important}
  .auth-form-card{display:block!important;width:100%!important;max-width:560px!important;margin:0 auto!important;padding:19px 17px!important;border-radius:22px!important;background:#fff!important;box-shadow:0 16px 42px rgba(8,35,72,.16)!important}
  html[data-tp-theme="dark-corporate"] .auth-form-card{background:#071d36!important}
  .auth-form-card.is-signup{padding-bottom:24px!important}
  .signup-selfie-head{align-items:flex-start}
  .signup-selfie-preview{width:54px;height:54px;flex-basis:54px}
}


/* ========================================================================== 
   v0.47 — dedicated PHONE auth layout
   Mobile auth is its own single-column screen. It does not inherit desktop
   two-column/grid sizing, cannot pan horizontally, and keeps the form directly
   below the branded hero. Desktop auth remains unchanged.
   ========================================================================== */
@media (max-width:760px){
  html,body{max-width:100%;overflow-x:hidden!important}
  body.auth-active{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    overflow:hidden!important;
  }
  body.auth-active #app{display:none!important}

  .auth-screen{
    position:fixed!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    align-content:start!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior-y:contain!important;
    overscroll-behavior-x:none!important;
    touch-action:pan-y!important;
    -webkit-overflow-scrolling:touch;
    background-color:#eef6ff!important;
    background-image:var(--tp-auth-pattern),linear-gradient(145deg,#f9fcff,#eef6ff 52%,#ddecff)!important;
    background-size:650px 545px,cover!important;
    background-position:center top,center!important;
  }
  .auth-screen.hidden{display:none!important}

  .auth-art{
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    min-width:0!important;
    min-height:176px!important;
    height:auto!important;
    padding:18px 18px 34px!important;
    display:block!important;
    background-image:linear-gradient(145deg,rgba(4,20,47,.94),rgba(7,50,105,.88) 62%,rgba(8,84,161,.84)),var(--tp-auth-pattern)!important;
    background-size:cover,650px 545px!important;
    background-position:center,center!important;
    overflow:hidden!important;
  }
  .auth-art .brand--auth{margin:0 0 7px!important;min-width:0!important}
  .auth-art .brand--auth strong{font-size:26px!important}
  .auth-art .brand--auth small{font-size:10px!important}
  .auth-art .brand-logo-large{flex:0 0 auto!important}
  .auth-art .tp-logo{max-width:66px!important}
  .auth-message{margin:6px 0 0!important;max-width:100%!important;min-width:0!important}
  .auth-message .eyebrow{font-size:8.5px!important;letter-spacing:1.5px!important}
  .auth-message h1{font-size:27px!important;line-height:1.04!important;letter-spacing:-.8px!important;margin:5px 0!important}
  .auth-message p{font-size:11px!important;line-height:1.34!important;margin:0!important;max-width:330px!important}
  .trust-list{display:none!important}

  .auth-panel{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    display:block!important;
    position:relative!important;
    z-index:3!important;
    margin:-20px 0 0!important;
    padding:0 10px 24px!important;
    background:transparent!important;
    overflow:visible!important;
  }
  .auth-form-card{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:16px 14px 20px!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 12px 30px rgba(8,35,72,.14)!important;
    overflow:hidden!important;
  }
  html[data-tp-theme="dark-corporate"] .auth-form-card{background:#071d36!important}
  .auth-form-card h2{font-size:24px!important;line-height:1.12!important;margin:6px 0 4px!important}
  .auth-form-card>p{font-size:11px!important;line-height:1.4!important;margin:0 0 8px!important}
  .auth-form-card label{font-size:11px!important;margin:11px 0 6px!important}
  .auth-form-card input{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    padding:11px 12px!important;
    font-size:16px!important;
  }
  .auth-mode-switch{
    width:100%!important;
    min-width:0!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:5px!important;
    margin-bottom:12px!important;
  }
  .auth-mode-switch button{
    min-width:0!important;
    width:100%!important;
    padding:8px 6px!important;
    font-size:12px!important;
    white-space:normal!important;
  }
  .role-switch{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:5px!important;
    overflow:hidden!important;
  }
  .role-switch button{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    padding:8px 4px!important;
    font-size:10px!important;
    line-height:1.12!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  .signup-name-grid{grid-template-columns:1fr!important;gap:0!important}
  .signup-selfie-block{padding:10px!important;margin-top:12px!important}
  .signup-selfie-head{gap:8px!important;min-width:0!important}
  .signup-selfie-head>div:first-child{min-width:0!important}
  .signup-selfie-head small{font-size:9px!important}
  .signup-selfie-preview{width:50px!important;height:50px!important;flex:0 0 50px!important}
  .signup-selfie-actions{gap:5px!important}
  .signup-selfie-actions .small-button{font-size:8.5px!important;padding:6px 7px!important}
  .primary-button{padding:11px 12px!important;margin-top:14px!important;font-size:14px!important}
  .auth-footnote{font-size:9px!important;line-height:1.35!important;margin:12px 4px 0!important}
}

@media (max-width:380px){
  .auth-art{padding-left:15px!important;padding-right:15px!important;min-height:168px!important}
  .auth-message h1{font-size:25px!important}
  .auth-panel{padding-left:8px!important;padding-right:8px!important}
  .auth-form-card{padding-left:12px!important;padding-right:12px!important}
  .role-switch button{font-size:9px!important;padding-left:2px!important;padding-right:2px!important}
}


/* ================================================================
   v0.48 — canonical pricing modes
   ================================================================ */
.catalogue-price-stack{display:flex;flex-direction:column;align-items:flex-end;gap:1px;white-space:nowrap}
.catalogue-price-stack strong{font-size:13px;color:#153a61;font-weight:900}
.catalogue-price-stack small{font-size:8px;color:#6f8499;font-weight:800}
.catalogue-price-stack small:first-child{text-decoration:line-through;color:#9aa9b8}
.request-pricing-box{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 12px;padding:10px;border:1px solid #d7e3ef;border-radius:14px;background:#f7fbff}
.request-pricing-box>div{min-width:0}.request-pricing-box small{display:block;font-size:7.5px;text-transform:uppercase;letter-spacing:.06em;color:#8293a7;font-weight:850}.request-pricing-box strong{display:block;margin-top:2px;font-size:11px;color:#214a74}.request-pricing-box p{grid-column:1/-1;margin:2px 0 0;font-size:8.5px;line-height:1.4;color:#647a92}
.pricing-reply-lock{display:grid;gap:3px;margin:0 0 11px;padding:10px 12px;border:1px solid #cfe0f0;border-radius:13px;background:#f6faff}.pricing-reply-lock span{font-size:7px;letter-spacing:.08em;font-weight:950;color:#2d6fae}.pricing-reply-lock strong{font-size:15px;color:#173f69}.pricing-reply-lock small{font-size:8.5px;color:#73879c}
.pricing-editor-compact{max-width:520px;margin:0 auto}.pricing-editor-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 2px 10px}.pricing-editor-head span{font-size:9px;color:#73869a}.pricing-editor-head strong{font-size:16px;color:#173f69}.pricing-edit-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.pricing-edit-mode-card{display:grid;grid-template-columns:32px 1fr;align-items:center;gap:8px;min-width:0;border:1px solid #d6e2ee;border-radius:13px;background:#fff;padding:9px;text-align:left;color:#244d76;cursor:pointer}.pricing-edit-mode-card.active{border-color:#2b84e8;background:#edf6ff;box-shadow:0 0 0 1px rgba(43,132,232,.12)}.pricing-edit-mode-card i{display:grid;place-items:center;width:30px;height:30px;border-radius:10px;background:#edf4fb}.pricing-edit-mode-card i svg{width:17px;height:17px}.pricing-edit-mode-card span{min-width:0}.pricing-edit-mode-card strong{display:block;font-size:10px}.pricing-edit-mode-card small{display:block;margin-top:1px;font-size:7px;color:#8393a5;line-height:1.25}.pricing-editor-hint{display:block;margin:9px 1px;color:#667d94;font-size:8.5px;line-height:1.4}.pricing-editor-preview{display:flex;flex-direction:column;gap:2px;margin:10px 0;padding:10px 12px;border-radius:13px;background:#f3f8fd;border:1px solid #d9e5ef}.pricing-editor-preview small{font-size:7.5px;text-transform:uppercase;letter-spacing:.06em;color:#8293a6}.pricing-editor-preview strong{font-size:15px;color:#1764af}.pricing-editor-preview span{font-size:8px;color:#6f8297}.pricing-editor-compact [data-pricing-discount][hidden],.pricing-editor-compact [data-pricing-dmp][hidden]{display:none!important}.pricing-editor-compact input[readonly]{background:#f3f6f9;color:#536a82;cursor:not-allowed}.pricing-note-field{margin-top:4px}
@media(max-width:760px){.request-pricing-box{grid-template-columns:1fr 1fr}.request-pricing-box>div:nth-child(3){grid-column:1/-1}.pricing-editor-compact{max-width:none}.pricing-edit-mode-grid{gap:6px}.pricing-edit-mode-card{grid-template-columns:28px 1fr;padding:8px}.pricing-edit-mode-card i{width:27px;height:27px}.catalogue-price-stack strong{font-size:12px}}

/* v0.49 — DMP quantity is explicit, never silently assumed */
.dmp-min-qty-field{margin-top:2px;padding:10px 12px;border:1px solid #cfe0f0;border-radius:12px;background:#f7fbff}
.dmp-min-qty-field label{color:#214e79}
.dmp-min-qty-field small{display:block;margin-top:5px;color:#6d8198;font-size:9px;line-height:1.35}
.dmp-min-qty-field input{width:100%}
[data-new-pricing-dmp]:not([hidden]),[data-pricing-dmp]:not([hidden]){display:block!important}


/* v0.50 — DMP minimum quantity: explicit, phone-visible, exact persistence */
.dmp-min-qty-standalone{
  display:block;
  margin:9px 0 4px;
  width:100%;
  box-sizing:border-box;
}
.dmp-min-qty-standalone[hidden]{display:none!important}
.dmp-min-qty-standalone input{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  .pricing-editor-compact .dmp-min-qty-standalone,
  .listing-wizard-form .dmp-min-qty-standalone{
    width:100%!important;
    max-width:none!important;
    grid-column:1/-1!important;
    margin:8px 0 5px!important;
    padding:10px 11px!important;
    overflow:visible!important;
  }
  .pricing-editor-compact .dmp-min-qty-standalone:not([hidden]),
  .listing-wizard-form .dmp-min-qty-standalone:not([hidden]){
    display:block!important;
  }
  .pricing-editor-compact .dmp-min-qty-standalone input,
  .listing-wizard-form .dmp-min-qty-standalone input{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    min-height:42px!important;
    font-size:16px!important;
  }
}

/* v0.52 — catalogue pricing mode editor */
.pricing-mode-menu .pricing-menu-icon{
  display:grid!important;
  place-items:center;
  width:26px!important;
  height:26px!important;
  border-radius:8px;
  background:#eef4fb!important;
  color:#174e91!important;
}
.pricing-mode-menu .pricing-menu-icon svg{width:16px;height:16px;display:block}
.pricing-editor-compact [data-pricing-note][hidden]{display:none!important}
.catalogue-manage-actions .card-action-popover-wrap{z-index:12}
.catalogue-manage-actions .card-action-menu{transform-origin:top center}
@media(max-width:760px){
  .catalogue-manage-actions{gap:6px}
  .catalogue-manage-actions .card-action-popover-wrap{min-width:110px}
  .catalogue-manage-actions .card-action-menu{min-width:205px;max-width:min(78vw,230px)}
  .pricing-editor-compact{width:100%}
}

/* ===== v0.54 Service Foundation ===== */
.service-listing-card .service-rate-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:10px}
.service-listing-card .service-rate-grid .pricing-edit-mode-card{grid-template-columns:28px minmax(0,1fr);padding:8px;min-height:52px}
.service-listing-card .service-rate-grid .pricing-edit-mode-card i{width:27px;height:27px}
.service-listing-card .service-rate-grid .pricing-edit-mode-card b{display:block;font-size:9px;color:#244d76}
.service-listing-card .service-rate-grid .pricing-edit-mode-card small{font-size:7px;color:#7c8da0;line-height:1.25}
.service-discount-field{margin:8px 0}.service-discount-field[hidden]{display:none!important}
.service-delivery-grid{margin-top:8px}
.service-availability-preview{display:grid;gap:3px;margin-top:10px;padding:10px 12px;border:1px solid #d8e5ef;border-radius:13px;background:#f5f9fd;color:#49647e}
.service-availability-preview small{font-size:7px;text-transform:uppercase;letter-spacing:.08em;color:#7c90a3}.service-availability-preview strong{font-size:10px;color:#1d5e98}.service-availability-preview span{font-size:7.5px;color:#6f8297}
.service-availability-preview.instant{background:#f1fbf5;border-color:#cfead8}.service-availability-preview.instant strong{color:#1d7a45}
.service-availability-preview.time_bound{background:#fff9ed;border-color:#f0dfb6}.service-availability-preview.time_bound strong{color:#9b6712}
.service-availability-preview.scheduled{background:#f6f7fa;border-color:#dfe3e9}.service-availability-preview.scheduled strong{color:#5a6776}
.service-foundation-note{margin-top:10px;padding:9px 10px;border-radius:11px;background:#f4f7fa;border:1px dashed #ccd7e2;color:#718398;font-size:7.5px;line-height:1.4;text-align:center}
.service-foundation-disabled{opacity:.65;cursor:default}.service-foundation-actions .small-button[disabled]{opacity:.72}
@media(max-width:760px){.service-listing-card .service-rate-grid{grid-template-columns:1fr;gap:5px}.service-listing-card .service-rate-grid .pricing-edit-mode-card{min-height:44px}.service-listing-card .service-rate-grid .pricing-edit-mode-card small{display:inline;margin-left:4px}.service-listing-card .service-rate-grid .pricing-edit-mode-card span{display:flex;align-items:baseline;gap:3px;min-width:0}.service-listing-card .service-delivery-grid{grid-template-columns:1fr 1fr}}


/* ===== v0.54.1 Service Foundation polish ===== */
.service-title-label{
  display:inline-flex;align-items:center;margin-right:5px;padding:2px 6px;border-radius:999px;
  background:#e8f3ff;border:1px solid #b8d9ff;color:#0b67c9;font-size:.72em;font-weight:950;
  letter-spacing:.02em;vertical-align:middle;white-space:nowrap;
}
.service-title-separator{color:#8aa0b8;margin-right:5px;font-weight:800}
html[data-tp-theme="dark-corporate"] .service-title-label{background:#0d3f70;border-color:#236aa8;color:#8dcbff}
.listing-photo-thumb--file{background:#edf4fb}
.listing-photo-file-fallback{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px;text-align:center;color:#35628f}
.listing-photo-file-fallback strong{font-size:9px;letter-spacing:.08em}
.listing-photo-file-fallback small{max-width:100%;font-size:7px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mobile-more-lines{display:grid;gap:4px;width:22px}
.mobile-more-lines i{display:block;width:22px;height:2px;border-radius:999px;background:currentColor}
.mobile-more-top{letter-spacing:0!important}


/* ===== v0.55 Service Enquiries & Provider Queue ===== */
.service-catalogue-card .card-title-row h3 .service-title-label{
  display:inline-flex!important;align-items:center!important;padding:2px 7px!important;margin-right:5px!important;
  border:1px solid #8fc5ff!important;border-radius:999px!important;background:#dff0ff!important;
  color:#0564c8!important;font-size:.72em!important;font-weight:950!important;line-height:1.2!important;
  -webkit-text-fill-color:#0564c8!important;letter-spacing:.025em!important;vertical-align:middle!important;
}
html[data-tp-theme="dark-corporate"] .service-catalogue-card .card-title-row h3 .service-title-label{
  background:#103f70!important;border-color:#2e7fc4!important;color:#9bd2ff!important;-webkit-text-fill-color:#9bd2ff!important;
}
.service-request-button{box-shadow:0 2px 8px rgba(13,110,253,.14)}
.service-agreement-ready{background:#eef7ff!important;border-color:#b9daf8!important;color:#24669b!important;opacity:1!important}
.service-availability-action-menu button{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;text-align:left!important;gap:7px!important;align-items:center!important}
.service-availability-action-menu button .menu-icon{font-size:13px;text-align:center;color:#1c6fb8}.service-availability-action-menu button b{display:block}.service-availability-action-menu button small{display:block;margin-top:1px;color:#7b8b9f;font-size:8px;font-weight:600;white-space:normal}
.service-live-hour-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.service-live-hour-grid button{border:1px solid #d6e4f2;border-radius:14px;background:#f8fbff;padding:13px;text-align:left;color:#264867}.service-live-hour-grid button:hover{border-color:#7eb9ef;background:#eef7ff}.service-live-hour-grid strong,.service-live-hour-grid small{display:block}.service-live-hour-grid small{margin-top:3px;color:#7b8b9f;font-size:9px}
.service-request-card .meta-pill.warning{background:#fff6e5;border-color:#f7d799;color:#986000}
@media(max-width:760px){.service-live-hour-grid{grid-template-columns:1fr 1fr}.service-catalogue-card .card-title-row h3 .service-title-label{font-size:.7em!important;padding:2px 6px!important}}

/* ===== v0.56 Service R&R role-aware polish ===== */
.service-intent-comment{margin:7px 0 8px;font-size:12.5px;line-height:1.42;color:var(--muted,#64748b);max-width:760px}
.service-request-card.request-card--seller .service-intent-comment{color:var(--text,#172033)}
.service-request-brief{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0}
.service-request-brief>div{border:1px solid rgba(100,116,139,.18);border-radius:10px;padding:8px 9px;background:rgba(248,250,252,.76);display:grid;gap:3px}
.service-request-brief>div.span-2{grid-column:1/-1}
.service-request-brief small{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted,#64748b)}
.service-request-brief strong{font-size:12px;line-height:1.35;font-weight:700;color:var(--text,#172033);white-space:normal}
.catalogue-deep-more{display:flex;justify-content:flex-end;margin-top:9px;padding-top:8px;border-top:1px solid rgba(100,116,139,.14)}
.drawer-detail-section{padding:0 0 12px;margin:0 0 12px;border-bottom:1px solid rgba(100,116,139,.16)}
.drawer-detail-section:last-of-type{border-bottom:0}
.drawer-detail-section h4{margin:0 0 8px;font-size:11px;text-transform:uppercase;letter-spacing:.07em;color:var(--accent,#1769e0)}
.detail-grid.compact{gap:8px}
.detail-grid.compact .detail-block{padding:9px 10px;min-height:0}
.detail-block-wide{margin-top:8px;padding:10px!important}
.drawer-status-summary{border:1px solid rgba(23,105,224,.22);border-radius:12px;padding:10px 11px;margin-bottom:12px;background:rgba(23,105,224,.06)}
.drawer-status-summary strong{display:block;font-size:13px;color:var(--text,#172033)}
.drawer-status-summary p{margin:4px 0 0;font-size:12px;line-height:1.42;color:var(--muted,#64748b)}
.drawer-status-summary.attention{border-color:rgba(245,158,11,.34);background:rgba(245,158,11,.08)}
.drawer-status-summary.success{border-color:rgba(34,197,94,.3);background:rgba(34,197,94,.07)}
.drawer-status-summary.muted{border-color:rgba(100,116,139,.24);background:rgba(100,116,139,.06)}
.structured-actions{padding-top:4px}
.service-response-context{display:grid;gap:8px;margin-bottom:13px;padding:11px;border:1px solid rgba(23,105,224,.2);border-radius:13px;background:rgba(23,105,224,.055)}
.service-response-context>div:first-child{display:grid;gap:2px}
.service-response-context>div:first-child small,.form-section-title{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--accent,#1769e0)}
.service-response-context>div:first-child strong{font-size:15px;color:var(--text,#172033)}
.form-section-title{margin:2px 0 8px}
.service-response-note{margin-top:10px}
[data-tp-theme="dark-corporate"] .service-request-brief>div{background:rgba(15,31,55,.76);border-color:rgba(148,163,184,.2)}
[data-tp-theme="dark-corporate"] .service-request-brief strong,[data-tp-theme="dark-corporate"] .drawer-status-summary strong,[data-tp-theme="dark-corporate"] .service-response-context>div:first-child strong{color:#eef5ff}
[data-tp-theme="dark-corporate"] .service-intent-comment{color:#c7d5e8}
@media(max-width:620px){.service-request-brief{grid-template-columns:1fr}.service-request-brief>div.span-2{grid-column:auto}.drawer-detail-section .detail-grid.compact{grid-template-columns:1fr 1fr}.service-intent-comment{font-size:12px}}

/* v0.57 — provider response state clarity */
.request-stage.attention{font-weight:800}.request-card--seller .small-button.primary[data-action="respond-service"]{font-weight:800}
