:root {
    --bg:#f8f6f5;
    --paper:#fff;
    --ink:#30282e;
    --muted:#756d72;
    --line:#eee5e8;
    --accent:#92596f;
    --accent-dark:#754357;
    --soft:#f7edf0;
    --sidebar:#fff;
    --shadow:0 6px 24px #46303d08;
    --radius:17px;
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    color:var(--ink);
    background:var(--bg);
    font-size:14px
}
* {
    box-sizing:border-box
}
body {
    margin:0
}
a {
    color:inherit;
    text-decoration:none
}
button,input,select,textarea {
    font:inherit
}
button,a,input,select,textarea {
    touch-action:manipulation
}
button {
    cursor:pointer
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
    outline:2px solid var(--accent);
    outline-offset:3px
}
h1,h2,p {
    margin:0
}
h1 {
    font-size:26px;
    letter-spacing:-.7px
}
h2 {
    font-size:18px;
    letter-spacing:-.35px
}
.sidebar {
    position:fixed;
    inset:0 auto 0 0;
    width:245px;
    background:var(--sidebar);
    border-right:1px solid var(--line);
    display:flex;
    flex-direction:column;
    padding:27px 18px;
    z-index:5
}
.brand {
    display:flex;
    gap:12px;
    align-items:center;
    font-size:17px;
    font-weight:700;
    line-height:1.2;
    margin-bottom:50px;
    overflow-wrap:anywhere
}
.brandmark {
    background:#e8cfd8;
    color:#78475e;
    display:grid;
    place-items:center;
    position:relative;
    width:45px;
    height:45px;
    flex-shrink:0;
    border-radius:14px;
    font:italic 35px Georgia,serif
}
.brandmark span {
    font:16px Georgia;
    position:absolute;
    right:4px;
    top:3px
}
.brand small {
    display:block;
    color:var(--muted);
    font-size:8px;
    letter-spacing:1.3px;
    font-weight:600;
    margin-top:5px
}
.nav-label {
    font-size:10px;
    font-weight:700;
    color:var(--muted);
    letter-spacing:1.2px;
    margin:0 12px 12px
}
.navlink {
    display:flex;
    gap:12px;
    align-items:center;
    padding:13px 12px;
    margin:3px 0;
    border-radius:11px;
    color:#635b62;
    font-weight:550
}
.navlink:hover,.navlink.selected {
    background:var(--soft);
    color:var(--accent-dark)
}
.navicon {
    width:24px;
    text-align:center;
    font-size:20px;
    line-height:1
}
.sidebottom {
    margin-top:auto;
    border-top:1px solid var(--line);
    padding:17px 10px 0;
    color:var(--muted);
    font-size:12px
}
.secure-dot {
    display:inline-block;
    width:7px;
    height:7px;
    background:#62927a;
    border-radius:50%;
    margin-right:5px
}
.logout {
    margin-top:13px;
    padding:0;
    background:none;
    border:0;
    color:var(--accent-dark);
    font-weight:600
}
.shell {
    margin-left:245px
}
.topbar {
    background:var(--paper);
    border-bottom:1px solid var(--line);
    display:flex;
    align-items:center;
    gap:15px;
    justify-content:space-between;
    padding:20px 34px
}
.eyebrow {
    font-size:10px;
    letter-spacing:1.35px;
    font-weight:750;
    color:var(--accent)
}
.topbar h1 {
    margin-top:5px
}
.topright {
    display:flex;
    gap:16px;
    align-items:center;
    color:var(--muted)
}
.avatar {
    width:39px;
    height:39px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--soft);
    color:var(--accent-dark);
    font-weight:700
}
.menu-toggle {
    display:none
}
.content {
    max-width:1540px;
    margin:0 auto;
    padding:29px 34px 15px
}
.hero {
    padding:27px 28px;
    border:1px solid #e8d8dd;
    border-radius:var(--radius);
    background:linear-gradient(112deg,#f6e8ed,#fbf3ee);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px
}
.hero h2 {
    font:normal clamp(25px,3vw,39px) Georgia,serif;
    letter-spacing:-.8px;
    margin:8px 0
}
.hero p,.panel-head p {
    color:var(--muted);
    line-height:1.5
}
.metrics {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:15px;
    margin:17px 0 23px
}
.metric {
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    padding:19px;
    display:flex;
    flex-direction:column;
    gap:9px;
    min-width:0
}
.metric span {
    font-weight:600;
    color:var(--muted);
    font-size:12px
}
.metric strong {
    font-size:clamp(22px,2.4vw,31px);
    letter-spacing:-1px;
    overflow-wrap:anywhere;
    font-variant-numeric:tabular-nums
}
.metric small,.muted {
    color:var(--muted);
    font-size:12px;
    line-height:1.5
}
.split {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
    align-items:start
}
.panel {
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:22px;
    box-shadow:var(--shadow);
    margin-bottom:20px;
    min-width:0
}
.panel-head {
    margin-bottom:18px
}
.panel-head p {
    font-size:12px;
    margin-top:5px
}
.btn {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    border:1px solid #e5dbe0;
    background:#fff;
    color:var(--accent-dark);
    padding:10px 14px;
    min-height:39px;
    border-radius:9px;
    font-weight:650;
    font-size:12px;
    line-height:1.3;
    text-align:center;
    white-space:normal
}
.btn:hover {
    background:var(--soft)
}
.btn.primary {
    background:var(--accent);
    border-color:var(--accent);
    color:white
}
.btn.primary:hover {
    background:var(--accent-dark)
}
.btn.small {
    padding:6px 10px;
    min-height:30px;
    font-size:11px
}
.actions,.toolbar,.filter {
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap
}
.toolbar {
    justify-content:space-between;
    margin-bottom:20px
}
.filter label {
    display:flex;
    align-items:center;
    gap:8px;
    color:var(--muted);
    font-size:12px
}
.filter input {
    max-width:100%
}
.inline {
    display:inline-block;
    margin:4px 2px
}
.form-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px
}
.field {
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0
}
.field span {
    font-weight:600;
    font-size:12px;
    color:#5d5159
}
.wide {
    grid-column:1/-1
}
input,select,textarea {
    border:1px solid #e2d9de;
    border-radius:9px;
    background:#fdfcfc;
    color:var(--ink);
    padding:10px 11px;
    min-height:40px;
    width:100%;
    min-width:0
}
textarea {
    resize:vertical
}
.filter input {
    width:auto
}
.table-wrap {
    overflow-x:auto;
    margin-top:10px
}
table {
    width:100%;
    border-collapse:collapse;
    font-size:13px;
    white-space:nowrap
}
th {
    text-align:left;
    color:var(--muted);
    font-weight:600;
    font-size:11px;
    background:#faf7f8
}
th,td {
    padding:13px 11px;
    border-bottom:1px solid var(--line);
    vertical-align:middle
}
tbody tr:last-child td {
    border-bottom:0
}
.stronglink {
    font-weight:700;
    color:var(--accent-dark)
}
.stronglink:hover {
    text-decoration:underline
}
.block {
    display:block;
    color:var(--muted);
    margin-top:4px
}
.pill {
    display:inline-block;
    padding:4px 8px;
    border-radius:99px;
    background:#f1ecee;
    color:#6b5b65;
    font-size:10px;
    font-weight:700;
    white-space:nowrap
}
.pill.confirmed,.pill.done,.pill.actual {
    background:#e7f2eb;
    color:#39734e
}
.pill.cancelled,.pill.no_show,.pill.void {
    background:#f9e9e9;
    color:#9b4b50
}
.pill.forecast,.pill.planned {
    background:#f7edda;
    color:#906925
}
.appointment {
    display:flex;
    align-items:center;
    gap:13px;
    padding:12px 0;
    border-bottom:1px solid var(--line)
}
.appointment:last-of-type {
    margin-bottom:13px
}
.appointment>div:nth-child(2) {
    flex:1;
    min-width:0
}
.appointment small {
    display:block;
    color:var(--muted);
    font-size:11px;
    margin-top:3px
}
.appt-time {
    font-weight:700;
    color:var(--accent-dark);
    min-width:50px
}
.summaryline {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    padding:13px 0;
    border-bottom:1px solid var(--line)
}
.summaryline strong {
    text-align:right;
    font-variant-numeric:tabular-nums
}
.summaryline:last-of-type {
    margin-bottom:14px
}
.empty {
    padding:22px 10px;
    text-align:center;
    color:var(--muted);
    border:1px dashed var(--line);
    border-radius:10px;
    margin-bottom:12px
}
.chart {
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:10px
}
.barcol {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    font-size:11px;
    color:var(--muted);
    min-width:0
}
.barcol span {
    font-size:10px;
    overflow-wrap:anywhere;
    text-align:center
}
.bartrack {
    height:110px;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center
}
.bartrack progress {
    appearance:none;
    transform:rotate(-90deg);
    height:18px;
    width:105px;
    flex-shrink:0;
    border:none;
    border-radius:6px;
    overflow:hidden;
    background:var(--soft);
    accent-color:var(--accent)
}
progress::-webkit-progress-bar {
    background:var(--soft);
    border-radius:6px
}
progress::-webkit-progress-value {
    background:var(--accent);
    border-radius:6px
}
progress::-moz-progress-bar {
    background:var(--accent);
    border-radius:6px
}
.calendar {
    display:grid;
    grid-template-columns:repeat(7,minmax(0,1fr));
    gap:8px;
    margin-bottom:22px
}
.calendar-day {
    min-height:230px;
    border:1px solid var(--line);
    border-radius:13px;
    background:var(--paper);
    padding:8px;
    min-width:0
}
.calendar-day.current {
    border-color:var(--accent)
}
.dayhead {
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:5px;
    margin-bottom:10px
}
.dayhead span {
    grid-column:1/-1;
    font-size:10px;
    color:var(--muted)
}
.dayhead strong {
    font:25px Georgia,serif
}
.dayhead a {
    font-size:19px;
    color:var(--accent);
    padding:3px
}
.cal-event {
    display:flex;
    flex-direction:column;
    gap:5px;
    background:var(--soft);
    border-left:3px solid var(--accent);
    padding:9px 7px;
    border-radius:8px;
    margin:6px 0;
    overflow-wrap:anywhere
}
.cal-event small,.cal-event span:not(.pill) {
    font-size:10px;
    color:var(--muted)
}
.cal-event strong {
    font-size:12px
}
.cal-event .pill {
    align-self:flex-start;
    max-width:100%;
    white-space:normal
}
.cal-event.cancelled,.cal-event.no_show {
    opacity:.65
}
.dayview {
    grid-template-columns:1fr
}
.dayview .cal-event {
    max-width:650px
}
.contactname {
    font-size:18px;
    font-weight:700;
    margin-bottom:12px
}
.positive {
    color:#38714f
}
.negative {
    color:#a24e55
}
.alert {
    padding:14px 17px;
    border-radius:12px;
    background:#e7f2eb;
    color:#326344;
    border:1px solid #d6e8dd;
    margin-bottom:18px
}
.alert.error {
    background:#fbe9e9;
    border-color:#f2d3d4;
    color:#913b43
}
footer {
    display:flex;
    justify-content:space-between;
    color:var(--muted);
    font-size:11px;
    padding:14px 0
}
.auth {
    max-width:470px;
    margin:8vh auto;
    padding:20px
}
.auth-brand {
    text-align:center;
    margin-bottom:30px
}
.auth-brand .brandmark {
    margin:0 auto 15px;
    width:58px;
    height:58px
}
.auth-brand h1 {
    font:32px Georgia,serif
}
.auth-brand p {
    color:var(--muted);
    margin-top:8px
}
.auth .form-grid {
    grid-template-columns:1fr
}
.auth .btn {
    width:100%
}
.auth .panel {
    padding:27px
}
.muted {
    margin:10px 0
}

