:root{font-family:Inter,system-ui,sans-serif;color:#111;background:#f7f7f5;font-synthesis:none;--ink:#111;--muted:#858580;--line:#e5e5e0;--soft:#f0f0ec;--paper:#fff;--shadow:0 18px 48px #11111112}*{box-sizing:border-box}body{margin:0;min-width:1040px;background:linear-gradient(135deg,#fbfbfa,#f3f3ef);color:var(--ink)}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}.app-shell{display:grid;grid-template-columns:236px 1fr;min-height:100vh}.sidebar{border-right:1px solid var(--line);background:#fbfbfa;padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;font-weight:800;letter-spacing:-.04em;font-size:32px;line-height:1;padding:0 10px 42px}.brand>span{border-inline-start:1px solid #1114;padding-inline-start:11px}.brand-mark{display:block;flex:none;width:32px;height:32px;object-fit:contain}.side-label{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:#a09f99;padding:0 12px 10px}.nav-item{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;font-size:13px;color:#686863;margin-bottom:3px}.nav-item.active{background:#111;color:#fff;font-weight:600}.nav-icon{width:17px;text-align:center;font-size:15px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:18px}.profile{display:flex;gap:10px;align-items:center;padding:9px}.avatar{width:29px;height:29px;border-radius:50%;background:#deded8;display:grid;place-items:center;font-size:11px;font-weight:700}.profile strong{display:block;font-size:12px}.profile span{display:block;color:#9c9c96;font-size:10px;margin-top:2px}.main{padding:31px 40px 48px;max-width:1600px;width:100%;margin:0 auto}.topbar{display:flex;align-items:flex-start;justify-content:space-between}.eyebrow{font-size:11px;color:#999994;letter-spacing:.12em;text-transform:uppercase;margin:0 0 9px}.title{font-size:35px;line-height:1;margin:0;font-weight:800;letter-spacing:-.06em}.subtitle{font-size:12px;color:#858580;margin:12px 0 0}.top-actions{display:flex;gap:9px;align-items:center}.icon-btn,.outline-btn,.primary-btn{border:1px solid var(--line);background:#fff;border-radius:9px;height:36px;padding:0 13px;font-size:12px;font-weight:600;transition:.2s}.icon-btn{width:36px;padding:0;font-size:15px}.primary-btn{background:#111;color:#fff;border-color:#111;box-shadow:0 5px 12px #1112}.icon-btn:hover,.outline-btn:hover{border-color:#aaa;transform:translateY(-1px)}.primary-btn:hover{background:#333;transform:translateY(-1px)}.workspace-switcher{display:flex;gap:5px;margin-top:35px;border-bottom:1px solid var(--line);padding-bottom:0}.workspace-tab{padding:13px 18px 14px;color:#999994;font-size:12px;font-weight:600;border-bottom:2px solid transparent;margin-bottom:-1px}.workspace-tab.active{color:#111;border-color:#111}.toolbar{display:flex;align-items:center;justify-content:space-between;padding:23px 0 18px}.count{font-size:12px;color:#777;margin:0}.count strong{color:#111}.tools{display:flex;gap:8px}.search{width:220px;height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 12px;font-size:12px;outline:0}.search:focus{border-color:#aaa}.filter-select{height:34px;border:1px solid var(--line);border-radius:8px;background:#fff;padding:0 9px;font-size:12px;color:#555}.board{display:grid;grid-template-columns:repeat(6,minmax(150px,1fr));gap:18px;align-items:start;overflow-x:auto;padding-bottom:20px}.stage{min-width:150px}.stage-head{height:43px;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid #111;margin-bottom:16px}.stage-dot{display:none}.stage:nth-child(2) .stage-dot{background:#777}.stage:nth-child(3) .stage-dot{background:#aaa}.stage:nth-child(4) .stage-dot{background:#555}.stage:nth-child(5) .stage-dot{background:#111}.stage:nth-child(6) .stage-dot{background:#c7c7c1}.stage-title{font-size:12.5px;font-weight:700;line-height:1.1;text-align:center;letter-spacing:-.02em}.stage-count{position:absolute;right:0;top:50%;transform:translateY(-50%);color:#aaa;font-size:10px}.ticket-list{min-height:120px;display:flex;flex-direction:column;gap:9px;padding-bottom:20px}.ticket{background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px 12px;box-shadow:0 2px 8px #11100008;transition:transform .18s,box-shadow .18s,border-color .18s;cursor:grab;user-select:none}.ticket:hover{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#b8b8b2}.ticket.dragging{opacity:.42;transform:rotate(2deg)}.ticket.selected{border-color:#111;box-shadow:0 0 0 2px #1111}.ticket-name{font-size:12px;font-weight:700;line-height:1.35;margin-bottom:10px}.ticket-client{font-size:10px;color:#777;margin-bottom:13px}.ticket-foot{display:flex;align-items:center;justify-content:space-between}.tag{font-size:9px;color:#555;background:#f0f0ec;border-radius:4px;padding:4px 6px}.date{font-size:9px;color:#aaa}.empty{color:#aaa;font-size:11px;padding:15px 2px;border:1px dashed #d9d9d3;border-radius:9px;text-align:center}.panel{position:fixed;right:0;top:0;bottom:0;width:468px;background:#fff;border-left:1px solid var(--line);box-shadow:-15px 0 40px #11100012;padding:30px;transform:translateX(100%);transition:transform .25s ease;z-index:10;overflow:auto}.panel.open{transform:translateX(0)}.panel-close{float:right;font-size:20px;color:#999}.panel-kicker{color:#999;font-size:10px;text-transform:uppercase;letter-spacing:.13em;margin:22px 0 10px}.panel h2{font-size:25px;letter-spacing:-.05em;line-height:1.08;margin:0 0 8px}.panel-client{font-size:12px;color:#777}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:29px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0}.detail-label{font-size:9px;color:#aaa;text-transform:uppercase;letter-spacing:.1em;margin-bottom:5px}.detail-value{font-size:12px;font-weight:600}.panel-section{margin-top:25px}.panel-section h3{font-size:10px;text-transform:uppercase;letter-spacing:.12em;margin:0 0 9px}.panel-section p{font-size:12px;line-height:1.65;color:#666;margin:0}.panel-actions{display:flex;gap:8px;margin-top:28px}.panel-actions button{flex:1}.backdrop{display:none;position:fixed;inset:0;background:#1113;z-index:9}.backdrop.show{display:block}.modal{position:fixed;inset:0;display:none;place-items:center;z-index:20;background:#1114}.modal.show{display:grid}.modal-card{width:470px;background:#fff;border-radius:14px;padding:26px;box-shadow:0 30px 80px #1113}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head h2{margin:0;font-size:20px;letter-spacing:-.04em}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:10px;font-weight:600;color:#777}.field input,.field textarea,.field select{border:1px solid var(--line);border-radius:8px;padding:10px;font-size:12px;outline:0;background:#fafaf8}.field textarea{resize:vertical;min-height:72px}.field input:focus,.field textarea:focus,.field select:focus{border-color:#999}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}@media(max-width:1200px){.main{padding-left:28px;padding-right:28px}.board{gap:12px}}
:root{--ticket-color:#fff}
.stage-color-btn{font-size:11px;letter-spacing:1px;color:#aaa;padding:2px 3px;margin-left:5px;line-height:1;opacity:.7;transition:.2s}.stage-color-btn:hover{color:#111;opacity:1}.color-menu{display:none;position:absolute;z-index:5;top:31px;right:0;background:#fff;border:1px solid var(--line);border-radius:9px;padding:9px;box-shadow:var(--shadow);min-width:148px}.color-menu.open{display:block}.swatches{display:flex;gap:6px;flex-wrap:wrap}.swatch{width:20px;height:20px;border-radius:50%;border:1px solid #ffffffaa;box-shadow:0 0 0 1px #ddd;transition:.15s}.swatch:hover{transform:scale(1.12)}.custom-color{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#777;font-size:10px;margin-top:10px;padding-top:8px;border-top:1px solid var(--line)}.custom-color input{width:25px;height:22px;padding:0;border:0;background:none}.ticket{background:color-mix(in srgb,var(--ticket-color) 28%,#fff);border-color:color-mix(in srgb,var(--ticket-color) 65%,#ddd)}
.tools{position:relative}.card-settings-menu{display:none;position:absolute;right:0;top:43px;z-index:8;width:235px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:13px;box-shadow:var(--shadow)}.card-settings-menu.open{display:block}.settings-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}.settings-options{display:grid;gap:7px}.settings-options label{display:flex;gap:8px;align-items:center;font-size:11px;color:#555}.settings-options input{accent-color:#111}.ticket-fields{display:grid;gap:9px}.card-field{display:flex;flex-direction:column;gap:3px}.card-field span{font-size:8px;color:#999;text-transform:uppercase;letter-spacing:.08em}.card-field strong{font-size:11px;line-height:1.25}
.panel{transition:transform .38s cubic-bezier(.22,1,.36,1)}.edit-card{max-height:90vh;overflow:auto}.modal{animation:modal-in .18s ease-out}@keyframes modal-in{from{opacity:0}to{opacity:1}}
.panel-edit-form{padding-top:22px}.panel-form-title{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.12em;margin-bottom:15px}.panel-edit-form .field{margin-bottom:13px}.panel-edit-form .field input,.panel-edit-form .field textarea,.panel-edit-form .field select{width:100%;background:#fafaf8}.panel-edit-form .field textarea{min-height:86px}.panel-save{display:none}
.panel-edit-form{border-top:1px solid var(--line)}.panel-edit-form .field{gap:6px;margin:0 0 20px}.panel-edit-form .field label{font-size:9px;color:#aaa;text-transform:uppercase;letter-spacing:.11em;font-weight:600}.panel-edit-form .field input,.panel-edit-form .field textarea,.panel-edit-form .field select{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:7px 0;background:transparent;color:#222;font-size:13px;outline:0}.panel-edit-form .field input:focus,.panel-edit-form .field textarea:focus,.panel-edit-form .field select:focus{border-color:#111;box-shadow:none}.panel-edit-form .field textarea{min-height:72px;line-height:1.55}.danger-button{width:100%;margin-top:24px;background:#111;color:#fff;border:1px solid #111;border-radius:9px;height:38px;font-size:12px;font-weight:700;transition:.2s}.danger-button:hover{background:#333;transform:translateY(-1px)}
.link-row{display:grid;grid-template-columns:22px 1fr 1.6fr 22px;gap:7px;align-items:center;margin-bottom:8px}.link-row input,.link-add-row input{min-width:0}.link-icon{width:20px;height:20px;display:grid;place-items:center}.link-favicon{width:16px;height:16px}.link-generic{font-size:15px;color:#888}.link-remove{font-size:17px;color:#aaa;padding:0}.link-remove:hover{color:#111}.link-add-row{display:grid;grid-template-columns:1fr 1.6fr 28px;gap:7px;align-items:center;margin-top:8px}.link-add-row button{font-size:18px;color:#777}.link-add-row button:hover{color:#111}
.note-editor{border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.note-toolbar{display:flex;align-items:center;gap:2px;flex-wrap:wrap;padding:7px;border-bottom:1px solid var(--line);background:#fafaf8}.note-toolbar button{min-width:27px;height:27px;border-radius:5px;font-size:11px;color:#62625e}.note-toolbar button:hover,.note-toolbar button:focus-visible{background:#e8e8e3;color:#111}.note-divider{height:18px;border-left:1px solid #dadad5;margin:0 3px}.note-lines{min-height:128px;padding:11px 9px}.note-line{display:flex;align-items:flex-start;gap:7px;min-height:28px}.note-marker{flex:0 0 20px;width:20px;height:20px;margin-top:2px;border-radius:4px;font-size:12px;color:#777;padding:0}.note-line[data-type=todo] .note-marker{border:1px solid #aaa;height:16px;width:16px;flex-basis:16px;margin:4px 2px 0;font-size:12px;line-height:14px}.note-line.done .note-marker{background:#111;border-color:#111;color:#fff}.note-content{flex:1;min-width:0;min-height:24px;padding:3px 2px;outline:none;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.note-content:empty:before{content:'Viết ghi chú...';color:#aaa;pointer-events:none}.note-line.done .note-content{text-decoration:line-through;color:#aaa}.note-line[data-type=number] .note-marker{font-size:10px}.note-line[data-type=bullet] .note-marker{font-size:20px;line-height:16px}
.link-open{grid-column:2/4;color:#444;font-size:11px;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.link-open:hover{text-decoration:underline}.panel-edit-form .field:has(.note-editor){border-top:1px solid var(--line);padding-top:18px}.panel-edit-form{border-top:0}
.icon-btn{display:none}.nav-item:not(.active){display:none}.workspace-tab:not(.active){opacity:.55;cursor:not-allowed}.ticket-fields{gap:7px}.card-field:first-child span,.card-field:nth-child(2) span{display:none}.card-field:first-child strong{font-size:13px;letter-spacing:-.025em;line-height:1.35}.card-field:nth-child(2) strong{font-size:11px;font-weight:500;color:#666}.card-field span{font-size:9px;letter-spacing:.07em}.card-field strong{font-size:11px}.ticket{padding:14px 13px}.stage-color-btn{font-size:0;width:21px;height:21px;position:relative;opacity:.85}.stage-color-btn::after{content:' ';display:block;width:10px;height:10px;border:1.5px solid #777;border-radius:50%;margin:auto}.stage-color-btn:hover::after{border-color:#111;box-shadow:inset 0 0 0 2px #fff;background:#aaa}.panel .detail-grid{margin-bottom:18px}.panel-edit-form{padding-top:0}.panel-form-title{padding-top:3px}.panel-edit-form .field textarea{line-height:1.5}
.ticket:focus-visible{outline:2px solid #111;outline-offset:2px}.workspace-tab:disabled,.nav-item:disabled{opacity:.42;cursor:not-allowed}.stage-color-btn:focus-visible,.outline-btn:focus-visible,.primary-btn:focus-visible{outline:2px solid #111;outline-offset:2px}
.panel.open{animation:panel-enter .38s cubic-bezier(.22,1,.36,1) both}.panel.open.closing{animation:panel-exit .28s ease-in both}@keyframes panel-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes panel-exit{from{transform:translateX(0)}to{transform:translateX(100%)}}@media(prefers-reduced-motion:reduce){.panel.open,.panel.open.closing{animation:none}.ticket,.outline-btn,.primary-btn{transition:none}}
.main{min-width:0}.board{grid-template-columns:repeat(6,minmax(140px,1fr));gap:12px}.stage{min-width:140px}@media(max-width:1100px){.main{padding-left:22px;padding-right:22px}}
.link-brand{display:grid;place-items:center;width:18px;height:18px;border:1px solid #777;border-radius:4px;font-weight:800;font-size:11px;color:#333}
.stage-head:focus-within .color-menu{display:block}

/* Quick Note workspace shares the Booking board and detail-panel language. */
.sidebar{position:sticky;top:0;height:100vh;min-height:560px;overflow-y:auto;z-index:2}
.sidebar .nav-item:first-child,.sidebar .quick-nav{display:flex}
.sidebar .nav-item:not(.active):hover{color:#111}
.sidebar .nav-item:not(.active):disabled:hover{background:none;color:#686863}
.quick-capture{margin-top:auto;border-top:1px solid var(--line);padding:18px 4px 2px}
.quick-capture-heading{display:flex;justify-content:space-between;align-items:center;margin:0 4px 11px;color:#8d8d87;font-size:10px;font-weight:700;letter-spacing:.12em}
#quick-capture-input{display:block;width:100%;min-height:116px;resize:vertical;padding:12px;border:1px solid #deded9;border-radius:11px;background:rgb(255 255 255 / .10);backdrop-filter:blur(9px);color:#151515;font-size:12px;line-height:1.55;outline:0;box-shadow:0 2px 10px #11100006;transition:border-color .2s,box-shadow .2s}
#quick-capture-input:focus{border-color:#8b8b85;box-shadow:0 0 0 3px #1111110b}
#quick-capture-input::placeholder{color:#626a64}
.quick-mode #backdrop,.quick-mode #panel,.quick-mode #modal{display:none}
.quick-main[hidden],.main[hidden]{display:none}
.quick-toolbar{display:flex;justify-content:flex-end;margin:35px 0 18px}
.quick-toolbar .search{width:250px}
.quick-board{display:grid;grid-template-columns:repeat(4,minmax(170px,1fr));gap:18px;align-items:start}
.quick-stage{min-width:170px}
.quick-list{display:flex;flex-direction:column;gap:9px;min-height:180px;padding-bottom:20px}
.quick-drop-indicator{height:2px;min-height:2px;width:100%;flex:none;margin:2px 0;border-radius:2px;background:#111;pointer-events:none;box-shadow:none}
.quick-card.dragging{box-shadow:none}
.ticket-drop-indicator{height:2px;min-height:2px;width:100%;flex:none;margin:2px 0;border-radius:2px;background:#111;pointer-events:none;box-shadow:none}
.ticket-list:has(.ticket-drop-indicator) .empty{display:none}
.board .ticket.dragging,.board .ticket.dragging:hover{box-shadow:none}
.quick-card{--ticket-color:#fff;overflow:hidden}
.quick-card strong{display:block;font-size:13px;line-height:1.35;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.quick-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;color:#777;font-size:11px;line-height:1.45;margin:8px 0 12px}
.quick-card small{display:block;color:#aaa;font-size:10px}
.quick-card[hidden]{display:none}
.quick-panel .panel-edit-form{margin-top:12px}
.quick-panel .field label{font-size:10px}
.quick-panel .field textarea{min-height:145px;resize:vertical}
.quick-link-row,.quick-file-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0;border-bottom:1px solid var(--line);font-size:11px}
.quick-link-row a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#222;text-decoration:none}
.quick-link-row a:hover{text-decoration:underline}
.quick-link-row button,.quick-file-row .file-remove{flex:0 0 22px;color:#999;font-size:15px}
.quick-link-add{display:grid;grid-template-columns:1fr 1.5fr 30px;gap:6px;align-items:end;margin-top:8px}
.quick-link-add input{min-width:0}
.quick-link-add button{height:30px;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:17px}
.quick-link-add button:hover{border-color:#888}
.quick-file-row .file-download{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;color:#444}
.quick-panel #quick-file-input{border:0;padding-left:0;font-size:11px}
@media(max-width:1200px){.quick-board{gap:12px}}
.toolbar{justify-content:flex-end}.toolbar>.count{display:none}
.workspace-switcher{align-items:flex-end;justify-content:space-between;gap:14px}
.workspace-tabs{display:flex;align-items:flex-end;min-width:0}
.workspace-switcher .workspace-tab{white-space:nowrap}
.workspace-switcher .tools{flex:none;align-items:center;padding-bottom:8px}
.workspace-switcher .search{width:220px}
.workspace-switcher .filter-select{min-width:140px}
@media(max-width:1200px){.workspace-switcher{gap:8px}.workspace-switcher .workspace-tab{padding-left:10px;padding-right:10px}.workspace-switcher .search{width:160px}.workspace-switcher .filter-select{min-width:125px}}
.sidebar .archive-nav{display:flex;width:100%;margin-top:auto;margin-bottom:10px;text-align:left}
.sidebar nav .nav-item{width:100%;text-align:left}
.sidebar .nav-image{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;margin-left:-3px;margin-right:-1px}
.sidebar .nav-image img{display:block;width:25px;height:25px;max-width:none;object-fit:contain;transform:scale(1.14);pointer-events:none}
.sidebar .nav-item.active .nav-image img,.sidebar .archive-nav.archive-drag-over .nav-image img{filter:invert(1)}
.sidebar .archive-nav.archive-drag-over{background:#111;color:#fff;outline:2px solid #111;outline-offset:3px}
.sidebar .quick-capture{margin-top:0}
.archive-source-tabs{display:flex;gap:4px;margin-top:30px;border-bottom:1px solid var(--line)}
.archive-source-tabs button{padding:11px 16px 12px;margin-bottom:-1px;border-bottom:2px solid transparent;color:#92928d;font-size:12px;font-weight:600}
.archive-source-tabs button.active{color:#111;border-bottom-color:#111}
.archive-source-tabs button:not(.active):hover{color:#333}
.archive-mode .workspace-switcher{margin-top:12px}
.archive-mode .quick-toolbar{margin-top:20px}
#add-btn[hidden],#new-quick-note[hidden]{display:none}
.panel-edit-form .link-row{display:grid;grid-template-columns:22px minmax(0,1fr) minmax(0,1.55fr) 28px 20px;gap:8px;align-items:center;margin-bottom:10px}
.panel-edit-form .link-add-row{display:grid;grid-template-columns:22px minmax(0,1fr) minmax(0,1.55fr) 28px;gap:8px;align-items:center;margin-top:8px}
.panel-edit-form .link-row input,.panel-edit-form .link-add-row input{min-width:0;width:100%}
.panel-edit-form .link-icon{width:22px;height:22px;display:grid;place-items:center}
.panel-edit-form .link-brand{display:grid;place-items:center;width:22px;height:22px;border:0;border-radius:0;color:inherit}
.panel-edit-form .link-brand svg{display:block;width:22px;height:22px}
.panel-edit-form .link-open{grid-column:auto;display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:6px;color:#555;font-size:17px;text-decoration:none;overflow:visible}
.panel-edit-form .link-open:hover{border-color:#777;color:#111;background:#f5f5f2;text-decoration:none}
.panel-edit-form .link-remove{width:20px;height:28px;display:grid;place-items:center}
.panel-edit-form #add-link{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);border-radius:6px;font-size:17px;color:#555}
.panel-edit-form #add-link:hover{border-color:#777;color:#111}
.work-sticky{position:sticky;top:0;z-index:8;margin-top:-31px;padding-top:31px;background:#f8f8f6}
.stage-head-row{display:grid;grid-template-columns:repeat(6,minmax(140px,1fr));gap:12px}
.stage-head-row .stage-head{margin-bottom:16px}
.board{overflow-x:visible}
.panel-edit-form .field .fee-input{display:flex;align-items:center;border-bottom:1px solid var(--line);transition:border-color .2s}
.panel-edit-form .field .fee-input:focus-within{border-color:#111}
.panel-edit-form .field .fee-input input{flex:1;min-width:0;border:0;padding-right:4px}
.panel-edit-form .field .fee-input span{flex:none;color:#555;font-size:13px;font-weight:600}
.panel-edit-form .field-group-title{border-top:1px solid var(--line);padding-top:18px;margin:5px 0 18px;color:#222;font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.panel-edit-form .booking-payment-grid,.panel-edit-form .booking-progress-grid{gap:22px 24px;margin-bottom:24px}
.panel-edit-form .booking-payment-grid .field,.panel-edit-form .booking-progress-grid .field{min-width:0;margin-bottom:0}

/* Product workspace uses the same visual language as Booking. */
.products-main .product-head-row,.products-main .product-board{grid-template-columns:repeat(var(--product-stage-count,3),minmax(150px,1fr))}
.products-main .workspace-tab:not(.active):not(:disabled){opacity:.75;cursor:pointer}
.products-main .workspace-tab:not(.active):not(:disabled):hover{color:#222}
.products-main .product-color-btn{width:21px;height:21px;position:relative;margin-left:5px;opacity:.85}
.products-main .product-color-btn::after{content:'';display:block;width:10px;height:10px;border:1.5px solid #777;border-radius:50%;margin:auto}
.products-main .product-color-btn:hover::after{border-color:#111;box-shadow:inset 0 0 0 2px #fff;background:#aaa}
.products-main .product-urgency{display:block;margin-top:11px;padding-top:8px;border-top:1px solid #1112;color:#333;font-size:10px;font-weight:650}
.products-main .product-card[hidden]{display:none}
.products-main .product-due-hint{color:#92928c;font-size:10px;line-height:1.4}
.products-main #product-add[hidden]{display:none}
.products-main .field input[readonly]{color:#555;cursor:default}
.products-main .product-panel .panel-client{min-height:1.2em}
.products-main .product-empty{margin:18px 0 0;color:#91918b;font-size:12px;text-align:center}
.products-main .product-empty[hidden]{display:none}
.products-main .product-color-btn:focus-visible{outline:2px solid #111;outline-offset:2px}
.archive-mode .workspace-switcher .workspace-tabs{display:none}
.archive-mode .workspace-switcher{justify-content:flex-end}
@media(max-width:1200px){.products-main .product-head-row,.products-main .product-board{grid-template-columns:repeat(var(--product-stage-count,3),minmax(140px,1fr))}}

/* The product detail uses one transform transition, so focusing a field never restarts the entrance animation. */
.product-panel.open,.product-panel.closing{animation:none}
.product-panel{transition:transform .38s cubic-bezier(.22,1,.36,1)}
@media(prefers-reduced-motion:reduce){.product-panel{transition:none}}

/* Reminder shares the existing typography, controls, and slide-in detail panel. */
.sidebar .reminder-nav{display:flex}
.quick-main[hidden],.reminder-main[hidden],.main[hidden]{display:none}
.reminder-main{display:grid;grid-template-rows:auto minmax(0,1fr);height:100dvh;min-height:380px;max-width:1600px;padding-bottom:0}
.reminder-sticky{padding-bottom:16px}
.reminder-tabs{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:34px}
.reminder-tab{display:flex;align-items:center;gap:11px;width:100%;min-height:64px;padding:0 20px;border:1px solid var(--line);border-radius:12px;background:#fff;color:#686863;text-align:left;font-size:13px;font-weight:700;transition:background .2s,border-color .2s,transform .2s}
.reminder-tab:hover{border-color:#aaa;transform:translateY(-1px)}
.reminder-tab.active{background:#111;border-color:#111;color:#fff}
.reminder-tab-icon{width:25px;height:25px;display:grid;place-items:center;border:1px solid currentColor;border-radius:7px;font-size:16px;font-weight:400;line-height:1}
.reminder-tab small{margin-left:auto;font-size:11px;font-weight:600;opacity:.65}
.reminder-tools{display:flex;justify-content:flex-end;margin-top:18px}
.reminder-tools .search{width:260px}
.reminder-content{min-height:0;max-width:920px;padding:18px 14px 60px 0;overflow-y:auto;overscroll-behavior-y:contain;}
.reminder-section-heading{display:flex;align-items:baseline;gap:10px;margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #111}
.reminder-section-heading h2{margin:0;font-size:18px;line-height:1.2;letter-spacing:-.035em}
.reminder-section-heading span{color:#a0a09a;font-size:11px}
.reminder-list{display:flex;flex-direction:column;gap:8px}
.reminder-row{display:flex;align-items:center;gap:14px;min-height:74px;padding:12px 15px;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 2px 8px #11100008;transition:border-color .18s,box-shadow .18s,transform .18s}
.reminder-row:hover{border-color:#aaa;box-shadow:0 8px 22px #1110000d;transform:translateY(-1px)}
.reminder-row.dragging{opacity:.5;box-shadow:none}
.reminder-check{flex:0 0 22px;width:22px;height:22px;border:1.5px solid #777;border-radius:50%;background:#fff;transition:border-color .2s,background .2s,transform .2s}
.reminder-check:hover{border-color:#111;background:#111;box-shadow:inset 0 0 0 5px #fff;transform:scale(1.06)}
.reminder-check[hidden]{display:none}
.reminder-open{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;text-align:left}
.reminder-open strong{font-size:13px;font-weight:700;letter-spacing:-.02em;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reminder-preview{font-size:11px;color:#777;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reminder-meta{font-size:10px;color:#898983}
.reminder-open .reminder-meta{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px;align-self:flex-start}
.reminder-due-tag{display:inline-flex;align-items:center;min-height:19px;padding:2px 7px;border-radius:5px;background:#ededeb;color:#4b4b48;font-size:10px;font-weight:700;line-height:1;white-space:nowrap}
.reminder-due-tag.is-today{background:#111;color:#fff}
.reminder-completed-day .reminder-day-label,.reminder-calendar-day .reminder-day-label{gap:3px}
.reminder-completed-day .reminder-day-label .reminder-completed-day-name,.reminder-calendar-day .reminder-day-label .reminder-completed-day-name{font-size:12px;font-weight:750;color:#222}
.reminder-completed-day .reminder-day-label .reminder-completed-day-number,.reminder-calendar-day .reminder-day-label .reminder-completed-day-number{font-size:40px;line-height:.98;font-weight:800;letter-spacing:-.06em;color:#111;font-variant-numeric:tabular-nums}
.reminder-completed-day .reminder-day-label .reminder-completed-month,.reminder-calendar-day .reminder-day-label .reminder-completed-month{font-size:11px;color:#777}
.reminder-completed-day .reminder-day-label .reminder-completed-count,.reminder-calendar-day .reminder-day-label .reminder-completed-count{margin-top:7px;font-size:10px;color:#969691}
.reminder-meta.overdue{color:#111;font-weight:700}
.reminder-row.overdue-row{background:#fff3f2;border-color:#d45b50;color:#b42318;box-shadow:0 2px 9px #b4231812}
.reminder-row.overdue-row:hover{border-color:#b42318;box-shadow:0 8px 22px #b423181a}
.reminder-row.overdue-row{align-items:flex-start;min-height:112px;padding-top:16px;padding-bottom:16px}
.reminder-row.overdue-row .reminder-check{margin-top:4px}
.reminder-overdue-body{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:11px}
.reminder-overdue-body .reminder-open{width:100%;flex:0 0 auto}
.reminder-row.overdue-row .reminder-open,.reminder-row.overdue-row .reminder-open strong,.reminder-row.overdue-row .reminder-preview,.reminder-row.overdue-row .reminder-meta,.reminder-row.overdue-row .reminder-meta.overdue{color:#b42318}
.reminder-row.overdue-row .reminder-check{border-color:#b42318;background:#fff3f2}
.reminder-row.overdue-row .reminder-check:hover{background:#b42318;box-shadow:inset 0 0 0 5px #fff3f2}
.reminder-arrow{font-size:16px;color:#a0a09a}
.reminder-empty,.reminder-day-empty{padding:24px 16px;color:#a0a09a;font-size:11px}
.reminder-empty{border:1px dashed var(--line);border-radius:10px}
.reminder-timeline{display:flex;flex-direction:column;gap:0}
.reminder-day{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;padding:18px 0 22px;border-top:1px solid var(--line)}
.reminder-day:first-child{border-top:1px solid #111}
.reminder-day-label{display:flex;flex-direction:column;gap:4px;padding-top:4px}
.reminder-day-label strong{font-size:13px;font-weight:750;letter-spacing:-.015em;text-transform:capitalize}
.reminder-day-label span{font-size:10px;color:#92928c}
.reminder-day-empty{padding:15px 0}
.reminder-form .field[hidden]{display:none}
.reminder-date-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-top:10px}
.reminder-date-presets button{min-width:0;min-height:27px;padding:4px 2px;border:1px solid #d8d8d2;border-radius:6px;color:#777771;background:#fff;font:600 10px Inter,sans-serif;white-space:nowrap;transition:border-color .16s,color .16s,background .16s}
.reminder-date-presets button:hover{border-color:#111;color:#111}
.reminder-date-presets button.active{border-color:#111;color:#fff;background:#111}
.reminder-date-presets button:focus-visible{outline:2px solid #111;outline-offset:2px}
.reminder-form .field .reminder-picker-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:36px;padding:7px 0;border-bottom:1px solid var(--line);color:#252525;text-align:left;font:500 13px Inter,sans-serif;transition:border-color .18s,color .18s}
.reminder-form .field .reminder-picker-trigger:hover,.reminder-form .field .reminder-picker-trigger:focus-visible{border-color:#111;color:#111;outline:0}
.reminder-picker-trigger span:last-child{color:#777;font-size:18px;line-height:1}
.reminder-picker-backdrop{z-index:130}
.reminder-picker{z-index:131;max-height:calc(100vh - 24px);overflow-y:auto;}
.reminder-time-columns{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.reminder-time-columns>div>span{display:block;margin:0 0 7px;color:#999;font-size:9px;font-weight:750;letter-spacing:.1em}
.reminder-time-scroll{position:relative;border-radius:10px;background:#7d827617;backdrop-filter:blur(3px)}
.reminder-time-list{position:relative;height:218px;overflow-y:auto;padding:4px;border-radius:inherit;overscroll-behavior:contain}
.reminder-time-list button{display:block;width:100%;padding:7px;border-radius:7px;color:#555;text-align:center;font:650 12px Inter,sans-serif;transition:background .16s,color .16s}
.reminder-time-list button:hover{background:#e9e9e6;color:#111}
.reminder-time-list button.active{background:#111;color:#fff}
.reminder-help{margin:2px 0 0;color:#93938c;font-size:11px;line-height:1.5}
.reminder-panel.open,.reminder-panel.closing{animation:none}
.reminder-panel{transition:transform .38s cubic-bezier(.22,1,.36,1)}
#reminder-add[hidden]{display:none}
.reminder-tab:focus-visible,.reminder-check:focus-visible,.reminder-open:focus-visible{outline:2px solid #111;outline-offset:2px}
@media(max-width:1200px){.reminder-day{grid-template-columns:170px minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.reminder-panel,.reminder-tab,.reminder-row,.reminder-check{transition:none}}

/* Reminder: three compact views and a full-width list. */
.reminder-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.reminder-tabs.archive-reminder-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
.reminder-content{max-width:none;width:100%;padding-top:22px}
.reminder-quick-add{display:flex;align-items:center;gap:14px;min-height:74px;padding:12px 15px;background:#fff;border:1px dashed #d4d4ce;border-radius:11px;transition:border-color .18s,box-shadow .18s}
.reminder-quick-add:focus-within{border-color:#111;box-shadow:0 0 0 2px #1111110b}
.reminder-quick-plus{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border:1.5px solid #aaa;border-radius:50%;color:#777;font-size:16px;line-height:1}
.reminder-quick-add input{flex:1;min-width:0;border:0;background:transparent;color:#111;font-size:13px;outline:none}
.reminder-quick-add input::placeholder{color:#999994}
.reminder-quick-hint{color:#a2a29b;font-size:10px;white-space:nowrap}
.reminder-done-mark{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#111;color:#fff;font-size:12px;font-weight:700;cursor:pointer;transition:transform .18s,background .18s}
.reminder-done-mark:hover{transform:scale(1.1);background:#555}
.reminder-done-mark:focus-visible{outline:2px solid #111;outline-offset:3px}
.reminder-skip-mark{background:#b42318;font-size:17px;font-weight:500}
.reminder-skip-mark:hover{background:#8d1c14}
.reminder-skip-history-icon{display:block;width:15px;height:15px;background:#fff;mask:url('assets/reminder-skip.png') center/contain no-repeat;-webkit-mask:url('assets/reminder-skip.png') center/contain no-repeat}
.reminder-skipped-row .reminder-meta{color:#b42318}

/* Today Dashboard uses the same monochrome type, rules and card language. */
.sidebar nav .dashboard-nav,.sidebar nav .work-nav{display:flex}

/* Finance shares the app's type scale, line work and monochrome surfaces. */
.sidebar nav .finance-nav{display:flex}
.finance-main{max-width:1600px}
.finance-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.finance-source{color:#8a8a85;text-decoration:none;font-size:11px;font-weight:600;padding:7px 0;white-space:nowrap}
.finance-source:hover{color:#111}
.finance-switcher{margin-top:36px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-end;gap:12px}
.finance-tabs{display:flex;align-items:flex-end;gap:3px}
.finance-tab{font-size:12px;font-weight:650;color:#9a9a95;padding:13px 15px 14px;border-bottom:2px solid transparent;margin-bottom:-1px;white-space:nowrap;transition:color .16s,border-color .16s}
.finance-tab:hover,.finance-tab.active{color:#111}.finance-tab.active{border-color:#111}
.finance-month-backdrop{position:fixed;inset:0;z-index:80;background:#0b101b38;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s ease,visibility .28s ease}
.finance-month-backdrop.visible{opacity:1;visibility:visible;pointer-events:auto}
.finance-month-shell{position:relative;z-index:auto;flex:0 0 174px;height:38px;margin-bottom:8px}
.finance-month-shell.expanded{z-index:81}
.finance-month-trigger{width:100%;height:38px;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#222;font:500 12px Inter,sans-serif;text-align:left;transition:opacity .18s,box-shadow .2s}
.finance-month-trigger span{font-size:18px;line-height:1;transform:translateY(-2px)}
.finance-month-trigger:hover{box-shadow:0 3px 12px #1111}
.finance-month-shell.expanded .finance-month-trigger{opacity:0}
.finance-month-list{position:absolute;top:50%;right:0;width:100%;height:290px;border:1px solid #dedfdb;border-radius:14px;background:#fffffff5;box-shadow:0 22px 55px #10151f3d;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-50%) scaleY(.5);transform-origin:center;transition:opacity .26s ease,transform .32s cubic-bezier(.2,.8,.2,1),visibility .26s}
.finance-month-shell.expanded .finance-month-list{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(-50%) scaleY(1)}
.finance-month-choice{position:absolute;left:7px;right:7px;top:calc(50% + var(--offset));height:35px;display:flex;align-items:center;justify-content:center;border-radius:8px;color:#777;background:#f4f5f3;font:550 11px Inter,sans-serif;white-space:nowrap;opacity:0;transform:translateY(-50%) scale(.86);transition:opacity .24s ease,transform .32s cubic-bezier(.2,.8,.2,1),background .16s,color .16s;transition-delay:var(--delay)}
.finance-month-shell.expanded .finance-month-choice{opacity:1;transform:translateY(-50%) scale(1)}
.finance-month-choice:hover{background:#e9ebe7;color:#111}
.finance-month-choice.selected{background:#111;color:#fff;font-weight:700}
.finance-month-choice.center:not(.selected){box-shadow:inset 0 0 0 1px #b9bcb7;color:#333}
.finance-month-list.wheel-motion .finance-month-choice{animation:finance-month-shift .18s ease both}
@keyframes finance-month-shift{from{opacity:.4;transform:translateY(calc(-50% + 8px))}to{opacity:1;transform:translateY(-50%)}}
.finance-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:28px 0 20px}
.finance-section-head h2{font-size:24px;letter-spacing:-.045em;margin:3px 0 0;line-height:1.2}
.finance-overline{font-size:10px;color:#999;letter-spacing:.12em;text-transform:uppercase;font-weight:700}
.finance-section-head p{font-size:11px;color:#999;line-height:1.5;margin:0;max-width:360px;text-align:right}
.finance-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.finance-stat,.finance-surface,.finance-fund{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 8px #11100005}
.finance-stat{padding:20px 22px;min-height:100px;display:flex;flex-direction:column;gap:5px}
.finance-stat strong{font-size:27px;font-weight:800;letter-spacing:-.05em;line-height:1.1;white-space:nowrap}
.finance-stat span{color:#777;font-size:11px}.finance-stat small{font-size:10px;color:#aaa}
.finance-dual{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px;align-items:start}
.finance-surface{padding:22px;min-width:0}
.finance-surface h3{margin:0 0 15px;font-size:15px;letter-spacing:-.025em}
.finance-surface-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.finance-surface-head h3{margin:0}
.finance-surface-head button{color:#999;font-size:11px;font-weight:600}.finance-surface-head button:hover{color:#111}
.finance-metric{display:flex;align-items:baseline;gap:8px;padding:0 0 16px;margin-bottom:7px;border-bottom:1px solid var(--line)}
.finance-metric strong{font-size:30px;letter-spacing:-.06em;line-height:1}.finance-metric span{font-size:11px;color:#777}
.finance-booking-history{margin-top:12px}
.finance-history-total{font-size:11px;color:#999}
.finance-history-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.finance-history-row{display:grid;grid-template-columns:95px 1fr auto;gap:12px;align-items:center;text-align:left;padding:12px 0;border-bottom:1px solid var(--line);font-size:11px;color:#777}
.finance-history-row:hover{color:#111}
.finance-history-row small{color:#aaa;font-size:10px}
.finance-history-row strong{color:#222;font-size:11px}
.finance-plain-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:11px 0;border-bottom:1px solid var(--line);font-size:11px;color:#777}
.finance-plain-row strong{color:#222;font-size:12px;white-space:nowrap}
.finance-footnote{color:#aaa;font-size:10px;line-height:1.55;margin:15px 0 0}
.finance-year{margin-top:12px}.finance-legend{font-size:10px;color:#999;display:flex;align-items:center;gap:5px}
.finance-legend i{display:inline-block;width:13px;height:5px;border-radius:5px;background:#111;margin-left:8px}.finance-legend i:last-of-type{background:#aaa}
.finance-year-rows{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.finance-year-row{width:100%;display:grid;grid-template-columns:88px minmax(0,1fr) 105px;gap:12px;align-items:center;border-bottom:1px solid var(--line);text-align:left;padding:11px 0;font-size:11px;color:#777}
.finance-year-row:hover span,.finance-year-row:hover strong{color:#111}
.finance-year-row strong{font-size:11px;text-align:right;color:#333}
.finance-bars{display:flex;flex-direction:column;gap:3px}.finance-bars i{height:5px;border-radius:3px;background:#111}.finance-bars i+ i{background:#b8b8b3}
.finance-edit-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0;color:#555;font-size:12px}
.finance-number{display:flex;align-items:center;gap:4px;min-width:120px;justify-content:flex-end}
.finance-number input{width:135px;min-width:0;border:0;background:transparent;text-align:right;color:#111;font-weight:650;font-size:12px;outline:0;font-variant-numeric:tabular-nums;appearance:textfield}
.finance-number input::-webkit-inner-spin-button,.finance-number input::-webkit-outer-spin-button{appearance:none;margin:0}
.finance-number input:focus{box-shadow:0 1px 0 #111}.finance-number em{font-style:normal;color:#888;font-size:11px}
.finance-explain{font-size:12px;color:#777;line-height:1.7;margin:0}
.finance-stats .finance-stat:first-child{background:#e4edff;border-color:#e4edff}
.finance-stats .finance-stat:nth-child(2){background:#dcebef;border-color:#dcebef}
.finance-stats .finance-stat:nth-child(3){background:#111;border-color:#111;color:#fff}
.finance-stats .finance-stat:nth-child(3) span,.finance-stats .finance-stat:nth-child(3) small{color:#ffffffa8}
.finance-plan-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;align-items:stretch}
.finance-plan-surface{padding:19px 18px 22px;border:0;border-radius:19px;box-shadow:none}
.finance-plan-surface:first-child{background:#2855e9;color:#fff}
.finance-plan-surface:nth-child(2){background:#4c90a4;color:#fff}
.finance-plan-surface:nth-child(3){background:#f2e84d;color:#111}
.finance-plan-surface h3{font-size:19px;margin:0 0 16px;letter-spacing:-.035em}
.finance-plan-surface:not(.finance-allocation){display:flex;flex-direction:column}
.finance-plan-surface .finance-edit-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;min-width:0;padding:8px 11px;border:0;border-radius:10px;background:transparent;color:inherit;font-size:10px;line-height:1.3;transition:background .16s}
.finance-plan-surface:first-child .finance-edit-row{min-height:78px}
.finance-plan-surface:nth-child(2) .finance-edit-row{min-height:52px}
.finance-plan-surface .finance-edit-row:hover,.finance-allocation-row:hover{background:#ffffff24}
.finance-plan-surface .finance-edit-row>span:first-child{min-width:0;opacity:.78}
.finance-field-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;opacity:.85}
.finance-field-head label{min-width:0;cursor:text}
.finance-detail-trigger{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:0;background:transparent;color:#fff;transition:opacity .16s,transform .16s}
.finance-detail-icon{display:block;width:23px;height:23px;background:currentColor;-webkit-mask:url('assets/finance-detail-menu.png') center/contain no-repeat;mask:url('assets/finance-detail-menu.png') center/contain no-repeat}
.finance-detail-trigger:hover{opacity:.7;transform:scale(1.08)}
.finance-detail-trigger:focus-visible{outline:2px solid #fff;outline-offset:2px}
.finance-plan-surface .finance-number{min-width:0;width:100%;justify-content:flex-start;gap:3px}
.finance-plan-surface .finance-number input{width:auto;min-width:1ch;max-width:calc(100% - 17px);field-sizing:content;color:inherit;text-align:left;font-size:20px;font-weight:750;letter-spacing:-.045em}
.finance-plan-surface .finance-number input:focus{box-shadow:0 1px 0 currentColor}
.finance-plan-surface .finance-number em{color:inherit;opacity:.72;font-size:11px}
.finance-plan-surface .finance-adjustment{grid-column:1/-1;margin-top:2px;border-color:#ffffff55;color:#fff;font-size:10px;line-height:1.4}
.finance-plan-surface .finance-adjustment strong{color:#fff;font-size:10px}
.finance-allocation-base{margin:-8px 0 13px;font-size:10px;color:#111b}
.finance-allocation-base strong{font-weight:700;color:#111}
.finance-allocation-row{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:95px;margin-bottom:5px;padding:9px 11px;border:0;border-radius:10px;background:transparent;transition:background .16s}
.finance-allocation-row label{font-size:10px;color:#111b;line-height:1.3}
.finance-allocation-values{display:flex;align-items:baseline;justify-content:space-between;gap:6px}
.finance-percent-control{display:flex;align-items:baseline;justify-content:flex-start;gap:2px;min-width:0;font-size:14px;font-weight:700;color:#111}
.finance-percent-control input{width:52px;min-width:0;border:0;background:transparent;padding:0;text-align:left;font:750 25px Inter,sans-serif;letter-spacing:-.045em;color:#111;outline:0;appearance:textfield}
.finance-percent-control input:focus{box-shadow:0 1px 0 #111}
.finance-percent-control input::-webkit-inner-spin-button,.finance-percent-control input::-webkit-outer-spin-button{appearance:none;margin:0}
.finance-allocation-values strong{font-size:15px;font-weight:750;letter-spacing:-.025em;white-space:nowrap;font-variant-numeric:tabular-nums}
.finance-allocation-row small{min-height:10px;color:#1119;font-size:9px}
.finance-plan-note{max-width:1080px;margin:18px 3px 30px;color:#999;font-size:10px;font-style:italic;line-height:1.65}
.finance-other-backdrop{position:fixed;inset:0;z-index:90;background:#0c111b1c;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px);animation:finance-detail-fade .22s ease both}
.finance-other-popover{position:absolute;z-index:91;top:30%;left:calc(33.333% + 7px);width:min(370px,62vw);max-height:min(540px,74vh);overflow:auto;padding:22px;border:0;border-radius:16px;background:#fff;color:#111;box-shadow:0 25px 65px #1018282b;animation:finance-detail-enter .27s cubic-bezier(.2,.8,.2,1) both}
.finance-other-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.finance-other-header h4{margin:3px 0 0;font-size:20px;letter-spacing:-.04em}
.finance-other-header button{width:28px;height:28px;display:grid;place-items:center;color:#777;font-size:22px;line-height:1;border-radius:6px}
.finance-other-header button:hover{background:#f1f1ef;color:#111}
.finance-other-help{margin:8px 0 19px;color:#8b8b8b;font-size:11px;line-height:1.5}
.finance-other-items{display:flex;flex-direction:column;gap:8px}
.finance-other-item{display:grid;grid-template-columns:minmax(0,1fr) 118px 22px;align-items:center;gap:7px;min-height:49px;padding:5px 8px 5px 12px;border-radius:10px;background:#f6f6f4;transition:background .16s}
.finance-other-item:focus-within{background:#ededeb}
.finance-other-item>input,.finance-other-money{min-width:0;height:34px;border:0;background:transparent}
.finance-other-item>input{width:100%;padding:0;outline:0;font:500 12px Inter,sans-serif;color:#111}
.finance-other-item>input::placeholder{color:#969693}
.finance-other-money{display:flex;align-items:center;gap:3px;padding:0}
.finance-other-money input{width:100%;min-width:0;border:0;background:transparent;outline:0;text-align:right;font:750 14px Inter,sans-serif;letter-spacing:-.035em;color:#111}
.finance-other-money em{font-style:normal;font-size:10px;color:#999}
.finance-other-item>button{color:#999;font-size:20px;line-height:1}
.finance-other-item>button:hover{color:#111}
.finance-other-add{margin:11px 0 16px;padding:7px 0;color:#222;font-size:11px;font-weight:700}
.finance-other-add:hover{color:#000}
.finance-other-summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:14px;border-top:1px solid #e9e9e6;font-size:11px;color:#888}
.finance-other-summary strong{color:#111;font-size:17px;font-weight:750;letter-spacing:-.035em;white-space:nowrap}
.finance-expense-popover{left:auto;right:0;top:28%;width:min(380px,85vw)}
.finance-installment-popover{top:5%;width:min(620px,calc(100vw - 40px));max-height:82vh}
.finance-installment-section{margin:5px 0 18px;padding-top:16px;border-top:1px solid #e9e9e6}
.finance-installment-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.finance-installment-head h5{margin:0;font-size:13px;letter-spacing:-.025em}
.finance-installment-head button{font-size:11px;font-weight:700;white-space:nowrap}
.finance-installment-section>p{margin:7px 0 13px;color:#888;font-size:10px;line-height:1.5}
.finance-contract{margin:9px 0;padding:12px;border-radius:11px;background:#f6f6f4}
.finance-contract-select{display:flex;align-items:center;gap:10px;cursor:pointer}
.finance-contract-select input{width:16px;height:16px;accent-color:#111;cursor:pointer}
.finance-contract-select input:disabled{cursor:default}
.finance-contract-select strong{display:block;font-size:12px}
.finance-contract-select small{display:block;margin-top:3px;color:#888;font-size:10px}
.finance-contract-fields{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) 53px 111px 22px;gap:6px;margin-top:12px}
.finance-contract-fields input{min-width:0;width:100%;height:31px;padding:0 7px;border:0;border-radius:6px;background:#fff;color:#111;font-size:10px;outline:0}
.finance-contract-fields input:focus{box-shadow:0 0 0 1px #111}
.finance-contract-fields button{color:#999;font-size:18px}
.finance-contract-fields button:hover{color:#111}
@keyframes finance-detail-fade{from{opacity:0}to{opacity:1}}
@keyframes finance-detail-enter{from{opacity:0;transform:translateX(-10px) scale(.97)}to{opacity:1;transform:translateX(0) scale(1)}}
.finance-booking-tools{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:24px 0 12px}
.finance-segment{display:flex;gap:3px;background:#ebebe7;padding:3px;border-radius:9px}
.finance-segment button{border-radius:7px;padding:8px 11px;color:#777;font-size:11px;font-weight:600}.finance-segment button.active{background:#111;color:#fff}
#finance-booking-search{width:240px;height:34px;padding:0 11px;border:1px solid var(--line);border-radius:8px;background:#fff;font-size:11px;outline:0}
#finance-booking-search:focus{border-color:#999}
.finance-table-wrap{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:auto}
.finance-table{width:100%;border-collapse:collapse;text-align:left;min-width:880px}
.finance-table th{padding:14px 13px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:#aaa;font-weight:650;border-bottom:1px solid var(--line);white-space:nowrap}
.finance-table td{padding:11px 13px;border-bottom:1px solid #efefec;font-size:11px;vertical-align:middle}
.finance-table tr:last-child td{border-bottom:0}.finance-table td:first-child{min-width:220px;max-width:360px}
.finance-table td strong{font-size:11px;display:block;line-height:1.35}.finance-table td small{display:block;color:#999;margin-top:3px;font-size:10px}
.finance-table td .finance-data-warning{color:#b42318;font-weight:600}
.finance-table input,.finance-table select{max-width:150px;border:1px solid transparent;background:transparent;border-radius:5px;font-size:11px;color:#333;padding:6px 3px;outline:0}
.finance-table input[data-ticket-field=fee]{width:110px;font-variant-numeric:tabular-nums}.finance-table input[type=date]{width:130px}.finance-table input[type=month]{width:120px}
.finance-table input:hover,.finance-table select:hover,.finance-table input:focus,.finance-table select:focus{border-color:#ccc;background:#fafaf9}
.finance-open{color:#999;font-size:16px;width:28px;height:28px}.finance-open:hover{color:#111}.finance-empty{text-align:center;color:#aaa!important;padding:26px!important}
.finance-funds{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-fund-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:12px}
.finance-fund-stats .finance-stat{padding:18px;min-height:86px}
.finance-fund-stats .finance-stat strong{font-size:19px}
.finance-brand-icon{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;overflow:hidden;border-radius:10px}
.finance-brand-icon img{display:block;width:40px;height:40px;object-fit:contain}
.finance-brand-icon:has(img[src$="finance-techcombank.webp"]) img{transform:scale(1.08)}
.finance-brand-generic{border:1px solid #e3e3df;background:#f6f6f3;color:#333;font-size:22px;font-weight:600}
.finance-brand-generic svg{width:26px;height:26px;display:block}
.finance-fund-identity{display:flex;align-items:center;gap:12px;min-width:0}
.finance-fund-identity>span:last-child{min-width:0;line-height:1.35}
.finance-fund-stat{flex-direction:row;align-items:center;gap:12px}
.finance-fund-stat>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.finance-fund-stat strong{white-space:nowrap}
.finance-archived{color:#aaa;font-size:10px}
.backdrop{left:236px}
.finance-fund{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px;font-size:12px;color:#555;min-height:82px}
.finance-fund .finance-number input{font-size:16px;font-weight:750;width:165px}
/* Finance cards share the saturated palette and type hierarchy of the monthly plan. */
.finance-view-overview .finance-dual{align-items:stretch}
.finance-view-overview .finance-surface{border:0;border-radius:19px;box-shadow:none}
.finance-view-overview .finance-surface h3{font-size:19px;letter-spacing:-.04em}
.finance-view-overview .finance-dual .finance-surface{min-height:242px;padding:24px}
.finance-view-overview .finance-dual .finance-surface:first-child{background:#2855e9;color:#fff}
.finance-view-overview .finance-dual .finance-surface:nth-child(2){background:#4c90a4;color:#fff}
.finance-view-overview .finance-surface-head button{color:inherit;opacity:.74;transition:opacity .16s}
.finance-view-overview .finance-surface-head button:hover{color:inherit;opacity:1}
.finance-view-overview .finance-metric{border:0;margin:3px 0 8px;padding:0 0 8px}
.finance-view-overview .finance-metric strong{font-size:37px}
.finance-view-overview .finance-metric span{color:inherit;opacity:.78}
.finance-view-overview .finance-plain-row{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin:0 0 2px;padding:10px 11px;border:0;border-radius:10px;color:inherit;background:#ffffff10}
.finance-view-overview .finance-plain-row span{font-size:10px;opacity:.78}
.finance-view-overview .finance-plain-row strong{font-size:17px;letter-spacing:-.035em;color:inherit}
.finance-view-overview .finance-footnote{color:inherit;opacity:.65}
.finance-view-overview .finance-booking-history{padding:24px;background:#f2e84d;color:#111}
.finance-view-overview .finance-history-total{color:#111;opacity:.58}
.finance-view-overview .finance-history-grid{gap:3px 12px}
.finance-view-overview .finance-history-row{padding:11px;border:0;border-radius:10px;background:#ffffff52;color:#111;transition:background .16s,transform .16s}
.finance-view-overview .finance-history-row:hover{background:#ffffffa0;transform:translateY(-1px)}
.finance-view-overview .finance-history-row small{color:#111;opacity:.56}
.finance-view-overview .finance-history-row strong{font-size:13px;color:#111}
.finance-view-overview .finance-year{padding:24px;background:#111;color:#fff}
.finance-view-overview .finance-legend{color:#fffc}
.finance-view-overview .finance-legend i{background:#fff}
.finance-view-overview .finance-legend i:last-of-type{background:#71b2c5}
.finance-view-overview .finance-year-rows{gap:4px 12px}
.finance-view-overview .finance-year-row{padding:11px;border:0;border-radius:10px;background:#ffffff10;color:#fffc;transition:background .16s,transform .16s}
.finance-view-overview .finance-year-row:hover{background:#ffffff24;transform:translateY(-1px)}
.finance-view-overview .finance-year-row:hover span,.finance-view-overview .finance-year-row:hover strong{color:#fff}
.finance-view-overview .finance-year-row strong{color:#fff;font-size:12px}
.finance-view-overview .finance-bars i{background:#fff}
.finance-view-overview .finance-bars i+i{background:#71b2c5}
.finance-view-bookings .finance-booking-tools{margin-top:20px}
.finance-view-bookings .finance-segment{background:#ecece9;border-radius:11px}
.finance-view-bookings #finance-booking-search{height:38px;border:0;border-radius:10px;background:#fff;box-shadow:0 0 0 1px #e9e9e5;font-size:11px}
.finance-view-bookings .finance-table-wrap{background:transparent;border:0;border-radius:0;box-shadow:none}
.finance-view-bookings .finance-table{border-collapse:separate;border-spacing:0 8px}
.finance-view-bookings .finance-table th{border:0;padding:10px 16px;color:#999;font-size:9px}
.finance-view-bookings .finance-table td{padding:15px 16px;border:0;background:#fff;font-size:11px;transition:background .16s}
.finance-view-bookings .finance-table tr[data-finance-status=paid] td{background:#e4edff}
.finance-view-bookings .finance-table tr[data-finance-status=pending] td{background:#f5f0b9}
.finance-view-bookings .finance-table tr:hover td{filter:brightness(.98)}
.finance-view-bookings .finance-table td:first-child{border-radius:12px 0 0 12px}
.finance-view-bookings .finance-table td:last-child{border-radius:0 12px 12px 0}
.finance-view-bookings .finance-table td strong{font-size:13px;letter-spacing:-.015em}
.finance-view-bookings .finance-table td small{font-size:10px;color:#777}
.finance-view-bookings .finance-table input[data-ticket-field=fee]{width:132px;max-width:132px;font-size:15px;font-weight:750;letter-spacing:-.035em;color:#111}
.finance-view-bookings .finance-table input,.finance-view-bookings .finance-table select{color:#222}
.finance-view-funds .finance-fund-stats .finance-stat{min-height:124px;padding:20px;border:0;border-radius:18px;box-shadow:none}
.finance-view-funds .finance-fund-stats .finance-stat:nth-child(1){background:#2855e9;color:#fff}
.finance-view-funds .finance-fund-stats .finance-stat:nth-child(2){background:#4c90a4;color:#fff}
.finance-view-funds .finance-fund-stats .finance-stat:nth-child(3){background:#f2e84d;color:#111}
.finance-view-funds .finance-fund-stats .finance-stat:nth-child(4){background:#111;color:#fff}
.finance-view-funds .finance-fund-stat .finance-brand-icon{background:#fff;border:0}
.finance-view-funds .finance-fund-stats .finance-stat span:not(.finance-brand-icon){color:inherit;opacity:.75}
.finance-view-funds .finance-fund-stats .finance-stat strong{font-size:20px}
.finance-view-funds .finance-funds{margin-top:12px}
.finance-view-funds .finance-fund{min-height:126px;align-items:flex-start;flex-direction:column;justify-content:space-between;gap:18px;padding:20px;border:0;border-radius:18px;box-shadow:none;font-size:12px;font-weight:650;color:#fff}
.finance-view-funds .finance-fund:nth-child(4n+1){background:#2855e9}
.finance-view-funds .finance-fund:nth-child(4n+2){background:#4c90a4}
.finance-view-funds .finance-fund:nth-child(4n+3){background:#f2e84d;color:#111}
.finance-view-funds .finance-fund:nth-child(4n+4){background:#111}
.finance-view-funds .finance-fund .finance-brand-icon{background:#fff;border:0}
.finance-view-funds .finance-fund .finance-number{width:100%;min-width:0;justify-content:flex-start}
.finance-view-funds .finance-fund .finance-number input{width:auto;min-width:2ch;max-width:calc(100% - 20px);field-sizing:content;padding-right:.6ch;color:inherit;text-align:left;font-size:24px;letter-spacing:-.045em}
.finance-view-funds .finance-fund .finance-number em{color:inherit;opacity:.75}
.finance-fund-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;align-items:stretch}
.finance-fund-group{min-width:0;min-height:232px;padding:25px 27px;border-radius:22px;color:#111;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}
.finance-fund-group:hover{transform:translateY(-2px);box-shadow:0 10px 28px #1515150b}
.finance-fund-tone-blue{background:#cfe4fa}
.finance-fund-tone-mint{background:#b8eecb}
.finance-fund-tone-lavender{background:#d8cafa}
.finance-fund-tone-peach{background:#f9ddb0}
.finance-fund-group-head{display:flex;align-items:center;gap:13px}
.finance-fund-group-head .finance-brand-icon{background:#ffffffbf;border:0;width:38px;height:38px;flex-basis:38px;border-radius:11px}
.finance-fund-group-head .finance-brand-icon img{width:38px;height:38px}
.finance-fund-group-head h3{margin:0;font-size:20px;line-height:1.12;letter-spacing:-.04em}
.finance-fund-group-head p{margin:4px 0 0;font-size:11px;color:#1119;font-weight:550}
.finance-fund-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-top:25px;margin-bottom:15px}
.finance-fund-total>span,.finance-fund-item-label{font-size:11px;color:#111a;font-weight:600}
.finance-fund-total strong{font-size:26px;letter-spacing:-.05em;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.finance-fund-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:auto}
.finance-fund-item{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-width:0;gap:10px;padding:14px 15px;border-radius:13px;background:#ffffff75;cursor:text;transition:background .18s ease}
.finance-fund-item:hover,.finance-fund-item:focus-within{background:#ffffffc9}
.finance-fund-item-label{display:flex;align-items:center;gap:7px;min-width:0;line-height:1.3}
.finance-fund-item-label .finance-brand-icon{width:20px;height:20px;flex-basis:20px;border-radius:5px;background:#fff}
.finance-fund-item-label .finance-brand-icon img{width:20px;height:20px}
.finance-fund-item-label .finance-brand-generic svg{width:15px;height:15px}
.finance-fund-item-label>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.finance-fund-item .finance-number{display:flex;align-items:baseline;gap:5px;min-width:0;width:100%;justify-content:flex-start}
.finance-fund-item .finance-number input{width:auto;min-width:2ch;max-width:calc(100% - 20px);field-sizing:content;padding:0;text-align:left;color:#111;font-size:20px;font-weight:800;letter-spacing:-.045em;line-height:1.15}
.finance-fund-item .finance-number input:focus{box-shadow:0 1px 0 currentColor}
.finance-fund-item .finance-number em{font-size:12px;color:#1119;font-weight:700}
.finance-fund-item-primary{margin-top:auto;padding:18px 19px;background:#ffffff82}
.finance-fund-item-primary .finance-number input{font-size:31px}
@media(max-width:900px){.finance-fund-groups{grid-template-columns:1fr}.finance-fund-group{min-height:0}.finance-fund-items{margin-top:0}}
@media(max-width:520px){.finance-fund-items{grid-template-columns:1fr}.finance-fund-total{align-items:flex-start;flex-direction:column}.finance-fund-item-primary .finance-number input{font-size:26px}}
.finance-fund-layout{display:grid;grid-template-columns:minmax(220px,29%) minmax(0,1fr);gap:17px;align-items:start;margin-top:16px}
.finance-fund-rail{display:flex;flex-direction:column;gap:11px}
.finance-fund-compact{min-width:0;padding:18px 20px;border-radius:18px;transition:transform .23s ease,box-shadow .23s ease}
.finance-fund-compact:hover,.finance-fund-compact.selected{transform:translateY(-2px);box-shadow:0 8px 22px #1111110c}
.finance-fund-compact-top{display:flex;align-items:center;gap:10px;min-width:0}
.finance-fund-compact-top>.finance-brand-icon{width:34px;height:34px;flex:0 0 34px;border:0;background:#fffc;border-radius:9px}
.finance-fund-compact-top>.finance-brand-icon img{width:34px;height:34px}
.finance-fund-compact-top>.finance-brand-icon svg{width:22px;height:22px}
.finance-fund-compact-top>div{min-width:0;flex:1}
.finance-fund-compact h3{margin:0;font-size:15px;font-weight:800;letter-spacing:-.035em;line-height:1.15}
.finance-fund-compact p{margin:3px 0 0;color:#1119;font-size:10px;font-weight:550;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.finance-fund-compact>strong{display:block;margin-top:18px;font-size:24px;font-weight:800;letter-spacing:-.055em;line-height:1.1;font-variant-numeric:tabular-nums;white-space:nowrap}
.finance-fund-more{flex:0 0 28px;height:28px;display:grid;place-items:center;margin-left:auto;border-radius:7px;color:#111;font-size:8px;letter-spacing:-2px;transition:background .2s,transform .2s}
.finance-fund-more span{display:flex;align-items:center;gap:3px}
.finance-fund-more i{width:4px;height:4px;border-radius:50%;background:currentColor;display:block}
.finance-fund-more:hover,.finance-fund-more:focus-visible{background:#ffffff96;transform:scale(1.06);outline:0}
.finance-ledger-panel{min-width:0;min-height:571px;padding:27px 30px;background:#fff;border-radius:20px;box-shadow:0 2px 12px #11100008}
.finance-ledger-open{animation:finance-ledger-in .34s cubic-bezier(.2,.8,.2,1) both}
@keyframes finance-ledger-in{from{opacity:0;transform:translateX(25px)}to{opacity:1;transform:translateX(0)}}
.finance-ledger-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#f2f2ef;box-shadow:none}
.finance-ledger-placeholder-mark{font-size:26px;letter-spacing:4px;color:#aaa;line-height:1}
.finance-ledger-placeholder h3{font-size:20px;margin:16px 0 8px;letter-spacing:-.04em}
.finance-ledger-placeholder p{font-size:12px;line-height:1.5;color:#777;max-width:300px;margin:0}
.finance-ledger-head{display:flex;justify-content:space-between;gap:15px;align-items:start}
.finance-ledger-head h3{font-size:31px;letter-spacing:-.055em;line-height:1;margin:7px 0 4px}
.finance-ledger-head p{color:#8c8c87;font-size:12px;margin:0}
.finance-ledger-close{width:30px;height:30px;color:#999;font-size:26px;line-height:1;border-radius:7px}
.finance-ledger-close:hover{background:#f1f1ee;color:#111}
.finance-ledger-balance{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:24px 0 20px;padding:21px 23px;border-radius:14px;background:#111;color:#fff}
.finance-ledger-balance span{font-size:11px;color:#ffffffa8;font-weight:600;max-width:200px}
.finance-ledger-balance strong{font-size:29px;letter-spacing:-.05em;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.finance-ledger-accounts{display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap}
.finance-ledger-accounts button{display:flex;gap:7px;align-items:center;min-width:0;padding:7px 10px 7px 7px;border-radius:9px;background:#f5f5f2;color:#555;font-size:10px;font-weight:650;transition:background .18s,color .18s}
.finance-ledger-accounts button:hover{background:#e9e9e5}
.finance-ledger-accounts button.active{background:#111;color:#fff}
.finance-ledger-accounts .finance-brand-icon{width:20px;height:20px;flex:0 0 20px;border-radius:5px;background:#fff}
.finance-ledger-accounts .finance-brand-icon img{width:20px;height:20px}.finance-ledger-accounts .finance-brand-icon svg{width:15px;height:15px}
.finance-ledger-trend{display:flex;align-items:center;gap:15px;margin:0 0 20px;padding:10px 14px;border-radius:11px;background:#f5f5f2}
.finance-ledger-trend span{font-size:10px;color:#888;font-weight:650;white-space:nowrap}
.finance-ledger-trend svg{display:block;max-width:320px;width:100%;height:54px;overflow:visible}
.finance-ledger-trend polyline{fill:none;stroke:#111;stroke-width:2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.finance-ledger-trend circle{fill:#111}
.finance-ledger-form{padding:19px;border-radius:14px;background:#f7f7f5}
.finance-ledger-form-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:13px}
.finance-ledger-form h4,.finance-ledger-list-head h4{font-size:16px;letter-spacing:-.025em;margin:0}
.finance-ledger-form-head span{font-size:10px;color:#999}
.finance-ledger-types{display:flex;gap:4px;padding:4px;border-radius:9px;background:#e9e9e5;margin-bottom:15px}
.finance-ledger-types button{flex:1;padding:8px 6px;border-radius:7px;color:#777;font-size:10px;font-weight:650;white-space:nowrap}
.finance-ledger-types button.active{background:#111;color:#fff}
.finance-ledger-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.finance-ledger-form label{display:flex;flex-direction:column;gap:6px;color:#969692;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.finance-ledger-form label small{text-transform:none;letter-spacing:0;font-weight:500}
.finance-ledger-form input,.finance-ledger-form textarea{width:100%;min-width:0;padding:10px 11px;background:#fff;border:1px solid #e7e7e3;border-radius:8px;outline:0;color:#111;font:inherit;font-size:12px;font-weight:550;letter-spacing:0;text-transform:none}
.finance-ledger-form input:focus,.finance-ledger-form textarea:focus{border-color:#111}
.finance-ledger-form textarea{resize:vertical;min-height:50px}
.finance-ledger-wide{margin-top:12px}
.finance-ledger-save{display:block;margin-top:16px;width:100%;padding:11px;background:#111;border-radius:8px;color:#fff;font-size:11px;font-weight:700;transition:transform .18s,background .18s}
.finance-ledger-save:hover{transform:translateY(-1px);background:#333}
.finance-ledger-list-head{display:flex;align-items:baseline;justify-content:space-between;margin:23px 0 10px}
.finance-ledger-list-head span{font-size:10px;color:#999}
.finance-ledger-empty{padding:23px 17px;background:#f7f7f5;border-radius:11px;color:#999;font-size:11px;text-align:center;line-height:1.5}
.finance-ledger-list{display:flex;flex-direction:column;gap:6px}
.finance-ledger-entry{display:flex;align-items:start;gap:10px;padding:12px;border-radius:10px;background:#f7f7f5;animation:finance-ledger-in .28s ease both}
.finance-ledger-entry-icon{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;background:#dff1e5;color:#236f45;border-radius:7px;font-size:15px;font-weight:700}
.finance-ledger-entry-icon.negative{background:#fee7e4;color:#bd3d32}.finance-ledger-entry-icon.adjusted{background:#e4e6f4;color:#5962a7}
.finance-ledger-entry-info{min-width:0;flex:1}.finance-ledger-entry-info strong{font-size:12px;display:block;line-height:1.25}.finance-ledger-entry-info span,.finance-ledger-entry-info p{font-size:10px;color:#999;margin:3px 0 0;line-height:1.35}
.finance-ledger-entry-value{display:flex;flex-direction:column;align-items:end;gap:3px;text-align:right;white-space:nowrap}
.finance-ledger-entry-value strong{font-size:12px;color:#246c43}.finance-ledger-entry-value strong.negative{color:#bf3e33}
.finance-ledger-entry-value span{color:#999;font-size:9px}.finance-ledger-entry-value button{color:#aaa;font-size:9px;margin-top:3px}.finance-ledger-entry-value button:hover{color:#b42318}
@media(max-width:1000px){.finance-fund-layout{grid-template-columns:minmax(190px,32%) minmax(0,1fr)}.finance-ledger-panel{padding:23px}.finance-ledger-balance{align-items:start;flex-direction:column}.finance-ledger-balance strong{font-size:26px}}
@media(max-width:700px){.finance-fund-layout{grid-template-columns:1fr}.finance-fund-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.finance-ledger-panel{min-height:360px}}
@media(max-width:460px){.finance-fund-rail{grid-template-columns:1fr}.finance-ledger-fields{grid-template-columns:1fr}.finance-ledger-form-head{flex-direction:column;gap:3px}}
@media(prefers-reduced-motion:reduce){.finance-ledger-open,.finance-ledger-entry{animation:none}}
.finance-ledger-open{padding:0;overflow:hidden;box-shadow:0 2px 12px #11100006}
.finance-ledger-hero{padding:29px 31px 27px;color:#111}
.finance-ledger-hero .finance-overline{color:#1118}
.finance-ledger-hero .finance-ledger-head h3{font-size:30px;margin-top:9px}
.finance-ledger-hero .finance-ledger-head p{font-size:11px;color:#1119}
.finance-ledger-hero .finance-ledger-close{color:#1118}
.finance-ledger-hero .finance-ledger-close:hover{background:#ffffff94;color:#111}
.finance-ledger-hero .finance-ledger-balance{display:flex;flex-direction:column;align-items:start;gap:7px;margin:30px 0 0;padding:0;border-radius:0;background:transparent;color:#111}
.finance-ledger-hero .finance-ledger-balance span{font-size:10px;color:#1119;text-transform:uppercase;letter-spacing:.07em;font-weight:700;max-width:none}
.finance-ledger-hero .finance-ledger-balance strong{font-size:35px;line-height:1.1;white-space:normal}
.finance-ledger-content{padding:27px 31px 32px}
.finance-ledger-content .finance-ledger-accounts{margin-bottom:25px}
.finance-ledger-content .finance-ledger-trend{margin-bottom:25px}
.finance-ledger-form{padding:0;background:transparent;border-radius:0}
.finance-ledger-form-head{margin-bottom:15px}
.finance-ledger-form h4,.finance-ledger-list-head h4{font-size:17px;font-weight:800;letter-spacing:-.035em}
.finance-ledger-types{gap:7px;padding:0;margin-bottom:20px;background:transparent}
.finance-ledger-types button{padding:10px 7px;background:#f3f3f0;border-radius:9px;color:#666;font-size:11px;transition:background .18s,color .18s,transform .18s}
.finance-ledger-types button:hover{background:#eaeae6;transform:translateY(-1px)}
.finance-ledger-types button.active,.finance-ledger-types button.active:hover{background:#111;color:#fff}
.finance-ledger-form label{gap:7px;color:#999;font-size:10px}
.finance-ledger-form input,.finance-ledger-form textarea{padding:13px 14px;border:1px solid transparent;border-radius:10px;background:#f5f5f2;color:#111;font-size:14px;font-weight:600;transition:background .18s,border-color .18s}
.finance-ledger-form input::placeholder,.finance-ledger-form textarea::placeholder{color:#a5a5a0;font-weight:500}
.finance-ledger-form input:hover,.finance-ledger-form textarea:hover{background:#efefeb}
.finance-ledger-form input:focus,.finance-ledger-form textarea:focus{background:#fff;border-color:#111}
.finance-ledger-form textarea{min-height:72px;line-height:1.4}
.finance-ledger-wide{margin-top:17px}
.finance-ledger-save{width:auto;min-width:150px;margin-top:22px;margin-left:auto;padding:13px 20px;border-radius:10px;font-size:12px}
.finance-ledger-list-head{margin:35px 0 13px}
.finance-ledger-entry{padding:15px 13px;background:#f8f8f6;border-radius:11px}
.finance-ledger-entry-info strong{font-size:12px}
.finance-ledger-entry-value strong{font-size:12px}
.finance-ledger-empty{padding:12px 0;background:transparent;text-align:left;font-style:italic}
@media(max-width:1000px){.finance-ledger-hero{padding:25px}.finance-ledger-content{padding:24px}.finance-ledger-hero .finance-ledger-balance{flex-direction:column}}
@media(max-width:460px){.finance-ledger-hero .finance-ledger-balance strong{font-size:29px}.finance-ledger-types{flex-wrap:wrap}.finance-ledger-types button{min-width:calc(50% - 4px)}.finance-ledger-save{width:100%}}
.finance-sticky{position:sticky;top:0;z-index:8;margin-top:-31px;padding:31px 0 10px;background:#f8f8f6}
.finance-view-overview .finance-overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start;margin-top:12px}
.finance-view-overview .finance-overview-grid>.finance-surface{display:flex;flex-direction:column;min-height:0;padding:20px}
.finance-view-overview .finance-overview-grid>.finance-surface:nth-child(1){background:#2855e9;color:#fff}
.finance-view-overview .finance-overview-grid>.finance-surface:nth-child(2){background:#4c90a4;color:#fff}
.finance-view-overview .finance-overview-grid>.finance-booking-history{background:#fff;color:#111}
.finance-view-overview .finance-overview-grid .finance-surface-head{align-items:flex-start}
.finance-view-overview .finance-overview-grid .finance-surface-head h3{font-size:18px}
.finance-view-overview .finance-overview-grid .finance-surface-head button{font-size:10px;white-space:nowrap}
.finance-view-overview .finance-overview-grid .finance-metric{margin-top:8px}
.finance-view-overview .finance-overview-grid .finance-metric strong{font-size:34px}
.finance-view-overview .finance-overview-grid .finance-plain-row{gap:3px;padding:8px 9px}
.finance-view-overview .finance-overview-grid .finance-plain-row strong{font-size:15px}
.finance-view-overview .finance-booking-history .finance-history-grid{grid-template-columns:1fr;gap:4px;overflow-y:auto;min-height:0;max-height:315px;padding-right:2px}
.finance-view-overview .finance-booking-history .finance-history-row{grid-template-columns:1fr auto;gap:2px 5px;background:#f5f5f2;padding:8px 9px}
.finance-view-overview .finance-booking-history .finance-history-row:hover{background:#ebebe7}
.finance-view-overview .finance-booking-history .finance-history-row small{grid-column:1;color:#888;opacity:1}
.finance-view-overview .finance-booking-history .finance-history-row strong{grid-column:2;grid-row:1/3;align-self:center;font-size:11px}
.finance-view-overview .finance-booking-history .finance-history-total{font-size:10px;white-space:nowrap}
.finance-sparkline{margin-top:12px;padding-top:2px}
.finance-trend-head{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:24px}
.finance-trend-head>span{font-size:10px;font-weight:650;opacity:.8;white-space:nowrap}
.finance-trend-switch{display:flex;align-items:center;gap:2px;padding:2px;border-radius:8px;background:#ffffff24}
.finance-trend-switch button{padding:4px 6px;border-radius:6px;color:inherit;font-size:8px;font-weight:700;white-space:nowrap;opacity:.72;transition:background .18s,color .18s,opacity .18s}
.finance-trend-switch button.active{background:#fff;color:#2855e9;opacity:1}
.finance-trend-switch button:hover{opacity:1}
.finance-trend-switch button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.finance-sparkline svg{display:block;width:100%;height:auto;margin-top:4px;overflow:visible}
.finance-trend-guides line{stroke:currentColor;stroke-width:1;opacity:.14}
.finance-trend-area{fill:currentColor;opacity:.08}
.finance-trend-line{fill:none;stroke:currentColor;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}
.finance-trend-dot{fill:currentColor;stroke:currentColor;stroke-width:2}
.finance-trend-dot.current{fill:#2855e9}
.finance-view-overview .finance-overview-grid>.finance-surface:nth-child(2) .finance-trend-dot.current{fill:#4c90a4}
.finance-trend-hit{fill:transparent;pointer-events:all}
.finance-trend-point{cursor:help;outline:0}
.finance-trend-point:hover .finance-trend-dot,.finance-trend-point:focus .finance-trend-dot{stroke-width:4}
.finance-trend-tooltip{opacity:0;pointer-events:none;transition:opacity .16s ease;filter:drop-shadow(0 3px 9px #1113)}
.finance-trend-point:hover .finance-trend-tooltip,.finance-trend-point:focus .finance-trend-tooltip{opacity:1}
.finance-trend-tooltip rect{fill:#fff}
.finance-trend-tooltip text{fill:#111;font-size:15px;font-weight:750;font-family:Inter,system-ui,sans-serif}
.finance-live-ring{fill:none;stroke:currentColor;stroke-width:3;opacity:.7;transform-box:fill-box;transform-origin:center;animation:finance-live-pulse 2.4s ease-out infinite}
@keyframes finance-live-pulse{0%{transform:scale(1);opacity:.7}70%,100%{transform:scale(2.7);opacity:0}}
.finance-trend-month{fill:currentColor;opacity:.7;font-size:13px;font-weight:600;font-family:Inter,system-ui,sans-serif}
@media(prefers-reduced-motion:reduce){.finance-live-ring{animation:none;opacity:.35}}
@media(max-width:1180px){.finance-view-overview .finance-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-view-overview .finance-overview-grid>.finance-booking-history{grid-column:1/-1}.finance-view-overview .finance-booking-history .finance-history-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1180px){.finance-year-rows,.finance-history-grid{grid-template-columns:1fr}.finance-fund-stats{grid-template-columns:1fr 1fr}.finance-section-head p{display:none}.finance-tabs{gap:0}.finance-tab{padding-left:9px;padding-right:9px}.finance-fund{padding:16px}.finance-stat strong{font-size:23px}}
@media(prefers-reduced-motion:reduce){.finance-month-backdrop,.finance-month-list,.finance-month-choice{transition:none!important;animation:none!important}}
.reminder-completed-intro{padding:2px 0 18px;color:#8c8c85;font-size:11px}
.reminder-completion-note{margin:0;white-space:pre-wrap;color:#555;font-size:13px;line-height:1.6}
@media(max-width:1100px){.reminder-tab{padding-left:12px;padding-right:12px;gap:8px}.reminder-tab-icon{flex:0 0 22px;width:22px;height:22px}}
/* User-supplied Reminder view icons share one visual size and inherit active contrast. */
.reminder-tab-icon{flex:0 0 25px;border:0;border-radius:0}
.reminder-tab-icon img{display:block;width:23px;height:23px;object-fit:contain;pointer-events:none}
.reminder-tab.active .reminder-tab-icon img{filter:invert(1)}
.reminder-schedule-hint{margin:18px 0 0;color:#9a9a93;font-size:11px}

/* Shared Finance language across the everyday workspaces. */
:root{--os-blue:#2855e9;--os-teal:#4c90a4;--os-yellow:#f2e84d;--os-blue-soft:#e4edff;--os-teal-soft:#dcebef;--os-mint:#b8eecb;--os-lavender:#d8cafa;--os-peach:#f9ddb0;--os-radius:18px}
.main .title{font-size:37px}
.main .eyebrow,.finance-overline{font-size:10px;font-weight:750;letter-spacing:.13em}
.main .subtitle{font-size:12px;line-height:1.5}
.main .primary-btn{border-radius:10px;min-height:38px;padding:0 15px;font-size:12px;box-shadow:0 6px 16px #1112}
.sidebar .nav-item{width:100%;min-height:43px;font-size:13px;font-weight:550}
.sidebar .nav-item.active{font-weight:750}
.sidebar .quick-capture{padding-top:16px}
#quick-capture-input{border-radius:13px;font-size:12px;min-height:105px}
.archive-source-tabs{gap:8px;margin-top:24px}
.archive-source-tabs button{font-size:12px;font-weight:700;padding:12px 14px;transition:color .16s,border-color .16s}
.archive-source-tabs button:focus-visible{outline:2px solid #111;outline-offset:2px}
.stage-title{font-size:13px;font-weight:750}
.stage-count{font-size:11px;font-weight:650}
.board .ticket,.quick-card{border-radius:14px;padding:15px 14px;box-shadow:0 4px 14px #11100009}
.board .ticket:hover,.quick-card:hover{box-shadow:0 12px 28px #11100014}
.board .card-field:first-child strong,.quick-card strong{font-size:13px;font-weight:750;line-height:1.35}
.board .card-field span{font-size:9px;font-weight:650;letter-spacing:.08em}
.board .card-field strong{font-size:11px}
.quick-main .topbar,.reminder-main .topbar{align-items:flex-start}
.quick-toolbar{margin:27px 0 18px}
.quick-board{gap:14px}
.quick-stage .stage-head{height:47px;margin-bottom:13px}
.quick-stage[data-quick-stage=personal] .quick-card{--ticket-color:var(--os-blue-soft)}
.quick-stage[data-quick-stage=todo] .quick-card{--ticket-color:var(--os-mint)}
.quick-stage[data-quick-stage=buy] .quick-card{--ticket-color:var(--os-peach)}
.quick-stage[data-quick-stage=ideas] .quick-card{--ticket-color:var(--os-lavender)}
.quick-card p{font-size:11px;color:#555;line-height:1.5}
.quick-card small{font-size:10px;color:#777}
.archive-mode .quick-card{filter:saturate(.72)}
.reminder-content{padding-top:25px}
.reminder-tabs{gap:12px;margin-top:28px}
.reminder-tab{min-height:72px;border:0;border-radius:15px;padding:0 18px;background:var(--os-blue-soft);color:#111;font-size:13px;font-weight:750;box-shadow:none;transition:transform .2s cubic-bezier(.2,.8,.2,1),background .2s,color .2s}
.reminder-tab:nth-child(2){background:var(--os-teal-soft)}
.reminder-tab:nth-child(3){background:var(--os-mint)}
.reminder-tab:nth-child(4){background:var(--os-peach)}
.reminder-tab.active{background:#111;color:#fff}
.reminder-important-tab-icon{border:0;font-size:25px;line-height:1;color:#d6a829}
.reminder-tab.active .reminder-important-tab-icon{color:#f2c94c}
.reminder-star{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;padding:4px;border:0;border-radius:8px;background:transparent;color:#9a9a94;cursor:pointer;transition:color .18s,transform .18s,background .18s}
.reminder-star svg{display:block;width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.reminder-star:hover{color:#a97900;transform:scale(1.1);background:#f4c84919}
.reminder-star.is-important{color:#d79b00}
.reminder-star.is-important svg{fill:#f4c849;stroke:#bd8600}
.reminder-star:focus-visible{outline:2px solid #111;outline-offset:2px}
.reminder-row.overdue-row .reminder-star{margin-top:1px}
.reminder-tab:hover{border:0;transform:translateY(-2px)}
.reminder-tab small{font-size:12px;opacity:.7}
.reminder-section-heading{padding-bottom:11px;margin-bottom:12px}
.reminder-section-heading h2{font-size:19px;font-weight:750}
.reminder-row{min-height:76px;border-radius:14px;box-shadow:0 4px 14px #11100008}
.reminder-row:hover{box-shadow:0 12px 28px #11100013}
.reminder-quick-add{min-height:76px;border-radius:14px}
.reminder-timeline{gap:3px}
.reminder-day{gap:12px;grid-template-columns:148px minmax(0,1fr)}
.reminder-day-label strong{font-size:14px}
.quick-panel,.reminder-panel{width:min(560px,48vw);padding:32px 34px}
.quick-panel .detail-grid,.reminder-panel .detail-grid{border:0;border-radius:15px;background:var(--os-blue-soft);padding:19px;margin:25px 0}
.app-shell>#panel .detail-grid{border:0;border-radius:15px;background:var(--os-blue-soft);padding:19px;margin:25px 0}
.reminder-panel .detail-grid{background:var(--os-teal-soft)}
.reminder-snooze{position:relative;flex:none;align-self:center}
.reminder-row.overdue-row .reminder-snooze{align-self:flex-start}
.reminder-snooze-trigger{padding:7px 10px;border-radius:8px;background:#f3f3f1;color:#50504c;font:700 11px Inter,sans-serif;cursor:pointer}
.reminder-snooze-trigger:hover,.reminder-snooze-trigger[aria-expanded=true]{background:#202523;color:#fff}
.reminder-snooze-menu{position:fixed;z-index:160;width:max-content;max-width:calc(100vw - 24px);padding:6px;background:#fff}
.reminder-snooze-menu[hidden]{display:none}
.reminder-snooze-menu button{display:block;width:100%;padding:9px 10px;border-radius:7px;text-align:left;font:650 11px Inter,sans-serif;color:#222}
.reminder-snooze-menu button:hover{background:var(--os-teal-soft)}
.reminder-repeat-settings[hidden],.reminder-advanced[hidden],.reminder-end-date[hidden],.reminder-end-count[hidden],.reminder-scope-dialog[hidden],.reminder-weekdays[hidden],#reminder-weekdays-field[hidden]{display:none!important}
.reminder-early-options{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0}
.reminder-early-options label,.reminder-weekdays label{position:relative;cursor:pointer}
.reminder-early-options input,.reminder-weekdays input{position:absolute;inset:0 auto auto 0;width:1px;height:1px;opacity:0}
.reminder-early-options span{display:block;padding:6px 10px;border:1px solid #dededa;border-radius:9px;background:#fff;color:#666}
.reminder-early-options input:checked+span{border-color:#222;background:#202523;color:#fff}
.reminder-early-options input:focus-visible+span{outline:2px solid #111;outline-offset:2px}
.reminder-advanced{margin:6px 0 22px;border-bottom:1px solid #e8e8e8;background:transparent}
.reminder-advanced>summary{display:flex;align-items:center;justify-content:space-between;padding:16px 0;cursor:pointer;list-style:none;color:#111}
.reminder-advanced>summary::-webkit-details-marker{display:none}
.reminder-advanced>summary:hover{color:#555}
.reminder-advanced>summary:focus-visible{outline:2px solid #111;outline-offset:2px}
.reminder-advanced-chevron{font-size:18px;line-height:1;transition:transform .2s}
.reminder-advanced[open] .reminder-advanced-chevron{transform:rotate(180deg)}
.reminder-repeat-settings{display:grid;gap:22px;padding:2px 0 16px;background:transparent}
.reminder-repeat-interval{display:inline-flex;align-items:center;gap:3px;margin-top:8px}
.reminder-repeat-interval>span,.reminder-end-count>span{margin-left:10px;color:#777;font-size:12px}
.reminder-stepper{display:inline-flex;align-items:center;gap:4px;width:max-content;max-width:100%;padding:0;border:0;border-radius:0;background:transparent}
.reminder-stepper button{display:grid;place-items:center;width:30px;height:34px;padding:0;border:0;border-radius:0;background:transparent;color:#666;font-size:20px;line-height:1;cursor:pointer;transition:color .16s,transform .16s}
.reminder-stepper button:hover{background:transparent;color:#111;transform:scale(1.12)}
.reminder-stepper button:focus-visible{outline:2px solid #111;outline-offset:1px;border-radius:5px}
.reminder-form .field .reminder-stepper input{width:46px;min-width:0;height:34px;padding:4px 0;border:0;border-bottom:1px solid #ccc;border-radius:0;outline:0;background:transparent;color:#111;text-align:center;font:750 14px Inter,sans-serif}
.reminder-form .field .reminder-stepper input:focus{border-bottom-color:#111}
.reminder-end-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:10px 0 12px;padding:0;border-bottom:1px solid #e8e8e8;background:transparent}
.reminder-end-choices button{min-width:0;padding:10px 3px 9px;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:#666;cursor:pointer}
.reminder-end-choices button:hover{color:#111}
.reminder-end-choices button[aria-pressed=true]{border-bottom-color:#111;background:transparent;color:#111;box-shadow:none}
.reminder-end-date{padding:11px 0!important;border:0!important;border-bottom:1px solid #ddd!important;border-radius:0;background:transparent;color:#111}
.reminder-end-count{margin-top:2px}
.reminder-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin-top:9px}
.reminder-weekdays span{display:grid;place-items:center;min-height:34px;border-radius:8px;background:#f4f4f4;color:#777;font:700 11px Inter,sans-serif}
.reminder-weekdays input:checked+span{background:#111;color:#fff}
.reminder-weekdays input:focus-visible+span{outline:2px solid #111;outline-offset:2px}
.reminder-scope-dialog{position:fixed;inset:0;z-index:140;display:grid;place-items:center;padding:18px;background:rgba(17,23,21,.22);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
#reminder-backdrop.scope-blur{background:rgba(17,23,21,.2);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.reminder-scope-card{width:min(420px,100%);padding:25px;border-radius:19px;background:#fff;box-shadow:0 20px 70px #1113}
.reminder-scope-card h3{margin:0 0 17px;font-size:21px;letter-spacing:-.04em}
.reminder-scope-card [data-reminder-scope]{display:block;width:100%;margin-top:8px;padding:15px;border:1px solid #e9ebe7;border-radius:11px;text-align:left;color:#202923;font:700 13px Inter,sans-serif;cursor:pointer}
.reminder-scope-card [data-reminder-scope]:hover{border-color:#628e74;background:#f1f6f2}
.reminder-scope-card [data-reminder-scope]:disabled{opacity:.48;cursor:not-allowed;background:#f8f8f6}
@media(max-width:1050px){.reminder-tabs:not(.archive-reminder-tabs){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.reminder-tabs:not(.archive-reminder-tabs){grid-template-columns:repeat(2,minmax(0,1fr))}.reminder-snooze-trigger{padding:6px}.reminder-row{gap:8px}}

/* Reminder cards sit above the page without outlines; open menus must cover later rows. */
.reminder-row,.reminder-row:hover{border:0}
.reminder-row{position:relative;box-shadow:0 4px 16px #161b1910}
.reminder-row:hover{box-shadow:0 10px 24px #161b191a}
.reminder-row.overdue-row,.reminder-row.overdue-row:hover{border:0}
.reminder-row.overdue-row{min-height:76px;box-shadow:0 4px 16px #b4231815}
.reminder-row.overdue-row:hover{box-shadow:0 10px 24px #b4231824}
.reminder-snooze-trigger{display:inline-flex;align-items:center;gap:5px}
.reminder-snooze-icon{display:block;flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:url('assets/reminder-snooze.png') center/contain no-repeat;mask:url('assets/reminder-snooze.png') center/contain no-repeat}
.reminder-calendar-day{transition:background .18s,box-shadow .18s}
.reminder-calendar-day.is-drop-target{background:#dce9e655;box-shadow:inset 0 0 0 2px #5e9c92;border-radius:14px}
.reminder-row[draggable=true]{cursor:grab}
.reminder-row.dragging{cursor:grabbing}
.quick-panel .detail-label,.reminder-panel .detail-label{font-size:10px;color:#71716d}
.quick-panel .detail-value,.reminder-panel .detail-value{font-size:14px;font-weight:750}
.quick-panel .panel-form-title,.reminder-panel .panel-form-title{font-size:11px;letter-spacing:.1em;font-weight:750}
.quick-panel .field label,.reminder-panel .field label{font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#999}
.quick-panel .field input,.quick-panel .field textarea,.quick-panel .field select,.reminder-panel .field input,.reminder-panel .field textarea,.reminder-panel .field select{font-size:14px;line-height:1.45}
.quick-panel .field textarea,.reminder-panel .field textarea{min-height:130px}
.quick-panel #quick-file-input{display:block;width:100%;font-size:11px;color:#777}
.quick-panel #quick-file-input::file-selector-button{margin-right:12px;padding:9px 12px;border:0;border-radius:8px;background:#111;color:#fff;font:650 11px Inter,sans-serif;cursor:pointer}
.archive-mode .board:not(:has(.ticket))::after{content:'Chưa có booking nào trong Lưu trữ.';grid-column:1/-1;margin:24px auto;color:#999;font-size:12px}
.archive-mode .quick-list:empty::after{content:'Chưa có ghi chú trong nhóm này.';display:block;padding:18px 0;color:#aaa;font-size:11px;text-align:center}


/* Flat ticket surfaces: stage color and depth carry the separation. */
.board .ticket,.quick-card{border:0;box-shadow:0 4px 16px #1110000d}
.board .ticket:hover,.quick-card:hover{border:0;box-shadow:0 10px 26px #1110001a}
.board .ticket.selected,.quick-card.selected{border:0;box-shadow:0 12px 28px #11100024}

/* Finance overview: adjacent month steps, fund snapshot, and compact history. */
.finance-month-controls{display:flex;align-items:center;gap:6px;flex:0 0 auto;margin-bottom:8px}
.finance-month-controls .finance-month-shell{flex:0 0 174px;margin-bottom:0}
.finance-month-step{display:grid;place-items:center;width:37px;height:38px;flex:0 0 37px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#111;font-size:26px;line-height:1;transition:background .16s,transform .16s,opacity .16s}
.finance-month-step:hover:not(:disabled){background:#ededeb;transform:translateY(-1px)}
.finance-month-step:disabled{opacity:.26;cursor:default}
.finance-month-step:focus-visible{outline:2px solid #111;outline-offset:2px}
.finance-view-overview .finance-overview-grid>.finance-fund-glance{background:#f2e84d;color:#111}
.finance-glance-caption{margin:3px 0 15px;color:#1119;font-size:10px;font-weight:600}
.finance-glance-list{display:grid;gap:7px}
.finance-glance-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:49px;padding:7px 10px;border-radius:10px;background:#ffffff73}
.finance-glance-row .finance-brand-icon{width:25px;height:25px;border:0;border-radius:7px;background:#fff;overflow:hidden}
.finance-glance-row .finance-brand-icon img{width:25px;height:25px}
.finance-glance-row .finance-brand-generic svg{width:19px;height:19px}
.finance-glance-row .finance-glance-label{min-width:0;font-size:11px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.finance-glance-row strong{font-size:12px;font-weight:800;letter-spacing:-.03em;white-space:nowrap}
.finance-glance-saving{border-radius:10px;background:#ffffff73;overflow:hidden}
.finance-glance-saving summary{grid-template-columns:28px minmax(0,1fr) auto 10px;background:transparent;cursor:pointer;list-style:none;transition:background .16s}
.finance-glance-saving summary::-webkit-details-marker{display:none}
.finance-glance-saving summary:hover{background:#ffffff50}
.finance-glance-saving summary:focus-visible{outline:2px solid #111;outline-offset:-2px}
.finance-glance-chevron{font-size:16px;line-height:1;transition:transform .2s}
.finance-glance-saving[open] .finance-glance-chevron{transform:rotate(180deg)}
.finance-glance-breakdown{display:grid;gap:4px;margin:0 9px 9px;padding-top:6px;border-top:1px solid #1112;animation:finance-saving-reveal .22s ease-out}
.finance-glance-breakdown>div{display:grid;grid-template-columns:25px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:33px;padding:3px 1px}
.finance-glance-breakdown .finance-brand-icon{width:25px;height:25px;flex:0 0 25px;border-radius:7px;background:#fff}
.finance-glance-breakdown .finance-brand-icon img{width:25px;height:25px}
.finance-glance-breakdown>div span:not(.finance-brand-icon){font-size:10px;font-weight:600}
.finance-glance-breakdown>div strong{font-size:11px;font-weight:750;white-space:nowrap}
@keyframes finance-saving-reveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.finance-glance-breakdown{animation:none}.finance-glance-chevron{transition:none}}
.finance-overview-lower{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;align-items:start;margin-top:14px}
.finance-view-overview .finance-overview-lower>.finance-surface{min-width:0;min-height:0;padding:20px}
.finance-view-overview .finance-overview-lower .finance-year-rows{grid-template-columns:1fr;gap:5px}
.finance-view-overview .finance-overview-lower .finance-year-row{grid-template-columns:78px minmax(0,1fr) 92px;gap:8px;padding:9px 10px}
.finance-view-overview .finance-overview-lower .finance-year-row span{font-size:10px;white-space:nowrap}
.finance-view-overview .finance-overview-lower .finance-year-row strong{font-size:10px;white-space:nowrap}
.finance-view-overview .finance-overview-lower .finance-booking-history{margin-top:0;background:#fff;color:#111}
.finance-view-overview .finance-overview-lower .finance-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:none;overflow:visible;padding:0}
.finance-view-overview .finance-overview-lower .finance-history-row{grid-template-columns:1fr auto;gap:2px 6px;min-width:0;padding:10px 12px;background:#f5f5f2}
.finance-view-overview .finance-overview-lower .finance-history-row:hover{background:#eaeae6}
.finance-view-overview .finance-overview-lower .finance-history-row small{grid-column:1;color:#888}
.finance-view-overview .finance-overview-lower .finance-history-row strong{grid-column:2;grid-row:1/3;font-size:11px}
@media(max-width:1180px){.finance-overview-lower{grid-template-columns:1fr 1.5fr}.finance-view-overview .finance-overview-lower .finance-history-grid{grid-template-columns:1fr}.finance-glance-row strong{font-size:11px}}

/* Work stage palette: readable white and black cards, shared in Booking and Products. */
.stage-head .color-menu{min-width:190px;padding:10px}
.stage-head .swatches{display:grid;grid-template-columns:repeat(6,22px);gap:8px}
.stage-head .swatch{width:22px;height:22px;border:1px solid #1113;box-shadow:none}
.stage-head .swatch[aria-pressed="true"]{outline:2px solid #111;outline-offset:2px}
.board .ticket.ticket-dark{background:#111;color:#fff}
.board .ticket.ticket-dark .card-field strong{color:#fff}
.board .ticket.ticket-dark .card-field span,.board .ticket.ticket-dark .product-urgency{color:#ffffffb8}
.board .ticket.ticket-dark .product-urgency{border-top-color:#ffffff40}
.board .ticket.ticket-dark:focus-visible{outline-color:#fff;outline-offset:-4px}

:is(.dashboard-reminder-backdrop,.dashboard-inline-backdrop){z-index:30}
:is(.dashboard-reminder-panel,.dashboard-inline-panel){z-index:31}
.quick-mode #dashboard-inline-host #backdrop.show{display:block}
.quick-mode #dashboard-inline-host #panel{display:block}


/* Finance Booking: one clear pipeline and cash view, shared with Work tickets. */
.finance-view-bookings .finance-booking-head{margin-bottom:17px}
.finance-booking-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.finance-booking-kpi{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:9px;min-width:0;min-height:126px;padding:20px;border:0;border-radius:18px;text-align:left;color:#111;cursor:pointer;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,filter .2s}
.finance-booking-kpi.blue{background:#e4edff}.finance-booking-kpi.yellow{background:#f2e84d}.finance-booking-kpi.teal{background:#dcecf0}.finance-booking-kpi.black{background:#111;color:#fff}
.finance-booking-kpi:hover{transform:translateY(-3px);box-shadow:0 10px 22px #11100011}
.finance-booking-kpi.selected{box-shadow:0 9px 22px #11100016;transform:translateY(-2px)}
.finance-booking-kpi span{font-size:12px;font-weight:700;line-height:1.2}
.finance-booking-kpi strong{max-width:100%;font-size:clamp(23px,2vw,32px);font-weight:800;line-height:1.05;letter-spacing:-.055em;font-variant-numeric:tabular-nums;white-space:nowrap}
.finance-booking-kpi small{font-size:10px;line-height:1.35;opacity:.7}
.finance-booking-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:28px 0 12px}
.finance-booking-list-head h3{margin:0;font-size:22px;font-weight:800;letter-spacing:-.045em}
.finance-booking-list-head h3 span{margin-left:5px;color:#999;font-size:12px;font-weight:600;letter-spacing:0}
.finance-booking-list-head p{margin:5px 0 0;color:#898984;font-size:11px}
.finance-view-bookings .finance-booking-tools{justify-content:flex-end;flex-wrap:wrap;margin:0}
.finance-view-bookings .finance-segment{background:#ebebe8;border-radius:10px}
.finance-view-bookings .finance-segment button{white-space:nowrap;font-size:10px}
.finance-view-bookings #finance-booking-search{width:250px;height:37px}
.finance-booking-month-summary{display:flex;align-items:center;gap:16px;margin:4px 0 13px;padding:11px 14px;border-radius:10px;background:#f0f0ed;color:#666;font-size:11px}
.finance-booking-month-summary strong{font-size:12px;color:#111;font-variant-numeric:tabular-nums}
.finance-booking-month-summary strong:last-child{margin-left:auto}
.finance-booking-list{display:flex;flex-direction:column;gap:9px;padding-bottom:48px}
.finance-booking-row{display:grid;grid-template-columns:minmax(185px,2fr) minmax(95px,.75fr) minmax(135px,.9fr) minmax(135px,1fr) minmax(230px,1.45fr);align-items:center;gap:15px;min-width:0;padding:18px 20px;border-radius:16px;background:#fff;box-shadow:0 4px 16px #1110000b;transition:transform .18s ease,box-shadow .18s ease}
.finance-booking-row:hover{transform:translateY(-2px);box-shadow:0 9px 24px #11100013}
.finance-booking-row.awaiting{background:#fffdf0}.finance-booking-row.paid{background:#f3f7ff}.finance-booking-row.archived{opacity:.68}
.finance-booking-identity{display:flex;flex-direction:column;min-width:0;gap:5px}
.finance-booking-name{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;max-width:100%;padding:0;text-align:left;color:#111;font-size:14px;font-weight:750;line-height:1.3;letter-spacing:-.025em;cursor:pointer}
.finance-booking-name span{flex:0 0 auto;color:#777;font-size:17px;line-height:1;transition:transform .18s ease}
.finance-booking-name:hover span{transform:translate(2px,-2px)}
.finance-booking-identity>span{color:#858580;font-size:10px;line-height:1.4}
.finance-booking-field,.finance-booking-payment label,.finance-booking-dates label{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.finance-booking-field>span:first-child,.finance-booking-payment label>span,.finance-booking-dates label>span{color:#92928b;font-size:9px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.finance-booking-stage{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border-radius:6px;background:#eaeae6;color:#3c3c39;font-size:10px;font-weight:750;line-height:1.2;white-space:nowrap}
.finance-booking-stage.doing{background:#dcecf0}.finance-booking-stage.approved{background:#c5efd3}.finance-booking-stage.aired{background:#e4edff}.finance-booking-stage.pending{background:#f5efb4}
.finance-booking-fee{position:relative}.finance-booking-fee input{width:100%;min-width:0;padding:0 15px 1px 0;border:0;border-bottom:1px solid transparent;outline:0;background:transparent;color:#111;font:750 18px Inter,sans-serif;letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.finance-booking-fee input:hover,.finance-booking-fee input:focus{border-bottom-color:#111}
.finance-booking-fee em{position:absolute;right:0;bottom:4px;color:#777;font-size:11px;font-style:normal}
.finance-booking-payment select,.finance-booking-dates input{max-width:100%;min-width:0;padding:3px 0;border:0;border-bottom:1px solid transparent;background:transparent;color:#222;font:650 11px Inter,sans-serif;outline:0;cursor:pointer}
.finance-booking-payment select:hover,.finance-booking-payment select:focus,.finance-booking-dates input:hover,.finance-booking-dates input:focus{border-bottom-color:#111}
.finance-booking-dates{display:grid;grid-template-columns:1fr 1fr;gap:9px;min-width:0}
.finance-booking-dates input{width:100%;font-size:10px}
.finance-booking-warning{grid-column:1/-1;margin:0;color:#b42318;font-size:10px}
.finance-booking-empty{display:flex;flex-direction:column;align-items:center;gap:6px;padding:32px 18px;border-radius:15px;background:#fff;text-align:center}
.finance-booking-empty strong{font-size:14px}.finance-booking-empty span{max-width:520px;color:#888;font-size:11px;line-height:1.5}
.finance-booking-empty button{margin-top:7px;padding:8px 12px;border-radius:8px;background:#111;color:#fff;font-size:11px;font-weight:700;cursor:pointer}
.finance-booking-empty button:hover{background:#333}
@media(max-width:1250px){.finance-booking-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-booking-list-head{align-items:flex-start;flex-direction:column}.finance-view-bookings .finance-booking-tools{justify-content:flex-start}.finance-booking-row{grid-template-columns:minmax(180px,2fr) minmax(85px,.75fr) minmax(125px,1fr) minmax(130px,1fr)}.finance-booking-dates{grid-column:1/-1;grid-template-columns:180px 180px}}
@media(max-width:760px){.finance-booking-row{grid-template-columns:1fr 1fr}.finance-booking-identity{grid-column:1/-1}.finance-booking-dates{grid-template-columns:1fr 1fr}.finance-view-bookings #finance-booking-search{width:100%}}
@media(prefers-reduced-motion:reduce){.finance-booking-kpi,.finance-booking-row,.finance-booking-name span{transition:none}}

/* Booking finance controls: quiet rows and small, focused pickers. */
.finance-view-bookings .finance-booking-row,.finance-view-bookings .finance-booking-row.awaiting,.finance-view-bookings .finance-booking-row.paid{background:#fff;box-shadow:0 3px 16px rgba(25,31,37,.055)}
.finance-view-bookings .finance-booking-row:hover{box-shadow:0 9px 23px rgba(25,31,37,.11)}
.finance-booking-name{display:block;font-size:14px;font-weight:750;line-height:1.3;letter-spacing:-.025em}
.finance-booking-dates>div{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-width:0}
.finance-booking-dates>div>span{color:#92928b;font-size:9px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}
.finance-booking-choice{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;min-height:26px;padding:2px 0;color:#242421;font:650 11px Inter,sans-serif;text-align:left;cursor:pointer;transition:color .18s ease}
.finance-booking-choice b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:650}
.finance-booking-choice i{flex:0 0 auto;color:#969690;font-size:16px;font-style:normal;line-height:1;transition:transform .18s ease,color .18s ease}
.finance-booking-choice:hover{color:#111}.finance-booking-choice:hover i{color:#111;transform:translateY(2px)}
.finance-booking-choice:focus-visible{outline:2px solid #111;outline-offset:3px;border-radius:3px}
.finance-booking-choice.awaiting{color:#635824}.finance-booking-choice.paid{color:#374f64}
.finance-booking-list-head{align-items:flex-end}
.finance-view-bookings .finance-booking-tools{align-items:center;gap:7px}
.finance-view-bookings .finance-month-controls{margin:0 4px 0 0}
.finance-view-bookings .finance-month-shell{flex-basis:142px}
.finance-view-bookings .finance-month-trigger{font-size:11px}
.finance-booking-picker-backdrop{position:fixed;inset:0;z-index:90;background:rgba(17,20,23,.12);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);animation:finance-picker-shade .22s ease both}
.finance-booking-picker{position:fixed;z-index:91;width:var(--picker-width);max-width:calc(100vw - 24px);padding:20px;border:0;border-radius:17px;background:#fff;box-shadow:0 20px 55px rgba(20,25,29,.2);animation:finance-picker-enter .28s cubic-bezier(.2,.8,.2,1) both}
.finance-picker-title{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}
.finance-picker-title span{color:#9b9b95;font-size:9px;font-weight:750;letter-spacing:.11em}
.finance-picker-title strong{color:#111;font-size:18px;font-weight:800;letter-spacing:-.04em}
.finance-picker-options{display:grid;gap:3px}
.finance-picker-options button{display:flex;align-items:center;justify-content:space-between;min-height:39px;padding:9px 11px;border-radius:9px;text-align:left;color:#4b4b47;font:650 12px Inter,sans-serif;transition:background .16s,color .16s}
.finance-picker-options button:hover{background:#f3f3f0;color:#111}
.finance-picker-options button.active{background:#111;color:#fff}
.finance-picker-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 13px}
.finance-picker-calendar-head strong{font-size:12px;font-weight:750}
.finance-picker-calendar-head button{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;color:#444;font-size:22px;line-height:1;transition:background .16s}
.finance-picker-calendar-head button:hover{background:#efefec}
.finance-picker-months{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.finance-picker-months button,.finance-picker-days button{display:grid;place-items:center;min-height:34px;border-radius:8px;color:#41413d;font:650 11px Inter,sans-serif;transition:background .16s,color .16s,transform .16s}
.finance-picker-months button:hover,.finance-picker-days button:hover{background:#ececea;transform:translateY(-1px)}
.finance-picker-months button.active,.finance-picker-days button.active{background:#111;color:#fff}
.finance-picker-clear{margin-top:14px;color:#858580;font-size:11px;font-weight:600}
.finance-picker-clear:hover{color:#111}
.finance-picker-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.finance-picker-days small{padding:3px 0 7px;color:#999;font-size:9px;font-weight:700}
.finance-picker-days button{min-height:32px}
.finance-picker-footer{display:flex;justify-content:space-between;gap:10px;margin-top:14px;padding-top:11px;border-top:1px solid #eeeeeb}
.finance-picker-footer button{color:#666;font-size:11px;font-weight:700}
.finance-picker-footer button:hover{color:#111}
@keyframes finance-picker-enter{from{opacity:0;transform:translateY(7px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes finance-picker-shade{from{opacity:0}to{opacity:1}}
@media(max-width:1250px){.finance-view-bookings .finance-booking-tools{justify-content:flex-start}.finance-booking-list-head{align-items:flex-start}}
@media(max-width:760px){.finance-view-bookings .finance-month-controls{width:100%}.finance-view-bookings .finance-booking-tools{width:100%}.finance-view-bookings .finance-segment{width:100%;overflow:auto}.finance-booking-dates{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){.finance-booking-picker,.finance-booking-picker-backdrop,.finance-booking-choice i{animation:none;transition:none}}
.finance-view-bookings .finance-booking-list-head{align-items:stretch;flex-direction:column;gap:13px}
.finance-view-bookings .finance-booking-tools{width:100%;justify-content:flex-start}
.finance-view-bookings #finance-booking-search{margin-left:auto}
@media(max-width:760px){.finance-view-bookings #finance-booking-search{margin-left:0}}

.finance-view-bookings .finance-booking-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.finance-view-bookings .finance-booking-kpis{grid-template-columns:1fr}}

/* Finance Booking: compact list alongside month-by-month signals. */
.finance-booking-content{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr);align-items:start;gap:20px;margin-top:27px}
.finance-booking-main{min-width:0}
.finance-booking-main .finance-booking-list-head{margin:0 0 12px}
.finance-booking-main .finance-booking-tools{gap:8px}
.finance-booking-main #finance-booking-search{width:min(100%,240px);margin-left:0}
.finance-booking-main .finance-booking-row{grid-template-columns:1.05fr 1.1fr 1fr 1fr;grid-template-areas:'identity identity identity stage' 'fee payment month received';align-items:start;gap:13px 18px;padding:16px 20px}
.finance-booking-main .finance-booking-identity{grid-area:identity}
.finance-booking-main .finance-booking-identity .finance-booking-name{font-size:15px}
.finance-booking-main .finance-booking-identity>span{font-size:11px}
.finance-booking-main .finance-booking-row>.finance-booking-field:nth-child(2){grid-area:stage;align-items:flex-end;align-self:center}
.finance-booking-main .finance-booking-row>.finance-booking-field:nth-child(2)>span{display:none}
.finance-booking-main .finance-booking-fee{grid-area:fee}
.finance-booking-main .finance-booking-row>.finance-booking-field:nth-child(4){grid-area:payment}
.finance-booking-main .finance-booking-dates{display:contents}
.finance-booking-main .finance-booking-dates>div:first-child{grid-area:month}
.finance-booking-main .finance-booking-dates>div:last-child{grid-area:received}
.finance-booking-main .finance-booking-dates .finance-booking-choice{font-size:12px}
.finance-booking-main .finance-booking-dates .finance-booking-choice b{overflow:visible;text-overflow:clip}
.finance-booking-main .finance-booking-warning{grid-column:1/-1}
.finance-booking-analytics{display:grid;gap:14px;min-width:0}
.finance-booking-chart{min-width:0;padding:24px 26px 19px;border-radius:20px;color:#111;overflow:hidden}
.finance-booking-chart.blue{background:#e4edff}.finance-booking-chart.teal{background:#dcecf0}
.finance-booking-chart-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.finance-booking-chart-top span{display:block;margin-bottom:7px;color:#737c83;font-size:10px;font-weight:750;letter-spacing:.1em}
.finance-booking-chart-top h4{margin:0;font-size:20px;font-weight:800;letter-spacing:-.04em}
.finance-booking-chart-top small{flex:0 0 auto;color:#66737c;font-size:10px;font-weight:700}
.finance-booking-chart-current{display:block;margin-top:18px;font-size:clamp(27px,2.4vw,38px);font-weight:800;letter-spacing:-.055em;line-height:1.05;font-variant-numeric:tabular-nums}
.finance-booking-chart p{margin:6px 0 0;color:#626d75;font-size:11px;font-weight:600}
.finance-booking-chart svg{display:block;width:100%;height:auto;margin-top:10px;overflow:visible}
.finance-booking-chart svg>text{fill:#727c82;font:650 12px Inter,system-ui,sans-serif}
.finance-booking-chart-area{fill:#2855e9;opacity:.08}.finance-booking-chart.teal .finance-booking-chart-area{fill:#4f95a8}
.finance-booking-chart-line{fill:none;stroke:#2855e9;stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round}.finance-booking-chart.teal .finance-booking-chart-line{stroke:#4f95a8}
.finance-booking-chart-hit{fill:transparent;pointer-events:all}
.finance-booking-chart-point{cursor:help;outline:0}
.finance-booking-chart-dot{fill:#fff;stroke:#2855e9;stroke-width:2.5;transition:r .17s ease}.finance-booking-chart.teal .finance-booking-chart-dot{stroke:#4f95a8}
.finance-booking-chart-dot.current{fill:#2855e9;stroke:#fff;stroke-width:3}.finance-booking-chart.teal .finance-booking-chart-dot.current{fill:#4f95a8}
.finance-booking-chart-point:hover .finance-booking-chart-dot,.finance-booking-chart-point:focus .finance-booking-chart-dot{r:7}
.finance-booking-chart .finance-live-ring{stroke:#2855e9}.finance-booking-chart.teal .finance-live-ring{stroke:#4f95a8}
.finance-booking-chart-tip{opacity:0;pointer-events:none;transition:opacity .15s ease;filter:drop-shadow(0 3px 8px #1112)}
.finance-booking-chart-point:hover .finance-booking-chart-tip,.finance-booking-chart-point:focus .finance-booking-chart-tip{opacity:1}
.finance-booking-chart-tip rect{fill:#fff}.finance-booking-chart-tip text{fill:#111;font:750 11px Inter,system-ui,sans-serif}
@media(max-width:1180px){.finance-booking-content{grid-template-columns:1fr}.finance-booking-analytics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.finance-booking-analytics{grid-template-columns:1fr}.finance-booking-content{gap:10px}.finance-booking-main .finance-booking-row{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:'identity stage' 'fee payment' 'month received';gap:14px;padding:17px}}
@media(prefers-reduced-motion:reduce){.finance-booking-chart-dot,.finance-booking-chart-tip{transition:none}}

/* Product calendar: the inventory rail and planning grid share the app's soft cards. */
.product-calendar-mode .product-cal-layout{display:grid;grid-template-columns:minmax(240px,280px) minmax(0,1fr);gap:22px;align-items:start;margin-top:24px}
.product-shelf{position:sticky;top:230px;max-height:calc(100vh - 250px);overflow:auto;background:#f0f0ed;border-radius:20px;padding:20px;}
.product-shelf h2,.product-calendar h2{font-size:23px;letter-spacing:-.055em;margin:0;font-weight:800}
.product-shelf h2 span{font-size:13px;color:#999;margin-left:4px}
.product-shelf-list{display:grid;gap:9px}
.product-shelf-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;gap:5px;background:#fff;border-radius:13px;padding:14px;box-shadow:0 5px 18px #11100009;cursor:grab;transition:transform .23s cubic-bezier(.22,1,.36,1),box-shadow .23s}
.product-shelf-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #11100015}
.product-shelf-card strong,.product-cal-card strong{font-size:12px;line-height:1.35;letter-spacing:-.025em}
.product-shelf-card span,.product-cal-card span{font-size:11px;color:#777}
.product-shelf-card small,.product-cal-card small{font-size:10px;color:#999}
.product-shelf-divider{font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#999;margin:24px 0 11px}
.product-shelf-empty{font-size:11px;color:#999}
.product-shelf-drop{border:1px dashed #bcbcb5;border-radius:11px;padding:12px;text-align:center;font-size:10px;color:#888;margin-top:22px;transition:background .2s}
.product-shelf-drop.drop-target{background:#dfeafa;color:#111;border-color:#111}
.product-calendar{min-width:0}
.product-cal-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:0 0 17px}
.product-cal-actions{display:flex;gap:6px;align-items:center}
.product-cal-actions button{height:34px;min-width:34px;background:#fff;border:1px solid #e5e5e0;border-radius:9px;padding:0 11px;font-size:11px;font-weight:700;transition:transform .2s,background .2s}
.product-cal-actions button:hover{background:#eee;transform:translateY(-2px)}
.product-cal-actions #product-prev,.product-cal-actions #product-next{font-size:22px;line-height:1}
.product-cal-filter{height:34px;min-width:140px;padding:0 10px;border:1px solid #e5e5e0;border-radius:9px;background:#fff;font-size:11px;color:#555;text-align:left}
.product-cal-filter:hover{border-color:#999}
.product-cal-weekdays,.product-cal-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}
.product-cal-weekdays span{text-align:center;font-size:10px;font-weight:750;color:#999;padding:10px 0}
.product-cal-grid{border-radius:16px;overflow:hidden;gap:2px;background:transparent}
.product-cal-day{min-height:142px;background:#fff;padding:9px 7px;transition:background-color .2s;min-width:0;outline:1px solid #6a77612b}
.product-cal-day.outside{background:#f6f6f4}
.product-cal-day.today{background:#f3f7ff}
.product-cal-day.drop-target{background:#e0ebff;box-shadow:inset 0 0 0 2px #2c57e8}
.product-cal-dayhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.product-cal-dayhead span{font-size:11px;font-weight:750;color:#555;width:24px;height:24px;display:grid;place-items:center}
.product-cal-day.today .product-cal-dayhead span{background:#111;color:#fff;border-radius:50%}
.product-cal-dayhead button{opacity:0;font-size:16px;color:#777;transition:opacity .18s}
.product-cal-day:hover .product-cal-dayhead button,.product-cal-dayhead button:focus-visible,.product-cal-dayhead button[aria-expanded=true]{opacity:1}
.product-cal-card{display:flex;flex-direction:column;gap:3px;text-align:left;width:100%;background:var(--product-card-color,#e8edfa);border-radius:9px;padding:9px 8px;margin-bottom:5px;cursor:grab;transition:transform .2s,box-shadow .2s}
.product-cal-card:hover{transform:translateY(-2px);box-shadow:0 7px 16px #1112}
.product-cal-card{animation:product-place .3s cubic-bezier(.22,1,.36,1) both}
.product-cal-grid{animation:product-grid-in .28s cubic-bezier(.22,1,.36,1) both}
@keyframes product-place{from{opacity:0;transform:translateY(7px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes product-grid-in{from{opacity:.65;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.product-cal-card.dragging,.product-shelf-card.dragging{opacity:.45}
.product-popover-layer,.product-control-popover{position:fixed;inset:0;z-index:50;pointer-events:none}
.product-popover-dismiss,.product-control-dismiss{position:absolute;inset:0;pointer-events:auto}
.product-popover,.product-control-box{position:fixed;min-width:240px;max-width:min(340px,calc(100vw - 20px));padding:15px;background:#fff;border-radius:var(--detail-picker-radius);box-shadow:var(--detail-picker-shadow);opacity:0;transform:translateY(-6px) scale(.97);transition:opacity .22s,transform .26s cubic-bezier(.22,1,.36,1);pointer-events:auto}
.product-popover-layer.open .product-popover,.product-control-popover.open .product-control-box{opacity:1;transform:translateY(0) scale(1)}
.product-popover.product-calendar-add-choice{display:grid;gap:6px;min-width:0;padding:0;background:transparent;box-shadow:none;border:0}
.product-calendar-add-choice button{min-width:146px;padding:10px 12px;border-radius:9px;background:#fffffff5;color:#222a25;box-shadow:0 3px 12px #17272224;font-size:12px;font-weight:650;text-align:left;white-space:nowrap}
.product-calendar-add-choice button:hover{background:#e9efeb}
.product-calendar-add-choice button:focus-visible{outline:2px solid #4d7588;outline-offset:1px}
body:has(#app[data-workspace-lighting=night]) .product-calendar-add-choice button{background:#223847;color:#eef4f2}
body:has(#app[data-workspace-lighting=night]) .product-calendar-add-choice button:hover{background:#35505f}
.product-pop-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:12px}
.product-pop-title button{width:28px;height:28px;border-radius:7px;background:#f0f0ed;font-size:20px}
.product-pop-title strong{font-size:13px}
.product-pop-months{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}
.product-pop-months button,.product-control-options button{padding:9px;border-radius:8px;font-size:11px;text-align:center}
.product-pop-months button:hover,.product-control-options button:hover,.product-pop-months button.active,.product-control-options button.active{background:#111;color:#fff}
.product-pop-heading{font-size:11px;font-weight:800;margin-bottom:12px}
.product-pop-fields{display:grid;gap:12px;font-size:12px}
.product-pop-fields label{display:flex;gap:9px;align-items:center;cursor:pointer}
.product-pop-fields input{accent-color:#111}
.product-control-options{display:grid;gap:3px}
.product-control-options button{text-align:left}
.product-panel .product-control-button{display:block;width:100%;padding:8px 0;border-bottom:1px solid #dfdfda;text-align:left;font-size:13px;color:#222;min-height:32px}
.product-panel .product-control-button:hover{border-color:#111}
.product-control-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}
.product-control-days small{font-size:9px;color:#999;padding:7px 0}
.product-control-days button{height:31px;border-radius:7px;font-size:11px}
.product-control-days button:hover,.product-control-days button.active{background:#111;color:#fff}
.product-control-clear{display:block;width:100%;padding:10px 0 2px;color:#777;font-size:11px;text-align:center}
.product-control-time{display:flex;gap:8px;align-items:center}
.product-time-hours,.product-time-minutes{height:180px;overflow:auto;flex:1;display:grid;align-content:start;}
.product-control-time button{padding:7px;border-radius:6px;font-size:12px}
.product-control-time button:hover,.product-control-time button.active{background:#111;color:#fff}
@media(max-width:1000px){.product-calendar-mode .product-cal-layout{grid-template-columns:210px minmax(600px,1fr);overflow-x:auto}.product-shelf{top:170px}.product-cal-day{min-height:115px}}
@media(prefers-reduced-motion:reduce){.product-shelf-card,.product-cal-card,.product-popover,.product-control-box{transition:none;animation:none}}
.product-calendar-mode .product-cal-layout{grid-template-columns:minmax(250px,290px) minmax(0,1fr);gap:24px}
.product-shelf{padding:20px 18px;overflow:auto}
.product-calendar-mode .product-shelf{height:calc(100dvh - 250px);min-height:320px;max-height:none;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:auto}
.product-pointer-dragging,.product-pointer-dragging *{user-select:none!important;-webkit-user-select:none!important;cursor:grabbing!important}
.product-drag-ghost{position:fixed!important;z-index:1000;pointer-events:none!important;margin:0!important;left:0;top:0;opacity:.94;transform:rotate(-1deg);box-shadow:0 16px 38px #1113!important;transition:none!important;animation:none!important}
.product-shelf-stage{border-radius:14px;padding:11px 9px;margin-top:7px;transition:background .22s cubic-bezier(.22,1,.36,1),box-shadow .22s}
.product-shelf-stage.drop-target{background:#dce8ff;box-shadow:inset 0 0 0 2px #2c57e8}
.product-shelf-stage-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:1px 4px 11px;color:#545450}
.product-shelf-stage-head strong{font-size:12px;font-weight:750}
.product-shelf-stage-head span{font-size:11px;color:#999}
.product-shelf-stage .product-shelf-list{min-height:30px}
.product-shelf-stage .product-shelf-empty{margin:0;padding:6px 3px;color:#aaa}
.work-sticky .workspace-switcher{align-items:center;margin-top:22px;border-bottom:0;gap:18px}
.work-sticky .workspace-tabs{align-items:stretch;gap:10px;flex-shrink:0}
.work-sticky .workspace-tab{display:flex;min-width:170px;min-height:72px;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px;margin:0;padding:12px 17px;border:0;border-radius:15px;background:#ebebe8;color:#292927;text-align:left;transition:background .2s,transform .2s,box-shadow .2s}
.work-sticky .workspace-tab:hover{transform:translateY(-2px);box-shadow:0 7px 18px #11100012}
.work-sticky .workspace-tab.active{background:#111;color:#fff}
.work-sticky .workspace-tab strong{font-size:14px;font-weight:800;letter-spacing:-.025em}
.work-sticky .workspace-tab span{font-size:11px;opacity:.72}
.work-sticky .workspace-tab b{font-size:15px;opacity:1}
.work-sticky .workspace-switcher .tools{padding-bottom:0}
.product-calendar-mode #product-settings{min-width:37px;height:37px;font-size:23px;line-height:1}
.product-shelf-add{width:100%;min-height:43px;padding:9px 11px;border:0;border-radius:11px;color:#555;font-size:11px;font-weight:700;text-align:left}
.product-shelf-add:hover{background:#fff}
.product-shelf-quick-form{display:grid;gap:12px;padding:16px 13px;border:1px solid var(--shelf-quick-line,#20352a22);border-radius:12px}
.product-calendar-mode .product-shelf-quick-form{animation:shelf-list-drop .3s cubic-bezier(.22,1,.36,1)}
@media(prefers-reduced-motion:reduce){.product-calendar-mode .product-shelf-quick-form{animation:none}}
.product-shelf-quick-form label{display:grid;gap:6px;font-size:11px;line-height:1.35;font-weight:700}
.product-shelf-quick-form input{width:100%;min-width:0;min-height:34px;padding:6px 9px;border:1px solid var(--shelf-quick-line,#20352a22);border-radius:7px;background:var(--shelf-quick-input,#fff4);font:inherit;font-size:12px;font-weight:400;color:inherit}
.product-shelf-quick-form input::placeholder{color:var(--shelf-card-muted,#606b70);opacity:1}
.product-shelf-quick-form>div{display:flex;justify-content:flex-end;gap:8px}
.product-shelf-quick-form button{padding:7px 11px;border-radius:7px;background:var(--shelf-quick-input,#fff4);font-size:11px;font-weight:700}
.product-shelf-quick-form button[type=submit]{background:var(--shelf-quick-action,#111);color:var(--shelf-quick-action-ink,#fff)}
@media(max-width:1050px){.work-sticky .workspace-switcher{flex-wrap:wrap}.work-sticky .workspace-tabs{width:100%}.work-sticky .workspace-tab{flex:1;min-width:135px}}
/* Warm yellow inventory surface; restrained black text and white product cards. */
.product-calendar-mode .product-shelf{background:var(--shelf-bg,#f3efdb);color:var(--shelf-ink,#171712);box-shadow:none;overscroll-behavior:contain}
.product-calendar-mode .product-shelf .eyebrow{color:var(--shelf-muted,#6d661f)}
.product-calendar-mode .product-shelf h2{color:var(--shelf-ink,#111);padding:3px 2px 15px;margin:0 0 8px;border-bottom:1px solid color-mix(in srgb,var(--shelf-ink,#111) 18%,transparent)}
.product-calendar-mode .product-shelf h2 span{color:var(--shelf-ink,#111);font-size:19px;font-weight:800;margin-left:5px}
.product-calendar-mode .product-shelf-stage{background:transparent}
.product-calendar-mode .product-shelf-stage.drop-target{background:#ffffff3d;box-shadow:inset 0 0 0 1px var(--shelf-muted,#111)}
.product-calendar-mode .product-shelf-stage-head{color:var(--shelf-ink,#252317)}
.product-calendar-mode .product-shelf-stage-head span{color:var(--shelf-muted,#625e32)}
.product-calendar-mode .product-shelf-stage .product-shelf-empty{color:#655f35}
.product-calendar-mode .product-shelf-card{background:var(--product-card-color,#fff);color:#111;box-shadow:0 2px 7px #1b292014,0 1px 2px #1b29200d}
.product-calendar-mode .product-shelf-card:hover{background:var(--product-card-color,#fff);box-shadow:0 5px 14px #11100012}
.product-calendar-mode .product-shelf-card span{color:#666}
.product-calendar-mode .product-shelf-card small{color:#888}
.product-calendar-mode .product-shelf-add{background:#ffffff14;color:var(--shelf-ink,#282616)}
.product-calendar-mode .product-shelf-add:hover{background:#ffffff48}
.product-calendar-mode .product-shelf[data-shelf-tone="dark"] .product-shelf-add{background:#ffffff0c}
.product-calendar-mode .product-shelf[data-shelf-tone="dark"] .product-shelf-add:hover{background:#ffffff20}
.product-calendar-mode .product-shelf-stage{position:relative}
.product-calendar-mode .product-shelf-add{position:absolute;top:3px;right:7px;width:auto;min-height:27px;max-height:none;padding:4px 9px;border-radius:8px;opacity:0;transform:translateY(5px);pointer-events:none;transition:opacity .3s ease,transform .3s cubic-bezier(.22,1,.36,1),background .2s}
.product-calendar-mode .product-shelf-stage:is(:hover,:focus-within,.drop-target) .product-shelf-add{opacity:1;transform:translateY(0);pointer-events:auto}
.product-calendar-mode .product-shelf-stage-count{transition:opacity .2s ease}
.product-calendar-mode .product-shelf-stage:is(:hover,:focus-within,.drop-target) .product-shelf-stage-count{opacity:0}
.product-calendar-mode .product-shelf-add[hidden]{display:none!important}
@media(hover:none){.product-calendar-mode .product-shelf-add{position:static;width:100%;opacity:1;transform:none;pointer-events:auto}.product-calendar-mode .product-shelf-stage-count{opacity:1!important}}
.product-calendar-mode .product-shelf-card.compact{gap:0;padding-block:11px}
.product-shelf-card{user-select:none;-webkit-user-select:none}
.product-shelf-card,.product-cal-card,.product-week-event{touch-action:pan-y;user-select:none;-webkit-user-select:none}
.product-cal-toolbar{align-items:center;flex-wrap:wrap}
.product-cal-toolbar h2{font-size:25px}
.product-cal-actions{gap:9px;flex-wrap:wrap;justify-content:flex-end}
.product-cal-nav,.product-cal-view{display:flex;align-items:center;gap:5px}
.product-cal-view{background:#eeefec;border-radius:10px;padding:3px}
.product-cal-view button{border:0;background:transparent;box-shadow:none;height:29px;min-width:54px;padding:0 10px}
.product-cal-view button.active{background:#111;color:#fff}
.product-cal-nav #product-month{min-width:126px;max-width:190px;white-space:nowrap}
.product-cal-weekdays span{font-size:12px;font-weight:750;color:#222;padding:10px 0 12px}
.product-cal-dayhead span{font-size:14px;width:28px;height:28px;color:#222}
.product-cal-day{min-height:146px}
.product-week-frame{border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 6px 28px #1110000b}
.product-week-head{position:sticky;top:0;z-index:10;display:grid;grid-template-columns:54px repeat(7,minmax(0,1fr));border-bottom:1px solid #e5e5e0;min-width:754px}
.product-week-corner{font-size:10px;font-weight:700;color:#999;padding:14px 5px;background:#fff}
.product-week-date{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 4px 11px;border-left:1px solid #eee;background:#fff}
.product-week-date span{font-size:11px;font-weight:750;color:#222}
.product-week-date strong{font-size:26px;letter-spacing:-.055em;line-height:1.1}
.product-week-date small{font-size:10px;color:#888}
.product-week-date.today{background:#111;color:#fff}
.product-week-date.today span,.product-week-date.today strong{color:#fff}
.product-week-scroll{max-height:min(744px,calc(100vh - 276px));overflow:auto;min-width:754px;}
.product-week-body{display:grid;grid-template-columns:54px minmax(700px,1fr);min-width:754px}
.product-week-time{height:1536px;position:relative;background:#fff}
.product-week-time span{position:absolute;left:4px;transform:translateY(-50%);font-size:10px;color:#999;white-space:nowrap}
.product-week-columns{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));height:1536px}
.product-week-column{position:relative;border-left:1px solid #e8e8e3;min-width:0;transition:background .18s}
.product-week-column.today,.product-week-column.drop-target{background:transparent}
.product-week-slot{height:32px;border-top:0}
.product-week-slot:nth-of-type(odd){border-top:1px solid #dcdcd6}
.product-week-column.drop-target .product-week-drop-line{display:block}
.product-week-drop-line{display:none;position:absolute;left:0;right:0;height:2px;background:#2c57e8;z-index:4;pointer-events:none;box-shadow:0 0 0 3px #2c57e82b}
.product-week-event{position:absolute;left:3px;right:3px;z-index:3;min-height:28px;border-radius:9px;background:var(--product-card-color,#dfeafa);padding:5px 6px 9px;box-shadow:0 3px 10px #11100012;cursor:grab;overflow:hidden;user-select:none;-webkit-user-select:none;transition:box-shadow .2s,transform .2s}
.product-week-event:hover{box-shadow:0 8px 19px #11100024;transform:translateY(-1px)}
.product-week-event.dragging{opacity:.45}
.product-week-event.resizing{cursor:ns-resize;transition:none;z-index:5}
.product-week-event-body{display:flex;flex-direction:column;gap:1px;overflow:hidden;max-height:100%}
.product-week-event strong{font-size:11px;line-height:1.2;letter-spacing:-.02em}
.product-week-event small,.product-week-event span{font-size:9px;line-height:1.15;color:#535b68}
.product-week-resize{position:absolute;bottom:0;left:0;right:0;width:100%;height:15px;touch-action:none;cursor:ns-resize;background:transparent}
.product-week-resize:after{content:'';display:block;width:25px;height:2px;border-radius:3px;background:#6077ac;margin:5px auto 0;opacity:.7}
.product-week-resize:hover:after{background:#111;opacity:1}
.product-inline-panel{left:max(12px,var(--product-detail-left,320px));right:auto;top:clamp(24px,8vh,84px);bottom:auto;width:min(540px,calc(100vw - var(--product-detail-left,320px) - 20px));max-height:calc(100dvh - 12vh);border:0;border-radius:var(--detail-panel-radius);padding:25px 30px;box-shadow:var(--detail-panel-shadow);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(18px) scale(.97);transition:opacity .38s cubic-bezier(.22,1,.36,1),transform .38s cubic-bezier(.22,1,.36,1),visibility 0s linear .38s}
.product-inline-panel.open,.product-inline-panel.open.closing{animation:none}
.product-calendar-mode .product-shelf-card[hidden],.product-calendar-mode .product-cal-card[hidden],.product-calendar-mode .product-week-event[hidden],.product-calendar-mode .product-shelf-empty[hidden]{display:none}
.product-inline-panel.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0) scale(1);transition:opacity .38s cubic-bezier(.22,1,.36,1),transform .38s cubic-bezier(.22,1,.36,1),visibility 0s}
.product-inline-panel.closing{opacity:0;transform:translateY(14px) scale(.98)}
.product-inline-panel.task-detail-panel{
  left:50%;top:50%;width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);
  transform:translate(-50%,calc(-50% + 18px)) scale(.97);
}
.product-inline-panel.task-detail-panel.open{transform:translate(-50%,-50%)}
.product-inline-panel.task-detail-panel.closing{transform:translate(-50%,calc(-50% + 14px)) scale(.98)}
.product-due-hint[hidden]{display:none}
.task-detail-panel .product-task-actions,.reminder-panel .product-task-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;font-size:12px;font-weight:650}
.task-detail-panel .product-task-actions #product-delete{width:auto;min-height:34px;margin:0;padding:7px 13px;font:inherit}
.product-task-completion{display:inline-flex;align-items:center;gap:8px;cursor:pointer}
.product-task-completion input{appearance:none;display:grid;place-items:center;width:17px;height:17px;margin:0;border:1px solid #6d8174;border-radius:50%;cursor:pointer}
.product-task-completion input:checked{background:#345949;border-color:#345949;color:#fff}
.product-task-completion input:checked::after{content:"✓";font-size:11px}
.product-task-completion span{padding:7px 12px;border-radius:8px;background:#65857522}
.product-task-completion:hover span{background:#65857536}
.booking-inline-panel .panel-kicker,.booking-inline-panel .detail-grid,.booking-inline-panel .panel-form-title{display:none}
.booking-inline-panel .product-detail-heading{margin-top:21px}
.booking-inline-panel .panel-edit-form{border-top:0}
.booking-inline-panel .panel-edit-form .booking-progress-grid{gap:12px 17px;margin-bottom:16px}
.booking-inline-panel .panel-edit-form .product-date-field .product-control-button{min-height:32px}
.product-calendar-mode .backdrop.show{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
@media(max-width:1250px){.product-cal-actions{justify-content:flex-start}.product-cal-toolbar{align-items:flex-start}.product-week-frame{overflow-x:auto}}
@media(prefers-reduced-motion:reduce){.product-week-event,.product-inline-panel,.product-shelf-stage{transition:none}}
@media(max-width:1000px){.product-calendar-mode .product-cal-layout{grid-template-columns:minmax(0,1fr);overflow:visible}.product-calendar-mode .product-shelf{position:relative;top:auto;height:auto;min-height:0;max-height:360px}.product-week-frame{overflow-x:auto}}
/* Keep both panels scrollable without visible rails or page scroll chaining. */

/* Product detail, shared by Công việc and Dashboard. */
.product-panel{overscroll-behavior:contain;}
.product-panel .product-detail-heading{margin:0}
.product-panel .product-detail-heading input,.product-panel .product-detail-brand input{display:block;width:100%;padding:3px 0;border:0;border-bottom:1px solid transparent;background:transparent;outline:0;color:#111}
.product-panel .product-detail-heading input{padding-bottom:0;font-size:23px;font-weight:800;letter-spacing:-.05em;line-height:1.2}
.product-panel .product-detail-brand input{padding-top:0;font-size:13px;font-weight:550;color:#62625e}
.product-panel .product-detail-heading input::placeholder{color:#b4b4af;opacity:1}
.product-panel .product-detail-brand input::placeholder{color:#b4b4af;opacity:1}
.product-panel .product-detail-heading input:focus,.product-panel .product-detail-brand input:focus{border-bottom-color:#777}
.product-panel .product-detail-summary{gap:12px;border:0;padding:0;margin:24px 0}
.product-panel .product-detail-summary>div{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:76px;padding:17px 12px 17px 58px;border-radius:14px;background:#f2f3f1}
.product-panel .product-detail-summary>div:first-child{background:#eaf0f2}
.product-panel .product-detail-summary .detail-label{color:#737773;font-size:10px;font-weight:750}
.product-panel .product-summary-top{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:20px;margin-bottom:4px}
.product-panel .product-summary-top .detail-label{margin-bottom:0}
.product-panel .product-summary-icon{position:absolute;left:16px;top:50%;display:block;width:30px;height:30px;object-fit:contain;transform:translateY(-50%)}
.product-panel .product-detail-summary .detail-value{font-size:16px;font-weight:750}
.product-panel .product-timeline{grid-column:1/-1;margin:2px 0 8px;padding:19px 20px;border-radius:15px;background:#f7f7f5}
.product-timeline-heading{margin-bottom:17px;font-size:11px;font-weight:750;color:#343a38}
.product-timeline-track{position:relative;display:grid;gap:0;margin-left:5px}
.product-timeline-track::before{content:'';position:absolute;top:10px;bottom:10px;left:5px;width:1px;background:#d4d9d6}
.product-timeline-point{position:relative;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;min-height:40px;gap:4px;font-size:12px;color:#777}
.product-timeline-dot{position:relative;z-index:1;width:11px;height:11px;border:2px solid #a9b5b0;border-radius:50%;background:#f7f7f5}
.product-timeline-label{font-weight:600;color:#464c48}
.product-timeline-point time{font-size:11px;font-weight:600;color:#777}
.product-timeline-point.is-today .product-timeline-dot{border-color:#2855e9;background:#2855e9;box-shadow:0 0 0 5px #2855e922;animation:product-today-pulse 2.4s ease-in-out infinite}
.product-timeline-point.is-today .product-timeline-label,.product-timeline-point.is-today time{color:#2855e9;font-weight:750}
@keyframes product-today-pulse{50%{box-shadow:0 0 0 9px #2855e900}}
@media(prefers-reduced-motion:reduce){.product-timeline-point.is-today .product-timeline-dot{animation:none}}

/* Use one circular marker for today in every custom day picker. */
:is(.product-control-days,.finance-picker-days) button.is-today{
  justify-self:center;width:min(100%,31px);height:auto;min-height:0;aspect-ratio:1;
  border-radius:50%;background:#111;color:#fff;font-weight:700;
}

/* Product history stays beside the four date controls. */
.product-panel .booking-payment-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch}
.product-panel .booking-payment-grid>.product-timeline{grid-column:1;grid-row:2 / span 4;min-width:0;min-height:270px;margin:0;padding:18px 15px}
.product-panel .product-timeline-heading{margin:0 0 12px;font-size:11px}
.product-panel .product-timeline-track{position:relative;display:grid;align-content:center;min-height:210px;gap:0;margin:0;padding:0}
.product-panel .product-timeline-track::before{display:none}
.product-panel .product-timeline-point{position:relative;display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;min-height:56px;gap:8px;outline:none}
.product-panel .product-timeline-point::before,.product-panel .product-timeline-point::after{content:'';position:absolute;left:34px;z-index:0;width:1px;background:#858b86}
.product-panel .product-timeline-point::before{top:0;height:calc(50% - 18px)}
.product-panel .product-timeline-point::after{top:calc(50% + 18px);bottom:0}
.product-panel .product-timeline-point:first-child::before,.product-panel .product-timeline-point:last-child::after{display:none}
.product-panel .product-timeline-point time{z-index:1;grid-column:1;grid-row:1;display:block;justify-self:center;min-width:50px;margin:0;padding:6px 7px;border:0;border-radius:100px;background:#949995;color:#fff;font-size:11px;font-weight:400;line-height:1.15;text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}
.product-panel .product-timeline-point .product-timeline-label{grid-column:2;grid-row:1;min-width:0;color:#4d514e;font-size:11px;font-weight:600;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.product-panel .product-timeline-point.is-latest time{background:#e95d26;color:#fff}
.product-panel .product-timeline-point.is-latest .product-timeline-label{color:#222;font-weight:700}
.product-panel .product-timeline-point.is-overdue time{background:#b83e37;color:#fff}
.product-panel .product-timeline-point.is-overdue .product-timeline-label{color:#a9342f;font-weight:750}
.product-panel .product-timeline-point.is-today:not(.is-latest) time{background:#949995;color:#fff;box-shadow:none}
.product-panel .product-timeline-point.is-today:not(.is-latest) .product-timeline-label{color:#a45436;font-weight:700}
.product-panel .product-timeline-point:focus-visible{outline:2px solid #9faee8;outline-offset:2px;border-radius:5px}
@keyframes product-history-reveal{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
.product-panel:not(.open) .product-timeline:not(.has-interacted) .product-timeline-point{opacity:0}
.product-panel.open .product-timeline:not(.has-interacted) .product-timeline-point{animation:product-history-reveal .42s calc(.36s + var(--milestone-delay,0ms)) cubic-bezier(.2,.7,.2,1) both}
@media(prefers-reduced-motion:reduce){.product-panel:not(.open) .product-timeline:not(.has-interacted) .product-timeline-point{opacity:1}.product-panel.open .product-timeline:not(.has-interacted) .product-timeline-point{animation:none}}

/* Shared dropdown for every workspace; the native select remains in FormData. */
.os-select{position:relative;display:block;width:100%;min-width:0}
.os-select.os-select-filter{width:auto;min-width:140px;flex:none}
.os-select .os-native-select{position:absolute!important;width:1px!important;min-width:0!important;height:1px!important;padding:0!important;margin:0!important;border:0!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important}
.os-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:37px;padding:7px 0;border:0;border-bottom:1px solid #dededb;border-radius:0;background:transparent;color:#222;text-align:left;font:600 13px Inter,sans-serif;cursor:pointer}
.os-select-trigger:hover,.os-select-trigger[aria-expanded=true]{border-bottom-color:#111;color:#111}
.os-select-trigger:focus-visible{outline:2px solid #111;outline-offset:2px;border-radius:4px}
.os-select-trigger:disabled{opacity:.5;cursor:not-allowed}
.os-select-value{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.os-select-chevron{flex:none;color:#747470;font-size:18px;line-height:1;transition:transform .18s}
.os-select-trigger[aria-expanded=true] .os-select-chevron{transform:rotate(180deg)}
.os-select-filter .os-select-trigger{min-height:34px;padding:0 10px;border:1px solid #e5e5e0;border-radius:8px;background:#fff;font-size:11px}
.os-select-filter .os-select-trigger:hover,.os-select-filter .os-select-trigger[aria-expanded=true]{border-color:#111}
.os-select-menu{position:fixed;z-index:160;max-height:min(330px,calc(100vh - 24px));overflow-y:auto;padding:6px;border:1px solid #ecece9;border-radius:12px;background:#fff;box-shadow:0 16px 44px #1112;}
.os-select-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:36px;padding:9px 11px;border-radius:8px;color:#333;text-align:left;font:600 12px Inter,sans-serif;cursor:pointer}
.os-select-option:hover,.os-select-option:focus-visible{outline:0;background:#f3f3f1;color:#111}
.os-select-option[aria-selected=true]{background:#f4f4f2;color:#111;font-weight:750}
.os-select-option[aria-selected=true]::after{content:'✓';color:#111;font-size:13px}
.os-select-option:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:1200px){.workspace-switcher .os-select-filter{min-width:125px}}

/* Per-user glass controls for product detail, shared by Công việc and Dashboard. */
.product-panel{background:rgba(255,255,255,var(--product-glass-panel-opacity,1));backdrop-filter:blur(var(--product-glass-panel-blur,0px)) saturate(1.12);-webkit-backdrop-filter:blur(var(--product-glass-panel-blur,0px)) saturate(1.12)}
.product-panel .product-detail-summary>div{background:color-mix(in srgb,#f2f3f1 var(--product-glass-layer-opacity,100%),transparent);backdrop-filter:blur(var(--product-glass-layer-blur,0px));-webkit-backdrop-filter:blur(var(--product-glass-layer-blur,0px));box-shadow:inset 0 1px 0 #ffffff99,0 7px 20px #1110000c}
.product-panel .product-detail-summary>div:first-child{background:color-mix(in srgb,#eaf0f2 var(--product-glass-layer-opacity,100%),transparent)}
.product-panel .product-timeline{background:color-mix(in srgb,#f2f3f1 var(--product-glass-layer-opacity,100%),transparent);backdrop-filter:blur(var(--product-glass-layer-blur,0px));-webkit-backdrop-filter:blur(var(--product-glass-layer-blur,0px));box-shadow:inset 0 1px 0 #ffffff99,0 7px 20px #1110000c}
.product-panel .note-editor{background:color-mix(in srgb,#fff var(--product-glass-layer-opacity,100%),transparent);backdrop-filter:blur(var(--product-glass-layer-blur,0px));-webkit-backdrop-filter:blur(var(--product-glass-layer-blur,0px))}
.product-panel .note-toolbar{background:color-mix(in srgb,#fafaf8 var(--product-glass-layer-opacity,100%),transparent)}

/* Local color and glass trial for Sản phẩm cần quay. */
.product-theme-open{min-height:36px;padding:7px 11px;border:1px solid #d9dbd8;border-radius:10px;background:#fff;color:#333;font:700 11px Inter,sans-serif;white-space:nowrap}
.product-theme-open:hover,.product-theme-open:focus-visible{border-color:#27456c;color:#27456c}
.product-theme-studio{position:fixed;z-index:190;top:96px;right:18px;width:min(290px,calc(100vw - 30px));max-height:calc(100dvh - 112px);overflow-y:auto;padding:17px;border:1px solid #d8e2e5;border-radius:17px;background:#fffffff5;box-shadow:0 18px 55px #142e4250;color:#24313b;font:12px Inter,sans-serif;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}
.product-theme-studio[hidden]{display:none}
body:has(.product-panel.open) .product-theme-studio{right:auto;left:18px}
.product-theme-head{display:flex;align-items:start;justify-content:space-between;gap:10px;margin-bottom:15px}
.product-theme-head div{display:grid;gap:4px}.product-theme-head small{color:#71818a;font-size:9px;font-weight:750;letter-spacing:.13em}.product-theme-head strong{font-size:17px;letter-spacing:-.04em}
.product-theme-head button{width:25px;height:25px;font-size:22px;line-height:1;color:#626e72}
.product-theme-pick{width:100%;padding:10px;border:1px dashed #47748b;border-radius:9px;background:#eaf2f6;color:#27456c;font-size:11px;font-weight:750;text-align:center}
.product-theme-pick[aria-pressed=true]{background:#27456c;color:#fff;border-style:solid}
.product-theme-selected{min-height:28px;padding:11px 0 5px;font-size:11px;font-weight:700}
.product-theme-studio select{width:100%;height:35px;margin:4px 0 9px;border:1px solid #dce3e6;border-radius:8px;background:#fff;color:#334;font:11px Inter,sans-serif}
.product-theme-studio select[hidden]{display:none}
.product-theme-studio .os-select[hidden],.product-theme-studio .os-select:has(> select[hidden]){display:none}
.os-select-menu[aria-label="Phạm vi áp dụng"]{z-index:210}
.product-theme-swatches{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin:10px 0 14px}.product-theme-swatches button{min-width:0;height:28px;border-radius:8px;box-shadow:inset 0 0 0 1px #1112}.product-theme-swatches button.active{outline:2px solid #111;outline-offset:2px}
.product-theme-color,.product-theme-range{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px;margin:11px 0;color:#4e5b60;font-size:11px;font-weight:650}.product-theme-color input{width:42px;height:26px;border:0;background:none;cursor:pointer}
.product-theme-preview{height:35px;overflow:hidden;border:1px solid #dce3e6;border-radius:9px;background-color:#fff;background-image:linear-gradient(45deg,#dbe1e2 25%,transparent 25%),linear-gradient(-45deg,#dbe1e2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dbe1e2 75%),linear-gradient(-45deg,transparent 75%,#dbe1e2 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0}
.product-theme-preview>div{width:100%;height:100%}
.product-theme-range input{grid-column:1/-1;width:100%;accent-color:#47748b}.product-theme-range output{font-variant-numeric:tabular-nums;color:#1e343d}
.product-theme-foot{display:grid;gap:7px;margin-top:17px;padding-top:12px;border-top:1px solid #e2e8ea}.product-theme-foot button{justify-self:start;color:#27456c;font-size:11px;font-weight:750}.product-theme-foot span{font-size:10px;color:#879298}
.product-theme-picking .app-shell,.product-theme-picking .app-shell *{cursor:crosshair}
.product-theme-studio [data-theme-text-color-reset]{font:inherit;border:0;background:transparent;color:#426376;cursor:pointer;text-align:left;padding:0 0 8px}

/* Two inventories share the same calendar; their controls sit inside the shelf. */
.product-calendar-mode .product-shelf-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;padding:3px;margin:0 0 10px;border-radius:999px;background:#ffffff9c;box-shadow:inset 0 0 0 1px #22333a17}
.product-calendar-mode .product-shelf-switch button{min-width:0;min-height:34px;padding:6px 8px;border-radius:999px;color:#39464a;font:600 11.5px Montserrat,Inter,sans-serif;white-space:nowrap;transition:background-color .24s ease,color .24s ease,box-shadow .24s ease,transform .24s ease}
.product-calendar-mode .product-shelf-switch button[aria-pressed="true"]{background:#111!important;color:#fff!important;box-shadow:0 2px 8px #1114}
.product-calendar-mode .product-shelf-switch button:hover{transform:translateY(-1px)}
.product-calendar-mode .product-shelf-content.is-revealing :is(.product-shelf-stage-head,.product-shelf-card[data-product-id],.product-shelf-reminder-item),
.product-calendar-mode .product-shelf-stage.is-expanding .is-newly-revealed:not([data-shelf-reminder]){animation:shelf-list-drop 300ms cubic-bezier(.22,1,.36,1) both}
@keyframes shelf-list-drop{from{opacity:0;translate:0 -9px}to{opacity:1;translate:0 0}}
.product-calendar-mode .product-shelf-card,.product-calendar-mode .product-shelf-card:hover{height:var(--product-shelf-card-min-height,44px);min-height:var(--product-shelf-card-min-height,44px);max-height:var(--product-shelf-card-min-height,44px);overflow:hidden}
.product-calendar-mode :is(.product-shelf-card,.product-shelf-card:hover,.product-shelf-quick-form){background-color:var(--shelf-card-glass,rgb(255 255 255 / .43));-webkit-backdrop-filter:blur(11px);backdrop-filter:blur(11px);color:var(--shelf-card-ink,#17212a)!important}
.product-calendar-mode .product-shelf-card[data-shelf-reminder]{cursor:pointer}
.product-calendar-mode .product-shelf-card :is(strong,span),
.product-calendar-mode .product-shelf-card[data-theme-studio-ink=light] :is(strong,span),
.product-calendar-mode .product-shelf-card[data-stage-ink=light] :is(strong,span){color:var(--shelf-card-ink,#17212a)!important}
.product-calendar-mode .product-shelf-card span,
.product-calendar-mode .product-shelf-card:is([data-theme-studio-ink],[data-stage-ink]) span{color:var(--shelf-card-muted,#606b70)!important}
.product-calendar-mode .product-shelf-expand{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-height:27px;padding:4px 6px;border:0;border-radius:0;background:transparent!important;color:#858d8c!important;font-size:11px;font-weight:400;text-align:center;box-shadow:none!important;cursor:pointer;transition:color .2s ease}
.product-calendar-mode .product-shelf-expand:hover{background:transparent!important;color:#555f5e!important;box-shadow:none!important}
.product-calendar-mode .product-shelf-expand-arrow{font-size:16px;line-height:.8}
.product-calendar-mode .product-shelf[data-shelf-tone="dark"] .product-shelf-expand{color:#d2d6d5!important}
.product-calendar-mode .product-shelf-expand:focus-visible{outline:2px solid #27456c;outline-offset:2px}
.product-calendar-mode .product-calendar-filter,.product-calendar-view-switch{display:flex;align-items:center;gap:2px;padding:3px;border-radius:999px;background:rgb(255 255 255 / .40);box-shadow:inset 0 0 0 1px #dce2db;white-space:nowrap}
.product-calendar-mode .product-calendar-filter button,.product-calendar-view-switch button{min-width:0;height:28px;padding:0 9px;border:0;border-radius:999px;background:transparent;color:#354145;font-size:11px;font-weight:700;box-shadow:none;transform:none}
.product-calendar-mode .product-calendar-filter button:hover,.product-calendar-view-switch button:hover{background:#273d3412;transform:none}
.product-calendar-mode .product-calendar-filter button[aria-pressed="true"],.product-calendar-view-switch button[aria-pressed="true"],.product-cal-actions .product-calendar-week-toggle[aria-pressed="true"]{background:#111;color:#fff;box-shadow:0 1px 4px #1113}
.product-calendar-view-switch{width:max-content;margin:0 0 10px}
.product-calendar-view-switch button{padding-inline:13px;transition:background-color .24s ease,color .24s ease}
.product-calendar-body-content.no-grid-entrance .product-cal-grid{animation:none}
@media(prefers-reduced-motion:reduce){.product-calendar-view-switch button{transition:none}}
.product-calendar-timeline.reminder-content{padding:0 10px 12px 0;max-height:calc(100dvh - 175px)}
.product-view-setting{display:flex;align-items:center;gap:9px;padding:9px 2px 12px;color:#33424a;font-size:12px;cursor:pointer}
.product-view-setting input{accent-color:#203742}
@media(prefers-reduced-motion:reduce){.product-calendar-mode .product-shelf-content.is-revealing :is(.product-shelf-stage-head,.product-shelf-card[data-product-id],.product-shelf-reminder-item),.product-calendar-mode .product-shelf-stage.is-expanding .is-newly-revealed:not([data-shelf-reminder]){animation:none!important}.product-calendar-mode .product-shelf-switch button{transition:none}}
.product-theme-hover{outline:2px solid #27456c!important;outline-offset:2px!important}
.product-calendar-mode :is(.product-shelf-card,.product-cal-card,.product-week-event)[data-theme-studio-ink=light] :is(strong,span,small){color:#fff}
.product-calendar-mode .product-shelf[data-theme-studio-ink=light] :is(.product-shelf-top .eyebrow,h2,.product-shelf-hint,.product-shelf-stage-head strong,.product-shelf-stage-head span){color:#fff}
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark]{border:0;color:#202a30}
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark] h2{border-bottom:0;color:#202a30}
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark] h2 span,
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark] .product-shelf-stage-head strong{color:#202a30}
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark] .product-shelf-stage-head span,
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark] .product-shelf-stage .product-shelf-empty{color:#68747b}
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark] .product-shelf-add{color:#34424a;background:#fff5}
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark] .product-shelf-card{border:0;box-shadow:0 5px 16px #1d334119,0 1px 3px #1d334112}
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark] .product-shelf-card:hover{box-shadow:0 10px 26px #1d334126,0 2px 5px #1d334116}
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark] .product-shelf-stage[data-theme-studio-ink=light] .product-shelf-stage-head :is(strong,span){color:#fff}
.product-calendar-mode :is(.product-shelf-card,.product-cal-card,.product-week-event)[data-stage-ink=light]:not([data-theme-studio-ink]) :is(strong,span,small){color:#fff}
.product-calendar-mode :is(.product-shelf-card,.product-cal-card,.product-week-event)[data-stage-ink=light][data-theme-studio-ink=dark] :is(strong,span,small){color:#17212a}
.product-calendar-mode .product-shelf-card[data-stage-ink=light]:not([data-theme-studio-ink]){color:#fff}
.product-calendar-mode .product-cal-day[data-theme-studio-ink=light] .product-cal-dayhead span{color:#fff}
.product-panel .product-detail-summary>div[data-theme-studio-ink=light] :is(.detail-label,.detail-value){color:#fff}
.product-panel .product-timeline[data-theme-studio-ink=light] :is(.product-timeline-heading,.product-timeline-label){color:#fff}
.product-panel .product-control-button[data-theme-studio-ink=light]{color:#fff}
.product-glass-trigger{float:right;display:grid;place-items:center;width:29px;height:29px;margin:-5px 10px 0 0;border-radius:8px;color:#747c78;font-size:21px;line-height:1;cursor:pointer}
.product-glass-trigger:hover,.product-glass-trigger[aria-expanded=true]{background:#1110000d;color:#111}
.product-glass-trigger:focus-visible{outline:2px solid #111;outline-offset:2px}
.product-glass-popover{position:absolute;top:61px;right:24px;z-index:4;width:min(290px,calc(100% - 48px));max-height:calc(100vh - 100px);overflow-y:auto;padding:17px 18px;border:1px solid #ffffffbf;border-radius:17px;background:rgba(255,255,255,.94);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 18px 50px #1113}
.product-glass-popover[hidden]{display:none}
.product-glass-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.product-glass-heading strong{font-size:13px;letter-spacing:-.025em}
.product-glass-heading button{color:#777;font-size:10px;font-weight:650}
.product-glass-heading button:hover{color:#111;text-decoration:underline}
.product-glass-group{display:grid;gap:10px;padding:13px 0;border-top:1px solid #e6e8e5}
.product-glass-group>span{font-size:10px;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:#717773}
.product-glass-range{display:grid;gap:6px}
.product-glass-range>span{display:flex;justify-content:space-between;gap:12px;color:#383d3a;font-size:11px;font-weight:600}
.product-glass-range output{color:#6b716c;font-variant-numeric:tabular-nums}
.product-glass-range input{width:100%;height:18px;margin:0;accent-color:#202523;cursor:pointer}

/* Popups live under body, so they use root-level glass variables. Keep their text fully opaque. */
.product-control-popover[data-control-kind="select"] .product-control-box{background:rgba(255,255,255,var(--product-glass-select-opacity,1));backdrop-filter:blur(var(--product-glass-select-blur,0px)) saturate(1.08);-webkit-backdrop-filter:blur(var(--product-glass-select-blur,0px)) saturate(1.08)}
.product-control-popover[data-control-kind="date"] .product-control-box{background:rgba(255,255,255,var(--product-glass-date-opacity,1));backdrop-filter:blur(var(--product-glass-date-blur,0px)) saturate(1.08);-webkit-backdrop-filter:blur(var(--product-glass-date-blur,0px)) saturate(1.08)}

/* Product calendar toolbar: compact pills, open navigation controls. */
.main .title,
.product-calendar-mode .product-shelf h2,
.product-calendar-mode .product-cal-toolbar h2{font-family:Montserrat,Inter,system-ui,sans-serif;letter-spacing:-.045em}
.product-calendar-mode .product-cal-view{border-radius:999px}
.product-calendar-mode .product-cal-view button{border-radius:999px}
.product-calendar-mode .product-cal-view button.active{border-radius:999px}
.product-calendar-mode .product-cal-nav #product-month,
.product-calendar-mode #product-today,
.product-cal-actions .product-calendar-week-toggle{border-radius:999px}
.product-calendar-mode .product-cal-nav #product-month{min-width:116px}
.product-calendar-mode .product-cal-nav #product-month,
.product-calendar-mode #product-today,
.product-cal-actions .product-calendar-week-toggle{font-weight:700;background:rgb(255 255 255 / .40)}
.product-calendar-mode .product-cal-nav :is(#product-prev,#product-next),
.product-calendar-mode #product-settings{border:0;background:transparent;box-shadow:none;padding:0;color:#333}
.product-calendar-mode .product-cal-nav :is(#product-prev,#product-next){min-width:32px;font-size:26px}
.product-calendar-mode #product-settings{min-width:37px;font-size:27px}
.product-calendar-mode .product-cal-nav :is(#product-prev,#product-next):hover,
.product-calendar-mode #product-settings:hover{background:transparent;color:#111}
.product-calendar-mode .product-cal-actions button:focus-visible{outline:2px solid #27456c;outline-offset:3px}

/* Show every week of the month within the available viewport height. */
.product-calendar-mode .product-cal-toolbar{margin-bottom:7px}
.product-calendar-mode.month-view .product-cal-weekdays span{padding:6px 0 8px}
.product-calendar-mode.month-view .product-cal-grid{grid-template-rows:repeat(var(--month-rows,6),minmax(64px,1fr));min-height:calc(var(--month-rows,6) * 66px - 2px);align-items:stretch}
@media(max-width:1000px){.product-calendar-mode.month-view .product-cal-grid{grid-template-rows:repeat(var(--month-rows,6),124px)}}
.product-calendar-mode.month-view .product-cal-day{
  --month-cell-blur:4px;
  min-height:0;min-width:0;overflow:hidden;padding:5px 6px;background-color:rgb(255 255 255 / .40);
  -webkit-backdrop-filter:blur(var(--month-cell-blur));
  backdrop-filter:blur(var(--month-cell-blur));
}
.product-calendar-mode.month-view .product-cal-day.today{background-color:rgb(227 237 253 / .40)}
.product-calendar-mode.month-view .product-cal-day.outside{--month-cell-blur:15px;background-color:rgb(139 151 148 / .60)}
.product-calendar-mode.month-view .product-cal-dayhead{margin-bottom:3px}
.product-calendar-mode.month-view .product-cal-dayhead span{width:24px;height:24px;font-size:12px}
.product-calendar-mode.month-view .product-cal-card{display:block;min-height:0;padding:5px 7px;margin-bottom:3px;line-height:1.25;text-transform:none}
.product-calendar-mode.month-view .product-cal-card[hidden]{display:none}
.product-calendar-mode.month-view .product-cal-card strong{display:block;font-size:var(--product-month-card-font-size,10px);font-weight:400;line-height:1.25;letter-spacing:0;overflow-wrap:anywhere;text-transform:none}
.product-calendar-mode.month-view .product-cal-more{display:block;width:100%;min-height:20px;margin-top:2px;padding:2px 6px;border-radius:6px;background:transparent;color:#303a3a;font-size:11px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left}
.product-calendar-mode.month-view .product-cal-more:hover,.product-calendar-mode.month-view .product-cal-more:focus-visible{text-decoration:underline;text-underline-offset:2px}
.product-calendar-mode.month-view .product-cal-day[data-theme-studio-ink=light] .product-cal-more{color:#fff}
.product-calendar-mode.month-view .product-cal-more[hidden]{display:none}
.product-month-overlay{position:fixed;inset:0;z-index:220;pointer-events:none}
.product-month-list{position:absolute;z-index:1;width:min(260px,calc(100vw - 24px));max-height:calc(100dvh - 24px);display:flex;flex-direction:column;padding:14px;border:1px solid #68776a33;border-radius:12px;background:#fff;box-shadow:0 12px 32px #17272129;outline:0;pointer-events:auto}
.product-month-list header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;padding-bottom:10px}
.product-month-date{display:flex;flex-direction:column;align-items:flex-start;gap:1px;color:#20292f}
.product-month-date small{font:400 11px "Instrument Sans",Inter,sans-serif;color:#78858b}
.product-month-date strong{font:600 15px/1.2 Montserrat,Inter,sans-serif}
.product-month-close{width:25px;height:25px;font-size:20px;color:#68747b}
.product-month-items{display:grid;gap:6px;min-height:0;overflow-y:auto;overscroll-behavior:contain}
.product-calendar-mode.month-view .product-month-items .product-cal-card{margin:0;animation:none}
.product-month-items .product-cal-card:focus-visible{outline:2px solid #47748b;outline-offset:-2px}
.product-month-list.has-light-ink :is(.product-month-date,.product-month-date small,.product-month-close){color:#fff}
.product-month-overlay.is-dragging .product-month-list{pointer-events:none;opacity:0;transition:opacity .14s ease}

.product-shelf-stage-head .product-stage-color{flex:none;width:17px;height:17px;margin-left:auto;padding:0;border:2px solid #ffffffb8;border-radius:50%;background:var(--stage-color,#99bfd5);box-shadow:0 0 0 1px #1113;transition:transform .18s,box-shadow .18s}
.product-shelf-stage-head .product-stage-color:hover,.product-shelf-stage-head .product-stage-color:focus-visible{transform:scale(1.16);box-shadow:0 0 0 2px #27456c}
.product-stage-swatches{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin:13px 0}
.product-stage-swatches button{width:24px;height:24px;border:1px solid #1112;border-radius:8px;transition:transform .16s}
.product-stage-swatches button:hover,.product-stage-swatches button:focus-visible{transform:scale(1.14);outline:2px solid #27456c;outline-offset:2px}

/* Booking controls use the same compact, rounded language as the product calendar. */
.work-sticky .workspace-tab:not(.active):not(:disabled){cursor:pointer;opacity:.78}
.work-sticky .workspace-tab:not(.active):not(:disabled):hover{opacity:1}
.main:not(.products-main) .workspace-switcher #search{height:37px;border-radius:999px;padding-inline:15px;background:#fff}
.main:not(.products-main) .workspace-switcher .os-select-filter .os-select-trigger{min-height:37px;border-radius:999px;padding-inline:15px}
.main:not(.products-main) .workspace-switcher .os-select-filter .os-select-chevron{display:none}
.main:not(.products-main) #card-settings-btn{width:37px;height:37px;min-width:37px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;font-size:24px;line-height:1}
.main:not(.products-main) #card-settings-btn:hover{background:#1111110d}
.main:not(.products-main) .stage-head .color-menu{min-width:222px}
.main:not(.products-main) .stage-head .swatches{display:grid;grid-template-columns:repeat(7,22px);gap:8px}
.product-stage-custom{display:flex;align-items:center;justify-content:space-between;color:#444;font-size:11px;font-weight:650}
.product-stage-custom input{width:42px;height:28px;border:0;background:transparent;cursor:pointer}

/* Readable labels when the time rail or individual weekday receives a dark color. */
.product-calendar-mode .product-week-time[data-theme-studio-ink=light] span,
.product-calendar-mode .product-week-date[data-theme-studio-ink=light] :is(span,strong){color:#fff}
.product-calendar-mode .product-week-date[data-theme-studio-ink=dark] :is(span,strong){color:#111}

/* Booking cards display the chosen stage swatch at its real color. */
.main:not(.products-main) .board .ticket{background:var(--ticket-color,#fff)}
.main:not(.products-main) .board .ticket.ticket-dark{background:var(--ticket-color,#111);color:#fff}

/* Quiet inventory frame and compact stage counts. */
.product-calendar-mode{--product-shelf-card-radius:10px;--product-shelf-card-min-height:44px;--product-shelf-card-gap:6px;--product-shelf-text-gap:2px;--product-month-card-font-size:10px}
.product-calendar-mode .product-shelf,
.product-calendar-mode .product-shelf[data-theme-studio-ink=dark]{border:1px solid #d6d9d7}
.product-calendar-mode .product-shelf-stage-head{justify-content:flex-start;gap:6px}
.product-calendar-mode .product-shelf-stage-head .product-shelf-stage-count{display:inline-flex;align-items:center;gap:5px;margin-left:0;font-variant-numeric:tabular-nums}
.product-calendar-mode .product-shelf-stage-count span{font-size:11px;line-height:1}
.product-calendar-mode .product-shelf-list{gap:var(--product-shelf-card-gap)}
.product-calendar-mode .product-shelf-card{min-height:var(--product-shelf-card-min-height);padding:4px 11px;gap:var(--product-shelf-text-gap);justify-content:center;border-radius:var(--product-shelf-card-radius)}
.product-calendar-mode .product-shelf-card.compact{padding-block:4px}
.product-calendar-mode .product-shelf-card :is(strong,span){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:"Instrument Sans",Inter,sans-serif;font-weight:400}
.product-calendar-mode .product-shelf-card strong{font-size:12px;line-height:1.12}
.product-calendar-mode .product-shelf-card span{margin-top:0;font-size:10.5px;line-height:1.12}
.product-calendar-mode .product-shelf-card,.product-calendar-mode .product-shelf-card:hover{height:auto;max-height:none}
.product-calendar-mode .product-shelf-card>strong{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.25;
}
.product-calendar-mode .product-shelf-stage-head .product-stage-color{margin-left:0;margin-right:2px}
.product-calendar-mode .product-shelf-stage[data-theme-studio-ink=light] .product-shelf-stage-head :is(strong,span){color:#fff}
.product-calendar-mode .product-shelf-stage[data-theme-studio-ink=dark] .product-shelf-stage-head :is(strong,span){color:#202a30}

/* Work sections live in the sidebar; keep the content aligned beneath its title. */
.sidebar nav .work-subnav{display:grid;gap:3px;margin:1px 0 9px 23px;padding-left:10px;border-left:1px solid #d7d9d7}
.sidebar nav .work-subnav[hidden]{display:none}
.sidebar nav .work-subitem{width:100%;min-height:33px;padding:7px 11px;border-radius:8px;color:#6a6c69;text-align:left;font-size:11.5px;font-weight:550;transition:background .18s,color .18s}
.sidebar nav .work-subitem:hover{color:#1b2327}
.sidebar nav .work-subitem.active{background:#e9edeb;color:#17242a;font-weight:700}
.sidebar nav .work-subitem:focus-visible{outline:2px solid #27456c;outline-offset:2px}
.work-sticky .workspace-switcher{justify-content:flex-end;margin-top:8px}
.product-calendar-mode .product-cal-layout{margin-top:16px}

/* Align the visible shelf surface with the calendar grid and tighten its header. */
.product-calendar-mode .product-shelf{position:relative;top:auto;padding:16px 14px}
.product-calendar-mode .product-shelf h2{font-size:21px;padding-bottom:9px;margin-bottom:3px}
.product-calendar-mode .product-shelf-stage{padding:6px 7px;margin-top:4px}
.product-calendar-mode .product-shelf-stage-head{padding-bottom:7px}
/* On a desktop-sized product workspace, the calendar and shelf already fit the viewport.
   Keep smaller windows scrollable so the toolbar and calendar remain reachable. */
@media(min-width:1251px) and (min-height:680px){
  body:has(.products-main.product-calendar-mode:not([hidden])){height:100dvh;overflow-y:hidden}
}

/* Typography controls share the selected color scope without flattening text hierarchy. */
.product-theme-typography{display:grid;gap:11px;margin-top:16px;padding-top:15px;border-top:1px solid #e2e8ea}
.product-theme-typography>strong{font-size:10px;letter-spacing:.11em;color:#52636a}
.product-theme-typography label{display:grid;gap:5px;color:#4e5b60;font-size:11px;font-weight:650}
.product-theme-typography .os-select,.product-theme-typography select{margin:0}
.product-theme-typography .os-select-trigger{min-height:34px;padding:6px 9px;border:1px solid #dce3e6;border-radius:8px;background:#fff;font-size:11px}
.product-theme-typography input[type=number]{width:100%;height:34px;padding:5px 9px;border:1px solid #dce3e6;border-radius:8px;background:#fff;color:#24313b;font-size:12px}
.product-demo-controls{display:grid;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid #e5e8ea}
.product-demo-controls strong{font-size:11px;font-weight:650;color:#4d5c61}
.product-demo-controls button{padding:8px 10px;border:1px solid #dce3e6;border-radius:10px;background:#fff;color:#25343a;text-align:left;font:inherit;font-size:11px;cursor:pointer}
.product-demo-controls button:hover{background:#f3f6f6}

/* Compact product detail; titles retain Montserrat, all other copy uses Instrument Sans. */
.product-panel,.product-panel :is(button,input,textarea,select),
.product-control-popover .product-control-box,
.product-control-popover .product-control-box :is(button,input,select){font-family:"Instrument Sans",Inter,sans-serif}
.product-panel .product-detail-heading input,
.product-panel .product-detail-brand input{font-family:Montserrat,Inter,sans-serif}
.product-panel .panel-edit-form{margin-top:15px}
#product-form .field:has(.note-editor){border-top:0}
.product-panel .panel-edit-form .booking-payment-grid{gap:12px 17px;margin-bottom:16px}
.product-theme-weight{display:grid;gap:6px;color:#4e5b60;font-size:11px;font-weight:650}
.product-theme-weight>div{display:flex;gap:5px}
.product-theme-weight button{flex:1;min-height:31px;padding:5px 4px;border:1px solid #dce3e6;border-radius:8px;background:#fff;color:#4b5b62;font-size:10px}
.product-theme-weight button[aria-pressed=true]{border-color:#27456c;background:#27456c;color:#fff}
.product-theme-weight button:focus-visible{outline:2px solid #27456c;outline-offset:2px}
.os-select-menu[aria-label="Font chữ"]{z-index:210}

/* Shared focus treatment for detail boxes across the workspaces. */
:root{--detail-panel-radius:22px;--detail-panel-shadow:0 24px 70px #1113;--detail-picker-radius:16px;--detail-picker-shadow:0 18px 48px #1113;--workspace-sidebar-width:236px;--detail-focus-tint:rgba(17,21,25,.045);--detail-focus-blur:3px}
.backdrop{display:block;left:var(--workspace-sidebar-width);visibility:hidden;opacity:0;pointer-events:none;background:var(--detail-focus-tint);backdrop-filter:blur(var(--detail-focus-blur));-webkit-backdrop-filter:blur(var(--detail-focus-blur));transition:opacity .3s ease,visibility 0s linear .3s}
.backdrop.show{visibility:visible;opacity:1;pointer-events:auto;transition:opacity .3s ease,visibility 0s;animation:detail-focus-in .3s ease both}
@keyframes detail-focus-in{from{opacity:0}to{opacity:1}}
.backdrop.show,
.product-calendar-mode .backdrop.show,
.finance-other-backdrop,
body .modal.show,
body .gl-focus-shade{background:var(--detail-focus-tint);backdrop-filter:blur(var(--detail-focus-blur));-webkit-backdrop-filter:blur(var(--detail-focus-blur))}
.finance-month-backdrop,
.finance-booking-picker-backdrop,
.finance-other-backdrop,
.reminder-scope-dialog,
body .modal.show,
body .gl-focus-shade{left:var(--workspace-sidebar-width)}
@media(prefers-reduced-motion:reduce){.backdrop{transition:none}.backdrop.show{animation:none}}

/* Deadlines are read-only calendar markers derived from the source records. */
.product-calendar-mode .product-deadline-card{display:flex;flex-direction:row;align-items:center;gap:4px;border:0;color:#000;cursor:pointer;box-shadow:none}
.product-calendar-mode .product-deadline-card[data-stage-ink=light]{color:#fff}
.product-calendar-mode .product-deadline-icon{display:grid;place-items:center;flex:0 0 16px;width:16px;height:16px}
.product-calendar-mode .product-deadline-icon svg{display:block;width:16px;height:16px}
.product-calendar-mode .product-deadline-copy{display:block;min-width:0;flex:1}
.product-calendar-mode .product-deadline-card .product-deadline-label{display:block;font-size:9px;font-weight:650;line-height:1.1}
.product-calendar-mode .product-deadline-card :is(span,strong){color:inherit}
.product-calendar-mode.month-view .product-cal-card.product-deadline-card:not([hidden]){display:flex;align-items:center;padding:4px 5px 4px 3px}
.product-calendar-mode.month-view .product-deadline-card strong{font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-week-deadlines{display:grid;grid-template-columns:54px repeat(7,minmax(0,1fr));min-width:754px;background:#fafbf9;border-bottom:1px solid #e8e8e3}
.product-week-deadline-day{grid-column:span 1;min-width:0;padding:4px;border-left:1px solid #e8e8e3}
.product-week-deadline-day:first-child{grid-column:2}
.product-week-deadline-day .product-deadline-card{margin:2px 0;padding:4px;width:100%;font-size:10px;line-height:1.25}
.product-week-deadline-day .product-deadline-card strong{display:block;font-size:10px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Keep the source identity visible while the work detail scrolls. */
.product-inline-panel{display:flex;flex-direction:column;overflow:hidden}
.product-inline-panel .product-detail-header{display:flow-root;flex:none;padding-bottom:10px;background:transparent}
.product-inline-panel .product-detail-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;}
.booking-inline-panel .field-group-title{border-top:0;padding-top:0}
.booking-inline-panel .panel-edit-form .field :is(input,textarea,select),
.booking-inline-panel .panel-edit-form .field .fee-input,
.booking-inline-panel .panel-edit-form .field .product-control-button{border-bottom:0}

/* Forest behind all workspaces and the fixed sidebar. */
#app.work-forest-active{isolation:isolate}
#app.work-forest-active::before,
#app.work-forest-active::after{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
}
#app.work-forest-active::before{
  z-index:-2;
  --forest-day-veil:rgb(255 255 255 / var(--work-forest-opacity,.62));
  background:linear-gradient(var(--forest-day-veil),var(--forest-day-veil)),#c9dacf var(--work-forest-image) center bottom/cover no-repeat;
  filter:blur(var(--work-forest-blur,4px));
  inset:calc(-2 * var(--work-forest-blur,4px));
}
#app.work-forest-active::after{
  z-index:-1;
  background:#132639 var(--work-forest-night-image) center bottom/cover no-repeat;
  inset:calc(-2 * var(--work-forest-blur,4px));
  filter:blur(calc(var(--work-forest-blur,4px) * .35));
  opacity:0;
  transition:opacity 1.3s cubic-bezier(.4,0,.2,1);
}
#app.work-forest-active[data-workspace-lighting="night"]::after{opacity:1}
#app .sidebar .project-nav-icon img{width:24px;height:24px;transform:none}
.sidebar .relax-pine{
  position:relative;
  flex:0 0 25px;width:25px;height:25px;margin-left:-3px;margin-right:-1px;
  border-radius:7px;
}
.sidebar .relax-pine::before{
  content:"";position:absolute;inset:0;
  background:#000;
  mask:url("assets/forest-logo.png") right top/200% 200% no-repeat;
  clip-path:inset(0 4px);
}
#app[data-workspace-lighting="night"] .sidebar .relax-pine,.sidebar .relax-nav.active .relax-pine{background:#e6ede8}
.sidebar .relax-nav.active .relax-pine::before,
#app[data-workspace-lighting="night"] .sidebar .relax-pine::before{inset:3px;clip-path:inset(0 3px)}
.sidebar .workspace-light-toggle{position:relative;top:auto;left:auto;flex:none;margin:11px 0 0 4px}
.workspace-theme-toggle{
  position:fixed;inset:7px 8px auto auto;z-index:14;
  width:25px;height:25px;padding:0;border-radius:50%;font-size:13px;
  color:#46524c;background:transparent;
}
.workspace-theme-toggle:hover,.workspace-theme-toggle:focus-visible{background:#ffffff38}
#app.work-forest-active :is(.sidebar,.work-sticky,.finance-sticky,.reminder-sticky){background-color:transparent}
.sidebar .settings-nav{display:flex;width:100%;text-align:left;margin-bottom:10px}
.sidebar .settings-nav img{width:20px;height:20px;mix-blend-mode:multiply}
.sidebar .settings-nav.active img{mix-blend-mode:screen}
.settings-main .topbar{margin-bottom:20px}
.work-forest-controls{
  width:min(420px,100%);
  padding:20px;
  border:1px solid #ffffffb0;
  border-radius:16px;
  background:#ffffffc4;
  color:#314c3d;
}
.work-forest-controls h2{margin:0 0 18px;font-size:17px}
.work-forest-fields{display:grid;gap:14px}
.work-forest-fields > div{display:grid;grid-template-columns:1fr auto;gap:6px;align-items:center}
.work-forest-fields label,.work-forest-fields output{font-size:13px;font-weight:550}
.work-forest-fields output{font-variant-numeric:tabular-nums}
.work-forest-fields input{grid-column:1/-1;width:100%;height:21px;margin:0;accent-color:#52785f;cursor:pointer}

/* Anchor the animated scenery to the visible shelf while the cards scroll. */
.product-calendar-mode .product-shelf[data-shelf-color="yellow"]:not([data-theme-studio-ink]){
  background-image:linear-gradient(180deg,rgb(255 255 255 / .67),rgb(255 255 255 / .36) 27%,rgb(255 255 255 / 0) 64%);
}
.product-shelf-forest{position:sticky;top:0;height:0;pointer-events:none}
.product-shelf-trees{
  position:absolute;
  top:calc(var(--shelf-forest-height,0px) * .54 + var(--shelf-forest-inset,0px));
  left:50%;
  width:calc(100% + 40px);
  height:calc(var(--shelf-forest-height,0px) * .46);
  transform:translateX(-50%);
  mask-image:linear-gradient(transparent, #000b 23%, #000 52%);
  transition:filter 1.25s cubic-bezier(.4,0,.2,1);
}
.product-shelf-forest::after{
  content:"";
  position:absolute;
  top:var(--shelf-forest-inset,0px);
  left:50%;
  width:calc(100% + 40px);
  height:var(--shelf-forest-height,0px);
  transform:translateX(-50%);
  background:
    radial-gradient(circle 18px at 72% 50%,rgb(255 254 245 / .40),rgb(255 254 245 / 0) 100%),
    radial-gradient(ellipse 82% 39% at 72% 50%,rgb(255 251 233 / .15),rgb(255 251 233 / 0) 100%);
  mask-image:linear-gradient(transparent 12%,rgb(0 0 0 / .32) 32%,black 53%);
  transition:opacity 1.25s cubic-bezier(.4,0,.2,1);
}
.product-shelf > .product-shelf-switch,
.product-shelf > .product-shelf-content{position:relative}
.product-shelf > .product-shelf-content{padding-bottom:42px}
.product-shelf-night-sky{
  position:absolute;
  top:var(--shelf-forest-inset,0px);
  left:50%;
  width:var(--shelf-forest-width,0px);
  height:var(--shelf-forest-height,0px);
  transform:translateX(-50%);
  background:
    radial-gradient(circle at 76% 43%,#f5f1d9 0 7px,#e1e7cb 8px,#bad3d64a 10px,#a2c3da12 34px,transparent 58px),
    linear-gradient(180deg,#0e1b2d,#22364b 49%,#2b4852 67%,#132a30);
  opacity:0;
  transition:opacity 1.25s cubic-bezier(.4,0,.2,1);
}
.product-shelf-stars{display:block;width:100%;height:100%}
.product-shelf[data-lighting="night"] .product-shelf-night-sky{opacity:1}
.product-shelf[data-lighting="night"] .product-shelf-forest::after{opacity:0}
.product-shelf[data-lighting="night"] .product-shelf-trees{filter:brightness(.50) saturate(.60) hue-rotate(37deg)}
.product-shelf-light-control{position:sticky;top:0;height:0;z-index:2;pointer-events:none}
.product-shelf-light-toggle{
  position:absolute;
  top:calc(var(--shelf-forest-height,0px) + var(--shelf-forest-inset,0px) - 45px);
  left:-5px;
  display:grid;
  place-items:center;
  width:33px;
  height:33px;
  isolation:isolate;
  border-radius:50%;
  color:#263845;
  background:#fbfaf0cc;
  box-shadow:0 2px 9px #11202633;
  backdrop-filter:blur(8px);
  pointer-events:auto;
  transition:background-color .8s ease,color .8s ease,transform .22s ease;
}
.product-shelf-light-toggle:hover{transform:translateY(-2px)}
.product-shelf-light-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.product-shelf-light-toggle span{
  position:absolute;
  width:16px;
  height:16px;
  border-radius:50%;
  transition:transform .65s cubic-bezier(.22,1,.36,1),opacity .48s ease;
}
.product-shelf-moon-icon{box-shadow:inset -5px -3px currentColor;transform:rotate(-12deg)}
.product-shelf-light-toggle .product-shelf-sun-icon{
  width:9px;
  height:9px;
  background:currentColor;
  box-shadow:0 -8px 0 -3px,0 8px 0 -3px,8px 0 0 -3px,-8px 0 0 -3px,6px 6px 0 -3px,-6px 6px 0 -3px,6px -6px 0 -3px,-6px -6px 0 -3px;
  opacity:0;
  transform:rotate(-75deg) scale(.35);
}
:is(.product-shelf[data-lighting="night"] .product-shelf-light-toggle,[data-workspace-lighting="night"] .workspace-light-toggle){color:#ffedbf;background:#172933de}
:is(.product-shelf[data-lighting="night"] .product-shelf-light-toggle,[data-workspace-lighting="night"] .workspace-light-toggle) .product-shelf-moon-icon{opacity:0;transform:rotate(63deg) scale(.35)}
:is(.product-shelf[data-lighting="night"] .product-shelf-light-toggle,[data-workspace-lighting="night"] .workspace-light-toggle) .product-shelf-sun-icon{opacity:1;transform:rotate(0) scale(1)}
.product-calendar-mode .product-shelf{transition:border-color 1.25s ease}
.product-calendar-mode .product-shelf :is(.product-shelf-card,.product-shelf-card :is(strong,span),.product-shelf-stage-head :is(strong,span),.product-shelf-switch,.product-shelf-switch button){transition:background-color 1.1s ease,color 1.1s ease,transform .23s ease,box-shadow .23s ease,opacity .2s ease}
.product-calendar-mode .product-shelf[data-lighting="night"]{
  --shelf-card-ink:#eef4f2;
  --shelf-card-muted:#c2d2d8;
  --shelf-card-glass:rgb(255 255 255 / .10);
  border-color:#314653;
}
.product-calendar-mode .product-shelf[data-lighting="night"] .product-shelf-stage-head strong{color:#edf4f1}
.product-calendar-mode .product-shelf[data-lighting="night"] :is(.product-shelf-stage-count,.product-shelf-stage-count span){color:#bacdd3}
.product-calendar-mode .product-shelf[data-lighting="night"] .product-shelf-expand{color:#d3e0e6!important}
.product-calendar-mode .product-shelf[data-lighting="night"] .product-shelf-switch{background:#162537cc;box-shadow:inset 0 0 0 1px #bdd6ef26}
.product-calendar-mode .product-shelf[data-lighting="night"] .product-shelf-switch button{color:#d3e0e6}
.product-calendar-mode .product-shelf[data-lighting="night"] .product-shelf-switch button[aria-pressed="true"]{background:#dbe8eb!important;color:#172a35!important}
.product-calendar-mode .product-shelf[data-lighting="night"] .product-shelf-add{background:#c5e1f01a;color:#edf4f1}
.product-shelf[data-lighting="night"] .product-shelf-quick-form{--shelf-quick-line:#d5e4ec38;--shelf-quick-input:#e6f3fb14;--shelf-quick-action:#dbe8eb;--shelf-quick-action-ink:#172a35}
.product-calendar-mode .product-shelf[data-lighting="night"] .product-shelf-stage.drop-target{background:#7199b34a}
.product-calendar-mode .product-shelf:has(> .product-shelf-switch > [data-shelf-mode="reminders"][aria-pressed="true"]) .product-shelf-add{background:transparent;box-shadow:none}
.product-calendar-mode .product-shelf:has(> .product-shelf-switch > [data-shelf-mode="reminders"][aria-pressed="true"]) .product-shelf-add:hover{text-decoration:underline;text-underline-offset:3px}
.product-shelf-stage[data-shelf-stage] .product-shelf-stage-head{padding-inline-end:26px}
.product-shelf-stage[data-shelf-stage] .product-shelf-stage-head>strong{min-width:0}
.product-shelf-group-name{display:block;max-width:100%;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}
.product-shelf-group-name:hover{text-decoration:underline;text-underline-offset:3px}
.product-calendar-mode .product-shelf-stage[data-shelf-stage] .product-shelf-add{right:32px}
.product-calendar-mode .product-shelf-stage[data-shelf-stage]:is(:hover,:focus-within) .product-shelf-stage-head{padding-inline-end:103px}
.product-shelf-group-handle{position:absolute;inset:3px 7px auto auto;width:23px;height:27px;padding:0;color:var(--shelf-ink,#252317);border-radius:7px;cursor:grab;opacity:.55;user-select:none;touch-action:none}
.product-shelf-group-handle:hover,.product-shelf-group-handle:focus-visible{background:#8883;opacity:1}
.product-shelf-group-handle:active{cursor:grabbing}
.product-shelf-group-slot{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .18s ease,opacity .18s ease}
.product-shelf-group-slot>div{min-height:0;overflow:hidden}
.product-shelf-group-slot button[data-add-group]{display:flex;align-items:center;gap:8px;width:100%;margin-top:6px;padding:7px 4px;color:var(--shelf-ink,#252317);font-size:11px;font-weight:700;text-align:left}
.product-shelf-group-slot button[data-add-group][hidden]{display:none}
.product-shelf[data-lighting="night"] .product-shelf-group-slot button[data-add-group]{color:#fff}
.product-shelf-group-slot .product-stage-color{flex:none;width:17px;height:17px;border:2px solid #ffffffb8;border-radius:50%;background:#a3a6a5;box-shadow:0 0 0 1px #1113}
.product-shelf-stage.is-completed-group .product-shelf-group-slot{grid-template-rows:1fr;opacity:1}
.product-calendar-mode .product-shelf-stage.is-completed-group .product-shelf-stage-count{opacity:1}
.product-shelf-stage:is(:hover,:focus-within,.is-editing-group) .product-shelf-group-slot{grid-template-rows:1fr;opacity:1}
.product-shelf-group-form{display:flex;flex:1;gap:3px;min-width:0;color:var(--shelf-ink,#252317);font-size:12px}
.product-shelf[data-lighting="night"] .product-shelf-group-form{color:#fff}
.product-shelf-group-form.is-new{margin-top:6px}
.product-shelf-group-form input{flex:1;min-width:0;width:0;padding:4px 6px;background:#8882;color:inherit;border:1px solid currentColor;border-radius:7px}
.product-shelf-group-form input::placeholder{color:inherit;opacity:.64}
.product-calendar-mode .product-shelf-stage[data-shelf-stage] .product-shelf-group-delete,
.product-calendar-mode .product-shelf-stage[data-shelf-stage].is-renaming-group [data-add-stage]{opacity:0;transform:translateY(5px);pointer-events:none}
.product-calendar-mode .product-shelf-stage[data-shelf-stage].is-renaming-group .product-shelf-group-delete{opacity:1;transform:translateY(0);pointer-events:auto}
.product-calendar-mode .product-shelf-stage[data-shelf-stage].is-renaming-group .product-shelf-stage-head{padding-inline-end:112px}
.product-calendar-mode .product-shelf-stage.is-renaming-group .product-shelf-stage-count{display:none}
.product-shelf-content.is-sorting-groups .product-shelf-group-slot{grid-template-rows:0fr;opacity:0;transition:none}
.product-shelf-content.is-sorting-groups .product-shelf-add{visibility:hidden}
.product-calendar-mode .product-shelf-stage.is-moving-group{z-index:2;transform:translateY(var(--group-offset,0px));background:#f8f7efde;box-shadow:0 4px 20px #0002;transition:none}
.product-calendar-mode .product-shelf[data-lighting="night"] .product-shelf-stage.is-moving-group{background:#172a3bed}
.product-shelf-stage:is(.group-drop-before,.group-drop-after)::after{content:"";position:absolute;z-index:1;inset:-2px 5px auto;height:2px;border-radius:2px;background:var(--shelf-ink,#252317);pointer-events:none}
.product-shelf-stage.group-drop-after::after{inset:auto 5px -2px}
@media(hover:none){
  .product-shelf-group-slot{grid-template-rows:1fr;opacity:1}
  .product-calendar-mode .product-shelf-stage[data-shelf-stage]:is(:hover,:focus-within) .product-shelf-stage-head{padding-inline-end:26px}
  .product-shelf-stage .product-shelf-group-delete[inert],.product-shelf-stage.is-renaming-group [data-add-stage]{display:none}
}
@media(prefers-reduced-motion:reduce){.product-shelf-group-slot,.product-calendar-mode .product-shelf-stage[data-shelf-stage] .product-shelf-add{transition:none}}

/* Night scenery stays behind the workspace, with contrast on the glass above it. */
.work-forest-active[data-workspace-lighting="night"]{
  --forest-night-ink:#eff5f4;
  --forest-night-muted:#bbced6;
  --forest-night-line:#c8dfea30;
}
#app[data-workspace-lighting="night"] :is(.sidebar .brand,.sidebar .nav-item,.main .title,.workspace-theme-toggle){color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] :is(.sidebar .side-label,.quick-capture-heading,.project-top-note,.dashboard-header .subtitle){color:var(--forest-night-muted)}
#app[data-workspace-lighting="night"] :is(.sidebar,.sidebar .brand>span,.quick-capture){border-color:var(--forest-night-line)}
#app[data-workspace-lighting="night"] .sidebar .nav-item:hover{background:#d7edf220;color:#fff}
#app[data-workspace-lighting="night"] .sidebar .nav-item.active{background:#ecf4f2;color:#172630}
#app[data-workspace-lighting="night"] .sidebar :is(.brand-mark,.nav-item:not(.active) .nav-image img){filter:invert(1);mix-blend-mode:normal}
#app[data-workspace-lighting="night"] .sidebar .nav-item.active .nav-image img{filter:none;mix-blend-mode:normal}
#app[data-workspace-lighting="night"] #quick-capture-input{color:#fff;border-color:var(--forest-night-line)}
#app[data-workspace-lighting="night"] #quick-capture-input::placeholder{color:#edf2f3}
#app[data-workspace-lighting="night"] .workspace-theme-toggle:hover{background:#d7edf220}
#app[data-workspace-lighting="night"] .product-cal-toolbar h2{color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] :is(.product-cal-weekdays span,.product-cal-dayhead span,.product-cal-dayhead button,.product-cal-more,.product-week-time span,.product-week-date span,.product-week-date strong){color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] .product-calendar-mode.month-view .product-cal-day{background-color:rgb(89 113 131 / .40);outline-color:var(--forest-night-line)}
#app[data-workspace-lighting="night"] .product-calendar-mode.month-view .product-cal-day.outside{background-color:rgb(8 19 32 / .60)}
#app[data-workspace-lighting="night"] .product-calendar-mode.month-view .product-cal-day.today{background-color:rgb(113 147 169 / .40)}
#app[data-workspace-lighting="night"] .product-cal-day.today .product-cal-dayhead span{background:#e6f0ed;color:#172630}
#app[data-workspace-lighting="night"] :is(.product-week-frame,.product-week-head,.product-week-time,.product-week-corner,.product-week-column,.product-week-deadlines,.product-week-deadline-day){background-color:#192d3d65;border-color:var(--forest-night-line)}
#app[data-workspace-lighting="night"] :is(.product-calendar-filter,.product-calendar-view-switch,#product-month,#product-today,.product-calendar-week-toggle:not([aria-pressed="true"])){background:rgb(56 77 94 / .40)}
#app[data-workspace-lighting="night"] :is(.product-calendar-filter,.product-calendar-view-switch) button:not([aria-pressed="true"]),
#app[data-workspace-lighting="night"] :is(#product-month,#product-today,.product-calendar-week-toggle):not([aria-pressed="true"]){color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] .product-calendar-timeline .reminder-day-label :is(strong,span){color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] .product-calendar-timeline .reminder-day-empty{color:var(--forest-night-muted)}
#app[data-workspace-lighting="night"] .product-cal-actions :is(#product-prev,#product-next,#product-settings){color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] .dashboard-main .dashboard-surface{border-color:var(--forest-night-line)}
#app[data-workspace-lighting="night"] .dashboard-main :is(.dashboard-section-heading h2,#dashboard-week-detail h3,.dashboard-day,.dashboard-stock strong){color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] .dashboard-main :is(.dashboard-link,.dashboard-empty,.dashboard-more-toggle,.dashboard-stock){color:var(--forest-night-muted)}
#app[data-workspace-lighting="night"] .dashboard-day[aria-pressed="true"] strong{background:#ecf4f2;color:#172630}
#app[data-workspace-lighting="night"] .dashboard-main .dashboard-day:focus-visible strong{outline-color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] .dashboard-main .dashboard-event{background:#e8f1f1d9}
#app[data-workspace-lighting="night"] .reminder-main :is(.reminder-day-label,.reminder-section-heading,.reminder-empty){color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] :is(.quick-stage .stage-head,.quick-stage .stage-title,.finance-tab.active,.finance-tab:hover,.archive-source-tabs button){color:var(--forest-night-ink);border-color:var(--forest-night-line)}
#app[data-workspace-lighting="night"] .finance-tab:not(.active):not(:hover){color:var(--forest-night-muted)}
#app[data-workspace-lighting="night"] .project-capture{border:1px solid var(--forest-night-line)}
#app[data-workspace-lighting="night"] .project-capture input{color:#fff}
#app[data-workspace-lighting="night"] .project-capture input::placeholder{color:var(--forest-night-muted)}
@media(prefers-reduced-motion:reduce){
  #app.work-forest-active::after,.workspace-light-toggle,.workspace-light-toggle span{transition:none!important}
  .product-calendar-mode .product-shelf,
  .product-calendar-mode .product-shelf :is(.product-shelf-trees,.product-shelf-night-sky,.product-shelf-light-toggle,.product-shelf-light-toggle span,.product-shelf-card,.product-shelf-card :is(strong,span),.product-shelf-stage-head :is(strong,span),.product-shelf-switch,.product-shelf-switch button),
  .product-shelf-forest::after{transition:none!important}
}

/* Choice lists follow their longest label, with room for selection indicators. */
.os-select-menu,
.product-control-popover[data-control-kind="select"] .product-control-box,
.finance-booking-picker:has(.finance-picker-options){width:max-content;min-width:0;max-width:calc(100vw - 24px)}
.os-select-option,
.product-control-options button,
.finance-picker-options button{overflow-wrap:anywhere}
.os-select-option::after{content:"✓";font-size:13px;flex:none;visibility:hidden}
.os-select-option[aria-selected=true]::after{visibility:visible}
.finance-booking-picker:has(.finance-picker-options) .finance-picker-title{contain:inline-size;overflow-wrap:anywhere}

.sidebar nav .relax-nav{display:flex}
.relax-main{max-width:none;height:100dvh;min-height:400px;padding:0}
.relax-main iframe{display:block;width:100%;height:100%;border:0}

/* Relax uses the full viewport, with navigation floating over the forest. */
#app.relax-mode .relax-main:not([hidden]){position:fixed;inset:0;width:100%;height:100%;min-height:0;margin:0}
#app.relax-mode .sidebar{
  position:fixed;inset:0 auto 0 0;z-index:12;
  width:var(--workspace-sidebar-width);height:100dvh;min-height:0;
  background-color:rgb(255 255 255 / var(--work-forest-opacity,.62));
  backdrop-filter:blur(var(--work-forest-blur,4px));
  transform:translateX(-100%);
  transition:transform .42s cubic-bezier(.22,1,.36,1);
}
#app.relax-mode[data-workspace-lighting="night"] .sidebar{background:#142637e6}
.relax-menu-edge{
  position:fixed;inset:0 auto 0 0;z-index:11;width:24px;
  color:transparent;background:transparent;padding:0;
}
.relax-menu-edge:focus-visible{color:#263b31;background:#ffffffb3;outline-offset:-2px}
#app.relax-mode.relax-menu-open .sidebar,
#app.relax-mode .sidebar:focus-within{transform:translateX(0)}
@media(hover:none){
  .relax-menu-edge{inset:72px auto auto 0;height:42px;border-radius:0 8px 8px 0;color:#263b31;background:#ffffffb3}
}
@media(prefers-reduced-motion:reduce){#app.relax-mode .sidebar{transition:none}}

.product-calendar-mode .product-shelf-reminder-item{position:relative;min-width:0}
.product-calendar-mode .product-shelf-reminder-item>.product-shelf-card{padding-right:39px}
.product-calendar-mode .product-shelf-reminder-item>.reminder-star{position:absolute;right:5px;top:50%;transform:translateY(-50%)}
.product-calendar-mode .product-shelf-reminder-item>.reminder-star:hover{transform:translateY(-50%) scale(1.1)}

.finance-coming{min-height:calc(100dvh - 175px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 20px 60px;color:#172c24}
.finance-coming h2{font-family:Montserrat,Inter,sans-serif;font-size:clamp(30px,4vw,48px);font-weight:800;letter-spacing:-.055em;margin:24px 0 14px}
.finance-coming>p{font-size:15px;line-height:1.8;color:#627269;margin:0;max-width:460px}
.finance-coming-art{position:relative;width:340px;height:270px;max-width:100%;isolation:isolate}
.finance-coming-halo{position:absolute;inset:8px -24px -18px;border-radius:50%;background:radial-gradient(ellipse,#dce8c8b3,transparent 70%);filter:blur(14px);z-index:-1}
.finance-coming-chart{position:absolute;top:12px;right:24px;width:160px;height:150px;border-radius:22px;background:rgb(255 255 255 / .58);border:1px solid #ffffffb3;box-shadow:0 15px 45px #294a3514;backdrop-filter:blur(12px);transform:rotate(9deg);padding:22px}
.finance-coming-chart-line{width:45%;height:5px;background:#a0b99d;border-radius:9px}
.finance-coming-bars{display:flex;align-items:flex-end;gap:9px;height:87px}
.finance-coming-bars i{flex:1;height:30%;border-radius:5px 5px 2px 2px;background:#96ae91}
.finance-coming-bars i:nth-child(2){height:46%;background:#b6c6a6}
.finance-coming-bars i:nth-child(3){height:41%}
.finance-coming-bars i:nth-child(4){height:68%;background:#6f8b72}
.finance-coming-bars i:nth-child(5){height:90%;background:#365e49}
.finance-coming-wallet{position:absolute;left:36px;bottom:32px;width:226px;height:145px;border-radius:22px;background:linear-gradient(145deg,#71967b,#355e48);box-shadow:0 20px 35px #193c3526,inset 0 1px 1px #ffffff70;transform:rotate(-7deg)}
.finance-coming-wallet-seam{position:absolute;inset:10px;border:1px dashed #ffffff32;border-radius:15px}
.finance-coming-wallet-clasp{position:absolute;right:-9px;top:51px;width:65px;height:42px;background:linear-gradient(130deg,#547e62,#294d39);border:1px solid #ffffff26;border-radius:12px 5px 5px 12px;box-shadow:0 3px 8px #132d2526;display:flex;align-items:center;padding:15px}
.finance-coming-wallet-clasp i{width:9px;height:9px;border-radius:50%;background:#c8d4a7;box-shadow:inset 0 1px 2px #fff9}
.finance-coming-coin{position:absolute;width:67px;height:67px;display:grid;place-items:center;border-radius:50%;color:#82713b;font:700 32px Inter,sans-serif;background:linear-gradient(135deg,#f3eac0,#c9bc7e);border:5px solid #e2d69e;box-shadow:3px 5px 0 #ad9c60,0 12px 22px #5849231c}
.finance-coming-coin.coin-back{left:42px;top:26px;transform:rotate(-18deg);z-index:-1}
.finance-coming-coin.coin-front{right:39px;bottom:14px;transform:rotate(12deg)}
.finance-coming-sprout{position:absolute;left:15px;bottom:18px;width:68px;height:110px;transform:rotate(-12deg);background:linear-gradient(#4b7356,#4b7356) center bottom/3px 90px no-repeat}
.finance-coming-sprout i{position:absolute;width:36px;height:22px;border-radius:2px 28px 2px 28px;background:#82a078;left:0;top:35px;transform:rotate(12deg)}
.finance-coming-sprout i:nth-child(2){left:33px;top:15px;transform:scaleX(-1) rotate(12deg);background:#a5bb8b}
.finance-coming-sprout i:nth-child(3){left:3px;top:68px;width:30px;height:18px;background:#608765}
#app[data-workspace-lighting="night"] .finance-coming{color:var(--forest-night-ink)}
#app[data-workspace-lighting="night"] .finance-coming>p{color:var(--forest-night-muted)}
#app[data-workspace-lighting="night"] .finance-coming-chart{background:rgb(53 78 69 / .6);border-color:#b5cab22b}
@media(max-width:500px){.finance-coming{padding-inline:8px}.finance-coming-art{transform:scale(.85);margin-inline:-20px}.finance-coming>p{font-size:14px}}

.product-calendar-mode .product-shelf>.product-shelf-switch{position:sticky;top:0;z-index:3;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}

.product-calendar-mode .product-shelf-group-slot button[data-add-group]{color:#a0a6a3}
.product-calendar-mode .product-shelf[data-lighting="night"] .product-shelf-group-slot button[data-add-group]{color:#aeb9bc}

/* Shared shelf geometry: hovering must never reflow long titles. */
.product-calendar-mode .product-shelf-card,.product-calendar-mode .product-shelf-card:hover{width:100%;min-width:0;transform:none}
.product-calendar-mode.month-view .product-cal-card:not(.product-deadline-card) strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;white-space:normal;overflow-wrap:anywhere}
/* A wrapper with a retained opacity animation becomes a backdrop root. Animate
   the card and star separately so both sample the same forest as task cards. */
.product-calendar-mode .product-shelf .product-shelf-content.is-revealing .product-shelf-reminder-item,
.product-calendar-mode .product-shelf .product-shelf-stage.is-expanding .product-shelf-reminder-item.is-newly-revealed{animation:none}
.product-calendar-mode .product-shelf-content.is-revealing .product-shelf-reminder-item>:is(.product-shelf-card,.reminder-star,.shelf-reminder-complete),
.product-calendar-mode .product-shelf-stage.is-expanding .product-shelf-reminder-item.is-newly-revealed>:is(.product-shelf-card,.reminder-star,.shelf-reminder-complete){animation:shelf-list-drop 300ms cubic-bezier(.22,1,.36,1) both}
@keyframes shelf-reminder-reveal{from{opacity:0;translate:0 -9px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.product-calendar-mode .product-shelf-reminder-item>*{animation:none!important}}

/* Calendar controls share one row aligned with the shelf's mode switch. */
.product-calendar-mode .product-calendar{padding-top:0}
.product-calendar-mode .product-cal-toolbar{display:flex;align-items:center;justify-content:space-between;min-height:40px;gap:10px;margin:0 0 10px;flex-wrap:wrap}
.product-calendar-mode .product-cal-toolbar>.product-calendar-view-switch{margin:0;flex:none}
.product-calendar-mode .product-cal-toolbar>.product-cal-actions{margin-left:auto;flex-wrap:nowrap}
.product-calendar-mode .product-cal-period-title{font:800 25px/1.2 Montserrat,Inter,system-ui,sans-serif;letter-spacing:-.045em;margin:0 0 7px}
#app[data-workspace-lighting="night"] .product-cal-period-title{color:var(--forest-night-ink)}
@media(max-width:1000px){.product-calendar-mode .product-calendar{padding-top:0}}

/* Shelf quick actions use a portal so the menu is not clipped by the inventory. */
.product-shelf-task-item{position:relative;min-width:0}
.product-calendar-mode .product-shelf-task-item>.product-shelf-card{padding-right:38px}
.work-quick-trigger{position:absolute;right:5px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:27px;height:27px;padding:7px;border-radius:7px;color:inherit;opacity:.48;transition:opacity .18s,background .18s}
.work-quick-trigger:hover,.work-quick-trigger:focus-visible{opacity:1;background:#52695816}
.work-quick-trigger img{display:block;width:100%;height:100%;object-fit:contain;transform:scaleX(-1);pointer-events:none}
.product-shelf[data-lighting="night"] .work-quick-trigger img{filter:invert(1)}
.product-calendar-mode .product-shelf-content.is-revealing .work-quick-trigger{animation:shelf-list-drop 300ms cubic-bezier(.22,1,.36,1) both}
.work-quick-layer{position:fixed;inset:0;z-index:180}
.work-quick-shade{position:absolute;inset:0;background:rgb(13 26 21 / .24);animation:work-quick-dim .16s ease both}
.work-quick-focus{position:fixed;pointer-events:none;z-index:1;animation:none!important}
.work-quick-focus>.product-shelf-card{height:100%;width:100%;gap:2px;justify-content:center;box-shadow:0 8px 28px #10271b25;animation:none!important;transform:none!important}
.work-quick-focus strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:normal;overflow-wrap:anywhere}
.work-quick-focus .work-quick-trigger{opacity:1}
.work-quick-menu{position:fixed;z-index:2;display:grid;gap:6px;width:205px;max-width:calc(100vw - 24px);font-family:"Instrument Sans",Inter,sans-serif;animation:work-quick-enter .18s cubic-bezier(.22,1,.36,1) backwards}
.work-quick-menu>button{display:block;width:100%;min-height:40px;text-align:left;padding:11px 14px;border:1px solid #ffffff78;border-radius:10px;background:rgb(255 255 255 / .94);backdrop-filter:blur(64px);-webkit-backdrop-filter:blur(64px);color:#24312a;font:500 13px/1.35 "Instrument Sans",Inter,sans-serif;box-shadow:0 3px 12px #172f2017;transition:background .16s,transform .16s}
.work-quick-menu>button:hover,.work-quick-menu>button:focus-visible{background:rgb(255 255 255 / .94);transform:translateX(3px);outline:0;box-shadow:0 4px 16px #172f2024}
.work-quick-menu>:is([data-quick-action="delete"],[data-quick-action="delete-one"]){color:#f02e36}
.work-quick-menu>:is([data-quick-action="delete"],[data-quick-action="delete-one"]) .work-quick-icon{filter:brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(3158%) hue-rotate(340deg) brightness(101%) contrast(90%)}
.work-quick-feedback{font:400 12px/1.4 "Instrument Sans",Inter,sans-serif;margin:0;padding:9px 12px;border-radius:8px;background:#fff;color:#985c50}
.work-quick-feedback:empty{display:none}
.work-quick-toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:181;background:#223c2fec;color:#fff;border:1px solid #ffffff26;border-radius:12px;padding:11px 18px;box-shadow:0 7px 24px #15342024;font:500 13px/1.4 "Instrument Sans",Inter,sans-serif;pointer-events:none}
@keyframes work-quick-dim{from{opacity:0}to{opacity:1}}
@keyframes work-quick-enter{from{opacity:0;translate:-6px 0}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){.work-quick-layer *,.work-quick-trigger{animation:none!important;transition:none!important}}

/* Rebuilt shelves inherit the current lighting before their first style pass.
   Keep live day/night fades, but never replay them during inventory navigation. */
.product-shelf.is-lighting-initializing,
.product-shelf.is-lighting-initializing *,
.product-shelf.is-lighting-initializing *::before,
.product-shelf.is-lighting-initializing *::after{transition:none!important}

/* Completion is a separate, direct target visually inside each reminder card. */
.product-calendar-mode .product-shelf-reminder-item>.product-shelf-card{padding-left:35px;padding-right:64px}
.product-calendar-mode .product-shelf-reminder-item>.reminder-star{right:33px}
.shelf-reminder-complete{position:absolute;left:4px;top:50%;transform:translateY(-50%);width:28px;height:32px;display:grid;place-items:center;padding:5px;border:0;background:transparent;color:inherit;border-radius:7px;cursor:pointer}
.shelf-reminder-complete>span{width:16px;height:16px;border:1.5px solid currentColor;border-radius:50%;opacity:.6;transition:background .15s,opacity .15s}
.shelf-reminder-complete:hover>span,.shelf-reminder-complete:focus-visible>span{opacity:1;background:#7eaa8f40}
.shelf-reminder-complete:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.work-quick-reminder-focus{color:inherit}
.work-quick-reminder-focus .reminder-star{width:28px;height:28px}

.work-quick-menu>button{display:flex;align-items:center;gap:11px}
.work-quick-icon{display:block;width:18px;height:18px;flex:0 0 18px;object-fit:contain;pointer-events:none}
.work-quick-icon.is-today{transform:scaleX(-1)}
.work-quick-label{min-width:0;line-height:1.35}

.product-calendar-mode .product-shelf-group-toolbar{position:sticky;top:44px;z-index:3;display:flex;align-items:center;min-height:32px;margin:-4px 0 8px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.product-shelf-group-toolbar>[data-add-group]{padding:5px 4px;color:#78837d;font:600 11px "Instrument Sans",Inter,sans-serif;text-align:left;transition:color .15s}
.product-shelf-group-toolbar>[data-add-group]:hover{color:#25362b}
.product-shelf-group-toolbar>[data-add-group][hidden]{display:none}
.product-shelf[data-lighting="night"] .product-shelf-group-toolbar>[data-add-group]{color:#aebbb6}
.product-shelf[data-lighting="night"] .product-shelf-group-toolbar>[data-add-group]:hover{color:#fff}
.product-shelf-group-toolbar .product-shelf-group-form.is-new{margin:0;width:100%}

.product-pop-hint{max-width:220px;margin:2px 0 0;color:#6d7974;font-size:12px;line-height:1.5}
/* Review uses the same materials and typography as the shared detail windows. */
#planning-review{display:grid;place-items:center;width:30px;height:30px;padding:7px;border-radius:50%;transition:background .2s var(--os-dna-ease)}
#planning-review img{width:17px;height:17px;object-fit:contain}
#planning-review:hover{background:#7b93851a}
#app[data-workspace-lighting="night"] #planning-review img{filter:invert(1)}
.planning-review-layer{position:fixed;inset:0 0 0 var(--workspace-sidebar-width);z-index:210;display:grid;place-items:center;padding:24px;font-family:var(--os-dna-font-body);color:var(--ink,#111)}
.planning-review-shade{position:absolute;inset:0;background:var(--detail-focus-tint);backdrop-filter:blur(var(--detail-focus-blur));-webkit-backdrop-filter:blur(var(--detail-focus-blur));opacity:0;transition:opacity .32s var(--os-dna-ease)}
.planning-review{position:relative;width:min(860px,100%);height:min(760px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);display:flex;flex-direction:column;overflow:hidden;border:0;border-radius:var(--detail-panel-radius);background:var(--os-dna-panel-glass);backdrop-filter:var(--os-dna-panel-filter);-webkit-backdrop-filter:var(--os-dna-panel-filter);box-shadow:var(--os-dna-floating-shadow);outline:none;opacity:0;transform:translateY(18px) scale(.98);transition:opacity .32s var(--os-dna-ease),transform .32s var(--os-dna-ease)}
.planning-review-layer.is-open .planning-review{opacity:1;transform:none}
.planning-review-layer.is-open .planning-review-shade{opacity:1}
.planning-review-layer.is-closing{pointer-events:none}
.planning-review-layer.is-closing .planning-review{transform:translateY(12px) scale(.99)}
.planning-review :is(button,input,select){font-family:var(--os-dna-font-body)}
.planning-review :is(button,[tabindex="0"]):focus-visible{outline:2px solid currentColor;outline-offset:3px}
.review-header{display:flex;align-items:center;justify-content:space-between;padding:26px 28px 16px;gap:16px}
.review-kicker{font-size:9px;line-height:1.4;letter-spacing:.11em;color:#7e8983;font-weight:600}
.review-header h2{margin:5px 0 0;font:700 25px/1.2 var(--os-dna-font-title);letter-spacing:-.04em}
.review-close{font-size:20px;color:#8c9690;flex:0 0 30px;height:30px;border-radius:50%;transition:background .2s,color .2s}
.review-close:hover{background:#11100008;color:#111}
.review-period{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 28px 18px}
.review-period-mode{display:flex;gap:3px;background:#ffffff9c;border-radius:999px;padding:3px;box-shadow:inset 0 0 0 1px #22333a17;flex:none}
.review-period-mode button{padding:6px 12px;min-height:27px;border-radius:999px;font:600 11px/1.3 var(--os-dna-font-title);color:#39464a;transition:background-color .24s var(--os-dna-ease),color .24s,box-shadow .24s}
.review-period-mode button[aria-pressed=true]{background:#111;color:#fff;box-shadow:0 2px 8px #1113}
.review-period-mode button:not([aria-pressed=true]):hover{background:#11100008}
.review-period-nav{display:flex;align-items:center;gap:10px;min-width:0;font-size:12px;font-weight:500}
.review-period-nav strong{font-weight:600;font-variant-numeric:tabular-nums}
.review-period-nav button{font-size:23px;width:30px;height:30px;border-radius:50%;transition:background .2s}
.review-period-nav button:not(:disabled):hover{background:#11100008}
.review-period-nav button:disabled{opacity:.24;cursor:default}
.review-current{padding:7px 12px;min-height:30px;border:1px solid #22333a12;background:#ffffff50;border-radius:999px;font:600 11px/1.3 var(--os-dna-font-title)!important;transition:background .2s}
.review-current:hover{background:#ffffffa6}
.review-tabs{display:flex;gap:24px;padding:0 28px;border-bottom:1px solid #20352412}
.review-tabs button{padding:10px 0;color:#7e8983;font-size:12px;font-weight:500;line-height:1.4;border-bottom:2px solid transparent;transition:color .2s,border-color .2s}
.review-tabs button:hover{color:#111}
.review-tabs button[aria-pressed=true]{color:#111;border-color:#111;font-weight:650}
.review-content{animation:review-content-in .24s var(--os-dna-ease) backwards;overflow:auto;overscroll-behavior:contain;padding:22px 28px 26px;min-height:0;flex:1;outline:none}
.review-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.review-metrics article,.review-habits article{border:0;border-radius:10px;background:var(--review-card-glass,rgb(255 255 255 / .43));backdrop-filter:var(--review-card-filter,blur(11px));-webkit-backdrop-filter:var(--review-card-filter,blur(11px));box-shadow:0 2px 8px rgb(27 41 32 / .06),0 1px 2px rgb(27 41 32 / .03)}
.review-metrics article{padding:17px 16px;display:flex;flex-direction:column;gap:7px;min-width:0}
.review-metrics span{font-size:12px;color:#65736b;line-height:1.4}
.review-metrics strong{font:750 30px/1.2 var(--os-dna-font-title);letter-spacing:-.045em;font-variant-numeric:tabular-nums}
.review-metrics small,.review-habits small,.review-history small{font-size:11px;color:#748277;line-height:1.55}
.review-rate-note{font-size:11px;color:#7e8983;line-height:1.55;margin:12px 0 22px}
.review-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:4px 0 14px}
.review-section-head h3{font:650 13px/1.45 var(--os-dna-font-body);margin:0}
.review-section-head>span{font-size:11px;line-height:1.45;color:#7e8983}
.review-distribution{display:grid;gap:4px}
.review-distribution button{display:grid;grid-template-columns:8px 1fr 35px minmax(50px,28%);gap:12px;align-items:center;padding:10px 8px;text-align:left;font-size:13px;line-height:1.4;border-radius:8px;transition:background-color .18s}
.review-distribution button:hover{background:#ffffff40}
.review-distribution strong{font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.review-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--review-color,#8d9c93);flex-shrink:0}
.review-track,.review-habit-track{height:5px;border-radius:999px;background:#2035240d;overflow:hidden;display:block}
.review-track i,.review-habit-track i{height:100%;display:block;border-radius:999px;background:var(--review-color,#83a38e)}
.is-done{--review-color:#83a38e}.is-late{--review-color:#c6a56d}.is-missed{--review-color:#e45b67}.is-pending{--review-color:#85a4bf}.is-deferred{--review-color:#a69bc2}.is-skipped{--review-color:#a1a9a4}.is-deleted{--review-color:#f02e36}.is-unscheduled,.is-transferred{--review-color:#91a0a7}
.review-habits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.review-habits article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:17px 16px}
.review-habits strong{font-size:13px;line-height:1.4;font-weight:550;overflow-wrap:anywhere}
.review-habits small{display:block}.review-habits b{font:700 21px/1.3 var(--os-dna-font-title);letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.review-habit-track{grid-column:1/-1;height:5px}.review-habits article>small{grid-column:1/-1}
.review-filters{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 18px}
.review-filters button{padding:6px 11px;min-height:29px;border:1px solid #22333a12;border-radius:999px;background:#ffffff60;font-size:11px;line-height:1.4;color:#69796e;transition:background-color .2s,color .2s,box-shadow .2s}
.review-filters button:not([aria-pressed=true]):hover{background:#ffffffb3;color:#111}
.review-filters button[aria-pressed=true]{background:#111;border-color:#111;color:#fff;box-shadow:0 2px 6px #1112}
.review-history article{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #20352410}
.review-history article>div{flex:1;min-width:0}.review-history strong{font-size:13px;line-height:1.4;font-weight:550;overflow-wrap:anywhere}.review-history small{display:block;margin-top:4px}
.review-status{font-size:11px;line-height:1.4;white-space:nowrap;color:var(--review-color);font-weight:600}
.review-empty{padding:52px 15px;text-align:center;color:#7e8983;font-size:13px;line-height:1.5}
.review-load{display:block;margin:18px auto 0;padding:8px 16px;min-height:32px;border:1px solid #22333a12;border-radius:999px;background:#ffffff60;font-size:12px;transition:background .2s}
.review-load:hover{background:#ffffffb3}
@keyframes review-content-in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:900px){.planning-review-layer{left:0}}
@media(max-width:650px){.planning-review-layer{padding:12px}.planning-review{max-height:calc(100dvh - 24px)}.review-header{padding:20px 18px 14px}.review-period{padding:0 18px 15px;flex-wrap:wrap}.review-period-nav{order:3;width:100%;justify-content:center}.review-tabs{padding:0 18px;gap:20px}.review-content{padding:18px}.review-metrics{gap:8px}.review-metrics article{padding:12px 10px}.review-metrics strong{font-size:24px}.review-metrics small{font-size:10px}.review-habits{grid-template-columns:1fr}.review-section-head{align-items:flex-start;flex-direction:column;gap:5px}.review-status{white-space:normal;max-width:80px}.review-distribution button{grid-template-columns:8px 1fr 24px 18%;gap:8px}}
@media(prefers-reduced-motion:reduce){.planning-review,.planning-review-shade,.planning-review *{transition:none!important;animation:none!important}}
/* Status ink stays legible; the softer palette is reserved for dots and bars. */
.review-status.is-done{color:#446b55}.review-status.is-late{color:#826323}.review-status.is-missed{color:#b43845}.review-status.is-pending{color:#486b88}.review-status.is-deferred{color:#716083}.review-status.is-skipped{color:#626e67}.review-status.is-deleted{color:#d61f2c}.review-status:is(.is-unscheduled,.is-transferred){color:#586b77}
/* Review reports share the calendar's tactile segmented controls. */
.review-header h2{font-family:Montserrat,Inter,system-ui,sans-serif!important;font-weight:700!important}
.review-tabs{gap:6px;padding:0 28px 16px;border-bottom:1px solid #20352412;flex-wrap:wrap}
.review-tabs button{padding:8px 15px;min-height:34px;border:1px solid #22333a12;border-radius:999px;background:rgb(255 255 255 / .52);color:#53645a;font:600 11.5px/1.4 var(--os-dna-font-title)}
.review-tabs button:hover{background:#ffffffb3}
.review-tabs button[aria-pressed=true]{background:#111;color:#fff;border-color:#111;box-shadow:0 2px 8px #1113}
.review-period-nav{gap:6px;flex-wrap:wrap;justify-content:center}
.review-period-nav>strong{font-size:12px;white-space:nowrap;margin-inline:5px}
.review-period-nav .review-wheel-trigger{display:flex;align-items:center;justify-content:center;gap:8px;width:auto;min-width:64px;padding:6px 10px;border:1px solid #22333a12;border-radius:999px;background:#ffffff60;font-size:12px;line-height:1.4;height:31px}
.review-wheel-trigger i{width:5px;height:5px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);margin-top:-3px;opacity:.6}
.review-wheel{position:fixed;z-index:5;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:6px;box-sizing:border-box;scroll-snap-type:y proximity;scrollbar-width:none;animation:review-wheel-in .22s var(--os-dna-ease) backwards;filter:drop-shadow(0 8px 14px #11100012)}
.review-wheel>[role=option]{flex:0 0 38px;min-height:38px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:9px;padding:8px 12px;border:1px solid #ffffff78;border-radius:10px;background:var(--os-dna-menu-glass);backdrop-filter:var(--os-dna-menu-filter);-webkit-backdrop-filter:var(--os-dna-menu-filter);font:500 12px/1.3 var(--os-dna-font-body);scroll-snap-align:center;color:#25342b;box-shadow:0 2px 6px #10271b0d;transition:background .18s,color .18s}
.review-wheel>[role=option]:hover{background:#edf1ed}
.review-wheel>[role=option][aria-selected=true]{background:#111;color:#fff;border-color:#111}
.review-wheel>[role=option] i{visibility:hidden;width:5px;height:9px;border:solid currentColor;border-width:0 1.5px 1.5px 0;transform:rotate(45deg);margin-right:3px;margin-top:-3px}
.review-wheel>[role=option][aria-selected=true] i{visibility:visible}
.review-wheel>[role=option]:focus-visible{outline:2px solid #63866e;outline-offset:-2px}
@keyframes review-wheel-in{from{opacity:0;translate:0 -5px}to{opacity:1;translate:0 0}}
.review-scope-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;font-size:11px;color:#748277}
.review-scope-line button{font-size:11px;padding:5px 9px;border-radius:999px;border:1px solid #22333a12;background:#ffffff60;color:#33483b}
.review-metrics{margin-bottom:20px}
.review-breakdown{display:grid;grid-template-columns:210px minmax(0,1fr);align-items:center;gap:20px;margin:8px 0 20px}
.review-chart-wrap{display:grid;place-items:center;min-height:190px}
.review-donut,.review-empty-ring{width:176px;height:176px;position:relative;display:grid;place-items:center}
.review-donut:before,.review-empty-ring:before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--review-segments,#dfe5df);mask:radial-gradient(farthest-side,transparent calc(100% - 25px),black calc(100% - 24px));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 25px),black calc(100% - 24px))}
.review-donut>div{display:grid;gap:3px;text-align:center}.review-donut strong{font:750 28px/1.2 Montserrat,Inter,sans-serif;letter-spacing:-.04em}.review-donut span,.review-empty-ring span{font-size:11px;color:#748277}.review-empty-ring span{max-width:90px;text-align:center;line-height:1.5}
.review-breakdown .review-distribution button{grid-template-columns:8px minmax(0,1fr) 26px 39px;gap:9px;padding:7px 5px;font-size:12px}
.review-breakdown .review-distribution button small{text-align:right;font-size:11px;color:#7e8983}
.review-breakdown .review-distribution button strong{text-align:right}
.review-details-toggle{display:flex;gap:12px;align-items:center;justify-content:space-between;width:100%;padding:11px 13px;margin:12px 0;border:1px solid #22333a12;border-radius:10px;background:#ffffff50;font-size:12px}
.review-selection-head{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;color:#64746a;margin-bottom:13px}
.review-select-all{display:flex;align-items:center;gap:9px;color:#263a2c}
.review-search{display:block;width:100%;height:35px;padding:8px 13px;border:1px solid #22333a12;border-radius:999px;background:#ffffff70;color:inherit;font:400 12px var(--os-dna-font-body);outline:none}
.review-search:focus{border-color:#7b9585}
.review-task-groups{display:grid;gap:15px}
.review-task-groups>section{border-radius:10px;background:var(--review-card-glass);backdrop-filter:var(--review-card-filter);-webkit-backdrop-filter:var(--review-card-filter);padding:10px 13px;box-shadow:0 2px 8px #1b29200a}
.review-task-groups header{display:flex;justify-content:space-between;align-items:center;padding:3px 0 10px;border-bottom:1px solid #20352410;font-size:11px;color:#748277}
.review-task-groups header label{display:flex;align-items:center;gap:9px;color:#24362a}.review-task-groups header strong{font-weight:650;font-size:12px}
.review-task-row{display:flex;align-items:center;gap:11px;padding:11px 0;cursor:pointer}.review-task-row:not(:last-child){border-bottom:1px solid #2035240a}.review-task-row span{min-width:0}.review-task-row strong{font-size:13px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}.review-task-row small{display:block;font-size:10px;color:#748277;margin-top:2px}
.planning-review input[type=checkbox]{accent-color:#111;width:15px;height:15px;flex:0 0 15px;margin:0;cursor:pointer}
.review-status.is-unplanned{color:#3f796f}
@media(max-width:1100px){.review-period{flex-wrap:wrap}.review-period-nav{order:3;width:100%;margin-top:2px}.planning-review{height:min(720px,calc(100dvh - 48px))}}
@media(max-width:650px){.review-tabs{padding:0 18px 14px;gap:5px}.review-tabs button{padding:7px 10px;font-size:10px}.review-breakdown{grid-template-columns:1fr;gap:5px}.review-chart-wrap{min-height:180px}.review-section-head>span{max-width:100%}.review-scope-line{align-items:flex-start}.review-selection-head{gap:8px}.review-wheel{max-width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.review-wheel{animation:none}}
/* Seven-card picker: the centre card stays on the original trigger. */
.review-picker-layer{position:fixed;inset:0;z-index:8}
.review-picker-shade{position:absolute;inset:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.review-picker-layer .review-wheel{position:fixed;display:block;overflow:hidden!important;overscroll-behavior:contain;padding:0!important;filter:drop-shadow(0 10px 20px rgb(15 28 24 / .2));scroll-snap-type:none;scrollbar-width:none;animation:review-seven-in .25s var(--os-dna-ease) backwards}
.review-picker-layer .review-wheel::-webkit-scrollbar{display:none;width:0;height:0}
.review-picker-layer .review-wheel>[role=option]{position:absolute;top:calc(var(--wheel-index) * 44px);left:0;height:38px;min-height:38px;background:rgb(255 255 255 / .88);backdrop-filter:blur(40px);-webkit-backdrop-filter:blur(40px);box-shadow:0 3px 10px #10271b14;animation:review-wheel-step .16s var(--os-dna-ease) backwards}
.review-picker-layer .review-wheel>[role=option][aria-selected=true]{background:#111;color:#fff;box-shadow:0 3px 12px #1113}
.review-picker-layer .review-wheel>[role=option]:hover:not([aria-selected=true]){background:rgb(255 255 255 / .94)}
.review-picker-layer .review-wheel>[role=option]:disabled{opacity:.4;cursor:default}
@keyframes review-seven-in{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@keyframes review-wheel-step{from{opacity:.65;translate:0 3px}to{opacity:1;translate:0 0}}
/* Sweep the coloured ring clockwise, rather than rotating a completed chart. */
.review-donut:before{content:none}
.review-donut svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;transform:rotate(-90deg)}
.review-donut.is-animated .review-donut-sweep{animation:review-ring-draw .85s cubic-bezier(.22,1,.36,1) both}
@keyframes review-ring-draw{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
.planning-review{width:min(1040px,100%);height:min(840px,calc(100dvh - 48px))}
.review-report-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.review-report-split .review-breakdown{grid-template-columns:minmax(0,1fr);gap:8px;margin:0}
.review-report-split .review-chart-wrap{min-height:185px}
.review-report-split .review-distribution button{min-height:33px;padding-block:7px}
.review-report-split .review-distribution button[aria-pressed=true]{background:#ffffffb3;box-shadow:inset 0 0 0 1px #66857530}
.review-history-pane{min-width:0;padding:16px;border-radius:10px;background:color-mix(in srgb,var(--review-card-glass) 40%,transparent);backdrop-filter:var(--review-card-filter);-webkit-backdrop-filter:var(--review-card-filter);box-shadow:0 2px 8px #1b29200a}
.review-history-pane>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:12px;border-bottom:1px solid #20352412;min-height:52px}
.review-history-pane>header small{font-size:9px;letter-spacing:.1em;color:#7e8983}
.review-history-pane h3{margin:4px 0 0;font-size:13px;font-weight:650;line-height:1.45}
.review-history-pane>header button{flex-shrink:0;border:1px solid #22333a12;border-radius:999px;padding:5px 9px;font-size:11px;background:#ffffff60}
.review-history-scroll{max-height:330px;overflow:auto;overscroll-behavior:contain;outline:none}
.review-history-pane .review-history{animation:review-history-in .28s var(--os-dna-ease) backwards}
.review-history-pane .review-history article{align-items:flex-start;gap:9px;padding:13px 0}
.review-history-pane .review-history article>.review-dot{margin-top:5px}
.review-history-pane .review-status{display:inline-block;margin-top:5px;white-space:normal;font-size:10px}
@keyframes review-history-in{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}
@media(max-width:800px){.review-report-split{grid-template-columns:1fr}.review-history-scroll{max-height:300px}.planning-review{height:calc(100dvh - 24px)}}
@media(prefers-reduced-motion:reduce){.review-picker-layer *,.review-donut-sweep,.review-history-pane .review-history{animation:none!important;transition:none!important}}

/* Shared toolbar: reports on the left, period controls on the right. */
.review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 28px 16px;border-bottom:1px solid #20352412;flex-shrink:0}
.review-toolbar .review-tabs{padding:0;border:0;flex-wrap:nowrap;gap:6px;flex-shrink:0}
.review-toolbar .review-tabs button{white-space:nowrap;padding:8px 12px}
.review-toolbar .review-period{padding:0;gap:10px;flex-wrap:nowrap;margin-left:auto;justify-content:flex-end}
.review-toolbar .review-period-mode{flex-shrink:0}
.review-toolbar .review-period-nav{order:0;width:auto;margin:0;flex-wrap:nowrap;gap:3px}
.review-toolbar .review-current{white-space:nowrap}
@media(max-width:1000px){.review-toolbar{flex-wrap:wrap;gap:12px}.review-toolbar .review-period{flex:1;flex-wrap:wrap}}
@media(max-width:650px){.review-toolbar{padding:0 18px 14px}.review-toolbar .review-tabs{flex-wrap:wrap}.review-toolbar .review-period{width:100%;justify-content:space-between;margin:0}.review-toolbar .review-period-nav{gap:2px}}

.review-letter{margin:0 0 24px;color:#425149;font:400 18px/1.75 Georgia,'Times New Roman',serif;letter-spacing:-.012em;max-width:94%;text-wrap:pretty}
.review-letter.is-writing>span>span{animation:review-letter-reveal .12s ease-out both;animation-delay:var(--letter-delay)}
@keyframes review-letter-reveal{from{opacity:0}to{opacity:1}}
@media(max-width:650px){.review-letter{font-size:16px;max-width:100%;margin-bottom:20px}}
@media(prefers-reduced-motion:reduce){.review-letter.is-writing>span>span{animation:none}}
/* Direct labels and movable, keyboard-accessible chart segments. */
.review-letter{font-family:Inter,system-ui,sans-serif;font-size:16px;font-weight:450;letter-spacing:-.025em;line-height:1.8}
.review-report-split{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.review-visual{width:100%;padding:8px 0 12px}
.review-interactive-chart{display:block;width:100%;height:auto;overflow:visible;font-family:var(--os-dna-font-body)}
.review-chart-leader{fill:none;stroke-width:1;opacity:.65;pointer-events:none}
.review-chart-label{width:100%;height:100%;padding:4px 7px;border-radius:9px;text-align:left;display:flex;flex-direction:column;justify-content:center;gap:4px;color:#43534a;font:500 14px/1.3 var(--os-dna-font-body);transition:background .35s,color .35s,box-shadow .35s}
.review-chart-label>span:first-child{display:block}
.review-chart-label:hover,.review-chart-label.is-selected{background:#ffffffa6;color:#15231a;box-shadow:0 2px 8px #11251a0a}
.review-chart-values{display:flex;align-items:baseline;gap:9px}
.review-chart-values strong{font:700 21px/1.1 Inter,system-ui,sans-serif;color:#111;letter-spacing:-.04em}
.review-chart-values small{font-size:13px;color:#758078;font-variant-numeric:tabular-nums}
.review-ring-zoom{transform-origin:300px 210px;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.review-ring-zoom.is-focused{transform:scale(1.035)}
.review-slice{transform-origin:300px 210px;cursor:pointer;transition:transform .6s cubic-bezier(.22,1,.36,1),filter .6s;outline:none;stroke:transparent;stroke-width:1}
.review-slice:hover{filter:brightness(1.04)}
.review-slice.is-selected{transform:translate(var(--slice-x),var(--slice-y)) scale(1.055);filter:drop-shadow(0 3px 3px #203b2420)}
.review-slice:focus-visible{stroke:#26392d;stroke-width:2}
.review-visual.is-animated .review-donut-sweep{animation:review-ring-draw .85s cubic-bezier(.22,1,.36,1) both}
.review-chart-total{text-anchor:middle;font:750 30px/1 Inter,system-ui,sans-serif;fill:#111;letter-spacing:-1.5px;pointer-events:none}
.review-chart-caption{text-anchor:middle;font-size:13px;fill:#758078;pointer-events:none}
.review-chart-reset{fill:transparent;cursor:pointer;outline:none}
.review-chart-reset:focus-visible{stroke:#526859;stroke-width:1}
.review-history-pane>header{min-height:40px;padding-bottom:12px}
.review-history-pane h3{margin:0}
@media(max-width:800px){.review-report-split{grid-template-columns:1fr}.review-visual{max-width:600px;margin:auto}}
@media(prefers-reduced-motion:reduce){.review-ring-zoom,.review-slice,.review-chart-label{transition:none}.review-visual .review-donut-sweep{animation:none!important}}
.review-history-scroll{overflow-x:hidden}
.review-slice:focus,.review-chart-reset:focus{outline:none!important}

.review-exclude-task{display:block;margin-top:9px;padding:4px 8px;border:1px solid #425a491c;border-radius:999px;background:#ffffff40;color:#758078;font:500 10.5px/1.4 var(--os-dna-font-body);transition:background .2s,color .2s,border-color .2s}
.review-exclude-task:hover{background:#ffffffb3;color:#263d30;border-color:#425a4940}
.review-history-pane .review-history article>div{min-width:0;flex:1}

.review-history-pane .review-history article{align-items:center}
.review-history-pane .review-history article>.review-dot{align-self:flex-start}
.review-history-pane .review-exclude-task{flex:0 0 auto;margin:0 4px 0 8px;white-space:nowrap;font-size:10px;padding:5px 8px}
.review-history-pane .review-history article>div{overflow-wrap:anywhere}

/* Let both report columns fill the available body height. */
.review-content:has(.review-report-split){display:flex;flex-direction:column}
.review-content>.review-letter{flex-shrink:0}
.review-content>.review-report-split{flex:1 0 400px;align-items:stretch;min-height:400px}
.review-report-split>.review-chart-panel{min-width:0;display:flex;align-items:center;justify-content:center}
.review-report-split>.review-history-pane{display:flex;flex-direction:column;min-height:0}
.review-history-pane>header{flex-shrink:0}
.review-history-pane>.review-history-scroll{flex:1;max-height:none;min-height:0;height:0}
.review-content>.review-habits,.review-content>.review-section-head{flex-shrink:0}
@media(max-width:800px){.review-content>.review-report-split{flex:0 0 auto}.review-report-split>.review-history-pane{min-height:360px}.review-history-pane>.review-history-scroll{max-height:360px;height:auto}}
/* Expanding inline actions stay inside a reserved, centred dock. */
.product-calendar-timeline .reminder-row:has(.timeline-quick-actions){gap:12px;align-items:center}
.timeline-quick-actions{display:flex;align-items:center;justify-content:center;gap:2px;width:clamp(170px,38%,310px);flex-shrink:0;container-type:inline-size;align-self:center}
.timeline-quick-action{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:30px;height:31px;padding:6px;overflow:hidden;border:1px solid transparent;border-radius:8px;color:#36443c;transition:background .35s ease,border-color .35s ease,box-shadow .35s ease}
.timeline-quick-action .work-quick-icon{width:16px;height:16px;flex:0 0 16px}
.timeline-quick-label{display:block;max-width:0;opacity:0;margin-left:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:550 10.5px/1.3 var(--os-dna-font-body);transition:max-width .4s cubic-bezier(.22,1,.36,1),opacity .25s ease,margin-left .4s cubic-bezier(.22,1,.36,1)}
.timeline-quick-action:is(:hover,:focus-visible,[data-confirm]){background:#ffffffa6;border-color:#263e2c14;box-shadow:0 2px 7px #14271908}
.timeline-quick-action:is(:hover,:focus-visible,[data-confirm]) .timeline-quick-label{max-width:max(0px,min(180px,calc(100cqw - var(--quick-count) * 34px)));margin-left:6px;opacity:1}
.timeline-quick-actions:has(>.timeline-quick-action:hover)>.timeline-quick-action:not(:hover) .timeline-quick-label{max-width:0;margin-left:0;opacity:0}
.timeline-quick-action:is([data-timeline-action="delete"],[data-timeline-action="delete-one"]){color:#ff2445}
.timeline-quick-action:is([data-timeline-action="delete"],[data-timeline-action="delete-one"]) .work-quick-icon{filter:brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(3158%) hue-rotate(340deg) brightness(101%) contrast(90%)}
.timeline-quick-action[data-confirm]{border-color:#ff244533;background:#fff6f6cc}
.timeline-quick-error{position:absolute;right:16px;bottom:2px;font-size:10px;color:#c72b3f;max-width:90%}
@media(prefers-reduced-motion:reduce){.timeline-quick-action,.timeline-quick-label{transition:none}}

/* Compact connected callouts with colour shared by the selected group. */
.review-chart-leader{d:var(--leader-rest);stroke-linecap:round;stroke-linejoin:round;transition:d .6s cubic-bezier(.22,1,.36,1),opacity .35s}
.review-chart-leader.is-selected{d:var(--leader-active);opacity:1;stroke-width:1.5}
.review-chart-label{gap:1px;padding:5px 7px;font-size:14px;line-height:1.16;box-sizing:border-box}
.review-chart-values{gap:6px;line-height:1}
.review-chart-values strong{font-size:20px;line-height:1}
.review-chart-values small{font-size:12px;line-height:1}
.review-chart-label.is-selected{background:color-mix(in srgb,var(--status-color) 27%,#ffffffa6);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--status-color) 55%,transparent),0 2px 8px #11251a0a}
.review-history-pane.has-status{background:color-mix(in srgb,var(--status-color) 9%,color-mix(in srgb,var(--review-card-glass) 40%,transparent));transition:background .4s ease}
@media(prefers-reduced-motion:reduce){.review-chart-leader{transition:none}}

/* Right-anchored actions reserve room for one expanded control. */
.timeline-quick-actions{justify-content:flex-end;gap:4px;width:clamp(220px,46%,380px);margin-left:auto}
.timeline-quick-action{min-width:40px;height:40px;padding:6px;border-radius:10px}
.timeline-quick-action .work-quick-icon{width:26px;height:26px;flex-basis:26px}
.timeline-quick-label{font-size:11px}
.timeline-quick-action:is(:hover,:focus-visible,[data-confirm]) .timeline-quick-label{max-width:max(0px,min(190px,calc(100cqw - var(--quick-count) * 44px - 8px)))}
.timeline-quick-delete{display:flex;flex:0 0 auto;align-items:center;border-radius:10px;transition:background .3s ease;overflow:hidden;max-width:100%}
.timeline-quick-delete .timeline-delete-trigger{color:#ff2445}
.timeline-delete-trigger .work-quick-icon{filter:brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(3158%) hue-rotate(340deg) brightness(101%) contrast(90%)}
.timeline-delete-options{display:flex;align-items:center;max-width:0;opacity:0;overflow:hidden;visibility:hidden;transition:max-width .4s cubic-bezier(.22,1,.36,1),opacity .25s ease,visibility .4s}
.timeline-delete-options>button{min-width:0;flex:1;overflow:hidden;padding:7px 6px;border-radius:7px;color:#e52d47;white-space:nowrap;font:550 11px/1.25 var(--os-dna-font-body);transition:background .2s}
.timeline-delete-options>button:hover,.timeline-delete-options>button:focus-visible{background:#ff244512}
.timeline-delete-options .timeline-quick-label{max-width:none;margin:0;opacity:1;font:inherit;text-overflow:ellipsis}
.timeline-quick-delete:is(:hover,.is-open,:has(:focus-visible)){background:#ffffffa6}
.timeline-quick-delete:is(:hover,.is-open,:has(:focus-visible)) .timeline-delete-options{max-width:max(0px,min(142px,calc(100cqw - var(--quick-count) * 44px - 8px)));opacity:1;visibility:visible}
.timeline-quick-actions:has(>.timeline-quick-action:hover) .timeline-delete-options{max-width:0;opacity:0;visibility:hidden}
.timeline-quick-actions:has(.timeline-quick-delete:hover)>.timeline-quick-action .timeline-quick-label{max-width:0;margin-left:0;opacity:0}
.timeline-delete-options>button[data-confirm]{background:#ff24451c}
@media(prefers-reduced-motion:reduce){.timeline-delete-options,.timeline-quick-delete{transition:none}}

.timeline-quick-action .work-quick-icon{width:21px;height:21px;flex-basis:21px}
.timeline-quick-actions:has(.timeline-quick-delete:is(.is-open,:has(:focus-visible)))>.timeline-quick-action .timeline-quick-label{max-width:0;margin-left:0;opacity:0}
.timeline-quick-actions .timeline-quick-delete:is(.is-open,:has(:focus-visible)) .timeline-delete-options{max-width:max(0px,min(142px,calc(100cqw - var(--quick-count) * 44px - 8px)));opacity:1;visibility:visible}

/* Delete choices have their own labels, independent of icon-label collapse. */
.timeline-delete-options{width:142px;flex:0 0 auto}
.timeline-delete-options>button{flex:1 1 0}
.timeline-delete-label{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:1;line-height:1.3}

.timeline-delete-options>button{padding:7px 4px}

/* Match the icon-to-text rhythm of the regular quick actions. */
.timeline-quick-delete .timeline-delete-trigger{width:34px;min-width:34px;padding:5px}
.timeline-delete-options{width:max-content}
.timeline-delete-options>button{flex:0 0 auto;padding:7px 6px}
.timeline-delete-options>button:first-child{padding-left:0}
.timeline-delete-options>button:last-child{padding-right:8px}

/* Keep the existing important toggle in the same expanding action dock. */
.timeline-quick-actions>.reminder-star{display:inline-flex;flex:0 0 auto;width:auto;min-width:40px;height:40px;padding:6px;margin:0!important;gap:0;transform:none}
.timeline-quick-actions>.reminder-star svg{width:21px;height:21px;flex:0 0 21px}
.timeline-quick-actions>.reminder-star:hover{transform:none}

/* Lighter calendar controls, with consistent compact quick-action icons. */
#planning-review,#planning-review:hover{background:transparent;border:0;box-shadow:none}
.timeline-quick-action .work-quick-icon,.timeline-quick-actions>.reminder-star svg{width:19px;height:19px;flex-basis:19px}

.product-calendar-timeline .reminder-row[draggable="true"]{cursor:grab}
.product-calendar-timeline .reminder-row.is-reminder-dragging{opacity:.45;cursor:grabbing}
.product-shelf.is-reminder-drop-ready{position:relative;outline:1px dashed #60826c80;outline-offset:-5px}
.product-shelf.is-reminder-drop-ready::after{content:attr(data-reminder-drop-hint);position:absolute;z-index:8;left:12px;right:12px;bottom:18px;padding:14px 12px;border-radius:12px;background:#f5faf0eb;backdrop-filter:blur(12px);box-shadow:0 4px 20px #17382220;color:#2f4b39;text-align:center;font:550 12px/1.5 var(--os-dna-font-body);pointer-events:none}
.product-shelf.is-reminder-drop-over{outline:2px solid #60826c;outline-offset:-4px}
.product-shelf.is-reminder-drop-over::after{background:#e8f2e4f5;box-shadow:0 4px 24px #17382230}

/* The whole sidebar footprint reveals navigation over Relax on hover. */
@media(hover:hover){.relax-menu-edge{width:var(--workspace-sidebar-width);border:0;box-shadow:none}}

/* Bubble invitation only: preserve the original native drag preview. */
.archive-attraction-bubbles{position:fixed;z-index:2200;width:0;height:0;pointer-events:none;--pull-x:0px;--pull-y:0px}
.archive-attraction-bubbles i{position:absolute;left:var(--spread);top:-9px;width:var(--size);height:var(--size);border-radius:50%;background:#18251e;box-shadow:inset 0 1px 2px #ffffff38;opacity:0;animation:archive-bubble-rise 1.9s ease-in-out infinite;animation-delay:calc(var(--i) * -.21s)}
@keyframes archive-bubble-rise{0%{opacity:0;transform:translate(0,8px) scale(.35)}25%{opacity:.65}75%{opacity:.4}100%{opacity:0;transform:translate(calc(var(--pull-x) + var(--spread)),calc(var(--rise) + var(--pull-y))) scale(.8)}}
@media(prefers-reduced-motion:reduce){.archive-attraction-bubbles{display:none}}
