/* ===== core-style-1 ===== */
:root{
  --bg:#f6f8fb;--panel:#fff;--ink:#192337;--muted:#6c768a;--line:#e5e8f0;
  --purple:#7457ff;--purple2:#9a86ff;--green:#1f9d73;--amber:#b7791f;--red:#cc5353;
  --navy:#17233d;--shadow:0 16px 38px rgba(25,35,55,.08)
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}

/* V34 smooth session restore: cover legacy screens until Supabase finishes deciding where the user belongs. */
#launchBootScreen{position:fixed;inset:0;z-index:99999;display:none;place-items:center;background:#f6f8fb;color:#192337}
body.launch-booting #launchBootScreen{display:grid}
.launch-boot-card{display:grid;justify-items:center;gap:11px;text-align:center;padding:24px}
.launch-boot-mark{width:44px;height:44px;border-radius:13px;background:linear-gradient(135deg,var(--purple),var(--purple2));display:grid;place-items:center;color:#fff;font-size:22px;font-weight:950;box-shadow:0 12px 28px rgba(116,87,255,.18)}
.launch-boot-spinner{width:22px;height:22px;border:3px solid #ded9ff;border-top-color:var(--purple);border-radius:50%;animation:launchBootSpin .75s linear infinite}
.launch-boot-card strong{font-size:14px}.launch-boot-card small{font-size:11px;color:#7a8496}
@keyframes launchBootSpin{to{transform:rotate(360deg)}}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{display:block;max-width:100%}
header{position:sticky;top:0;z-index:40;background:#fff;border-bottom:1px solid var(--line)}
.top{max-width:1320px;margin:auto;padding:14px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.brand{display:flex;align-items:center;gap:10px;font-size:22px;font-weight:900}
.mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,var(--purple),var(--purple2));display:grid;place-items:center;color:#fff}
.role-tabs,.subnav,.row,.tags{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.role-tabs button,.subnav button,.chip{border:1px solid var(--line);background:#fff;padding:10px 13px;border-radius:12px;font-weight:800;color:#4a556b}
.role-tabs button.active,.subnav button.active,.chip.active{background:#f1efff;border-color:#cdbfff;color:#5b44d4}
.persona{font-size:13px;color:var(--muted)}
main{max-width:1320px;margin:auto;padding:28px 22px 80px}
.role-view{display:none}
.role-view.active{display:block}
.client-view,.business-view,.admin-view{display:none}
.client-view.active,.business-view.active,.admin-view.active{display:block}

.card,.panel{background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.card{padding:20px}
.panel{padding:24px}
.soft{background:#fafbfe;border:1px solid var(--line);border-radius:16px;padding:16px}
.grid2{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}
.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.between{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.h1{font-size:48px;line-height:1.02;font-weight:900;margin:0}
.h2{font-size:26px;font-weight:900;margin:0}
.h3{font-size:18px;font-weight:900;margin:0}
.sub{font-size:14px;color:var(--muted);line-height:1.55}
.small{font-size:12px;color:var(--muted)}
.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:#7d68ef}
.pill{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;background:#f0edff;color:#5b44d4;font-size:12px;font-weight:800}
.pill.green{background:#e8f8f2;color:#197655}
.pill.amber{background:#fff3df;color:#a46917}
.pill.red{background:#ffe9e9;color:#af3131}
.tag{display:inline-flex;border:1px solid #dcd8ff;background:#fff;border-radius:999px;padding:7px 10px;color:#5c44d5;font-size:12px;font-weight:800}
.btn{border:0;border-radius:12px;padding:12px 16px;font-weight:850}
.btn.primary{background:var(--purple);color:#fff}
.btn.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}
.btn.green{background:var(--green);color:#fff}
.btn.soft{background:#f0edff;color:#5b44d4}
.btn.red{background:#fff0f0;color:#a63e3e;border:1px solid #ffd6d6}
.btn.small{padding:9px 12px;font-size:13px}
.metric{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}
.metric strong{display:block;font-size:30px;line-height:1.05;margin-bottom:6px}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:14px;vertical-align:top}
.table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#748099}
.summaryrow{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.summaryrow:last-child{border-bottom:0}

input,select,textarea{width:100%;border:1px solid #dfe3eb;background:#fff;border-radius:12px;padding:12px 13px;outline:none}
textarea{min-height:110px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:#9d8bff;box-shadow:0 0 0 3px rgba(116,87,255,.1)}
label{display:block;font-size:13px;font-weight:850;margin-bottom:8px}

.hero{display:grid;grid-template-columns:1.08fr .92fr;background:linear-gradient(135deg,#17233d,#292f55);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.hero-copy{padding:46px 42px;color:#fff;display:flex;flex-direction:column;justify-content:center}
.hero p{font-size:18px;color:#d9dfef;line-height:1.58;margin:14px 0 0}
.hero-img{min-height:320px;position:relative}
.hero-img img{width:100%;height:100%;object-fit:cover}
.hero-img:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(23,35,61,.28),transparent 28%)}
.startbox{max-width:930px;margin:-32px auto 0;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px;position:relative;z-index:2;box-shadow:var(--shadow)}

.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.choice{border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px;text-align:left}
.choice.selected{border-color:#816bff;background:#f5f2ff}
.choice b{display:block;margin-bottom:4px}
.choice span{font-size:13px;color:var(--muted);line-height:1.4}
.item-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.item{border:1px solid var(--line);background:#fff;border-radius:13px;padding:14px 10px;text-align:center;font-weight:800}
.item.selected{border-color:#816bff;background:#f5f2ff;color:#5b44d4}
.priority-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.priority{border:1px solid var(--line);background:#fff;border-radius:13px;padding:13px;text-align:left}
.priority.selected{border-color:#85ceb1;background:#eef9f4}
.priority b{display:block;margin-bottom:3px}
.priority span{font-size:12px;color:var(--muted);line-height:1.35}
.progress{display:flex;gap:8px;margin-bottom:18px}
.dot{height:8px;flex:1;border-radius:99px;background:#e5e8ef}
.dot.on{background:var(--purple)}
.step{display:none}
.step.active{display:block}
.actions{display:flex;justify-content:space-between;gap:12px;align-items:center;border-top:1px solid var(--line);padding-top:18px;margin-top:24px}
.check{display:flex;gap:10px;align-items:flex-start;margin:10px 0}
.check input{width:auto;margin-top:3px}

.proposal{border:1px solid var(--line);border-radius:18px;padding:18px;background:#fff}
.provider-inline{display:flex;gap:14px;align-items:flex-start}
.thumb{width:76px;height:76px;border-radius:16px;overflow:hidden;flex:0 0 auto;border:1px solid var(--line);background:#f2f4f8}
.thumb img{width:100%;height:100%;object-fit:cover}
.avatar{width:90px;height:90px;border-radius:24px;background:linear-gradient(135deg,#1f4b2d,#0e2417);color:#fff;display:grid;place-items:center;font-size:48px;font-weight:900}
.work-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.work-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.work-card img{width:100%;height:220px;object-fit:cover}
.work-card .cap{padding:12px}

.timeline{position:relative;padding-left:28px}
.timeline:before{content:"";position:absolute;left:10px;top:8px;bottom:8px;width:2px;background:#dfe3eb}
.event{position:relative;padding:0 0 18px 0}
.event:before{content:"";position:absolute;left:-23px;top:4px;width:12px;height:12px;border-radius:50%;background:var(--purple);box-shadow:0 0 0 4px #f0edff}
.event.done:before{background:var(--green);box-shadow:0 0 0 4px #e8f8f2}
.event b{display:block;margin-bottom:3px}

.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.feature{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff}
.feature b{display:block;margin-bottom:5px}
.feature .icon{font-size:24px;margin-bottom:8px}

.inspiration{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.inspire-card{border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.inspire-visual{height:150px;background:linear-gradient(135deg,#eef1f7,#dde3ed);display:grid;place-items:center;font-size:54px}
.inspire-card .cap{padding:14px}

.project-room{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}
.message-thread{border:1px solid var(--line);border-radius:16px;padding:14px;background:#fff}
.msg{max-width:76%;padding:10px 12px;border-radius:14px;margin:8px 0;font-size:13px;line-height:1.45}
.msg.client{background:#f0edff;margin-left:auto}
.msg.provider{background:#f1f3f7}
.approval{border:1px solid #d7d2ff;background:#f7f5ff;border-radius:16px;padding:16px}
.change{border:1px solid #f0d5a7;background:#fff8eb;border-radius:16px;padding:16px}
.scope-thread{border:1px solid var(--line);border-radius:16px;background:#fff;padding:14px}
.scope-msg{max-width:82%;padding:11px 13px;border-radius:14px;margin:9px 0;font-size:13px;line-height:1.5}
.scope-msg.provider{background:#f1f3f7}
.scope-msg.customer{background:#f0edff;margin-left:auto}
.scope-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.scope-check{display:flex;gap:9px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}
.scope-check input{width:auto;margin-top:2px}
.scope-lock{opacity:.55;pointer-events:none}
.scope-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ref-upload{border:2px dashed #d8ddeb;border-radius:16px;padding:18px;text-align:center;background:#fbfcff}
.ref-upload.drag{border-color:#8b77f6;background:#f7f4ff}
.ref-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ref-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;position:relative;min-width:0}
.ref-card img{width:100%;height:140px;object-fit:cover;background:#eef1f5}
.ref-file{height:140px;display:grid;place-items:center;background:#f0f2f6;font-weight:900;font-size:28px;color:#737d91}
.ref-cap{padding:9px 10px}
.ref-name{font-size:12px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref-note{font-size:11px;color:var(--muted);margin-top:3px;line-height:1.35}
.ref-remove{position:absolute;right:6px;top:6px;border:0;background:rgba(18,29,51,.84);color:#fff;width:28px;height:28px;border-radius:999px;font-weight:900;padding:0}
.profile-builder-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}
.builder-section{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff;margin-top:12px}
.builder-section:first-child{margin-top:0}
.profile-progress{height:10px;border-radius:999px;background:#e7eaf1;overflow:hidden}
.profile-progress span{display:block;height:100%;background:var(--green);width:0;transition:width .2s ease}
.builder-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.builder-check{display:flex;gap:9px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}
.builder-check input{width:auto;margin-top:2px}
.preview-profile{position:sticky;top:92px}
.preview-cover{height:120px;border-radius:16px;background:linear-gradient(135deg,#21324f,#162238);display:flex;align-items:flex-end;padding:18px;color:#fff}
.preview-avatar{width:72px;height:72px;border-radius:18px;background:linear-gradient(135deg,#1f4b2d,#0e2417);display:grid;place-items:center;color:#fff;font-size:34px;font-weight:900;border:3px solid #fff;margin-top:-34px}
.builder-portfolio{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.builder-portfolio .ref-card img{height:100px}
.dark-shell .builder-section,.dark-shell .builder-check{background:#17233d;border-color:#31415f}
.dark-shell .preview-profile{color:#fff}
.dark-shell .profile-progress{background:#2b3a56}
.capability-dropdown summary{list-style:none}
.capability-dropdown summary::-webkit-details-marker{display:none}
.capability-dropdown summary:before{content:'▸';display:inline-block;margin-right:8px;transition:transform .15s}
.capability-dropdown[open] summary:before{transform:rotate(90deg)}
.admin-case{border:1px solid var(--line);border-radius:14px;padding:13px;background:#fff;cursor:pointer}
.admin-case.active{border-color:#9c8bff;background:#faf8ff}
.admin-log{border-left:3px solid #d9deea;padding:8px 0 8px 12px;margin:7px 0}
.admin-log.important{border-color:#8c75ef}
.admin-evidence{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.admin-evidence-card{border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff;min-width:0}
.admin-evidence-card img{width:100%;height:120px;object-fit:cover;border-radius:9px;margin-bottom:8px}
.case-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.case-tabs button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 10px;font-weight:800;font-size:12px}
.case-tabs button.active{background:var(--accent2);border-color:#c7bcff;color:#5b43d5}
.admin-action-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}
.estimate-card{border:1px solid #e4d7aa;background:#fffaf0;border-radius:16px;padding:15px}
.payment-plan{border:1px solid var(--line);border-radius:14px;padding:13px;background:#fafbfe}
.milestone-row{display:grid;grid-template-columns:1fr 110px 1fr;gap:9px;align-items:end;margin-top:9px}
.delivery-proof{border:1px solid #cfe7dd;background:#f4fbf8;border-radius:16px;padding:15px}
.settlement-box{border:1px solid #e8d6ab;background:#fff9ed;border-radius:16px;padding:15px}
.settlement-offer{border:1px solid var(--line);background:#fff;border-radius:13px;padding:12px;margin-top:9px}
.dark-shell .payment-plan,.dark-shell .settlement-offer{background:#17233d;border-color:#31415f}
.dark-shell .estimate-card{background:#2a261d;border-color:#655832}
.dark-shell .delivery-proof{background:#142b25;border-color:#2d5d4d}
.dark-shell .settlement-box{background:#2b261b;border-color:#685936}
@media(max-width:760px){.milestone-row{grid-template-columns:1fr}}

@media(max-width:800px){.admin-evidence,.admin-action-grid{grid-template-columns:1fr}}

@media(max-width:980px){.profile-builder-grid{grid-template-columns:1fr}.preview-profile{position:static}.builder-checks{grid-template-columns:1fr}}

.dark-shell .ref-card{background:#17233d;border-color:#31415f}
.dark-shell .ref-upload{background:#111b30;border-color:#405477}
.dark-shell .ref-file{background:#22314e;color:#c9d2e2}
@media(max-width:700px){.ref-grid{grid-template-columns:1fr 1fr}}
.linked-banner{border:1px solid #cfc6ff;background:#f5f2ff;border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.linked-chat{display:grid;gap:8px;max-height:360px;overflow:auto;padding:4px}
.linked-msg{max-width:82%;padding:10px 12px;border-radius:13px;font-size:13px;line-height:1.45}
.linked-msg.customer{margin-left:auto;background:#eeeaff}
.linked-msg.provider{background:#f0f2f6}
.dark-shell .linked-msg.provider{background:#243451;color:#fff}
.dark-shell .linked-msg.customer{background:#392f73;color:#fff}
.linked-live{border:2px solid #b9abff;background:#fbfaff}
.dark-shell .linked-live{border-color:#6d5bd4;background:#182744}
.linked-statusline{display:flex;gap:8px;align-items:center;flex-wrap:wrap}

.dark-shell .scope-thread,.dark-shell .scope-check{background:#111b30;border-color:#31415f}
.dark-shell .scope-msg.provider{background:#22314e;color:#fff}
.dark-shell .scope-msg.customer{background:#30285f;color:#fff}

.provider-layout{display:grid;grid-template-columns:320px 1fr;gap:18px}
.sidebar{background:#fbfcff;border:1px solid var(--line);border-radius:20px;padding:18px}
.dark-shell{background:linear-gradient(180deg,#10192d,#13203a);border-radius:24px;padding:18px;color:#fff}
.dark-shell .panel,.dark-shell .card,.dark-shell .metric,.dark-shell .soft,.dark-shell .sidebar,.dark-shell .proposal{box-shadow:none;background:#17233d;border-color:#233352;color:#fff}
.dark-shell .sub,.dark-shell .small,.dark-shell .table th{color:#b8c3da}
.dark-shell .table td,.dark-shell .table th{border-bottom-color:#243451}
.dark-shell .tag{background:#17233d;border-color:#36486d;color:#d0c8ff}
.dark-shell .btn.secondary{background:#17233d;border-color:#31415f;color:#fff}
.dark-shell input,.dark-shell select,.dark-shell textarea{background:#111b30;border-color:#31415f;color:#fff}

.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.queue-item{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff;margin-top:12px}
.toast{position:fixed;right:22px;bottom:22px;background:#17233d;color:#fff;padding:12px 15px;border-radius:12px;display:none;z-index:50}
.toast.show{display:block}

@media(max-width:1050px){
  .hero,.grid2,.grid3,.grid4,.provider-layout,.project-room,.feature-grid,.inspiration,.work-gallery,.kpi-grid{grid-template-columns:1fr}
  .item-grid{grid-template-columns:1fr 1fr}
  .priority-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:700px){
  .top{align-items:flex-start;flex-direction:column}
  .h1{font-size:38px}
  .hero-copy{padding:34px 26px}
  .choice-grid,.priority-grid,.item-grid{grid-template-columns:1fr}
}

.feature-button{font:inherit;color:inherit;text-align:left;width:100%;cursor:pointer;min-height:150px;transition:transform .12s ease,border-color .12s ease,background .12s ease}
.feature-button:hover{transform:translateY(-2px);border-color:#bfb2ff;background:#fcfbff}
.feature-button:focus-visible{outline:3px solid rgba(111,85,245,.22);outline-offset:2px}
.feature-go{margin-top:12px;color:#6650dc;font-weight:850}
.demo-modal-backdrop{position:fixed;inset:0;background:rgba(15,23,40,.52);display:none;align-items:center;justify-content:center;padding:18px;z-index:100}
.demo-modal-backdrop.open{display:flex}
.demo-modal{background:#fff;border-radius:18px;border:1px solid var(--line);box-shadow:0 24px 70px rgba(8,15,30,.25);width:min(680px,100%);max-height:86vh;overflow:auto;padding:20px;color:var(--ink)}
.demo-modal .modal-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}

/* Client-first public landing page */
#publicLanding{min-height:100vh;background:#fbfcff;color:var(--ink)}
.public-top{height:74px;border-bottom:1px solid #e7e9f0;background:rgba(255,255,255,.96);display:flex;align-items:center}
.public-top-inner{width:min(1180px,calc(100% - 36px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.public-brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:950;letter-spacing:-.03em}
.public-brand .mark{width:35px;height:35px;border-radius:11px;background:linear-gradient(135deg,var(--purple),#947fff);color:#fff;display:grid;place-items:center;font-weight:950}
.public-nav{display:flex;align-items:center;gap:9px}
.public-link{border:0;background:transparent;color:#445069;font-weight:800;padding:10px 12px;cursor:pointer}
.public-shell{width:min(1180px,calc(100% - 36px));margin:auto}
.public-hero{display:grid;grid-template-columns:1.02fr .98fr;gap:28px;align-items:stretch;padding:66px 0 54px}
.public-hero-copy{display:flex;flex-direction:column;justify-content:center;padding:20px 8px 20px 0}
.public-kicker{text-transform:uppercase;letter-spacing:.09em;font-size:12px;font-weight:900;color:#6753d8}
.public-title{font-size:clamp(44px,6vw,72px);line-height:.98;letter-spacing:-.055em;margin:12px 0 18px;color:#17233d}
.public-lead{font-size:19px;line-height:1.62;color:#59657a;max-width:650px}
.public-cta{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}
.public-proof{display:flex;gap:18px;flex-wrap:wrap;margin-top:24px;color:#657086;font-size:13px;font-weight:750}
.public-proof span:before{content:"✓";display:inline-grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#edf8f3;color:#177b59;margin-right:7px}
.public-image{min-height:430px;border-radius:25px;overflow:hidden;position:relative;background:#eef1f7;box-shadow:0 20px 52px rgba(25,34,54,.13)}
.public-image img{width:100%;height:100%;object-fit:cover;object-position:66% center;display:block}
.public-image:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);border-radius:25px;pointer-events:none}
.public-how{padding:62px 0}
.public-center{text-align:center;max-width:760px;margin:0 auto}
.public-center h2,.public-trust h2{font-size:36px;letter-spacing:-.035em;margin:8px 0 10px;color:#17233d}
.public-center p,.public-trust p{color:#667187;line-height:1.6}
.public-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:28px}
.public-step{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:0 8px 25px rgba(25,34,54,.04)}
.public-step-num{width:34px;height:34px;border-radius:11px;background:#f0edff;color:#5c45d3;display:grid;place-items:center;font-weight:950;margin-bottom:14px}
.public-step h3{font-size:18px;margin:0 0 7px}
.public-step p{font-size:14px;color:#68748a;line-height:1.55;margin:0}
.public-trust-wrap{padding:0 0 70px}
.public-trust{background:#17233d;border-radius:25px;padding:38px;color:#fff;display:grid;grid-template-columns:1fr .9fr;gap:32px;align-items:center}
.public-trust h2{color:#fff;margin-top:7px}
.public-trust p{color:#d7ddec}
.public-trust-list{display:grid;gap:10px}
.public-trust-item{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:14px}
.public-trust-item strong{display:block;margin-bottom:3px}
.public-trust-item span{font-size:13px;color:#cfd6e6}
.public-footer{border-top:1px solid var(--line);padding:24px 0 34px;color:#7b8496;font-size:13px}
.public-footer-inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.public-footer-links{display:flex;gap:16px;flex-wrap:wrap}
.public-footer-links button{border:0;background:transparent;padding:0;color:#68748a;font:inherit;cursor:pointer}
#loggedInHeader,#appMain{display:none}
body.client-authenticated #publicLanding{display:none}
body.client-authenticated #loggedInHeader,body.client-authenticated #appMain{display:block}
body.client-authenticated #appMain .linked-banner{display:none!important}
body.client-authenticated #businessRole,body.client-authenticated #adminRole{display:none!important}
.client-account-actions{display:flex;align-items:center;gap:10px}
.auth-backdrop{position:fixed;inset:0;background:rgba(12,20,35,.48);z-index:200;display:none;align-items:center;justify-content:center;padding:18px}
.auth-backdrop.open{display:flex}
.auth-card{width:min(470px,100%);background:#fff;border-radius:21px;padding:22px;border:1px solid var(--line);box-shadow:0 28px 80px rgba(8,15,30,.25)}
.auth-card h2{margin:5px 0 6px;font-size:29px;letter-spacing:-.035em}
.auth-card p{margin:0;color:#667187;line-height:1.55}
.auth-fields{display:grid;gap:11px;margin-top:18px}
.auth-divider{display:flex;align-items:center;gap:10px;margin:16px 0;color:#9098a8;font-size:12px}
.auth-divider:before,.auth-divider:after{content:"";height:1px;background:var(--line);flex:1}
.auth-small{font-size:12px;color:#7a8496;line-height:1.5;margin-top:10px}
.auth-error{display:none;margin-top:10px}
@media(max-width:900px){
  .public-hero,.public-trust{grid-template-columns:1fr}
  .public-image{min-height:350px}
  .public-steps{grid-template-columns:1fr}
}
@media(max-width:620px){
  .public-nav .public-link{display:none}
  .public-top-inner,.public-shell{width:min(100% - 24px,1180px)}
  .public-hero{padding:38px 0}
  .public-image{min-height:300px}
  .public-trust{padding:25px}
  .public-center h2,.public-trust h2{font-size:30px}
}


/* Client account creation page */
#accountPage{display:none;min-height:100vh;background:#f7f8fb;color:var(--ink)}
body.account-flow #publicLanding{display:none}
body.account-flow #accountPage{display:block}
body.account-flow #loggedInHeader,body.account-flow #appMain{display:none!important}

.account-top{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center}
.account-top-inner{width:min(1080px,calc(100% - 36px));margin:auto;display:flex;justify-content:space-between;align-items:center;gap:16px}
.account-shell{width:min(1080px,calc(100% - 36px));margin:auto;padding:48px 0 70px}
.account-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:32px;align-items:start}
.account-side{padding:22px 8px 20px 0}
.account-side h1{font-size:44px;line-height:1.04;letter-spacing:-.045em;margin:10px 0 14px}
.account-side p{font-size:16px;line-height:1.65;color:#657187}
.account-side-list{display:grid;gap:11px;margin-top:22px}
.account-side-item{display:flex;gap:10px;align-items:flex-start}
.account-side-check{width:25px;height:25px;border-radius:999px;background:#edf8f3;color:#177b59;display:grid;place-items:center;font-weight:950;flex:0 0 auto}
.account-form-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:25px;box-shadow:0 16px 42px rgba(24,35,57,.08)}
.account-form-card h2{font-size:28px;letter-spacing:-.035em;margin:5px 0 6px}
.account-form-card p{color:#6b7589;line-height:1.55;margin:0}
.account-fields{display:grid;gap:12px;margin-top:20px}
.account-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.account-check{display:flex;gap:9px;align-items:flex-start;margin-top:13px}
.account-check input{width:auto;margin-top:3px}
.account-check span{font-size:12px;line-height:1.5;color:#68748a}
.account-note{border-top:1px solid var(--line);margin-top:18px;padding-top:14px;font-size:12px;line-height:1.55;color:#7a8495}
.account-login-link{border:0;background:transparent;color:#6048d5;font:inherit;font-weight:850;cursor:pointer;padding:0}
.account-security{display:flex;gap:8px;align-items:center;margin-top:14px;color:#68748a;font-size:12px}
.account-security .lock{width:28px;height:28px;border-radius:9px;background:#f2f4f8;display:grid;place-items:center}
.account-login-panel{display:none}
.account-success{display:none;text-align:center;padding:16px 0 4px}
.account-success-icon{width:62px;height:62px;border-radius:18px;background:#edf8f3;color:#177b59;display:grid;place-items:center;font-size:29px;font-weight:950;margin:0 auto 14px}
.account-error{display:none;margin-top:10px}
@media(max-width:820px){
  .account-grid{grid-template-columns:1fr}
  .account-side{padding-right:0}
}
@media(max-width:560px){
  .account-shell,.account-top-inner{width:min(100% - 24px,1080px)}
  .account-shell{padding-top:28px}
  .account-name-grid{grid-template-columns:1fr}
  .account-side h1{font-size:37px}
}


/* Client-first logged-in dashboard V3 */
.client-v3-header{height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;position:sticky;top:0;z-index:40}
.client-v3-inner{width:min(1180px,calc(100% - 36px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.client-v3-brand{display:flex;align-items:center;gap:10px;font-size:20px;font-weight:950;letter-spacing:-.03em}
.client-v3-brand .mark{width:35px;height:35px;border-radius:11px;background:linear-gradient(135deg,var(--purple),#947fff);color:#fff;display:grid;place-items:center;font-weight:950}
.client-v3-nav{display:flex;gap:4px;align-items:center}
.client-v3-nav button{border:0;background:transparent;border-radius:10px;padding:10px 12px;font-weight:820;color:#5e697d;cursor:pointer}
.client-v3-nav button.active,.client-v3-nav button:hover{background:#f4f2ff;color:#5b43d5}
.client-v3-user{display:flex;align-items:center;gap:9px}
.client-v3-avatar{width:36px;height:36px;border-radius:999px;background:#17233d;color:#fff;display:grid;place-items:center;font-weight:950}
.client-v3-name{font-weight:850}
#clientLoggedInV3{display:none;background:#f8f9fc;min-height:calc(100vh - 72px);color:var(--ink)}
body.client-v3-mode #publicLanding,
body.client-v3-mode #accountPage,
body.client-v3-mode #loggedInHeader,
body.client-v3-mode #appMain{display:none!important}
body.client-v3-mode #clientLoggedInV3{display:block}
body.client-v3-mode #clientV3Header{display:flex}
#clientV3Header{display:none}
.client-v3-shell{width:min(1180px,calc(100% - 36px));margin:auto;padding:44px 0 70px}
.client-v3-welcome{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.client-v3-welcome h1{font-size:40px;letter-spacing:-.045em;margin:6px 0 6px;color:#17233d}
.client-v3-welcome p{color:#6a7589;margin:0;font-size:15px}
.client-v3-main-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:18px;align-items:start}
.client-v3-start-card{background:#17233d;color:#fff;border-radius:24px;padding:28px;box-shadow:0 18px 44px rgba(22,34,58,.13)}
.client-v3-start-card h2{font-size:31px;letter-spacing:-.035em;margin:7px 0 8px}
.client-v3-start-card p{color:#d9dfec;line-height:1.55;max-width:620px}
.client-v3-start-actions{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:22px}
.client-v3-big-action{border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:16px;padding:18px;color:#fff;text-align:left;cursor:pointer;font:inherit}
.client-v3-big-action:hover{background:rgba(255,255,255,.13)}
.client-v3-big-action strong{display:block;font-size:17px;margin-bottom:5px}
.client-v3-big-action span{font-size:13px;color:#cbd3e4;line-height:1.45}
.client-v3-big-action.primary{background:#fff;color:#17233d}
.client-v3-big-action.primary span{color:#667187}
.client-v3-side{display:grid;gap:14px}
.client-v3-card{background:#fff;border:1px solid var(--line);border-radius:19px;padding:19px}
.client-v3-card h3{margin:0 0 7px;font-size:18px}
.client-v3-card p{margin:0;color:#707b8e;line-height:1.55;font-size:14px}
.client-v3-card .row{margin-top:13px}
.client-v3-empty{margin-top:22px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px}
.client-v3-empty-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.client-v3-empty-state{border:1px dashed #cfd5e2;border-radius:17px;padding:30px;text-align:center;margin-top:14px;background:#fcfdff}
.client-v3-empty-icon{width:52px;height:52px;border-radius:16px;background:#f0edff;color:#5d46d3;display:grid;place-items:center;margin:0 auto 12px;font-size:23px;font-weight:950}
.client-v3-empty-state h3{margin:0 0 6px;font-size:19px}
.client-v3-empty-state p{margin:0 auto;color:#727d90;max-width:520px;font-size:14px;line-height:1.55}
.client-v3-trust{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.client-v3-trust span{font-size:12px;color:#6c778b;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 10px}
.client-v3-feas{display:none;margin-top:14px;border-top:1px solid var(--line);padding-top:14px}
.client-v3-feas textarea{min-height:110px}
.client-v3-feas-result{display:none;margin-top:9px}
@media(max-width:900px){
  .client-v3-main-grid{grid-template-columns:1fr}
}
@media(max-width:680px){
  .client-v3-nav{display:none}
  .client-v3-inner,.client-v3-shell{width:min(100% - 24px,1180px)}
  .client-v3-start-actions{grid-template-columns:1fr}
  .client-v3-name{display:none}
  .client-v3-welcome h1{font-size:34px}
}


/* Smart project breakdown example */
.breakdown-example{max-width:1080px;margin:auto}
.breakdown-hero{background:#17233d;color:#fff;border-radius:24px;padding:30px}
.breakdown-hero h1{font-size:38px;letter-spacing:-.04em;line-height:1.05;margin:8px 0 10px}
.breakdown-hero p{color:#d8deeb;line-height:1.6;max-width:780px;margin:0}
.breakdown-project{margin-top:18px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}
.breakdown-project-top{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;align-items:start}
.breakdown-request{background:#fafbfe;border:1px solid var(--line);border-radius:16px;padding:17px}
.breakdown-request blockquote{margin:8px 0 0;padding:0;border:0;font-size:17px;font-weight:800;line-height:1.5;color:#28344c}
.breakdown-note{background:#f5f2ff;border:1px solid #ddd4ff;border-radius:16px;padding:17px}
.breakdown-note strong{display:block;margin-bottom:5px;color:#5d47cf}
.breakdown-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:18px}
.breakdown-stage{position:relative;background:#fff;border:1px solid var(--line);border-radius:17px;padding:17px}
.breakdown-stage-num{width:31px;height:31px;border-radius:10px;background:#f0edff;color:#5d46d3;display:grid;place-items:center;font-weight:950;margin-bottom:12px}
.breakdown-stage h3{margin:0 0 6px;font-size:17px}
.breakdown-stage p{margin:0;color:#6c778b;line-height:1.5;font-size:13px}
.breakdown-stage .pill{margin-top:11px}
.breakdown-divider{height:1px;background:var(--line);margin:22px 0}
.breakdown-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.breakdown-option{border:1px solid var(--line);border-radius:16px;padding:16px;background:#fff}
.breakdown-option strong{display:block;margin-bottom:5px}
.breakdown-option p{margin:0;color:#6d788b;font-size:13px;line-height:1.5}
.breakdown-bottom{margin-top:18px;background:#f9fafc;border:1px solid var(--line);border-radius:17px;padding:18px;display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap}
@media(max-width:900px){.breakdown-flow{grid-template-columns:1fr 1fr}.breakdown-project-top,.breakdown-options{grid-template-columns:1fr}}
@media(max-width:560px){.breakdown-flow{grid-template-columns:1fr}.breakdown-hero{padding:22px}.breakdown-hero h1{font-size:31px}}


/* Client-first Start a Project V6 */
.post-v6{max-width:930px;margin:0 auto}
.post-v6-top{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.post-v6-progress{display:flex;align-items:center;gap:7px}
.post-v6-progress span{width:42px;height:5px;border-radius:999px;background:#e5e8ef}
.post-v6-progress span.on{background:#7457ff}
.post-v6-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:0 13px 35px rgba(24,35,57,.06)}
.post-v6-step{display:none}
.post-v6-step.active{display:block}
.post-v6-question{font-size:36px;line-height:1.08;letter-spacing:-.042em;margin:8px 0 8px;color:#17233d}
.post-v6-help{font-size:15px;line-height:1.58;color:#6d788d;max-width:720px}
.post-v6-choices{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:22px}
.post-v6-choice{border:1px solid var(--line);background:#fff;border-radius:17px;padding:18px;text-align:left;cursor:pointer;font:inherit;color:#27334a;transition:.12s}
.post-v6-choice:hover{border-color:#b9adff;background:#fcfbff;transform:translateY(-1px)}
.post-v6-choice.selected{border:2px solid #7457ff;background:#f7f5ff;padding:17px}
.post-v6-choice strong{display:block;font-size:17px;margin-bottom:5px}
.post-v6-choice span{display:block;font-size:13px;line-height:1.45;color:#6f7a8d}
.post-v6-category{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:20px}
.post-v6-category button{min-height:78px;border:1px solid var(--line);background:#fff;border-radius:15px;padding:12px 10px;font:inherit;font-weight:850;color:#344056;cursor:pointer}
.post-v6-category button:hover{border-color:#b9adff;background:#fcfbff}
.post-v6-category button.selected{border:2px solid #7457ff;background:#f7f5ff;color:#5e46d5;padding:11px 9px}
.post-v6-textarea{min-height:170px;font-size:16px;line-height:1.55}
.post-v6-tip{display:flex;gap:10px;align-items:flex-start;margin-top:12px;background:#f8f9fc;border:1px solid var(--line);border-radius:14px;padding:13px;color:#667187;font-size:13px;line-height:1.5}
.post-v6-tip b{color:#344056}
.post-v6-upload{margin-top:14px;border:1.5px dashed #cbd2df;border-radius:16px;padding:18px;text-align:center;background:#fcfdff}
.post-v6-upload input{display:none}
.post-v6-upload label{cursor:pointer}
.post-v6-files{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}
.post-v6-file{background:#f2f4f8;border:1px solid var(--line);border-radius:9px;padding:7px 9px;font-size:12px;color:#536078}
.post-v6-basics{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.post-v6-block{border:1px solid var(--line);border-radius:16px;padding:15px;background:#fbfcfe}
.post-v6-block label{margin-bottom:7px}
.post-v6-stage{display:grid;gap:7px}
.post-v6-stage button{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 11px;text-align:left;font:inherit;font-weight:760;color:#435068;cursor:pointer}
.post-v6-stage button.selected{border-color:#7457ff;background:#f5f2ff;color:#5d46cf}
.post-v6-priorities{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}
#postV63BudgetTarget:disabled{background:#f0f2f5;color:#99a2b1}
.post-v6-priority{border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 11px;font:inherit;font-size:12px;font-weight:800;color:#566277;cursor:pointer}
.post-v6-priority.selected{background:#17233d;border-color:#17233d;color:#fff}
.post-v6-review{display:grid;gap:11px;margin-top:20px}
.post-v6-review-row{display:grid;grid-template-columns:170px 1fr;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}
.post-v6-review-row:last-child{border-bottom:0}
.post-v6-review-row span{color:#788295;font-size:13px}
.post-v6-review-row strong{color:#303c53;line-height:1.45}
.post-v6-notice{background:#f0faf6;border:1px solid #ccebdd;border-radius:15px;padding:14px;margin-top:15px;color:#376b5b;font-size:13px;line-height:1.5}
.post-v6-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-top:18px}
.post-v6-actions .right{display:flex;gap:9px}
.post-v6-skip{border:0;background:transparent;color:#7b8494;font:inherit;font-weight:800;cursor:pointer}
.post-v6-success{display:none;text-align:center;padding:28px 8px 10px}
.post-v6-success-icon{width:66px;height:66px;border-radius:20px;background:#edf8f3;color:#177b59;display:grid;place-items:center;font-size:29px;font-weight:950;margin:0 auto 15px}
.post-v6-success h2{font-size:32px;letter-spacing:-.035em;margin:5px 0 8px}
.post-v6-success p{max-width:620px;margin:0 auto;color:#6c778b;line-height:1.55}
.post-v6-success-actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap;margin-top:20px}
@media(max-width:820px){
  .post-v6-category{grid-template-columns:1fr 1fr}
  .post-v6-basics{grid-template-columns:1fr}
}
@media(max-width:600px){
  .post-v6-card{padding:21px}
  .post-v6-question{font-size:30px}
  .post-v6-choices{grid-template-columns:1fr}
  .post-v6-review-row{grid-template-columns:1fr;gap:4px}
  .post-v6-actions{align-items:stretch}
  .post-v6-actions .right{margin-left:auto}
}


/* V7: keep the new client shell on every client page */
body.client-v3-subpage{
  background:#f8f9fc;
}
body.client-v3-subpage #publicLanding,
body.client-v3-subpage #accountPage,
body.client-v3-subpage #loggedInHeader,
body.client-v3-subpage #clientLoggedInV3{
  display:none!important;
}
body.client-v3-subpage #clientV3Header{
  display:flex!important;
}
body.client-v3-subpage #appMain{
  display:block!important;
  background:#f8f9fc;
  min-height:calc(100vh - 72px);
  padding-top:30px;
}
body.client-v3-subpage #appMain .linked-banner{
  display:none!important;
}
body.client-v3-subpage #businessRole,
body.client-v3-subpage #adminRole{
  display:none!important;
}
body.client-v3-subpage #clientRole{
  display:block!important;
}
body.client-v3-subpage #clientRole > .subnav{
  display:none!important;
}
body.client-v3-subpage #clientRole > .client-view{
  margin-top:0;
}
body.client-v3-subpage #clientPostV6,
body.client-v3-subpage #clientBreakdownExample{
  padding-top:0;
}
body.client-v3-subpage #clientPostV6 .post-v6,
body.client-v3-subpage #clientBreakdownExample .breakdown-example{
  width:min(100%,1080px);
}
.client-v3-nav button.active{
  background:#f4f2ff!important;
  color:#5b43d5!important;
}
@media(max-width:680px){
  body.client-v3-subpage #appMain{padding-top:18px}
}


.client-v7-development-note{
  width:min(1180px,100%);
  margin:0 auto 14px;
  background:#f4f2ff;
  border:1px solid #ddd5ff;
  color:#5f4bbf;
  border-radius:13px;
  padding:10px 13px;
  font-size:12px;
  font-weight:750;
}


/* V8 category-specific materials */
.post-v8-material-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:21px}
.post-v8-material{border:1px solid var(--line);background:#fff;border-radius:15px;padding:15px;text-align:left;cursor:pointer;font:inherit;color:#334057;min-height:82px}
.post-v8-material:hover{border-color:#b9adff;background:#fcfbff}
.post-v8-material.selected{border:2px solid #7457ff;background:#f7f5ff;padding:14px;color:#5d46d3}
.post-v8-material strong{display:block;font-size:15px;margin-bottom:4px}
.post-v8-material span{display:block;font-size:12px;line-height:1.4;color:#768195}
.post-v8-other-wrap{display:none;margin-top:12px}
@media(max-width:780px){.post-v8-material-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.post-v8-material-grid{grid-template-columns:1fr}}


/* V9 smart routing preview */
.route-v9-box{
  margin-top:16px;
  border:1px solid #ddd5ff;
  background:#faf8ff;
  border-radius:16px;
  padding:15px;
}
.route-v9-box strong{display:block;color:#5d46d3;margin-bottom:6px}
.route-v9-tags{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}
.route-v9-tag{
  border:1px solid #d7d0ff;
  background:#fff;
  color:#5d46d3;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:850;
}
.route-v9-tag.primary{
  background:#5d46d3;
  color:#fff;
  border-color:#5d46d3;
}
.route-v9-explain{
  margin-top:8px;
  font-size:12px;
  line-height:1.5;
  color:#68748a;
}


/* V10 context-aware project description */
.post-v10-examples-wrap{margin-top:13px}
.post-v10-examples{display:flex;gap:8px;flex-wrap:wrap;margin-top:7px}
.post-v10-example{
  border:1px solid var(--line);
  background:#fff;
  color:#566277;
  border-radius:12px;
  padding:9px 11px;
  font:inherit;
  font-size:12px;
  font-weight:780;
  cursor:pointer;
  text-align:left;
  line-height:1.35;
  max-width:100%;
}
.post-v10-example:hover{border-color:#b9adff;background:#f8f6ff;color:#5d46d3}


/* V11 CAD / design readiness */
.route-v11-ready{border-color:#cbe8da!important;background:#f4fbf7!important}
.route-v11-ready strong{color:#177b59!important}
.route-v11-design{border-color:#efd9a5!important;background:#fffaf0!important}
.route-v11-design strong{color:#95660d!important}
.route-v11-neutral{border-color:#d9dfe9!important;background:#fafbfc!important}

/* V12 customer in-progress project experience */
body.client-project-v12{
  background:#f7f8fb;
}
body.client-project-v12 #publicLanding,
body.client-project-v12 #accountPage,
body.client-project-v12 #clientLoggedInV3,
body.client-project-v12 #loggedInHeader,
body.client-project-v12 #appMain{
  display:none!important;
}
body.client-project-v12 #clientV3Header{display:block!important}
body.client-project-v12 #clientProjectV12{display:block}
#clientProjectV12{display:none}

.v12-project-card{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  border-radius:18px;
  padding:0;
  text-align:left;
  cursor:pointer;
  color:inherit;
  font:inherit;
  box-shadow:0 7px 24px rgba(43,53,77,.05);
}
.v12-project-card:hover{border-color:#c9c1ff;transform:translateY(-1px)}
.v12-project-card-main{padding:20px}
.v12-project-card h3{font-size:20px;margin:9px 0 3px}
.v12-project-card p{margin:0;color:#6c788d}
.v12-open-arrow{font-size:26px;color:#7057ec}
.v12-project-mini-progress{height:7px;display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:18px 0 9px}
.v12-project-mini-progress span{border-radius:99px;background:#e6e9ef}
.v12-project-mini-progress span.done{background:#8f7df2}
.v12-project-mini-progress span.active{background:#b9adff}
.v12-project-meta{font-size:12px;color:#727e92}

.v12-project-shell{padding:28px 20px 70px}
.v12-project-wrap{max-width:1160px;margin:0 auto}
.v12-project-topbar,.v12-project-heading,.v12-section-heading{display:flex;justify-content:space-between;gap:18px;align-items:center}
.v12-project-heading{margin:22px 0}
.v12-project-heading h1{font-size:34px;margin:5px 0 4px;color:#1f2940}
.v12-project-heading p{margin:0;color:#6c788d}
.v12-project-heading-side{
  border:1px solid var(--line);background:#fff;border-radius:14px;padding:13px 16px;text-align:right;min-width:190px
}
.v12-project-heading-side strong{display:block;font-size:18px;margin-top:3px}

.v12-project-tabs{
  display:flex;gap:4px;overflow:auto;border-bottom:1px solid #dfe3ea;margin-bottom:22px
}
.v12-project-tabs button{
  border:0;background:transparent;padding:13px 14px;font:inherit;font-size:13px;font-weight:800;color:#738096;cursor:pointer;white-space:nowrap;border-bottom:2px solid transparent
}
.v12-project-tabs button.active{color:#5d46d3;border-bottom-color:#6f56ed}
.v12-tab-dot{display:inline-block;width:7px;height:7px;background:#7057ec;border-radius:50%;margin-left:4px;vertical-align:1px}

.v12-view{display:none}
.v12-view.active{display:block}
.v12-overview-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,.72fr);gap:18px}
.v12-two-col{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr);gap:18px}
.v12-message-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.6fr);gap:18px}
.v12-card{
  border:1px solid var(--line);
  background:#fff;
  border-radius:18px;
  padding:20px;
  box-shadow:0 7px 24px rgba(43,53,77,.045);
}
.v12-card h2,.v12-card h3{color:#263149}
.v12-copy{color:#667388;line-height:1.6;font-size:14px}
.v12-status-percent{font-size:24px;font-weight:900;color:#6b54df}
.v12-big-progress{height:9px;background:#eceef3;border-radius:99px;overflow:hidden;margin:16px 0 20px}
.v12-big-progress span{height:100%;display:block;background:#7560e8;border-radius:99px}

.v12-timeline{display:grid;gap:0}
.v12-time-item{position:relative;display:grid;grid-template-columns:34px 1fr;gap:10px;padding:0 0 18px}
.v12-time-item:not(:last-child):before{content:"";position:absolute;left:16px;top:30px;bottom:0;width:2px;background:#e3e6ed}
.v12-time-icon{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eef0f4;color:#818c9d;font-weight:900;font-size:12px;z-index:1}
.v12-time-item.done .v12-time-icon{background:#e9e5ff;color:#6048d4}
.v12-time-item.active .v12-time-icon{background:#654dde;color:#fff}
.v12-time-item strong{display:block;font-size:14px;margin:4px 0}
.v12-time-item small{display:block;color:#778398;line-height:1.45}

.v12-update-photos{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0}
.v12-photo-placeholder{
  min-height:110px;border:1px dashed #cbd1dc;background:linear-gradient(145deg,#f5f6f9,#eceff4);border-radius:13px;display:grid;place-items:center;align-content:center;color:#8792a4;gap:3px
}
.v12-photo-placeholder span{font-size:28px}
.v12-photo-placeholder.large{min-height:175px}
.v12-provider{display:flex;gap:11px;align-items:center;margin:15px 0}
.v12-provider-avatar{width:44px;height:44px;border-radius:12px;background:#ece8ff;color:#5f49cf;display:grid;place-items:center;font-weight:900}
.v12-provider-facts{display:grid;gap:7px;font-size:12px;color:#69758a;margin:12px 0 16px}
.v12-fact-row{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-bottom:1px solid #edf0f4;font-size:13px}
.v12-fact-row span{color:#747f92}
.v12-next-card{background:#faf9ff;border-color:#ded8ff}

.v12-thread{padding:0;overflow:hidden}
.v12-thread-head{display:flex;align-items:center;gap:10px;padding:17px 18px;border-bottom:1px solid #e8ebf0}
.v12-message-date{text-align:center;color:#8a94a5;font-size:11px;font-weight:800;margin:18px 0 10px}
.v12-bubble{max-width:76%;padding:12px 14px;border-radius:15px;margin:9px 18px;font-size:13px;line-height:1.5}
.v12-bubble p{margin:3px 0 5px}
.v12-bubble small{display:block;color:#8a94a5;font-size:10px}
.v12-bubble.provider{background:#f1f3f7;color:#38445a}
.v12-bubble.customer{background:#6c54df;color:#fff;margin-left:auto}
.v12-bubble.customer small{color:#dcd6ff}
.v12-compose{border-top:1px solid #e8ebf0;padding:14px}
.v12-compose textarea{min-height:86px;margin-bottom:8px}
.v12-callout{border:1px solid #e3defc;background:#faf9ff;border-radius:14px;padding:14px;margin-top:14px}
.v12-callout p{color:#6f7a8d;line-height:1.5;font-size:12px;margin:6px 0 11px}

.v12-section-heading{margin:4px 0 16px}
.v12-section-heading h2{margin:4px 0 0;font-size:26px;color:#263149}
.v12-update-feed{display:grid;gap:16px;max-width:850px}
.v12-feed-item{position:relative;padding-left:25px}
.v12-feed-line{position:absolute;left:0;top:0;bottom:0;width:5px;border-radius:18px 0 0 18px;background:#7a63e9}
.v12-feed-item h3{margin:8px 0 6px}
.v12-feed-item p{color:#667388;line-height:1.55}

.v12-scope-list{display:grid;margin-top:15px}
.v12-scope-list>div{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid #edf0f4;font-size:13px}
.v12-scope-list span{color:#748095}
.v12-scope-list strong{text-align:right}
.v12-file{display:grid;grid-template-columns:42px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f4}
.v12-file-icon{width:38px;height:38px;border-radius:9px;background:#f0edff;color:#614bd1;display:grid;place-items:center;font-size:10px;font-weight:900}
.v12-file strong,.v12-file small{display:block}
.v12-file small{color:#8590a1;margin-top:2px}

.v12-price{font-size:29px;color:#263149}
.v12-proposal-lines{margin-top:18px}
.v12-proposal-lines>div,.v12-proposal-total{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #eceff3;font-size:13px}
.v12-proposal-lines span{color:#707c90}
.v12-proposal-total{border-top:2px solid #dfe3ea;border-bottom:0;margin-top:5px;font-size:15px}
.v12-payment-step{display:grid;grid-template-columns:34px 1fr auto;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid #edf0f4;font-size:13px}
.v12-payment-step small{display:block;color:#7d889a;margin-top:2px}
.v12-pay-check{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#eef0f4;font-size:11px;font-weight:900;color:#7a8596}
.v12-payment-step.paid .v12-pay-check{background:#e5f7ef;color:#167655}
.v12-subtle-issue{width:100%;border:0;background:transparent;color:#7b8494;text-decoration:underline;cursor:pointer;font:inherit;font-size:12px;margin-top:12px}

@media(max-width:900px){
  .v12-overview-grid,.v12-two-col,.v12-message-layout{grid-template-columns:1fr}
  .v12-project-heading{align-items:flex-start}
}
@media(max-width:620px){
  .v12-project-shell{padding:18px 12px 50px}
  .v12-project-heading,.v12-project-topbar,.v12-section-heading{align-items:flex-start;flex-direction:column}
  .v12-project-heading-side{text-align:left;width:100%}
  .v12-update-photos{grid-template-columns:1fr}
  .v12-bubble{max-width:88%}
  .v12-scope-list>div{flex-direction:column;gap:3px}
  .v12-scope-list strong{text-align:left}
}


/* V13 provider / business experience */
#businessV13Header,#businessV13App{display:none}
body.business-v13-mode{background:#f7f8fb}
body.business-v13-mode #publicLanding,
body.business-v13-mode #accountPage,
body.business-v13-mode #clientV3Header,
body.business-v13-mode #clientLoggedInV3,
body.business-v13-mode #clientProjectV12,
body.business-v13-mode #loggedInHeader,
body.business-v13-mode #appMain{display:none!important}
body.business-v13-mode #businessV13Header{display:block}
body.business-v13-mode #businessV13App{display:block}

.business-v13-header{
  height:72px;background:#fff;border-bottom:1px solid #e1e5ec;position:sticky;top:0;z-index:50
}
.business-v13-inner{max-width:1240px;height:100%;margin:0 auto;padding:0 20px;display:flex;align-items:center;gap:26px}
.business-v13-brand{font-size:20px;font-weight:950;color:#222d43;white-space:nowrap}
.business-v13-brand .mark{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#6c55df;color:#fff;margin-right:8px}
.business-v13-nav{display:flex;align-items:center;gap:4px;flex:1}
.business-v13-nav button{
  border:0;background:transparent;padding:10px 11px;border-radius:9px;font:inherit;font-size:12px;font-weight:820;color:#6b778b;cursor:pointer;white-space:nowrap
}
.business-v13-nav button:hover,.business-v13-nav button.active{background:#f3f1ff;color:#5d46d3}
.business-v13-count{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;background:#eeeaff;color:#5f48d1;border-radius:99px;font-size:10px;margin-left:3px}
.business-v13-dot{display:inline-block;width:7px;height:7px;background:#6b52dc;border-radius:50%;margin-left:4px}
.business-v13-account{display:flex;align-items:center;gap:9px}
.business-v13-avatar{width:39px;height:39px;border-radius:11px;background:#ebe7ff;color:#5d46d3;display:grid;place-items:center;font-size:12px;font-weight:950;flex:none}
.business-v13-avatar.customer{background:#edf0f5;color:#536076}
.business-v13-account-name{display:grid;line-height:1.1;max-width:165px}
.business-v13-account-name strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.business-v13-account-name span{font-size:9px;color:#8993a3;margin-top:3px}

.business-v13-app{min-height:calc(100vh - 72px)}
.business-v13-shell{max-width:1180px;margin:0 auto;padding:30px 20px 70px}
.business-v13-view{display:none}
.business-v13-view.active{display:block}
.business-v13-welcome,.business-v13-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
.business-v13-welcome h1,.business-v13-page-head h1{font-size:31px;margin:5px 0;color:#222d43}
.business-v13-welcome p,.business-v13-page-head p{margin:0;color:#6e7a8e;line-height:1.5}
.business-v13-page-head p{max-width:720px}

.business-v13-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:27px}
.business-v13-stat{
  border:1px solid #e0e4eb;background:#fff;border-radius:16px;padding:16px;text-align:left;font:inherit;color:inherit;box-shadow:0 7px 22px rgba(43,53,77,.04)
}
button.business-v13-stat{cursor:pointer}
button.business-v13-stat:hover{border-color:#c7beff}
.business-v13-stat span,.business-v13-stat small{display:block;color:#7a8597;font-size:11px}
.business-v13-stat strong{display:block;font-size:26px;color:#263149;margin:5px 0}
.business-v13-stat small{font-size:10px}

.business-v13-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.7fr);gap:20px}
.business-v13-section-head{display:flex;justify-content:space-between;gap:14px;align-items:end;margin-bottom:11px}
.business-v13-section-head h2{font-size:23px;margin:4px 0 0;color:#263149}
.business-v13-card{
  border:1px solid #e0e4eb;background:#fff;border-radius:17px;padding:18px;box-shadow:0 7px 23px rgba(43,53,77,.04)
}
.business-v13-copy{font-size:13px;color:#6e7a8e;line-height:1.55}

.business-v13-opportunity-list{display:grid;gap:11px}
.business-v13-opportunity-list.wide{max-width:920px}
.business-v13-opportunity{
  border:1px solid #e0e4eb;background:#fff;border-radius:17px;padding:17px;box-shadow:0 7px 22px rgba(43,53,77,.035);cursor:pointer
}
.business-v13-opportunity:hover{border-color:#c9c1ff;transform:translateY(-1px)}
.business-v13-opportunity.strong{border-left:4px solid #725be4;padding-left:14px}
.business-v13-opportunity h3{font-size:18px;margin:10px 0 5px;color:#263149}
.business-v13-opportunity p{font-size:13px;color:#687589;line-height:1.5;margin:0}
.business-v13-op-top,.business-v13-op-bottom{display:flex;justify-content:space-between;gap:12px;align-items:center}
.business-v13-op-bottom{border-top:1px solid #edf0f4;margin-top:13px;padding-top:12px;font-size:11px;color:#737f91}
.business-v13-ready{display:inline-flex;align-items:center;border-radius:99px;padding:5px 8px;font-size:10px;font-weight:850;margin-left:5px}
.business-v13-ready.ready{background:#eaf8f1;color:#167654}
.business-v13-ready.review{background:#fff5df;color:#98670b}
.business-v13-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}
.business-v13-tags span{background:#f3f4f7;border:1px solid #e7e9ee;color:#657185;border-radius:99px;padding:5px 8px;font-size:10px;font-weight:760}
.business-v13-tags.selectable span{cursor:pointer}
.business-v13-tags.selectable span.selected{background:#f0edff;border-color:#d4ccff;color:#5d46d3}

.business-v13-pref-row{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:11px 0;border-bottom:1px solid #edf0f4}
.business-v13-pref-row strong,.business-v13-pref-row small{display:block}
.business-v13-pref-row strong{font-size:12px}
.business-v13-pref-row small{font-size:10px;color:#7d889a;margin-top:3px;line-height:1.35}
.business-v13-switch{width:36px;height:21px;border-radius:99px;background:#d9dde5;position:relative;flex:none}
.business-v13-switch:after{content:"";width:15px;height:15px;border-radius:50%;background:#fff;position:absolute;left:3px;top:3px;box-shadow:0 1px 3px rgba(0,0,0,.15)}
.business-v13-switch.on{background:#6d55df}
.business-v13-switch.on:after{left:18px}
.business-v13-mini-job{padding:12px 0;border-bottom:1px solid #edf0f4}
.business-v13-mini-job strong{font-size:12px}.business-v13-mini-job span{font-size:11px;color:#5f48cf;font-weight:900}
.business-v13-mini-job small{font-size:10px;color:#7f8a9c}
.business-v13-mini-bar,.business-v13-bigbar{height:6px;background:#eceef3;border-radius:99px;overflow:hidden;margin:8px 0}
.business-v13-mini-bar span,.business-v13-bigbar span{display:block;height:100%;background:#745de5;border-radius:99px}

.business-v13-filterbar{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}
.business-v13-filterbar button{border:1px solid #e1e4eb;background:#fff;border-radius:99px;padding:8px 11px;font:inherit;font-size:11px;font-weight:800;color:#6e798d;cursor:pointer}
.business-v13-filterbar button.active{background:#6250cb;color:#fff;border-color:#6250cb}
.business-v13-filterbar span{opacity:.75}

.business-v13-active-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.business-v13-job-card{border:1px solid #e0e4eb;background:#fff;border-radius:17px;padding:18px;box-shadow:0 7px 22px rgba(43,53,77,.04)}
.business-v13-job-card h3{font-size:18px;margin:12px 0 3px;color:#263149}
.business-v13-job-card p{margin:0;color:#788497;font-size:11px}
.business-v13-job-next{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid #edf0f4;font-size:11px}
.business-v13-job-next span{color:#7a8598}

.business-v13-message-page{display:grid;grid-template-columns:330px minmax(0,1fr);gap:14px}
.business-v13-thread-list{border:1px solid #e0e4eb;background:#fff;border-radius:17px;overflow:hidden}
.business-v13-thread-list button{width:100%;border:0;border-bottom:1px solid #edf0f4;background:#fff;padding:13px;display:grid;grid-template-columns:38px 1fr auto;gap:9px;align-items:start;text-align:left;font:inherit;color:inherit;cursor:pointer}
.business-v13-thread-list button.active{background:#f8f6ff}
.business-v13-thread-list span:nth-child(2){display:grid}
.business-v13-thread-list strong{font-size:12px}.business-v13-thread-list small{font-size:10px;color:#7f899a;margin-top:2px}.business-v13-thread-list em{font-size:10px;color:#5f6b7f;font-style:normal;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:195px}
.business-v13-thread-list b{width:19px;height:19px;border-radius:50%;background:#6b54dc;color:#fff;display:grid;place-items:center;font-size:9px}
.business-v13-thread-avatar{width:35px;height:35px;border-radius:10px;background:#ece9ff;color:#5d46d3;display:grid!important;place-items:center;font-size:10px;font-weight:900}
.business-v13-message-preview textarea{min-height:90px}
.business-v13-chat-preview{padding:12px 0}

.business-v13-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.business-v13-cap-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:13px}
.business-v13-cap-grid label{border:1px solid #e5e8ed;border-radius:11px;padding:10px;font-size:11px;color:#566277}
.business-v13-cap-grid input,.business-v13-checkline input{accent-color:#674fd8}
.business-v13-checkline{display:grid;grid-template-columns:18px 1fr;gap:8px;padding:12px 0;border-bottom:1px solid #edf0f4;align-items:start}
.business-v13-checkline strong,.business-v13-checkline small{display:block}.business-v13-checkline strong{font-size:12px}.business-v13-checkline small{font-size:10px;color:#7c8799;margin-top:3px;line-height:1.4}
.business-v13-checkline.plain{grid-template-columns:1fr auto;align-items:center}

.business-v13-op-detail{display:none}
.business-v13-op-detail.active{display:block}
.business-v13-op-detail-top,.business-v13-op-detail-head{display:flex;justify-content:space-between;gap:18px;align-items:center}
.business-v13-op-detail-head{margin:22px 0}
.business-v13-op-detail-head h1{font-size:32px;color:#222d43;margin:10px 0 4px}
.business-v13-op-detail-head p{margin:0;color:#738095}
.business-v13-match-score{border:1px solid #ddd7ff;background:#faf8ff;border-radius:15px;padding:12px 18px;text-align:center;min-width:125px}
.business-v13-match-score span,.business-v13-match-score small{display:block;color:#7c8799;font-size:9px}.business-v13-match-score strong{display:block;font-size:26px;color:#5e48cc;margin:2px 0}
.business-v13-detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.65fr);gap:18px}
.business-v13-project-description{font-size:15px;line-height:1.7;color:#48556a;margin:15px 0}
.business-v13-spec-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #edf0f4;margin-top:14px}
.business-v13-spec-grid>div{padding:12px 8px 12px 0;border-bottom:1px solid #edf0f4}.business-v13-spec-grid span,.business-v13-spec-grid strong{display:block}.business-v13-spec-grid span{font-size:10px;color:#7c8799;margin-bottom:3px}.business-v13-spec-grid strong{font-size:12px}
.business-v13-match-line{display:grid;grid-template-columns:24px 1fr;gap:8px;padding:10px 0;border-bottom:1px solid #edf0f4}.business-v13-match-line>span{width:21px;height:21px;border-radius:50%;display:grid;place-items:center;background:#e8f7f0;color:#147451;font-weight:900;font-size:10px}.business-v13-match-line strong,.business-v13-match-line small{display:block}.business-v13-match-line strong{font-size:11px}.business-v13-match-line small{font-size:9px;color:#7d8899;margin-top:2px}
.business-v13-pass-link{display:block;width:100%;border:0;background:transparent;text-decoration:underline;color:#7d8797;font:inherit;font-size:10px;cursor:pointer;margin-top:10px}
.business-v13-customer-row{display:flex;gap:9px;align-items:center;margin:12px 0}.business-v13-customer-row strong,.business-v13-customer-row small{display:block}.business-v13-customer-row strong{font-size:12px}.business-v13-customer-row small{font-size:9px;color:#7e8999;margin-top:2px}
.business-v13-provider-fact{font-size:10px;color:#637085;padding:6px 0;border-top:1px solid #edf0f4}

@media(max-width:1040px){
  .business-v13-account-name{display:none}
  .business-v13-nav{overflow:auto}
}
@media(max-width:900px){
  .business-v13-dashboard-grid,.business-v13-detail-grid,.business-v13-profile-grid,.business-v13-message-page{grid-template-columns:1fr}
  .business-v13-stats{grid-template-columns:1fr 1fr}
  .business-v13-active-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  .business-v13-inner{gap:10px;padding:0 10px}
  .business-v13-nav{display:none}
  .business-v13-account{margin-left:auto}
  .business-v13-welcome,.business-v13-page-head,.business-v13-op-detail-head,.business-v13-op-detail-top{align-items:flex-start;flex-direction:column}
  .business-v13-stats{grid-template-columns:1fr}
  .business-v13-spec-grid,.business-v13-cap-grid{grid-template-columns:1fr}
  .business-v13-op-top,.business-v13-op-bottom{align-items:flex-start;flex-direction:column}
}


/* V14 functional provider demo */
.business-v14-job-workspace{display:none}
.business-v14-job-workspace.active{display:block}
.v14-job-tabs{display:flex;gap:4px;overflow:auto;border-bottom:1px solid #dfe3ea;margin-bottom:20px}
.v14-job-tabs button{border:0;background:transparent;padding:12px 13px;font:inherit;font-size:12px;font-weight:850;color:#748095;cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}
.v14-job-tabs button.active{color:#5d46d3;border-bottom-color:#6b54dc}
.v14-job-panel{display:none}.v14-job-panel.active{display:block}
.v14-provider-checklist{display:grid;gap:8px;margin-top:16px}
.v14-provider-checklist label{border:1px solid #e5e8ee;border-radius:11px;padding:10px 11px;font-size:12px;color:#566277}
.v14-provider-checklist label.done{background:#f6fbf8;color:#40705d}
.v14-provider-checklist input{accent-color:#6650d6;margin-right:7px}
.v14-update-entry{margin-bottom:11px}.v14-update-entry p{color:#687589;font-size:13px;line-height:1.5;margin-bottom:0}

.v14-modal-backdrop{display:none;position:fixed;inset:0;background:rgba(24,31,48,.48);z-index:1000;padding:22px;overflow:auto}
.v14-modal-backdrop.active{display:flex;align-items:flex-start;justify-content:center}
.v14-modal{position:relative;width:min(680px,100%);background:#fff;border-radius:20px;padding:22px;margin:auto;box-shadow:0 24px 75px rgba(22,28,42,.24)}
.v14-modal.wide{width:min(820px,100%)}
.v14-modal-x{position:absolute;right:13px;top:10px;border:0;background:transparent;color:#768195;font-size:27px;cursor:pointer}
.v14-modal h2{font-size:25px;margin:5px 0 7px;color:#253049}.v14-modal h3{margin:10px 0 7px;color:#253049}
.v14-modal p{color:#687589;line-height:1.55}
.v14-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.v14-field{display:grid;gap:5px}.v14-field.full{grid-column:1/-1}.v14-field label{font-size:11px;font-weight:850;color:#596579}
.v14-field input,.v14-field select,.v14-field textarea{width:100%;border:1px solid #dce1e9;border-radius:11px;padding:10px 11px;font:inherit;color:#344057;background:#fff}
.v14-field textarea{min-height:90px;resize:vertical}
.v14-line-items{display:grid;gap:8px;margin:12px 0}
.v14-line-item{display:grid;grid-template-columns:1fr 120px 34px;gap:7px;align-items:center}
.v14-line-item input{border:1px solid #dce1e9;border-radius:10px;padding:9px;font:inherit}
.v14-line-remove{border:0;background:#f2f3f6;border-radius:9px;height:36px;cursor:pointer;color:#7d8798}
.v14-total{display:flex;justify-content:space-between;border-top:2px solid #e4e7ed;margin-top:10px;padding-top:12px;font-size:17px}
.v14-success{border:1px solid #cbe8da;background:#f4fbf7;border-radius:14px;padding:13px;color:#277055}
.v14-warning{border:1px solid #edd9a8;background:#fffaf0;border-radius:14px;padding:13px;color:#805c15}
.v14-file-preview{min-height:230px;border:1px dashed #cbd2de;background:#f6f7f9;border-radius:15px;display:grid;place-items:center;text-align:center;padding:20px;margin:14px 0}
.v14-file-preview strong{font-size:18px}.v14-file-preview span{font-size:42px;color:#7d6ae0}
.v14-upload-note{font-size:11px;color:#7b8799;margin-top:6px}
.v14-hidden-by-filter{display:none!important}
.v14-passed{opacity:.55;position:relative}
.v14-passed:after{content:"Passed";position:absolute;right:16px;top:16px;background:#edf0f4;color:#687487;border-radius:99px;padding:5px 8px;font-size:10px;font-weight:900}
.business-v13-filterbar button{transition:.15s ease}
.business-v13-thread-list button{transition:.15s ease}
.business-v13-opportunity [data-v13-open-opportunity]{pointer-events:auto}
@media(max-width:620px){.v14-form-grid{grid-template-columns:1fr}.v14-line-item{grid-template-columns:1fr 90px 34px}}


/* V15 flexible revisions + growing business capabilities */
.v15-revision-control{display:flex;gap:10px;align-items:center}
.v15-revision-control>input[type=number]{max-width:110px}
.v15-inline-check{display:flex!important;align-items:center;gap:6px;font-size:11px!important;font-weight:800!important;color:#596579}
.v15-inline-check input{accent-color:#674fd8}

#v15CapabilitiesGrid label{
  position:relative;
  display:grid;
  grid-template-columns:18px 1fr 24px;
  gap:7px;
  align-items:center;
}
.v15-remove-cap,.v15-remove-equipment{
  border:0;background:transparent;color:#9aA3b2;cursor:pointer;font-size:17px;line-height:1;padding:2px
}
.v15-remove-cap:hover,.v15-remove-equipment:hover{color:#c24a4a}
.v15-equipment-list{display:grid;gap:8px;margin-top:13px}
.v15-equipment-item{
  border:1px solid #e5e8ed;border-radius:11px;padding:10px;
  display:grid;grid-template-columns:24px 1fr 28px;gap:8px;align-items:center
}
.v15-equipment-item>span{width:22px;height:22px;border-radius:50%;background:#e9f7f0;color:#197855;display:grid;place-items:center;font-size:10px;font-weight:900}
.v15-equipment-item strong,.v15-equipment-item small{display:block}
.v15-equipment-item strong{font-size:12px}.v15-equipment-item small{font-size:10px;color:#7d889a;margin-top:2px}
.v15-info-strip{border:1px solid #ddd7ff;background:#faf8ff;color:#65558d;border-radius:12px;padding:10px 11px;font-size:11px;line-height:1.45;margin:10px 0}
.v15-option-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.v15-option{
  border:1px solid #e0e4eb;background:#fff;border-radius:11px;padding:10px;
  text-align:left;font:inherit;color:#566277;cursor:pointer;font-size:11px;font-weight:800
}
.v15-option:hover{border-color:#c8bfff;background:#f8f6ff;color:#5d46d3}
.v15-custom-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}
.v15-custom-row input{border:1px solid #dce1e9;border-radius:10px;padding:10px;font:inherit}
@media(max-width:620px){.v15-option-grid{grid-template-columns:1fr}.v15-custom-row{grid-template-columns:1fr}}


/* V16 category -> subcategory capability structure */
.v16-category-list{display:grid;gap:10px;margin-top:15px}
.v16-category-card{border:1px solid #e2e6ec;border-radius:14px;overflow:hidden;background:#fff}
.v16-category-head{
  width:100%;border:0;background:#fff;padding:13px 14px;
  display:grid;grid-template-columns:38px 1fr auto 22px;gap:10px;align-items:center;
  text-align:left;font:inherit;color:inherit;cursor:pointer
}
.v16-category-head:hover{background:#fbfaff}
.v16-category-icon{
  width:36px;height:36px;border-radius:10px;background:#eeeaff;color:#5d46d3;
  display:grid;place-items:center;font-weight:950
}
.v16-category-title strong,.v16-category-title small{display:block}
.v16-category-title strong{font-size:13px}.v16-category-title small{font-size:10px;color:#7b8799;margin-top:3px}
.v16-category-count{font-size:10px;font-weight:850;color:#6d58d9;background:#f1eeff;border-radius:99px;padding:5px 8px}
.v16-chevron{font-size:17px;color:#8791a1;transition:.15s}
.v16-category-card.collapsed .v16-chevron{transform:rotate(-90deg)}
.v16-category-body{border-top:1px solid #edf0f4;padding:13px 14px;background:#fcfcfd}
.v16-category-card.collapsed .v16-category-body{display:none}
.v16-sub-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.v16-sub-grid label{
  border:1px solid #e6e9ee;background:#fff;border-radius:10px;padding:9px 10px;
  font-size:11px;color:#566277;display:flex;align-items:center;gap:7px
}
.v16-sub-grid input{accent-color:#674fd8}
.v16-custom-sub{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:10px}
.v16-custom-sub input{border:1px solid #dce1e9;border-radius:10px;padding:9px 10px;font:inherit}
.v16-category-remove{
  margin-top:10px;border:0;background:transparent;color:#8a94a4;text-decoration:underline;
  font:inherit;font-size:10px;cursor:pointer
}
.v16-add-category-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.v16-add-category-option{
  border:1px solid #e0e4eb;background:#fff;border-radius:12px;padding:11px;
  text-align:left;font:inherit;color:#566277;cursor:pointer
}
.v16-add-category-option:hover{border-color:#c8bfff;background:#f8f6ff;color:#5d46d3}
.v16-add-category-option strong,.v16-add-category-option small{display:block}
.v16-add-category-option strong{font-size:12px}.v16-add-category-option small{font-size:9px;color:#7d889a;margin-top:3px;line-height:1.35}
@media(max-width:620px){
  .v16-sub-grid,.v16-add-category-grid{grid-template-columns:1fr}
  .v16-category-head{grid-template-columns:36px 1fr 20px}
  .v16-category-count{display:none}
}


/* V17 owner/admin control center */
#adminV17Header,#adminV17App{display:none}
body.admin-v17-mode{background:#f5f7fa}
body.admin-v17-mode #publicLanding,
body.admin-v17-mode #accountPage,
body.admin-v17-mode #clientV3Header,
body.admin-v17-mode #clientLoggedInV3,
body.admin-v17-mode #clientProjectV12,
body.admin-v17-mode #businessV13Header,
body.admin-v17-mode #businessV13App,
body.admin-v17-mode #loggedInHeader,
body.admin-v17-mode #appMain{display:none!important}
body.admin-v17-mode #adminV17Header{display:block}
body.admin-v17-mode #adminV17App{display:block}

.admin-v17-header{height:72px;background:#172033;color:#fff;position:sticky;top:0;z-index:70;border-bottom:1px solid #263149}
.admin-v17-inner{max-width:1320px;height:100%;margin:0 auto;padding:0 18px;display:flex;align-items:center;gap:22px}
.admin-v17-brand{font-size:18px;font-weight:950;white-space:nowrap}
.admin-v17-brand .mark{width:30px;height:30px;border-radius:8px;background:#7560e8;display:inline-grid;place-items:center;margin-right:7px}
.admin-v17-brand em{font-style:normal;font-size:9px;background:#2c3852;color:#bfc8d8;border-radius:99px;padding:4px 7px;margin-left:5px;vertical-align:2px}
.admin-v17-nav{display:flex;gap:3px;flex:1;overflow:auto}
.admin-v17-nav button{border:0;background:transparent;color:#aeb8ca;font:inherit;font-size:11px;font-weight:820;padding:9px 10px;border-radius:8px;cursor:pointer;white-space:nowrap}
.admin-v17-nav button:hover,.admin-v17-nav button.active{background:#26324a;color:#fff}
.admin-v17-count,.admin-v17-alert-count{display:inline-grid;place-items:center;min-width:18px;height:18px;border-radius:99px;padding:0 5px;margin-left:3px;font-size:9px}
.admin-v17-count{background:#6d56dc;color:#fff}.admin-v17-alert-count{background:#b56a2d;color:#fff}
.admin-v17-account{display:flex;align-items:center;gap:7px}
.admin-v17-account .btn{border-color:#3b4760;color:#dbe1ec;background:#202b40}
.admin-v17-avatar{width:34px;height:34px;border-radius:9px;background:#7560e8;display:grid;place-items:center;font-weight:950}
.admin-v17-account>div:last-child{display:grid;line-height:1.1}.admin-v17-account strong{font-size:10px}.admin-v17-account small{font-size:8px;color:#9eabbe;margin-top:2px}

.admin-v17-app{min-height:calc(100vh - 72px)}
.admin-v17-shell{max-width:1240px;margin:0 auto;padding:30px 20px 70px}
.admin-v17-view{display:none}.admin-v17-view.active{display:block}
.admin-v17-page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}
.admin-v17-page-head h1{font-size:31px;margin:5px 0;color:#202a3e}.admin-v17-page-head p{margin:0;color:#6c788c;max-width:780px;line-height:1.5}
.admin-v17-health{display:flex;gap:9px;align-items:center;border:1px solid #d9e7df;background:#f5fbf8;border-radius:13px;padding:11px 13px}
.admin-v17-health .dot{width:9px;height:9px;border-radius:50%;background:#35a776}.admin-v17-health strong,.admin-v17-health small{display:block}.admin-v17-health strong{font-size:11px}.admin-v17-health small{font-size:9px;color:#788596;margin-top:2px}
.admin-v17-stats{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin-bottom:25px}
.admin-v17-stat{border:1px solid #dfe4eb;background:#fff;border-radius:15px;padding:14px;text-align:left;font:inherit;color:inherit}
button.admin-v17-stat{cursor:pointer}.admin-v17-stat.attention{border-color:#d8d0ff;background:#faf8ff}
.admin-v17-stat span,.admin-v17-stat small{display:block;color:#7a8597;font-size:10px}.admin-v17-stat strong{display:block;font-size:23px;color:#263149;margin:5px 0}.admin-v17-stat small{font-size:9px}
.admin-v17-dashboard-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.7fr);gap:20px}
.admin-v17-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:10px}.admin-v17-section-head h2{margin:4px 0 0;font-size:22px;color:#263149}
.admin-v17-card{border:1px solid #dfe4eb;background:#fff;border-radius:16px;padding:17px;box-shadow:0 6px 20px rgba(36,46,68,.035)}
.admin-v17-copy{color:#687589;font-size:12px;line-height:1.55}
.admin-v17-attention-list{display:grid;gap:9px}
.admin-v17-attention-card{width:100%;border:1px solid #e0e4eb;background:#fff;border-radius:14px;padding:13px;display:grid;grid-template-columns:34px 1fr auto;gap:11px;align-items:center;text-align:left;font:inherit;color:inherit;cursor:pointer}
.admin-v17-attention-card:hover{border-color:#c8c0ff}.admin-v17-attention-card.purple{border-left:4px solid #7058df}.admin-v17-attention-card.amber{border-left:4px solid #b77b33}
.admin-v17-attention-icon{width:31px;height:31px;border-radius:9px;background:#f1efff;color:#614bcf;display:grid;place-items:center;font-weight:900}.admin-v17-attention-card.amber .admin-v17-attention-icon{background:#fff4df;color:#9b6815}
.admin-v17-attention-card strong,.admin-v17-attention-card small{display:block}.admin-v17-attention-card strong{font-size:12px}.admin-v17-attention-card small{font-size:10px;color:#7c8799;margin-top:3px}
.admin-v17-attention-card>span:last-child{font-size:10px;color:#6550cc;font-weight:850}
.admin-v17-activity{border:1px solid #e0e4eb;background:#fff;border-radius:15px;overflow:hidden}.admin-v17-activity>div{display:grid;grid-template-columns:29px 1fr auto;gap:9px;align-items:center;padding:11px 13px;border-bottom:1px solid #edf0f4}.admin-v17-activity>div:last-child{border-bottom:0}.admin-v17-activity p{margin:0;font-size:11px;color:#596579}.admin-v17-activity small{font-size:9px;color:#8892a2}.admin-v17-activity>div>span{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;font-size:9px;font-weight:900}.admin-v17-activity .green{background:#eaf8f1;color:#197955}.admin-v17-activity .purple{background:#efecff;color:#5c47c9}.admin-v17-activity .blue{background:#eaf3ff;color:#3373b7}
.admin-v17-route-row,.admin-v17-coverage{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf0f4;font-size:11px}.admin-v17-route-row span,.admin-v17-coverage span{color:#6f7a8d}.admin-v17-coverage .low{color:#a76a1d}
.admin-v17-mini-chart{display:flex;height:8px;overflow:hidden;border-radius:99px;margin-top:13px}.admin-v17-mini-chart span:nth-child(1){background:#6e57dc}.admin-v17-mini-chart span:nth-child(2){background:#b5a9ef}.admin-v17-mini-chart span:nth-child(3){background:#ddd8f8}

.admin-v17-filter{display:flex;gap:6px}.admin-v17-filter button{border:1px solid #dfe4eb;background:#fff;border-radius:99px;padding:7px 10px;font:inherit;font-size:10px;font-weight:800;color:#687589;cursor:pointer}.admin-v17-filter button.active{background:#5f4bc5;color:#fff;border-color:#5f4bc5}
.admin-v17-feas-list{display:grid;gap:11px;max-width:930px}
.admin-v17-feas-card{border:1px solid #dfe4eb;background:#fff;border-radius:16px;padding:17px}.admin-v17-feas-card h3{font-size:18px;margin:10px 0 5px;color:#263149}.admin-v17-feas-card p{font-size:12px;color:#687589;line-height:1.55}.admin-v17-priority{font-size:9px;color:#8a6618;background:#fff5df;border-radius:99px;padding:5px 7px;margin-left:5px;font-weight:850}.admin-v17-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.admin-v17-tags span{font-size:9px;color:#647084;background:#f3f4f7;border:1px solid #e6e9ee;border-radius:99px;padding:5px 7px}.admin-v17-feas-bottom{border-top:1px solid #edf0f4;margin-top:12px;padding-top:11px;font-size:10px;color:#758093}
.admin-v17-feas-card.hidden{display:none}

.admin-v17-table-card{border:1px solid #dfe4eb;background:#fff;border-radius:15px;overflow:hidden}
.admin-v17-table-head,.admin-v17-table-row{display:grid;grid-template-columns:1.7fr 1.05fr 1.3fr .8fr 1fr 28px;gap:10px;align-items:center;padding:11px 13px}.admin-v17-table-head{background:#f8f9fb;color:#7e899b;font-size:9px;font-weight:850;text-transform:uppercase}.admin-v17-table-row{width:100%;border:0;border-top:1px solid #edf0f4;background:#fff;text-align:left;font:inherit;color:#566277;cursor:pointer;font-size:10px}.admin-v17-table-row:hover{background:#fbfaff}.admin-v17-table-row strong,.admin-v17-table-row small{display:block}.admin-v17-table-row strong{font-size:11px;color:#344057}.admin-v17-table-row small{font-size:9px;color:#8892a2;margin-top:2px}.admin-v17-badge{display:inline-flex;border-radius:99px;padding:5px 7px;background:#eef0f4;color:#667286;font-size:9px;font-weight:850}.admin-v17-badge.green{background:#e9f8f1;color:#187654}.admin-v17-badge.amber{background:#fff4df;color:#96640e}
.admin-v17-table-head.transactions,.admin-v17-table-row.transactions{grid-template-columns:1.5fr 1fr 1fr 1fr 1fr 28px}
.admin-v17-provider-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.admin-v17-provider-card{border:1px solid #dfe4eb;background:#fff;border-radius:16px;padding:16px;text-align:left;font:inherit;color:inherit;cursor:pointer}.admin-v17-provider-card:hover{border-color:#c8c0ff}.admin-v17-provider-logo{width:40px;height:40px;border-radius:11px;background:#eeeaff;color:#604bcf;display:grid;place-items:center;font-size:11px;font-weight:950}.admin-v17-provider-card h3{font-size:16px;margin:11px 0 2px}.admin-v17-provider-card p{margin:0;color:#7b8698;font-size:10px}.admin-v17-provider-metrics{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #edf0f4;margin-top:12px;padding-top:11px}.admin-v17-provider-metrics span{text-align:center}.admin-v17-provider-metrics strong,.admin-v17-provider-metrics small{display:block}.admin-v17-provider-metrics strong{font-size:14px}.admin-v17-provider-metrics small{font-size:8px;color:#8590a1;margin-top:2px}
.admin-v17-transaction-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:15px}.admin-v17-transaction-summary>div{border:1px solid #dfe4eb;background:#fff;border-radius:14px;padding:14px}.admin-v17-transaction-summary span,.admin-v17-transaction-summary strong{display:block}.admin-v17-transaction-summary span{font-size:9px;color:#7d889a}.admin-v17-transaction-summary strong{font-size:20px;margin-top:5px}
.admin-v17-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.admin-v17-support-card{border:1px solid #dfe4eb;background:#fff;border-radius:16px;padding:17px;text-align:left;font:inherit;color:inherit;cursor:pointer}.admin-v17-support-card.amber{border-left:4px solid #b87a31}.admin-v17-support-card h3{font-size:17px;margin:11px 0 5px}.admin-v17-support-card p{font-size:11px;color:#687589;line-height:1.5}.admin-v17-support-facts{display:flex;gap:5px;flex-wrap:wrap;margin-top:10px}.admin-v17-support-facts span{font-size:9px;background:#f3f4f7;border-radius:99px;padding:5px 7px;color:#6f7a8d}
.admin-v17-detail{display:none}.admin-v17-detail.active{display:block}.admin-v17-detail-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.admin-v17-detail-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.7fr);gap:17px}.admin-v17-detail h1{font-size:30px;color:#222d43;margin:7px 0}.admin-v17-detail-card{border:1px solid #dfe4eb;background:#fff;border-radius:16px;padding:18px}.admin-v17-route-choice{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px}.admin-v17-route-choice button{border:1px solid #dfe4eb;background:#fff;border-radius:99px;padding:7px 9px;font:inherit;font-size:10px;font-weight:800;color:#5f6b7f;cursor:pointer}.admin-v17-route-choice button.selected{background:#5f4bc5;color:#fff;border-color:#5f4bc5}
@media(max-width:1080px){.admin-v17-stats{grid-template-columns:repeat(3,1fr)}.admin-v17-account>div:last-child{display:none}}
@media(max-width:900px){.admin-v17-dashboard-grid,.admin-v17-detail-grid{grid-template-columns:1fr}.admin-v17-provider-grid,.admin-v17-support-grid{grid-template-columns:1fr}.admin-v17-transaction-summary{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.admin-v17-nav{display:none}.admin-v17-account{margin-left:auto}.admin-v17-account .btn{display:none}.admin-v17-stats{grid-template-columns:1fr 1fr}.admin-v17-page-head{align-items:flex-start;flex-direction:column}.admin-v17-table-head{display:none}.admin-v17-table-row,.admin-v17-table-row.transactions{grid-template-columns:1fr 1fr;padding:13px}.admin-v17-table-row span:last-child{display:none}.admin-v17-transaction-summary{grid-template-columns:1fr}}


/* V18 provider brand customization */
.v18-brand-card{overflow:hidden}
.v18-brand-editor{display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:18px;margin-top:16px}
.v18-brand-media{min-width:0}
.v18-cover{
  min-height:165px;border:1px dashed #cfd5df;border-radius:15px;
  background:linear-gradient(145deg,#f5f6f8,#eaedf2);
  position:relative;overflow:hidden;background-size:cover;background-position:center
}
.v18-cover-empty{position:absolute;inset:0;display:grid;place-items:center;align-content:center;text-align:center;color:#7c8798;padding:20px}
.v18-cover-empty strong,.v18-cover-empty small{display:block}.v18-cover-empty strong{font-size:13px}.v18-cover-empty small{font-size:10px;margin-top:4px}
.v18-cover-button{position:absolute;right:10px;bottom:10px;background:rgba(255,255,255,.92)!important}
.v18-logo-row{display:flex;gap:12px;align-items:center;margin-top:12px}
.v18-logo-preview{
  width:72px;height:72px;border-radius:16px;border:1px solid #dddfe7;background:#ece8ff;
  color:#5d46d3;display:grid;place-items:center;overflow:hidden;flex:none;font-weight:950
}
.v18-logo-preview img{width:100%;height:100%;object-fit:cover}
.v18-brand-fields{display:grid;gap:7px}
.v18-brand-fields label{font-size:10px;font-weight:850;color:#5f6b7f;margin-top:3px}
.v18-brand-fields input,.v18-brand-fields textarea{
  width:100%;border:1px solid #dce1e9;border-radius:10px;padding:10px 11px;font:inherit;color:#344057;background:#fff
}
.v18-brand-fields textarea{min-height:104px;resize:vertical}
.v18-accent-options{display:flex;gap:8px;flex-wrap:wrap}
.v18-accent-options button{
  width:34px;height:34px;border:2px solid transparent;border-radius:10px;background:#fff;padding:4px;cursor:pointer
}
.v18-accent-options button.selected{border-color:#5d46d3}
.v18-accent-options span{display:block;width:100%;height:100%;border-radius:7px}
.v18-portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.v18-portfolio-placeholder,.v18-portfolio-item{
  min-height:145px;border:1px dashed #cfd5df;border-radius:13px;background:#f5f6f8;
  display:grid;place-items:center;align-content:center;text-align:center;overflow:hidden;position:relative
}
.v18-portfolio-placeholder span{font-size:28px;color:#8791a2}
.v18-portfolio-placeholder strong,.v18-portfolio-placeholder small{display:block}
.v18-portfolio-placeholder strong{font-size:11px;margin-top:4px}.v18-portfolio-placeholder small{font-size:9px;color:#8a94a4;margin-top:2px}
.v18-portfolio-item img{width:100%;height:145px;object-fit:cover;display:block}
.v18-portfolio-item .v18-photo-label{
  position:absolute;left:0;right:0;bottom:0;padding:8px 9px;
  background:linear-gradient(transparent,rgba(17,23,34,.82));color:#fff;font-size:10px;text-align:left
}
.v18-portfolio-remove{
  position:absolute;right:7px;top:7px;width:26px;height:26px;border:0;border-radius:50%;
  background:rgba(255,255,255,.92);color:#667286;cursor:pointer;font-size:15px
}

.v18-public-profile{
  --brand:#6b54dc;
  border:1px solid #dfe4eb;border-radius:18px;overflow:hidden;background:#fff
}
.v18-public-cover{
  height:190px;background:linear-gradient(135deg,#e8ebf2,#f4f5f8);
  background-size:cover;background-position:center;position:relative
}
.v18-public-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 55%,rgba(13,18,28,.28))}
.v18-public-main{padding:0 20px 20px}
.v18-public-identity{display:flex;gap:13px;align-items:end;margin-top:-38px;position:relative;z-index:2}
.v18-public-logo{
  width:82px;height:82px;border-radius:18px;background:#eeeaff;border:4px solid #fff;
  color:var(--brand);display:grid;place-items:center;overflow:hidden;font-weight:950
}
.v18-public-logo img{width:100%;height:100%;object-fit:cover}
.v18-public-name{padding-bottom:6px}
.v18-public-name h2{margin:0;color:#232e43}.v18-public-name p{margin:3px 0 0;color:#6f7a8d;font-size:11px}
.v18-public-verified{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}
.v18-public-verified span{font-size:9px;border-radius:99px;background:#f0edff;color:var(--brand);padding:5px 8px;font-weight:850}
.v18-public-about{font-size:12px;line-height:1.6;color:#596579}
.v18-public-section{margin-top:17px}.v18-public-section h3{font-size:14px;margin:0 0 8px;color:#263149}
.v18-public-tags{display:flex;gap:5px;flex-wrap:wrap}.v18-public-tags span{font-size:9px;background:#f3f4f7;border-radius:99px;padding:5px 7px;color:#667286}
.v18-public-portfolio{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}
.v18-public-photo{height:100px;border-radius:10px;background:#f0f2f5;overflow:hidden;display:grid;place-items:center;color:#8590a2;font-size:10px}
.v18-public-photo img{width:100%;height:100%;object-fit:cover}
.v18-brand-success{font-size:10px;color:#1f7757;margin-top:6px;display:none}
@media(max-width:800px){.v18-brand-editor{grid-template-columns:1fr}.v18-portfolio-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.v18-portfolio-grid,.v18-public-portfolio{grid-template-columns:1fr}}


/* V19 verified review system */
.v19-review-summary{display:grid;grid-template-columns:220px minmax(260px,1fr) minmax(260px,.8fr);gap:16px;margin-bottom:20px}
.v19-rating-hero,.v19-rating-bars,.v19-review-dimensions{border:1px solid #e0e4eb;background:#fff;border-radius:16px;padding:18px}
.v19-rating-hero{text-align:center;display:grid;place-items:center;align-content:center}
.v19-big-rating{font-size:43px;font-weight:950;color:#263149;line-height:1}
.v19-stars{color:#d99a25;letter-spacing:2px;font-size:17px;margin:7px 0}
.v19-rating-hero strong,.v19-rating-hero small{display:block}.v19-rating-hero strong{font-size:11px}.v19-rating-hero small{font-size:9px;color:#838e9f;margin-top:3px}
.v19-rating-bars{display:grid;gap:9px}.v19-rating-bars>div{display:grid;grid-template-columns:55px 1fr 24px;gap:8px;align-items:center;font-size:9px;color:#6e798b}
.v19-rating-bars>div>div{height:7px;background:#edf0f4;border-radius:99px;overflow:hidden}.v19-rating-bars i{display:block;height:100%;background:#d99a25;border-radius:99px}.v19-rating-bars strong{font-size:9px;color:#536075;text-align:right}
.v19-review-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.v19-review-dimensions>div{border:1px solid #edf0f4;border-radius:11px;padding:11px}.v19-review-dimensions span,.v19-review-dimensions strong{display:block}.v19-review-dimensions span{font-size:9px;color:#7b8799}.v19-review-dimensions strong{font-size:18px;color:#263149;margin-top:3px}
.v19-review-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:13px}.v19-review-toolbar .business-v13-filterbar{margin:0}.v19-review-toolbar select{border:1px solid #dfe4eb;border-radius:10px;padding:8px 10px;background:#fff;font:inherit;font-size:10px;color:#617084}
.v19-review-list{display:grid;gap:12px;max-width:900px}.v19-review-card{border:1px solid #e0e4eb;background:#fff;border-radius:16px;padding:18px}.v19-review-card.hidden{display:none}
.v19-review-card-head{display:flex;justify-content:space-between;gap:14px;align-items:center}.v19-review-customer{display:flex;gap:9px;align-items:center}.v19-review-customer strong,.v19-review-customer small{display:block}.v19-review-customer strong{font-size:12px}.v19-review-customer small{font-size:9px;color:#7f8a9b;margin-top:2px}
.v19-review-meta{text-align:right}.v19-review-meta small{display:block;font-size:9px;color:#8993a3;margin-top:3px}.small-stars{font-size:12px;letter-spacing:1px}
.v19-verified-review{display:inline-flex;margin-top:11px;background:#eaf8f1;color:#167654;border-radius:99px;padding:5px 8px;font-size:9px;font-weight:850}
.v19-review-card h3{font-size:16px;margin:11px 0 5px;color:#263149}.v19-review-card>p{font-size:12px;line-height:1.55;color:#647084;margin:0 0 12px}
.v19-review-photo-row{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.v19-review-photo-row button{width:115px;height:85px;border:1px dashed #ccd3dd;border-radius:10px;background:#f5f6f8;display:grid;place-items:center;align-content:center;color:#7c8798;cursor:pointer}.v19-review-photo-row span{font-size:22px}.v19-review-photo-row small{font-size:8px;margin-top:3px}
.v19-provider-reply{border-left:3px solid #cfc7fb;background:#faf9ff;border-radius:0 10px 10px 0;padding:10px 12px;margin-top:10px}.v19-provider-reply strong{font-size:10px;color:#5746b3}.v19-provider-reply p{font-size:10px;line-height:1.5;color:#687589;margin:4px 0 0}
.v19-public-review{border:1px solid #eceef2;border-radius:11px;padding:10px}.v19-public-review strong{font-size:9px;color:#d09424}.v19-public-review p{font-size:10px;color:#627084;line-height:1.5;margin:5px 0}.v19-public-review small{font-size:8px;color:#8993a3}
.v19-star-picker{display:flex;gap:7px;margin:8px 0 14px}.v19-star-picker button{border:0;background:transparent;font-size:32px;color:#d9dde5;cursor:pointer;padding:0}.v19-star-picker button.selected{color:#d99a25}
.v19-review-categories{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.v19-review-categories label{border:1px solid #e4e7ed;border-radius:10px;padding:9px;display:grid;grid-template-columns:1fr 70px;gap:8px;align-items:center;font-size:10px;color:#5f6b7d}.v19-review-categories select{border:1px solid #dce1e9;border-radius:8px;padding:6px;font:inherit;font-size:9px}
.v19-review-upload-preview{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.v19-review-upload-preview div{width:80px;height:65px;border-radius:8px;overflow:hidden;background:#f1f3f6}.v19-review-upload-preview img{width:100%;height:100%;object-fit:cover}
@media(max-width:900px){.v19-review-summary{grid-template-columns:1fr}.v19-review-toolbar{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.v19-review-categories{grid-template-columns:1fr}.v19-review-card-head{align-items:flex-start;flex-direction:column}.v19-review-meta{text-align:left}}


/* V20 Stripe-oriented billing and payouts */
#clientV20Billing{display:none}
body.client-v20-billing-mode{background:#f7f8fb}
body.client-v20-billing-mode #publicLanding,
body.client-v20-billing-mode #accountPage,
body.client-v20-billing-mode #clientLoggedInV3,
body.client-v20-billing-mode #clientProjectV12,
body.client-v20-billing-mode #businessV13Header,
body.client-v20-billing-mode #businessV13App,
body.client-v20-billing-mode #adminV17Header,
body.client-v20-billing-mode #adminV17App,
body.client-v20-billing-mode #loggedInHeader,
body.client-v20-billing-mode #appMain{display:none!important}
body.client-v20-billing-mode #clientV3Header{display:flex!important}
body.client-v20-billing-mode #clientV20Billing{display:block}
.client-v20-billing-shell{max-width:1120px;margin:0 auto;padding:30px 20px 70px}
.v20-client-page-head{display:flex;gap:16px;align-items:flex-start;margin-bottom:20px}.v20-client-page-head h1{font-size:30px;color:#222d43;margin:5px 0}.v20-client-page-head p{margin:0;color:#6c788c}
.v20-stripe-status{border:1px solid #dfe4eb;background:#fff;border-radius:14px;padding:13px 15px;display:flex;gap:10px;align-items:center;margin-bottom:17px}.v20-stripe-status.connected{border-color:#cfe7da;background:#f7fcf9}
.v20-stripe-logo{width:32px;height:32px;border-radius:9px;background:#635bff;color:#fff;display:grid;place-items:center;font-weight:950;flex:none}.v20-stripe-status>div{flex:1}.v20-stripe-status strong,.v20-stripe-status small{display:block}.v20-stripe-status strong{font-size:11px}.v20-stripe-status small{font-size:9px;color:#7b8799;margin-top:2px}
.v20-customer-billing-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.65fr);gap:18px}
.v20-customer-payment-summary{margin-top:14px}.v20-customer-payment-summary>div,.v20-fee-example>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf0f4;font-size:11px}.v20-customer-payment-summary .total,.v20-fee-example .total{font-size:14px;border-top:2px solid #e1e5eb;border-bottom:0;margin-top:4px;padding-top:12px}
.v20-schedule{display:grid;gap:8px;margin-top:15px}.v20-schedule>div{display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:center;border:1px solid #e5e8ed;border-radius:11px;padding:10px}.v20-schedule>div>span{width:24px;height:24px;border-radius:50%;background:#eef0f4;display:grid;place-items:center;font-size:9px;font-weight:900}.v20-schedule>div.done>span{background:#e8f7f0;color:#197755}.v20-schedule strong,.v20-schedule small{display:block}.v20-schedule small{font-size:9px;color:#7e899a;margin-top:2px}
.v20-card-method{display:flex;gap:10px;align-items:center;margin-top:12px}.v20-card-icon{width:52px;height:34px;border-radius:8px;background:#28324a;color:#fff;display:grid;place-items:center;font-size:10px}.v20-card-method strong,.v20-card-method small{display:block}.v20-card-method strong{font-size:11px}.v20-card-method small{font-size:9px;color:#7d8899;margin-top:2px}
.v20-provider-money-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}.v20-money-card{border:1px solid #e0e4eb;background:#fff;border-radius:15px;padding:15px}.v20-money-card span,.v20-money-card small{display:block;color:#7b8799;font-size:9px}.v20-money-card strong{display:block;font-size:22px;color:#263149;margin:5px 0}
.v20-payout-row{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #edf0f4;font-size:10px}.v20-payout-row strong,.v20-payout-row small,.v20-payout-row span{display:block}.v20-payout-row small,.v20-payout-row span{font-size:9px;color:#7d8899}
.v20-transaction-table{margin-top:13px;border:1px solid #e5e8ed;border-radius:12px;overflow:hidden}.v20-transaction-head,.v20-transaction-table>button{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr .8fr;gap:8px;align-items:center;padding:10px 11px}.v20-transaction-head{background:#f7f8fa;color:#7b8799;font-size:8px;font-weight:850;text-transform:uppercase}.v20-transaction-table>button{width:100%;border:0;border-top:1px solid #edf0f4;background:#fff;text-align:left;font:inherit;color:#5e6a7e;cursor:pointer;font-size:9px}.v20-transaction-table>button:hover{background:#fbfaff}.v20-transaction-table strong,.v20-transaction-table small{display:block}.v20-transaction-table strong{font-size:10px;color:#354157}.v20-transaction-table small{font-size:8px;color:#8a94a4;margin-top:2px}
.v20-transaction-table.customer .v20-transaction-head,.v20-transaction-table.customer>button{grid-template-columns:1.5fr .8fr .8fr .7fr .7fr}
.v20-admin-stripe-bar{border:1px solid #dcd8ff;background:#faf9ff;border-radius:14px;padding:12px 14px;display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.v20-admin-stripe-bar>div{display:flex;gap:9px;align-items:center}.v20-admin-stripe-bar strong,.v20-admin-stripe-bar small{display:block}.v20-admin-stripe-bar strong{font-size:11px}.v20-admin-stripe-bar small{font-size:9px;color:#7b8799;margin-top:2px}
.v20-admin-fee-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:13px}.v20-admin-fee-grid>div{border:1px solid #e6e9ee;border-radius:11px;padding:11px}.v20-admin-fee-grid span,.v20-admin-fee-grid strong{display:block}.v20-admin-fee-grid span{font-size:9px;color:#7d8899}.v20-admin-fee-grid strong{font-size:16px;color:#28334a;margin-top:4px}
@media(max-width:900px){.v20-provider-money-grid{grid-template-columns:1fr 1fr}.v20-customer-billing-grid{grid-template-columns:1fr}.v20-payout-row{grid-template-columns:1fr 1fr}.v20-admin-fee-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.v20-provider-money-grid,.v20-admin-fee-grid{grid-template-columns:1fr}.v20-transaction-head{display:none}.v20-transaction-table>button,.v20-transaction-table.customer>button{grid-template-columns:1fr 1fr}.v20-client-page-head{flex-direction:column}}


/* V40 — clean real-customer project state. Old linked-demo provider content stays disabled
   until the real provider matching / proposal backend is connected. */
#clientInbox > .grid2{grid-template-columns:minmax(0,1fr)!important;}
#clientInbox #providerProfilePanel,
#clientInbox #fairwayConversationCard,
#clientInbox #pineSteelDemoCard,
#clientInbox #dansWoodshopDemoCard{display:none!important;}
#clientInbox #customerProviderEmptyState{display:block;}

/* ===== cleanDraftNumberless ===== */
/* Clean presentation draft: intentionally hides demo numeric values. */
.v20-money-card strong:empty,
.v20-admin-fee-grid strong:empty,
.v20-customer-payment-summary strong:empty,
.v20-fee-example strong:empty,
.admin-v17-metric strong:empty,
.admin-v17-stat strong:empty { display:none !important; }

/* ===== v21ExpansionStyles ===== */
.client-v21-expansion{margin-top:10px}
.client-v21-expansion .client-v1-trust-inner{background:#fff;border:1px solid #e7e9ee;border-radius:20px;padding:28px}

/* ===== v22CategoryControls ===== */
/* Customer category availability */
#postV6Categories button{position:relative;overflow:hidden}
#postV6Categories button[data-market-status="coming"]{
  opacity:.88;
  border-style:dashed;
  background:#fafafc;
  padding-top:22px;
  padding-bottom:22px;
}
#postV6Categories button[data-market-status="coming"]:hover{
  transform:none;
  box-shadow:none;
  border-color:#c9ced8;
}
#postV6Categories button[data-market-status="hidden"]{display:none!important}
.v22-coming-ribbon{
  position:absolute;
  top:11px;
  right:-38px;
  width:132px;
  padding:5px 0;
  transform:rotate(35deg);
  background:#26324a;
  color:#fff;
  font-size:7px;
  font-weight:950;
  letter-spacing:.12em;
  text-align:center;
  box-shadow:0 2px 5px rgba(25,35,55,.16);
  pointer-events:none;
}
#postV6Categories button[data-market-status="coming"]::after{
  content:"Provider network opening soon";
  display:block;
  margin-top:5px;
  color:#8a94a5;
  font-size:8px;
  font-weight:700;
}

/* Admin controls */
.v22-category-legend{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}
.v22-category-legend>div{background:#fff;border:1px solid #e2e6ec;border-radius:12px;padding:12px;display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:center}
.v22-category-legend strong{font-size:11px}.v22-category-legend small{grid-column:2;font-size:9px;color:#7d8899;margin-top:2px}
.v22-status-dot{width:9px;height:9px;border-radius:50%;display:inline-block}
.v22-status-dot.active{background:#4d9b75}.v22-status-dot.coming{background:#d19a43}.v22-status-dot.hidden{background:#a8afba}

.v22-admin-category-grid{display:grid;gap:8px;margin-top:14px}
.v22-admin-category-row{display:grid;grid-template-columns:minmax(190px,1.4fr) minmax(160px,.9fr) 1fr;gap:12px;align-items:center;border:1px solid #e5e8ed;border-radius:11px;padding:11px 12px;background:#fff}
.v22-admin-category-row strong,.v22-admin-category-row small{display:block}
.v22-admin-category-row strong{font-size:11px;color:#354157}.v22-admin-category-row small{font-size:8px;color:#8791a1;margin-top:2px}
.v22-admin-category-row select{width:100%;border:1px solid #dfe3e9;background:#fff;border-radius:9px;padding:8px 9px;font:inherit;font-size:10px;color:#3d495d}
.v22-admin-category-row .v22-status-text{font-size:9px;color:#778294}
.v22-admin-category-row[data-state="coming"]{background:#fffaf2;border-color:#eadbc3}
.v22-admin-category-row[data-state="hidden"]{background:#f7f8fa;opacity:.72}
.v22-preview-row{display:grid;grid-template-columns:240px 1fr;gap:18px;align-items:center;margin-top:14px}
.v22-preview-category{position:relative;overflow:hidden;min-height:78px;width:100%;border:1px dashed #c9ced8;border-radius:14px;background:#fafafc;font:inherit;font-size:12px;font-weight:850;color:#4d586b}
.v22-preview-category .v22-coming-ribbon{top:12px;right:-38px}
@media(max-width:760px){
  .v22-category-legend{grid-template-columns:1fr}
  .v22-admin-category-row{grid-template-columns:1fr}
  .v22-preview-row{grid-template-columns:1fr}
}

/* ===== launchV23Styles ===== */
/* Commonhand V23 — launch-zero state */

.launch-demo-hidden{display:none!important}

/* Keep empty overlays visible while preserving demo DOM underneath for JS stability. */
.business-v13-view.launch-zero-applied,
.admin-v17-view.launch-zero-applied,
#clientV20Billing.launch-zero-applied{position:relative}
.business-v13-view.launch-zero-applied > :not(.launch-zero-overlay),
.admin-v17-view.launch-zero-applied > :not(.launch-zero-overlay),
#clientV20Billing.launch-zero-applied > :not(.launch-zero-overlay){display:none!important}

.launch-zero-overlay{
  min-height:430px;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:#fff;
  border:1px solid #e3e7ed;
  border-radius:20px;
  padding:46px 28px;
  margin-top:10px;
}
.launch-zero-overlay h2{font-size:26px;margin:12px 0 7px;color:#253149}
.launch-zero-overlay p{max-width:610px;color:#738095;line-height:1.6;margin:0 0 18px}
.launch-zero-icon{
  width:52px;height:52px;border-radius:16px;
  background:#f0edff;color:#6048d5;
  display:grid;place-items:center;font-weight:950;font-size:18px
}

/* Categories is an actual admin tool and remains visible. */
.admin-v17-view[data-v17-view="categories"] > *{display:block}

/* Customer first-project state */
.launch-empty-projects{
  border:1px dashed #d7dce5;
  border-radius:18px;
  padding:30px 22px;
  text-align:center;
  margin-top:14px;
  background:#fbfcfe;
}
.launch-empty-projects h3{font-size:20px;margin:8px 0 5px}
.launch-empty-projects p{max-width:600px;margin:0 auto 15px;color:#778398;line-height:1.55}
.launch-empty-icon{width:42px;height:42px;border-radius:13px;margin:auto;background:#f0edff;color:#6048d5;display:grid;place-items:center;font-size:22px;font-weight:900}

/* Separate role authentication */
#launchAuthHub{display:none;min-height:100vh;background:#f7f8fb;color:#17233d}
body.launch-auth-mode > *:not(#launchAuthHub):not(script):not(style){display:none!important}
body.launch-auth-mode #launchAuthHub{display:block!important}

.launch-auth-shell{width:min(1040px,calc(100% - 34px));margin:auto;padding:0 0 70px}
.launch-auth-top{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e7ed}
.launch-brand-button{border:0;background:transparent;display:flex;align-items:center;gap:9px;font:inherit;font-weight:950;font-size:20px;color:#17233d;cursor:pointer}
.launch-brand-button .mark{width:34px;height:34px;border-radius:10px;background:linear-gradient(135deg,#684fe3,#947fff);color:#fff;display:grid;place-items:center}
.launch-auth-intro{text-align:center;max-width:700px;margin:55px auto 28px}
.launch-auth-intro h1{font-size:40px;letter-spacing:-.045em;margin:7px 0 9px}
.launch-auth-intro p{font-size:15px;color:#6c788d;line-height:1.6}
.launch-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:760px;margin:0 auto}
.launch-role-card{border:1px solid #dfe4eb;background:#fff;border-radius:20px;padding:24px;text-align:left;cursor:pointer;font:inherit;transition:.15s;display:grid;gap:8px}
.launch-role-card:hover{transform:translateY(-2px);box-shadow:0 15px 36px rgba(26,37,61,.09);border-color:#cec6f6}
.launch-role-card strong{font-size:19px;color:#27324a}.launch-role-card small{color:#738095;line-height:1.5}.launch-role-card b{color:#6048d5;margin-top:4px;font-size:12px}
.launch-role-icon{width:42px;height:42px;border-radius:13px;background:#f1eeff;color:#6048d5;display:grid;place-items:center;font-weight:950}
.launch-auth-form-wrap,.launch-admin-login-card{display:none;max-width:520px;margin:0 auto}
.launch-auth-card{background:#fff;border:1px solid #e0e4eb;border-radius:21px;padding:25px;box-shadow:0 16px 38px rgba(25,36,59,.07)}
.launch-auth-card h2{font-size:28px;letter-spacing:-.035em;margin:6px 0}.launch-auth-card>p{color:#707c90;line-height:1.55;margin:0 0 16px}
.launch-auth-card label{display:block;font-size:11px;font-weight:850;color:#566176;margin-top:12px}
.launch-auth-card input{width:100%;margin-top:6px;border:1px solid #dfe3e9;border-radius:10px;padding:11px 12px;font:inherit;box-sizing:border-box}
.launch-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.launch-terms{display:flex!important;gap:8px;align-items:flex-start}.launch-terms input{width:auto!important;margin-top:3px!important}.launch-terms span{font-weight:500;line-height:1.45}
#launchAuthError,#launchAdminError{display:none;margin-top:12px}
#launchAuthSubmit,#launchAdminSubmit{width:100%;margin-top:15px;padding:12px}
.launch-switch-line{border-top:1px solid #eceff3;margin-top:18px;padding-top:14px;font-size:12px;color:#7a8597;text-align:center}
.launch-switch-line button,.launch-back-link,.launch-admin-access button{border:0;background:transparent;color:#6048d5;font:inherit;font-weight:850;cursor:pointer}
.launch-back-link{margin:0 0 12px;padding:0}
.launch-admin-access{text-align:center;padding:25px 0 35px}
.launch-admin-access button{color:#8a94a4;font-size:11px}
#launchBusinessNameField{display:none}
#launchTermsRow{display:none}

@media(max-width:700px){
  .launch-role-grid,.launch-name-grid{grid-template-columns:1fr}
  .launch-auth-intro{margin-top:35px}
  .launch-auth-intro h1{font-size:33px}
}

/* Hide fake demo stats/records throughout fresh launch state if a deep page is accidentally surfaced. */
body.launch-zero-state .v12-project-card,
body.launch-zero-state .v19-review-card,
body.launch-zero-state .v18-portfolio-placeholder[data-v18-default-portfolio]{display:none!important}

/* ===== launchV24Polish ===== */
.launch-old-client-content{display:none!important}
.launch-client-clean{display:block!important}
.launch-explore-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}
.launch-explore-grid>div{border:1px solid #e3e7ed;border-radius:13px;padding:14px;background:#fbfcfe}
.launch-explore-grid strong,.launch-explore-grid small{display:block}
.launch-explore-grid strong{font-size:12px;color:#354157}
.launch-explore-grid small{font-size:9px;color:#7d8899;line-height:1.5;margin-top:4px}
.launch-simple-empty{text-align:center;padding:44px 25px}
.launch-account-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px}
.launch-account-grid strong,.launch-account-grid small{display:block}
.launch-account-grid small{font-size:9px;color:#8490a1;margin-top:4px}

#v16CategoryList:empty,
#v15EquipmentList:empty,
#v18PortfolioGrid:empty{
  min-height:82px;border:1px dashed #d9dee7;border-radius:12px;background:#fbfcfe;
  display:flex;align-items:center;justify-content:center;text-align:center;color:#8390a2;font-size:10px;padding:15px
}
#v16CategoryList:empty::before{content:"No categories selected yet. Use “Add Category” to tell Commonhand what work you offer."}
#v15EquipmentList:empty::before{content:"No equipment added yet. Add equipment only if it helps explain what your business can do."}
#v18PortfolioGrid:empty::before{content:"No portfolio photos yet. Add finished work when you are ready."}

@media(max-width:700px){
  .launch-explore-grid,.launch-account-grid{grid-template-columns:1fr}
}

/* ===== buildLinkV48Styles ===== */
.v48-dashboard-wrap{padding:28px;max-width:1180px;margin:0 auto}.v48-dashboard-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}.v48-dashboard-head h1{margin:5px 0 7px;font-size:30px}.v48-dashboard-head p{margin:0;color:#6f7280}.v48-dashboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.v48-dash-card{border:1px solid #e6e3ee;background:#fff;border-radius:18px;padding:18px;text-align:left;box-shadow:0 8px 24px rgba(36,25,70,.04);min-height:132px}.v48-dash-card .label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#7b748c;font-weight:800}.v48-dash-card strong{display:block;font-size:34px;line-height:1;margin:13px 0 9px;color:#282333}.v48-dash-card small{color:#7a7683;line-height:1.4}.v48-dash-card.clickable{cursor:pointer}.v48-dash-bottom{display:grid;grid-template-columns:1.4fr .9fr;gap:14px;margin-top:14px}.v48-dash-panel{border:1px solid #e6e3ee;background:#fff;border-radius:18px;padding:20px}.v48-dash-panel h3{margin:0 0 10px}.v48-dash-panel p{color:#74707d}.v48-activity-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid #eeeaf4}.v48-activity-row:first-of-type{border-top:0}.v48-activity-row span{color:#716b7a}.v48-customize-backdrop,.v48-profile-backdrop{position:fixed;inset:0;background:rgba(25,20,37,.52);z-index:99980;display:flex;align-items:center;justify-content:center;padding:24px}.v48-modal{background:#fff;border-radius:22px;width:min(700px,96vw);max-height:90vh;overflow:auto;box-shadow:0 24px 80px rgba(0,0,0,.22)}.v48-modal.wide{width:min(980px,96vw)}.v48-modal-head{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:20px 22px;border-bottom:1px solid #eeeaf4}.v48-modal-body{padding:22px}.v48-close{border:0;background:#f2eff7;border-radius:999px;width:36px;height:36px;font-size:20px;cursor:pointer}.v48-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v48-check{border:1px solid #e5e0ee;border-radius:14px;padding:13px;display:flex;gap:10px;align-items:flex-start}.v48-profile-banner{height:210px;background:#f2eff7 center/cover no-repeat}.v48-profile-main{padding:0 26px 28px}.v48-profile-identity{display:flex;gap:16px;align-items:flex-end;margin-top:-44px}.v48-profile-logo{width:92px;height:92px;border-radius:20px;background:#6946e8 center/cover no-repeat;border:5px solid #fff;display:flex;align-items:center;justify-content:center;color:#fff;font-size:34px;font-weight:800}.v48-profile-name{padding-bottom:8px}.v48-profile-name h2{margin:0 0 4px}.v48-profile-name p{margin:0;color:#6f6a78}.v48-profile-section{margin-top:24px}.v48-profile-section h3{margin:0 0 10px}.v48-tags{display:flex;flex-wrap:wrap;gap:7px}.v48-tag{background:#f4f1fa;border:1px solid #e8e2f1;border-radius:999px;padding:7px 10px;font-size:12px}.v48-portfolio{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.v48-portfolio img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px;border:1px solid #ece8f2}.v48-provider-headline{display:flex;gap:12px;align-items:center}.v48-provider-mini-logo{width:48px;height:48px;border-radius:12px;background:#6d4bea center/cover no-repeat;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800}.v48-view-profile{margin-top:10px}.v48-live-box{background:#faf9fc;border:1px solid #ebe7f1;border-radius:14px;padding:14px;margin-top:10px}.v48-live-thread{margin-top:10px}.v48-msg{padding:10px 12px;border-radius:12px;margin:7px 0;max-width:86%}.v48-msg.provider{background:#f1edff}.v48-msg.customer{background:#f4f4f5;margin-left:auto}.v48-msg small{display:block;color:#79737f;margin-top:5px}.v48-reply{display:flex;gap:8px;margin-top:12px}.v48-reply input{flex:1;border:1px solid #ddd7e7;border-radius:12px;padding:11px 12px}.v48-provider-card{border:1px solid #e7e2ef;border-radius:18px;padding:16px;margin-top:13px;background:#fff}.v48-money{font-size:24px;display:block;margin-top:5px}.v48-profile-fulfillment{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v48-stat-pill{background:#eff9f1;color:#317a47;border-radius:999px;padding:7px 10px;display:inline-block;font-size:12px;font-weight:700}.v48-muted{color:#77717f}.v48-error{background:#fff3f3;border:1px solid #f1cccc;border-radius:12px;padding:12px;color:#8a3333}
  @media(max-width:850px){.v48-dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.v48-dash-bottom{grid-template-columns:1fr}.v48-portfolio{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.v48-dashboard-grid{grid-template-columns:1fr}.v48-dashboard-head{display:block}.v48-dashboard-head button{margin-top:12px}.v48-checks{grid-template-columns:1fr}.v48-profile-identity{align-items:center}.v48-profile-banner{height:150px}}

/* ===== v52Styles ===== */
.v52-revision-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}.v52-revision-grid>div{border:1px solid #e8e5f4;border-radius:12px;padding:10px 12px;background:#fbfaff}.v52-revision-grid span{display:block;font-size:11px;color:#77738a;margin-bottom:4px}.v52-revision-grid strong{font-size:14px;color:#2d2940}.v52-revision-note{margin:8px 0 0;padding:10px 12px;border-left:3px solid #7c5cff;background:#faf9ff;border-radius:8px;font-size:13px;color:#565166}.v52-history{margin-top:12px;border-top:1px solid #ece9f5;padding-top:10px}.v52-history summary{cursor:pointer;font-weight:800;color:#5d48c7}.v52-history-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:10px 0;border-bottom:1px solid #f0edf7}.v52-history-row:last-child{border-bottom:0}.v52-history-row .meta{font-size:12px;color:#77738a}.v52-current-proposal{box-shadow:0 0 0 1px rgba(108,78,255,.10)}.v52-business-proposal-panel{margin-top:12px}.v52-business-proposal-panel .v52-history{margin-top:10px}.v52-status-sent{background:#f2efff;border-color:#ddd5ff}.v52-status-declined{background:#fff8e8;border-color:#f4dfac}.v52-status-accepted{background:#eefaf3;border-color:#cdebd8}@media(max-width:760px){.v52-revision-grid{grid-template-columns:1fr}}

/* ===== buildLinkV53PaymentStyles ===== */
.v53-payment-panel{border:1px solid #cfe6d6;background:#f5fbf7}.v53-payment-panel .btn{min-width:190px}

/* ===== buildLinkV57Styles ===== */
.v57-pay-card{border:1px solid #ded9ff;background:#fbfaff;border-radius:15px;padding:14px;margin-top:12px}.v57-pay-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.v57-pay-grid>div,.v57-stat{border:1px solid #e7e9ee;background:#fff;border-radius:12px;padding:11px}.v57-pay-grid span,.v57-stat span{font-size:9px;color:#7d8797;display:block}.v57-pay-grid strong,.v57-stat strong{font-size:17px;color:#293349;display:block;margin-top:4px}.v57-progress{height:8px;background:#eceef3;border-radius:99px;overflow:hidden;margin-top:10px}.v57-progress>span{height:100%;display:block;background:#6e58db}.v57-modal-back{position:fixed;inset:0;background:rgba(20,25,38,.48);z-index:9999;display:grid;place-items:center;padding:18px}.v57-modal{width:min(560px,100%);background:#fff;border-radius:18px;padding:20px;box-shadow:0 20px 60px rgba(0,0,0,.18)}.v57-modal h2{margin:6px 0 6px}.v57-modal input,.v57-modal select,.v57-modal textarea,.v57-admin input,.v57-admin select,.v57-admin textarea{width:100%;border:1px solid #dfe3e9;border-radius:10px;padding:10px;font:inherit}.v57-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}.v57-fin-grid,.v57-admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.v57-fin-card,.v57-admin-card{border:1px solid #dfe4eb;background:#fff;border-radius:15px;padding:15px}.v57-fin-card span,.v57-admin-card .label{font-size:9px;color:#7b8798;text-transform:uppercase;font-weight:850}.v57-fin-card strong{display:block;font-size:22px;margin-top:6px}.v57-table{width:100%;border-collapse:collapse;margin-top:12px}.v57-table th,.v57-table td{text-align:left;padding:10px;border-bottom:1px solid #edf0f4;font-size:10px}.v57-table th{color:#7e8999;font-size:9px;text-transform:uppercase}.v57-admin{display:grid;gap:15px}.v57-admin-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.v57-admin-head h1{margin:4px 0}.v57-admin-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.v57-admin-list{display:grid;gap:8px}.v57-admin-row{border:1px solid #e2e6ec;background:#fff;border-radius:12px;padding:12px}.v57-admin-row strong,.v57-admin-row small{display:block}.v57-admin-row small{color:#7d8798;margin-top:3px}.v57-question-row{display:grid;grid-template-columns:1.4fr .8fr .7fr .55fr auto;gap:8px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0f4}.v57-copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.v57-copy-grid label,.v57-match-grid label{font-size:10px;font-weight:800;color:#556176}.v57-match-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.v57-extra-questions{margin-top:14px;border-top:1px solid #eceef3;padding-top:14px;display:grid;gap:11px}.v57-extra-question label{display:block;font-weight:850;font-size:11px;margin-bottom:5px}.v57-extra-question .small{margin-top:4px}.v57-extra-question input,.v57-extra-question select,.v57-extra-question textarea{width:100%;border:1px solid #dfe3e9;border-radius:10px;padding:10px;font:inherit}.v57-empty{border:1px dashed #ccd2dd;border-radius:14px;padding:24px;text-align:center;color:#788496;background:#fafbfc}.v57-status{display:inline-flex;border-radius:99px;padding:5px 8px;background:#eef8f3;color:#277458;font-size:9px;font-weight:850}.v57-status.partial{background:#fff4df;color:#946314}.v57-status.unpaid{background:#f0f1f4;color:#667183}@media(max-width:900px){.v57-fin-grid,.v57-admin-stats{grid-template-columns:1fr 1fr}.v57-admin-grid{grid-template-columns:1fr}.v57-question-row{grid-template-columns:1fr 1fr}.v57-copy-grid,.v57-match-grid{grid-template-columns:1fr}}@media(max-width:600px){.v57-pay-grid,.v57-fin-grid,.v57-admin-stats{grid-template-columns:1fr 1fr}}

/* ===== buildLinkV58AdminControlCenterStyles ===== */
/* V59 scrolling fix: keep the admin shell viewport-sized and make the main pane the scroll container. */
#v58AdminRoot{height:100dvh;min-height:0;overflow:hidden}
.v58-sidebar{min-height:0}
.v58-main{height:100%;min-height:0;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.v58-content{padding-bottom:64px}
@media(max-width:760px){#v58AdminRoot{position:fixed!important;height:100dvh;min-height:0}}

body.admin-v17-mode #adminV17Header,body.admin-v17-mode #adminV17App{display:none!important}
#v58AdminRoot{display:none;position:fixed;inset:0;z-index:99990;background:#f5f7f6;color:#17221c;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body.admin-v17-mode #v58AdminRoot{display:flex}
.v58-sidebar{width:254px;background:#10291d;color:#fff;display:flex;flex-direction:column;padding:20px 14px;overflow:auto}
.v58-brand{display:flex;gap:11px;align-items:center;padding:4px 8px 22px;font-weight:900;font-size:19px}.v58-brand .mark{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e5f3e9;color:#1f6b42}.v58-brand small{display:block;color:#9fb7a9;font-size:11px;font-weight:700;margin-top:2px}
.v58-nav{display:grid;gap:5px}.v58-nav button{border:0;background:transparent;color:#c9d8cf;text-align:left;padding:10px 11px;border-radius:10px;font-weight:750;cursor:pointer;font-size:13px}.v58-nav button:hover,.v58-nav button.active{background:#1c3b2b;color:#fff}.v58-nav button span{float:right;color:#7fa18d}
.v58-sidebar-foot{margin-top:auto;border-top:1px solid #294636;padding:15px 8px 2px}.v58-admin-name{font-weight:850}.v58-sidebar-foot small{display:block;color:#9fb7a9;margin:2px 0 11px}.v58-sidebar-foot button{width:100%}
.v58-main{flex:1;min-width:0;overflow:auto}.v58-topbar{height:68px;background:#fff;border-bottom:1px solid #dfe6e1;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5}.v58-topbar h2{font-size:16px;margin:0}.v58-top-actions{display:flex;gap:8px}.v58-content{padding:28px;max-width:1500px;margin:0 auto}.v58-view{display:none}.v58-view.active{display:block}.v58-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}.v58-head h1{margin:3px 0 5px;font-size:29px;letter-spacing:-.025em}.v58-head p{margin:0;color:#6b7770;max-width:760px}.v58-eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:900;color:#2f7c50}
.v58-grid{display:grid;gap:14px}.v58-metrics{grid-template-columns:repeat(5,minmax(150px,1fr));margin-bottom:20px}.v58-card{background:#fff;border:1px solid #dfe6e1;border-radius:15px;padding:17px;box-shadow:0 2px 8px rgba(20,48,33,.025)}.v58-metric{min-height:115px}.v58-metric span{font-size:12px;color:#758079;font-weight:750}.v58-metric strong{display:block;font-size:28px;line-height:1;margin:13px 0 7px;letter-spacing:-.03em}.v58-metric small{color:#87918b}.v58-card h3{margin:2px 0 12px;font-size:16px}.v58-two{grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)}
.v58-table-wrap{overflow:auto;background:#fff;border:1px solid #dfe6e1;border-radius:15px}.v58-table{width:100%;border-collapse:collapse;min-width:820px}.v58-table th{font-size:10px;text-transform:uppercase;letter-spacing:.065em;color:#7c8881;text-align:left;background:#fafbfa;padding:12px 14px;border-bottom:1px solid #e8ece9}.v58-table td{padding:13px 14px;border-bottom:1px solid #edf0ee;font-size:13px;vertical-align:top}.v58-table tr:last-child td{border-bottom:0}.v58-table strong{font-weight:850}.v58-muted{color:#78847d}.v58-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#edf5f0;color:#2b6845;font-size:10px;font-weight:850;text-transform:capitalize}.v58-pill.amber{background:#fff4dd;color:#8b5a08}.v58-pill.gray{background:#f0f1f0;color:#6d7771}.v58-pill.red{background:#fdeaea;color:#a23d3d}.v58-money{font-variant-numeric:tabular-nums}.v58-empty{padding:35px;text-align:center;color:#78847d}
.v58-toolbar{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:13px}.v58-search{min-width:260px;flex:1;max-width:420px;border:1px solid #ccd5cf;border-radius:10px;padding:10px 12px;background:#fff}.v58-select,.v58-input,.v58-textarea{border:1px solid #ccd5cf;border-radius:10px;padding:10px 11px;background:#fff;font:inherit}.v58-textarea{width:100%;min-height:82px;resize:vertical}.v58-input{width:100%}.v58-label{display:grid;gap:5px;font-size:11px;font-weight:800;color:#627067}.v58-btn{border:1px solid #cbd6cf;background:#fff;color:#244232;padding:9px 12px;border-radius:9px;font-weight:800;cursor:pointer}.v58-btn.primary{background:#2f7c50;color:#fff;border-color:#2f7c50}.v58-btn.danger{color:#a43a3a}.v58-btn.small{padding:7px 9px;font-size:11px}.v58-btn:hover{filter:brightness(.985)}
.v58-health-row{display:grid;grid-template-columns:minmax(150px,1fr) 90px 90px 1fr;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0ee}.v58-health-row:last-child{border-bottom:0}.v58-bar{height:8px;background:#edf1ee;border-radius:999px;overflow:hidden}.v58-bar i{display:block;height:100%;background:#4b8e66;border-radius:999px}.v58-activity{display:grid;gap:0}.v58-activity>div{display:flex;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #edf0ee}.v58-activity>div:last-child{border-bottom:0}.v58-activity small{color:#89938d;white-space:nowrap}
.v58-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v58-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.v58-span-2{grid-column:1/-1}.v58-question{display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 0;border-bottom:1px solid #edf0ee}.v58-question:last-child{border-bottom:0}.v58-question small{display:block;color:#818c85;margin-top:3px}.v58-weight{display:grid;grid-template-columns:1fr 80px;gap:10px;align-items:center;margin:9px 0}.v58-weight input{width:100%}.v58-cat-row{display:grid;grid-template-columns:1fr 150px;gap:12px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0ee}.v58-cat-row:last-child{border-bottom:0}
.v58-thread{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:13px 14px;border-bottom:1px solid #edf0ee}.v58-thread:last-child{border-bottom:0}.v58-thread p{margin:3px 0;color:#77827b;font-size:12px}.v58-message-room{max-height:440px;overflow:auto;border:1px solid #dde5e0;background:#f8faf8;border-radius:12px;padding:12px;margin-top:12px}.v58-bubble{max-width:78%;padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #e0e6e2;margin:7px 0}.v58-bubble.business{margin-left:auto;background:#eaf4ed}.v58-bubble p{margin:0 0 5px}.v58-bubble small{color:#7f8a83}.v58-warning{background:#fff7e8;border:1px solid #f0d9a8;border-radius:11px;padding:11px;color:#765315;font-size:12px}
.v58-modal-backdrop{display:none;position:fixed;inset:0;background:rgba(12,23,17,.58);z-index:100020;padding:25px;align-items:center;justify-content:center}.v58-modal-backdrop.active{display:flex}.v58-modal{background:#fff;border-radius:18px;width:min(720px,100%);max-height:88vh;overflow:auto;padding:22px;box-shadow:0 25px 80px rgba(0,0,0,.24)}.v58-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:15px}.v58-modal-head h2{margin:3px 0}.v58-x{border:0;background:#f1f3f2;border-radius:9px;width:34px;height:34px;cursor:pointer;font-size:20px}.v58-checks{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.v58-check{display:flex;align-items:center;gap:8px;border:1px solid #e0e5e2;padding:9px;border-radius:9px}.v58-toast{position:fixed;right:22px;bottom:22px;z-index:100050;background:#173c29;color:#fff;padding:11px 14px;border-radius:10px;font-weight:750;opacity:0;transform:translateY(8px);pointer-events:none;transition:.2s}.v58-toast.show{opacity:1;transform:none}
@media(max-width:1100px){.v58-sidebar{width:210px}.v58-metrics{grid-template-columns:repeat(3,1fr)}.v58-two,.v58-config-grid{grid-template-columns:1fr}}
@media(max-width:760px){#v58AdminRoot{position:absolute;min-height:100vh}.v58-sidebar{width:76px;padding:14px 8px}.v58-brand div,.v58-nav button .v58-nav-label,.v58-sidebar-foot .v58-admin-name,.v58-sidebar-foot small{display:none}.v58-nav button{font-size:0;text-align:center}.v58-nav button:before{content:attr(data-short);font-size:13px}.v58-content{padding:18px}.v58-topbar{padding:0 18px}.v58-metrics{grid-template-columns:repeat(2,1fr)}.v58-form-grid{grid-template-columns:1fr}.v58-span-2{grid-column:auto}}

/* ===== buildLinkV60Styles ===== */
.v60-job-card{border:1px solid #e1e7e3;border-radius:16px;padding:16px;background:#fff;box-shadow:0 4px 14px rgba(22,54,36,.04)}
.v60-job-card h3{margin:10px 0 5px}.v60-job-card p{margin:0;color:#6e7b73;font-size:13px}.v60-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.v60-money-grid>div{border:1px solid #e6ebe7;background:#f8faf9;border-radius:11px;padding:10px}.v60-money-grid span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#7c8981;font-weight:800}.v60-money-grid strong{display:block;margin-top:4px;font-size:15px}.v60-progress{height:7px;background:#e7ece8;border-radius:99px;overflow:hidden;margin-top:11px}.v60-progress span{display:block;height:100%;background:#315e43;border-radius:99px}.v60-action-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.v60-timeline{border-left:2px solid #dfe7e2;margin:15px 0 0 7px;padding-left:17px}.v60-event{position:relative;padding:0 0 15px}.v60-event:before{content:"";position:absolute;left:-23px;top:3px;width:10px;height:10px;border-radius:50%;background:#315e43;border:2px solid #fff;box-shadow:0 0 0 1px #bfcac3}.v60-event strong{font-size:12px}.v60-event p{margin:3px 0;color:#69766e;font-size:12px}.v60-event small{color:#8b958f;font-size:10px}.v60-lifecycle{border:1px solid #dfe6e1;border-radius:16px;padding:16px;background:#fff;margin-top:14px}.v60-lifecycle .v60-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.v60-badge{display:inline-flex;align-items:center;border-radius:99px;padding:5px 9px;background:#e8f2eb;color:#28523a;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.v60-badge.warn{background:#fff4dd;color:#7b5a18}.v60-badge.done{background:#e4f4ec;color:#176343}.v60-note{background:#f7faf8;border:1px solid #e1e8e3;border-radius:10px;padding:10px;font-size:12px;color:#66736b;margin-top:10px}.v60-modal-back{position:fixed;inset:0;background:rgba(12,23,17,.62);z-index:100100;display:flex;align-items:center;justify-content:center;padding:20px}.v60-modal{width:min(720px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:20px;box-shadow:0 28px 90px rgba(0,0,0,.28)}.v60-modal-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.v60-close{border:0;background:#f0f3f1;width:34px;height:34px;border-radius:9px;font-size:20px;cursor:pointer}.v60-textarea{width:100%;min-height:90px;border:1px solid #d9e1dc;border-radius:10px;padding:10px;margin-top:8px;font:inherit}.v60-status-note{margin-top:12px;border-radius:11px;padding:11px;background:#f6faf7;border:1px solid #e0e8e2}.v60-status-note strong{display:block;margin-bottom:3px}.v60-pay-cta{display:flex;gap:8px;flex-wrap:wrap;margin-top:11px}
@media(max-width:760px){.v60-money-grid{grid-template-columns:1fr}.v60-action-row .btn{flex:1 1 45%}}

/* ===== buildLinkV66FeasibilityConversationStyles ===== */
.v66-feas-threads{display:grid;gap:12px;margin:16px 0}.v66-feas-empty{border:1px dashed #d9d3e2;border-radius:14px;padding:18px;color:#77717f;background:#faf9fc;text-align:center}.v66-feas-new{border-top:1px solid #e8e3ed;padding-top:16px;margin-top:16px}.v66-feas-thread{border:1px solid #e4deea;border-radius:16px;background:#fff;padding:14px}.v66-feas-thread-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.v66-feas-thread-head small{display:block;color:#807889;margin-top:3px}.v66-feas-messages{display:grid;gap:8px;margin-top:12px}.v66-feas-msg{max-width:88%;border-radius:14px;padding:10px 12px;background:#f4f1f8}.v66-feas-msg.customer{margin-left:auto;background:#eee9ff}.v66-feas-msg.admin{margin-right:auto;background:#eef7f1}.v66-feas-msg strong{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px}.v66-feas-msg small{display:block;color:#817989;margin-top:5px;font-size:10px}.v66-feas-reply{display:flex;gap:8px;margin-top:12px;align-items:flex-end}.v66-feas-reply textarea{flex:1;min-height:62px;margin:0}.v66-feas-status{white-space:nowrap}.v66-admin-thread{margin-top:12px;border-top:1px solid #eee9f2;padding-top:12px}.v66-admin-thread .v66-feas-msg{max-width:80%}.v66-admin-reply{display:flex;gap:8px;margin-top:10px}.v66-admin-reply textarea{flex:1;min-height:62px}.v66-feas-error{display:block!important;background:#fff1f1!important;border-color:#efc3c3!important;color:#8a2f2f!important}.v66-feas-success{display:block!important;background:#eef8f1!important;border-color:#c8e5d0!important;color:#27623a!important}@media(max-width:720px){.v66-feas-thread-head,.v66-feas-reply,.v66-admin-reply{display:grid}.v66-feas-msg,.v66-admin-thread .v66-feas-msg{max-width:100%}}

/* ===== buildLinkV67RealRoutingStyles ===== */
.v67-route-modal{position:fixed;inset:0;z-index:100000;background:rgba(27,20,34,.48);display:flex;align-items:center;justify-content:center;padding:18px}.v67-route-card{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 80px rgba(30,20,40,.28);padding:22px}.v67-route-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.v67-route-card label{display:block;font-weight:700;font-size:12px;margin:12px 0 6px}.v67-route-card input,.v67-route-card select,.v67-route-card textarea{width:100%;box-sizing:border-box}.v67-route-note{padding:11px 12px;border-radius:12px;background:#f7f3fb;border:1px solid #e6dfee;color:#62596a;font-size:12px;margin-top:12px}.v67-route-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.v67-routed-badge{opacity:.75}@media(max-width:680px){.v67-route-grid{grid-template-columns:1fr}}

/* ===== buildLinkV77Part1Styles ===== */
#v77aFinancePanel{display:none}
#v77aFinancePanel.active{display:block}
.v77a-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:16px}
.v77a-head h1{margin:4px 0 6px}.v77a-head p{margin:0;color:#6f7888;max-width:760px}
.v77a-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:end}.v77a-actions label{font-size:11px;font-weight:850;color:#5d6675;display:grid;gap:5px}
.v77a-actions select,.v77a-actions input{height:38px;border:1px solid #dce1e8;border-radius:10px;background:#fff;padding:0 10px;min-width:130px}
.v77a-btn{height:38px;border:1px solid #dce1e8;border-radius:10px;background:#fff;padding:0 13px;font-weight:850;cursor:pointer}.v77a-btn.primary{background:#694cff;color:#fff;border-color:#694cff}
.v77a-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.v77a-card{background:#fff;border:1px solid #e1e5eb;border-radius:16px;padding:16px}.v77a-card span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:900;color:#747d8d}.v77a-card strong{font-size:24px;display:block;margin-top:7px}.v77a-card small{display:block;color:#858d99;margin-top:5px;line-height:1.35}
.v77a-section{background:#fff;border:1px solid #e1e5eb;border-radius:16px;padding:17px;margin-bottom:16px}.v77a-section h2{margin:4px 0 5px}.v77a-muted{color:#77808e}.v77a-eyebrow{font-size:10px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;color:#6a51e6}
.v77a-health{display:grid;gap:8px;margin-top:12px}.v77a-health-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 12px;border:1px solid #e6e9ef;border-radius:12px}.v77a-health-row strong{font-size:13px}.v77a-health-row small{color:#7d8593}.v77a-status{padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap}.v77a-status.good{background:#e9f7ef;color:#26704a}.v77a-status.warn{background:#fff3d8;color:#8a6116}.v77a-status.bad{background:#fdebea;color:#9a3a34}
.v77a-table-wrap{overflow:auto;margin-top:12px}.v77a-table{width:100%;border-collapse:collapse;min-width:900px}.v77a-table th{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#818896;text-align:left;padding:10px;border-bottom:1px solid #e5e8ee}.v77a-table td{padding:11px 10px;border-bottom:1px solid #edf0f4;font-size:12px;vertical-align:top}.v77a-table td strong{display:block}.v77a-empty{padding:26px;text-align:center;color:#7d8593}.v77a-note{padding:11px 12px;background:#f7f8fb;border:1px solid #e6e9ef;border-radius:12px;color:#657080;font-size:12px;line-height:1.45}
@media(max-width:1050px){.v77a-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.v77a-grid{grid-template-columns:1fr}.v77a-actions{width:100%}.v77a-actions label{flex:1}.v77a-actions select,.v77a-actions input{width:100%;min-width:0}}

/* ===== buildLinkV77Part3Styles ===== */
#v77cNotifyBtn{position:fixed;right:18px;bottom:74px;z-index:100040;border:0;border-radius:999px;background:#5d47ce;color:#fff;box-shadow:0 10px 30px rgba(60,47,130,.28);min-height:46px;padding:0 15px;font-weight:900;cursor:pointer;display:none;align-items:center;gap:8px}#v77cNotifyBtn.show{display:flex}#v77cNotifyCount{display:none;min-width:21px;height:21px;border-radius:999px;background:#fff;color:#5d47ce;align-items:center;justify-content:center;font-size:10px}#v77cNotifyCount.show{display:inline-flex}
.v77c-back{position:fixed;inset:0;z-index:120100;background:rgba(20,24,28,.5);display:grid;place-items:center;padding:18px}.v77c-modal{width:min(850px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;padding:20px;border:1px solid #dfe4e8;box-shadow:0 24px 80px rgba(15,25,20,.24)}.v77c-between{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.v77c-actions{display:flex;gap:7px;flex-wrap:wrap}.v77c-btn{border:1px solid #cfd8d2;background:#fff;color:#234532;padding:8px 11px;border-radius:9px;font-weight:850;cursor:pointer}.v77c-btn.primary{background:#2f7c50;color:#fff;border-color:#2f7c50}.v77c-btn.purple{background:#654be5;color:#fff;border-color:#654be5}.v77c-btn.warn{background:#fff7e7;border-color:#e8c983;color:#7b5513}.v77c-btn.danger{background:#fff0f0;border-color:#e2b4b4;color:#9d3434}.v77c-btn:disabled{opacity:.55;cursor:not-allowed}.v77c-note{padding:11px 12px;background:#f7f8fa;border:1px solid #e2e6ea;border-radius:11px;color:#68717d;font-size:12px;line-height:1.45}.v77c-pill{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900;text-transform:uppercase;background:#eef1f4;color:#63707a}.v77c-pill.good{background:#e9f7ef;color:#26704a}.v77c-pill.warn{background:#fff3d8;color:#8a6116}.v77c-pill.bad{background:#fdebea;color:#9a3a34}.v77c-list{display:grid;gap:9px;margin-top:13px}.v77c-notify{border:1px solid #e3e6eb;border-radius:13px;padding:11px}.v77c-notify.unread{background:#f7f5ff;border-color:#dcd4ff}.v77c-notify h4{margin:0 0 4px}.v77c-notify p{margin:0;color:#68717d}.v77c-notify small{display:block;color:#89919d;margin-top:5px}.v77c-section{background:#fff;border:1px solid #dfe5e1;border-radius:16px;padding:17px;margin:15px 0}.v77c-section h2,.v77c-section h3{margin:4px 0 6px}.v77c-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.v77c-card{border:1px solid #e2e6e3;border-radius:13px;padding:12px;background:#fbfcfb}.v77c-card span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.05em;font-weight:900;color:#7b867f}.v77c-card strong{display:block;font-size:20px;margin-top:5px}.v77c-table-wrap{overflow:auto;margin-top:12px}.v77c-table{width:100%;border-collapse:collapse;min-width:880px}.v77c-table th{font-size:9px;text-transform:uppercase;letter-spacing:.055em;color:#7d8881;text-align:left;padding:9px;border-bottom:1px solid #e4e8e5}.v77c-table td{padding:10px 9px;border-bottom:1px solid #edf0ee;font-size:12px;vertical-align:top}.v77c-table td strong{display:block}.v77c-search{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.v77c-search input,.v77c-search select,.v77c-modal input,.v77c-modal textarea,.v77c-modal select{border:1px solid #d2d9d5;border-radius:9px;padding:9px 10px;font:inherit;background:#fff}.v77c-search input{min-width:260px;flex:1}.v77c-project-list{display:grid;gap:9px}.v77c-project-row{border:1px solid #e2e6e3;border-radius:13px;padding:12px;display:grid;grid-template-columns:minmax(0,1.5fr) .7fr .7fr auto;gap:10px;align-items:center}.v77c-project-row p{margin:3px 0 0;color:#747f78;font-size:11px}.v77c-case{border:1px solid #e4e7e5;border-radius:13px;padding:12px;margin-top:9px}.v77c-case.open{border-color:#eccd8d;background:#fffaf0}.v77c-provider-row{display:grid;grid-template-columns:1.25fr repeat(4,.7fr);gap:9px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0ee}.v77c-provider-row:last-child{border-bottom:0}.v77c-audit{max-height:300px;overflow:auto}.v77c-audit-row{padding:9px 0;border-bottom:1px solid #edf0ee;font-size:12px}.v77c-audit-row:last-child{border-bottom:0}.v77c-audit-row small{color:#7e8881}.v77c-eyebrow{font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;color:#2f7c50}.v77c-field{display:grid;gap:5px;margin-top:10px;font-size:11px;font-weight:850;color:#5d6a62}.v77c-confirm{background:#fff7e7;border:1px solid #ecd298;border-radius:11px;padding:11px;margin-top:12px;font-size:12px;color:#77591b}
@media(max-width:850px){.v77c-grid{grid-template-columns:1fr 1fr}.v77c-project-row,.v77c-provider-row{grid-template-columns:1fr 1fr}}@media(max-width:560px){.v77c-grid,.v77c-project-row,.v77c-provider-row{grid-template-columns:1fr}#v77cNotifyBtn{right:12px;bottom:68px}}

/* ===== buildLinkV78CustomerExperienceStyles ===== */
/* Home: remove the extra explanation cards and make the first action obvious. */
body.client-v3-mode .client-v3-main-grid{grid-template-columns:minmax(0,1fr)!important;max-width:880px}
body.client-v3-mode .client-v3-side{display:none!important}
body.client-v3-mode .client-v3-start-card{padding:28px!important}
body.client-v3-mode .client-v3-start-card>p{max-width:680px;margin-bottom:18px!important}
body.client-v3-mode .client-v3-trust{display:none!important}
body.client-v3-mode #v3ProjectsSection{margin-top:24px}
body.client-v3-mode #v3ProjectsSection .client-v3-empty-head h2{font-size:22px!important;margin-bottom:0!important}
body.client-v3-mode #v3ProjectsSection .client-v3-empty-head{align-items:center!important}

/* Small unread badges in the customer navigation. */
.v78-nav-badge{display:none;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#6b4ce6;color:#fff;font-size:10px;font-weight:900;align-items:center;justify-content:center;margin-left:5px;vertical-align:middle}
.v78-nav-badge.show{display:inline-flex}
#v78AttentionStrip{display:none;max-width:1180px;margin:0 auto 18px;padding:13px 15px;border:1px solid #ddd5ff;background:#f7f4ff;border-radius:14px;align-items:center;justify-content:space-between;gap:12px}
#v78AttentionStrip.show{display:flex}
#v78AttentionStrip strong{font-size:13px;color:#35276f}#v78AttentionStrip span{font-size:12px;color:#6d6580}
#v78AttentionStrip .v78-attention-actions{display:flex;gap:7px;flex-wrap:wrap}

/* My Projects is now a simple doorway to each Project Board. */
body.client-v68-projects-mode #v68CustomerProjectsHub .v68-hub-head p{max-width:600px}
body.client-v68-projects-mode .v68-project-grid{grid-template-columns:1fr!important;max-width:920px}
body.client-v68-projects-mode .v68-project-card{padding:17px 18px!important}
body.client-v68-projects-mode .v68-project-card>p,
body.client-v68-projects-mode .v68-project-tags,
body.client-v68-projects-mode .v68-project-payment,
body.client-v68-projects-mode [data-v68-project-messages]{display:none!important}
body.client-v68-projects-mode .v68-project-facts{grid-template-columns:minmax(0,1fr)!important;margin-top:9px!important}
body.client-v68-projects-mode .v68-project-facts>div:nth-child(n+2){display:none!important}
body.client-v68-projects-mode .v68-project-facts>div{background:transparent!important;border:0!important;padding:0!important}
body.client-v68-projects-mode .v68-project-facts>div span{display:inline!important;margin-right:7px}
body.client-v68-projects-mode .v68-project-facts>div strong{display:inline!important;font-size:12px!important}
.v78-card-progress{margin:12px 0 2px}.v78-card-progress-head{display:flex;justify-content:space-between;gap:10px;font-size:11px;font-weight:850;color:#687084}.v78-card-progress-bar{height:7px;background:#eceaf3;border-radius:999px;overflow:hidden;margin-top:6px}.v78-card-progress-bar span{display:block;height:100%;background:#6f55e8;border-radius:inherit}
.v78-project-needs{display:inline-flex;margin-top:10px;padding:5px 8px;border-radius:999px;background:#fff2d9;color:#7d5a18;font-size:10px;font-weight:900}

/* Message Center: inbox + chat only. Project machinery belongs on the Project Board. */
body.client-v68-messages-mode #v68CustomerMessagesHub .v68-hub-head{margin-bottom:14px!important}
body.client-v68-messages-mode #v68CustomerMessagesHub .v68-hub-head p,
body.client-v68-messages-mode #v68RefreshMessages{display:none!important}
body.client-v68-messages-mode .v68-message-layout{grid-template-columns:310px minmax(0,1fr)!important;min-height:650px!important;border-radius:18px!important}
body.client-v68-messages-mode .v68-thread-panel{padding:12px!important;background:#fff!important}
body.client-v68-messages-mode .v68-thread-panel input{margin-bottom:8px!important;background:#f8f9fb!important}
body.client-v68-messages-mode .v68-thread-list{gap:2px!important}
body.client-v68-messages-mode .v68-thread{border:0!important;border-radius:11px!important;padding:12px!important}
body.client-v68-messages-mode .v68-thread:hover{background:#f7f7fa!important}
body.client-v68-messages-mode .v68-thread.active{background:#f1edff!important}
body.client-v68-messages-mode .v68-thread-kind{display:none!important}
body.client-v68-messages-mode .v68-thread em{font-size:12px!important;margin-top:4px!important}
body.client-v68-messages-mode .v68-message-head{padding:16px 18px!important}
body.client-v68-messages-mode .v68-message-head .eyebrow{display:none!important}
body.client-v68-messages-mode .v68-message-head h2{font-size:18px!important}
body.client-v68-messages-mode .v68-message-head p{font-size:11px!important}
body.client-v68-messages-mode .v68-message-scroll{padding:18px 22px!important;gap:8px!important;background:#fff!important;max-height:510px!important}
body.client-v68-messages-mode .v68-msg{padding:10px 12px!important;border-radius:16px!important;line-height:1.45;max-width:72%!important;background:#f1f2f5!important}
body.client-v68-messages-mode .v68-msg.mine{background:#6d52dd!important;color:#fff!important}
body.client-v68-messages-mode .v68-msg.mine small,body.client-v68-messages-mode .v68-msg.mine strong{color:#eeeaff!important}
body.client-v68-messages-mode .v68-msg strong{font-size:9px!important}
body.client-v68-messages-mode .v68-message-compose{padding:12px 14px!important;background:#fff!important;align-items:flex-end!important}
body.client-v68-messages-mode .v68-message-compose textarea{min-height:52px!important;max-height:130px!important;resize:none!important}
.v78-thread-unread{display:inline-flex;width:8px;height:8px;border-radius:50%;background:#6e51e6;margin-left:6px;vertical-align:middle}

/* Project Board: project status lives here; normal chat does not. */
#v72CustomerJobRoom{padding:20px!important;border-radius:18px!important}
#v72CustomerJobRoom [data-v72-customer-refresh],
#v72CustomerJobRoom [data-v72-customer-tab="messages"],
#v72CustomerJobRoom [data-v72-customer-panel="messages"],
#v72CustomerJobRoom .v73-new-message{display:none!important}
#v72CustomerJobRoom .v72-customer-tabs{margin-top:18px!important}
#v72CustomerJobRoom .v72-customer-tabs button{padding:8px 12px!important}
.v78-board-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.v78-board-message{white-space:nowrap}

/* Live notifications: small, useful, and never a full-page refresh. */
#v78LiveToast{position:fixed;right:20px;top:84px;z-index:180000;width:min(360px,calc(100vw - 30px));background:#fff;border:1px solid #ded9ea;border-radius:15px;box-shadow:0 18px 50px rgba(25,22,38,.18);padding:13px 14px;display:none;cursor:pointer}
#v78LiveToast.show{display:block;animation:v78In .18s ease-out}#v78LiveToast strong{display:block;font-size:13px;color:#2f293a}#v78LiveToast span{display:block;margin-top:3px;color:#707587;font-size:12px;line-height:1.4}
@keyframes v78In{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}

/* Existing floating notification control belongs in the signed-in header, not over the page. */
body.client-v3-mode #v77cNotifyBtn,body.client-v68-projects-mode #v77cNotifyBtn,body.client-v68-messages-mode #v77cNotifyBtn,body.client-v3-subpage #v77cNotifyBtn{position:static!important;inset:auto!important;box-shadow:none!important;margin:0 4px!important;white-space:nowrap!important}

@media(max-width:820px){
  body.client-v68-messages-mode .v68-message-layout{grid-template-columns:1fr!important}
  body.client-v68-messages-mode .v68-thread-list{max-height:230px!important}
  #v78AttentionStrip{margin-left:12px;margin-right:12px;align-items:flex-start;flex-direction:column}
}
@media(max-width:680px){
  body.client-v3-mode .client-v3-start-card{padding:20px!important}
  body.client-v68-messages-mode .v68-msg{max-width:88%!important}
  body.client-v68-projects-mode .v68-project-metrics{grid-template-columns:repeat(2,1fr)!important}
}

/* ===== buildLinkV80ExploreStyles ===== */
:root{--v80-green:#116b3b;--v80-green-dark:#0c4e2b;--v80-mint:#edf7f1;--v80-ink:#172239;--v80-muted:#6f7b8e;--v80-line:#e2e6ec}
.v80-explore-shell{max-width:1220px;margin:0 auto;padding:8px 0 70px;color:var(--v80-ink)}
.v80-explore-hero{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.8fr);gap:24px;align-items:stretch;margin-bottom:28px}
.v80-explore-copy{padding:18px 6px 12px}
.v80-explore-copy h1{font-size:44px;line-height:1.04;letter-spacing:-1.6px;margin:7px 0 12px;color:#111827}
.v80-explore-copy p{max-width:680px;margin:0;color:#687386;font-size:16px;line-height:1.65}
.v80-explore-kicker{font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:950;color:var(--v80-green)}
.v80-explore-hero-art{min-height:190px;border-radius:22px;overflow:hidden;position:relative;background:linear-gradient(135deg,#0f1d18,#182d25);box-shadow:0 14px 32px rgba(24,39,33,.12);background-size:cover;background-position:center}
.v80-explore-hero-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,18,14,.9),rgba(8,18,14,.25))}
.v80-explore-hero-text{position:absolute;z-index:2;left:28px;top:28px;color:#fff;max-width:250px}
.v80-explore-hero-text strong{display:block;font-size:27px;line-height:1.04;letter-spacing:-.6px}
.v80-explore-hero-text span{display:block;margin-top:10px;font-size:13px;color:#dce9e2}
.v80-explore-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto auto;gap:10px;margin:12px 0 15px}
.v80-search{position:relative}.v80-search input{width:100%;height:48px;border:1px solid var(--v80-line);border-radius:999px;padding:0 20px 0 43px;background:#fff;font:inherit;font-size:14px}.v80-search:before{content:"⌕";position:absolute;left:17px;top:10px;font-size:22px;color:var(--v80-green)}
.v80-pill-btn,.v80-sort{height:48px;border:1px solid var(--v80-line);border-radius:999px;background:#fff;padding:0 18px;font:inherit;font-weight:800;color:#344056;cursor:pointer}.v80-pill-btn.active{background:var(--v80-mint);border-color:#b9ddc9;color:var(--v80-green-dark)}
.v80-category-row{display:flex;gap:8px;overflow:auto;padding:2px 0 12px;scrollbar-width:thin}.v80-category-row button{border:0;background:#f4f6f8;color:#3d495c;border-radius:999px;padding:10px 16px;font:inherit;font-size:12px;font-weight:820;white-space:nowrap;cursor:pointer}.v80-category-row button.active{background:var(--v80-green);color:#fff}
.v80-section-head{display:flex;justify-content:space-between;gap:18px;align-items:end;margin:18px 0 14px}.v80-section-head h2{margin:0;font-size:26px;color:#172239}.v80-section-head p{margin:5px 0 0;color:var(--v80-muted);font-size:13px}
.v80-creation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.v80-creation-card{border:1px solid var(--v80-line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 8px 24px rgba(31,42,62,.055);display:flex;flex-direction:column;min-width:0;transition:transform .13s ease,box-shadow .13s ease,border-color .13s ease}.v80-creation-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(31,42,62,.09);border-color:#cfd7df}
.v80-card-image{height:190px;background:#eef1f4 center/cover no-repeat;position:relative;cursor:pointer}.v80-card-image.empty{display:grid;place-items:center;color:#8591a1;font-weight:800}.v80-save-heart{position:absolute;right:12px;top:12px;width:39px;height:39px;border-radius:50%;border:1px solid rgba(255,255,255,.65);background:rgba(19,29,35,.52);color:#fff;font-size:20px;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(4px)}.v80-save-heart.saved{background:#fff;color:var(--v80-green);border-color:#fff}
.v80-card-body{padding:14px 14px 15px;display:flex;flex-direction:column;gap:9px;flex:1}.v80-card-title{font-size:16px;font-weight:950;color:#161f30;line-height:1.25;cursor:pointer}.v80-business-line{display:flex;gap:9px;align-items:center}.v80-logo{width:34px;height:34px;border-radius:50%;background:#edf0f4 center/cover no-repeat;display:grid;place-items:center;font-size:11px;font-weight:950;color:#516075;flex:none}.v80-business-meta{min-width:0}.v80-business-meta strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v80-business-meta small{display:block;color:#748094;font-size:10px;margin-top:2px}.v80-rating{font-size:11px;font-weight:850;color:#5d6778}.v80-rating .star{color:#e7a400}.v80-completed{font-size:10px;color:#7f8a9a}.v80-tags{display:flex;gap:6px;flex-wrap:wrap}.v80-tags span{font-size:9px;font-weight:780;color:#496257;background:#eef6f1;border-radius:999px;padding:6px 8px}.v80-card-actions{display:grid;grid-template-columns:auto 1fr;gap:7px;margin-top:auto}.v80-card-actions button{border-radius:10px;padding:9px 9px;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.v80-view{border:0;background:var(--v80-green);color:#fff}.v80-similar{border:1px solid #9dc9af;background:#fff;color:var(--v80-green-dark)}
.v80-empty{border:1px dashed #cdd5df;border-radius:18px;padding:42px 24px;text-align:center;color:#728095;background:#fbfcfd;grid-column:1/-1}.v80-empty strong{display:block;color:#344056;font-size:18px;margin-bottom:6px}
.v80-modal{position:fixed;inset:0;background:rgba(12,20,31,.58);z-index:10040;display:flex;align-items:center;justify-content:center;padding:22px}.v80-modal-card{width:min(980px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;box-shadow:0 28px 80px rgba(5,12,22,.3);border:1px solid #dfe4eb}.v80-modal-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:17px 20px;border-bottom:1px solid #e6e9ee;position:sticky;top:0;background:#fff;z-index:4}.v80-modal-head strong{font-size:14px}.v80-close{width:35px;height:35px;border:0;border-radius:50%;background:#f1f3f6;color:#4a5669;font-size:20px;cursor:pointer}.v80-modal-body{padding:20px}
.v80-detail-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);gap:22px}.v80-gallery-main{height:430px;border-radius:17px;background:#eef1f4 center/cover no-repeat}.v80-thumbs{display:flex;gap:8px;margin-top:9px;overflow:auto}.v80-thumb{width:76px;height:60px;border-radius:10px;background:center/cover no-repeat;border:2px solid transparent;cursor:pointer;flex:none}.v80-thumb.active{border-color:var(--v80-green)}.v80-detail h2{font-size:30px;line-height:1.1;margin:4px 0 8px}.v80-detail p{color:#647185;line-height:1.65;font-size:13px}.v80-business-summary{border:1px solid #e3e7ec;border-radius:15px;padding:13px;margin:16px 0;background:#fbfcfd}.v80-detail-actions{display:grid;gap:8px;margin-top:16px}.v80-detail-actions button{padding:12px 14px;border-radius:11px;font:inherit;font-weight:900;cursor:pointer}.v80-detail-actions .primary{background:var(--v80-green);border:0;color:#fff}.v80-detail-actions .secondary{background:#fff;border:1px solid #cfd6df;color:#344056}.v80-detail-price{font-size:12px;color:#5d6979;margin-top:9px}.v80-detail-price strong{color:#172239}
.v80-manager{max-width:1120px;margin:0 auto}.v80-manager-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:20px}.v80-manager-head h1{font-size:31px;margin:5px 0;color:#222d43}.v80-manager-head p{margin:0;color:#6e7a8e;max-width:690px;line-height:1.55}.v80-manager-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.v80-manager-card{border:1px solid #e0e5eb;background:#fff;border-radius:17px;overflow:hidden;box-shadow:0 7px 20px rgba(43,53,77,.04)}.v80-manager-img{height:170px;background:#eef1f4 center/cover no-repeat}.v80-manager-body{padding:14px}.v80-manager-body h3{font-size:16px;margin:0 0 5px;color:#263149}.v80-manager-body p{font-size:11px;color:#6e7a8e;line-height:1.5;margin:0 0 9px;min-height:32px}.v80-manager-actions{display:flex;gap:7px;flex-wrap:wrap}.v80-manager-actions button{padding:8px 10px;border-radius:9px;font:inherit;font-size:10px;font-weight:850;cursor:pointer}.v80-manager-actions .primary{background:#6750d8;border:0;color:#fff}.v80-manager-actions .secondary{background:#fff;border:1px solid #d6dbe3;color:#4a5669}.v80-status{font-size:9px;font-weight:900;border-radius:999px;padding:5px 8px;background:#eaf7ef;color:#2f7850}.v80-status.hidden{background:#f2f3f5;color:#6d7787}
.v80-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.v80-field{display:grid;gap:6px}.v80-field.full{grid-column:1/-1}.v80-field label{font-size:11px;font-weight:900;color:#465267}.v80-field input,.v80-field textarea,.v80-field select{width:100%;border:1px solid #d9dfe7;border-radius:11px;padding:11px 12px;font:inherit;font-size:13px;background:#fff}.v80-field textarea{min-height:110px;resize:vertical}.v80-check-row{display:flex;gap:8px;flex-wrap:wrap}.v80-check{display:flex;gap:6px;align-items:center;border:1px solid #dbe1e8;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800}.v80-check input{width:auto}.v80-file-preview{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:8px}.v80-file-preview div{height:86px;border-radius:10px;background:#eef1f4 center/cover no-repeat}.v80-modal-foot{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.v80-modal-foot button{padding:10px 14px;border-radius:10px;font:inherit;font-weight:900;cursor:pointer}.v80-modal-foot .primary{border:0;background:#6750d8;color:#fff}.v80-modal-foot .secondary{border:1px solid #d5dbe3;background:#fff;color:#4a5669}
.v80-inspiration-banner{display:flex;justify-content:space-between;gap:15px;align-items:center;border:1px solid #b7dbc5;background:#f0f8f3;border-radius:15px;padding:12px 14px;margin-bottom:14px}.v80-inspiration-banner strong{display:block;color:#205d3d}.v80-inspiration-banner span{display:block;font-size:11px;color:#5c7467;margin-top:3px}.v80-inspiration-banner button{border:0;background:transparent;color:#537160;font-weight:900;cursor:pointer}
.v80-saved-panel{max-width:1000px;margin:0 auto 16px}.v80-saved-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.v80-saved-card{border:1px solid #e1e6ec;border-radius:15px;overflow:hidden;background:#fff}.v80-saved-img{height:140px;background:#eef1f4 center/cover no-repeat}.v80-saved-body{padding:12px}.v80-saved-body strong{display:block;font-size:13px}.v80-saved-body small{display:block;color:#778396;margin-top:4px}.v80-saved-actions{display:flex;gap:7px;margin-top:10px}.v80-saved-actions button{padding:8px 10px;border-radius:9px;font:inherit;font-size:10px;font-weight:850;cursor:pointer}.v80-saved-actions .primary{background:var(--v80-green);color:#fff;border:0}.v80-saved-actions .secondary{background:#fff;color:#536076;border:1px solid #d6dce4}
@media(max-width:1050px){.v80-creation-grid{grid-template-columns:repeat(3,1fr)}.v80-manager-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.v80-explore-hero{grid-template-columns:1fr}.v80-explore-hero-art{min-height:160px}.v80-explore-toolbar{grid-template-columns:1fr 1fr}.v80-search{grid-column:1/-1}.v80-creation-grid{grid-template-columns:repeat(2,1fr)}.v80-detail-grid{grid-template-columns:1fr}.v80-gallery-main{height:330px}.v80-saved-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.v80-explore-copy h1{font-size:35px}.v80-creation-grid,.v80-manager-grid,.v80-saved-grid{grid-template-columns:1fr}.v80-card-image{height:220px}.v80-form-grid{grid-template-columns:1fr}.v80-field.full{grid-column:auto}.v80-file-preview{grid-template-columns:repeat(3,1fr)}.v80-manager-head{align-items:flex-start;flex-direction:column}.v80-card-actions{grid-template-columns:1fr 1.3fr}}

/* ===== core-style-21 ===== */
.v32-category-choice{position:relative;overflow:hidden;text-align:left;border:1px solid #e2e6ed;background:#fff;border-radius:14px;padding:14px;min-height:92px;cursor:pointer;font:inherit;color:inherit}
        .v32-category-choice:hover{border-color:#bcb2f3;background:#fcfbff}
        .v32-category-choice strong,.v32-category-choice small{display:block}.v32-category-choice small{color:#798598;margin-top:5px;line-height:1.35;padding-right:12px}
        .v32-coming-ribbon{position:absolute;top:13px;right:-39px;transform:rotate(35deg);background:#f2a93b;color:#fff;font-size:8px;font-weight:950;letter-spacing:.08em;padding:5px 43px;box-shadow:0 2px 6px rgba(0,0,0,.08)}

/* ===== core-style-22 ===== */
.v41-project-list{display:grid;gap:12px;margin-top:16px}
.v41-project-card{width:100%;text-align:left;border:1px solid #e2e7f0;background:#fff;border-radius:16px;padding:18px;cursor:pointer;font:inherit;color:inherit;transition:.18s ease}
.v41-project-card:hover{transform:translateY(-1px);box-shadow:0 10px 28px rgba(44,54,82,.08);border-color:#cfd6e8}
.v41-project-card h3{font-size:19px;margin:8px 0 5px}
.v41-project-card p{margin:0 0 12px;color:#6d788c;line-height:1.45}

/* ===== buildLinkV49Styles ===== */
.v49-profile-wrap{max-width:820px;margin:0 auto;padding:4px}.v49-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}.v49-field{display:grid;gap:6px}.v49-field.full{grid-column:1/-1}.v49-field label{font-size:12px;font-weight:800;color:#5e5870}.v49-field input,.v49-field textarea{border:1px solid #ddd8e7;border-radius:12px;padding:12px;font:inherit}.v49-field textarea{min-height:110px;resize:vertical}.v49-save-status{font-size:12px;margin-left:10px;color:#34724c}.v49-saved-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.v49-saved-card{border:1px solid #e7e2ef;border-radius:18px;padding:16px;background:#fff}.v49-saved-head{display:flex;gap:12px;align-items:center}.v49-logo{width:54px;height:54px;border-radius:14px;background:#6d4bea center/cover no-repeat;color:#fff;font-weight:900;display:grid;place-items:center;font-size:20px}.v49-profile-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.v49-chart{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;align-items:end;height:150px;margin-top:16px}.v49-chart-col{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.v49-chart-bar-wrap{height:112px;width:100%;display:flex;align-items:flex-end;justify-content:center}.v49-chart-bar{width:min(30px,70%);min-height:4px;border-radius:8px 8px 3px 3px;background:#6d4bea}.v49-chart-col small{font-size:10px;color:#7b7487}.v49-chart-col b{font-size:10px;color:#4d4658}.v49-customer-name{font-weight:800}.v49-provider-card{border:1px solid #e7e2ef;border-radius:18px;padding:16px;margin-top:13px;background:#fff}.v49-provider-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.v49-provider-identity{display:flex;gap:12px;align-items:center}.v49-provider-logo{width:52px;height:52px;border-radius:14px;background:#6d4bea center/cover no-repeat;color:#fff;font-weight:900;display:grid;place-items:center}.v49-estimate{background:#fbf8ff;border:1px solid #e8defc;border-radius:14px;padding:14px;margin-top:12px}.v49-estimate strong.amount{display:block;font-size:25px;margin:5px 0}.v49-thread{margin-top:12px}.v49-msg{padding:10px 12px;border-radius:12px;margin:7px 0;max-width:86%}.v49-msg.provider{background:#f1edff}.v49-msg.customer{background:#f3f3f5;margin-left:auto}.v49-msg small{display:block;color:#7c7682;margin-top:5px}.v49-reply{display:flex;gap:8px;margin-top:12px}.v49-reply input{flex:1;border:1px solid #ddd7e7;border-radius:12px;padding:11px}.v49-profile-save{margin-left:auto}.v49-empty{text-align:center;padding:35px 18px;color:#77717f}@media(max-width:760px){.v49-profile-grid,.v49-saved-grid{grid-template-columns:1fr}.v49-dashboard-grid{grid-template-columns:1fr}.v49-chart{gap:4px}}

/* ===== buildLinkV51ProposalFlowStyles ===== */
.v51-decision-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.v51-decision-note{border-radius:14px;padding:13px 14px;margin-top:12px;border:1px solid #e6e0ef;background:#faf8fd}.v51-decision-note.declined{background:#fff8ed;border-color:#f1d9ad}.v51-decision-note.accepted{background:#eef9f1;border-color:#cce8d3}.v51-decision-note.sent{background:#f6f1ff;border-color:#ded1f8}.v51-job-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v51-job-card{border:1px solid #e5e1eb;background:#fff;border-radius:18px;padding:18px}.v51-job-card h3{margin:8px 0 5px}.v51-job-card p{color:#746f7d;margin:0 0 12px}.v51-job-meta{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.v51-job-meta div{background:#f7f5fa;border-radius:12px;padding:10px}.v51-job-meta span{display:block;font-size:11px;color:#7d7687;text-transform:uppercase;letter-spacing:.05em}.v51-job-meta strong{display:block;margin-top:4px}.v51-business-notice{margin-bottom:16px;border-radius:14px;padding:14px;border:1px solid #e4dfeb;background:#faf8fc}.v51-business-notice.declined{background:#fff7eb;border-color:#efd5a5}.v51-business-notice.accepted{background:#edf9f0;border-color:#c8e6cf}.v51-status-pill{font-weight:800}.v51-modal-backdrop{position:fixed;inset:0;background:rgba(25,20,37,.55);display:flex;align-items:center;justify-content:center;z-index:100000;padding:20px}.v51-modal{width:min(650px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 24px 80px rgba(0,0,0,.22)}.v51-modal-head{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:18px 20px;border-bottom:1px solid #ece8f0}.v51-modal-body{padding:20px}.v51-modal-close{border:0;background:#f1eef5;width:34px;height:34px;border-radius:999px;font-size:19px;cursor:pointer}.v51-scope{white-space:pre-line;background:#f8f6fa;border-radius:12px;padding:12px;margin-top:10px}.v51-muted{color:#756f7b}.v51-customer-project-pill.declined{background:#fff1da!important;color:#8a5a10!important}.v51-customer-project-pill.accepted{background:#eaf8ee!important;color:#2f7947!important}@media(max-width:760px){.v51-job-grid{grid-template-columns:1fr}.v51-job-meta{grid-template-columns:1fr}.v51-decision-row .btn{width:100%}}

/* ===== buildLinkV64PendingProjectStyles ===== */
.v64-project-wrap{position:relative;margin-bottom:12px}.v64-project-wrap .v41-project-card{width:100%;margin:0;text-align:left}.v64-project-actions{display:flex;justify-content:flex-end;margin-top:6px}.v64-delete-project{border:0;background:transparent;color:#8a5959;font:inherit;font-size:12px;font-weight:800;cursor:pointer;padding:5px 8px;border-radius:8px}.v64-delete-project:hover{background:#fff1f1;color:#7a3030}.v64-delete-project:disabled{opacity:.55;cursor:wait}

/* ===== buildLinkV68CustomerHubStyles ===== */
/* Home is the quick dashboard; the full project list now lives in My Projects. */
body.client-v3-mode #v41ProjectList .v64-project-wrap:nth-child(n+4){display:none!important}
.v68-customer-hub{display:none;background:#f8f9fc;min-height:calc(100vh - 72px);color:var(--ink)}
body.client-v68-projects-mode #publicLanding,body.client-v68-projects-mode #accountPage,body.client-v68-projects-mode #loggedInHeader,body.client-v68-projects-mode #clientLoggedInV3,body.client-v68-projects-mode #appMain,
body.client-v68-messages-mode #publicLanding,body.client-v68-messages-mode #accountPage,body.client-v68-messages-mode #loggedInHeader,body.client-v68-messages-mode #clientLoggedInV3,body.client-v68-messages-mode #appMain{display:none!important}
body.client-v68-projects-mode #clientV3Header,body.client-v68-messages-mode #clientV3Header{display:flex!important}
body.client-v68-projects-mode #v68CustomerProjectsHub{display:block}
body.client-v68-messages-mode #v68CustomerMessagesHub{display:block}
.v68-hub-shell{width:min(1180px,calc(100% - 36px));margin:auto;padding:38px 0 70px}
.v68-hub-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:20px}
.v68-hub-head h1{font-size:38px;letter-spacing:-.04em;margin:5px 0 5px;color:#17233d}.v68-hub-head p{margin:0;color:#6d788c;max-width:720px;line-height:1.5}
.v68-project-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.v68-project-metrics button{border:1px solid var(--line);background:#fff;border-radius:16px;padding:15px;text-align:left;cursor:pointer;font:inherit;color:#526078}
.v68-project-metrics button span{display:block;font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.v68-project-metrics button strong{display:block;font-size:27px;color:#17233d;margin-top:5px}
.v68-project-metrics button.active{border-color:#8e7cf5;background:#f5f2ff;color:#5c47cf}
.v68-project-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}.v68-project-toolbar input,.v68-thread-panel input{border:1px solid var(--line);border-radius:12px;background:#fff;padding:11px 13px;font:inherit;color:#344057}.v68-project-toolbar input{width:min(440px,100%)}
.v68-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.v68-project-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 5px 18px rgba(32,43,69,.035)}
.v68-project-card h3{font-size:20px;margin:9px 0 5px}.v68-project-card p{color:#707b8e;line-height:1.48;margin:0}.v68-project-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.v68-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#f2f4f7;color:#657083;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.v68-status.active{background:#e8f4ec;color:#286343}.v68-status.warn{background:#fff4dc;color:#76581d}.v68-status.done{background:#e9eef9;color:#405687}
.v68-project-tags{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.v68-project-tags span{font-size:11px;padding:5px 8px;border-radius:999px;background:#f4f6f9;color:#647084;font-weight:750}
.v68-project-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.v68-project-facts div{background:#f8faf9;border:1px solid #e5eae7;border-radius:11px;padding:9px}.v68-project-facts span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#89928c;font-weight:850}.v68-project-facts strong{display:block;font-size:12px;margin-top:3px;color:#36423b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v68-project-payment{margin-top:12px}.v68-project-payment .bar{height:6px;border-radius:99px;background:#e7ebe8;overflow:hidden}.v68-project-payment .bar span{display:block;height:100%;background:#315e43}.v68-project-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.v68-project-actions .danger{border:0;background:transparent;color:#8a4b4b;font-weight:850;cursor:pointer;padding:8px 9px}
.v68-hub-empty{border:1px dashed #d7dce6;background:#fff;border-radius:17px;padding:26px;text-align:center;color:#737e91}.v68-hub-empty p{margin:5px 0 0}
.v68-message-layout{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:620px;background:#fff;border:1px solid var(--line);border-radius:21px;overflow:hidden}.v68-thread-panel{border-right:1px solid var(--line);padding:14px;background:#fbfcfe}.v68-thread-panel input{width:100%;margin-bottom:11px}.v68-thread-list{display:grid;gap:7px;max-height:680px;overflow:auto}.v68-thread{border:1px solid transparent;background:transparent;border-radius:13px;padding:11px;text-align:left;font:inherit;cursor:pointer;color:#38455c;width:100%}.v68-thread:hover,.v68-thread.active{background:#f3f1ff;border-color:#e0dafd}.v68-thread-top{display:flex;justify-content:space-between;gap:8px}.v68-thread strong{font-size:13px}.v68-thread small{display:block;color:#8a93a2;font-size:10px}.v68-thread em{display:block;font-style:normal;color:#6c7789;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.v68-thread-kind{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#6452c5}
.v68-message-detail{display:flex;flex-direction:column;min-width:0}.v68-message-head{padding:18px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.v68-message-head h2{margin:3px 0 2px;font-size:20px}.v68-message-head p{margin:0;color:#7a8496;font-size:12px}.v68-message-scroll{padding:18px;display:flex;flex-direction:column;gap:9px;overflow:auto;max-height:500px;flex:1;background:#fcfdff}.v68-msg{max-width:78%;border-radius:15px;padding:10px 12px;background:#eef2f6;color:#354257}.v68-msg.mine{margin-left:auto;background:#eee9ff}.v68-msg.buildlink{background:#edf7f0}.v68-msg strong{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:3px}.v68-msg small{display:block;color:#8992a0;margin-top:5px;font-size:9px}.v68-message-compose{border-top:1px solid var(--line);padding:14px;display:flex;gap:8px}.v68-message-compose textarea{flex:1;min-height:66px;margin:0;border:1px solid var(--line);border-radius:12px;padding:10px;font:inherit;resize:vertical}
@media(max-width:820px){.v68-project-grid{grid-template-columns:1fr}.v68-message-layout{grid-template-columns:1fr}.v68-thread-panel{border-right:0;border-bottom:1px solid var(--line)}.v68-thread-list{max-height:250px}.v68-project-metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.v68-hub-shell{width:min(100% - 24px,1180px);padding-top:22px}.v68-hub-head h1{font-size:31px}body.client-v68-projects-mode .client-v3-nav,body.client-v68-messages-mode .client-v3-nav{display:flex;overflow-x:auto;max-width:52vw}.v68-project-toolbar{align-items:stretch;flex-direction:column}.v68-project-facts{grid-template-columns:1fr}.v68-message-head{display:grid}.v68-message-compose{display:grid}.v68-msg{max-width:92%}}

/* ===== buildLinkV77Part2Styles ===== */
.v77b-section{background:#fff;border:1px solid #e2e6ed;border-radius:16px;padding:17px;margin:14px 0}.v77b-section h3{margin:4px 0 6px}.v77b-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.v77b-grid label{display:grid;gap:6px;font-size:11px;font-weight:900;color:#5e6675}.v77b-grid input,.v77b-grid select,.v77b-grid textarea{width:100%;border:1px solid #dce1e9;border-radius:10px;background:#fff;padding:10px}.v77b-grid input,.v77b-grid select{height:40px}.v77b-note{padding:11px 12px;border-radius:11px;background:#f7f5ff;border:1px solid #e3dcff;color:#62697a;font-size:12px;line-height:1.45}.v77b-row{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap}.v77b-btn{border:1px solid #dce1e8;background:#fff;border-radius:10px;padding:9px 12px;font-weight:850;cursor:pointer}.v77b-btn.primary{background:#694cff;border-color:#694cff;color:#fff}.v77b-btn.warn{background:#fff9ef;border-color:#ebd4a4;color:#79571b}.v77b-pill{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;background:#f0f2f6;color:#596170}.v77b-pill.good{background:#eaf7ee;color:#2d7148}.v77b-pill.warn{background:#fff3da;color:#825c13}.v77b-modal-back{position:fixed;inset:0;z-index:130000;background:rgba(24,25,34,.5);display:grid;place-items:center;padding:18px}.v77b-modal{width:min(760px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:20px;border:1px solid #e1e4ea;padding:20px;box-shadow:0 26px 85px rgba(20,20,30,.28)}.v77b-modal h2{margin:4px 0 7px}.v77b-ledger{display:grid;gap:9px;margin-top:13px}.v77b-ledger-row{display:grid;grid-template-columns:1.2fr repeat(4,1fr);gap:8px;border:1px solid #e7eaf0;border-radius:12px;padding:11px}.v77b-ledger-row span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.04em;color:#808896}.v77b-ledger-row strong{display:block;margin-top:4px}.v77b-room-action{margin-top:9px;width:100%}.v77b-case-card{margin-top:10px;border:1px solid #efd9ae;background:#fffaf0;border-radius:12px;padding:11px}.v77b-case-card strong{display:block}.v77b-business-breakdown{margin:12px 0 16px}.v77b-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:11px}.v77b-metric{border:1px solid #e5e8ed;border-radius:12px;padding:11px}.v77b-metric span{display:block;font-size:9px;text-transform:uppercase;font-weight:900;color:#808897}.v77b-metric strong{display:block;font-size:20px;margin-top:5px}.v77b-lock{margin-top:8px;font-size:11px;color:#6d7583}.v77b-danger-zone{border-color:#ecd7b7;background:#fffdf8}
@media(max-width:850px){.v77b-grid,.v77b-metrics{grid-template-columns:1fr 1fr}.v77b-ledger-row{grid-template-columns:1fr 1fr}}@media(max-width:560px){.v77b-grid,.v77b-metrics,.v77b-ledger-row{grid-template-columns:1fr}}

/* ===== buildLinkV79MatchingStyles ===== */
/* Commonhand V79 — customer choice + diverse matching */
.v79-name-block{border:1px solid #dcd6ff!important;background:#fbfaff!important}.v79-name-block label{font-size:14px!important}.v79-name-block input{font-size:16px!important;font-weight:800!important}
.v79-review-name{border:1px solid #ded8ff;background:#faf9ff;border-radius:14px;padding:13px 14px;margin-bottom:12px}.v79-review-name span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:#7564c8}.v79-review-name strong{display:block;font-size:18px;margin-top:4px}
.v79-match-panel{margin:16px 0;border:1px solid #e2dff0;background:#fff;border-radius:20px;padding:18px;box-shadow:0 8px 30px rgba(46,38,85,.05)}
.v79-match-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.v79-match-head h2{margin:4px 0 6px;font-size:25px}.v79-match-head p{margin:0;color:#6f7888;max-width:760px;line-height:1.5}.v79-match-guide{margin:14px 0;padding:12px 14px;border-radius:13px;background:#f7f5ff;color:#514873;font-size:12px;line-height:1.5;border:1px solid #e8e2ff}
.v79-match-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.v79-match-card{border:1px solid #e4e1ea;border-radius:17px;padding:15px;background:#fff;display:flex;flex-direction:column;min-width:0}.v79-match-card.expanded{background:#fcfcfd}.v79-match-card-top{display:flex;gap:11px;align-items:center}.v79-match-logo{width:46px;height:46px;border-radius:13px;background:#efedf7 center/cover no-repeat;display:grid;place-items:center;font-weight:950;color:#6654bf;flex:0 0 auto}.v79-match-card h3{margin:0 0 3px;font-size:17px}.v79-match-card .loc{font-size:11px;color:#808897}.v79-match-role{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:#eeeaff;color:#5944c7;font-size:9px;text-transform:uppercase;letter-spacing:.045em;font-weight:900;margin-top:10px;width:max-content}.v79-match-role.capacity{background:#eaf4ed;color:#2c7048}.v79-match-role.specialist{background:#fff3df;color:#8b5a08}
.v79-match-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0}.v79-match-stats div{background:#f7f8fa;border-radius:10px;padding:8px}.v79-match-stats span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.055em;color:#858d99;font-weight:900}.v79-match-stats strong{display:block;font-size:12px;margin-top:3px}.v79-why{border-top:1px solid #eeeaf1;padding-top:10px;margin-top:auto}.v79-why>strong{font-size:10px;text-transform:uppercase;letter-spacing:.05em}.v79-why ul{margin:7px 0 0;padding-left:17px;color:#626b78;font-size:11px;line-height:1.45}.v79-match-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.v79-match-actions .btn{flex:1}.v79-invited{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border-radius:10px;background:#edf7f0;color:#287047;font-size:10px;font-weight:900;padding:8px 10px;flex:1}
.v79-expand{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid #ece9f0}.v79-expand p{margin:0;color:#737c89;font-size:11px}.v79-empty{padding:18px;border:1px dashed #d9d4df;border-radius:14px;text-align:center;color:#757d88;margin-top:12px}
.v79-input-clickable{cursor:pointer!important;border-color:#cfc3ff!important;box-shadow:0 0 0 2px rgba(111,85,232,.07)!important}.v79-input-callout{margin-top:11px;padding:9px 11px;border-radius:11px;background:#eee9ff;color:#553ac5;font-size:11px;font-weight:900;display:flex;justify-content:space-between;gap:10px}.v79-input-clickable:hover .v79-input-callout{background:#e7e0ff}
.v79-saved-stats{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 2px}.v79-saved-stat{border:1px solid #e4e6eb;background:#f8f9fa;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800;color:#5e6875}
.v79-business-fit{margin-top:16px!important;border:1px solid #ded8ff!important;background:#fcfbff!important}.v79-fit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.v79-fit-grid label{display:grid;gap:5px;font-size:11px;font-weight:850;color:#626b78}.v79-fit-grid input,.v79-fit-grid select,.v79-fit-grid textarea{width:100%;border:1px solid #d8dce4;border-radius:10px;padding:9px;font:inherit;background:#fff}.v79-fit-checks{display:grid;gap:7px;margin-top:11px}.v79-fit-checks label{display:flex;gap:8px;align-items:center;border:1px solid #e4e1ea;border-radius:10px;padding:9px;background:#fff;font-size:11px}.v79-fit-note{font-size:10px;line-height:1.5;color:#7a8290;margin-top:8px}
.v79-op-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.v79-op-meta span{font-size:9px;padding:4px 7px;border-radius:999px;background:#f0edf9;color:#5c4cab;font-weight:850}.v79-op-why{font-size:10px;color:#65707f;margin-top:7px}
.v79-admin-match{margin-top:18px;border:1px solid #dfe6e1;border-radius:15px;background:#fff;padding:17px}.v79-admin-match h3{margin:3px 0 12px}.v79-admin-match-row{display:grid;grid-template-columns:minmax(220px,1.4fr) 100px 100px 110px auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0ee;font-size:12px}.v79-admin-match-row:last-child{border-bottom:0}.v79-admin-match-row small{display:block;color:#838d87;margin-top:2px}.v79-admin-modal{position:fixed;inset:0;z-index:100090;background:rgba(15,25,20,.58);display:grid;place-items:center;padding:20px}.v79-admin-modal>div{width:min(760px,96vw);max-height:88vh;overflow:auto;background:#fff;border-radius:17px;padding:19px}.v79-admin-detail{border:1px solid #e3e7e4;border-radius:12px;padding:12px;margin-top:9px}.v79-admin-detail .reasons{font-size:11px;color:#69736d;margin-top:6px}
@media(max-width:980px){.v79-match-grid{grid-template-columns:1fr 1fr}}@media(max-width:680px){.v79-match-grid,.v79-fit-grid{grid-template-columns:1fr}.v79-match-head,.v79-expand{display:grid}.v79-admin-match-row{grid-template-columns:1fr 1fr}.v79-admin-match-row>*:first-child{grid-column:1/-1}}

/* ===== buildLinkV802PhotoFitStyles ===== */
/* V80.2: user-uploaded Showcase photos should be visible in full instead of cropped/zoomed. */
.v80-card-image,
.v80-gallery-main,
.v80-thumb,
.v80-manager-img,
.v80-file-preview div,
.v80-saved-img{
  background-size:contain !important;
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-color:#f4f6f8 !important;
}
/* Give the full-screen creation image a responsive, photo-friendly viewport. */
.v80-gallery-main{
  height:auto !important;
  aspect-ratio:4/3;
  min-height:300px;
}
/* Cards remain uniform while showing the entire photo. */
.v80-card-image{aspect-ratio:4/3;height:auto !important;min-height:180px}
.v80-manager-img{aspect-ratio:4/3;height:auto !important;min-height:160px}
.v80-saved-img{aspect-ratio:4/3;height:auto !important;min-height:135px}
@media(max-width:560px){
  .v80-card-image{min-height:220px}
  .v80-gallery-main{min-height:250px}
}

/* ===== buildLinkV804StabilityStyles ===== */
/* Brand marks should never crop. Project/showcase photos keep the V80.2 photo-fit rules. */
.v18-logo-preview img,
.v18-public-logo img{object-fit:contain !important;background:#fff !important}
.v48-profile-logo,
.v48-provider-mini-logo,
.v79-match-logo,
.v80-logo{
  background-size:contain !important;
  background-repeat:no-repeat !important;
  background-position:center center !important;
  background-color:#fff !important;
}

/* ===== buildLinkV808StartProjectLockStyles ===== */
#v3StartProject,#v3ProjectsStart,#v68ProjectsStart,#launchEmptyStartProject,#launchExploreStart,
#clientPostV6 #postV6Next,#clientPostV6 #postV6Back,#clientPostV6 [data-v6-need]{
  pointer-events:auto!important;
  touch-action:manipulation;
}

/* ===== buildLinkV809WizardStyles ===== */
body.client-v3-subpage #appMain {
  position:relative;
}
body.client-v3-subpage #clientPostV6 {
  position:relative;
  z-index:30;
  pointer-events:auto!important;
}
body.client-v3-subpage #clientPostV6 button,
body.client-v3-subpage #clientPostV6 input,
body.client-v3-subpage #clientPostV6 textarea,
body.client-v3-subpage #clientPostV6 select,
body.client-v3-subpage #clientPostV6 label {
  pointer-events:auto!important;
  touch-action:manipulation;
}

/* ===== buildLinkV8010ProjectsRestore ===== */
/*
  V78 intentionally collapsed My Projects into a single-column "doorway" list.
  V80.10 restores the fuller V68 project-card dashboard the customer preferred.
  This is presentation-only: project loading, Supabase data, routing, Stripe,
  messaging, and the V80.9 Start Project wizard remain unchanged.
*/
body.client-v68-projects-mode #v68CustomerProjectsHub .v68-hub-shell{
  width:min(1180px,calc(100% - 36px));
}
body.client-v68-projects-mode #v68CustomerProjectsHub .v68-hub-head p{
  max-width:720px;
}

/* Bring back the real project-card grid instead of the narrow timeline/list look. */
body.client-v68-projects-mode .v68-project-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  max-width:none!important;
  gap:16px!important;
}
body.client-v68-projects-mode .v68-project-card{
  display:flex!important;
  flex-direction:column!important;
  padding:20px!important;
  min-height:100%!important;
  border-radius:20px!important;
  box-shadow:0 8px 24px rgba(32,43,69,.055)!important;
}

/* Restore the information V78 hid. */
body.client-v68-projects-mode .v68-project-card>p{
  display:block!important;
  margin-top:3px!important;
  color:#707b8e!important;
  line-height:1.48!important;
}
body.client-v68-projects-mode .v68-project-tags{
  display:flex!important;
  margin:13px 0 2px!important;
}
body.client-v68-projects-mode .v68-project-payment{
  display:block!important;
  margin-top:14px!important;
}
body.client-v68-projects-mode [data-v68-project-messages]{
  display:inline-flex!important;
}

/* Restore the 3 useful facts across each project card. */
body.client-v68-projects-mode .v68-project-facts{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:13px!important;
}
body.client-v68-projects-mode .v68-project-facts>div{
  display:block!important;
  background:#f8faf9!important;
  border:1px solid #e5eae7!important;
  border-radius:11px!important;
  padding:10px!important;
  min-width:0!important;
}
body.client-v68-projects-mode .v68-project-facts>div:nth-child(n){
  display:block!important;
}
body.client-v68-projects-mode .v68-project-facts>div span{
  display:block!important;
  margin-right:0!important;
  font-size:9px!important;
  text-transform:uppercase!important;
  letter-spacing:.07em!important;
  color:#89928c!important;
  font-weight:850!important;
}
body.client-v68-projects-mode .v68-project-facts>div strong{
  display:block!important;
  margin-top:4px!important;
  font-size:12px!important;
  color:#36423b!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

/* Keep each card's actions anchored cleanly at the bottom. */
body.client-v68-projects-mode .v68-project-actions{
  margin-top:auto!important;
  padding-top:15px!important;
}

/* Keep the progress treatment compact rather than making the page feel like a timeline. */
body.client-v68-projects-mode .v78-card-progress{
  margin:14px 0 0!important;
}
body.client-v68-projects-mode .v78-card-progress-bar{
  height:7px!important;
}

/* Responsive: two-up on desktop, one card per row on smaller screens. */
@media(max-width:900px){
  body.client-v68-projects-mode .v68-project-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:680px){
  body.client-v68-projects-mode .v68-project-facts{
    grid-template-columns:1fr!important;
  }
}

/* ===== buildLinkV8012LiveProjectStyles ===== */
/*
  IMPORTANT OWNERSHIP NOTE
  ------------------------
  This is the authoritative CUSTOMER SINGLE-PROJECT page.
  Clicking Open Project should land here directly.
  Legacy customer detail renderers (V41/V57/V60/V72/V73/V78/V80.11) may remain
  for compatibility, but they no longer own the Open Project navigation path.
*/

body.client-project-v12.v812-live-project-open #publicLanding,
body.client-project-v12.v812-live-project-open #accountPage,
body.client-project-v12.v812-live-project-open #clientLoggedInV3,
body.client-project-v12.v812-live-project-open #loggedInHeader,
body.client-project-v12.v812-live-project-open #appMain,
body.client-project-v12.v812-live-project-open #v68CustomerProjectsHub,
body.client-project-v12.v812-live-project-open #v68CustomerMessagesHub,
body.client-project-v12.v812-live-project-open #clientV20Billing,
body.client-project-v12.v812-live-project-open #businessV13Header,
body.client-project-v12.v812-live-project-open #businessV13App,
body.client-project-v12.v812-live-project-open #adminV17Header,
body.client-project-v12.v812-live-project-open #adminV17App{
  display:none!important;
}
body.client-project-v12.v812-live-project-open #clientV3Header{
  display:flex!important;
}
body.client-project-v12.v812-live-project-open #clientProjectV12{
  display:block!important;
}

#clientProjectV12.v812-live{
  min-height:calc(100vh - 72px);
  background:#f7f8fb;
}
#clientProjectV12.v812-live .v12-project-wrap{
  max-width:1160px;
}
#clientProjectV12.v812-live .v12-project-heading-side{
  min-width:210px;
}
#clientProjectV12.v812-live .v12-status-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
#clientProjectV12.v812-live .v12-project-tabs{
  position:sticky;
  top:72px;
  z-index:18;
  background:#f7f8fb;
  padding-top:4px;
}
#clientProjectV12.v812-live .v12-provider-avatar{
  overflow:hidden;
}
#clientProjectV12.v812-live .v12-provider-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
#clientProjectV12.v812-live .v812-progress-empty,
#clientProjectV12.v812-live .v812-message-empty,
#clientProjectV12.v812-live .v812-scope-empty{
  border:1px dashed #ccd3de;
  border-radius:14px;
  padding:22px;
  text-align:center;
  color:#7b8698;
  background:#fafbfd;
  line-height:1.55;
}
#clientProjectV12.v812-live .v812-message-thread{
  display:flex;
  flex-direction:column;
  gap:9px;
  max-height:520px;
  overflow:auto;
  padding:16px;
  background:#fcfdff;
}
#clientProjectV12.v812-live .v812-message{
  max-width:76%;
  padding:11px 13px;
  border-radius:15px;
  background:#f0f2f6;
  color:#39465a;
  font-size:13px;
  line-height:1.5;
}
#clientProjectV12.v812-live .v812-message.mine{
  margin-left:auto;
  background:#6c54df;
  color:#fff;
}
#clientProjectV12.v812-live .v812-message strong,
#clientProjectV12.v812-live .v812-message small{
  display:block;
}
#clientProjectV12.v812-live .v812-message strong{
  font-size:10px;
  margin-bottom:3px;
}
#clientProjectV12.v812-live .v812-message small{
  margin-top:5px;
  color:#8b94a4;
  font-size:9px;
}
#clientProjectV12.v812-live .v812-message.mine small{
  color:#ddd7ff;
}
#clientProjectV12.v812-live .v812-compose{
  border-top:1px solid #e8ebf0;
  padding:14px;
}
#clientProjectV12.v812-live .v812-compose textarea{
  min-height:82px;
  margin-bottom:9px;
}
#clientProjectV12.v812-live .v812-update-card{
  position:relative;
  overflow:hidden;
}
#clientProjectV12.v812-live .v812-update-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:#745de5;
}
#clientProjectV12.v812-live .v812-update-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}
#clientProjectV12.v812-live .v812-update-head h3{
  margin:7px 0 4px;
}
#clientProjectV12.v812-live .v812-update-meta{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin:9px 0;
}
#clientProjectV12.v812-live .v812-update-meta span{
  font-size:9px;
  font-weight:850;
  border-radius:999px;
  background:#f0edff;
  color:#604bcf;
  padding:5px 8px;
}
#clientProjectV12.v812-live .v812-photo-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:12px;
}
#clientProjectV12.v812-live .v812-photo-grid a{
  display:block;
  border-radius:12px;
  overflow:hidden;
  background:#eef1f5;
  border:1px solid #e1e5eb;
}
#clientProjectV12.v812-live .v812-photo-grid img{
  width:100%;
  height:220px;
  object-fit:contain;
  background:#f0f2f5;
}
#clientProjectV12.v812-live .v812-overview-update .v812-photo-grid img{
  height:170px;
}
#clientProjectV12.v812-live .v812-status-steps{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
  margin-top:18px;
}
#clientProjectV12.v812-live .v812-status-step{
  border-top:4px solid #e3e6ed;
  padding-top:9px;
  color:#7b8596;
  font-size:10px;
  line-height:1.35;
}
#clientProjectV12.v812-live .v812-status-step.done{
  border-color:#8e7cf2;
  color:#4f5c70;
}
#clientProjectV12.v812-live .v812-status-step.current{
  border-color:#6048d5;
  color:#5a45c6;
  font-weight:850;
}
#clientProjectV12.v812-live .v812-scope-grid{
  display:grid;
  gap:0;
  margin-top:12px;
}
#clientProjectV12.v812-live .v812-scope-row{
  display:flex;
  justify-content:space-between;
  gap:18px;
  padding:12px 0;
  border-bottom:1px solid #edf0f4;
  font-size:13px;
}
#clientProjectV12.v812-live .v812-scope-row span{
  color:#788396;
}
#clientProjectV12.v812-live .v812-scope-row strong{
  text-align:right;
  color:#354157;
  max-width:68%;
}
#clientProjectV12.v812-live .v812-ledger-row{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:10px;
  padding:11px 0;
  border-bottom:1px solid #edf0f4;
  font-size:11px;
}
#clientProjectV12.v812-live .v812-ledger-row span{
  color:#7d8899;
}
#clientProjectV12.v812-live .v812-ledger-row strong{
  display:block;
  margin-top:2px;
  color:#354157;
}
#clientProjectV12.v812-live .v812-alert-card{
  border:1px solid #ddd5ff;
  background:#faf8ff;
}
#clientProjectV12.v812-live .v812-success-card{
  border:1px solid #cde6d8;
  background:#f4fbf7;
}
#clientProjectV12.v812-live .v812-review-card{
  margin-top:14px;
  border:1px solid #e4e7ed;
  border-radius:13px;
  padding:13px;
  background:#fff;
}
#clientProjectV12.v812-live .v812-review-stars{
  color:#d99a25;
  letter-spacing:1px;
}
#clientProjectV12.v812-live .v812-loading{
  min-height:430px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:10px;
  color:#6e798d;
}
#clientProjectV12.v812-live .v812-loading-dot{
  width:28px;
  height:28px;
  border:3px solid #ddd8ff;
  border-top-color:#7058df;
  border-radius:50%;
  animation:launchBootSpin .7s linear infinite;
}
#clientProjectV12.v812-live .v812-error{
  max-width:680px;
  margin:80px auto;
  text-align:center;
  border:1px solid #ead4d4;
  background:#fffafa;
  border-radius:18px;
  padding:30px;
}
@media(max-width:850px){
  #clientProjectV12.v812-live .v812-status-steps{
    grid-template-columns:1fr;
  }
  #clientProjectV12.v812-live .v812-status-step{
    border-top:0;
    border-left:4px solid #e3e6ed;
    padding:8px 0 8px 10px;
  }
  #clientProjectV12.v812-live .v812-status-step.done{border-color:#8e7cf2}
  #clientProjectV12.v812-live .v812-status-step.current{border-color:#6048d5}
}
@media(max-width:620px){
  #clientProjectV12.v812-live .v812-photo-grid{grid-template-columns:1fr}
  #clientProjectV12.v812-live .v812-message{max-width:90%}
  #clientProjectV12.v812-live .v812-scope-row{display:grid;gap:4px}
  #clientProjectV12.v812-live .v812-scope-row strong{text-align:left;max-width:none}
  #clientProjectV12.v812-live .v812-ledger-row{grid-template-columns:1fr}
}

/* ===== buildLinkV8014BusinessFlowStyles ===== */
.v814-business-support{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:16px}
.v814-support-list{display:grid;gap:9px;margin-top:12px}.v814-support-ticket{width:100%;border:1px solid #e1e5eb;background:#fff;border-radius:13px;padding:12px;text-align:left;font:inherit;color:inherit;cursor:pointer}.v814-support-ticket:hover,.v814-support-ticket.active{border-color:#c9c0ff;background:#faf8ff}.v814-support-ticket strong,.v814-support-ticket small{display:block}.v814-support-ticket small{margin-top:4px;color:#7c8799}.v814-support-status{display:inline-flex;border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900;background:#f0edff;color:#5e49cb}.v814-support-status.closed{background:#eef1f4;color:#6f7887}.v814-support-thread{display:grid;gap:8px;max-height:390px;overflow:auto;padding:6px 2px}.v814-support-msg{max-width:82%;border-radius:13px;padding:10px 12px;background:#f1f3f7;font-size:12px;line-height:1.5}.v814-support-msg.mine{margin-left:auto;background:#6750d7;color:#fff}.v814-support-msg small{display:block;margin-top:5px;font-size:9px;opacity:.72}.v814-review-hero{display:grid;grid-template-columns:180px 1fr;gap:14px;margin-bottom:16px}.v814-review-score,.v814-review-breakdown{border:1px solid #e1e5eb;background:#fff;border-radius:16px;padding:18px}.v814-review-score{display:grid;place-items:center;text-align:center}.v814-review-score strong{font-size:42px;color:#263149;line-height:1}.v814-stars{color:#d99a25;letter-spacing:2px;margin-top:7px}.v814-live-review-list{display:grid;gap:12px}.v814-live-review{border:1px solid #e1e5eb;background:#fff;border-radius:16px;padding:17px}.v814-live-review h3{margin:10px 0 5px}.v814-review-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.v814-review-head strong,.v814-review-head small{display:block}.v814-review-head small{color:#7d889a;margin-top:3px}.v814-admin-cleanup{margin:16px 0}.v814-cleanup-row{display:grid;grid-template-columns:minmax(0,1.5fr) 1fr 1fr auto;gap:10px;align-items:center;border-top:1px solid #edf0f4;padding:12px 0}.v814-cleanup-row:first-of-type{border-top:0}.v814-direct-badge{display:inline-flex;padding:5px 8px;border-radius:999px;background:#ece8ff;color:#5e49cd;font-size:9px;font-weight:900}.v814-explore-direct-note{border:1px solid #d9d1ff;background:#faf8ff;border-radius:12px;padding:11px 12px;font-size:11px;line-height:1.5;color:#615c75;margin:10px 0}.v814-showcase-shortcut{margin-top:14px;border:1px solid #ddd6ff;background:#faf8ff;border-radius:14px;padding:14px;display:flex;justify-content:space-between;gap:12px;align-items:center}.v814-admin-support-layout{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(0,1.2fr);gap:14px}.v814-admin-ticket-list{display:grid;gap:8px;max-height:520px;overflow:auto}.v814-admin-ticket{border:1px solid #dfe4eb;background:#fff;border-radius:12px;padding:11px;text-align:left;cursor:pointer}.v814-admin-ticket.active{border-color:#c8c0ff;background:#faf8ff}.v814-admin-thread{border:1px solid #dfe4eb;background:#fff;border-radius:14px;padding:14px}.v814-admin-msg{max-width:82%;padding:9px 11px;border-radius:12px;background:#f0f2f6;margin:7px 0;font-size:11px;line-height:1.45}.v814-admin-msg.admin{margin-left:auto;background:#29344b;color:#fff}
@media(max-width:900px){.v814-business-support,.v814-admin-support-layout{grid-template-columns:1fr}.v814-review-hero{grid-template-columns:1fr}.v814-cleanup-row{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.v814-cleanup-row{grid-template-columns:1fr}}

/* ===== buildLinkV8016LiveAdminStyles ===== */
.v816-inbox-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:14px}
.v816-ticket-list,.v816-thread,.v816-business-list-card,.v816-business-detail-card{
  border:1px solid #dfe6e1;background:#fff;border-radius:15px
}
.v816-ticket-list{overflow:hidden}
.v816-ticket{
  width:100%;border:0;border-bottom:1px solid #edf0ee;background:#fff;
  padding:13px;text-align:left;font:inherit;color:inherit;cursor:pointer
}
.v816-ticket:last-child{border-bottom:0}
.v816-ticket.active{background:#f4f8f5}
.v816-ticket strong,.v816-ticket small{display:block}
.v816-ticket strong{font-size:12px}
.v816-ticket small{font-size:9px;color:#748178;margin-top:4px;line-height:1.4}
.v816-thread{padding:17px;min-height:370px}
.v816-thread-feed{display:grid;gap:8px;max-height:450px;overflow:auto;margin:14px 0}
.v816-thread-msg{max-width:82%;padding:10px 12px;border-radius:12px;background:#f1f4f2;font-size:12px;line-height:1.5}
.v816-thread-msg.admin{margin-left:auto;background:#1c3b2b;color:#fff}
.v816-thread-msg small{display:block;margin-top:5px;font-size:8px;opacity:.7}
.v816-empty{border:1px dashed #d6ddd8;border-radius:15px;padding:32px;text-align:center;color:#718077;background:#fbfcfb}

.v816-business-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.v816-business-list-card{
  padding:16px;text-align:left;font:inherit;color:inherit;cursor:pointer;
  box-shadow:0 4px 14px rgba(22,54,36,.035)
}
button.v816-business-list-card:hover{border-color:#aabdb1;transform:translateY(-1px)}
.v816-business-head{display:flex;gap:11px;align-items:center}
.v816-business-logo{
  width:44px;height:44px;border-radius:12px;background:#e9f1ec;color:#28523a;
  display:grid;place-items:center;overflow:hidden;font-weight:900;flex:none
}
.v816-business-logo img{width:100%;height:100%;object-fit:contain}
.v816-business-head strong,.v816-business-head small{display:block}
.v816-business-head small{font-size:9px;color:#748178;margin-top:3px}
.v816-business-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}
.v816-business-metrics>div{border:1px solid #e8ece9;background:#f8faf9;border-radius:10px;padding:9px}
.v816-business-metrics span,.v816-business-metrics strong{display:block}
.v816-business-metrics span{font-size:8px;color:#7f8c84}
.v816-business-metrics strong{font-size:13px;margin-top:3px}
.v816-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}
.v816-detail-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:14px}
.v816-business-detail-card{padding:17px}
.v816-profile-preview{padding:0;overflow:hidden}
.v816-cover{
  height:145px;background:linear-gradient(135deg,#e5ebe7,#f3f6f4);
  background-size:cover;background-position:center
}
.v816-profile-main{padding:0 18px 18px}
.v816-profile-logo{
  width:76px;height:76px;border-radius:17px;border:4px solid #fff;background:#e9f1ec;
  color:#28523a;display:grid;place-items:center;overflow:hidden;margin-top:-38px;font-weight:900
}
.v816-profile-logo img{width:100%;height:100%;object-fit:contain}
.v816-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}
.v816-tags span{font-size:9px;border-radius:999px;background:#e9f1ec;color:#28523a;padding:5px 8px;font-weight:800}
.v816-job-list{display:grid;gap:9px;margin-top:12px}
.v816-job-row{
  border:1px solid #e3e9e5;border-radius:12px;padding:12px;
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center
}
.v816-job-row strong,.v816-job-row small{display:block}
.v816-job-row small{font-size:9px;color:#748178;margin-top:3px}
.v816-job-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.v816-protected{font-size:9px;font-weight:800;border-radius:999px;background:#f0f3f1;color:#6d7871;padding:6px 8px}
.v816-danger{border-color:#e7b9b9!important;background:#fff3f3!important;color:#a23c3c!important}
@media(max-width:900px){
  .v816-inbox-layout,.v816-detail-grid{grid-template-columns:1fr}
  .v816-business-grid{grid-template-columns:1fr}
}
@media(max-width:620px){
  .v816-job-row{grid-template-columns:1fr}
  .v816-job-actions{justify-content:flex-start}
}

/* ===== buildLinkV8018OrphanProposalStyles ===== */
.v818-proposal-row{
  border:1px solid #eadfbd;
  background:#fffdf6;
  border-radius:12px;
  padding:12px;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
}
.v818-proposal-row strong,.v818-proposal-row small{display:block}
.v818-proposal-row small{font-size:9px;color:#7d7869;margin-top:3px}
.v818-proposal-note{
  font-size:9px;
  color:#8b7350;
  margin-top:6px;
  line-height:1.45
}
.v818-proposal-list{display:grid;gap:9px;margin-top:12px}
.v818-warn-pill{
  display:inline-flex;
  border-radius:999px;
  padding:6px 8px;
  background:#fff3d6;
  color:#8b6518;
  font-size:9px;
  font-weight:850
}
@media(max-width:620px){
  .v818-proposal-row{grid-template-columns:1fr}
}

/* ===== buildLinkV8022ThirtyDayRemovalStyles ===== */
#v822ActiveJobsShell{display:grid;gap:16px}
.v822-active-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}
.v822-active-head h1{margin:5px 0 4px}
.v822-active-tabs{
  display:flex;gap:8px;flex-wrap:wrap;
  border-bottom:1px solid #e4e9e6;padding-bottom:10px
}
.v822-active-tabs button{
  border:1px solid #dfe6e1;background:#fff;color:#516158;
  border-radius:999px;padding:9px 13px;font:inherit;font-size:12px;font-weight:850;cursor:pointer
}
.v822-active-tabs button.active{background:#173d2b;color:#fff;border-color:#173d2b}
.v822-count{
  display:inline-flex;min-width:22px;height:22px;align-items:center;justify-content:center;
  border-radius:999px;background:#eef3ef;color:#385343;font-size:10px;margin-left:5px;padding:0 6px
}
.v822-active-tabs button.active .v822-count{background:rgba(255,255,255,.16);color:#fff}
.v822-job-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.v822-job-card{
  border:1px solid #dfe6e1;background:#fff;border-radius:18px;padding:17px;
  box-shadow:0 5px 18px rgba(25,55,37,.035)
}
.v822-job-card h3{margin:9px 0 4px}
.v822-job-card p{margin:0;color:#718078;font-size:12px}
.v822-job-top{display:flex;justify-content:space-between;gap:10px;align-items:center}
.v822-pill{
  display:inline-flex;border-radius:999px;padding:6px 9px;background:#e9f3ec;color:#2c5b3e;
  font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em
}
.v822-pill.warn{background:#fff1d8;color:#80601b}
.v822-pill.removal{background:#fff0e5;color:#8c4d25}
.v822-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px}
.v822-meta>div{border:1px solid #e9eeeb;background:#f9fbfa;border-radius:11px;padding:10px}
.v822-meta span,.v822-meta strong{display:block}
.v822-meta span{font-size:8px;color:#7d8982;text-transform:uppercase;letter-spacing:.05em;font-weight:800}
.v822-meta strong{font-size:12px;margin-top:3px}
.v822-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
.v822-actions .btn{margin:0}
.v822-move{
  border-color:#e2c9a3!important;background:#fff9ee!important;color:#795319!important
}
.v822-removal-card{border-color:#ead6bd;background:#fffdf9}
.v822-countdown{
  margin-top:12px;border:1px solid #eadbc8;background:#fff8ef;border-radius:12px;padding:11px
}
.v822-countdown strong{display:block;color:#744a1d}
.v822-countdown small{display:block;color:#8b735a;margin-top:3px;line-height:1.45}
.v822-empty{
  border:1px dashed #d6ded9;border-radius:16px;background:#fafcfb;
  padding:34px 20px;text-align:center;color:#728078
}
.v822-note{
  border:1px solid #dfe8e2;background:#f7faf8;border-radius:13px;padding:12px 13px;
  color:#617067;font-size:11px;line-height:1.5
}
.v822-note strong{color:#31483a}
.v822-admin-queue{font-size:9px;color:#8a6335;margin-top:4px}
@media(max-width:760px){.v822-job-grid{grid-template-columns:1fr}.v822-active-head{display:grid}}

/* ===== buildLinkV8023ProjectPaymentStyles ===== */
#clientProjectV12.v812-live .v823-project-pay{
  margin-top:14px;
  border:1px solid #ddd6ff;
  background:#faf9ff;
  border-radius:14px;
  padding:13px;
}
#clientProjectV12.v812-live .v823-project-pay-head{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
#clientProjectV12.v812-live .v823-project-pay-head strong,
#clientProjectV12.v812-live .v823-project-pay-head small{display:block}
#clientProjectV12.v812-live .v823-project-pay-head small{
  margin-top:3px;
  color:#7e8798;
  line-height:1.45;
}
#clientProjectV12.v812-live .v823-pay-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:11px;
}
#clientProjectV12.v812-live .v823-pay-actions .btn{
  width:100%;
  margin:0;
}
#clientProjectV12.v812-live .v823-secure{
  margin-top:8px;
  font-size:9px;
  color:#7e8798;
  text-align:center;
}
#clientProjectV12.v812-live .v823-paid-box{
  margin-top:14px;
  border:1px solid #cfe7d8;
  background:#f5fbf7;
  border-radius:14px;
  padding:13px;
}
@media(max-width:620px){
  #clientProjectV12.v812-live .v823-pay-actions{grid-template-columns:1fr}
}

/* ===== buildLinkV8024NotificationStyles ===== */
.business-v13-nav [data-v13-nav]{position:relative}
.v824-nav-badge{
  display:none;
  min-width:19px;height:19px;
  padding:0 5px;
  border-radius:999px;
  align-items:center;justify-content:center;
  font-size:9px;font-weight:950;
  background:#6a50e8;color:#fff;
  margin-left:6px;
  vertical-align:middle;
}
.v824-nav-badge.show{display:inline-flex}
.v824-job-alert{
  display:inline-flex;
  min-width:22px;height:22px;
  padding:0 7px;
  border-radius:999px;
  align-items:center;justify-content:center;
  font-size:9px;font-weight:950;
  background:#6a50e8;color:#fff;
  margin-left:7px;
}
#v824BusinessToast{
  position:fixed;
  right:18px;
  top:86px;
  z-index:130500;
  width:min(390px,calc(100vw - 28px));
  background:#fff;
  border:1px solid #dcd6ff;
  border-left:5px solid #674fe0;
  border-radius:15px;
  padding:13px 14px;
  box-shadow:0 18px 48px rgba(38,32,80,.18);
  transform:translateY(-14px);
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
}
#v824BusinessToast.show{
  transform:translateY(0);
  opacity:1;
  pointer-events:auto;
  cursor:pointer;
}
#v824BusinessToast strong,
#v824BusinessToast span{display:block}
#v824BusinessToast strong{font-size:13px;color:#30394a}
#v824BusinessToast span{font-size:11px;color:#707b8c;margin-top:4px;line-height:1.45}
#v824BusinessToast small{display:block;font-size:9px;color:#8b94a3;margin-top:7px}
.v824-panel-note{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:9px;
  font-weight:850;
  color:#654fce;
}
@media(max-width:620px){
  #v824BusinessToast{right:10px;top:74px;width:calc(100vw - 20px)}
}

/* ===== buildLinkV8025NotificationMarkerStyles ===== */
body.client-v68-projects-mode .v68-project-card:has(.v825-project-unread){
  border-color:#d8d0ff!important;
  box-shadow:0 8px 28px rgba(94,72,210,.10)!important;
}
body.client-v68-projects-mode .v825-project-unread{
  display:inline-flex!important;
  align-items:center;
  gap:5px;
  width:max-content;
  max-width:100%;
  margin-top:10px!important;
  padding:6px 9px!important;
  border-radius:999px!important;
  background:#f0edff!important;
  color:#5c45cc!important;
  font-size:10px!important;
  font-weight:850!important;
}
body.client-v68-projects-mode .v825-project-unread b{
  display:inline-grid;
  place-items:center;
  min-width:19px;
  height:19px;
  padding:0 5px;
  border-radius:999px;
  background:#674fe0;
  color:#fff;
  font-size:9px;
}

/* ===== buildLinkV8026CompletedJobStyles ===== */
.v822-job-card.v826-completed-card{
  border-color:#d7e7dc;
  background:#fbfdfb;
}
.v822-pill.completed{
  background:#e8f4ec;
  color:#285d3d;
}
.v826-completed-note{
  margin-top:12px;
  border:1px solid #dbe9df;
  background:#f6fbf7;
  border-radius:12px;
  padding:11px;
  color:#5e6f64;
  font-size:10px;
  line-height:1.5;
}
.v826-completed-note strong{
  color:#2f563c;
}

/* ===== buildLinkV81Stage1Styles ===== */
#clientPostV6 .v81-stage1-section{margin-top:16px}
#clientPostV6 .v81-stage1-label{
  display:block;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;
  color:#6d7788;margin:0 0 8px
}
#clientPostV6 .v81-stage1-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px
}
#clientPostV6 .v81-stage1-choice{
  text-align:left;border:1px solid #e1e5eb;background:#fff;border-radius:13px;padding:11px 12px;
  cursor:pointer;font:inherit;color:#354157;min-height:62px
}
#clientPostV6 .v81-stage1-choice strong,#clientPostV6 .v81-stage1-choice span{display:block}
#clientPostV6 .v81-stage1-choice strong{font-size:11px}
#clientPostV6 .v81-stage1-choice span{font-size:9px;color:#7c8798;margin-top:4px;line-height:1.35}
#clientPostV6 .v81-stage1-choice:hover{border-color:#bdb3f3;background:#fcfbff}
#clientPostV6 .v81-stage1-choice.selected{
  border:2px solid #7457ff;background:#f7f5ff;color:#5e46d5;padding:10px 11px
}
#clientPostV6 .v81-stage1-select{
  width:100%;border:1px solid #dfe4ea;background:#fff;border-radius:12px;padding:11px 12px;
  font:inherit;color:#3b4659
}
#clientPostV6 .v81-stage1-note{
  margin-top:13px;border:1px solid #e6e2ff;background:#faf9ff;border-radius:12px;padding:10px 11px;
  color:#6d7182;font-size:9px;line-height:1.5
}
#clientPostV6 .v81-qualification-block{
  border:1px solid #e2e7e4;background:#fbfcfb;border-radius:15px;padding:14px;margin-top:14px
}
#clientPostV6 .v81-qualification-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px
}
#clientPostV6 .v81-qualification-grid label{
  display:block;font-size:10px;font-weight:850;color:#48564e
}
#clientPostV6 .v81-qualification-grid select,
#clientPostV6 .v81-qualification-grid input{
  width:100%;margin-top:6px
}
#clientPostV6 .v81-digital-fulfillment{
  margin-top:6px;border:1px solid #dfe5e1;border-radius:10px;background:#fff;padding:10px 11px;
  font-size:10px;color:#4d5f54;font-weight:800
}
#v81BusinessMaterials{display:grid;gap:12px}
.v81-business-material-group{
  border:1px solid #e2e7e4;background:#fbfcfb;border-radius:13px;padding:12px
}
.v81-business-material-group h4{margin:0 0 8px;font-size:11px}
.v81-business-material-options{display:flex;gap:7px;flex-wrap:wrap}
.v81-business-material{
  border:1px solid #dde4df;background:#fff;border-radius:999px;padding:7px 10px;
  font:inherit;font-size:9px;font-weight:850;color:#56645b;cursor:pointer
}
.v81-business-material.selected{background:#edf6f0;border-color:#a9ccb5;color:#2c6742}
.v81-business-material:disabled{opacity:.55;cursor:wait}
.v81-no-materials{
  border:1px dashed #d7dfda;border-radius:12px;padding:14px;color:#718078;background:#fafcfb;
  font-size:10px;line-height:1.45
}
@media(max-width:640px){
  #clientPostV6 .v81-stage1-grid,#clientPostV6 .v81-qualification-grid{grid-template-columns:1fr}
}

/* ===== V82 Phase 2: rollout + ZIP coverage ===== */
.v82-coverage-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
.v82-coverage-grid label{display:grid;gap:5px}
.v82-coverage-help{
  margin-top:8px;padding:9px 10px;border:1px solid #e1e7e3;background:#f8faf9;
  border-radius:10px;color:#69756d;font-size:10px;line-height:1.45
}
.v82-admin-category{
  border:1px solid #e3e7e4;border-radius:14px;background:#fff;overflow:hidden;margin-bottom:10px
}
.v82-admin-category-head{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;
  padding:12px 13px
}
.v82-admin-category-head button{
  border:0;background:transparent;font:inherit;color:inherit;text-align:left;cursor:pointer;padding:0
}
.v82-admin-category-head small{display:block;margin-top:4px;color:#7b867e}
.v82-admin-subcategories{
  display:none;border-top:1px solid #edf0ee;background:#fafcfb;padding:7px 12px
}
.v82-admin-category.open .v82-admin-subcategories{display:block}
.v82-admin-sub-row{
  display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;
  padding:8px 2px;border-bottom:1px solid #edf0ee
}
.v82-admin-sub-row:last-child{border-bottom:0}
.v82-admin-sub-row small{display:block;color:#7d8880;margin-top:3px}
.v82-coverage-pill{
  display:inline-flex;align-items:center;border-radius:999px;padding:4px 7px;margin-left:6px;
  background:#edf6f0;color:#356348;font-size:8px;font-weight:900;text-transform:uppercase
}
.v82-coverage-pill.none{background:#f5f1ec;color:#8a6841}
.v82-rollout-chevron{font-size:15px;color:#77827b;min-width:20px;text-align:center}
.v81-stage1-choice{position:relative;overflow:hidden}
.v82-sub-coming-ribbon{
  position:absolute;top:9px;right:-35px;transform:rotate(35deg);background:#f2a93b;color:#fff;
  font-size:7px;font-weight:950;letter-spacing:.07em;padding:4px 36px;box-shadow:0 2px 6px rgba(0,0,0,.08)
}
.v82-local-zip{
  grid-column:1 / -1;border:1px solid #e2e7e4;background:#f9fbfa;border-radius:12px;padding:11px
}
.v82-local-zip label{display:grid;gap:5px;font-weight:800}
.v82-local-zip input{max-width:220px}
.v82-local-status{margin-top:7px;font-size:10px;line-height:1.45;color:#6f7a73}
.v82-local-status.good{color:#2f6d47;font-weight:750}
.v82-local-status.bad{color:#9a5739;font-weight:750}
.v82-local-status.checking{color:#6a50d8}
.v82-local-summary{
  grid-column:1 / -1;border:1px solid #e0e6e2;background:#fafcfb;border-radius:10px;
  padding:9px 10px;color:#68746d;font-size:10px;line-height:1.45
}
@media(max-width:720px){
  .v82-coverage-grid,.v82-admin-category-head,.v82-admin-sub-row{grid-template-columns:1fr}
}


/* ===== V83 fair-opportunity algorithm ===== */
.v83-admin-algo{display:grid;gap:9px}
.v83-admin-weight-total{font-size:10px;color:#667169;margin:2px 0}
.v83-admin-wave-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:7px}
.v83-admin-principles{display:flex;gap:7px;flex-wrap:wrap;margin-top:5px}
.v83-admin-principles span{
  display:inline-flex;padding:5px 8px;border:1px solid #dfe7e2;background:#f8fbf9;
  border-radius:999px;font-size:9px;font-weight:850;color:#405a49
}
.v83-audit-note{
  margin:11px 0;padding:10px 11px;border:1px solid #ddd6ff;background:#faf9ff;
  border-radius:11px;font-size:10px;line-height:1.5;color:#63598d
}
.v83-score-grid{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}
.v83-score-grid span{
  border:1px solid #e2e7e4;background:#f9fbfa;border-radius:999px;padding:4px 7px;
  font-size:8px;font-weight:850;color:#657168
}
.v83-excluded{border-left:3px solid #d8b9a8}
@media(max-width:720px){.v83-admin-wave-grid{grid-template-columns:1fr}}


/* ===== V84 Business Enforcement ===== */
.v84-status{
  display:inline-flex;width:max-content;align-items:center;justify-content:center;
  border-radius:999px;padding:4px 8px;margin-top:5px;font-size:8px;font-weight:950;
  text-transform:uppercase;letter-spacing:.05em;background:#eaf4ed;color:#2f6844
}
.v84-status.suspended{background:#fff2d8;color:#855e16}
.v84-status.removed{background:#f0f1f2;color:#656d73}
.v84-status.blacklisted{background:#fee8e7;color:#9b3732}
.v84-status.active{background:#eaf4ed;color:#2f6844}
.v84-warning{
  margin-top:8px;padding:9px 10px;border:1px solid #ead8b7;background:#fff9ee;
  border-radius:10px;color:#725626;font-size:9px;line-height:1.45
}
.v84-current-reason{
  margin-top:8px;padding:8px 9px;border:1px solid #e3e7e4;background:#f9fbfa;
  border-radius:9px;font-size:9px;color:#667168
}
.v84-control-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}
.v84-control-actions .v58-btn{margin:0}
.v84-remove{border-color:#d7b48d!important;background:#fff8ef!important;color:#784c1c!important}
.v84-blacklist{border-color:#e6a8a5!important;background:#fff2f1!important;color:#922f2a!important}
.v84-restore{border-color:#afd5ba!important;background:#f3faf5!important;color:#2c6940!important}
.v84-account-note{
  margin-top:10px;padding-top:9px;border-top:1px solid #edf0ee;
  color:#707a73;font-size:9px;line-height:1.5
}


/* ===== Commonhand V86 Customer Billing ===== */
#v86CustomerBillingRoot{display:grid;gap:18px}
.v86-billing-loading{
  display:flex;align-items:center;gap:12px;border:1px solid #e2e7e4;background:#fff;
  border-radius:15px;padding:18px;color:#56645c
}
.v86-billing-loading strong,.v86-billing-loading span{display:block}
.v86-billing-loading span{font-size:10px;color:#829087;margin-top:3px}
.v86-loading-dot{width:12px;height:12px;border:2px solid #d7dfda;border-top-color:#5b6f62;border-radius:50%;animation:v86spin .8s linear infinite}
@keyframes v86spin{to{transform:rotate(360deg)}}
.v86-billing-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.v86-money-card{border:1px solid #e1e6e2;background:#fff;border-radius:15px;padding:15px}
.v86-money-card.due{border-color:#d9c9ab;background:#fffdf8}
.v86-money-card span,.v86-money-card small{display:block}
.v86-money-card span{font-size:9px;font-weight:850;color:#78857c;text-transform:uppercase;letter-spacing:.04em}
.v86-money-card strong{display:block;font-size:24px;color:#26352d;margin:7px 0 3px}
.v86-money-card small{font-size:9px;color:#87938b}
.v86-billing-empty{
  display:flex;gap:16px;align-items:center;border:1px solid #dfe6e1;background:#f9fcfa;
  border-radius:16px;padding:20px
}
.v86-empty-icon{width:45px;height:45px;border-radius:14px;background:#e8f2eb;display:grid;place-items:center;font-weight:950;color:#45614e}
.v86-billing-empty h2{margin:4px 0;font-size:20px}.v86-billing-empty p{margin:0;color:#738077;font-size:11px}
.v86-billing-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(270px,.65fr);gap:18px;align-items:start}
.v86-billing-layout main,.v86-billing-sidebar{display:grid;gap:16px}
.v86-billing-section{padding:16px}
.v86-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}
.v86-section-head h2{margin:4px 0 0;font-size:18px;color:#29372f}
.v86-section-head p{margin:4px 0 0;font-size:10px;color:#7e8a82}
.v86-count-pill{border-radius:999px;padding:5px 8px;background:#eef2ef;color:#6d7871;font-size:8px;font-weight:900;text-transform:uppercase}
.v86-count-pill.attention{background:#fff2d9;color:#815c17}
.v86-due-list{display:grid;border-top:1px solid #edf0ee}
.v86-due-row{display:grid;grid-template-columns:minmax(170px,1.2fr) minmax(130px,.9fr) 95px auto;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #edf0ee}
.v86-due-main strong,.v86-due-main span{display:block}.v86-due-main strong{font-size:11px;color:#314037}.v86-due-main span{font-size:9px;color:#7e8a82;margin-top:3px}
.v86-due-progress span{display:block;font-size:8px;color:#7f8a83;margin-bottom:5px}
.v86-due-progress>div{height:5px;background:#edf1ee;border-radius:99px;overflow:hidden}.v86-due-progress i{display:block;height:100%;background:#6e8c76;border-radius:99px}
.v86-due-amount span,.v86-due-amount strong{display:block;text-align:right}.v86-due-amount span{font-size:8px;color:#818d85}.v86-due-amount strong{font-size:14px;margin-top:3px;color:#28382f}
.v86-row-actions{display:flex;gap:6px;justify-content:flex-end}
.v86-section-empty{display:grid;gap:4px;padding:18px;border:1px dashed #dfe5e1;border-radius:12px;background:#fbfcfb}
.v86-section-empty strong{font-size:11px;color:#4c5c52}.v86-section-empty span{font-size:9px;color:#879289}
.v86-receipt-empty{display:flex;align-items:center;gap:12px;border:1px dashed #dfe5e1;border-radius:12px;padding:18px;background:#fbfcfb}
.v86-receipt-paper{width:38px;height:44px;border:1px solid #dce3de;border-radius:7px;background:#fff;display:grid;place-items:center;color:#718078;font-size:18px}
.v86-receipt-empty strong,.v86-receipt-empty span{display:block}.v86-receipt-empty strong{font-size:11px;color:#4c5c52}.v86-receipt-empty span{font-size:9px;color:#879289;margin-top:3px}
.v86-receipt-table{border:1px solid #e4e8e5;border-radius:12px;overflow:hidden}
.v86-receipt-head,.v86-receipt-row{display:grid;grid-template-columns:1fr 1.5fr .8fr .75fr .8fr;gap:9px;align-items:center}
.v86-receipt-head{padding:9px 11px;background:#f7f9f8;font-size:8px;font-weight:900;color:#79857d;text-transform:uppercase}
.v86-receipt-row{width:100%;border:0;border-top:1px solid #edf0ee;background:#fff;padding:11px;text-align:left;font:inherit;color:#55635a;cursor:pointer}
.v86-receipt-row:hover{background:#fbfdfc}
.v86-receipt-row strong,.v86-receipt-row small{display:block}.v86-receipt-row strong{font-size:10px;color:#334239}.v86-receipt-row small{font-size:8px;color:#8a958d;margin-top:2px}
.v86-receipt-link{text-align:right;font-size:9px;font-weight:850;color:#556c5d}
.v86-history-list{display:grid}
.v86-history-row{display:grid;grid-template-columns:minmax(180px,1.4fr) .7fr .7fr .7fr auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid #edf0ee}
.v86-history-row:first-child{border-top:0}
.v86-history-row>div strong,.v86-history-row>div span{display:block}.v86-history-row>div strong{font-size:10px;color:#35443b}.v86-history-row>div span{font-size:8px;color:#869189;margin-bottom:2px}
.v86-history-row.refund{grid-template-columns:minmax(180px,1fr) auto}
.v86-paid-pill{border-radius:999px;padding:4px 7px;background:#eaf5ed;color:#38714a;font-size:8px;font-weight:900}
.v86-billing-sidebar .business-v13-card{padding:15px}
.v86-billing-sidebar h3{margin:5px 0 7px;color:#314037}
.v86-security-line{display:flex;gap:9px;padding:10px;border:1px solid #dfe8e2;background:#f7fbf8;border-radius:10px;margin-top:11px}
.v86-security-line>span{width:22px;height:22px;border-radius:50%;background:#e5f2e8;color:#357146;display:grid;place-items:center;font-weight:950;flex:none}
.v86-security-line strong,.v86-security-line small{display:block}.v86-security-line strong{font-size:9px}.v86-security-line small{font-size:8px;color:#7b8880;margin-top:3px;line-height:1.4}
.v86-fee-note{display:grid;gap:3px;border-top:1px solid #edf0ee;padding-top:10px;margin-top:10px}.v86-fee-note strong{font-size:9px}.v86-fee-note span{font-size:8px;color:#7e8a82;line-height:1.45}
.v86-billing-error{display:grid;gap:7px;border:1px solid #efd1cf;background:#fff8f7;border-radius:14px;padding:18px;color:#88463f}.v86-billing-error span{font-size:10px}
@media(max-width:930px){
  .v86-billing-metrics{grid-template-columns:1fr 1fr}
  .v86-billing-layout{grid-template-columns:1fr}
}
@media(max-width:720px){
  .v86-due-row{grid-template-columns:1fr 1fr}
  .v86-due-main{grid-column:1 / -1}
  .v86-row-actions{grid-column:1 / -1;justify-content:flex-start}
  .v86-receipt-head{display:none}
  .v86-receipt-row{grid-template-columns:1fr 1fr}
  .v86-receipt-link{text-align:left}
  .v86-history-row{grid-template-columns:1fr 1fr}
  .v86-history-row>div:first-child{grid-column:1 / -1}
}
@media(max-width:500px){
  .v86-billing-metrics{grid-template-columns:1fr}
  .v86-due-row,.v86-receipt-row,.v86-history-row{grid-template-columns:1fr}
  .v86-due-main,.v86-row-actions,.v86-history-row>div:first-child{grid-column:auto}
  .v86-due-amount span,.v86-due-amount strong{text-align:left}
}


/* ===== Commonhand V86.1 — wider Stage 1 category layout ===== */
/* Widen only the category-specific Stage 1 screen instead of stretching
   the rest of the Start Project wizard. */
#clientPostV6 .post-v6:has([data-post-v6-step="2"].active){
  max-width:1180px;
}

/* The old .post-v8-material-grid is a 3-column wrapper. V81 inserts whole
   Stage-1 sections into it, so each section must span the wrapper instead
   of getting squeezed into a single third of the page. */
#clientPostV6 #postV8Materials > .v81-stage1-section{
  grid-column:1 / -1;
  width:100%;
}

/* Make project-type choices read left-to-right across the page. */
#clientPostV6 .v81-stage1-grid{
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}

/* Larger, more useful choice cards. */
#clientPostV6 .v81-stage1-choice{
  min-height:108px;
  padding:16px 16px;
  border-radius:16px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

#clientPostV6 .v81-stage1-choice.selected{
  padding:15px 15px;
}

#clientPostV6 .v81-stage1-choice strong{
  font-size:14px;
  line-height:1.25;
}

#clientPostV6 .v81-stage1-choice span{
  font-size:11px;
  line-height:1.42;
  margin-top:7px;
}

/* Give supporting dropdowns room without making them ridiculously long. */
#clientPostV6 .v81-stage1-section:has(.v81-stage1-select){
  max-width:560px;
}

#clientPostV6 .v81-stage1-select{
  min-height:48px;
  font-size:13px;
  padding:12px 14px;
}

/* Make the helper note breathe at the wider desktop size. */
#clientPostV6 [data-post-v6-step="2"].active .post-v6-tip{
  margin-top:18px;
  padding:15px 16px;
  font-size:13px;
}

/* Responsive fallbacks */
@media(max-width:1120px){
  #clientPostV6 .post-v6:has([data-post-v6-step="2"].active){
    max-width:980px;
  }
  #clientPostV6 .v81-stage1-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}

@media(max-width:860px){
  #clientPostV6 .v81-stage1-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #clientPostV6 .v81-stage1-choice{
    min-height:96px;
  }
  #clientPostV6 .v81-stage1-section:has(.v81-stage1-select){
    max-width:none;
  }
}

@media(max-width:560px){
  #clientPostV6 .v81-stage1-grid{
    grid-template-columns:1fr;
  }
  #clientPostV6 .v81-stage1-choice{
    min-height:82px;
    padding:14px;
  }
  #clientPostV6 .v81-stage1-choice.selected{
    padding:13px;
  }
}


/* ===== Commonhand V88 Opportunity Email Preferences ===== */
.v88-email-alerts-card .business-v13-copy{margin-bottom:0}
.v88-email-example{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:12px;
  padding:11px 12px;
  border:1px solid #e0e7e2;
  background:#f8fbf9;
  border-radius:11px;
}
.v88-email-example-icon{
  width:30px;height:30px;border-radius:9px;
  display:grid;place-items:center;
  background:#e8f2eb;color:#41624a;
  flex:none;font-size:14px;
}
.v88-email-example strong,.v88-email-example small{display:block}
.v88-email-example strong{font-size:9px;color:#405047}
.v88-email-example small{font-size:8px;color:#79867e;line-height:1.45;margin-top:3px}


/* ===== Commonhand V88.1 Customer Email Preferences ===== */
.v881-customer-account-wrap{
  max-width:980px;
  margin:auto;
  display:grid;
  gap:16px;
}
.v881-customer-email-panel{padding:20px}
.v881-email-pref-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:16px;
}
.v881-email-pref{
  display:flex;
  gap:10px;
  align-items:flex-start;
  border:1px solid #e1e7e3;
  border-radius:12px;
  padding:13px;
  background:#fbfdfc;
  cursor:pointer;
}
.v881-email-pref input{
  margin-top:2px;
  width:16px;
  height:16px;
  flex:none;
}
.v881-email-pref strong,.v881-email-pref small{display:block}
.v881-email-pref strong{font-size:10px;color:#3d4d43}
.v881-email-pref small{font-size:8px;color:#7f8c84;line-height:1.45;margin-top:3px}
.v881-email-security-note{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:13px;
  padding:11px 12px;
  border-radius:11px;
  background:#f3f8f4;
  border:1px solid #dce7df;
}
.v881-email-security-note>span{
  width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;
  background:#e3f0e6;color:#397148;
  font-weight:900;flex:none
}
.v881-email-security-note strong,.v881-email-security-note small{display:block}
.v881-email-security-note strong{font-size:9px;color:#405047}
.v881-email-security-note small{font-size:8px;color:#77857c;line-height:1.45;margin-top:3px}
#v881CustomerEmailStatus{margin-top:9px}
@media(max-width:680px){
  .v881-email-pref-grid{grid-template-columns:1fr}
  .v881-customer-email-panel .between{align-items:flex-start;gap:10px}
}


/* ===== Commonhand V89 Stripe Production Core ===== */
.v89-stripe-connect-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:15px;
  align-items:center;
  border:1px solid #dfe6e1;
  border-radius:16px;
  padding:17px;
  margin-bottom:16px;
  background:#fff;
}
.v89-stripe-connect-card.unconnected{background:#fbfcff;border-color:#dde2ed}
.v89-stripe-connect-card.pending{background:#fffaf1;border-color:#ead9b8}
.v89-stripe-connect-card.ready{background:#f7fbf8;border-color:#d7e6db}
.v89-stripe-icon{
  width:45px;height:45px;border-radius:13px;
  display:grid;place-items:center;
  background:#635bff;color:#fff;font-size:20px;font-weight:950;
}
.v89-stripe-copy h2{font-size:17px;margin:5px 0 5px;color:#2c3b32}
.v89-stripe-copy p{font-size:10px;line-height:1.5;margin:0;color:#748178}
.v89-stripe-copy>small{display:block;margin-top:7px;font-size:9px;color:#8c6a2b}
.v89-stripe-facts{display:flex;gap:6px;flex-wrap:wrap;margin-top:9px}
.v89-stripe-facts span{font-size:8px;font-weight:800;border:1px solid #e0e6e2;background:#fff;border-radius:999px;padding:5px 7px;color:#607067}
@media(max-width:720px){
  .v89-stripe-connect-card{grid-template-columns:auto 1fr}
  .v89-stripe-connect-card>.btn{grid-column:1/-1;width:100%}
}