@media(max-width:1150px) {
    .calendar {
    grid-template-columns:repeat(4,minmax(0,1fr))
}
.calendar.dayview {
    grid-template-columns:1fr
}
.split {
    grid-template-columns:1fr
}
.metric strong {
    font-size:26px
}

}
@media(max-width:800px) {
    .sidebar {
    transform:translateX(-100%);
    transition:transform .18s ease;
    box-shadow:8px 0 40px #3a263521;
    overflow:auto;
    top:74px
}
.sidebar.open {
    transform:translateX(0)
}
.shell {
    margin-left:0
}
.topbar {
    padding:14px 17px;
    justify-content:flex-start;
    min-height:74px;
    position:sticky;
    top:0;
    z-index:6
}
.topbar h1 {
    font-size:21px
}
.menu-toggle {
    display:block;
    background:var(--soft);
    border:0;
    border-radius:9px;
    padding:8px 12px;
    color:var(--accent);
    font-size:20px
}
.topright {
    margin-left:auto
}
.today {
    display:none
}
.content {
    padding:18px 15px
}
.hero {
    padding:22px;
    align-items:flex-start;
    flex-direction:column
}
.calendar {
    grid-template-columns:repeat(2,minmax(0,1fr))
}
.calendar-day {
    min-height:145px
}
.panel {
    padding:17px
}
.metrics {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
}
.metric {
    padding:14px
}
.metric strong {
    font-size:22px
}
.chart {
    gap:4px
}
.bartrack progress {
    height:14px
}
.filter input {
    max-width:190px
}
.brand {
    margin-bottom:30px
}

}
@media(max-width:400px) {
    .form-grid {
    grid-template-columns:1fr
}
.metric strong {
    font-size:19px
}
.calendar {
    grid-template-columns:1fr
}
.panel {
    padding:14px
}
.topbar .eyebrow {
    font-size:8px
}
.chart .barcol span {
    font-size:9px
}

}
@media(prefers-reduced-motion:reduce) {
    * {
    transition:none!important
}

}



