:root{
  --brand:#ea580c; --brand-d:#c2410c; --brand-l:#fff4ed; --brand2:#c2410c; --gold:#f59e0b;
  --ink:#1c1917; --ink2:#57534e; --ink3:#a8a29e;
  --line:#e7e1db; --bg:#faf8f5; --card:#fff;
  --ok:#16a34a; --ok-l:#dcfce7; --warn:#d97706; --warn-l:#fef3c7; --bad:#dc2626; --bad-l:#fee2e2;
  --r:10px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--bg);line-height:1.45}
a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{margin:0 0 .5em;line-height:1.25}
.muted{color:var(--ink2)} .small{font-size:12px} .nowrap{white-space:nowrap}
.hide{display:none!important}

/* top bar */
.topbar{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:10px 20px}
.logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:19px;color:var(--ink);letter-spacing:-.3px}
.logo:hover{text-decoration:none}
.logo .mk{width:34px;height:34px;display:block}
.logo b{background:linear-gradient(90deg,#f97316,#ea580c);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:900}
.topbar .spacer{flex:1}
.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;background:var(--brand-l);color:var(--brand-d);font-weight:600;font-size:12px;white-space:nowrap}
.chip.ok{background:var(--ok-l);color:#166534}.chip.warn{background:var(--warn-l);color:#92400e}.chip.bad{background:var(--bad-l);color:#991b1b}.chip.grey{background:#f1f5f9;color:var(--ink2)}
.meter{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink2);white-space:nowrap}
.meter .bar{width:90px;height:6px;border-radius:9px;background:#e2e8f0;overflow:hidden}
.meter .bar i{display:block;height:100%;background:var(--brand);border-radius:9px}

/* buttons & inputs */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);background:#fff;color:var(--ink);padding:8px 14px;border-radius:8px;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap}
.btn:hover{background:#f8fafc;text-decoration:none}
.btn.primary{background:linear-gradient(135deg,#f97316,#ea580c);border-color:transparent;color:#fff}.btn.primary:hover{filter:brightness(1.08)}
.btn.danger{color:var(--bad);border-color:#fecaca}.btn.danger:hover{background:var(--bad-l)}
.btn.sm{padding:5px 10px;font-size:12px}
.btn.ghost{border-color:transparent;background:transparent}
.btn:disabled{opacity:.5;cursor:not-allowed}
input,select,textarea{font:inherit;color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:8px 10px;background:#fff;outline:none;min-width:0}
input:focus,select:focus,textarea:focus{border-color:#f97316;box-shadow:0 0 0 3px #ffedd5}
label.f{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--ink2)}
label.f input,label.f select,label.f textarea{font-weight:400;font-size:14px}

/* layout */
.wrap{max-width:1500px;margin:0 auto;padding:16px 20px 40px}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px}
.grid{display:grid;gap:12px}
.footer{text-align:center;color:var(--ink3);font-size:12px;padding:20px}
.footer a{color:var(--ink2);margin:0 8px}

/* filters */
.filters{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
.frow{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.search{flex:1 1 320px;position:relative}
.search input{width:100%;padding-left:34px;height:40px;font-size:15px}
.search svg{position:absolute;left:11px;top:12px;color:var(--ink3)}
.seg{display:inline-flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff}
.seg button{border:0;background:transparent;padding:8px 12px;font:inherit;font-weight:600;color:var(--ink2);cursor:pointer;border-right:1px solid var(--line);white-space:nowrap}
.seg button:last-child{border-right:0}
.seg button.on{background:var(--brand);color:#fff}
.frow select,.frow input{height:36px}
.frow input[type=number]{width:110px}
.frow input[type=date]{width:140px}
.frow .lbl{font-size:12px;color:var(--ink2);font-weight:600}

/* table */
.tablebox{background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:auto;max-height:calc(100vh - 250px)}
table.x{border-collapse:separate;border-spacing:0;width:100%;font-size:13px}
table.x th{position:sticky;top:0;z-index:2;background:#f8fafc;text-align:left;font-weight:700;color:var(--ink2);font-size:12px;text-transform:uppercase;letter-spacing:.3px;padding:10px 10px;border-bottom:1px solid var(--line);white-space:nowrap}
table.x th.sort{cursor:pointer;user-select:none}
table.x th.sort:hover{color:var(--brand)}
table.x td{padding:9px 10px;border-bottom:1px solid #f1f5f9;vertical-align:middle;white-space:nowrap}
table.x tr:hover td{background:#fffbf7}
table.x td.desc{white-space:normal;min-width:220px;max-width:340px;color:var(--ink2)}
table.x td.desc span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
table.x td.num{text-align:right;font-variant-numeric:tabular-nums}
table.x .id{font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px;color:var(--ink2)}
.price{font-weight:700}
.tag{display:inline-block;padding:2px 8px;border-radius:6px;font-size:11px;font-weight:700}
.tag.rent{background:#e0f2fe;color:#075985}.tag.sale{background:#fce7f3;color:#9d174d}.tag.other{background:#f1f5f9;color:#334155}
.phone-hidden{font-family:ui-monospace,monospace;color:var(--ink3);letter-spacing:1px;margin-right:6px}
.phone{font-weight:700;color:var(--ink)}
.wa{color:#16a34a;font-weight:700;font-size:12px;margin-left:6px}
.empty{padding:50px;text-align:center;color:var(--ink2)}
.pager{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 2px;flex-wrap:wrap}

/* banner */
.banner{padding:10px 14px;border-radius:8px;margin-bottom:12px;font-weight:600;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.banner.bad{background:var(--bad-l);color:#991b1b}.banner.warn{background:var(--warn-l);color:#92400e}

/* modal */
.modal-bg{position:fixed;inset:0;background:rgba(15,23,42,.45);display:flex;align-items:center;justify-content:center;z-index:50;padding:16px}
.modal{background:#fff;border-radius:14px;width:100%;max-width:560px;max-height:90vh;overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.25)}
.modal .mh{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--line)}
.modal .mb{padding:18px}
.modal .mf{padding:12px 18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:8px}
.kv{display:grid;grid-template-columns:140px 1fr;gap:8px 12px}
.kv dt{color:var(--ink2);font-size:12px;font-weight:600}
.kv dd{margin:0}

/* toast */
#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#0f172a;color:#fff;padding:10px 16px;border-radius:8px;font-weight:600;z-index:100;opacity:0;transition:opacity .2s;pointer-events:none;max-width:90vw}
#toast.show{opacity:1}#toast.err{background:#b91c1c}#toast.ok{background:#15803d}

/* auth */
.auth{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(900px 420px at 15% -5%,#fed7aa,transparent),radial-gradient(700px 380px at 100% 100%,#fde68a55,transparent),var(--bg)}
.auth .logo .mk{width:44px;height:44px}
.auth .box{width:100%;max-width:400px}
.auth .card{padding:28px;box-shadow:0 10px 40px rgba(120,53,15,.08)}
.auth .logo{justify-content:center;font-size:24px;margin-bottom:6px}
.auth .tag-line{text-align:center;color:var(--ink2);margin-bottom:22px}
.auth form{display:flex;flex-direction:column;gap:14px}
.auth input{height:44px;font-size:15px}
.auth .btn{height:44px;font-size:15px}
.err-msg{background:var(--bad-l);color:#991b1b;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:600}
.info-msg{background:var(--warn-l);color:#92400e;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:600}

/* profile */
.pgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.stat{font-size:28px;font-weight:800;letter-spacing:-.5px}
.areas{display:flex;flex-wrap:wrap;gap:6px}

/* static pages */
.doc{max-width:820px;margin:0 auto;padding:24px 20px 40px}
.doc .card{padding:28px}
.doc h2{margin-top:1.4em;font-size:17px}
.doc p,.doc li{color:#334155}

/* admin */
.admin{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 53px)}
.side{background:#fff;border-right:1px solid var(--line);padding:12px 10px;position:sticky;top:53px;height:calc(100vh - 53px);overflow:auto}
.side a{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;border-radius:8px;color:var(--ink2);font-weight:600;margin-bottom:2px}
.side a:hover{background:#f8fafc;text-decoration:none}
.side a.on{background:var(--brand-l);color:var(--brand-d)}
.side .count{font-size:11px;background:#f1f5f9;color:var(--ink2);padding:1px 7px;border-radius:99px}
.side a.on .count{background:#fff}
.side .count.warn{background:var(--warn-l);color:#92400e}
.main{padding:20px;min-width:0}
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;margin-bottom:16px}
.cards .card .t{font-size:12px;color:var(--ink2);font-weight:600}
.drop{border:2px dashed #fdc9a3;border-radius:12px;padding:30px;text-align:center;background:#fffaf5;cursor:pointer}
.drop.over{background:var(--brand-l);border-color:var(--brand)}
.form2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.form2 .full{grid-column:1/-1}
.section-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px;flex-wrap:wrap}

@media (max-width:900px){
  .admin{grid-template-columns:1fr}
  .side{position:static;height:auto;display:flex;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}
  .side a{white-space:nowrap}
  .pgrid,.form2{grid-template-columns:1fr}
  .topbar{padding:10px 12px;gap:8px;flex-wrap:wrap}
  .wrap{padding:12px}
  .tablebox{max-height:none}
  .hide-m{display:none!important}
}
@media (max-width:900px){ .seg{max-width:100%;overflow-x:auto} .frow input[type=date]{width:130px} }


/* ================= Broker card view ================= */
.bar2{position:sticky;top:57px;z-index:15;background:var(--bg);box-shadow:0 0 0 100vmax var(--bg);clip-path:inset(0 -100vmax);padding:12px 0 10px;margin:-4px 0 6px}
.sbox{position:relative}
.sbox input{width:100%;height:48px;border-radius:12px;padding-left:44px;font-size:15px;border:1px solid #e7e1db;box-shadow:0 1px 2px rgba(16,24,40,.04)}
.sbox svg{position:absolute;left:15px;top:15px;color:#a8a29e}
.chips{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none;align-items:center}
.chips::-webkit-scrollbar{display:none}
.pill{flex:0 0 auto;height:36px;padding:0 14px;border-radius:999px;border:1px solid #e7e1db;background:#fff;font:inherit;font-weight:600;color:#44403c;cursor:pointer;white-space:nowrap}
.pill.on{background:#1c1917;border-color:#1c1917;color:#fff}
select.pill{appearance:none;-webkit-appearance:none;padding-right:30px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6488' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center}
select.pill.on{background-color:#1c1917;color:#fff}
input.pill[type=date]{padding:0 10px}
.vsep{width:1px;height:22px;background:#e7e1db;flex:0 0 auto}
.resbar{display:flex;justify-content:space-between;align-items:center;margin:4px 2px 12px;color:var(--ink2)}
.resbar b{color:var(--ink)}
.linkbtn{background:none;border:0;color:var(--brand);font:inherit;font-weight:600;cursor:pointer;padding:0}

.pgrid2{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:16px}
.pc{background:#fff;border:1px solid #ece7e2;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:12px;box-shadow:0 1px 3px rgba(28,25,23,.04);transition:box-shadow .15s,transform .15s}
.pc:hover{box-shadow:0 10px 30px rgba(120,53,15,.10);transform:translateY(-1px)}
.pc-top{display:flex;align-items:center;gap:8px}
.pc-top .date{margin-left:auto;font-size:12px;color:var(--ink3);font-weight:600}
.badge{font-size:11px;font-weight:800;letter-spacing:.3px;text-transform:uppercase;padding:4px 9px;border-radius:7px}
.badge.rent{background:#e0f2fe;color:#075985}.badge.sale{background:#ffe4e6;color:#9f1239}.badge.other{background:#f1f5f9;color:#334155}
.badge.new{background:#fef3c7;color:#92400e}
.pc-title{font-size:18px;font-weight:800;letter-spacing:-.2px;line-height:1.25}
.pc-loc{display:flex;align-items:center;gap:5px;color:var(--ink2);font-weight:600;margin-top:3px}
.pc-price{font-size:24px;font-weight:900;letter-spacing:-.5px;color:#1c1917}
.pc-price small{font-size:13px;font-weight:600;color:var(--ink3);letter-spacing:0}
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.fact{background:#faf7f4;border-radius:10px;padding:8px 10px}
.fact .k{font-size:11px;color:var(--ink3);font-weight:700;text-transform:uppercase;letter-spacing:.3px}
.fact .v{font-weight:700;margin-top:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-desc{color:#57534e;font-size:13.5px}
.pc-desc.clamp{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pc-owner{display:flex;align-items:center;gap:10px;padding-top:12px;border-top:1px dashed #ebe4de}
.av{width:36px;height:36px;border-radius:50%;background:#ffedd5;color:#ea580c;display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.pc-owner .nm{font-weight:700;line-height:1.2}
.pc-owner .ph{font-family:ui-monospace,Menlo,monospace;color:var(--ink3);font-size:13px;letter-spacing:1px}
.pc-owner .ph.show{color:var(--ink);font-weight:800;letter-spacing:.3px;font-family:inherit;font-size:15px}
.pc-actions{display:flex;gap:8px;margin-top:auto}
.pc-actions .btn{flex:1;height:44px;border-radius:11px;font-size:14px}
.btn.call{background:#1c1917;border-color:#1c1917;color:#fff}
.btn.wa{background:#16a34a;border-color:#16a34a;color:#fff}
.pc-id{font-size:11px;color:var(--ink3);font-family:ui-monospace,Menlo,monospace}
.more{display:flex;justify-content:center;margin:22px 0}
.empty2{background:#fff;border:1px dashed #e2dad2;border-radius:16px;padding:50px 20px;text-align:center;color:var(--ink2)}
.cpill{display:inline-flex;align-items:center;gap:6px;background:#fff4ed;color:#c2410c;font-weight:700;font-size:12px;padding:6px 11px;border-radius:999px;white-space:nowrap}
.cpill i{font-style:normal;color:#c2410c;font-weight:600}
.iconbtn{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;display:grid;place-items:center;cursor:pointer;color:var(--ink)}
.iconbtn:hover{text-decoration:none;background:#f8fafc}
.topbar{padding:10px 20px;min-height:57px}

@media (max-width:640px){
  .topbar{flex-wrap:nowrap;padding:8px 12px}
  .logo{font-size:17px}.logo .mk{width:30px;height:30px}
  .bar2{top:57px;padding-top:10px}
  .pgrid2{grid-template-columns:1fr;gap:12px}
  .pc{padding:16px;border-radius:14px}
  .pc-price{font-size:22px}
  .wrap{padding:8px 12px 30px}
  .hide-s{display:none!important}
}

/* ================= Broker list view (Excel-style, tall rows) ================= */
.lst{background:#fff;border:1px solid #ece7e2;border-radius:14px;overflow:hidden;box-shadow:0 1px 3px rgba(28,25,23,.04)}
.lh,.lr{display:grid;grid-template-columns:76px minmax(200px,2fr) 112px 84px 104px 78px 88px minmax(270px,1.8fr);gap:14px;align-items:center;padding:0 16px}
.lh{height:44px;background:#faf7f4;border-bottom:1px solid #ece7e2;font-size:11px;font-weight:800;color:#78716c;text-transform:uppercase;letter-spacing:.4px}
.lh .s{cursor:pointer;user-select:none}.lh .s:hover{color:var(--brand)}
.lr{min-height:96px;padding:14px 16px;border-top:1px solid #f3eee9}
.lr:first-of-type{border-top:0}
.lr:hover{background:#fffbf7}
.c-meta{display:contents}
.th{width:76px;height:64px;border-radius:10px;background:#fff7f0;border:1.5px dashed #fdc9a3;display:grid;place-items:center;color:#ea8a4c;position:relative;overflow:hidden;cursor:pointer;padding:0}
.th.has{border:0;background:#eee}
.th img{width:100%;height:100%;object-fit:cover;display:block}
.th .n{position:absolute;right:4px;bottom:4px;background:rgba(28,25,23,.72);color:#fff;font-size:10px;font-weight:700;padding:1px 6px;border-radius:6px}
.th small{display:block;font-size:9.5px;font-weight:700;margin-top:-2px}
.c-main .t{font-weight:800;font-size:15px;line-height:1.25}
.c-main .l{display:flex;align-items:center;gap:4px;color:var(--ink2);font-weight:600;font-size:13px;margin-top:2px}
.c-main .d{color:#6b625b;font-size:12.5px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer}
.c-main .d.open{white-space:normal}
.c-main .i{font-size:11px;color:var(--ink3);font-family:ui-monospace,Menlo,monospace;margin-top:4px}
.c-price{font-weight:900;font-size:16px;color:#1c1917;white-space:nowrap}
.c-price small{display:block;font-size:11px;color:var(--ink3);font-weight:600}
.c-fu b,.c-area b,.c-date b{display:block;font-weight:700}
.c-fu span,.c-area span,.c-date span{display:block;font-size:12px;color:var(--ink3)}
.c-own{display:flex;align-items:center;gap:10px;justify-content:space-between}
.c-own .nm{font-weight:700;line-height:1.25}
.c-own .ph{font-size:13px;color:var(--ink3);letter-spacing:1px;font-family:ui-monospace,Menlo,monospace}
.c-own .ph.show{color:var(--ink);font-weight:800;letter-spacing:.2px;font-family:inherit;font-size:14px}
.c-own .acts{display:flex;gap:6px;flex:0 0 auto}
.c-own .btn{height:38px;border-radius:10px}
.ib{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;border:0;color:#fff;cursor:pointer}
.ib:hover{text-decoration:none;filter:brightness(1.1)}
.ib.call{background:#1c1917}.ib.wa{background:#16a34a;font-weight:800;font-size:11px}
.gal{display:grid;gap:10px}.gal img{width:100%;border-radius:10px;display:block}

@media (max-width:860px){
  .lh{display:none}
  .lr{grid-template-columns:68px minmax(0,1fr);grid-template-areas:"th main" "th price" "meta meta" "own own";gap:6px 12px;padding:14px;min-height:0}
  .th{width:68px;height:68px;grid-area:th;align-self:start}
  .c-main{grid-area:main}.c-price{grid-area:price;font-size:18px}.c-price small{display:inline;margin-left:4px}
  .c-meta{grid-area:meta;display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
  .c-meta>div{background:#f7f3ef;border-radius:8px;padding:5px 9px;font-size:12px}
  .c-fu b,.c-area b,.c-date b,.c-fu span,.c-area span,.c-date span{display:inline;font-size:12px}
  .c-fu span,.c-area span,.c-date span{margin-left:4px}
  .c-own{grid-area:own;border-top:1px dashed #ebe4de;padding-top:10px;margin-top:6px}
  .c-own .btn{height:42px}
  .ib{width:42px;height:42px}
}
@media (max-width:860px){ .c-date span,.c-main .i{display:none} }
.c-own .ph{white-space:nowrap}
@media (max-width:860px){ .c-meta>.nil{display:none} }

/* ================= Dark footer ================= */
.ft{background:#171412;color:#c2b8ae;margin-top:0}
.ft .in{max-width:1280px;margin:0 auto;padding:44px 20px 28px;display:grid;grid-template-columns:1.7fr 1fr 1.2fr 1fr;gap:32px}
.ft h4{color:#fff;font-size:14px;margin:4px 0 12px}
.ft a{display:flex;align-items:center;gap:8px;color:#c2b8ae;margin:0 0 9px;font-weight:500}
.ft a:hover{color:#fff;text-decoration:none}
.ft a svg{width:17px;height:17px;flex:0 0 auto}
.ft .logo{color:#fff;margin-bottom:12px}
.ft .logo b{background:linear-gradient(90deg,#fdba74,#fb923c);-webkit-background-clip:text;background-clip:text}
.ft-brand p{margin:0;max-width:380px;line-height:1.6}
.muted2{color:#8c8076;font-size:12.5px;display:block;margin-top:2px}
.ft .bt{border-top:1px solid #2b2520;text-align:center;padding:16px 20px;font-size:12.5px;color:#8c8076}
@media (max-width:760px){.ft .in{grid-template-columns:1fr 1fr;gap:24px}.ft-brand{grid-column:1/-1}}

/* ================= Floating support ================= */
.fab{position:fixed;right:16px;bottom:18px;display:flex;flex-direction:column;gap:10px;z-index:45}
.fab a{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 8px 24px rgba(28,20,12,.28);transition:transform .15s}
.fab a:hover{transform:scale(1.06);text-decoration:none}
.fab .wa{background:#25d366}.fab .wa svg{width:30px;height:30px}
.fab .cl{background:#c2410c}
@media (max-width:640px){.fab{right:auto;left:12px;bottom:14px}.fab a{width:46px;height:46px}.fab .wa svg{width:26px;height:26px}.fab .cl{display:none}}

/* ================= Split login / register ================= */
.auth2{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--bg)}
.aside{background:radial-gradient(700px 420px at 0% 0%,rgba(234,88,12,.45) 0,transparent 60%),radial-gradient(600px 500px at 100% 100%,rgba(194,65,12,.35) 0,transparent 55%),#1c1917;color:#f5ede6;padding:44px clamp(24px,5vw,72px);display:flex;align-items:center}
.aside-in{max-width:560px}
.logo.light{color:#fff;font-size:22px}.logo.light .mk{width:40px;height:40px}
.logo.light b{background:linear-gradient(90deg,#fdba74,#fb923c);-webkit-background-clip:text;background-clip:text}
.aside h1{font-size:clamp(28px,3.2vw,40px);line-height:1.12;letter-spacing:-.8px;color:#fff;margin:34px 0 12px;text-wrap:balance}
.aside .lead{color:#d6cbc2;font-size:16px;line-height:1.6;margin:0 0 22px;max-width:500px}
.stats{display:flex;gap:10px;margin-bottom:24px;flex-wrap:wrap}
.stats>div{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:10px 16px;min-width:110px}
.stats b{display:block;font-size:22px;color:#fff;font-weight:800;letter-spacing:-.3px}
.stats span{font-size:12px;color:#b8aca2}
.feats{display:grid;gap:14px;margin-bottom:26px}
.feat{display:flex;gap:14px;align-items:flex-start}
.fi{flex:0 0 auto;width:40px;height:40px;border-radius:11px;background:linear-gradient(135deg,rgba(249,115,22,.28),rgba(251,146,60,.12));color:#fb923c;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12)}
.feat b{color:#fff;font-size:15px}
.feat p{margin:2px 0 0;color:#c4b8ad;font-size:13.5px;line-height:1.5}
.mock{background:#fff;border-radius:14px;padding:6px 12px 10px;box-shadow:0 20px 50px rgba(0,0,0,.35);color:var(--ink);transform:rotate(-1.2deg);max-width:470px;position:relative}
.mrow{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f3eee9}
.mrow:last-of-type{border-bottom:0}
.mth{width:46px;height:40px;border-radius:8px;background:linear-gradient(160deg,#ffedd5 0 55%,#fdba74 55%);flex:0 0 auto}
.mth.b{background:linear-gradient(160deg,#dcfce7 0 55%,#a7d9b8 55%)}
.mtx{flex:1;min-width:0}.mtx b{display:block;font-size:13px}.mtx span{font-size:12px;color:var(--ink2)}
.mpr{font-weight:800;font-size:14px;color:#1c1917;white-space:nowrap}.mpr small{font-weight:600;color:var(--ink3);font-size:11px}
.mbtn{background:linear-gradient(135deg,#f97316,#ea580c);color:#fff;font-size:11.5px;font-weight:700;padding:7px 10px;border-radius:8px;white-space:nowrap}
.mbtn.g{background:#1c1917;padding:6px 8px;display:grid;place-items:center}.mbtn.g svg{width:15px;height:15px}
.mcap{position:absolute;right:12px;bottom:-22px;font-size:11px;color:#a8998c}
.formside{display:flex;align-items:center;justify-content:center;padding:40px 20px}
.formside .box{width:100%;max-width:420px}
.formside .card{padding:30px;box-shadow:0 10px 40px rgba(120,53,15,.08);border-radius:16px}
.formside h2{font-size:24px;letter-spacing:-.4px;margin:0 0 4px}
.formside .sub{color:var(--ink2);margin:0 0 22px}
.formside form{display:flex;flex-direction:column;gap:14px}
.formside input,.formside select{height:46px;font-size:15px}
.formside .btn.primary{height:48px;font-size:15px;border-radius:10px}
.help{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:16px;color:var(--ink2);font-size:13.5px}
.help a{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:#15803d}
.help a svg{width:16px;height:16px}
.mlogo{display:none}
@media (max-width:900px){
  .auth2{grid-template-columns:1fr}
  .formside{order:-1;padding:22px 16px 26px}
  .mlogo{display:flex;justify-content:center;margin-bottom:16px}
  .aside{padding:34px 20px 44px}
  .aside .logo.light{display:none}
  .aside h1{margin-top:0;font-size:26px}
  .mock{transform:none}
}
.auth2 + .ft{margin-top:0}
@media (max-width:480px){ .mbtn:not(.g){display:none} .mock{padding:4px 10px 8px} }
