:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17202c;background:#f5f7f5;font-synthesis:none;--blue:#34745d;--muted:#697587;--line:#e4e9ef}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8dbca5;outline-offset:3px}a{color:inherit;text-decoration:none}.app{display:flex;min-height:100vh}.sidebar{width:232px;flex-shrink:0;background:white;border-right:1px solid var(--line);padding:33px 20px 22px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{font-size:35px;letter-spacing:-2px;font-weight:750;display:flex;align-items:center;gap:9px;padding:0 11px}.brand-dot{color:var(--blue);margin-left:-10px}.brand-mark{display:grid;place-items:center;background:var(--blue);color:#fff;font-size:30px;font-style:italic;letter-spacing:-3px;width:33px;height:33px;border-radius:10px;padding-right:4px}.workspace{margin:37px 2px 30px;padding:15px 9px;display:flex;align-items:center;gap:10px;border-block:1px solid var(--line)}.workspace-icon{background:#eaf3ed;color:var(--blue);height:35px;width:35px;display:grid;place-items:center;border-radius:9px;font-size:14px;font-weight:650}.workspace strong{font-size:12px;display:block;max-width:130px}.workspace small{display:block;font-size:11px;color:var(--muted);margin-top:4px}nav{display:grid;gap:6px}.nav-item{width:100%;border:0;background:transparent;text-align:left;display:flex;gap:13px;align-items:center;padding:12px 14px;border-radius:9px;color:#616d7e;font-size:13px;font-weight:550}.nav-item span{font-size:21px;width:22px;text-align:center;line-height:1}.nav-item:hover{background:#f5f7f5}.nav-item.active{background:#eaf3ed;color:var(--blue)}.sidebar-bottom{margin-top:auto;padding:30px 10px 0}.local-note{font-size:11px;display:flex;align-items:center;gap:7px;margin-bottom:19px}.status-dot{width:6px;height:6px;border-radius:50%;background:#20a678}.sidebar-bottom label{display:block;font-size:10px;color:var(--muted);margin-bottom:7px}.sidebar-bottom select{width:100%;font-size:11px;border:1px solid var(--line);border-radius:6px;background:white;padding:8px 4px}.sidebar-bottom p{font-size:10px;line-height:1.6;color:#7a8695}.main-shell{margin-left:232px;flex:1;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff}.breadcrumb{font-size:12px;color:#8090a1;display:flex;gap:15px}.breadcrumb strong{font-weight:500;color:#394657}.breadcrumb span{color:#c1c9d3}.topbar-right{display:flex;align-items:center;gap:15px}.topbar-right>span:first-child{font-size:10px;color:var(--muted)}.avatar{display:grid;place-items:center;width:31px;height:31px;background:#eff1f5;border:2px solid #fff;box-shadow:0 0 0 1px var(--line);border-radius:50%;font-size:11px;font-weight:600}.icon-button{border:0;background:transparent;font-size:24px;color:var(--muted);width:32px;height:32px;border-radius:7px}.icon-button:hover{background:#eef3f9}main{padding:43px 42px 28px;max-width:1640px;margin:auto;min-height:calc(100vh - 125px)}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:30px}.page-heading h1{font-size:29px;letter-spacing:-1px;font-weight:650;margin:0 0 8px}.page-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.button{border:1px solid transparent;border-radius:8px;padding:10px 15px;font-size:12px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-height:37px}.primary{background:var(--blue);color:#fff;box-shadow:0 2px 3px #34745d17}.primary:hover{background:#285d49}.secondary{background:white;border-color:var(--line);color:#425066}.secondary:hover{background:#f4f7fa}.danger{color:#bd3d42;background:#fff3f3;border-color:#f7dddd}.small{font-size:10px;min-height:29px;padding:6px 9px}.button .plus{font-size:18px;font-weight:400;line-height:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:29px}.metric{background:white;border:1px solid var(--line);border-radius:11px;padding:21px 23px}.metric-label{font-size:11px;color:var(--muted)}.metric-value{font-size:29px;letter-spacing:-1px;margin-top:13px;font-weight:600}.metric-note{font-size:10px;color:#8090a1;margin-top:10px}.metric-icon{float:right;color:#87a390;font-size:19px}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-header{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line)}h2{font-size:15px;letter-spacing:-.2px;font-weight:600;margin:0}.text-button{background:none;border:0;padding:3px;color:var(--blue);font-size:11px}.dashboard-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:23px}.empty{padding:40px 24px;text-align:center;color:var(--muted);font-size:12px;line-height:1.6}.empty strong{display:block;color:#3a485b;font-weight:550;margin-bottom:6px}.agenda-item{display:flex;align-items:center;gap:17px;padding:20px 24px;border-bottom:1px solid #eff2f6}.agenda-item:last-child{border:0}.time-block{min-width:48px;font-size:11px;color:#5a6a7e;line-height:1.7}.time-block strong{font-size:13px;color:#26354a}.agenda-marker{height:38px;width:3px;background:#62977b;border-radius:3px}.agenda-body{flex:1;min-width:0}.agenda-body strong{font-size:12px;font-weight:550;display:block}.agenda-body p{font-size:10px;color:var(--muted);margin:6px 0 0}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:9px;font-weight:550;background:#edf5ef;color:#39745c;white-space:nowrap}.badge.green{color:#238263;background:#eaf7f1}.badge.grey{background:#f0f2f6;color:#798392}.pipeline-summary{padding:23px}.pipeline-row{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:18px}.pipeline-row:last-child{margin-bottom:0}.stage-label{display:flex;align-items:center;gap:9px}.stage-dot{width:7px;height:7px;border-radius:50%;background:var(--stage,#9ab2d0)}.pipeline-row strong{font-weight:550}.quiet-note{padding:15px 23px;border-top:1px solid var(--line);background:#fbfcfe;font-size:10px;color:var(--muted);line-height:1.6}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px}.search{width:280px;max-width:100%;padding:10px 13px;border:1px solid var(--line);background:#fff;border-radius:8px;font-size:12px}.count-label{font-size:11px;color:var(--muted)}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;font-weight:500;color:#7d8998;background:#fafbfd;padding:13px 22px;border-bottom:1px solid var(--line)}td{font-size:11px;padding:17px 22px;border-bottom:1px solid #eff2f6}tr:last-child td{border:0}.contact-name{display:flex;align-items:center;gap:11px;font-weight:550}.contact-avatar{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#edf4ee;color:#52775f;font-size:11px}.contact-detail{font-size:10px;color:var(--muted)}.row-actions{display:flex;gap:7px;justify-content:flex-end}.table-scroll{overflow:auto}.calendar-top{display:flex;align-items:center;gap:12px}.calendar-top input{border:1px solid var(--line);border-radius:8px;padding:9px 12px;background:white;font-size:12px}.calendar-grid{display:grid;grid-template-columns:63px 1fr;min-height:570px}.time-column{border-right:1px solid var(--line);padding-top:47px}.time-label{height:75px;text-align:center;font-size:9px;color:#8895a5}.day-column{position:relative;background:repeating-linear-gradient(to bottom,transparent 0,transparent 74px,#edf1f6 74px,#edf1f6 75px);background-position:0 47px}.day-header{height:47px;background:#fff;border-bottom:1px solid var(--line);padding:15px 20px;font-size:11px;color:#5c6a7f}.calendar-events{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;padding:20px;position:relative;align-content:start}.booking-card{background:#eff6f0;border:1px solid #dcebdd;border-left:3px solid #62977b;padding:15px;border-radius:7px;min-width:0}.booking-card.cancelled{background:#f7f8fa;border-color:#e8ecf1;opacity:.75}.booking-card h3{font-size:12px;margin:9px 0 6px;font-weight:600}.booking-card p{font-size:10px;line-height:1.6;margin:4px 0;color:#60738e}.booking-card .row-actions{justify-content:flex-start;margin-top:14px;flex-wrap:wrap}.booking-time{font-size:10px;color:#3e755b;font-weight:550}.calendar-note{font-size:10px;color:var(--muted);padding:16px 22px;border-top:1px solid var(--line)}.board{display:grid;grid-template-columns:repeat(6,minmax(175px,1fr));gap:12px;overflow:auto;padding-bottom:12px}.stage-column{background:#edf0f5;border-radius:10px;padding:13px;min-height:350px}.stage-heading{display:flex;justify-content:space-between;align-items:center;padding:3px 2px 14px;font-size:11px}.stage-heading .stage-label{font-weight:550}.stage-heading>span{background:#e0e5ed;border-radius:5px;padding:3px 6px;font-size:9px;color:#647085}.deal-card{padding:15px 13px;border:1px solid #e2e7ee;border-radius:8px;background:#fff;margin-bottom:10px}.deal-card h3{font-size:12px;margin:0 0 7px;font-weight:550}.deal-card p{font-size:10px;color:var(--muted);margin:0 0 17px}.deal-value{font-size:17px;letter-spacing:-.5px;font-weight:600}.deal-card select{width:100%;font-size:10px;margin-top:15px;padding:7px 3px;border:1px solid var(--line);border-radius:5px;background:#fff;color:#56677f}.board-empty{font-size:10px;color:#8c98a8;text-align:center;padding:35px 5px}.loading{padding:120px 20px;text-align:center;color:var(--muted);font-size:13px}footer{max-width:1640px;margin:auto;padding:0 42px 20px;color:#94a0ae;font-size:10px;display:flex;justify-content:space-between}dialog{padding:0;width:470px;max-width:calc(100% - 30px);border:1px solid #e3e8ef;border-radius:16px;box-shadow:0 24px 100px #1f324330;color:#17202c}dialog::backdrop{background:#17283d45;backdrop-filter:blur(4px)}#editor-form{padding:26px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.dialog-kicker{font-size:10px;color:var(--muted);margin:0 0 7px}.dialog-heading h2{font-size:22px;letter-spacing:-.6px}.field{display:block;margin:0 0 17px;font-size:11px;font-weight:500}.field input,.field select{display:block;width:100%;padding:11px 12px;margin-top:7px;border:1px solid #dbe2eb;border-radius:7px;background:#fff;font-size:12px;color:#26364a}.field small{display:block;font-weight:400;color:var(--muted);font-size:10px;margin-top:6px;line-height:1.6}.form-error{color:#bd3d42;font-size:11px;line-height:1.6;min-height:0}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:24px;padding-top:19px;border-top:1px solid var(--line)}.toast{position:fixed;bottom:25px;left:calc(50% + 116px);transform:translateX(-50%);padding:13px 19px;border-radius:9px;background:#1c3047;color:white;box-shadow:0 8px 30px #17304b25;font-size:12px;z-index:20;max-width:85vw}.error-panel{padding:30px;border:1px solid #f0cdd0;background:#fff7f7;border-radius:12px;font-size:13px;color:#9b3b41;line-height:1.7}.error-panel .button{margin-top:14px}.mobile-only{display:none}@media(min-width:1500px){main{padding-top:54px}.page-heading{margin-bottom:35px}.page-heading h1{font-size:33px}}@media(max-width:1100px){.sidebar{width:195px;padding-inline:13px}.main-shell{margin-left:195px}.topbar{padding:0 25px}main{padding:32px 25px}.metrics{gap:10px}.metric{padding:18px 15px}.metric-value{font-size:25px}.dashboard-grid{grid-template-columns:1fr}.toast{left:calc(50% + 97px)}footer{padding-inline:25px}}@media(max-width:700px){.app{display:block}.sidebar{position:relative;width:100%;height:auto;padding:18px 20px 0;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:28px;padding:0}.brand-mark{height:29px;width:29px;font-size:26px}.workspace{position:absolute;top:19px;right:20px;margin:0;padding:0;border:0}.workspace-icon{display:none}.workspace strong{max-width:160px;font-size:10px;text-align:right}.workspace small{text-align:right;font-size:9px}nav{display:flex;gap:1px;margin-top:24px;justify-content:space-between}.nav-item{display:block;text-align:center;padding:12px 8px;border-radius:0;border-bottom:2px solid transparent;font-size:10px;width:auto}.nav-item span{display:none}.nav-item.active{background:transparent;border-bottom-color:var(--blue)}.sidebar-bottom{padding:0;position:absolute;right:20px;top:57px;margin:0}.sidebar-bottom label,.sidebar-bottom p,.local-note{display:none}.sidebar-bottom select{font-size:9px;padding:3px;border:0;color:var(--muted);width:140px}.main-shell{margin-left:0}.topbar{height:48px;padding:0 20px}.topbar-right>span:first-child{font-size:9px}.avatar{display:none}.breadcrumb{font-size:10px;gap:9px}main{padding:26px 18px;min-height:calc(100vh - 200px)}.page-heading{align-items:flex-start;margin-bottom:23px;gap:10px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px;max-width:230px}.page-heading .button{padding:9px 11px;font-size:10px;min-height:34px}.metrics{grid-template-columns:1fr 1fr;gap:11px;margin-bottom:21px}.metric{padding:17px}.metric-value{font-size:26px;margin-top:10px}.metric-label{font-size:10px}.metric-note{font-size:9px;margin-top:8px}.panel-header{padding:18px}.agenda-item{padding:18px;gap:12px}.agenda-body strong{font-size:11px}.dashboard-grid{gap:18px}.toolbar{align-items:flex-start;gap:8px}.search{width:210px;font-size:11px}.count-label{font-size:10px;padding-top:11px}th,td{padding:13px 15px}.calendar-top{gap:6px;flex-wrap:wrap;justify-content:flex-end}.calendar-top input{font-size:10px;padding:8px;width:125px}.calendar-grid{grid-template-columns:43px 1fr}.calendar-events{grid-template-columns:1fr;padding:12px}.day-header{font-size:10px;padding-left:13px}.time-label{font-size:8px}.board{grid-template-columns:repeat(6,225px);gap:12px}.toast{left:50%;width:max-content;text-align:center;bottom:17px}footer{padding:0 18px 20px;font-size:9px}.dialog-heading h2{font-size:21px}#editor-form{padding:23px}}@media(prefers-reduced-motion:no-preference){.button,.nav-item{transition:background .15s}.toast{animation:appear .15s ease-out}dialog[open]{animation:appear .18s ease-out}@keyframes appear{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.calendar-agenda{min-height:350px}.agenda-day .day-header{height:auto;min-height:47px}.agenda-day .calendar-events{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));min-height:290px;background:#fafcfe}.agenda-day .booking-card{align-self:start}.agenda-day .empty{grid-column:1/-1}.brand{letter-spacing:-1.7px}