/* Atelier 1.1 — warm editorial workspace, local assets only. */
:root {
    --bg: #f7f5f3;
    --paper: #fff;
    --ink: #2f2630;
    --muted: #716873;
    --line: #eae4e7;
    --accent: #90516d;
    --accent-dark: #713e56;
    --soft: #f5eaf0;
    --sidebar: #302530;
    --radius: 16px;
    --shadow: 0 3px 14px #35223208;
    --sidebar-width: 258px;
}
body { font-size: 14px; }
.sidebar { width: var(--sidebar-width); padding: 28px 18px 20px; border: 0; color: #f8eef3; overflow-y: auto; }
.brand { padding: 0 6px; margin: 0 0 34px; min-height: 48px; color: #fff; }
.brandmark { background: #e9cbd8; color: #62384b; box-shadow: inset 0 0 0 1px #ffffff38; }
.brandtext { min-width: 0; }
.brand small { color: #cdb9c8; font-size: 9px; letter-spacing: 1.5px; }
.navgroup { margin-bottom: 25px; }
.nav-label { margin: 0 12px 8px; color: #baabb9; font-size: 10px; letter-spacing: 1.5px; }
.navlink { color: #e1d5df; border: 1px solid transparent; padding: 11px 12px; min-height: 45px; font-size: 13px; font-weight: 500; }
.navlink:hover { background: #473644; color: #fff; }
.navlink.selected { background: #594052; color: #fff; border-color: #78566b; font-weight: 650; }
.navicon { display: grid; place-items: center; width: 21px; flex: 0 0 21px; color: #d7acbf; }
.navicon svg, .private-label svg, .logout svg, .today svg { width: 19px; height: 19px; flex-shrink: 0; }
.nav-indicator { width: 6px; height: 6px; border-radius: 50%; background: #f0bfce; margin-left: auto; }
.sidebottom { padding: 16px 5px 0; border-top: 1px solid #554450; color: #f0e2ec; }
.private-label { display: flex; align-items: center; gap: 11px; background: #3c303c; padding: 12px; border-radius: 10px; }
.private-label svg { color: #d8b7c8; }
.private-label span { font-size: 12px; font-weight: 600; }
.private-label small { display: block; color: #c7b7c4; font-weight: 400; margin-top: 3px; }
.logout { display: flex; align-items: center; gap: 10px; color: #e9d8e3; padding: 10px; width: 100%; margin-top: 8px; border-radius: 8px; }
.logout:hover { background: #473644; color: white; }
.shell { margin-left: var(--sidebar-width); min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 4; min-height: 72px; padding: 14px 32px; }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; min-width: 0; }
.breadcrumb strong { color: var(--ink); }
.breadcrumb svg { width: 15px; height: 15px; flex-shrink: 0; }
.today { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.avatar { border: 1px solid #e8d8e1; }
.content { padding: 30px 32px 16px; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin: 0 0 24px; }
.page-heading h1 { font-size: clamp(26px,3vw,34px); letter-spacing: -1.3px; margin: 5px 0 6px; }
.page-heading p { color: var(--muted); line-height: 1.6; font-size: 13px; }
.hero { position: relative; overflow: hidden; background: linear-gradient(115deg,#f3e4eb 0%,#f8ede7 100%); padding: 30px; border: 1px solid #e9d8e0; }
.hero:before { content: ''; position: absolute; width: 240px; height: 240px; border: 1px solid #d5b6c66b; border-radius: 50%; right: 7%; top: -150px; pointer-events: none; }
.hero > * { position: relative; }
.hero h2 { color: #57394b; }
.metrics { gap: 16px; }
.metric { position: relative; padding: 20px; border-top: 3px solid #c497ad; }
.metric:nth-child(2) { border-top-color: #d6ae88; }
.metric:nth-child(3) { border-top-color: #86a79c; }
.metric:nth-child(4) { border-top-color: #ab9bc9; }
.metric strong { font-size: clamp(22px,2.1vw,30px); }
.panel { padding: 23px; }
.panel-head { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.panel-head h2 { font-size: 17px; }
.btn { min-height: 42px; font-size: 13px; padding: 10px 15px; }
.btn.primary { box-shadow: 0 3px 8px #90516d26; }
.btn.small { min-height: 34px; font-size: 12px; }
input,select,textarea { min-height: 44px; background: #fff; }
.field span { font-size: 13px; }
.table-wrap { border: 1px solid var(--line); border-radius: 10px; }
th { background: #f7f4f6; padding: 13px; }
td { padding: 13px; }
tbody tr:hover { background: #fcf9fa; }
.cal-event:hover { background: #ead9e5; }
.calendar-day { min-height: 260px; }
.dayhead { padding: 5px 3px 9px; border-bottom: 1px solid var(--line); }
.date-jump { margin: -4px 0 18px; }
.appointment:hover { background: #fbf8fa; }
.scrim[hidden] { display: none; }
.scrim { position: fixed; inset: 0; background: #241a26a0; border: 0; z-index: 7; }
.skip-link { position: fixed; top: 10px; left: 10px; background: #fff; color: #302530; padding: 12px; z-index: 20; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.auth-page { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(ellipse at 10% 15%,#efdee6,transparent 55%),radial-gradient(ellipse at 90% 90%,#f1e4d7,transparent 50%),#f7f5f3; }
.auth { width: min(100%,480px); margin: 24px auto; }
.auth .panel { padding: 30px; box-shadow: 0 15px 65px #51364a12; }
.auth-note { text-align: center; color: var(--muted); font-size: 12px; }
@media (min-width: 1200px) { .metrics { grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); } }
@media (max-width: 1150px) { .calendar { grid-template-columns: repeat(4,minmax(0,1fr)); } .calendar.dayview { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
    .sidebar { top: 0; z-index: 8; width: min(290px,86vw); padding: 23px 17px; }
    .shell { margin: 0; }
    .topbar { z-index: 6; min-height: 64px; padding: 12px 16px; }
    .menu-toggle { width: 42px; height: 42px; padding: 10px; display: grid; place-items: center; flex-shrink: 0; }
    .menu-toggle svg { width: 22px; height: 22px; }
    .today { display: none; }
    .breadcrumb { gap: 5px; font-size: 12px; }
    .breadcrumb > span,.breadcrumb > svg { display: none; }
    .content { padding: 20px 16px; }
    .page-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 20px; }
    .hero { padding: 22px; }
    .metrics { gap: 10px; }
    .metric { padding: 15px 12px; }
    .metric strong { font-size: 22px; }
    .panel { padding: 16px; }
    .calendar { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .calendar-day { min-height: 150px; }
    .nav-open { overflow: hidden; }
    input, select, textarea { font-size: 16px; }
}
@media (max-width: 400px) { .calendar { grid-template-columns: 1fr; } .metric strong { font-size: 19px; } .content { padding: 16px 12px; } .auth .panel { padding: 22px; } }

/* V1.2 — pilotage fiscal */
.fiscal-hero { margin-bottom: 20px; }
.fiscal-filter { flex-wrap: wrap; align-items: end; }
.fiscal-filter select { min-height: 40px; }
.fiscal-notice { background: #fff5e3; border: 1px solid #e8d6ad; color: #654c24; padding: 14px; border-radius: 12px; margin-bottom: 18px; }
.fiscal-switch { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px; border:1px solid var(--line); background:var(--soft); border-radius:12px; cursor:pointer; }
.fiscal-switch span { display:grid; gap:4px; }
.fiscal-switch small { color:var(--muted); font-weight:normal; }
.fiscal-switch input { appearance:none; width:46px; height:26px; min-width:46px; background:#a69ba2; border-radius:24px; padding:3px; margin:0; cursor:pointer; transition:background .15s; }
.fiscal-switch input::before { content:''; display:block; width:20px; height:20px; border-radius:50%; background:white; transition:transform .15s; }
.fiscal-switch input:checked { background:var(--accent); }
.fiscal-switch input:checked::before { transform:translateX(20px); }
.fiscal-switch input:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.fiscal-inline { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:14px; }
.fiscal-inline .metric { box-shadow:none; }
.fiscal-total td { font-weight:700; background:var(--soft); }
#profil { scroll-margin-top:85px; }
@media (max-width:650px) { .fiscal-inline { grid-template-columns:1fr; } .fiscal-filter label { flex:1 1 100%; } .fiscal-filter select,.fiscal-filter input { width:100%; } }

/* V1.3 — budget annuel */
.annual-hero{margin-bottom:20px}.annual-filter{flex-wrap:wrap;align-items:end}.annual-filter input{width:120px}.annual-shortcut{margin-bottom:16px}.annual-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.annual-legend{display:flex;gap:18px;flex-wrap:wrap;margin-bottom:16px;color:var(--muted);font-size:13px}.annual-legend span{display:flex;align-items:center;gap:6px}.annual-legend i{width:11px;height:11px;border-radius:3px}.annual-budget-dot{background:#d6bdcc}.annual-actual-dot{background:#6a9988}.annual-proj-dot{background:#90516d}.annual-chart{display:grid;gap:11px}.annual-chart-row{display:grid;grid-template-columns:90px minmax(0,1fr) 100px;align-items:center;gap:12px;font-size:12px}.annual-chart-row>span{text-align:right;font-variant-numeric:tabular-nums}.annual-bars{display:grid;gap:3px}.annual-bars progress{display:block;width:100%;height:6px;border:0;border-radius:8px;overflow:hidden;background:#f4eef2;appearance:none}.annual-bars progress::-webkit-progress-bar{background:#f4eef2}.annual-budget-bar{accent-color:#d6bdcc}.annual-actual-bar{accent-color:#6a9988}.annual-proj-bar{accent-color:#90516d}.annual-budget-bar::-webkit-progress-value{background:#d6bdcc}.annual-actual-bar::-webkit-progress-value{background:#6a9988}.annual-proj-bar::-webkit-progress-value{background:#90516d}.annual-budget-bar::-moz-progress-bar{background:#d6bdcc}.annual-actual-bar::-moz-progress-bar{background:#6a9988}.annual-proj-bar::-moz-progress-bar{background:#90516d}.annual-scenarios{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.annual-scenario{border:1px solid var(--line);border-radius:12px;padding:17px;display:grid;gap:8px;min-width:0}.annual-scenario.central{background:#f8edf3;border-color:#dbc3d1}.annual-scenario>strong{font-size:clamp(20px,2.4vw,30px);overflow-wrap:anywhere}.annual-scenario>small,.annual-scenario>span:not(.eyebrow){color:var(--muted);font-size:12px}.annual-scenario .summaryline{gap:7px;flex-wrap:wrap;font-size:12px}.annual-quick{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:15px 0}.annual-quick .field{flex:1;min-width:160px}.annual-budget-table{min-width:960px}.annual-budget-table td input{width:100%;min-width:105px}.annual-budget-table th{white-space:normal}.annual-budget-table td,.annual-budget-table th{padding:9px}.annual-budget-form .muted{margin:12px 0}#budget{scroll-margin-top:85px}@media(max-width:850px){.annual-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.annual-scenarios{grid-template-columns:1fr}}@media(max-width:480px){.annual-chart-row{grid-template-columns:65px minmax(0,1fr) 78px;gap:6px;font-size:11px}.annual-metrics{grid-template-columns:1fr}.annual-quick .btn{width:100%}.annual-quick .field{min-width:100%}}
@media(max-width:650px){.annual-budget-form .table-wrap{overflow:visible;border:0}.annual-budget-table{min-width:0;display:block}.annual-budget-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.annual-budget-table tbody{display:grid;gap:12px}.annual-budget-table tr{display:grid;gap:6px;border:1px solid var(--line);border-radius:12px;padding:12px}.annual-budget-table th,.annual-budget-table td{display:block;border:0;padding:0;background:transparent}.annual-budget-table th{font-size:15px;margin-bottom:6px}.annual-budget-table td:before{content:attr(data-label);display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.annual-budget-table td input{min-width:0}}

/* Treasury and recurring schedules — V1.4 */
#recurring {scroll-margin-top:85px}
.cash-steps {display:grid;gap:14px}
.cash-steps>div {display:flex;align-items:flex-start;gap:12px;padding:12px;background:#faf5f8;border-radius:12px}
.cash-steps>div>span {background:#ecdbe5;color:#75465e;border-radius:9px;min-width:36px;height:36px;display:grid;place-items:center;font-size:12px;font-weight:700}
.cash-steps p {margin:0;display:grid;gap:5px;font-size:14px}
.cash-steps small {color:var(--muted);font-size:12px;line-height:1.55}
.cash-rules {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.cash-rule {border:1px solid var(--line);border-radius:13px;padding:16px;min-width:0;background:#fff}
.cash-rule-head {display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.cash-rule-head h3 {margin:5px 0;font-size:17px;overflow-wrap:anywhere}
.cash-rule-head>strong {font-size:19px;white-space:nowrap}
.cash-stop {display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-top:12px}
.cash-stop .field {flex:1;min-width:145px}
.cash-table {min-width:790px}
@media(max-width:850px){.cash-rules{grid-template-columns:1fr}}
