@font-face{font-family:"DM Sans";src:url(/fonts/dmsans-latin.woff2) format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:"Bebas Neue";src:url(/fonts/bebas-latin.woff2) format("woff2");font-weight:400;font-display:swap}
:root{--red:#2563EB;--red-d:#1D4ED8;--red-50:#EAF1FE;--ink:#0D1826;--ink-2:#16233A;--muted:#5F6B78;--line:#E3E7EC;--line-2:#EEF1F4;--mist:#F4F6F8;--bg:#F2F4F7;
--green:#15803d;--green-50:#e9f7ee;--amber:#b45309;--amber-50:#fff5e6;--r:14px;--r-sm:10px;--sh:0 1px 2px rgba(0,0,0,.04),0 8px 24px rgba(0,0,0,.06);--sh-lg:0 24px 70px rgba(0,0,0,.18)}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{font-family:"DM Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:14.5px;line-height:1.5;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit;color:inherit}
a{color:inherit}
.ico{width:18px;height:18px;flex:none;fill:currentColor}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--red);outline-offset:2px}

/* ---------- buttons */
.b{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;padding:0 16px;border-radius:10px;border:1px solid var(--line);background:#fff;font-weight:600;font-size:13.5px;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,box-shadow .15s,transform .1s;text-decoration:none}
.b:hover{border-color:#cfcfcf;background:#fafafa}
.b:active{transform:translateY(1px)}
.b:disabled{opacity:.5;cursor:not-allowed}
.b.pri{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 6px 16px rgba(37,99,235,.25)}
.b.pri:hover{background:var(--red-d);border-color:var(--red-d)}
.b.dark{background:var(--ink);border-color:var(--ink);color:#fff}
.b.dark:hover{background:#000}
.b.ghost{border-color:transparent;background:transparent}
.b.ghost:hover{background:var(--mist)}
.b.sm{height:32px;padding:0 12px;font-size:13px;border-radius:8px}
.b.icon{width:34px;height:34px;padding:0;border-radius:9px}
.b.danger{color:#b91c1c}
.b.danger:hover{background:#fef2f2;border-color:#fecaca}

/* ---------- login */
.login{min-height:100%;display:grid;grid-template-columns:1.05fr 1fr}
.login-art{position:relative;overflow:hidden;background:var(--ink);color:#fff;padding:56px;display:flex;flex-direction:column;justify-content:space-between}
.login-art img.mk{position:absolute;right:-12%;bottom:-8%;width:85%;opacity:.14}
.login-art h1{font-size:40px;line-height:1.1;margin:0 0 14px;letter-spacing:-.02em;max-width:12ch}
.login-art p{color:#bdbdbd;max-width:40ch;margin:0}
.login-art .logo{background:#fff;border-radius:14px;padding:10px 14px;width:max-content}
.login-art .logo img{display:block;width:74px;height:auto}
.login-form{display:flex;align-items:center;justify-content:center;padding:40px;background:#fff}
.login-form form{width:100%;max-width:380px}
.login-form h2{font-size:26px;margin:0 0 6px;letter-spacing:-.01em}
.login-form .sub{color:var(--muted);margin:0 0 28px}
.login-form .b{width:100%;height:46px;margin-top:8px}
@media (max-width:860px){.login{grid-template-columns:1fr}.login-art{display:none}}

/* ---------- fields */
.f{display:grid;gap:6px;margin-bottom:18px}
.f>label,.f .lbl{font-weight:600;font-size:13px;color:var(--ink-2)}
.f .hint{font-size:12.5px;color:var(--muted);margin-top:-2px}
.in,.f select,.f textarea{width:100%;height:42px;padding:0 13px;border:1px solid var(--line);border-radius:10px;background:#fff;transition:border-color .15s,box-shadow .15s}
.f textarea{height:auto;min-height:96px;padding:11px 13px;resize:vertical;line-height:1.55}
.in:focus,.f select:focus,.f textarea:focus,.rte-area:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 4px rgba(23,23,23,.07)}
.f .count{font-size:12px;color:var(--muted);justify-self:end;margin-top:-2px}
.f .count.over{color:var(--amber)}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px}
@media (max-width:640px){.row2,.row3{grid-template-columns:1fr}}
.err-msg{color:#b91c1c;font-size:13px;min-height:18px;margin:4px 0 0}
.fs{border:1px solid var(--line);border-radius:var(--r);padding:18px 18px 2px;margin:0 0 18px;background:#fcfcfc}
.fs>h4{margin:0 0 14px;font-size:13px;text-transform:none;letter-spacing:.01em;color:var(--muted)}

/* toggle */
.tg{display:flex;align-items:center;gap:12px;cursor:pointer;user-select:none;font-weight:600;font-size:13.5px}
.tg input{position:absolute;opacity:0;pointer-events:none}
.tg .sw{width:40px;height:23px;border-radius:99px;background:#d4d4d4;position:relative;transition:background .2s;flex:none}
.tg .sw::after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s}
.tg input:checked+.sw{background:var(--green)}
.tg input:checked+.sw::after{transform:translateX(17px)}
.tg input:focus-visible+.sw{outline:2px solid var(--red);outline-offset:2px}
.tg small{display:block;font-weight:400;color:var(--muted)}

/* chips input */
.chips{display:flex;flex-wrap:wrap;gap:6px;padding:6px;border:1px solid var(--line);border-radius:10px;background:#fff;min-height:42px}
.chips span{display:inline-flex;align-items:center;gap:4px;background:var(--mist);border:1px solid var(--line);border-radius:99px;padding:3px 6px 3px 11px;font-size:13px}
.chips span button{border:0;background:none;cursor:pointer;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;color:var(--muted)}
.chips span button:hover{background:#e4e4e4;color:var(--ink)}
.chips input{flex:1;min-width:140px;border:0;outline:0;padding:4px 6px;background:none}

/* rich text */
.rte{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.rte:focus-within{border-color:var(--ink);box-shadow:0 0 0 4px rgba(23,23,23,.07)}
.rte-bar{display:flex;gap:2px;padding:5px;border-bottom:1px solid var(--line-2);background:#fafafa}
.rte-bar button{width:32px;height:30px;border:0;border-radius:7px;background:none;cursor:pointer;display:grid;place-items:center;color:#444}
.rte-bar button:hover{background:#ececec;color:var(--ink)}
.rte-bar .sep{width:1px;background:var(--line);margin:4px 4px}
.rte-area{min-height:120px;max-height:420px;overflow:auto;padding:12px 14px;line-height:1.65;outline:none}
.rte-area p{margin:0 0 .8em}.rte-area p:last-child{margin:0}
.rte-area h2,.rte-area h3{margin:.6em 0 .4em;font-size:17px}
.rte-area ul,.rte-area ol{margin:0 0 .8em;padding-left:22px}
.rte-area a{color:var(--red)}
.rte-area:empty::before{content:attr(data-ph);color:#a3a3a3}

/* image picker field */
.imgf{display:flex;gap:14px;align-items:center}
.imgf .th{width:96px;height:72px;border-radius:10px;background:var(--mist) center/cover no-repeat;border:1px solid var(--line);flex:none;display:grid;place-items:center;color:#aaa}
.icf{display:flex;gap:12px;align-items:center}
.icf .sw{width:44px;height:44px;border-radius:12px;background:var(--red-50);color:var(--red);display:grid;place-items:center}
.icf .sw .ico{width:24px;height:24px}

/* ---------- app shell */
.app{display:grid;grid-template-columns:252px 1fr;min-height:100%}
.side{background:var(--ink);color:#e8e8e8;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;padding:18px 14px}
.side .brand{display:flex;align-items:center;gap:12px;padding:6px 8px 20px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:12px;text-decoration:none}
.side .brand .lg{background:#fff;border-radius:10px;padding:5px 7px}
.side .brand img{display:block;width:40px;height:auto}
.side .brand b{display:block;color:#fff;font-size:14.5px;line-height:1.2}
.side .brand small{color:#9a9a9a;font-size:12px}
.side nav{display:grid;gap:2px;overflow:auto}
.side nav .grp{font-size:11px;text-transform:none;letter-spacing:.01em;color:#7c7c7c;padding:14px 12px 6px}
.side nav button{display:flex;align-items:center;gap:12px;width:100%;height:40px;padding:0 12px;border:0;border-radius:10px;background:none;color:#cfcfcf;font-weight:600;font-size:13.5px;cursor:pointer;text-align:left;transition:background .15s,color .15s}
.side nav button:hover{background:rgba(255,255,255,.06);color:#fff}
.side nav button[aria-current=page]{background:#fff;color:var(--ink)}
.side nav button[aria-current=page] .ico{color:var(--red)}
.side nav button .n{margin-left:auto;font-size:11.5px;background:rgba(255,255,255,.1);padding:1px 8px;border-radius:99px;color:#ddd}
.side nav button[aria-current=page] .n{background:var(--mist);color:var(--muted)}
.side .me{margin-top:auto;border-top:1px solid rgba(255,255,255,.08);padding:14px 8px 2px;display:flex;align-items:center;gap:10px}
.side .me .av{width:34px;height:34px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-weight:700}
.side .me div{min-width:0;flex:1}
.side .me b{display:block;color:#fff;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side .me small{display:block;color:#8b8b8b;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side .me button{border:0;background:rgba(255,255,255,.06);color:#ddd;width:34px;height:34px;border-radius:9px;cursor:pointer;display:grid;place-items:center}
.side .me button:hover{background:rgba(255,255,255,.14);color:#fff}
.main{min-width:0;display:flex;flex-direction:column}
.top{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:14px;height:68px;padding:0 28px;background:rgba(244,244,242,.86);backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid rgba(0,0,0,.06)}
.top h1{font-size:19px;margin:0;letter-spacing:-.01em}
.top .acts{margin-left:auto;display:flex;gap:8px;align-items:center}
.pill{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 11px;border-radius:99px;font-size:12.5px;font-weight:600;background:#fff;border:1px solid var(--line);color:var(--muted)}
.pill i{width:8px;height:8px;border-radius:50%;background:#bbb}
.pill.live{color:var(--green);background:var(--green-50);border-color:#c9ebd4}.pill.live i{background:var(--green)}
.pill.draft{color:var(--amber);background:var(--amber-50);border-color:#f9dfb6}.pill.draft i{background:#f59e0b}
.pill.saving i{background:#999;animation:pulse 1s infinite}
@keyframes pulse{50%{opacity:.3}}
.menu-t{display:none}
.view{padding:28px;max-width:1180px;width:100%}
.view.wide{max-width:none}
@media (max-width:980px){
 .app{grid-template-columns:1fr}
 .side{position:fixed;inset:0 auto 0 0;width:272px;z-index:60;transform:translateX(-100%);transition:transform .25s}
 .side.open{transform:none;box-shadow:var(--sh-lg)}
 .menu-t{display:inline-flex}
 .top{padding:0 16px}.view{padding:18px 16px}
 .top .acts .b span.t{display:none}
}

/* ---------- cards & lists */
.card{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:var(--r);box-shadow:var(--sh)}
.card-h{display:flex;align-items:center;gap:12px;padding:18px 20px;border-bottom:1px solid var(--line-2)}
.card-h h2,.card-h h3{margin:0;font-size:15.5px}
.card-h p{margin:2px 0 0;color:var(--muted);font-size:13px}
.card-h .acts{margin-left:auto;display:flex;gap:8px}
.card-b{padding:20px}
.intro{display:flex;gap:18px;align-items:flex-end;justify-content:space-between;margin-bottom:20px;flex-wrap:wrap}
.intro p{margin:0;color:var(--muted);max-width:70ch}
.list{list-style:none;margin:0;padding:0}
.li{display:flex;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid var(--line-2);transition:background .15s}
.li:last-child{border-bottom:0}
.li:hover{background:#fcfcfb}
.li .th{width:52px;height:52px;border-radius:12px;background:var(--mist) center/cover no-repeat;flex:none;display:grid;place-items:center;color:var(--red)}
.li .th.round{border-radius:50%}
.li .th .ico{width:24px;height:24px}
.li .tx{min-width:0;flex:1}
.li .tx b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li .tx small{display:block;color:var(--muted);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.li .tags{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.li .ops{display:flex;gap:2px;margin-left:6px}
.li.off .tx,.li.off .th{opacity:.5}
.li.drag{opacity:.4}
.li .grip{cursor:grab;color:#b5b5b5;display:grid;place-items:center;width:20px}
.tag{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:99px;font-size:11.5px;font-weight:700;background:var(--mist);color:var(--muted);white-space:nowrap}
.tag.g{background:var(--green-50);color:var(--green)}
.tag.r{background:var(--red-50);color:var(--red)}
.tag.a{background:var(--amber-50);color:var(--amber)}
.empty{padding:44px 20px;text-align:center;color:var(--muted)}
.empty .ico{width:40px;height:40px;color:#c9c9c9;margin-bottom:8px}
.grid{display:grid;gap:18px}
.g2{grid-template-columns:1fr 1fr}.g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}
@media (max-width:1100px){.g4{grid-template-columns:1fr 1fr}.g3{grid-template-columns:1fr 1fr}}
@media (max-width:680px){.g2,.g3,.g4{grid-template-columns:1fr}}
.stat{padding:18px 20px;display:flex;gap:14px;align-items:center;cursor:pointer;text-align:left;border:1px solid rgba(0,0,0,.06);width:100%;transition:transform .15s,box-shadow .15s}
.stat:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(0,0,0,.08)}
.stat .ic{width:44px;height:44px;border-radius:12px;background:var(--red-50);color:var(--red);display:grid;place-items:center}
.stat .ic .ico{width:22px;height:22px}
.stat b{display:block;font-size:24px;line-height:1.1}
.stat small{color:var(--muted);font-weight:600}
.hello{background:var(--ink);color:#fff;border-radius:18px;padding:30px 32px;position:relative;overflow:hidden;margin-bottom:18px}
.hello img{position:absolute;right:-40px;bottom:-60px;width:360px;opacity:.12;pointer-events:none}
.hello h2{margin:0 0 6px;font-size:26px;letter-spacing:-.01em}
.hello p{margin:0;color:#bcbcbc;max-width:60ch}
.hello .btns{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}
.hello .b:not(.pri){background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.14);color:#fff}
.hello .b:not(.pri):hover{background:rgba(255,255,255,.16)}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.steps>div{padding:20px;border-right:1px solid var(--line-2)}
.steps>div:last-child{border-right:0}
.steps .ic{width:36px;height:36px;border-radius:10px;background:var(--mist);display:grid;place-items:center;margin-bottom:10px;color:var(--ink)}
.steps b{display:block;margin-bottom:3px}
.steps p{margin:0;color:var(--muted);font-size:13.5px}
@media (max-width:760px){.steps{grid-template-columns:1fr}.steps>div{border-right:0;border-bottom:1px solid var(--line-2)}}
.qa{display:flex;flex-wrap:wrap;gap:8px}
.note{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;border-radius:12px;background:var(--mist);color:var(--ink-2);font-size:13.5px;margin-bottom:18px}
.note .ico{color:var(--red);margin-top:1px}
.note.warn{background:var(--amber-50)}
.note.warn .ico{color:var(--amber)}

/* ---------- drawer & modal */
.scrim{position:fixed;inset:0;background:rgba(10,10,10,.42);z-index:80;opacity:0;transition:opacity .2s;backdrop-filter:blur(2px)}
.scrim.on{opacity:1}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(640px,100%);background:#fff;z-index:90;display:flex;flex-direction:column;box-shadow:var(--sh-lg);transform:translateX(100%);transition:transform .28s cubic-bezier(.2,.7,.2,1)}
.drawer.on{transform:none}
.drawer header{display:flex;align-items:center;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line-2)}
.drawer header h3{margin:0;font-size:17px}
.drawer header small{display:block;color:var(--muted);font-size:12.5px}
.drawer header .b{margin-left:auto}
.drawer .body{flex:1;overflow:auto;padding:22px}
.drawer footer{display:flex;gap:10px;align-items:center;padding:14px 22px;border-top:1px solid var(--line-2);background:#fafafa}
.drawer footer .sp{flex:1}
.modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-46%) scale(.98);opacity:0;z-index:100;background:#fff;border-radius:18px;box-shadow:var(--sh-lg);width:min(560px,calc(100% - 32px));max-height:calc(100% - 40px);display:flex;flex-direction:column;transition:transform .2s,opacity .2s}
.modal.on{opacity:1;transform:translate(-50%,-50%)}
.modal.big{width:min(980px,calc(100% - 32px));height:min(760px,calc(100% - 40px))}
.modal header{display:flex;align-items:center;gap:12px;padding:18px 22px 10px}
.modal header h3{margin:0;font-size:18px}
.modal header .b{margin-left:auto}
.modal .body{padding:6px 22px 18px;overflow:auto;flex:1;color:var(--ink-2)}
.modal footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px;border-top:1px solid var(--line-2)}
.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,20px);opacity:0;z-index:120;background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;font-size:13.5px;box-shadow:var(--sh-lg);transition:transform .25s,opacity .25s;display:flex;gap:10px;align-items:center;max-width:calc(100% - 32px)}
.toast.on{opacity:1;transform:translate(-50%,0)}
.toast.bad{background:#991b1b}
.toast .ico{color:#4ade80}
.toast.bad .ico{color:#fecaca}

/* ---------- pickers */
.picker{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
.picker button{border:2px solid transparent;border-radius:12px;padding:0;background:var(--mist);cursor:pointer;overflow:hidden;text-align:left}
.picker button img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.picker button span{display:block;padding:6px 9px;font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff}
.picker button:hover{border-color:#cfcfcf}
.picker button[aria-pressed=true]{border-color:var(--red)}
.icons{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:8px}
.icons button{height:64px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;display:grid;place-items:center;color:var(--ink-2)}
.icons button .ico{width:26px;height:26px}
.icons button:hover{border-color:var(--ink)}
.icons button[aria-pressed=true]{border-color:var(--red);background:var(--red-50);color:var(--red)}
.drop{display:block;cursor:pointer;border:2px dashed #d6d6d6;border-radius:14px;padding:26px;text-align:center;color:var(--muted);transition:border-color .15s,background .15s}
.drop.over{border-color:var(--red);background:var(--red-50)}
.drop b{color:var(--ink)}
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line-2);margin-bottom:16px}
.tabs button{border:0;background:none;padding:10px 12px;font-weight:600;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}
.tabs button[aria-selected=true]{color:var(--ink);border-color:var(--red)}
.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}
.mcard{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:12px;overflow:hidden;box-shadow:var(--sh)}
.mcard .pv{aspect-ratio:4/3;background:var(--mist) center/cover no-repeat;display:grid;place-items:center;color:var(--red)}
.mcard .pv .ico{width:36px;height:36px}
.mcard .mt{padding:10px 12px}
.mcard .mt b{display:block;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mcard .mt small{color:var(--muted);font-size:12px}
.mcard .ops{display:flex;gap:4px;padding:0 8px 8px}

/* ---------- page editor */
.pe{display:grid;grid-template-columns:280px 1fr;gap:0;height:calc(100vh - 68px)}
.pe-list{border-right:1px solid rgba(0,0,0,.06);background:#fff;overflow:auto;padding:14px}
.pe-list input{margin-bottom:10px}
.pe-list h5{margin:14px 6px 6px;font-size:11px;text-transform:none;letter-spacing:.01em;color:#8a8a8a}
.pe-list button{display:flex;width:100%;align-items:center;gap:8px;text-align:left;border:0;background:none;padding:8px 10px;border-radius:9px;cursor:pointer;font-size:13.5px;color:var(--ink-2)}
.pe-list button:hover{background:var(--mist)}
.pe-list button[aria-current=page]{background:var(--ink);color:#fff}
.pe-list button .dot{width:7px;height:7px;border-radius:50%;background:#f59e0b;margin-left:auto;flex:none}
.pe-main{display:flex;flex-direction:column;min-width:0;background:#e9e9e6}
.pe-bar{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#fff;border-bottom:1px solid rgba(0,0,0,.06);flex-wrap:wrap}
.pe-bar .url{font-size:12.5px;color:var(--muted);background:var(--mist);padding:6px 10px;border-radius:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:320px}
.pe-bar .sp{flex:1}
.pe-bar .seg{display:flex;background:var(--mist);border-radius:9px;padding:3px}
.pe-bar .seg button{border:0;background:none;height:28px;padding:0 10px;border-radius:7px;cursor:pointer;color:var(--muted);display:grid;place-items:center}
.pe-bar .seg button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.pe-frame{flex:1;overflow:auto;display:flex;justify-content:center;padding:16px}
.pe-frame iframe{width:100%;height:100%;border:0;background:#fff;border-radius:12px;box-shadow:var(--sh);transition:width .3s}
.pe-frame.mobile iframe{width:400px}
.pe-hint{font-size:12.5px;color:var(--muted);display:flex;gap:6px;align-items:center}
.seo{padding:16px 18px;background:#fff;border-bottom:1px solid rgba(0,0,0,.06)}
.snip{border:1px solid var(--line);border-radius:12px;padding:14px 16px;background:#fff;margin-top:4px}
.snip .u{color:#202124;font-size:12.5px}
.snip .t{color:#1a0dab;font-size:18px;line-height:1.3;margin:4px 0 3px}
.snip .d{color:#4d5156;font-size:13.5px;line-height:1.5}
@media (max-width:980px){.pe{grid-template-columns:1fr;height:auto}.pe-list{max-height:260px;border-right:0;border-bottom:1px solid var(--line)}.pe-main{height:80vh}}

.kv{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-size:13.5px}
.kv dt{color:var(--muted)}
.kv dd{margin:0}
.muted{color:var(--muted)}
.pill{white-space:nowrap}
@media (max-width:640px){
 .top{gap:8px}.top h1{font-size:16px}.pill{font-size:11.5px;padding:0 9px}
 .li{flex-wrap:wrap;gap:10px 12px;padding:12px}
 .li .grip{display:none}
 .li .th{width:44px;height:44px}
 .li .tx{flex:1 1 calc(100% - 60px)}
 .li .tags{order:3;justify-content:flex-start}
 .li .ops{order:4;margin-left:auto}
 .card-h{flex-wrap:wrap}.card-h .acts{margin-left:0}
 .hello{padding:24px}.hello h2{font-size:22px}
 .drawer .body{padding:18px}.drawer footer{padding:12px 16px;flex-wrap:wrap}
}
/* Brand hero background, same as the website banners (careers hero) */
:root{--hero-bg:radial-gradient(circle at 82% 18%,rgba(37,99,235,.30),transparent 28%),linear-gradient(135deg,#0D1826 0%,#16233A 58%,#0A121D 100%)}
.login-art,.hello{background:var(--hero-bg);isolation:isolate}
.login-art img.mk,.hello>img{display:none}
.login-art::after,.hello::after{content:"";position:absolute;right:-4%;top:50%;width:min(44vw,560px);aspect-ratio:2308/1650;transform:translateY(-50%);background:none;opacity:0;pointer-events:none;z-index:-1}
.login-art::after{width:92%;right:-18%;top:auto;bottom:-6%;transform:none}
.hello::after{width:min(40vw,440px);right:-2%}
.login-art>*,.hello>*{position:relative;z-index:1}
.side{background:radial-gradient(circle at 90% 0%,rgba(37,99,235,.28),transparent 34%),linear-gradient(160deg,#0D1826 0%,#16233A 58%,#0A121D 100%)}
@media (max-width:640px){.hello::after{width:80vw;right:-30vw;opacity:.5}}

/* ---------- login v2 */
.login{grid-template-columns:1.1fr 1fr}
.login-art{padding:56px clamp(40px,5vw,72px);justify-content:space-between;gap:40px}
.login-art::after{width:78%;right:-20%;bottom:-8%;opacity:.55}
.la-eyebrow{font-size:12px;font-weight:700;letter-spacing:.01em;text-transform:none;color:#2563EB}
.la-main h1{font-size:clamp(34px,3.4vw,48px);line-height:1.08;letter-spacing:-.025em;margin:0 0 16px;max-width:15ch}
.la-main h1 span{color:#2563EB}
.la-main>p{color:#c9c9c9;font-size:16px;line-height:1.65;max-width:48ch;margin:0 0 30px}
.la-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px;max-width:620px}
.la-list li{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid rgba(255,255,255,.08);border-radius:14px;background:rgba(255,255,255,.035);backdrop-filter:blur(4px)}
.la-list .ico{width:22px;height:22px;color:#2563EB;flex:none;margin-top:1px}
.la-list b{display:block;color:#fff;font-size:14px;margin-bottom:2px}
.la-list small{display:block;color:#a9a9a9;font-size:13px;line-height:1.45}
.la-steps{display:flex;align-items:center;gap:12px;color:#d6d6d6;font-weight:600;font-size:13.5px}
.la-steps span{display:inline-flex;align-items:center;gap:8px;padding:8px 13px;border-radius:99px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
.la-steps .ico{width:15px;height:15px;color:#2563EB}
.la-steps i{flex:0 0 22px;height:1px;background:rgba(255,255,255,.25)}
.login-form{background:#fff}
.login-form form{max-width:400px}
.lf-logo{display:block;width:132px;height:auto;margin:0 0 30px}
.login-form h2{font-size:28px}
.pw{position:relative}
.pw .in{padding-right:48px}
.pw button{position:absolute;right:5px;top:5px;width:34px;height:32px;border:0;border-radius:8px;background:none;cursor:pointer;color:var(--muted);display:grid;place-items:center}
.pw button:hover{background:var(--mist);color:var(--ink)}
.lf-foot{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12.5px;margin:18px 0 0}
.lf-foot .ico{width:16px;height:16px;color:var(--green)}
.lf-back{display:inline-flex;gap:6px;align-items:center;margin-top:26px;font-size:13px;font-weight:600;color:var(--ink-2);text-decoration:none}
.lf-back .ico{width:14px;height:14px}
.lf-back:hover{color:var(--red)}
@media (max-width:1100px){.la-list{grid-template-columns:1fr}}
@media (max-width:860px){.login-form{min-height:100vh;align-items:flex-start;padding:48px 24px}.lf-logo{margin:0 auto 28px}}
.lf-foot{align-items:flex-start}.lf-foot .ico{margin-top:1px}
@media (max-width:860px){.login{grid-template-columns:1fr}.login-art{display:none}.lf-logo{margin:0 0 28px;width:116px}.login-form h2{font-size:24px}}
/* login: always fits the screen, no scrolling */
.login{height:100vh;height:100dvh;min-height:0;overflow:hidden}
.login-art{padding:clamp(24px,5vh,56px) clamp(32px,4.5vw,72px);gap:clamp(14px,3vh,40px);overflow:hidden}
.la-main h1{font-size:clamp(28px,min(3.4vw,5.4vh),48px);margin-bottom:clamp(8px,1.6vh,16px)}
.la-main>p{font-size:clamp(14px,1.9vh,16px);margin-bottom:clamp(14px,3vh,30px)}
.la-list{gap:clamp(8px,1.2vh,12px)}
.la-list li{padding:clamp(9px,1.4vh,14px) 14px}
.login-form{overflow:auto;padding:clamp(20px,4vh,40px) 40px}
.lf-logo{width:clamp(88px,13vh,132px);margin-bottom:clamp(14px,3vh,30px)}
.login-form h2{font-size:clamp(22px,3.2vh,28px)}
.login-form .sub{margin-bottom:clamp(14px,2.8vh,28px)}
.login-form .f{margin-bottom:clamp(10px,1.8vh,18px)}
.lf-foot{margin-top:clamp(10px,1.8vh,18px)}
.lf-back{margin-top:clamp(12px,2.4vh,26px)}
@media (max-height:820px){.la-list small{display:none}.la-list b{margin:0}.la-list li{align-items:center}}
@media (max-height:640px){.la-steps{display:none}.la-main>p{display:none}}
@media (max-width:1100px) and (min-width:861px){.la-list{grid-template-columns:1fr 1fr}.la-list small{display:none}.la-list li{align-items:center}.la-list b{margin:0}}
@media (max-width:860px){.login-form{min-height:0;height:100%;align-items:center;padding:24px}}

.la-eyebrow{color:#fff;display:inline-flex;align-items:center;gap:12px}.la-eyebrow::before{content:"";width:28px;height:3px;border-radius:2px;background:#2563EB}
.la-main h1 span{color:#2563EB}

.la-eyebrow{font-size:14px;letter-spacing:.01em}.la-eyebrow::before{width:34px;height:17px;border-radius:0;background:var(--red);height:3px;border-radius:2px}
/* confirm / cancel for page edits */
.pe-pend{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;background:#fff7e6;border-bottom:1px solid #f5d48a;font-size:13px;color:#7a4b00}
.pe-pend>span:first-child{display:flex;align-items:center;gap:8px}
.pe-pend .ico{width:18px;height:18px;color:#f59e0b;flex:none}
.pe-pend .sp{flex:1}
.seo-acts{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px}
.seo-acts[hidden]{display:none}
.b.ok{background:#16a34a;border-color:#16a34a;color:#fff}.b.ok:hover{background:#15803d}
.b.cx:hover{background:var(--red);border-color:var(--red);color:#fff}
/* brand: original logo (white version) straight on the sidebar, no white box */
.side .brand .lg,.brand .lg{display:block;width:auto;height:auto;padding:0;background:none;border:0;border-radius:0;box-shadow:none;overflow:visible}
.brand .lg::after{content:none}
.brand .lg img{width:58px;height:auto;display:block}
.brand{gap:14px}
/* overview: waiting to publish */
.wait.has{border:1px solid #f5d48a;box-shadow:0 0 0 4px rgba(245,158,11,.08)}
.wait-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;padding:16px 20px 20px}
.wait-g{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff}
.wait-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.wait-g ul{margin:0;padding:0 0 0 16px;font-size:13.5px;line-height:1.7}
.lnk{border:0;background:none;padding:0;color:var(--ink);font:inherit;font-weight:600;cursor:pointer;text-decoration:underline;text-decoration-color:rgba(37,99,235,.4);text-underline-offset:3px}
.lnk:hover{color:var(--red)}
/* page text: list */
.pe-mode{margin-bottom:10px}.pe-mode button{flex:1;font-size:12.5px;font-weight:600}
.pe-list .cnt,.b .cnt{margin-left:auto;min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:#fff3d6;color:#8a5a00;font-size:11px;font-weight:700;display:inline-grid;place-items:center;flex:none}
.pe-list button[aria-current=page] .cnt{background:rgba(255,255,255,.18);color:#fff}
.b .cnt{margin-left:2px}
.pe-note{font-size:13px;padding:6px 8px}
.pe-list .hit{display:block;font-size:12.5px;line-height:1.5;color:var(--ink-2)}
.pe-list .hit mark{background:#ffe08a;color:inherit;border-radius:3px;padding:0 1px}
/* page text: changes panel */
.chg{background:#fff;border-bottom:1px solid rgba(0,0,0,.06);padding:14px 16px;max-height:44vh;overflow:auto}
.chg-h{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}
.chg-h .muted{font-size:12.5px}.chg-h .b{margin-left:auto}
.chg-l{display:grid;gap:8px}
.chg-r{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border:1px solid var(--line);border-radius:10px}
.chg-k{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.04em}
.chg-t{font-size:13px;line-height:1.5;min-width:0}.chg-t small{display:inline;font-size:12px}
.chg-t>div{overflow:hidden;text-overflow:ellipsis}
.chg-a{display:flex;gap:6px}
.chg-th{width:72px;height:48px;object-fit:cover;border-radius:6px;display:block;margin-bottom:4px}
/* SEO check */
.seochk{display:grid;gap:8px;max-height:62vh;overflow:auto}
.seochk-r{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;border:1px solid var(--line);background:#fff;border-radius:10px;padding:10px 12px;cursor:pointer;font:inherit}
.seochk-r:hover{border-color:rgba(37,99,235,.4)}
.seochk-r.warn{background:#fffbf2}
.seochk-s .ico{width:20px;height:20px;color:var(--green)}.seochk-r.warn .seochk-s .ico{color:#f59e0b}
.seochk-m{display:grid;gap:2px;min-width:0}.seochk-m b{font-size:13.5px}.seochk-m small{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.seochk-f{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;max-width:300px}
.seochk-f .tag:not(.g){background:#fff3d6;color:#8a5a00}
@media(max-width:800px){.seochk-r{grid-template-columns:24px 1fr}.seochk-f{grid-column:2;justify-content:flex-start}.chg-r{grid-template-columns:1fr}}
.pe-list .pe-mode{display:flex;gap:0}
.pe-list .pe-mode button{width:auto;flex:1;justify-content:center;padding:0 10px;height:30px;border-radius:7px}
.pe-list .pe-mode button[aria-pressed=true]{background:#fff;color:var(--ink)}
.pe-link{display:inline-flex;align-items:center;gap:8px;padding:3px 3px 3px 10px;border-radius:9px;background:var(--mist);font-size:12.5px}
.pe-link[hidden]{display:none}
.pe-link-u{display:inline-flex;align-items:center;gap:6px;color:var(--ink-2);white-space:nowrap}
.pe-link-u .ico{width:14px;height:14px;color:var(--red)}
.md-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;padding:14px 20px 20px}
.md-empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:1px solid var(--line);border-radius:10px;padding:10px 12px}
.md-empty>span{display:grid;gap:2px}.md-empty b{font-size:13.5px}.md-empty small{font-size:12px}
/* access */
.role-editor #pubBtn,.role-editor #discardBtn{display:none!important}
.ac-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ac-add .b.dark{margin-top:6px;height:44px;padding:0 22px;border-radius:999px}
.ac-tbl{display:grid}
.ac-tr{display:grid;grid-template-columns:minmax(0,2.2fr) 150px 110px 150px minmax(0,1.6fr);gap:14px;align-items:center;padding:16px 20px;border-top:1px solid var(--line);font-size:14px}
.ac-tr:first-child{border-top:0}
.ac-th{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding-top:14px;padding-bottom:14px}
.ac-tr.off .ac-who b{color:var(--muted);text-decoration:line-through}
.ac-who{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0}
.ac-who b{overflow-wrap:anywhere}.ac-who small{flex-basis:100%;font-size:12.5px}
.ac-role{height:34px;padding:0 8px;font-size:13px;width:auto}
.ac-acts{display:flex;justify-content:flex-end;gap:14px;flex-wrap:wrap}
.ac-a{font-weight:600;font-size:13px;text-decoration:none}.ac-a.red{color:var(--red)}
.ac-how p{margin:0 0 10px;font-size:14px;line-height:1.65}
@media(max-width:900px){.ac-row{grid-template-columns:1fr}.ac-th{display:none}.ac-tr{grid-template-columns:1fr 1fr}.ac-who,.ac-acts{grid-column:1/-1}.ac-acts{justify-content:flex-start}.ac-tr [data-l]::before{content:attr(data-l);display:block;font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}}
.md-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.md-tabs button{padding:0 14px;height:32px;font-size:13px;font-weight:600}
.mcard .pv{width:100%;border:0;cursor:zoom-in;padding:0}
.mcard .mt small{display:block}
.mcard .md-use{color:var(--ink-2);margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mcard .md-use.none{color:var(--muted)}
.mcard.unused .pv{opacity:.75}
.mcard .ops{flex-wrap:wrap}
.md-tabs{display:inline-flex;background:#ebebe8;padding:3px;border-radius:10px;gap:2px}
.md-tabs button{border:0!important;background:none;border-radius:8px;color:var(--muted);cursor:pointer}
.md-tabs button[aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.mcard .ops{flex-wrap:nowrap;gap:2px}.mcard .ops .b{padding:0 8px;gap:6px;font-size:12.5px}
/* one content width: header and every section share the same 1440px column */
@media(min-width:901px){
 .view{max-width:none;padding-left:max(28px,calc((100% - 1440px)/2));padding-right:max(28px,calc((100% - 1440px)/2))}
 .top{padding-left:max(28px,calc((100% - 1440px)/2));padding-right:max(28px,calc((100% - 1440px)/2))}
 .view.wide{padding:0}
 .intro p{max-width:none}
}
/* show the whole photo, never cropped, in editors, the photo picker and Media */
.imgf .th{width:150px;height:150px;background-size:contain;background-color:#f1f1ef}
.picker button img{object-fit:contain;background:#f1f1ef}
.mcard .pv{background-size:contain;background-color:#f1f1ef}
.imgf{flex-wrap:wrap}
/* leads */
.ld-tbl{display:grid}
.ld-tr{display:grid;grid-template-columns:170px minmax(0,1.2fr) minmax(0,1.4fr) minmax(0,1fr) 170px;gap:14px;align-items:center;padding:14px 20px;border:0;border-top:1px solid var(--line);background:none;text-align:left;font:inherit;font-size:14px;color:inherit;cursor:pointer;width:100%}
.ld-tr:first-child{border-top:0}
button.ld-tr:hover{background:#fafaf8}
.ld-tr>span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.ld-tr small{display:block;font-size:12.5px}
.ld-tr.is-new b{color:var(--ink)}
.ld-tr.is-new{box-shadow:inset 3px 0 0 var(--red)}
.ld-th{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);cursor:default}
.ld-tr .tag{margin-right:6px}
.ld-detail .kv{grid-template-columns:150px 1fr;row-gap:10px}
.ld-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.side nav .n.hot{background:var(--red);color:#fff}
.ld-alert{display:flex;align-items:center;gap:16px;width:100%;padding:16px 20px;text-align:left;border:1px solid rgba(37,99,235,.3);cursor:pointer;font:inherit}
.ld-alert .ic{width:44px;height:44px;border-radius:12px;background:var(--red-50);color:var(--red);display:grid;place-items:center;flex:none}
.ld-alert>div:nth-child(2){flex:1}.ld-alert b{display:block;font-size:15px}.ld-alert small{color:var(--muted)}
@media(max-width:900px){.ld-th{display:none}.ld-tr{grid-template-columns:1fr 1fr}.ld-tr>span:nth-child(3),.ld-tr>span:nth-child(4){grid-column:1/-1}}
/* sidebar: tidy labels, slim scrollbar, soft fades, compact on short screens */
.side nav{min-height:0;flex:1 1 auto;align-content:start;overflow-y:auto;overflow-x:hidden;margin:0 -6px;padding:0 6px 10px;scrollbar-width:thin;scrollbar-color:transparent transparent;overscroll-behavior:contain;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 10px,#000 calc(100% - 22px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 10px,#000 calc(100% - 22px),transparent 100%)}
.side nav:hover,.side nav:focus-within{scrollbar-color:rgba(255,255,255,.22) transparent}
.side nav::-webkit-scrollbar{width:6px}
.side nav::-webkit-scrollbar-track{background:transparent}
.side nav::-webkit-scrollbar-thumb{background:transparent;border-radius:99px}
.side nav:hover::-webkit-scrollbar-thumb{background:rgba(255,255,255,.22)}
.side nav::-webkit-scrollbar-button{display:none;height:0}
.side nav button{flex:none}
.side nav button>span:not(.n){flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.side nav button .ico{flex:none}
.side .me{flex:none}
.side .brand{flex:none}
@media(max-height:820px){
 .side{padding-top:12px;padding-bottom:12px}
 .side .brand{padding-bottom:12px;margin-bottom:6px}
 .side nav button{height:36px}
 .side nav .grp{padding:10px 12px 4px}
 .side .me{padding-top:10px}
}
@media(max-height:680px){.side nav button{height:33px;font-size:13px}.side nav .grp{padding:8px 12px 3px}}
.side nav{padding-top:2px;padding-bottom:26px;-webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent 100%);mask-image:linear-gradient(to bottom,#000 calc(100% - 24px),transparent 100%)}
/* leads, compact */
.ld-bar{display:flex;align-items:center;gap:8px;margin-bottom:12px;flex-wrap:wrap}
.ld-bar .sp{flex:1}
.ld-ctl{height:34px!important;font-size:13px}
select.ld-ctl{width:auto;padding:0 30px 0 10px}
.ld-q{width:240px}
.ld-bar .md-tabs button{height:28px;padding:0 12px;font-size:12.5px}
.ld-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;margin-bottom:10px;border-radius:10px;background:#f1f1ef;font-size:12.5px;color:var(--ink-2)}
.ld-strip>span,.ld-strip{line-height:1.4}
.ld-strip .ico{width:16px;height:16px;flex:none;color:#888;margin-right:8px;vertical-align:-3px}
.ld-strip.warn{background:#fff6e8;color:#7a4b00}.ld-strip.warn .ico{color:#f59e0b}
.ld-strip .lnk{font-size:12.5px;white-space:nowrap}
.ld-tr{padding:10px 18px;font-size:13.5px;grid-template-columns:120px minmax(0,1.6fr) minmax(0,1.2fr) minmax(0,.9fr) 150px}
.ld-th{padding-top:10px;padding-bottom:10px}
.ld-tr small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ld-tr .tag{height:22px;font-size:11px}
.card.empty{padding:28px}
@media(max-width:900px){.ld-q{width:100%}.ld-bar .sp{display:none}}
select.ld-ctl{width:auto!important;max-width:200px}.ld-tr{grid-template-columns:118px minmax(0,1.8fr) minmax(0,1.2fr) minmax(0,.9fr) 120px}
.ld-tr .ld-note{display:flex;align-items:center;gap:5px;color:var(--ink-2);margin-top:3px}
.ld-tr .ld-note .ico{width:13px;height:13px;color:var(--red);flex:none}
.ld-tr .ld-note i{font-style:normal;color:var(--muted)}
.ld-notes{margin-top:16px;border-top:1px solid var(--line);padding-top:14px}
.ld-notes-h{display:flex;align-items:baseline;gap:10px;margin-bottom:8px}.ld-notes-h small{font-size:12px}
.ld-add{display:flex;gap:8px;align-items:flex-start;margin-bottom:12px}.ld-add textarea{flex:1;min-height:44px}
.ld-tl{display:grid;gap:8px;max-height:220px;overflow:auto}
.ld-tl-i{background:#f6f6f4;border-radius:10px;padding:9px 12px}
.ld-tl-i.sys{background:none;padding:2px 12px;border-left:2px solid var(--line);border-radius:0}
.ld-tl-i.sys .ld-tl-t{color:var(--muted);font-size:12.5px}
.ld-tl-h{display:flex;align-items:baseline;gap:8px;font-size:12.5px}.ld-tl-h small{color:var(--muted)}
.ld-tl-t{font-size:13.5px;white-space:pre-wrap;margin-top:2px}
.ld-tr{grid-template-columns:118px minmax(0,1.6fr) minmax(0,1.15fr) minmax(0,.85fr) minmax(0,1.2fr) 110px}
.ld-nc{display:block;min-width:0}
.ld-nt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;color:var(--ink-2);line-height:1.4;white-space:normal}
.ld-nc0 .lnk{font-size:12.5px;color:var(--muted);text-decoration-color:rgba(0,0,0,.2)}
.ld-nc0 .lnk:hover{color:var(--red)}
@media(max-width:900px){.ld-tr>span:nth-child(5){grid-column:1/-1}}
.ld-nc0{text-align:left}.ld-nc0 .lnk{display:inline;height:auto;padding:0;min-height:0;line-height:1.4}
.ld-tr{grid-template-columns:112px minmax(0,1.5fr) minmax(0,1.1fr) minmax(0,1.05fr) minmax(0,1.15fr) 104px}
.ld-tr .ld-src{display:inline-block;margin-top:3px;padding:1px 8px;border-radius:99px;background:#eef2ff;color:#3f4a8a;font-size:11.5px;font-weight:600;max-width:100%}
/* lead notes, refined */
.ld-notes{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}
.ld-notes-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.ld-notes-h b{font-size:15px}
.ld-priv{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);background:#f4f4f2;border-radius:99px;padding:3px 10px}
.ld-priv .ico{width:13px;height:13px}
.ld-composer{border:1px solid var(--line);border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s;margin-bottom:14px}
.ld-composer:focus-within{border-color:#c9c9c4;box-shadow:0 0 0 4px rgba(23,23,23,.05)}
.ld-composer textarea{display:block;width:100%;border:0!important;outline:0!important;box-shadow:none!important;background:none;resize:none;padding:12px 14px 6px;font:inherit;font-size:14px;line-height:1.5;min-height:52px;max-height:180px}
.ld-comp-f{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 8px 8px 12px;flex-wrap:wrap}
.ld-chips{display:flex;gap:6px;flex-wrap:wrap}
.ld-chip{border:1px solid var(--line);background:#fafaf8;border-radius:99px;padding:3px 10px;font:inherit;font-size:12px;color:var(--ink-2);cursor:pointer}
.ld-chip:hover{border-color:#bdbdb8;background:#fff}
.ld-comp-a{display:flex;align-items:center;gap:10px;margin-left:auto}
.ld-comp-a small{font-size:11.5px}
.ld-comp-a .b:disabled{opacity:.45;cursor:default}
.ld-empty{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px dashed var(--line);border-radius:12px;color:var(--muted);font-size:13px}
.ld-empty .ico{width:16px;height:16px;flex:none}
.ld-tl-i{display:flex;gap:10px;align-items:flex-start;background:none;padding:0}
.ld-tl-b{flex:1;min-width:0;background:#f6f6f4;border-radius:12px;padding:9px 12px}
.ld-av{width:28px;height:28px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none;margin-top:2px}
.ld-tl-i.sys{padding:0 0 0 38px;border:0}
.ld-tl-i.sys .ld-tl-b{background:none;padding:0}
.ld-tl-i.sys .ld-tl-h{display:none}
.ld-tl-i.sys .ld-tl-t{font-size:12px;color:var(--muted)}
.ld-tl-i.sys .ld-tl-t::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#c9c9c4;margin-right:8px;vertical-align:1px}
.ld-tl{max-height:260px}

/* sign in by code */
.lf-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:16px}
.lf-link{background:none;border:0;padding:0;font:inherit;font-size:14px;color:var(--ink);text-decoration:underline;text-decoration-color:var(--red);text-underline-offset:3px;cursor:pointer}
.lf-link:hover{color:var(--red)}
.lf-code{font-size:24px;letter-spacing:.4em;text-align:center;font-variant-numeric:tabular-nums}
/* leads list on phones: one card per lead */
@media(max-width:900px){
.ld-tr{grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:14px 16px}
.ld-tr>span{grid-column:1/-1}
.ld-tr>span:nth-child(1){grid-column:1;grid-row:1;color:var(--muted);font-size:12.5px}
.ld-tr>span:nth-child(6){grid-column:2;grid-row:1;justify-self:end}
.ld-tr small{white-space:normal}
}
@media(max-width:600px){.top h1{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}}
/* system */
.sys-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.sys-c{padding:20px 22px 22px;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.sys-c h3{margin:0;font-size:15.5px}
.sys-c p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.55}
.sys-acts{display:flex;align-items:center;gap:10px;margin-top:18px;flex-wrap:wrap}
.sys-acts small{margin-left:4px}
.sys-tr{display:grid;grid-template-columns:200px minmax(0,1fr) minmax(0,1.6fr);gap:14px;padding:12px 20px;border-top:1px solid var(--line-2);font-size:14px}
.sys-tr>span{min-width:0;overflow-wrap:anywhere}
.sys-th{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);border-top:0}
.sys-tr:not(.sys-th)>span:first-child{color:var(--muted)}
@media(max-width:1100px){.sys-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.sys-grid{grid-template-columns:1fr}.sys-th{display:none}.sys-tr{grid-template-columns:1fr;gap:2px;padding:12px 16px}}
/* page list groups */
.pe-cat{border-bottom:1px solid var(--line-2);padding:2px 0}
.pe-cat:last-child{border-bottom:0}
.pe-cat summary{list-style:none;display:flex;align-items:center;gap:8px;padding:10px 8px;cursor:pointer;font-size:13.5px;font-weight:700;color:var(--ink);border-radius:9px}
.pe-cat summary::-webkit-details-marker{display:none}
.pe-cat summary::before{content:"";width:7px;height:7px;border-right:2px solid #9a9a9a;border-bottom:2px solid #9a9a9a;transform:rotate(-45deg);transition:transform .15s;margin:0 4px 0 2px;flex:none}
.pe-cat[open] summary::before{transform:rotate(45deg)}
.pe-cat summary:hover{background:var(--mist)}
.pe-cat summary small{margin-left:auto;color:#9a9a9a;font-weight:600;font-size:12px}
.pe-cat summary .cnt{margin-left:auto}
.pe-cat summary .cnt+small{margin-left:6px}
.pe-cat button{padding-left:24px}
.pe-cat[open]{padding-bottom:8px}
/* styled dropdown */
.pk{position:relative;min-width:0}
.pk-b{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left;cursor:pointer;font:inherit;color:var(--ink);background:#fff}
.pk-b.in{height:46px;padding:0 14px}
.pk-b.ac-role{height:38px;padding:0 12px;border:1px solid var(--line);border-radius:10px;font-size:13.5px;width:auto;min-width:150px}
.pk-b:hover{border-color:#c9c9c4}
.pk.open .pk-b{border-color:var(--ink);box-shadow:0 0 0 3px rgba(23,23,23,.08)}
.pk-t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pk-c{display:grid;place-items:center;color:var(--muted);transition:transform .15s}.pk-c .ico{width:14px;height:14px}
.pk.open .pk-c{transform:rotate(180deg)}
.pk-l{position:absolute;z-index:60;left:0;top:calc(100% + 6px);min-width:100%;width:max-content;max-width:min(420px,90vw);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.14);padding:6px}
.pk.up .pk-l{top:auto;bottom:calc(100% + 6px)}
.pk-o{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;text-align:left;font:inherit;font-size:14.5px;color:var(--ink);padding:11px 14px 11px 12px;border-radius:10px;cursor:pointer}
.pk-o i,.pk-o .ico{width:16px;height:16px;flex:none;color:var(--red)}
.pk-o:hover,.pk-o:focus{background:var(--mist);outline:0}
.pk-o[aria-selected=true]{background:var(--red-50)}

/* ---------- Grey Beard Digital */
.la-main h1,.hello h2,.login-form h2{font-family:"Bebas Neue","DM Sans",Arial,sans-serif;font-weight:400;letter-spacing:.01em;text-transform:uppercase}
.la-main h1{font-size:clamp(40px,4vw,58px);line-height:.98}
.hello h2{font-size:34px;line-height:1}
.login-form h2{font-size:32px;line-height:1}
.side .brand .lg{background:none;padding:0}
.side .brand .lg img{width:150px;height:auto;display:block}
.lf-logo{width:220px}
.li .th.ic-svc svg{width:22px;height:22px}
.icons button svg{width:22px;height:22px}
.icf .sw svg{width:22px;height:22px}
.qt{white-space:normal}
.side .brand.gbd{flex-direction:column;align-items:flex-start;gap:8px}
.side .brand.gbd small{font-size:12px;color:#9AA6B4}
.login-art .la-logo{display:block;width:210px;height:auto}
@media(max-width:480px){
 .top{gap:6px;padding:0 12px}
 .top h1{display:none}
 .top .pill{min-width:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;display:block;line-height:26px}
 .top .pill i{display:inline-block;margin-right:6px;vertical-align:middle}
 .top .acts{gap:6px;flex:none}
 .top .acts .b{padding:0 10px}
}
