:root {
  color-scheme: light;
  --bg:#f5f7f4; --panel:#fff; --ink:#182720; --muted:#56675d; --border:#e2e9e2;
  --green:#256347; --green-dark:#174b36; --mint:#e8f2e8;
  --font: 'Segoe UI Variable','Segoe UI',system-ui,sans-serif;
  --shadow:0 2px 4px #132c1605,0 8px 25px #243b2810;
}
* {box-sizing:border-box;}
body {margin:0;background:var(--bg);color:var(--ink);font-family:var(--font);font-size:14px;min-width:300px;}
button,input,select,textarea {font:inherit;}
button {cursor:pointer;color:inherit;}
button:disabled {cursor:default;opacity:.55;}
a {color:inherit;text-decoration:none;}
svg {display:inline-block;vertical-align:middle;flex:none;}
strong,b {font-weight:680;}
h1,h2,h3,p {margin:0;}
button,a,input,select,textarea {outline-offset:3px;}
:focus-visible {outline:2px solid #347654;}
::selection {background:#d1e9d5;color:var(--green-dark);}
[hidden] {display:none!important;}
.sr-only,.skip:not(:focus) {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
.skip:focus {position:fixed;top:8px;left:8px;z-index:30;padding:.7rem;background:white;border-radius:8px;}
.layout {display:grid;grid-template-columns:222px minmax(0,1fr);min-height:100dvh;}
.sidebar {position:sticky;top:0;height:100dvh;display:flex;flex-direction:column;background:#fbfcfa;border-right:1px solid var(--border);z-index:5;}
.brand {display:flex;gap:10px;align-items:center;padding:22px 19px 20px;}
.brand>span,.mobile-brand>span {width:39px;height:39px;display:grid;place-items:center;background:#214d37;color:#fff;border-radius:12px;box-shadow:0 2px 8px #1e4e3026;}
.brand strong {display:block;font-size:17px;letter-spacing:-.65px;line-height:1.2;}
.brand small {display:block;margin-top:4px;color:#65756a;font-size:9px;font-weight:750;letter-spacing:1.3px;}
.sidebar-body {padding:22px 12px 12px;display:flex;flex:1;flex-direction:column;overflow:auto;}
.nav-heading {display:block;margin:0 10px 11px;color:#65736a;font-size:9.5px;font-weight:750;letter-spacing:1.05px;}
.sidebar nav {display:grid;gap:4px;}
.nav-link {display:flex;align-items:center;gap:11px;padding:0 11px;min-height:42px;text-align:left;border:0;border-radius:9px;background:none;color:#465b50;font-weight:600;font-size:13px;transition:background .18s,color .18s;position:relative;}
.nav-link:hover {background:#edf3eb;color:#234e38;}
.nav-link[aria-current] {background:#e3efe3;color:#22563d;font-weight:720;}
.sidebar .nav-link[aria-current]::after {content:'';width:5px;height:5px;border-radius:100%;background:#549371;margin-left:auto;}
.sidebar-footer {display:grid;gap:13px;margin-top:auto;padding-top:28px;}
.profile {display:flex;align-items:center;gap:8px;text-align:left;width:100%;padding:10px 5px 2px;border:0;border-top:1px solid var(--border);background:none;}
.profile>span:nth-child(2) {min-width:0;flex:1;}
.profile strong,.profile small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.profile strong {font-size:12px;}
.profile small {font-size:11px;color:var(--muted);margin-top:2px;}
.profile>svg {color:#7d8a80;}
.avatar {display:inline-grid;place-items:center;flex:none;height:33px;width:33px;border-radius:50%;font-size:11px;font-weight:750;color:#305845;}
.avatar-lg {width:46px;height:46px;font-size:15px;}
.main-area {min-width:0;background:radial-gradient(ellipse 78% 390px at 90% 0,#eaf3e8 0,transparent 74%),var(--bg);}
.topbar {height:65px;padding:0 clamp(18px,3vw,43px);display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);background:#fcfdfbd9;}
.top-left,.top-right,.breadcrumbs {display:flex;align-items:center;gap:12px;min-width:0;}
.breadcrumbs {font-size:12px;color:var(--muted);gap:8px;}
.breadcrumbs strong {color:#294035;}
.global-search {width:233px;display:flex;align-items:center;gap:8px;min-height:36px;padding:0 9px;border:1px solid #e1e8e0;border-radius:8px;background:#f8faf6;color:#54665b;font-size:12px;text-align:left;}
.global-search:hover {border-color:#b3cbb9;background:#fff;}
.global-search kbd {margin-left:auto;border:1px solid #e2e9e1;background:#fff;border-radius:4px;font:10px var(--font);padding:2px 4px;color:#596e5e;white-space:nowrap;}
.top-profile {border:0;border-radius:50%;padding:0;background:none;}
.top-profile .avatar {border:1px solid #d2e4d3;background:#e7f1e7;}
#connection {display:inline-flex;gap:5px;align-items:center;color:#7b4b2d;background:#f5e9da;border-radius:7px;font-size:11px;font-weight:650;padding:5px 8px;}
.mobile-nav,.mobile-brand,.nav-overlay {display:none;}
#workspace {padding:29px clamp(18px,3vw,43px) 38px;margin:0 auto;max-width:1560px;}
.page-head {display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:22px;}
.page-head h1 {font-size:clamp(27px,2.55vw,38px);font-weight:740;letter-spacing:-.054em;line-height:1.05;}
.page-head p {margin-top:9px;color:var(--muted);line-height:1.5;font-size:13px;}
.page-actions {display:flex;align-items:center;gap:9px;flex:none;}
.btn,.select {min-height:38px;border-radius:8px;white-space:nowrap;font-size:12px;font-weight:650;}
.btn {display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;border:1px solid transparent;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;}
.btn:active {transform:scale(.98);}
.primary {background:var(--green-dark);color:#fff;box-shadow:0 2px 6px #1b4b3428;}
.primary:hover {background:#246044;box-shadow:0 3px 10px #1b4b343b;}
.secondary,.select {background:#fff;border:1px solid #dce6dc;color:#304b3c;}
.secondary:hover,.select:hover {background:#f3f8f1;border-color:#bed2c2;}
.quiet {background:#f1f6ef;color:#345c46;}
.quiet:hover {background:#e3efe3;}
.danger {background:#fff3ee;color:#9b3c33;}
.danger:hover {background:#fce6e1;}
.danger-solid {background:#9a3d33;color:#fff;}
.danger-solid:hover {background:#80312a;}
.select {padding:0 9px;cursor:pointer;max-width:100%;}
.plain {padding:0;border:0;background:none;color:inherit;text-align:left;}
.plain:hover {color:#246546;}
.icon-button {height:34px;width:34px;display:inline-grid;place-items:center;border:1px solid #e5ece3;background:#f9fbf8;color:#4d6556;border-radius:8px;padding:0;flex:none;transition:background .18s,border-color .18s;}
.icon-button:hover {background:#e7f1e7;border-color:#d0e1d2;color:#265741;}
.panel {border:1px solid var(--border);background:var(--panel);border-radius:15px;box-shadow:var(--shadow);min-width:0;}
.hero {position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:21px 25px;background:linear-gradient(106deg,#143b2c,#20503d 65%,#326349);color:#fff;border:1px solid #214b37;border-radius:16px;box-shadow:0 8px 22px #17432d26;min-height:141px;}
.hero::before {content:'';position:absolute;z-index:-1;inset:-80% -9% -80% 28%;opacity:.6;background:repeating-radial-gradient(ellipse at 74% 58%,transparent 0 19px,#a7dab62c 20px 21px,transparent 22px 29px);transform:rotate(-20deg);mask-image:linear-gradient(110deg,transparent 4%,#000 52%,#000);}
.hero::after {content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,transparent 48%,#0f322923);}
.hero-main,.hero-goal {min-width:0;}
.hero-label {display:flex;gap:8px;align-items:center;font-size:12px;color:#ddeddf;font-weight:650;}
.hero-label>span {display:grid;place-items:center;width:27px;height:27px;border:1px solid #ffffff2d;border-radius:7px;background:#ffffff12;color:#cef1a9;}
.hero-main>strong {display:block;letter-spacing:-.05em;line-height:1.04;font-size:clamp(29px,3.25vw,48px);font-weight:720;margin:9px 0 6px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.hero-caption {font-size:12px;color:#d6e7d9;}
.hero-goal {width:min(290px,40%);padding:10px 12px 9px;background:#133e30b8;border:1px solid #ffffff27;border-radius:10px;backdrop-filter:blur(7px);}
.goal-label,.goal-label>span {display:flex;align-items:center;gap:7px;}
.goal-label {justify-content:space-between;color:#e0eee0;font-size:12px;}
.goal-label strong {color:#def8be;font-size:14px;}
.goal-track {margin:8px 0 5px;border-radius:10px;background:#ffffff2b;height:6px;overflow:hidden;}
.goal-track>i {display:block;height:100%;width:var(--progress);border-radius:inherit;background:#b5e38d;animation:goal .8s .25s backwards;transform-origin:0 50%;}
.hero-goal small {font-size:11px;color:#dfede0;}
.kpi-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:15px 0;}
.kpi {padding:13px 14px 14px;}
.symbol {display:inline-grid;place-items:center;width:35px;height:35px;border-radius:9px;flex:none;}
.mint {background:#e7f2e6;color:#326249;}.peach {background:#faecdf;color:#875135;}.lilac {background:#eee8fa;color:#635087;}.blue {background:#e7f0f4;color:#3d637c;}.green {background:#e2f2df;color:#306245;}.rose {background:#f8e8e9;color:#893e4f;}
.kpi-label {margin:8px 0 4px;color:#496155;font-size:12px;font-weight:650;}
.kpi strong {display:block;font-size:clamp(17px,1.8vw,27px);line-height:1.08;font-weight:720;letter-spacing:-.04em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.kpi small {display:block;margin-top:5px;color:var(--muted);font-size:11px;line-height:1.35;}
.dashboard-grid,.agenda-grid {display:grid;grid-template-columns:minmax(0,1.75fr) minmax(290px,1fr);gap:15px;}
.chart-panel,.agenda-panel,.recent-panel,.calendar-panel,.finance-chart {padding:16px 16px 10px;}
.panel-head {display:flex;align-items:flex-start;justify-content:space-between;gap:9px;}
.panel-head h2,.calendar-head h2,.settings-panel h2 {font-size:17px;font-weight:720;line-height:1.2;letter-spacing:-.035em;}
.panel-head p {color:var(--muted);font-size:11.5px;margin-top:4px;line-height:1.4;}
.chart-legend {display:flex;gap:13px;color:#52675a;font-size:11px;margin:12px 0 1px;flex-wrap:wrap;}
.chart-legend span {display:flex;align-items:center;gap:5px;}
.chart-legend i {width:8px;height:8px;background:#99c7ab;border-radius:2px;}
.chart-legend span:nth-child(2) i {background:#bc764f;border-radius:50%;}
.chart-unit {margin-left:auto;}
.chart {display:block;width:100%;max-height:252px;overflow:visible;}
.chart text {fill:#52665a;font:11px var(--font);}
.chart-grid {stroke:#e6eee6;stroke-dasharray:3 4;}
.chart-line {stroke-dasharray:1;animation:trace .83s .21s backwards;}
.chart-bar {transform-box:fill-box;transform-origin:center bottom;animation:goal .66s calc(.17s + var(--i)*.06s) backwards;}
@keyframes trace {from{stroke-dashoffset:1;}to{stroke-dashoffset:0;}}
@keyframes goal {from{transform:scale(0);}to{transform:scale(1);}}
.task-list {display:grid;margin-top:6px;}
.task-row {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #eaf0e9;}
.task-row:last-child {border-bottom:0;}
.task-row .symbol {width:34px;height:34px;}
.task-text {min-width:0;}
.task-text strong,.task-text small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.task-text strong {font-size:12px;}
.task-text small {margin-top:3px;color:var(--muted);font-size:10.5px;}
.check-task {width:28px;height:28px;padding:0;display:grid;place-items:center;border:1px solid #dce7dc;border-radius:7px;background:#fbfdfb;color:#597663;}
.check-task:hover,.is-done .check-task {background:#dcefe0;color:#245f41;border-color:#c1dfc9;}
.is-done .task-text strong {text-decoration:line-through;color:#64766a;}
.recent-panel {margin-top:15px;}
.recent-panel .panel-head {align-items:center;margin-bottom:5px;}
.recent-panel .btn {min-height:33px;}
.table-wrap {overflow:auto;}
.deal-table {border-collapse:collapse;width:100%;text-align:left;table-layout:auto;}
.deal-table th {font-size:11px;font-weight:650;color:#627468;background:#f5f8f3;padding:9px 9px;white-space:nowrap;}
.deal-table th:first-child {border-radius:6px 0 0 6px;}
.deal-table th:last-child {border-radius:0 6px 6px 0;}
.deal-table td {padding:6px 9px;border-bottom:1px solid #edf2ed;color:#4b6053;font-size:12px;}
.deal-table tr:last-child td {border-bottom:0;}
.deal-table td:last-child {width:32px;padding-right:3px;text-align:right;}
.deal-table .table-title {font-weight:690;color:var(--ink);}
.deal-table .table-title:hover {color:#30664a;}
.deal-table .icon-button {height:28px;width:28px;border:0;background:transparent;}
.deal-table .icon-button:hover {background:#e8f2e7;}
.amount {white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:680;}
.pill {display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:20px;font-size:10.5px;font-weight:660;white-space:nowrap;}
.pill i,.stage-dot {width:6px;height:6px;border-radius:50%;background:currentColor;flex:none;}
.mobile-company {display:none;}
.filter-row {display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-bottom:15px;}
.filter-search {display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:8px;padding:0 10px;color:var(--muted);min-height:38px;min-width:0;}
.filter-search:focus-within {border-color:#579a71;outline:2px solid #d7eadb;}
.filter-search input {width:100%;min-height:35px;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:13px;}
.segmented {display:flex;background:#fff;border:1px solid var(--border);border-radius:8px;padding:2px;gap:2px;}
.segmented button {border:0;background:none;width:33px;height:32px;}
.segmented button[aria-pressed=true] {background:#e2efe4;color:#25573c;}
.kanban {display:flex;gap:12px;overflow-x:auto;padding:0 2px 14px;scrollbar-color:#b9cebd transparent;scroll-snap-type:x proximity;}
.kanban-column {flex:1 0 188px;min-height:380px;padding:10px;background:#eaf0e9;border:1px solid #e0e9e0;border-radius:12px;scroll-snap-align:start;transition:background .2s,border .2s;}
.kanban-column.drop-active {background:#dceee0;border-color:#88b697;}
.kanban-column>header {display:flex;align-items:center;gap:6px;min-height:30px;}
.kanban-column h2 {font-size:12px;line-height:1.1;}
.kanban-column .icon-button {margin-left:auto;width:27px;height:27px;}
.kanban-column>header>b {background:#f9fbf8;color:#607366;border-radius:7px;padding:2px 5px;font-size:10px;}
.kanban-column>p {color:#426550;font-size:11px;margin:0 0 10px;font-weight:650;}
.kanban-cards {display:grid;gap:8px;}
.deal-card {padding:11px;background:#fff;border:1px solid #e1e8df;border-radius:9px;box-shadow:0 2px 5px #11311c0c;cursor:grab;transition:transform .16s,box-shadow .16s;}
.deal-card:hover {transform:translateY(-2px);box-shadow:0 6px 13px #173e2019;}
.deal-card.dragging {opacity:.5;cursor:grabbing;}
.deal-open {display:grid;width:100%;gap:4px;overflow-wrap:anywhere;}
.deal-open span,.deal-foot {font-size:10.5px;color:var(--muted);}
.deal-open strong {font-size:13px;}
.deal-open b {margin-top:3px;color:var(--green-dark);}
.deal-foot {display:flex;align-items:center;justify-content:space-between;margin-top:8px;}
.deal-foot .avatar {width:24px;height:24px;font-size:8px;}
.kanban-empty {padding:14px 6px;text-align:center;color:#63766a;border:1px dashed #c3d2c6;border-radius:8px;font-size:11px;}
.record-count {color:var(--muted);font-size:12px;}
.contact-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;}
.contact-card {padding:14px;}
.contact-top {display:flex;align-items:center;gap:8px;}
.contact-top>div {min-width:0;flex:1;}
.contact-top h2 {font-size:14px;overflow-wrap:anywhere;}
.contact-top p {font-size:11px;margin-top:3px;color:var(--muted);overflow-wrap:anywhere;}
.contact-details {display:grid;gap:6px;margin:13px 0;font-size:12px;}
.contact-details div {display:flex;align-items:center;gap:6px;min-width:0;}
.contact-details a {color:var(--green-dark);overflow-wrap:anywhere;}
.contact-details a:hover {text-decoration:underline;}
.contact-card>small {display:block;border-top:1px solid var(--border);padding-top:8px;color:var(--muted);}
.agenda-grid {align-items:start;}
.calendar-panel {padding-bottom:16px;}
.calendar-head,.calendar-head>div {display:flex;align-items:center;gap:5px;justify-content:space-between;}
.calendar-head h2,.agenda-grid .panel-head p {text-transform:capitalize;}
.calendar-head [data-month=prev]>svg {transform:rotate(180deg);}
.calendar-head button {min-height:32px;}
.calendar-grid {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-top:12px;}
.calendar-grid>span {text-align:center;padding:5px 0;color:var(--muted);font-size:10px;font-weight:650;}
.cal-day {display:flex;align-items:flex-start;flex-direction:column;gap:5px;padding:7px;min-height:61px;border:1px solid #e7eee5;background:#fafcf9;border-radius:7px;text-align:left;}
.cal-day:hover {background:#eaf4e9;}
.cal-day.outside {color:#758179;background:#f7f8f6;}
.cal-day[aria-current=date] b {color:#216342;text-decoration:underline;text-underline-offset:3px;}
.cal-day[aria-pressed=true] {background:#deefdf;border-color:#91b99a;}
.cal-day small {color:#315c43;background:#e2efe2;border-radius:4px;font-size:9px;padding:2px 3px;}
.cal-day i {display:none;width:5px;height:5px;background:#487a5a;border-radius:50%;}
.finance-kpis {margin-top:0;}
.finance-chart .chart {max-height:320px;}
.settings-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:start;}
.settings-panel {padding:17px;}
.settings-panel h2 {margin-top:9px;}
.settings-panel p {color:var(--muted);line-height:1.5;margin:6px 0 13px;}
.settings-actions {display:flex;flex-wrap:wrap;gap:6px;}
.empty {display:grid;justify-items:center;gap:7px;padding:24px 8px;text-align:center;}
.empty p {font-size:12px;color:var(--muted);}
.empty strong {font-size:14px;}
dialog {width:min(515px,calc(100% - 26px));max-height:calc(100dvh - 24px);border:1px solid #d8e5d8;border-radius:16px;background:#fff;padding:0;color:var(--ink);box-shadow:0 20px 65px #0e302645;}
dialog[open] {animation:appear .25s both;}
dialog::backdrop {background:#102c2290;backdrop-filter:blur(4px);animation:fade .2s both;}
.dialog-inner {padding:17px;}
.dialog-head {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}
.dialog-head h2 {font-size:23px;letter-spacing:-.045em;}
.dialog-head p {color:var(--muted);line-height:1.5;margin-top:6px;}
.dialog-actions {display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:8px;}
.dialog-head+.dialog-actions {margin-top:18px;}
.spacer {flex:1;}
form {display:grid;gap:12px;margin-top:13px;}
form label {display:grid;gap:5px;min-width:0;color:#435b4e;font-size:12px;font-weight:650;}
form input,form textarea,form select {display:block;width:100%;min-width:0;min-height:37px;border:1px solid #dce7dc;border-radius:8px;padding:6px 8px;background:#fbfdfb;color:var(--ink);font-weight:400;}
form textarea {resize:vertical;}
.field-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.settings-panel form>.btn {justify-self:start;}
.dialog-search {margin-top:12px;}
.search-hint {text-align:center;padding:17px 8px;color:var(--muted);font-size:12px;}
#results {display:grid;gap:4px;max-height:345px;overflow:auto;margin-top:5px;}
.search-result {display:flex;align-items:center;text-align:left;gap:8px;background:transparent;border:0;padding:5px;border-radius:8px;}
.search-result:hover {background:#edf5ee;}
.search-result>span:nth-child(2) {flex:1;min-width:0;}
.search-result strong,.search-result small {display:block;overflow-wrap:anywhere;}
.search-result small {color:var(--muted);}
#toast {position:fixed;right:18px;bottom:16px;z-index:20;display:flex;align-items:center;gap:7px;max-width:calc(100% - 28px);padding:10px 12px;color:#fff;background:#204e38;border-radius:9px;box-shadow:0 4px 16px #142e2455;visibility:hidden;opacity:0;transform:translateY(9px);transition:opacity .21s,transform .21s,visibility .21s;}
#toast.visible {visibility:visible;opacity:1;transform:translateY(0);}
.enter {animation:appear .44s cubic-bezier(.2,.7,.32,1) backwards;}
.hero.enter {animation-delay:.055s;}
.kpi.enter:nth-child(1) {animation-delay:.09s;}.kpi.enter:nth-child(2) {animation-delay:.13s;}.kpi.enter:nth-child(3) {animation-delay:.17s;}.kpi.enter:nth-child(4) {animation-delay:.21s;}
.dashboard-grid>.enter,.agenda-grid>.enter {animation-delay:.23s;}.dashboard-grid>.enter:nth-child(2),.agenda-grid>.enter:nth-child(2),.recent-panel.enter {animation-delay:.28s;}
.no-motion .enter,.no-motion .goal-track>i,.no-motion .chart-line,.no-motion .chart-bar {animation:none;}
@keyframes appear {from {opacity:0;transform:translateY(12px) scale(.992);filter:blur(2px);}to {opacity:1;transform:none;filter:none;}}
@keyframes fade {from {opacity:0;}to {opacity:1;}}
@keyframes drawer {from {transform:translateX(-100%);}to {transform:none;}}

@media (min-width:1450px) {#workspace{padding-top:35px;}.panel-head h2{font-size:18px;}.kpi{padding:15px 17px;}}
@media (max-width:1150px) {.layout{grid-template-columns:185px minmax(0,1fr);}.brand{padding-left:12px;}.dashboard-grid,.agenda-grid{grid-template-columns:minmax(0,1.5fr) minmax(245px,1fr);}.cal-day{min-height:49px;}}
@media (max-width:930px) {.layout{grid-template-columns:165px minmax(0,1fr);}.dashboard-grid,.agenda-grid{grid-template-columns:1fr;}.contact-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.chart{max-height:246px;}.brand strong{font-size:15px;}.brand>span{width:34px;height:34px;}}
@media (max-width:700px) {
  .layout{display:block;}.main-area{min-height:100dvh;}.topbar{height:54px;padding-inline:13px;}.breadcrumbs{display:none;}
  .mobile-brand{display:flex;align-items:center;gap:7px;font-weight:730;font-size:15px;letter-spacing:-.045em;}
  .mobile-brand>span{height:30px;width:30px;border-radius:9px;}.global-search{width:35px;min-height:34px;padding:0;justify-content:center;}.global-search span,.global-search kbd{display:none;}.top-right{gap:8px;}
  #workspace{padding:17px 12px calc(76px + env(safe-area-inset-bottom));}.page-head{align-items:flex-start;flex-wrap:wrap;margin-bottom:14px;gap:9px;}.page-head p{margin-top:5px;}.page-actions{flex-wrap:wrap;}.page-actions .btn,.page-actions .select{min-height:37px;}
  .sidebar{position:fixed;inset:0 auto 0 0;width:min(265px,80vw);transform:translateX(-105%);visibility:hidden;z-index:11;box-shadow:0 0 30px #173b302b;height:100dvh;}.sidebar.is-open{transform:none;visibility:visible;animation:drawer .24s cubic-bezier(.2,.7,.32,1) both;}.sidebar .brand{padding-left:15px;}.sidebar .profile{padding-bottom:env(safe-area-inset-bottom);}
  .nav-overlay{display:block;position:fixed;inset:0;z-index:10;background:#102e246b;border:0;animation:fade .2s both;}.mobile-nav{position:fixed;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));inset:auto 0 0;z-index:6;gap:2px;padding:4px 5px max(4px,env(safe-area-inset-bottom));background:#fcfefb;border-top:1px solid var(--border);box-shadow:0 -5px 24px #1935230d;}
  .mobile-nav .nav-link{padding:4px 1px;min-height:45px;display:grid;justify-items:center;align-content:center;gap:3px;font-size:10px;text-align:center;white-space:nowrap;}
  .hero{padding:14px;min-height:121px;gap:12px;}.hero-goal{width:45%;}.hero-main>strong{font-size:clamp(22px,5vw,35px);}.hero-caption{font-size:11px;}
  .kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0;}.kpi{padding:9px;}.kpi .symbol{height:31px;width:31px;}.kpi strong{font-size:21px;}.kpi-label{margin-top:5px;}.kpi small{margin-top:3px;}
  .dashboard-grid,.agenda-grid{gap:9px;}.panel{border-radius:12px;}.chart-panel,.agenda-panel,.recent-panel,.calendar-panel,.finance-chart{padding:11px 10px 7px;}.recent-panel{margin-top:9px;}
  .deal-table td,.deal-table th{padding:5px 4px;font-size:10px;}.deal-table td:nth-child(2),.deal-table th:nth-child(2){display:none;}.mobile-company{display:block;margin-top:2px;color:var(--muted);}.deal-table .pill{padding:3px 4px;gap:3px;font-size:9px;}.deal-table td:last-child{width:23px;padding:0;}.deal-table .icon-button{height:24px;width:22px;}.deal-table .icon-button svg{width:15px;}
  .kanban{gap:8px;}.kanban-column{flex-basis:220px;}.settings-grid{grid-template-columns:1fr;}.calendar-panel{padding-bottom:10px;}
  #toast{right:10px;bottom:calc(62px + env(safe-area-inset-bottom));}
}
@media (max-width:450px) {.goal-label{font-size:10px;}.goal-label svg{width:14px;}.hero-goal{padding:7px;}.hero-goal small{font-size:9px;}.contact-grid{grid-template-columns:1fr;}.cal-day small{display:none;}.cal-day i{display:inline-block;}.cal-day{padding:5px;min-height:36px;}.chart-legend{font-size:10px;}.chart text{font-size:16px;}.field-grid{gap:6px;}form input,form select,form textarea,.filter-search input{font-size:16px;}}
@media (max-width:340px) {.hero{flex-direction:column;align-items:stretch;gap:8px;}.hero-goal{width:100%;}.deal-table th:nth-child(3),.deal-table td:nth-child(3){display:none;}}
@media (prefers-reduced-motion:reduce) {*,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;transition-duration:.01ms!important;scroll-behavior:auto!important;}}
