@font-face{font-family:Inter;src:url('assets/InterVariable.woff2')}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:#202B32;background:#F7F8FA;font-size:14px}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button,a,input,select,textarea{outline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:default;opacity:.6}button:hover,a:hover{color:#3D68B3}h1,h2,h3,p{margin-top:0}h1{font-size:36px;letter-spacing:-1.2px;font-weight:650;margin-bottom:14px}h2{font-size:24px;letter-spacing:-.6px;font-weight:650}h3{font-size:17px;font-weight:650;line-height:1.5}p{line-height:1.7;color:#64727d}small{color:#64727d}svg{width:20px;height:20px;vertical-align:middle}.preview-bar{background:#202B32;color:white;min-height:46px;padding:8px 4%;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px}.preview-bar div{display:flex;align-items:center;gap:12px}.preview-note{color:#b8c4ce;margin-left:18px}.preview-bar select{background:#35434d;color:white;border:1px solid #62707b;border-radius:7px;padding:7px 30px 7px 10px;max-width:200px}.preview-bar button{color:white;border:1px solid #62707b;border-radius:7px;padding:7px 10px}.preview-bar button:hover{background:#35434d}header{height:86px;background:white;display:flex;align-items:center;justify-content:space-between;padding:0 5%;border-bottom:1px solid #e4e8ec;gap:20px}.logo{display:block;flex:none;width:154px;height:40px;background:url('assets/localz-wordmark-4096.png') center/contain no-repeat}header nav{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:550}.outline,.primary{padding:11px 18px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:9px;line-height:1.5}.outline{background:var(--lz-secondary-bg,#eef2f6);border:1px solid var(--lz-secondary-border,#7d8fa3);color:var(--lz-secondary-ink,#28445e)}.outline:hover:not(:disabled){background:#e1e8f0;border-color:#647a92;color:#203c57}.outline:focus-visible{outline:3px solid #93b3e9;outline-offset:3px}.primary{background:#3D68B3;color:white;border:1px solid #3D68B3}.primary:hover{background:#2f5597;color:white}.wrap{max-width:1180px;margin:auto;padding:42px 28px}.hero{position:relative;isolation:isolate;min-height:430px;background:#35434d;display:grid;align-items:center}.hero-photo{position:absolute;inset:0;background-position:center;background-size:cover;z-index:-2}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(17,28,37,.84),rgba(17,28,37,.38));z-index:-1}.hero .wrap{width:100%;padding-top:60px;padding-bottom:55px}.hero h1{font-size:48px;color:white;max-width:780px;letter-spacing:-1.6px}.hero p{color:#f0f2f6;font-size:17px}.kelly-intro{display:flex;align-items:center;gap:13px;color:white;margin-bottom:20px;font-size:13px}.kelly-intro img{width:42px;height:42px;border-radius:50%;object-fit:cover;object-position:top}.searchbar{display:flex;background:white;padding:9px;gap:8px;border-radius:12px;box-shadow:0 9px 28px #12212d26}.searchbar label{flex:1;min-width:0;padding:7px 16px;border-right:1px solid #e4e8ec}.searchbar label span{font-size:11px;display:block;color:#64727d;margin-bottom:4px}.searchbar input{border:0;width:100%;padding:4px 0;font-size:15px;color:#202B32;background:white}.searchbar .primary{min-width:170px}.slider-controls{display:flex;gap:9px;align-items:center;margin-top:24px;color:white}.slider-controls button{color:white;border:1px solid #ffffff6e;border-radius:50%;width:32px;height:32px}.slider-controls small{color:#e8ebee}.section{margin-bottom:38px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.section-title h2{margin:0}.section-title a{font-size:13px;color:#3D68B3}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.categories{grid-template-columns:repeat(6,1fr)}.category{padding:23px 10px;background:white;border:1px solid #e0e6ec;border-radius:10px;text-align:center;display:grid;gap:15px;place-items:center}.category svg{width:28px;height:28px;color:#3D68B3}.business-card{overflow:hidden;border:1px solid #e0e6ec;border-radius:12px;background:white;box-shadow:0 2px 4px #202b3203}.business-card .picture{display:block;height:160px;background-size:cover;background-position:center}.card-body{padding:22px}.eyebrow{text-transform:uppercase;font-size:10px;letter-spacing:1.5px;font-weight:650;color:#748493;margin-bottom:12px}.tag{display:inline-block;background:#edf2fa;color:#3D68B3;padding:5px 9px;border-radius:5px;font-size:11px;margin-bottom:10px}.row{display:flex;align-items:center;gap:12px;justify-content:space-between}.card-body p{font-size:13px;margin-bottom:14px}.sample-note{font-size:11px;color:#7a8792}.business-card h3{margin-bottom:5px}.save{border:1px solid #dce4ed;width:34px;height:34px;border-radius:50%;color:#3D68B3}.callout{background:#eaf0f9;padding:30px;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:25px}.callout p{margin:0}.callout h2{margin-bottom:8px}.footer{background:white;border-top:1px solid #e1e6ec;padding:40px max(5%,calc((100vw - 1124px)/2));display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:28px}.footer h3{font-size:13px}.footer a{display:block;font-size:12px;color:#64727d;margin-top:13px}.copyright{padding:18px 5%;font-size:11px;color:#7a8792;background:white;border-top:1px solid #eef0f3}.workspace{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:calc(100vh - 132px)}.sidebar{background:white;border-right:1px solid #e1e6ec;padding:25px 17px;position:sticky;top:0;align-self:start;min-height:calc(100vh - 132px)}.role-name{padding:0 13px 20px;font-size:12px;color:#64727d}.role-name strong{display:block;color:#202B32;font-size:14px;margin-top:6px}.side-link{padding:12px 13px;margin:4px 0;display:flex;align-items:center;gap:11px;border-radius:8px;font-size:12px}.side-link svg{width:18px;height:18px;color:#7e8b97}.side-link.active{background:#eaf0f9;color:#3D68B3;font-weight:650}.side-link.active svg{color:#3D68B3}.sidebar .bottom{border-top:1px solid #e8ecf0;margin-top:25px;padding-top:18px}.main{padding:35px 40px;max-width:1420px;min-width:0}.breadcrumb{font-size:11px;color:#7a8792;margin-bottom:22px}.page-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-title h1{font-size:30px;margin-bottom:8px}.page-title p{font-size:13px;margin-bottom:0}.panel{border:1px solid #e1e6ec;border-radius:12px;background:white;padding:24px;margin-bottom:22px}.panel h2{font-size:18px;margin-bottom:18px}.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.tile{padding:22px;border:1px solid #e1e6ec;border-radius:11px;background:white}.tile svg{color:#3D68B3;margin-bottom:16px;width:26px;height:26px}.tile h3{font-size:15px;margin-bottom:7px}.tile p{font-size:12px;margin-bottom:0}.tile a{display:block;color:#3D68B3;font-size:12px;margin-top:15px}.split{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.notice{border-left:3px solid #3D68B3;background:#edf2fa;padding:13px 17px;font-size:12px;line-height:1.7;color:#506378;margin-bottom:22px}.placeholder{text-align:center;padding:48px 28px;background:white;border:1px dashed #b9c8da;border-radius:13px;margin:22px 0}.placeholder svg{width:38px;height:38px;color:#3D68B3;margin-bottom:18px}.placeholder h2{margin-bottom:10px}.placeholder p{max-width:590px;margin:0 auto 15px;font-size:13px}.flow{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.flow span{background:#f2f5f8;border:1px solid #e1e6ec;padding:10px 12px;border-radius:7px;font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{background:#f7f8fa;color:#71808d;font-size:11px;font-weight:500;padding:12px}td{padding:15px 12px;border-bottom:1px solid #edf0f3;vertical-align:top;line-height:1.6}td button{color:#3D68B3}.status{padding:4px 8px;border-radius:5px;background:#edf2fa;color:#3D68B3;white-space:nowrap;font-size:11px}.muted{color:#7b8791}.profile-image{height:300px;background-size:cover;background-position:center;border-radius:14px;margin-bottom:28px}.contact-list{display:grid;gap:14px;font-size:13px}.contact-list div{padding-bottom:13px;border-bottom:1px solid #eef0f3}.chips{display:flex;gap:8px;flex-wrap:wrap}.chips span{padding:8px 12px;background:#edf2fa;border-radius:6px;font-size:12px;color:#3D68B3}.results-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:25px}.results-list .business-card{display:grid;grid-template-columns:170px 1fr;margin-bottom:17px}.results-list .picture{display:block;height:100%;min-height:200px}.map-placeholder{height:400px;background:repeating-linear-gradient(25deg,#e3eaf0 0 2px,#f0f4f7 2px 70px);border:1px solid #d5dfe9;border-radius:12px;display:grid;place-items:center;padding:25px;text-align:center;color:#748594}.frame{width:100%;height:740px;border:1px solid #d5dfe9;border-radius:12px;background:white}.input-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:17px}.input-grid label{font-size:12px;color:#64727d}.input-grid input,.input-grid select{display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #dbe3ea;border-radius:7px;background:white}.kelly-float{position:fixed;bottom:22px;right:24px;background:white;border:1px solid #d6e0ed;border-radius:40px;padding:6px 18px 6px 6px;display:flex;align-items:center;gap:11px;font-weight:600;font-size:13px;box-shadow:0 5px 20px #202b3220;z-index:7}.kelly-float img{width:40px;height:40px;border-radius:50%;object-fit:cover;object-position:top}.kelly-float span{color:#3D68B3;margin-left:12px}.kelly-panel{position:fixed;right:0;top:46px;bottom:0;width:390px;max-width:100%;background:white;border-left:1px solid #dbe3ea;box-shadow:-8px 0 35px #202b3220;z-index:12;display:flex;flex-direction:column}.kelly-panel[hidden]{display:none}.panel-head{padding:20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e5eaf0}.panel-head>div{display:flex;gap:12px;align-items:center}.panel-head img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:top}.panel-head small{display:block;margin-top:4px;font-size:11px}.panel-head button{font-size:26px}.panel-head h2{margin:0;font-size:20px}.kelly-context{font-size:11px;background:#f4f7fb;padding:12px 20px;color:#64727d}.kelly-messages{flex:1;overflow:auto;padding:20px}.message{padding:15px;border-radius:12px;background:#eef3fa;line-height:1.7;font-size:13px;margin-bottom:13px}.message.user{background:#202B32;color:white;margin-left:30px}.kelly-panel form{padding:18px;border-top:1px solid #e1e6ec}.kelly-panel label{display:block;font-size:12px;margin-bottom:10px}.kelly-panel textarea{width:100%;border:1px solid #dae3ed;padding:11px;border-radius:8px;resize:vertical}.kelly-panel form>div{display:flex;gap:6px;justify-content:space-between;margin-top:9px;font-size:10px}.panel-note{padding:0 18px 14px;font-size:10px}.review-card{border:1px solid #dce4ee;border-radius:10px;padding:20px;margin:15px 0}.review-card h3{margin-bottom:8px}.review-card p{font-size:12px}.review-card li{font-size:13px;line-height:1.8;margin-bottom:6px}.review-card textarea{width:100%;padding:12px;border:1px solid #dce4ee;border-radius:7px;margin-top:10px}.review-card .row{justify-content:flex-start;flex-wrap:wrap}dialog{border:1px solid #d7e0eb;border-radius:16px;width:800px;max-width:94vw;max-height:88vh;padding:25px}dialog::backdrop{background:#202b3280}dialog>.panel-head{padding:0 0 18px;margin-bottom:20px}dialog>small{display:block;margin:15px 0}.review-link{color:#3D68B3;font-size:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;border-radius:9px;background:#202B32;color:white;box-shadow:0 5px 25px #202b3220;z-index:20;display:none;max-width:90vw;font-size:12px}
@media(max-width:1000px){header nav{gap:18px}.categories{grid-template-columns:repeat(3,1fr)}.main{padding:28px}.tiles{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.results-layout{grid-template-columns:1fr}.results-layout>.map-placeholder{height:220px}.hero h1{font-size:40px}.workspace{grid-template-columns:205px minmax(0,1fr)}}
@media(max-width:700px){.preview-bar{align-items:flex-start;flex-direction:column;padding:10px 16px;gap:8px}.preview-note{margin-left:10px}.preview-bar select{max-width:170px}.preview-bar div{gap:8px}.preview-bar label{font-size:11px}header{height:auto;min-height:78px;padding:17px 18px;flex-wrap:wrap;gap:15px}.logo{width:138px;height:36px;background-size:contain;background-position:center}header nav{gap:13px;flex-wrap:wrap;font-size:11px}header .outline{padding:6px 10px}.hero{min-height:430px}.hero .wrap{padding:35px 20px}.hero h1{font-size:35px;letter-spacing:-1px}.hero p{font-size:14px}.searchbar{flex-direction:column}.searchbar label{border-right:0;border-bottom:1px solid #e6ebf0;padding:8px 12px}.searchbar .primary{min-height:44px}.wrap{padding:28px 20px}.grid{grid-template-columns:1fr}.categories{grid-template-columns:repeat(2,1fr)}.callout{display:block;padding:25px}.callout .primary{margin-top:20px}.footer{grid-template-columns:repeat(2,1fr);padding:28px 20px}.workspace{display:block}.sidebar{position:static;min-height:0;padding:14px;border-right:0;border-bottom:1px solid #e1e6ec}.role-name{padding:0 7px 10px}.sidebar nav{display:flex;overflow:auto;gap:4px}.side-link{white-space:nowrap;padding:10px;font-size:11px}.sidebar .bottom{display:none}.main{padding:25px 18px}.page-title{align-items:flex-start}.page-title h1{font-size:26px}.page-title .outline{font-size:11px;padding:8px}.tiles{grid-template-columns:1fr}.panel{padding:20px}.results-list .business-card{display:block}.results-list .picture{display:block;min-height:150px;height:150px}.input-grid{grid-template-columns:1fr}.kelly-panel{top:0}.kelly-float{right:14px;bottom:14px}.frame{height:680px}.profile-image{height:210px}h1{font-size:30px}.table-wrap table{min-width:560px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

/* Businesses fills the LocalZ workspace rather than sitting in a separate card. */
.crm-workspace{height:calc(100dvh - 135px);min-height:400px;overflow:hidden}
.crm-workspace>.sidebar{height:100%;min-height:0;overflow:auto}
.main.crm-main{padding:0;max-width:none;width:100%;display:flex;flex-direction:column;min-height:0;overflow:hidden}
.crm-main>.breadcrumb{display:none}
.crm-heading{font-size:22px;line-height:1.25;margin:0;padding:12px 18px;border-bottom:1px solid #e4e8ec;background:#F7F8FA;flex:none;letter-spacing:-.5px}
.crm-main>.crm-frame{display:block;width:100%;height:100%;min-height:0;flex:1;border:0;border-radius:0;background:#F7F8FA;margin:0}
@media(max-width:700px){.crm-workspace{height:auto;min-height:0;overflow:visible}.crm-workspace>.sidebar{height:auto}.main.crm-main{height:calc(100dvh - 120px);min-height:440px}.crm-heading{padding:10px 14px;font-size:20px}}

/* Territory builder is the workspace, rather than a framed preview card. */
.workspace.territory-workspace{height:calc(100dvh - 135px);min-height:440px;overflow:hidden}
.territory-workspace>.sidebar{height:100%;min-height:0;overflow:auto}
.main.territory-main{padding:0;width:100%;max-width:none;min-height:0;overflow:hidden}
.territory-main>.breadcrumb{display:none}
.territory-frame{display:block;width:100%;height:100%;min-height:0;border:0;border-radius:0;margin:0;background:#fff}
.territory-public{padding:0;width:100%;max-width:none;height:calc(100dvh - 135px);min-height:440px}
@media(max-width:700px){.workspace.territory-workspace{height:auto;overflow:visible}.territory-workspace>.sidebar{height:auto}.main.territory-main{height:calc(100dvh - 120px);min-height:540px}.territory-public{height:calc(100dvh - 120px);min-height:540px}}
header .territory-link{padding:10px 14px;white-space:nowrap}
@media(min-width:701px) and (max-width:1100px){header{padding-left:3%;padding-right:3%}header nav{gap:14px;font-size:12px}header .territory-link{padding:9px 10px;font-size:12px}}

.public-territory-view>.preview-bar{display:none}
.public-territory-view .territory-public{height:calc(100dvh - 86px)}
@media(max-width:700px){.public-territory-view .territory-public{height:calc(100dvh - 120px)}}

/* Public builder follows page content; the iframe does not own a scroll viewport. */
.public-territory-view .territory-public{height:auto;min-height:0}
.public-territory-view .territory-frame{height:1100px;min-height:0}

.catalogue-panel{padding:24px}.catalogue-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:end;margin-bottom:20px}.catalogue-filters label{display:grid;gap:6px;font-size:13px;font-weight:600}.catalogue-filters input,.catalogue-filters select,.catalogue-pagination select{font:inherit;font-size:14px;font-weight:400;min-width:0;min-height:44px;line-height:1.35;border:1px solid #BFC9D4;border-radius:8px;padding:10px 14px;background:#fff;color:#202B32}.catalogue-filters input,.catalogue-filters select{width:100%}.catalogue-filters select,.catalogue-pagination select{appearance:none;padding-right:42px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23202B32' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 16px center;background-repeat:no-repeat;background-size:12px 8px}.catalogue-filters input:focus-visible,.catalogue-filters select:focus-visible,.catalogue-pagination select:focus-visible{outline:3px solid #DCE6F8;border-color:#3D68B3}.catalogue-filters input::placeholder{font-weight:400;color:#64727d}.catalogue-search{grid-column:span 2}.catalogue-pagination{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:16px 0}.catalogue-pagination>span:first-child{margin-right:auto}.catalogue-pagination select{width:auto;min-width:86px}.catalogue-record{color:var(--blue,#3b67b7);text-align:left;padding:0;border:0;background:none;font-weight:600}.catalogue-panel td small{display:block;color:#65768a;margin-top:5px}.catalogue-panel td{vertical-align:top}.catalogue-panel button:disabled{opacity:.45;cursor:default}.catalogue-detail{border-top:1px solid #dce3ed;padding-top:20px;margin-top:12px}@media(max-width:850px){.catalogue-filters{grid-template-columns:1fr 1fr}.catalogue-search{grid-column:span 2}}@media(max-width:550px){.catalogue-filters{grid-template-columns:1fr}.catalogue-search{grid-column:auto}.catalogue-panel{padding:16px}}

/* Shared dropdown treatment: keep the arrow inset from the right edge. */
select:not([multiple]){appearance:none!important;-webkit-appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%2364727d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:12px 8px!important;padding-right:34px!important}

.preview-bar select:not([multiple]){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;max-width:260px}.preview-bar select[hidden]{display:none}

/* Thin blue account strip; the original thick white logo/menu header stays intact. */
.account-bar{height:32px;background:#3D68B3;color:#fff;display:flex;justify-content:flex-end;align-items:center;padding:0 5%}
.account-bar button{color:#fff;font-size:12px;font-weight:550;line-height:32px;padding:0}
.account-bar button:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.account-bar{padding:0 18px}}
.preview-bar>div{flex-wrap:wrap}.preview-bar{row-gap:8px}

.preview-bar[hidden]{display:none}


/* Continuous dashboard sidebar between the header and the full-width footer. */
body{--workspace-top:118px}body.has-review-toolbar{--workspace-top:164px}
.workspace{min-height:calc(100dvh - var(--workspace-top))}
.workspace>.sidebar{position:static;align-self:stretch;height:auto;min-height:calc(100dvh - var(--workspace-top));padding:0;background:#fff}
.sidebar-inner{position:sticky;top:0;max-height:100dvh;overflow:auto;padding:25px 17px}
.workspace.crm-workspace,.workspace.territory-workspace{height:calc(100dvh - var(--workspace-top));min-height:440px;overflow:hidden}
.workspace>.main.crm-main,.workspace>.main.territory-main{height:100%;min-height:0}
@media(max-width:700px){.workspace>.sidebar{min-height:0}.sidebar-inner{position:static;max-height:none;padding:14px;overflow:visible}.workspace.crm-workspace,.workspace.territory-workspace{height:auto;min-height:0;overflow:visible}.workspace>.main.crm-main,.workspace>.main.territory-main{height:calc(100dvh - var(--workspace-top));min-height:440px}}

/* Sign in uses the existing native authentication in a compact branded layout. */
.sign-in-page{max-width:480px;padding:40px 20px;min-height:calc(100dvh - var(--shell-header-height,118px))}
.sign-in-page .page-heading{display:block}
.sign-in-frame{width:100%;height:360px;min-height:0;border:0;border-radius:12px;background:#fff}
.sign-in-error{padding:14px 16px;margin-bottom:18px;background:#fff0f1;color:#a32336;border-left:3px solid #a32336;border-radius:6px}
@media(max-width:550px){.sign-in-page{padding:24px 16px}.sign-in-frame{height:380px}}

/* Territory Catalog keeps the existing list and adds its geographic view. */
.catalogue-view-tabs{display:flex;gap:8px;margin:0 0 18px;border-bottom:1px solid #dce4ee}.catalogue-view-tabs button{padding:12px 20px;border-bottom:3px solid transparent;font-weight:600}.catalogue-view-tabs button[aria-selected="true"]{color:#3D68B3;border-color:#3D68B3}.catalogue-map-frame{display:block;width:100%;height:calc(100dvh - 320px);min-height:600px;border:1px solid #dce4ee;border-radius:12px;background:#fff}#catalogue-map[hidden],.catalogue-panel[hidden]{display:none}

/* Catalog List and Map fill the available dashboard width. */
.workspace>.main.catalogue-main{max-width:none;width:100%;min-width:0;padding:28px 32px}.catalogue-main>.catalogue-panel,.catalogue-main>#catalogue-map{width:100%;max-width:none}.catalogue-main .catalogue-map-frame{height:calc(100dvh - var(--workspace-top) - 160px);min-height:640px}@media(max-width:700px){.workspace>.main.catalogue-main{padding:22px 16px}.catalogue-main .catalogue-map-frame{min-height:600px}}

/* Do not render a false signed-out screen while restoring a saved session. */
.session-pending #app,.session-pending #workspace-open,.session-pending .preview-bar{visibility:hidden}

/* Territory maps keep useful height; their containing pages scroll naturally. */
.workspace.territory-workspace{height:auto;min-height:calc(100dvh - var(--workspace-top));overflow:visible}
.workspace>.main.territory-main{height:auto;min-height:0;overflow:visible}
.territory-workspace .territory-frame{height:1250px;min-height:0}

.main.my-territories-main{max-width:none}
.owned-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
.owned-summary .panel{margin:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px}.owned-summary span{color:var(--muted)}.owned-summary strong{font-size:32px;color:#3D68B3}
.owned-panel{padding:24px}.owned-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin-bottom:24px}.owned-filters label{display:grid;gap:8px;font-weight:600;font-size:13px}
.owned-filters input,.owned-filters select{width:100%;min-width:0;height:44px;padding:10px 14px;border:1px solid #bccbdd;border-radius:8px;background-color:#fff;color:#202c33;font:inherit;font-weight:400}
.owned-panel td small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.owned-panel td:last-child{white-space:nowrap}.owned-selected{background:#eef3fc}
.owned-status{display:inline-block;padding:5px 9px;border-radius:5px;background:#fff3ce;color:#72531a;font-size:12px;white-space:nowrap}.owned-status.sold{background:#e3f2e9;color:#286447}.owned-status.resale{background:#f0e9fa;color:#65418a}
.owned-panel .owned-detail td{padding:0}.owned-map-frame{display:block;width:100%;height:620px;border:0}.owned-expand{margin-top:24px;padding:0;overflow:hidden}.owned-expand>summary{cursor:pointer;font-size:18px;font-weight:650;padding:24px;color:#3D68B3}.owned-builder-frame{display:block;width:100%;height:1250px;border:0}
@media(max-width:700px){.owned-summary{gap:12px}.owned-summary .panel{padding:16px;align-items:flex-start;flex-direction:column}.owned-summary strong{font-size:26px}.owned-panel{padding:16px}.owned-filters{grid-template-columns:1fr}.owned-map-frame{height:520px}}

/* My Territories becomes stacked records on phones; no sideways table scrolling. */
@media(max-width:700px){
 .my-territories-main,#my-territories,.owned-panel,.owned-results{min-width:0;max-width:100%}
 .owned-panel .table-wrap{overflow:visible}
 .owned-panel .table-wrap table{display:block;min-width:0;width:100%;table-layout:fixed}
 .owned-panel thead{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .owned-panel tbody{display:block;width:100%}
 .owned-panel .owned-record{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;padding:18px 0;border-bottom:1px solid #e1e6ec;min-width:0}
 .owned-panel .owned-record:first-child{padding-top:10px}
 .owned-panel .owned-record td{display:block;padding:0;border:0;min-width:0;overflow-wrap:anywhere;white-space:normal}
 .owned-panel .owned-name,.owned-panel .owned-location,.owned-panel .owned-action{grid-column:1/-1}
 .owned-panel .owned-name strong{font-size:15px;line-height:1.5}
 .owned-panel .owned-record td[data-label]::before{content:attr(data-label);display:block;font-size:11px;font-weight:500;color:#71808d;margin-bottom:4px}
 .owned-panel .owned-status{max-width:100%;white-space:normal}
 .owned-panel .owned-action button{width:100%;min-height:44px}
 .owned-panel .owned-selected{margin:0 -8px;padding-left:8px;padding-right:8px;border-radius:8px}
 .owned-panel .owned-detail,.owned-panel .owned-detail td{display:block;width:100%;padding:0;border:0}
 .owned-panel .owned-detail{margin:12px 0 18px}
 .owned-panel .owned-map-frame{width:100%;min-width:0;max-width:100%}
 .owned-panel .catalogue-pagination{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:center;padding:8px 0 20px}
 .owned-panel .catalogue-pagination>span:first-child{grid-column:1/-1;margin:0}
 .owned-panel .catalogue-pagination>label{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
 .owned-panel .catalogue-pagination>button{min-width:0;min-height:44px}
 .owned-panel .catalogue-pagination>button[data-owned-page="-1"]{grid-column:1;grid-row:3}
 .owned-panel .catalogue-pagination>button[data-owned-page="1"]{grid-column:2;grid-row:3}
 .owned-panel .catalogue-pagination>span:not(:first-child){grid-column:1/-1;text-align:center}
 .owned-expand>summary{padding:20px 16px;overflow-wrap:anywhere}
}

/* Shared directory navigation: keyboard/touch accessible, same-tab workspace links. */
.directory-menu{position:relative;font:inherit;color:inherit}
.directory-menu>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;min-height:44px;font:inherit;font-weight:600}
.directory-menu>summary::-webkit-details-marker{display:none}
.directory-menu>summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-4px}
.directory-menu[open]>summary::after{transform:rotate(225deg);margin-top:3px}
.directory-menu>summary:focus-visible{outline:3px solid #94b8ef;outline-offset:4px;border-radius:4px}
.directory-menu-links{position:absolute;z-index:1000;top:calc(100% + 8px);left:0;min-width:200px;padding:8px;background:#fff;border:1px solid #dce3ed;border-radius:10px;box-shadow:0 12px 28px #202b321f;display:grid;gap:2px}
header nav .directory-menu-links>a{display:block!important;color:#202b32;font-size:13px;font-weight:500;padding:10px 12px;border-radius:6px;white-space:nowrap;text-decoration:none}
header nav .directory-menu-links>a:hover,header nav .directory-menu-links>a:focus-visible{background:#edf2fb;color:#3d68b3}
@media(max-width:520px){.directory-menu-links{left:auto;right:0}.directory-menu>summary{font-size:12px}}

/* Cory-approved dropdown spacing: keep the arrow inside the field. */
select:not([multiple]):not([size]){appearance:none;-webkit-appearance:none;padding-inline-end:44px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23566b85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:14px 14px;background-position:right 14px center}
@media(forced-colors:active){select:not([multiple]):not([size]){appearance:auto;-webkit-appearance:auto;background-image:none}}

/* Role inspection belongs to the local review toolbar. */
.role-access-dialog{width:min(1100px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:24px;border:1px solid #dce4ed;border-radius:14px;color:#202B32;background:#fff;overflow:auto}.role-access-dialog::backdrop{background:#17263380}.role-access-dialog h2{margin:0}.role-access-dialog table{width:100%;border-collapse:collapse}.role-access-dialog th,.role-access-dialog td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #e4e8ec}.role-access-dialog th{white-space:nowrap}.role-access-dialog td{min-width:130px}.role-access-dialog .section-title{position:sticky;top:-24px;background:#fff;padding:12px 0;z-index:1}.role-access-dialog p{margin:14px 0}@media(max-width:700px){.preview-bar{flex-wrap:wrap}.preview-bar>div{flex-wrap:wrap;max-width:100%}.preview-bar select{max-width:100%;min-height:44px}.preview-bar button{min-height:44px}.role-access-dialog{padding:16px}.role-access-dialog .section-title{top:-16px}}

.business-profile-frame{display:block;width:100%;height:calc(100dvh - 235px);min-height:650px;border:0;background:#fff}.business-profile-frame:focus-visible{outline:3px solid #93b3e9}@media(max-width:700px){.business-profile-frame{min-height:560px}}

.workspace-menu-toggle{display:none}
@media(max-width:700px){
 .preview-note{display:none}.preview-bar>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;width:100%;gap:6px}.preview-bar #session-account{grid-column:1/3;grid-row:1;line-height:1.5}.preview-bar #sign-out{grid-column:3;grid-row:1}.preview-bar label[for=role]{grid-column:1;grid-row:2}.preview-bar #role{grid-column:2;grid-row:2;max-width:100%;width:100%;min-width:0;padding-right:8px}.preview-bar #role-access{grid-column:3;grid-row:2}.preview-bar button{padding:6px 9px}.workspace-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.workspace-menu-heading .role-name{padding:0}.workspace-menu-toggle{display:inline-flex;min-height:44px;flex:none}.workspace .sidebar-inner{padding:0}.workspace .sidebar nav{display:none}.workspace .sidebar.workspace-menu-open nav{display:block;overflow:visible;margin-top:12px}.workspace .sidebar.workspace-menu-open .bottom{display:block}.workspace .sidebar .side-link{white-space:normal;min-height:44px}.workspace .sidebar .side-group{min-width:0}.workspace .sidebar .side-submenu{margin-left:12px}.workspace .sidebar .side-submenu .side-link{min-height:44px}
}

@media(max-width:700px){.workspace>.sidebar{padding:14px}.workspace>.sidebar .sidebar-inner{padding:0}}



/* Profile Views uses the same report and access boundary in both workspaces. */
.profile-view-panel{padding:28px}.profile-view-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;padding-bottom:24px;margin-bottom:24px;border-bottom:1px solid var(--line,#dce3ec)}.profile-view-filters label{display:grid;gap:7px;font-size:14px;font-weight:600;min-width:0}.profile-view-business{flex:1;min-width:240px!important;max-width:520px}.profile-view-filters select,.profile-view-filters input:not([type=hidden]){min-height:44px;max-width:100%;width:100%;font-weight:400;border:1px solid #c5d0df;border-radius:8px;padding:10px 12px;background:#fff}.profile-view-picker{position:relative}.profile-view-picker input{padding-right:16px}.profile-view-business-menu{position:absolute;z-index:20;top:calc(100% + 6px);left:0;right:0;min-width:240px;background:#fff;border:1px solid #c5d0df;border-radius:10px;box-shadow:0 12px 28px #142b4c20;padding:6px}.profile-view-business-menu[hidden]{display:none}.profile-view-business-menu [role=listbox]{max-height:280px;overflow:auto}.profile-view-business-menu [role=option]{display:block;width:100%;border:0;border-radius:6px;background:transparent;text-align:left;color:inherit;padding:12px;min-height:44px;font:inherit;cursor:pointer}.profile-view-business-menu [role=option]:hover,.profile-view-business-menu .is-highlighted,.profile-view-business-menu [aria-selected=true]{background:#edf3fb;color:#2d5b9f}.profile-view-business-menu p{padding:8px;font-weight:400}.profile-view-business-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px}.profile-view-business-pages:empty{display:none}.profile-view-business-pages .outline{padding:8px}.profile-view-summary{display:flex;justify-content:space-between;align-items:center;gap:16px}.profile-view-business-name{font-weight:600;color:#526479;margin:0 0 8px}.profile-view-total{font-size:36px;line-height:1.2;color:var(--navy,#142b4c);letter-spacing:-1px}.profile-view-summary>p{font-size:14px;text-align:right;color:#526479;margin:0}.profile-view-timezone{display:block;font-size:12px;margin-top:6px}.profile-view-chart{margin:28px 0 24px}.profile-view-chart-grid{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px}.profile-view-axis{height:200px;padding-top:8px;display:flex;flex-direction:column;justify-content:space-between;font-size:12px;color:#718198;text-align:right}.profile-view-plot{min-width:0}.profile-view-plot svg{display:block;width:100%;height:220px;overflow:visible}.profile-view-gridline{stroke:#e5ebf3;stroke-width:1;vector-effect:non-scaling-stroke}.profile-view-line{fill:none;stroke:#416fbd;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}.profile-view-point{fill:#fff;stroke:#416fbd;stroke-width:2;vector-effect:non-scaling-stroke}.profile-view-labels{display:grid;gap:0;color:#718198;font-size:12px;text-align:center;margin-top:6px}.profile-view-labels span{overflow:visible;white-space:nowrap}.profile-view-counts{border-top:1px solid #e5ebf3;padding-top:18px}.profile-view-counts summary{font-size:14px;cursor:pointer}#profile-views table{width:100%;margin-top:12px}#profile-views th,#profile-views td{text-align:left;padding:10px}#profile-views td{font-variant-numeric:tabular-nums}@media(max-width:600px){.profile-view-panel{padding:20px 16px}.profile-view-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px}.profile-view-business{grid-column:1/-1;min-width:0!important;max-width:none}.profile-view-filters>button{grid-column:1/-1}.profile-view-summary{align-items:flex-start}.profile-view-total{font-size:32px}.profile-view-summary>p{font-size:12px;max-width:110px}.profile-view-chart-grid{grid-template-columns:25px minmax(0,1fr);gap:6px}.profile-view-plot svg{height:200px}.profile-view-axis{height:183px}.profile-view-labels{font-size:10px}.profile-view-chart{margin-top:22px}}


#business-workspace>.page-title>label{display:grid;gap:7px;min-width:210px;max-width:100%}#business-workspace>.page-title select{min-height:44px;padding:8px 12px;border:1px solid #cdd3db;border-radius:8px;max-width:100%;background:white}@media(max-width:600px){#business-workspace>.page-title{align-items:stretch}#business-workspace>.page-title>label{width:100%}}

/* Keep workspace Kelly above the shared header and its Close control reachable. */
.kelly-panel{z-index:2100;top:12px;bottom:12px;height:auto;max-height:calc(100dvh - 24px);display:flex;flex-direction:column}.kelly-panel[hidden]{display:none}.kelly-panel .kelly-messages{flex:1;min-height:80px;overflow:auto}.kelly-panel .panel-head{flex-shrink:0}.kelly-panel textarea{max-height:120px}.kelly-panel .panel-note{white-space:normal}@media(max-width:700px){.kelly-panel{top:0;bottom:0;max-height:100dvh;width:min(100%,430px)}}

.profile-view-territory{flex:1;min-width:180px;max-width:320px}@media(max-width:600px){.profile-view-territory{grid-column:1/-1;max-width:none}}
