:root{color-scheme:light}body.crm,body.foundation-page.leaddock{background:#f6f7f9!important;color:#17201b!important}body.crm input,body.crm select,body.crm textarea,body.foundation-page.leaddock input,body.foundation-page.leaddock select,body.foundation-page.leaddock textarea{background:#fff!important;color:#17201b!important;border-color:#cfd7d2!important}body.crm input::placeholder{color:#8a948e}.ld4-top{height:72px;max-width:1320px;margin:auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e5e2}.ld4-top .brand,.ld4-footer,.ld4-top nav{display:flex;align-items:center}.ld4-top .brand{text-decoration:none}.brand-mark{display:flex;align-items:center;gap:10px}.brand-mark img{width:32px!important;height:32px!important}.brand-mark span{display:grid;line-height:1.1}.brand-mark small{font-size:13px;color:#758078;text-transform:uppercase}.ld4-top nav{gap:4px}.ld4-top nav a{padding:10px 11px;border-radius:10px;text-decoration:none;font-size:13px;color:#4b554f}.ld4-main{max-width:1180px;margin:auto}.ld4-record{min-height:650px;display:grid;grid-template-columns:1fr .92fr;gap:82px;align-items:center}.ld4-intro .eyebrow{color:#d65d21}.ld4-intro h1{font-size:clamp(46px,5.6vw,74px);line-height:1.06;letter-spacing:-.055em;margin:12px 0 22px;max-width:12ch}.ld4-intro>p:not(.eyebrow){font-size:18px;color:#6e7872}.ld4-actions{display:flex;align-items:center;gap:20px;margin-top:28px}.ld4-actions>a:not(.button){font-size:14px;text-decoration:none;color:#4f5a53}.ld4-timeline{background:#fff;border:1px solid #dfe4e1;border-radius:24px;padding:24px;box-shadow:0 30px 80px rgba(31,45,36,.08)}.ld4-person{display:grid;grid-template-columns:48px 1fr;grid-template-rows:auto auto;gap:0 12px;padding-bottom:20px;border-bottom:1px solid #e7ebe8}.ld4-person>span{grid-row:1/3;width:48px;height:48px;border-radius:50%;background:#fff0e7;color:#b84918;display:grid;place-items:center;font-weight:800}.ld4-person b{align-self:end}.ld4-person small{color:#7f8983}.ld4-timeline ol{list-style:none;padding:0;margin:20px 0 0}.ld4-timeline li{position:relative;display:grid;grid-template-columns:66px 1fr;gap:2px 12px;padding:0 0 24px 20px;border-left:2px solid #e9ecea}.ld4-timeline li:before{content:"";position:absolute;left:-6px;top:5px;width:10px;height:10px;border-radius:50%;background:#d65d21;border:3px solid #fff;box-shadow:0 0 0 1px #d65d21}.ld4-timeline time{grid-row:1/3;font-size:13px;color:#8a948e}.ld4-timeline li span{font-size:13px;color:#6f7973}.ld4-band{display:grid;grid-template-columns:auto 1fr 1px auto 1fr 1px auto 1fr;gap:14px;align-items:center;border-top:1px solid #dde3df;border-bottom:1px solid #dde3df;padding:24px 0;margin-bottom:58px}.ld4-band b{font-size:13px}.ld4-band span{font-size:13px;color:#7b857f}.ld4-band i{height:28px;background:#dde3df}.ld4-footer{max-width:1320px;margin:auto;padding:25px 24px;border-top:1px solid #e1e5e2;justify-content:space-between}.ld4-footer nav{display:flex;gap:18px}.ld4-footer a{font-size:13px;color:#778179;text-decoration:none}
/* app */.crm-layout{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;min-height:100vh;background:#f5f7f6}.crm-sidebar{position:sticky!important;top:0;height:100vh!important;padding:16px!important;background:#fff!important;border-right:1px solid #dde4df!important}.crm-sidebar>.brand{display:flex!important;height:52px;align-items:center;text-decoration:none}.workspace-switch{margin:14px 0!important;padding:12px 13px!important;border-radius:12px!important;background:#f7f8f7!important}.workspace-switch span{font-size:13px!important;color:#929b95!important}.workspace-switch b{display:block!important;font-size:13px!important;margin-top:2px!important}.crm-sidebar nav p{font-size:13px!important;font-weight:800!important;color:#a0a7a2!important;margin:18px 10px 6px!important}.crm-sidebar nav button{width:100%!important;border:0!important;background:transparent!important;justify-content:flex-start!important;text-align:left!important;padding:9px 11px!important;border-radius:11px!important;color:#647068!important;display:block!important;min-height:0!important}.crm-sidebar nav button span{display:block!important;font-size:13px!important;font-weight:700!important}.crm-sidebar nav button small{display:block!important;font-size:13px!important;color:#9aa29d!important;margin-top:2px!important}.crm-sidebar nav button.active{background:#fff1e9!important;color:#b94c17!important}.sidebar-bottom{margin-top:auto!important;border-top:1px solid #e5e9e6!important;padding-top:8px!important;display:grid!important}.sidebar-bottom a,.sidebar-bottom button{border:0!important;background:transparent!important;text-align:left!important;justify-content:flex-start!important;color:#7c867f!important;font-size:13px!important;padding:8px!important;min-height:34px!important;text-decoration:none}.crm-main{padding:0 28px 60px!important;min-width:0!important;background:#f5f7f6!important}.workspace-top{padding:24px 0 18px!important;border-bottom:0!important;display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important}.workspace-top h1{font-size:30px!important;margin:2px 0 0!important}.view-description{font-size:13px!important;color:#7b857f!important;margin:4px 0 0!important}.workspace-actions{display:flex!important;gap:8px!important}.crm-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 16px!important}.crm-metrics>*{background:#fff!important;border:1px solid #dde4df!important;border-radius:14px!important;padding:16px!important}.crm-main table,.crm-main .lead-table,.crm-main .pipeline-board,.crm-main .panel{background:#fff!important;border-color:#dde4df!important;border-radius:16px!important;overflow:hidden!important}.crm-main button.primary{background:#d65d21!important;border-color:#d65d21!important;color:#fff!important}.crm-main dialog,.crm dialog{background:#fff!important;color:#17201b!important}.crm dialog input,.crm dialog select,.crm dialog textarea{background:#fff!important;color:#17201b!important}
@media(max-width:900px){.ld4-record{grid-template-columns:1fr;gap:40px;padding:60px 0}.ld4-band{grid-template-columns:1fr 1fr}.ld4-band i{display:none}.crm-layout{display:block!important}.crm-sidebar{position:static!important;height:auto!important}.crm-sidebar nav{display:flex!important;overflow:auto!important;gap:4px!important}.crm-sidebar nav p,.workspace-switch,.sidebar-bottom{display:none!important}.crm-sidebar nav button{min-width:130px!important}.crm-main{padding:0 16px 40px!important}.crm-metrics{grid-template-columns:1fr 1fr!important}}
@media(max-width:640px){.ld4-top,.ld4-footer,.ld4-main{width:min(100% - 28px,1180px);padding-left:0;padding-right:0}.ld4-top nav>a:nth-child(-n+3){display:none}.ld4-intro h1{font-size:44px}.ld4-band{grid-template-columns:1fr}.workspace-top{align-items:flex-start!important;flex-direction:column!important}.crm-metrics{grid-template-columns:1fr!important}}


/* v4.1 app QA */
.crm-main input,.crm-main select,.crm-main textarea,.crm dialog input,.crm dialog select,.crm dialog textarea{background:#fff!important;color:#17201b!important;border:1px solid #cfd7d2!important}
.crm-main button:not(.danger):not(.primary),.crm-main .button{background:#fff!important;color:#26322b!important;border:1px solid #ccd6d0!important}
.crm-main button.primary{background:#c95320!important;color:#fff!important;border-color:#c95320!important}
.crm-main .empty{min-height:220px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:14px;padding:30px!important}
.crm-main .actions{display:flex;gap:8px;flex-wrap:wrap}.crm-main .actions>*{min-height:38px}


.workspace-top h1{display:flex;align-items:center;gap:10px}.workspace-top h1:before{content:"";width:28px;height:28px;flex:none;background:url("/logo.svg") center/contain no-repeat}

/* v5 public continuity */
.crm{overflow-x:hidden}.ld4-footer{min-height:72px;padding-bottom:max(25px,env(safe-area-inset-bottom))}.ld4-top nav a:hover{background:#f0eee9;color:#28312b}.ld4-actions .button.primary:hover{background:#b84f1c!important;border-color:#b84f1c!important;color:#fff!important}

/* v5.1 workflow empty-state + control stability */
.crm-main .empty,.crm-main .empty-centered{min-height:240px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:14px!important;width:100%!important;box-sizing:border-box!important}
.crm-main .empty p,.crm-main .empty-centered p{max-width:540px;margin:0 auto!important;color:#6b7280!important;text-align:center!important}
.crm-main button:not(.danger),.crm-main .button:not(.danger){transition:background-color .15s ease,border-color .15s ease,color .15s ease!important}
.crm-main button:not(.primary):not(.danger),.crm-main .button:not(.primary):not(.danger){background:#fff!important;color:#273444!important;border-color:#cfd8e3!important}
.crm-main button:not(.primary):not(.danger):hover,.crm-main .button:not(.primary):not(.danger):hover{background:#f7f9fb!important;color:#1f2937!important;border-color:#9eacbb!important}
.crm-main .primary:hover{filter:none!important;background:#2f4b3e!important;border-color:#2f4b3e!important;color:#fff!important}
.crm-main input,.crm-main select,.crm-main textarea{background:#fff!important;color:#18212c!important;border-color:#ccd5df!important}

/* phase2 LeadDock workflow QA */
.crm-main .empty,.crm-main .empty-centered{min-height:240px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:14px!important;width:100%!important;box-sizing:border-box!important}
.crm-main .empty p,.crm-main .empty-centered p{max-width:540px;margin:0 auto!important;color:#6b7280!important;text-align:center!important}
.crm-main .empty button,.crm-main .empty .button{align-self:center!important}
.crm-main button:not(.danger),.crm-main .button:not(.danger){transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease!important}
.crm-main button:not(.primary):not(.danger),.crm-main .button:not(.primary):not(.danger){background:#fff!important;color:#273444!important;border-color:#cfd8e3!important}
.crm-main button:not(.primary):not(.danger):hover,.crm-main .button:not(.primary):not(.danger):hover{background:#f7f9fb!important;color:#1f2937!important;border-color:#9eacbb!important}
.crm-main .primary:hover{filter:none!important;background:#2f4b3e!important;border-color:#2f4b3e!important;color:#fff!important}
.crm-main input,.crm-main select,.crm-main textarea{background:#fff!important;color:#18212c!important;border-color:#ccd5df!important}
.crm-main .actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.crm-main .actions>*{max-width:100%}
@media(max-width:720px){.crm-main .empty,.crm-main .empty-centered{min-height:200px!important;padding:24px 16px!important}.crm-main .actions>*{flex:1 1 auto}}

/* v6 LeadDock authoritative */
.ld6-main{width:min(1180px,calc(100% - 48px));margin:auto}.ld6-hero{min-height:610px;display:grid;grid-template-columns:.92fr 1.08fr;gap:72px;align-items:center}.ld6-copy h1{font-size:clamp(48px,6vw,78px);line-height:1.02;letter-spacing:-.055em;max-width:10ch;margin:14px 0 22px}.ld6-copy>p:not(.eyebrow){font-size:18px;color:#67716b;max-width:35ch}.ld6-actions{display:flex;gap:10px;margin-top:28px}.ld6-orbit{position:relative;min-height:420px;border:1px solid #e4ddd4;border-radius:34px;background:radial-gradient(circle at 50% 50%,#fff 0 28%,#fbf4ed 29% 44%,#f7efe7 45% 100%);overflow:hidden}.ld6-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:104px;height:104px;border-radius:50%;display:grid;place-items:center;background:#c95620;color:#fff;font-weight:800;font-size:20px}.ld6-node{position:absolute;padding:10px 16px;border-radius:999px;background:#fff;border:1px solid #ddcfc1;font-size:13px;font-weight:700;box-shadow:0 8px 24px #5e3b2410}.ld6-node.n1{left:12%;top:18%}.ld6-node.n2{right:12%;top:20%}.ld6-node.n3{left:16%;bottom:16%}.ld6-node.n4{right:13%;bottom:18%}.ld6-orbit i{position:absolute;inset:12%;border:1px solid #decdbf;border-radius:50%}.ld6-orbit .c2{inset:25%}.ld6-principles{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #e1ddd7;border-bottom:1px solid #e1ddd7;margin-bottom:64px}.ld6-principles>div{padding:24px}.ld6-principles>div+div{border-left:1px solid #e1ddd7}.ld6-principles b,.ld6-principles span{display:block}.ld6-principles span{font-size:13px;color:#7b817d;margin-top:5px}.workspace-switch{background:#fff7f1!important;color:#6b3015!important;border:1px solid #f0d5c5!important}.workspace-switch span{color:#a56b4e!important}.crm-main .primary:hover{background:#a94217!important;border-color:#a94217!important}.crm-main .empty,.crm-main .empty-centered{text-align:center!important}.crm-main .empty p,.crm-main .empty-centered p{text-align:center!important;margin-left:auto!important;margin-right:auto!important}.crm-sidebar{min-height:100dvh!important;height:100dvh!important}.crm-main{min-height:100dvh!important}.crm-main .table-scroll{max-height:calc(100dvh - 300px)}
@media(max-width:900px){.ld6-hero{grid-template-columns:1fr;gap:34px;padding:56px 0}.ld6-orbit{min-height:330px}.ld6-principles{grid-template-columns:1fr}.ld6-principles>div+div{border-left:0;border-top:1px solid #e1ddd7}.crm-sidebar{min-height:auto!important;height:auto!important}}

/* v6.2 long-page sidebar continuity */
.crm-sidebar{position:sticky!important;top:0!important;align-self:start!important;height:100dvh!important;min-height:100dvh!important;overflow:auto!important}
@media(max-width:900px){.crm-sidebar{position:relative!important;height:auto!important;min-height:auto!important;overflow:visible!important}}


/* v7 public redesign: LeadDock = editorial CRM dossier */
.ld7-public{width:min(1180px,calc(100% - 40px));margin:0 auto;padding:54px 0 68px}.ld7-intro{display:grid;grid-template-columns:160px minmax(0,1fr);gap:38px;padding:42px 0 70px;border-bottom:1px solid #dedfdc}.ld7-kicker{display:flex;flex-direction:column;gap:10px;color:#8b6a59;font-size:13px;font-weight:800;letter-spacing:.12em}.ld7-kicker i{width:1px;height:84px;background:#d6c8bf}.ld7-title h1{font-size:clamp(50px,7vw,86px);line-height:.98;letter-spacing:-.06em;max-width:11ch;margin:0 0 24px}.ld7-title>p{max-width:43ch;font-size:18px;color:#69716c}.ld7-actions{display:flex;gap:14px;align-items:center;margin-top:30px}.ld7-textlink{color:#7b4c35;font-size:14px;text-decoration:none}.ld7-context{display:grid;grid-template-columns:180px 1fr;gap:36px;padding:50px 0}.ld7-rail{display:grid;align-content:start;gap:0;border-left:2px solid #d85f29;padding-left:18px}.ld7-rail b{font-size:14px;margin-bottom:18px}.ld7-rail span{font-size:13px;letter-spacing:.14em;color:#9b867a;padding:8px 0}.ld7-record{background:#fff;border:1px solid #dddeda;border-radius:22px;overflow:hidden;box-shadow:0 28px 70px rgba(64,42,28,.06)}.ld7-record-head{display:grid;grid-template-columns:160px 1fr;padding:20px 24px;border-bottom:1px solid #ebe6e1;background:#fbfaf8}.ld7-record-head span{font-size:13px;color:#a16a4d}.ld7-record-head b{font-size:15px}.ld7-record-body article{display:grid;grid-template-columns:58px 1fr;gap:16px;padding:22px 24px;border-bottom:1px solid #efefec}.ld7-record-body article:last-child{border-bottom:0}.ld7-record-body article>span{font-size:13px;color:#b36541}.ld7-record-body p{margin:4px 0 0;color:#6e7771;font-size:14px}.ld7-bottom{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #dedfdc;border-bottom:1px solid #dedfdc}.ld7-bottom>div{padding:22px}.ld7-bottom>div+div{border-left:1px solid #dedfdc}.ld7-bottom span,.ld7-bottom b{display:block}.ld7-bottom span{font-size:13px;letter-spacing:.12em;color:#9b867a;margin-bottom:5px}.foundation-page.leaddock .feature-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;border-top:1px solid #dddeda!important}.foundation-page.leaddock .feature-grid article{display:grid!important;grid-template-columns:64px 1fr!important;gap:16px!important;padding:26px 8px!important;border:0!important;border-bottom:1px solid #dddeda!important;background:transparent!important;border-radius:0!important}.foundation-page.leaddock .feature-grid article:nth-child(odd){padding-right:30px!important}.foundation-page.leaddock .feature-grid article:nth-child(even){padding-left:30px!important;border-left:1px solid #dddeda!important}.foundation-page.leaddock .feature-grid article>span{color:#c95620!important}.foundation-page.leaddock .plan-grid{grid-template-columns:1fr!important;gap:10px!important}.foundation-page.leaddock .plan-card{display:grid!important;grid-template-columns:170px 1fr 240px!important;align-items:center!important;gap:24px!important;border-radius:14px!important}.foundation-page.leaddock .help-grid article{border-left:3px solid #c95620!important;border-radius:0 14px 14px 0!important}@media(max-width:760px){.ld7-intro,.ld7-context{grid-template-columns:1fr}.ld7-kicker{flex-direction:row;align-items:center}.ld7-kicker i{height:1px;width:70px}.ld7-title h1{font-size:46px}.ld7-bottom{grid-template-columns:1fr 1fr}.foundation-page.leaddock .feature-grid{grid-template-columns:1fr!important}.foundation-page.leaddock .feature-grid article{padding:22px 0!important;border-left:0!important}.foundation-page.leaddock .plan-card{grid-template-columns:1fr!important}}


/* v8B — LeadDock: warm Client 360 workspace */
body.crm{--ld-orange:#d85822;--ld-orange-dark:#b94718;--ld-ink:#202620;--ld-paper:#fffaf6;background:#f4f1ed!important;color:var(--ld-ink)!important}
.crm-layout{grid-template-columns:268px minmax(0,1fr)!important;background:linear-gradient(90deg,#fff 0 268px,#f4f1ed 268px)!important;min-height:100dvh!important;align-items:stretch!important}
.crm-sidebar{height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;background:#fffdfb!important;border-right:1px solid #e7ded7!important;padding:18px 14px!important;display:flex!important;flex-direction:column!important;z-index:5!important}
.crm-sidebar .brand b{color:#202620!important}.crm-sidebar .brand small{color:#8b7e75!important}.workspace-switch{background:#fff1e8!important;border:1px solid #f3d6c5!important;color:#512818!important}.workspace-switch span{color:#a25939!important}.workspace-switch b{color:#512818!important}
.crm-sidebar nav button{border-left:3px solid transparent!important;border-radius:9px!important}.crm-sidebar nav button.active{background:#fff0e6!important;color:#a94016!important;border-left-color:var(--ld-orange)!important}.crm-sidebar nav button.active small{color:#b66f50!important}
.crm-main{background:#f4f1ed!important;padding:0 32px 70px!important}.workspace-top{position:sticky!important;top:0!important;z-index:4!important;background:rgba(244,241,237,.94)!important;backdrop-filter:blur(14px)!important;padding:26px 0 17px!important;border-bottom:1px solid #e8dfd8!important}.workspace-top h1{font-size:28px!important}.workspace-top h1:before{width:26px!important;height:26px!important}
.crm-metrics>*{border-radius:10px!important;box-shadow:none!important;border-color:#e4dcd5!important}.crm-metrics b{font-variant-numeric:tabular-nums!important}.crm-main .crm-panel,.crm-main .analytics-panel,.crm-main table,.crm-main .inbox-list,.crm-main .board{box-shadow:0 10px 28px rgba(69,41,23,.035)!important}
.crm-main button.primary,.crm-main .button.primary{background:var(--ld-orange)!important;border-color:var(--ld-orange)!important;color:#fff!important}.crm-main button.primary:hover,.crm-main .button.primary:hover,.crm-main .primary:hover{background:var(--ld-orange-dark)!important;border-color:var(--ld-orange-dark)!important;color:#fff!important}
.crm-main .empty,.crm-main .empty-centered{background:#fff!important;border:1px dashed #d9c8bd!important;border-radius:14px!important;min-height:260px!important;text-align:center!important}.crm-main .empty>*{margin-left:auto!important;margin-right:auto!important}
.crm-main .table-scroll{border:1px solid #e3d9d2!important;border-radius:12px!important;background:#fff!important;overflow:auto!important}.crm-main thead th{position:sticky!important;top:0!important;background:#fbf7f3!important;z-index:2!important}.crm-main tbody tr:hover{background:#fff8f3!important}
.pagination{display:flex!important;justify-content:center!important;align-items:center!important;gap:10px!important;margin:18px 0!important}
@media(max-width:900px){.crm-layout{display:block!important;background:#f4f1ed!important}.crm-sidebar{height:auto!important;max-height:none!important;position:relative!important;overflow:visible!important}.crm-main{padding:0 16px 48px!important}.workspace-top{position:relative!important}}
\n/* v9 public typography + hero repair */\n.ld7-title h1{font-size:clamp(42px,5.5vw,68px)!important;line-height:1.06!important;letter-spacing:-.05em!important;max-width:16ch!important;text-wrap:balance!important;word-break:keep-all!important;overflow-wrap:normal!important}.ld7-title>p{max-width:46ch!important;font-size:17px!important;line-height:1.72!important;text-wrap:pretty!important;word-break:keep-all!important}.ld7-intro{align-items:end!important}.ld7-context{margin-top:16px!important}.ld7-bottom{margin-bottom:64px!important}@media(max-width:760px){.ld7-title h1{font-size:40px!important;max-width:none!important}.ld7-title>p{font-size:15px!important}.ld7-intro{align-items:start!important}}\n
/* v9 contextual selection actions */
.selection-bar{position:sticky;top:8px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px;padding:10px 12px;border:1px solid color-mix(in srgb,currentColor 14%,transparent);border-radius:10px;background:color-mix(in srgb,#fff 96%,currentColor 4%);box-shadow:0 10px 28px #10203012}.selection-bar[hidden]{display:none!important}.selection-bar .selection-meta{font-size:13px;font-weight:750}.selection-bar .selection-actions{display:flex;gap:6px;flex-wrap:wrap}.selection-check{display:inline-grid;place-items:center;flex:0 0 auto;width:30px;min-width:30px}.selection-check input{width:16px!important;height:16px!important;min-height:0!important;margin:0!important;accent-color:currentColor}.selectable-row,.selectable-card-shell{position:relative}.selectable-row.is-selected,.selectable-card-shell.is-selected{outline:2px solid color-mix(in srgb,currentColor 22%,transparent);outline-offset:-2px}.selectable-card-shell{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:4px}.selectable-card-shell>.selection-check{padding-top:14px}.selectable-card-shell>.site-card{width:100%}@media(max-width:700px){.selection-bar{align-items:flex-start;flex-direction:column}.selection-bar .selection-actions{width:100%}.selection-bar .selection-actions button{flex:1}}

/* v10 — public CRM editorial layout + overflow guard */
body.foundation-page.leaddock{overflow-x:clip!important;background:#f7f5f1!important}
.ld7-public{width:min(1240px,calc(100% - 48px))!important;padding:42px 0 78px!important}
.ld7-intro{grid-template-columns:140px minmax(0,1fr)!important;gap:44px!important;padding:54px 0 64px!important;align-items:start!important}
.ld7-title{min-width:0!important}.ld7-title h1{font-size:clamp(42px,5vw,64px)!important;line-height:1.08!important;max-width:19ch!important;margin-bottom:20px!important}
.ld7-title>p{font-size:17px!important;line-height:1.75!important;max-width:56ch!important}
.ld7-context{grid-template-columns:190px minmax(0,1fr)!important;gap:34px!important}.ld7-record{min-width:0!important}
.ld7-record-body article{grid-template-columns:52px minmax(0,1fr)!important}.ld7-record-body article p{max-width:none!important}
.ld7-bottom>div{min-width:0!important}.ld7-bottom b{font-size:14px!important}
@media(max-width:820px){.ld7-public{width:min(100% - 30px,1240px)!important}.ld7-intro,.ld7-context{grid-template-columns:1fr!important}.ld7-kicker{flex-direction:row!important}.ld7-kicker i{width:64px!important;height:1px!important}.ld7-title h1{font-size:40px!important;max-width:22ch!important}.ld7-bottom{grid-template-columns:1fr 1fr!important}}

/* v10 contextual action toolbar */
.selection-bar{position:sticky!important;top:8px!important;z-index:30!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:0 0 12px!important;padding:9px 11px!important;border:1px solid #c9d4dd!important;border-radius:9px!important;background:#fff!important;box-shadow:0 10px 30px rgba(18,34,50,.08)!important}.selection-bar[hidden]{display:none!important}.selection-meta{font-size:13px!important}.selection-actions{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important}.selection-check{display:inline-grid!important;place-items:center!important;width:30px!important;min-width:30px!important}.selection-check input{width:16px!important;height:16px!important;min-height:0!important;margin:0!important}.selectable-row.is-selected,.selectable-card-shell.is-selected,.note-row.is-selected,.request-item.is-selected,.comment.is-selected{outline:2px solid color-mix(in srgb,var(--sb-accent,#2866ba) 45%,transparent)!important;outline-offset:-2px!important}.detail-selection-bar,.note-selection-bar{position:relative!important;top:auto!important;margin:10px 0!important}
@media(max-width:700px){.selection-bar{align-items:flex-start!important;flex-direction:column!important}.selection-actions{width:100%!important}.selection-actions button{flex:1!important}}

/* v10 secondary pages — CRM dossier */
.leaddock .feature-hero,.leaddock .pricing-hero,.leaddock .help-hero{max-width:900px!important;border-left:4px solid #c95620!important;padding-left:28px!important;margin-bottom:34px!important}.leaddock .feature-grid{display:grid!important;grid-template-columns:1fr!important;gap:0!important;border-top:1px solid #dfd8d0!important}.leaddock .feature-grid article{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:22px!important;padding:24px 0!important;border:0!important;border-bottom:1px solid #dfd8d0!important;border-radius:0!important;background:transparent!important}.leaddock .feature-grid article>span{font:700 13px/1.2 ui-monospace,monospace;color:#a35c39!important}.leaddock .feature-grid h2{margin:0 0 5px!important}.leaddock .plan-grid{display:flex!important;flex-direction:column!important;gap:10px!important}.leaddock .plan-card{display:grid!important;grid-template-columns:minmax(180px,.7fr) minmax(180px,.6fr) minmax(260px,1fr) auto!important;align-items:center!important;gap:18px!important;padding:20px 22px!important;border-radius:10px!important}.leaddock .plan-card header h2{margin:2px 0!important}.leaddock .plan-limit{border-left:1px solid #ded8d1!important;padding-left:18px!important}.leaddock .help-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:14px!important}.leaddock .help-grid article{border-top:3px solid #c95620!important;border-radius:8px!important;background:#fffdf9!important}@media(max-width:760px){.leaddock .plan-card{grid-template-columns:1fr!important}.leaddock .plan-limit{border-left:0!important;padding-left:0!important}.leaddock .help-grid{grid-template-columns:1fr!important}}
.crm-sidebar{height:100dvh!important;min-height:100dvh!important;position:sticky!important;top:0!important;align-self:start!important}.crm-shell{min-height:100dvh!important;background:linear-gradient(90deg,#fff7ed 0 246px,#f7f5f1 246px)!important}

/* v11 route identity — LeadDock: client dossier / CRM ledger */
.foundation-page.leaddock .product-route-leaddock{display:grid;grid-template-columns:190px minmax(0,1fr);column-gap:36px;align-items:start}.foundation-page.leaddock .product-route-leaddock .feature-hero{grid-column:1/-1}.foundation-page.leaddock .ld-route-rail{position:sticky;top:20px;display:grid;gap:2px;padding:8px;border:1px solid #ded6cc;border-radius:10px;background:#efe9e1}.foundation-page.leaddock .ld-route-rail>*{padding:11px 12px;border-radius:7px;font-size:13px;color:#72665a}.foundation-page.leaddock .ld-route-rail b{background:#fff;color:#8a3f1d;box-shadow:0 1px 0 #d8d0c6}.foundation-page.leaddock .ld-route-ledger{border-top:1px solid #d8d0c6}.foundation-page.leaddock .ld-route-row{display:grid;grid-template-columns:48px minmax(0,1fr) 28px;gap:16px;align-items:start;padding:22px 4px;border-bottom:1px solid #ded6cc}.foundation-page.leaddock .ld-route-row>span{font:700 13px/1.2 ui-monospace,monospace;color:#aa6748;padding-top:6px}.foundation-page.leaddock .ld-route-row small{display:block;margin-bottom:5px;color:#9b8d80;font:700 13px/1.2 ui-monospace,monospace;letter-spacing:.1em}.foundation-page.leaddock .ld-route-row h2{font-size:20px;margin:0 0 5px}.foundation-page.leaddock .ld-route-row p{margin:0;color:#6e665e}.foundation-page.leaddock .ld-route-row>b{font-size:18px;color:#bd6a43}.foundation-page.leaddock .auth-product-proof{list-style:none;margin:28px 0;padding:0;border-top:1px solid #dfd5cb}.foundation-page.leaddock .auth-product-proof li{display:grid;grid-template-columns:116px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #e6ddd4}.foundation-page.leaddock .auth-product-proof b{font-size:13px;color:#8e4928}.foundation-page.leaddock .auth-product-proof span{font-size:13px;color:#71675f}.foundation-page.leaddock .help-grid article small{display:block;color:#a76545;font:700 13px ui-monospace,monospace;letter-spacing:.08em;margin-bottom:5px}@media(max-width:760px){.foundation-page.leaddock .product-route-leaddock{grid-template-columns:1fr}.foundation-page.leaddock .ld-route-rail{position:static;grid-template-columns:repeat(4,max-content);overflow:auto;margin-bottom:12px}.foundation-page.leaddock .auth-product-proof{display:none}}

/* v12 common control alignment audit */
input[type="checkbox"],input[type="radio"]{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;padding:0!important;margin:0!important;flex:0 0 16px!important;vertical-align:middle!important}
label:has(> input[type="checkbox"]),label:has(> input[type="radio"]),.check,.check-label,.checkbox-row,.toggle-row{align-items:center!important;column-gap:8px!important;line-height:1.35!important}
button,.btn,.button,[role="button"]{align-items:center;justify-content:center;line-height:1.2;white-space:nowrap}
button svg,.btn svg,.button svg{flex:0 0 auto;vertical-align:middle}
@media(max-width:420px){button.long-action,.btn.long-action{white-space:normal}}

/* v12 final control geometry */
.foundation-page button,.foundation-page .button,.app-body button,.app-body .button,.db-app button,.db-app .button,.id-app button,.id-app .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;line-height:1.2!important}
.foundation-page label:has(input[type="checkbox"]),.foundation-page label:has(input[type="radio"]),.app-body label:has(input[type="checkbox"]),.db-app label:has(input[type="checkbox"]),.id-app label:has(input[type="checkbox"]){display:flex!important;align-items:center!important;gap:8px!important}

/* v13 — full UI/UX audit: typography, control alignment, spacing, route stability */
.foundation-page, .foundation-page button, .foundation-page input, .foundation-page select, .foundation-page textarea, .foundation-page .button{font-family:"Pretendard","Noto Sans KR","Segoe UI","Apple SD Gothic Neo","Malgun Gothic",Arial,sans-serif!important}
.foundation-page h1,.foundation-page h2,.foundation-page h3,.foundation-page b,.foundation-page strong{font-family:"Pretendard","Noto Sans KR","Segoe UI","Apple SD Gothic Neo","Malgun Gothic",Arial,sans-serif!important;font-style:normal!important}
.foundation-page .site-header{background:transparent!important;box-shadow:none!important;border-radius:0!important}
.foundation-page .site-header nav{gap:8px 14px!important}
.foundation-page .site-header nav a,.foundation-page .site-header nav .button{min-height:38px!important;height:38px!important;padding:7px 11px!important;line-height:1.2!important;white-space:nowrap!important}
.foundation-page .feature-hero,.foundation-page .pricing-hero,.foundation-page .help-hero{padding:12px 0 30px!important}
.foundation-page .feature-hero>p:last-of-type,.foundation-page .pricing-hero>p:last-of-type,.foundation-page .help-hero>p:last-of-type{margin-bottom:0!important;line-height:1.7!important}
.foundation-page .plan-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;border:0!important;align-items:stretch!important}
.foundation-page .plan-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;min-width:0!important;min-height:310px!important;padding:24px!important;border:1px solid var(--sb-line)!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important}
.foundation-page .plan-card header{display:block!important;min-width:0!important}.foundation-page .plan-card header h2{margin:10px 0 18px!important}.foundation-page .plan-limit{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:12px 0!important;border-top:1px solid var(--sb-line)!important;border-bottom:1px solid var(--sb-line)!important}.foundation-page .plan-card>p{margin:12px 0 22px!important;line-height:1.65!important}.foundation-page .plan-card>.button,.foundation-page .plan-card>.plan-wait{margin-top:auto!important;align-self:stretch!important}.foundation-page .plan-card>.button{width:100%!important}
.foundation-page .payment-note{display:grid!important;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr)!important;gap:36px!important;margin-top:26px!important;padding:24px 26px!important;border:1px solid var(--sb-line)!important;border-radius:14px!important;background:color-mix(in srgb,var(--sb-accent) 3%,#fff)!important}.foundation-page .payment-note h2{margin-bottom:0!important}.foundation-page .payment-note p{margin:0 0 10px!important}
.foundation-page .help-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;border:0!important}.foundation-page .help-grid article{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:18px!important;align-items:start!important;padding:20px 22px!important;border:1px solid var(--sb-line)!important;border-radius:12px!important;background:#fff!important}.foundation-page .help-grid article>span{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:10px!important;background:color-mix(in srgb,var(--sb-accent) 8%,#fff)!important;color:var(--sb-accent)!important;font-weight:800!important}.foundation-page .help-grid h2{font-size:18px!important;margin:2px 0 4px!important}.foundation-page .help-grid p{margin:0!important;line-height:1.65!important}.foundation-page .support-band{display:grid!important;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr)!important;gap:36px!important;align-items:center!important;margin-top:24px!important;padding:24px 26px!important;border:1px solid var(--sb-line)!important;border-radius:14px!important;background:#fff!important}.foundation-page .support-band p{margin-bottom:12px!important}
.foundation-page .check-label{display:flex!important;align-items:center!important;gap:9px!important;min-height:38px!important;margin:8px 0!important}.foundation-page .check-label input[type="checkbox"],.foundation-page .check-label input[type="radio"]{margin:0!important}.foundation-page .check-label>span{line-height:1.4!important}.foundation-page button,.foundation-page .button{line-height:1.2!important;vertical-align:middle!important}
@media(max-width:820px){.foundation-page .plan-grid{grid-template-columns:1fr!important}.foundation-page .plan-card{min-height:0!important}.foundation-page .payment-note,.foundation-page .support-band{grid-template-columns:1fr!important;gap:14px!important}.foundation-page .site-header nav{overflow-x:auto!important;max-width:100%!important}}

/* v13 LeadDock workspace alignment */
.crm .inbox-list{display:grid!important;gap:0!important}.crm .inbox-row{position:relative!important;display:grid!important;grid-template-columns:32px minmax(180px,.8fr) minmax(300px,1.65fr) minmax(150px,.55fr)!important;gap:14px!important;align-items:center!important;padding:16px 18px!important}.crm .inbox-row>.selection-check{grid-column:1!important;grid-row:1!important;width:24px!important;min-width:24px!important;align-self:center!important}.crm .inbox-row>.selection-check+*{grid-column:2!important}.crm .selection-check{margin:0!important;padding:0!important;display:grid!important;place-items:center!important}.crm .selection-check input{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important}.crm .toolbar{align-items:center!important}.crm .toolbar input,.crm .toolbar select,.crm .toolbar button,.crm .file-label{height:40px!important;min-height:40px!important;margin:0!important}.crm .selection-bar{align-items:center!important}.crm .selection-actions button{height:36px!important;min-height:36px!important}.crm .workspace-actions button{height:40px!important;min-height:40px!important}.crm .inbox-row .link-button,.crm .inbox-row button:not(.primary){line-height:1.4!important}.crm .inbox-row>div:last-child{align-self:center!important}
@media(max-width:1024px){.crm .inbox-row{grid-template-columns:32px minmax(160px,.8fr) minmax(0,1.4fr)!important}.crm .inbox-row>div:last-child{grid-column:2/-1!important}}@media(max-width:760px){.crm .inbox-row{grid-template-columns:28px minmax(0,1fr)!important}.crm .inbox-row>*{grid-column:2!important}.crm .inbox-row>.selection-check{grid-column:1!important;grid-row:1/4!important;align-self:start!important;margin-top:3px!important}}

/* v13.2 account loading-state visibility */
.foundation-page[data-page-mode="private"] #accountState[hidden]{display:none!important}

/* === v15 p17 design renewal === */
:root{--bg:#f7f8f9;--ink:#20272d;--muted:#6e7881;--line:#dde2e6;--rust:#944b39;--soft:#f7ece8;--green:#317255;--dark:#202a31}
*{box-sizing:border-box}html{font-family:Pretendard,"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif;scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);min-width:320px}a{text-decoration:none;color:inherit}button{font:inherit;cursor:pointer}:focus-visible{outline:3px solid #8eaabc;outline-offset:2px}
.top{height:60px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 24px;gap:20px;position:sticky;top:0;z-index:50}.brand{font-weight:950;font-size:18px;display:flex;align-items:center;gap:10px}.brand-logo{width:32px;height:32px;object-fit:contain;display:block;flex:0 0 32px}.nav{margin-left:auto;display:flex;gap:18px;font-size:13px;color:#5d6871}
.btn{min-height:40px;padding:0 14px;border:1px solid #b8c1c8;background:#fff;border-radius:6px;font-weight:850;display:inline-flex;align-items:center;justify-content:center;line-height:1;white-space:nowrap}.btn:hover{background:#f0f2f4}.btn.primary{background:var(--rust);color:#fff;border-color:var(--rust)}.btn.primary:hover{background:#793c2e}
.intro{width:min(860px,calc(100% - 40px));margin:92px auto 72px;text-align:center}.kicker{font-size:13px;color:var(--rust);font-weight:900}.intro h1{font-size:clamp(40px,5.5vw,64px);line-height:1.05;letter-spacing:-.052em;margin:16px 0 20px;word-break:keep-all}.intro p{font-size:16px;color:var(--muted);line-height:1.78;max-width:700px;margin:0 auto;word-break:keep-all}.intro .btn{margin-top:26px}
.summary-band{width:min(1040px,calc(100% - 40px));margin:0 auto 58px;display:grid;grid-template-columns:180px 1fr 1fr 1fr;border-top:1px solid #bcc4ca;border-bottom:1px solid #bcc4ca}.summary-band>div{padding:16px 18px;border-right:1px solid var(--line)}.summary-band>div:last-child{border-right:0}.summary-band small{color:var(--muted)}.summary-band b{display:block;margin-top:5px;font-size:14px}
.journey{width:min(1120px,calc(100% - 40px));margin:0 auto 120px;position:relative;padding:40px 0 20px}.journey::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background:#d9dee2;transform:translateX(-50%)}.journey::after{content:"";position:absolute;left:50%;top:0;height:var(--progress,25%);width:2px;background:var(--rust);transform:translateX(-50%);transition:.45s ease}
.moment{display:grid;grid-template-columns:1fr 70px 1fr;align-items:center;min-height:330px;position:relative}.moment .dot{grid-column:2;width:18px;height:18px;border-radius:50%;background:#fff;border:3px solid #aeb7bf;justify-self:center;z-index:2;transition:.3s}.moment.active .dot{background:var(--rust);border-color:var(--rust);box-shadow:0 0 0 7px var(--soft)}.copy{max-width:390px}.copy small{color:var(--rust);font-weight:850}.copy h2{font-size:29px;letter-spacing:-.035em;margin:8px 0 10px;word-break:keep-all}.copy p{color:var(--muted);line-height:1.65;margin:0}.moment:nth-child(odd) .copy{grid-column:1;justify-self:end;text-align:right}.moment:nth-child(even) .copy{grid-column:3}
.card{background:#fff;border:1px solid var(--line);border-radius:9px;padding:18px;box-shadow:0 12px 26px rgba(40,50,58,.06);opacity:.52;transform:translateY(12px);transition:.35s}.moment.active .card{opacity:1;transform:none}.moment:nth-child(odd) .card{grid-column:3}.moment:nth-child(even) .card{grid-column:1;grid-row:1;text-align:left}.card-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--line)}.avatar{width:34px;height:34px;border-radius:50%;background:var(--rust);color:white;display:grid;place-items:center;font-weight:900}.card-head small{display:block;color:var(--muted);margin-top:2px}.stage{margin-left:auto;font-size:13px;font-weight:850;color:var(--green)}.note{padding:12px 0;border-bottom:1px solid var(--line)}.note:last-child{border-bottom:0}.note small{color:var(--muted);display:block;margin-bottom:4px}.note b{font-size:14px}.note p{font-size:13px;color:var(--muted);line-height:1.55;margin:5px 0 0}
.today{background:var(--dark);color:#fff;padding:80px 0}.today-inner{width:min(1060px,calc(100% - 40px));margin:auto;display:grid;grid-template-columns:.8fr 1.2fr;gap:54px;align-items:start}.today h2{font-size:38px;line-height:1.12;letter-spacing:-.04em;margin:0 0 14px;word-break:keep-all}.today p{color:#c6d0d7;line-height:1.7}.today-list{background:#fff;color:var(--ink);border-radius:9px;overflow:hidden}.task{display:grid;grid-template-columns:1fr 130px 110px;gap:12px;padding:16px 18px;border-bottom:1px solid var(--line);align-items:center}.task:last-child{border-bottom:0}.task small{color:var(--muted);display:block;margin-top:4px}.task.active{background:var(--soft)}.task .time{font-size:13px;color:var(--muted)}.task .status{font-size:13px;font-weight:850;color:var(--green)}
.handoff{width:min(1060px,calc(100% - 40px));margin:90px auto 0;display:grid;grid-template-columns:1fr 1fr;gap:20px}.handoff-panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:20px}.handoff-panel h3{margin:0 0 14px;font-size:18px}.handoff-row{padding:12px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:120px 1fr;gap:14px}.handoff-row small{color:var(--muted)}.handoff-row b{font-size:13px}
.footer-cta{width:min(900px,calc(100% - 40px));margin:90px auto 20px;text-align:center}.footer-cta h2{font-size:36px;letter-spacing:-.04em;margin:0 0 12px;word-break:keep-all}.footer-cta p{color:var(--muted);line-height:1.7}.footer-cta .btn{margin-top:18px}

.site-footer{margin-top:96px;border-top:1px solid var(--line);background:#fff}
.site-footer .footer-inner{width:min(1180px,calc(100% - 40px));margin:auto;padding:34px 0 28px;display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:34px}
.site-footer .footer-brand{font-weight:950;font-size:17px;margin-bottom:8px}
.site-footer p{margin:0;color:var(--muted);font-size:13px;line-height:1.65;word-break:keep-all}
.site-footer h4{font-size:13px;margin:0 0 10px;color:var(--muted)}
.site-footer a{display:block;font-size:13px;margin:8px 0;color:var(--ink)}
.site-footer .footer-bottom{width:min(1180px,calc(100% - 40px));margin:auto;padding:14px 0 22px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);display:flex;gap:18px;flex-wrap:wrap}
@media(max-width:700px){.site-footer .footer-inner{grid-template-columns:1fr}.site-footer{margin-top:64px}}


.stalled{width:min(1060px,calc(100% - 40px));margin:92px auto;display:grid;grid-template-columns:330px 1fr;gap:46px;align-items:start}
.stalled-copy small{color:var(--rust);font-weight:900}
.stalled-copy h2{font-size:34px;line-height:1.12;letter-spacing:-.04em;margin:8px 0 12px;word-break:keep-all}
.stalled-copy p{color:var(--muted);line-height:1.7;margin:0}
.stalled-list{border-top:1px solid #b9c1c8}
.stalled-row{display:grid;grid-template-columns:1.1fr .75fr .75fr 90px;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);align-items:center}
.stalled-row small{display:block;color:var(--muted);margin-top:4px}
.age{font-size:13px;font-weight:850;color:#a26b1e}
.age.hot{color:var(--rust)}
.stalled-row button{min-height:34px;padding:0 10px;border:1px solid #bcc4ca;background:#fff;border-radius:5px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}
@media(max-width:760px){.stalled{grid-template-columns:1fr}.stalled-row{grid-template-columns:1fr auto}.stalled-row>*:nth-child(2),.stalled-row>*:nth-child(3){display:none}}

@media(max-width:850px){.nav{display:none}.intro{margin-top:54px}.intro h1{font-size:42px}.summary-band{grid-template-columns:1fr 1fr}.journey::before,.journey::after{left:20px}.moment{grid-template-columns:40px 1fr;min-height:auto;margin-bottom:36px}.moment .dot{grid-column:1}.moment .copy,.moment:nth-child(odd) .copy,.moment:nth-child(even) .copy{grid-column:2;grid-row:auto;justify-self:start;text-align:left;max-width:none}.moment .card,.moment:nth-child(odd) .card,.moment:nth-child(even) .card{grid-column:2;grid-row:auto;margin-top:14px}.today-inner{grid-template-columns:1fr}.handoff{grid-template-columns:1fr}}
@media(max-width:560px){.top{padding:0 12px}.top .btn:first-of-type{display:none}.intro,.summary-band,.journey,.today-inner,.handoff,.footer-cta{width:calc(100% - 24px)}.intro h1{font-size:35px}.summary-band{grid-template-columns:1fr}.summary-band>div{border-right:0;border-bottom:1px solid var(--line)}.copy h2{font-size:25px}.task{grid-template-columns:1fr auto}.task .status{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.dot,.card,.journey::after{transition:none}}

.site-footer{border-top:1px solid var(--line);background:#fff;margin-top:80px}
.foot-inner{width:min(1180px,calc(100% - 40px));min-height:70px;margin:auto;display:flex;align-items:center;gap:18px;font-size:13px;color:var(--muted)}
.foot-spacer{flex:1}.foot-inner a:hover{color:var(--ink)}
@media(max-width:560px){.foot-inner{width:calc(100% - 24px);flex-wrap:wrap;padding:18px 0}.foot-spacer{display:none}}


/* LeadDock: timeline-first CRM workspace; existing IDs/actions stay untouched. */
body.crm:not([data-page-mode="public"]){background:#f3eee8;color:#2b211e}
.crm-layout{grid-template-columns:238px minmax(0,1fr)!important;background:#f3eee8!important}
.crm-sidebar{background:#2d211f!important;color:#f6ece6!important;border-right:1px solid #4b3732!important}
.crm-sidebar .brand,.crm-sidebar a,.crm-sidebar button{color:#eadbd4!important}.crm-sidebar nav button{border-radius:5px!important}
.crm-sidebar nav button.active,.crm-sidebar nav button:hover{background:#4a302b!important;color:#fff!important}
.crm-main{padding:0 26px 56px!important;min-width:0}.workspace-top{position:sticky;top:0;z-index:20;background:rgba(243,238,232,.94)!important;border-bottom:1px solid #d4c6bd!important;padding:22px 0 16px!important;backdrop-filter:blur(10px)}
.workspace-top h1{font-size:28px!important;letter-spacing:-.04em!important}.view-description{color:#786761!important}
.crm-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1px!important;background:#d8cac0!important;border:1px solid #d8cac0!important;border-radius:6px!important;overflow:hidden!important}
.crm-metrics>*{background:#fffaf6!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.crm-panel,.lead-card,.stage-column,.inbox-row,.note-row,.selection-bar,.table-scroll{border-color:#d8cac0!important;box-shadow:none!important}
.stage-column{background:#f8f3ee!important}.lead-card{background:#fffaf7!important}.timeline{border-left-color:#c98674!important}
button.primary,.button.primary{background:#aa5747!important;border-color:#aa5747!important;color:white!important}
@media(max-width:850px){.crm-layout{grid-template-columns:1fr!important}.crm-sidebar{position:static!important;height:auto!important;display:flex!important;overflow:auto!important;padding:8px!important}.crm-sidebar .brand,.crm-sidebar .workspace-switch,.crm-sidebar nav p,.sidebar-bottom{display:none!important}.crm-sidebar nav{display:flex!important;gap:4px!important}.crm-sidebar nav button{min-width:max-content!important}.crm-main{padding:0 12px 40px!important}.crm-metrics{grid-template-columns:1fr 1fr!important}}

/* === v15 p19 FULL UI/FUNCTION REPAIR === */
body.crm{min-width:320px!important;overflow-x:hidden!important}body.crm,body.crm button,body.crm input,body.crm select,body.crm textarea{font-family:"Pretendard","Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",system-ui,sans-serif!important}
body.crm :where(h1,h2,h3,p,span,label,button,a,td,th,small,strong,b){word-break:keep-all!important;overflow-wrap:normal!important}body.crm :where(a[href^="http"],code,.url-value,.attribution-url){overflow-wrap:anywhere!important;word-break:normal!important}
body.crm .crm-layout{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;width:100%!important;min-height:100dvh!important}.crm-sidebar{position:sticky!important;top:0!important;width:auto!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important}.crm-main{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0 32px 72px!important;box-sizing:border-box!important}.workspace-top{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:20px!important;width:100%!important;min-width:0!important}.workspace-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:wrap!important}.crm-main #content,.crm-main #toolbar,.crm-main #metrics{width:100%!important;min-width:0!important;max-width:none!important}.crm-main .table-scroll,.crm-main .table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important}.crm-main table{width:100%!important;min-width:980px!important;table-layout:auto!important}.crm-main th,.crm-main td{min-width:96px!important;max-width:none!important;white-space:normal!important;vertical-align:top!important;line-height:1.45!important}.crm-main :where(button,.button){display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px 14px!important;line-height:1.25!important;text-align:center!important;white-space:nowrap!important}.crm-main button.primary,.crm-main .button.primary{background:#315fbd!important;color:#fff!important;border-color:#315fbd!important}.crm-main button:not(.primary),.crm-main .button:not(.primary){background:#fff!important;color:#21324b!important;border-color:#c7d1df!important}.crm-main :where(input,select,textarea){background:#fff!important;color:#1c2a3d!important;border-color:#bdc9d7!important}.crm-main dialog{max-width:calc(100vw - 32px)!important}.crm-main .lead-detail,.crm-main .detail-grid{min-width:0!important}.crm-main .attribution-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:10px!important}.crm-main .attribution-grid>*{min-width:0!important}
@media(max-width:900px){body.crm .crm-layout{grid-template-columns:1fr!important}.crm-sidebar{position:relative!important;height:auto!important;max-height:none!important}.crm-main{padding:0 14px 48px!important}.workspace-top{align-items:flex-start!important;flex-direction:column!important}}

/* v15.20 LeadDock dark workspace contrast */
.crm-sidebar .brand,.crm-sidebar .brand b,.crm-sidebar .brand small,.crm-sidebar .sidebar-bottom a,.crm-sidebar .sidebar-bottom button{color:#f2f7ff!important}.crm-sidebar nav button{color:#dce7f7!important}.crm-sidebar nav button small{color:#9fb2cc!important}.crm-sidebar nav button.active,.crm-sidebar nav button:hover{background:#213d5a!important;color:#fff!important}.crm-sidebar nav button.active small{color:#d8e8fb!important}.crm-main{min-width:0!important}.crm-main table th,.crm-main table td{padding:13px 15px!important}.crm-main button{align-items:center!important}.crm-main .tabs button{color:inherit!important}.workspace-switch{color:#e9f2ff!important}.workspace-switch span{color:#a8bdd6!important}

/* v15.20 common precision regression guard */
.foundation-page .site-footer{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:24px!important}.foundation-page .site-footer .footer-links{margin-left:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important;text-align:right!important;flex-wrap:wrap!important}.foundation-page .site-footer .footer-links a{display:inline-flex!important;align-items:center!important;min-height:34px!important}.foundation-page :where(.feature-grid article,.help-grid article,.plan-card,.account-section,.support-band,.payment-note){min-width:0!important}.foundation-page :where(.feature-grid article,.help-grid article) :where(h2,h3,p,span,b,strong,small){word-break:keep-all!important;overflow-wrap:normal!important}.foundation-page :where(button,.button,input,select){min-height:40px!important;line-height:1.3!important}.foundation-page :where(button,.button){display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}.foundation-page .plan-card.is-current{border-width:2px!important}.foundation-page .plan-current{display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-left:8px!important;padding:4px 8px!important;border-radius:999px!important;background:#163f73!important;color:#fff!important;font-size:13px!important;line-height:1!important}.foundation-page .plan-card [aria-disabled="true"]{pointer-events:none!important;opacity:.72!important}.foundation-page .feature-hero,.foundation-page .pricing-hero,.foundation-page .help-hero{box-shadow:none!important}.foundation-page .account-section :where(.empty,.notice){display:flex!important;align-items:center!important;justify-content:center!important;min-height:80px!important;padding:18px!important;text-align:center!important}@media(max-width:720px){.foundation-page .site-footer{flex-direction:column!important}.foundation-page .site-footer .footer-links{margin-left:0!important;justify-content:flex-start!important;text-align:left!important}}