.stage-new{--stage:#a5b7cd}.stage-contacted{--stage:#6c9d82}.stage-qualified{--stage:#8b83b8}.stage-proposal{--stage:#c5a66b}.stage-won{--stage:#55a88d}.stage-lost{--stage:#b6bdc9}.metric-value.money-value{font-size:22px}.confirmation-copy{line-height:1.8}

/* Quiet floating chrome; work surfaces remain solid and readable. */
:root{--blue:#286247;--muted:#5b655f;--line:#e1e7e1;background:#f6f7f4;color:#1d2421}
.sidebar{background:rgba(255,255,255,.78);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.sidebar nav{padding:6px;background:rgba(249,252,249,.72);border:1px solid rgba(207,221,210,.58);border-radius:15px;box-shadow:0 3px 14px #314d3a05}
.topbar{position:sticky;top:14px;z-index:10;margin:18px 27px 0;height:60px;border:1px solid rgba(214,225,217,.8);border-radius:16px;background:rgba(255,255,255,.76);backdrop-filter:blur(20px) saturate(125%);-webkit-backdrop-filter:blur(20px) saturate(125%);box-shadow:0 5px 22px #253e2d06;padding-inline:23px}
.button,.button.small,.text-button,.icon-button{min-height:44px}.icon-button{min-width:44px}.text-button{padding-inline:8px}.primary{background:#286247}.primary:hover{background:#1f5039}.field input,.field select,.search,.calendar-top input,.pipeline-picker select{border-color:#87948c;min-height:44px}.brand-mark{background:#286247}.brand-dot{color:#286247}.nav-item.active{color:#286247;background:#edf5ee}
.heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.badge.amber{background:#fbefd4;color:#88631a}.booking-card.pending{background:#fff9eb;border-color:#eee0bb;border-left-color:#c4a153}.pending-policy{font-size:10px;line-height:1.6;color:#77684b}.stage-open{--stage:#729783}.pipeline-picker select{background:white;border:1px solid #87948c;border-radius:8px;padding:10px 35px 10px 13px;font-size:12px;max-width:300px;min-width:190px}.pipeline-toolbar{align-items:center}.stage-settings-list{margin:19px 0 22px;border-top:1px solid var(--line)}.stage-settings-row{padding:10px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:10px}.stage-settings-row strong{display:block;font-size:12px;font-weight:550}.stage-settings-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.stage-settings-row .row-actions{gap:2px}.stage-settings-row .icon-button{font-size:18px}.stage-settings-row .button{padding-inline:8px}.stage-settings-row button:disabled{opacity:.28;cursor:default}dialog .contact-detail{line-height:1.7}.stage-column{min-width:175px}.row-actions{flex-wrap:wrap}.brand{font-size:33px;letter-spacing:-1.8px}.dialog-actions{gap:8px}
@media(max-width:1100px){.topbar{margin-inline:18px}main{padding-top:27px}}
@media(max-width:700px){.sidebar{background:rgba(255,255,255,.88)}.sidebar nav{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}.topbar{margin:10px 12px 0;top:8px;border-radius:12px;height:49px;padding-inline:13px}.page-heading{flex-wrap:wrap}.heading-actions{gap:7px}.page-heading .heading-actions{width:100%;justify-content:flex-end}.pipeline-toolbar{flex-wrap:wrap}.pipeline-picker{width:100%}.pipeline-picker select{width:100%;max-width:none}.pipeline-toolbar .heading-actions{width:100%;justify-content:flex-start}.brand{font-size:28px}.stage-settings-row .icon-button{min-width:36px}.stage-settings-row .row-actions{flex-wrap:nowrap}main{padding-top:25px}.sidebar .nav-item{min-height:44px}.toolbar .count-label{padding-top:0}}
@media(prefers-reduced-motion:no-preference){.topbar,.sidebar nav{transition:box-shadow .18s ease,background .18s ease}.nav-item,.button{transition:background .16s ease,color .16s ease}.button:active{transform:translateY(1px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.topbar{background:rgba(250,252,249,.78);border-top-color:rgba(255,255,255,.95);box-shadow:0 8px 24px rgba(29,36,33,.07)}.sidebar nav{background:rgba(236,242,236,.65)}.nav-item.active{background:rgba(255,255,255,.88);box-shadow:0 2px 7px #1d24210d;border:1px solid #ffffffb3}.nav-item{border:1px solid transparent}main{min-height:calc(100dvh - 135px)}dialog{max-height:calc(100dvh - 32px);overflow-y:auto}.sidebar-bottom{padding-bottom:env(safe-area-inset-bottom,0px)}
@media(max-width:700px){.field input,.field select,.search,.pipeline-picker select,.calendar-top input{font-size:16px}.sidebar nav{background:transparent}.nav-item.active{background:#ffffffb3;border-color:transparent;border-bottom-color:#286247;box-shadow:none}footer{padding-bottom:max(20px,env(safe-area-inset-bottom))}main{min-height:calc(100dvh - 215px)}}
@media(prefers-reduced-motion:no-preference){.nav-item{transition:background .2s,color .2s,box-shadow .2s}.button:active{transform:scale(.985)}}

.business-brand{display:block;font-size:21px;font-weight:650;letter-spacing:-.65px;padding:4px 10px;line-height:1.25;overflow-wrap:anywhere}.product-credit{font-size:13px;font-weight:600;letter-spacing:-.3px;color:#5b655f;margin-top:22px}.breadcrumb #active-business{color:#5b655f;max-width:230px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace strong{font-size:11px}.workspace small{font-size:10px}.topbar-right{flex-shrink:0}
@media(max-width:700px){.business-brand{padding:0;font-size:18px;max-width:50%;min-height:40px}.workspace{max-width:42%;top:19px}.workspace strong{font-size:9px}.workspace small{font-size:8px}.sidebar-bottom .product-credit{display:none}.breadcrumb #active-business{max-width:155px}.topbar-right{gap:6px}}

.slot-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:24px 0}.checkbox-field{display:flex;align-items:center;gap:10px;min-height:44px;font-size:12px;cursor:pointer}.checkbox-field input{width:18px;height:18px;accent-color:#286247;margin:0}.checkbox-field small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.resource-options{border:1px solid #b1beb4;border-radius:9px;margin:22px 0 18px;padding:12px 15px}.resource-options legend{font-size:11px;font-weight:550;padding:0 6px}.resource-options>p{margin:0 0 8px}[hidden]{display:none!important}

/* Keep development controls and product credit reachable on short desktops. */
@media(min-width:701px){.sidebar{max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.sidebar>*{flex-shrink:0}.sidebar-bottom{flex-shrink:0}}
@media(min-width:701px) and (max-height:800px){.sidebar{padding-top:22px;padding-bottom:16px}.sidebar .workspace{margin-top:22px;margin-bottom:18px;padding-block:12px}.sidebar-bottom{padding-top:18px}.sidebar-bottom p{margin:8px 0}.sidebar-bottom .product-credit{margin-top:10px}}
/* Calendar actions wrap as a group instead of extending past the work surface. */
.sage-calendar{min-width:0}.sage-calendar .page-heading{width:100%;min-width:0;flex-wrap:wrap;align-items:flex-start}.sage-calendar .page-heading>div:first-child{flex:1 1 320px;min-width:0}.sage-calendar .sc-heading-actions{flex:0 1 auto;max-width:100%;margin-left:auto;justify-content:flex-end}.sage-calendar .sc-heading-actions .button{max-width:100%;white-space:normal}

/* Compact working surfaces; native details keeps secondary actions keyboard/touch accessible. */
.page-heading{margin-bottom:20px;gap:16px}.page-heading h1{font-size:28px;line-height:1.2}.page-heading p{margin-top:6px;line-height:1.45}main{padding-top:24px}
.deal-card{padding:14px;display:grid;grid-template-columns:minmax(0,1fr) 44px;column-gap:8px;row-gap:6px;align-items:start}.deal-card>h3,.deal-card>p,.deal-card>.tag-chips,.deal-card>.deal-value{grid-column:1/-1;margin:0}.deal-card>h3{font-size:14px;line-height:1.4}.deal-card>p{font-size:12px;line-height:1.4}.deal-card>.deal-value{margin:3px 0 4px}.deal-card>label{min-width:0;align-self:start}.deal-card select{width:100%;min-height:44px;padding:8px 10px;font-size:12px}.deal-overflow{min-width:0}.deal-overflow summary{display:flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--control-stroke,#87948c);border-radius:10px;cursor:pointer;list-style:none}.deal-overflow summary::-webkit-details-marker{display:none}.deal-overflow summary:focus-visible{outline:3px solid var(--blue,#286247);outline-offset:3px}.deal-overflow[open]{grid-column:1/-1}.deal-overflow[open] summary{width:44px;margin-left:auto}.deal-overflow-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.deal-overflow-actions .button{flex:1 0 auto;white-space:nowrap;min-height:44px}.deal-card:has(.deal-overflow[open]){position:relative}
@media(max-width:700px){main{padding-top:18px}.page-heading{margin-bottom:16px}.page-heading h1{font-size:24px}.page-heading p{max-width:none}.deal-card{padding:12px}}

.deal-card>.tag-chips:empty{display:none}.sc-toolbar{margin-bottom:12px}.sc-filter-row{margin-bottom:12px}

.deal-owner{grid-column:1/-1;color:var(--muted);font-size:11px;line-height:1.4}

.pipeline-filters{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.pipeline-toolbar>.heading-actions{margin-left:auto}@media(max-width:700px){.pipeline-filters{width:100%}.pipeline-filters .tag-filter{flex:1}.pipeline-filters .tag-filter select{width:100%}}

/* Keep all four labelled destinations available while mobile content scrolls. */
@media(max-width:700px){.sidebar nav{position:fixed;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:30;margin:0;padding:4px;border:1px solid rgba(207,221,210,.8);border-radius:16px;background:rgba(250,252,249,.94);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 4px 24px #1d242119}.sidebar .nav-item{flex:1;min-height:48px;display:grid;place-items:center;padding:8px 3px;font-size:11px;border:0;border-radius:12px}.sidebar .nav-item.active{background:#edf5ee;color:#286247}main{padding-bottom:90px}footer{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}}
/* Native date/time controls must not widen a narrow dialog. */
dialog{width:min(470px,calc(100vw - 30px));max-width:calc(100vw - 30px);min-width:0;overflow-x:hidden}#editor-form,.dialog-heading,.field{min-width:0;max-width:100%}.field input,.field select{min-width:0;max-width:100%}.dialog-heading>div{min-width:0}.dialog-heading h2{overflow-wrap:anywhere}
@media(max-width:700px){.sidebar{backdrop-filter:none;-webkit-backdrop-filter:none;filter:none}}
