:root{--navy:#1b2440;--deep:#141a32;--gold:#c9b99a;--cream:#f5f0e8;--paper:#faf8f4;--line:#e2ddd3;--muted:#777b85;--blue:#e8ecf4;--white:#fff;--sage:#e9eee7;--rose:#f5e8e5;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--navy);background:var(--paper);font-size:14px;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit;color:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a89878;outline-offset:3px}button{border:0}input,textarea,select{width:100%;border:1px solid var(--line);background:white;border-radius:9px;padding:11px 12px}textarea{resize:vertical;min-height:100px;line-height:1.65}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}h1{font-size:38px;line-height:1.2;margin-bottom:9px}h2{font-size:25px;line-height:1.3;margin-bottom:18px}h3{font-size:15px;margin-bottom:6px}small,.small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.14em;font-weight:650}.icon{height:18px;width:18px;stroke-width:1.65;flex-shrink:0}.row{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.stack{display:grid;gap:18px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:9px;background:white;padding:10px 14px;min-height:42px;font-size:12px;font-weight:550;text-decoration:none}.btn.primary{background:var(--navy);color:white;border-color:var(--navy)}.btn.soft{background:var(--cream)}.btn.danger{color:#9b3b3b}.btn.text{border-color:transparent;background:transparent}.icon-btn{padding:9px;background:transparent;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px}.icon-btn:hover{background:var(--cream)}.btn:hover{filter:brightness(.97)}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:#e8e4dc;padding:30px 19px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;justify-content:center;padding:0 10px 20px}.brand img{max-width:165px;max-height:90px;object-fit:contain}.sidebar .eyebrow{color:var(--gold);text-align:center;font-size:9px;margin-bottom:32px}.nav{display:grid;gap:7px}.nav button{display:flex;gap:13px;align-items:center;width:100%;background:transparent;color:#b7bac5;text-align:left;border-radius:9px;padding:12px 13px;font-size:13px}.nav button.active{background:#ffffff13;color:#f4ecdd}.nav button:hover{background:#ffffff0a}.sidebar-foot{margin-top:auto;padding-top:35px}.profile{border-top:1px solid #ffffff16;padding:20px 8px 0;display:flex;gap:10px;align-items:center}.avatar{height:35px;width:35px;border-radius:50%;background:#ede5d6;color:var(--navy);display:inline-flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:18px;flex-shrink:0}.sidebar small{font-size:10px;color:#a6abba}.sidebar .icon-btn{color:var(--gold)}.sidebar .icon-btn:hover{background:#ffffff15}.workspace{min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 42px;background:#ffffff90;font-size:12px}.topbar .context{color:var(--muted)}main{max-width:1500px;padding:36px 42px 70px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-head p{color:var(--muted);margin:8px 0 0;font-size:13px}.panel{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.grid2{display:grid;grid-template-columns:1.4fr 1fr;gap:23px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stat{padding:24px;border-radius:14px;border:1px solid var(--line);background:white;cursor:pointer;text-align:left}.stat strong{display:block;font:36px Georgia,serif;margin:15px 0 3px}.stat small{color:var(--muted)}.welcome{background:var(--cream);border:1px solid #e4daca;padding:27px 30px;border-radius:16px;margin-bottom:24px;display:flex;align-items:center;justify-content:space-between}.welcome h2{margin:7px 0 5px;font-size:28px}.welcome p{margin:0;color:var(--muted);font-size:13px}.badge{display:inline-flex;align-items:center;gap:4px;font-size:10px;border-radius:5px;padding:3px 7px;background:var(--cream);color:#77705f;white-space:nowrap}.badge .icon{width:11px;height:11px}.badge.blue{background:var(--blue);color:#596681}.badge.green{background:var(--sage);color:#526b4a}.badge.red{background:var(--rose);color:#995d53}.item{padding:17px 0;border-bottom:1px solid var(--line);display:flex;align-items:flex-start;gap:12px;min-width:0}.item:last-child{border-bottom:0}.item h3{font-size:14px;overflow-wrap:anywhere}.item p{font-size:12px;color:var(--muted);margin:5px 0;white-space:pre-wrap;overflow-wrap:anywhere}.item small{color:var(--muted);font-size:11px}.item-title{padding:0;background:none;text-align:left;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.item-title:hover{text-decoration:underline}.check{width:21px;height:21px;border:1px solid #d5d6d5;border-radius:6px;background:white;flex-shrink:0;margin-top:2px;padding:1px}.check.done{background:var(--navy);color:white}.check.done .icon{width:16px;height:16px}.done-title{text-decoration:line-through;color:var(--muted)}.empty{padding:32px 16px;text-align:center;color:var(--muted);font-size:13px}.empty .icon{width:29px;height:29px;display:block;margin:0 auto 13px;color:var(--gold)}.empty strong{display:block;color:var(--navy);font-weight:500;margin-bottom:7px}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}.toolbar input{max-width:250px}.toolbar select{max-width:180px}.tabs{display:flex;background:#eeece7;padding:4px;border-radius:9px;gap:3px;width:max-content;max-width:100%;overflow:auto}.tabs button{border-radius:6px;padding:8px 13px;white-space:nowrap;background:transparent;font-size:12px;color:var(--muted)}.tabs button.active{background:white;color:var(--navy);box-shadow:0 1px 4px #00000008}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--line);border-radius:14px;overflow:hidden;background:white}.cal-day{min-height:330px;border-right:1px solid var(--line);padding:13px 9px}.cal-day:last-child{border-right:0}.day-head{text-align:center;padding:7px 0 18px;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.day-head strong{font-size:23px;font-family:Georgia,serif;font-weight:400;display:block;line-height:1.8;color:var(--navy)}.cal-day.today{background:#f9f6ef}.cal-day.today .day-head strong{background:var(--navy);color:white;width:38px;height:38px;line-height:38px;border-radius:50%;margin:3px auto}.cal-event{display:block;background:var(--blue);border-radius:6px;padding:10px 8px;margin-bottom:9px;width:100%;text-align:left;border-left:2px solid #7183a7;overflow-wrap:anywhere;font-size:11px}.cal-event.todo{background:var(--cream);border-left-color:var(--gold)}.cal-event small{font-size:9px;display:block;opacity:.7;margin:3px 0}.cal-event strong{font-weight:550}.cal-event .icon{width:11px;height:11px;vertical-align:middle}.meeting-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px}.meeting-list{max-height:75vh;overflow:auto}.meeting-tile{display:block;background:transparent;border:1px solid transparent;width:100%;text-align:left;padding:17px 14px;border-radius:10px;margin-bottom:6px}.meeting-tile.active{background:white;border-color:var(--line)}.meeting-tile strong{display:block;font-weight:500;font-size:14px}.meeting-tile small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.meeting-date{font-size:11px;color:var(--muted);margin-bottom:14px}.prose{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.meeting-main h3{margin-top:26px;margin-bottom:12px}.record-box{background:var(--cream);border-radius:10px;padding:16px;margin:24px 0}.record-box p{font-size:11px;color:var(--muted);margin:9px 0 0}audio{width:100%;height:35px;margin:10px 0}.audio-row{padding:15px 0;border-top:1px solid var(--line)}.thought-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.thought-card{background:#fffdf6;border:1px solid #e9e2d2;border-radius:12px;padding:21px}.thought-card p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:13px;margin:14px 0 20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:550;padding:14px 12px;border-bottom:1px solid var(--line)}td{padding:17px 12px;border-bottom:1px solid var(--line);vertical-align:middle}td strong{font-weight:550}td small{display:block;color:var(--muted);margin-top:3px}.notes-shell{display:grid;grid-template-columns:210px minmax(260px,1fr) 300px;min-height:600px;border:1px solid var(--line);border-radius:13px;overflow:hidden;background:white}.note-list{background:#f2f1ee;border-right:1px solid var(--line);padding:12px}.note-list input{font-size:12px;background:#ffffffbb;padding:8px;margin-bottom:8px}.note-list select{font-size:11px;padding:7px;margin-bottom:12px}.note-tile{display:block;border:0;background:transparent;border-radius:7px;width:100%;text-align:left;padding:14px 12px;margin-bottom:3px}.note-tile.active{background:#e6d7b5}.note-tile strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.note-tile small{display:block;font-size:10px;color:#777;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.note-editor{padding:24px;display:flex;flex-direction:column;min-width:0}.note-editor input.title{border:0;padding:9px 0;font-size:24px;font-weight:600;border-radius:0}.note-editor textarea{flex:1;min-height:360px;border:0;padding:14px 0;resize:vertical;box-shadow:none;outline-offset:1px;background:transparent}.note-editor .meta{font-size:10px;color:var(--muted)}.note-editor .note-overview{margin:auto;text-align:center;padding:40px 15px;max-width:430px}.note-overview h2{font-size:29px}.note-overview p{color:var(--muted);line-height:1.8;font-size:13px}.ai-panel{border-left:1px solid var(--line);padding:20px 17px;display:flex;flex-direction:column;background:#fcfbf8;min-width:0}.ai-panel h3{font-size:13px;margin-bottom:7px}.ai-panel>p{font-size:11px;color:var(--muted);margin-bottom:20px}.ai-chat{max-height:390px;min-height:200px;overflow:auto;flex:1}.chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.7;background:#efede6;border-radius:10px;padding:13px;margin:10px 0}.chat-bubble.user{background:var(--blue)}.ai-panel textarea{font-size:12px;margin:15px 0 10px;min-height:90px}.ai-panel .btn{width:100%}.ai-hint{padding:15px;border:1px solid var(--line);border-radius:10px;font-size:12px;color:var(--muted);line-height:1.8}.admin-banner{padding:12px 42px;background:#f1dfb7;color:#674c21;font-size:12px;display:flex;justify-content:space-between;align-items:center}.admin-banner .btn{padding:5px 10px;min-height:30px;font-size:11px}.field{display:block;margin:16px 0;font-size:12px;font-weight:550}.field>input,.field>textarea,.field>select{margin-top:7px;font-weight:400}.field small{display:block;font-weight:400;color:var(--muted);margin-top:7px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.people{display:flex;gap:17px;flex-wrap:wrap;margin:10px 0}.people label,.toggle{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400}.people input,.toggle input{width:17px;height:17px;accent-color:var(--navy);margin:0}.privacy{background:var(--cream);border-radius:10px;padding:15px;margin:17px 0}.privacy p{font-size:11px;color:var(--muted);margin:8px 0 0}.actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:25px;flex-wrap:wrap}.error{color:#963f36;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px}.notice{padding:14px 17px;border-radius:9px;background:var(--cream);font-size:12px;line-height:1.7;margin:15px 0}.recording{color:#a04e3f}.recording .icon{animation:pulse 1s infinite}.hidden,[hidden]{display:none!important}dialog{border:1px solid var(--line);border-radius:17px;padding:28px;width:min(620px,calc(100vw - 28px));max-height:90vh;color:var(--navy);box-shadow:0 30px 100px #12182e33;background:var(--paper)}dialog::backdrop{background:#141a3260;backdrop-filter:blur(3px)}dialog h2{margin:0;font-size:27px}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:23px}.login{display:grid;min-height:100vh;place-items:center;background:var(--cream);padding:25px}.login-card{width:min(420px,100%);border:1px solid var(--line);border-radius:19px;background:white;padding:35px;box-shadow:0 10px 50px #1b24400a}.login-brand{background:var(--navy);margin:-35px -35px 30px;border-radius:18px 18px 0 0;text-align:center;padding:28px}.login-brand img{max-width:180px;height:90px;object-fit:contain}.login-card h1{font-size:28px;margin-bottom:8px}.login-card .btn{width:100%;margin-top:12px}.login-card>p{font-size:13px;color:var(--muted)}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--navy);color:white;border-radius:10px;padding:12px 20px;font-size:13px;box-shadow:0 8px 30px #0002;z-index:10;max-width:90vw;display:none}#toast.show{display:block}.loading{padding:60px;text-align:center}.subheading{font-size:12px;font-weight:550;color:var(--muted);margin:25px 0 10px}.topbar .menu-label{display:none}.preview-change{border:1px solid var(--line);padding:15px;border-radius:9px;margin:14px 0}.preview-change pre{white-space:pre-wrap;font-family:inherit;font-size:12px;max-height:280px;overflow:auto}.red-dot{width:8px;height:8px;background:#ab5148;border-radius:50%;display:inline-block}.readonly{font-size:11px;color:var(--muted);margin-bottom:12px}
@keyframes pulse{50%{opacity:.3}}@media(min-width:1550px){.notes-shell{grid-template-columns:240px minmax(340px,1fr) 340px}}
@media(max-width:1200px){.shell{grid-template-columns:195px minmax(0,1fr)}.sidebar{padding:28px 12px}.topbar{padding:0 25px}main{padding:30px 25px 60px}.notes-shell{grid-template-columns:180px minmax(240px,1fr)}.ai-panel{grid-column:1/-1;border-left:0;border-top:1px solid var(--line)}.ai-chat{max-height:250px;min-height:70px}.thought-grid{grid-template-columns:repeat(2,1fr)}.calendar-grid{overflow:auto;grid-template-columns:repeat(7,minmax(120px,1fr))}.grid2{grid-template-columns:1fr 1fr}.meeting-layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:800px){.shell{display:block}.sidebar{position:static;height:auto;padding:12px 16px;display:grid;grid-template-columns:1fr auto;gap:8px}.brand{padding:0;justify-content:flex-start}.brand img{width:95px;height:44px}.sidebar>.eyebrow{display:none}.nav{grid-column:1/-1;display:flex;overflow:auto;gap:5px;order:3}.nav button{width:auto;flex-shrink:0;padding:9px 11px;font-size:11px;gap:7px}.nav .icon{width:15px;height:15px}.sidebar-foot{padding:0;margin:0;grid-column:2;grid-row:1}.profile{border:0;padding:0}.profile .grow{display:none}.profile .avatar{width:29px;height:29px;font-size:15px}.topbar{height:55px;padding:0 20px}.topbar .context{font-size:10px}main{padding:25px 18px 50px}.page-head{gap:10px;align-items:flex-start}h1{font-size:31px}.page-head p{font-size:12px}.page-head>.btn{padding:10px;white-space:nowrap}.grid2{grid-template-columns:1fr}.grid3{gap:9px}.stat{padding:15px}.stat strong{font-size:29px}.stat .eyebrow{font-size:8px;letter-spacing:.05em}.welcome{padding:22px}.welcome h2{font-size:24px}.meeting-layout{grid-template-columns:1fr}.meeting-list{display:flex;max-height:160px;overflow:auto;gap:8px}.meeting-tile{min-width:190px}.panel{padding:20px}.thought-grid{grid-template-columns:1fr}.admin-banner{padding:10px 18px;gap:15px;font-size:11px}.notes-shell{grid-template-columns:150px minmax(0,1fr)}.note-list{padding:8px}.note-tile{padding:12px 8px}.note-editor{padding:16px}.note-editor input.title{font-size:20px}.note-editor .row{flex-wrap:wrap}.notes-shell .btn{font-size:10px;padding:8px;min-height:36px}.form-grid{grid-template-columns:1fr}.record-box .row{flex-wrap:wrap}.item .actions{margin:0}dialog{padding:22px}.toolbar input,.toolbar select{max-width:none;flex:1;min-width:130px}}
@media(max-width:440px){.notes-shell{grid-template-columns:1fr}.note-list{max-height:220px;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}.note-editor textarea{min-height:350px}.grid3{grid-template-columns:1fr 1fr}.grid3>.stat:last-child{grid-column:1/-1}.toolbar{gap:8px}.welcome>.icon{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
.record-fields{border:0;padding:0;margin:0;min-width:0}.record-fields:disabled{opacity:.8}

/* Billing: the green status always comes from the underlying checks. */
.billing-toolbar input{display:inline-block;width:165px;margin-left:7px}.billing-month-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:24px 28px;margin-bottom:16px}.billing-month-summary h2{margin:6px 0;font-size:29px}.billing-month-summary p{font-size:12px;margin:0;color:var(--muted)}.billing-complete{background:#edf4e9!important;border-color:#b4ccb0!important}.billing-complete h2,.billing-complete>.row h3{color:#355c3b}.billing-complete>.badge{background:#dcebd6;color:#355c3b}.billing-alert{padding:13px 18px;background:#f5eadc;border:1px solid #e5d5bf;border-radius:10px;font-size:12px;margin:18px 0}.billing-alert .icon{vertical-align:middle;margin-right:5px}.billing-week-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:24px 0}.billing-week-button{padding:15px;text-align:left;background:white;border:1px solid var(--line);border-radius:10px}.billing-week-button small{display:block;font-size:10px;color:var(--muted)}.billing-week-button strong{display:block;font-weight:550;font-size:13px;margin:6px 0 11px}.billing-week-button span{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--muted)}.billing-week-button span .icon{width:14px;height:14px}.billing-week-button.selected{outline:2px solid var(--navy);outline-offset:1px}.billing-week-button.complete{background:#edf4e9;border-color:#b4ccb0}.billing-week-button.complete span{color:#355c3b}.billing-week-panel h2{font-size:25px;margin:7px 0 15px}.billing-check{display:flex;align-items:flex-start;gap:12px;width:100%;background:transparent;text-align:left;padding:16px 0;border:0;border-bottom:1px solid var(--line);line-height:1.5}.billing-check:disabled{opacity:1;cursor:default}.billing-check:disabled:not(.checked)>.check{background:#f1f0ec}.billing-check>span:last-child{min-width:0}.billing-check strong{font-size:13px;font-weight:550;display:block}.billing-check small{display:block;font-size:11px;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.billing-check.checked strong{color:#355c3b}.billing-check .check.done{background:#466e49;border-color:#466e49}.billing-declaration{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}.billing-declaration strong{display:block;font-size:13px;font-weight:550}.billing-declaration small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.billing-declaration .tabs{flex-shrink:0}.billing-rule{margin:18px 0 0}.billing-section-heading{margin:30px 0 16px}.billing-section-heading h2{margin:0}.billing-section-heading>p{margin-top:10px}.billing-invoice{margin-bottom:17px}.billing-invoice h3{margin:0;font-size:17px}.billing-invoice>.row p{margin:8px 0 0}.billing-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:12px}.billing-progress .billing-check{border:0;gap:8px}.billing-progress .billing-check strong{font-size:12px}.billing-progress .billing-check small{font-size:10px}.billing-invoice-footer{border-top:1px solid var(--line);margin-top:10px;padding-top:9px}.billing-invoice-footer>.btn{font-size:10px;padding:6px;min-height:30px}.billing-invoice-footer>small{font-size:10px}.billing-history{border-top:1px solid var(--line);padding-top:15px;margin-top:10px}.billing-history summary{cursor:pointer;font-size:12px;color:var(--muted);padding:5px 0}.billing-history-entry{padding:15px 0;border-bottom:1px solid var(--line)}.billing-history-entry:last-child{border:0}.billing-history-entry strong{font-size:12px;font-weight:550}.billing-history-entry small{font-size:10px}.billing-history-entry p{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:9px 0 0}.billing-history-entry.retracted{opacity:.6}.billing-history-entry.retracted strong{text-decoration:line-through}.billing-history-entry.retracted>small{display:block;margin-top:8px}.billing-blocked{border-color:#d8b7a6;background:#fffaf5}.billing-blocked-note{padding:12px 15px;border-radius:8px;background:#f3e4d8;color:#825239;font-size:12px;line-height:1.6;margin:10px 0}.billing-month-weeks{margin:22px 0}.billing-month-week{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:17px;width:100%;text-align:left;border:1px solid var(--line);border-radius:8px;margin:8px 0;background:white}.billing-month-week.complete{background:#edf4e9;border-color:#b4ccb0}.billing-month-week>span{display:flex;align-items:center;gap:8px;font-size:12px}.billing-month-week .small{color:var(--muted);font-size:11px}.billing-month-review{border-top:1px solid var(--line);padding-top:22px;margin-top:26px}.billing-month-review h3 span{font-weight:400}.billing-month-review>.billing-check{border:0}.billing-backstop h2{margin-bottom:10px}
@media(max-width:1200px){.billing-progress{grid-template-columns:1fr 1fr;gap:0 20px}.billing-week-picker{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}}
@media(max-width:700px){.billing-month-summary{padding:21px;align-items:flex-start}.billing-month-summary h2{font-size:25px}.billing-week-picker{display:flex;overflow:auto;padding:3px;margin:18px -3px}.billing-week-button{flex-shrink:0;min-width:160px}.billing-month-week{align-items:flex-start;flex-direction:column;gap:7px}.billing-toolbar>.tabs:last-child{width:100%}.billing-toolbar>.tabs:last-child button{flex:1;padding:8px}.billing-toolbar input{min-width:0;width:160px}.billing-week-panel h2{font-size:23px}.billing-declaration{gap:10px;flex-wrap:wrap}.billing-invoice>.row>.row{width:100%;justify-content:space-between}.billing-progress{gap:0 12px}.billing-progress .billing-check{padding:13px 0}.billing-alert .btn{padding-left:0}}
@media(max-width:360px){.billing-progress{grid-template-columns:1fr}}

/* Employee roster, messages and the transparent time clock. */
.employee-shell .profile small{display:block;margin-top:4px}.staff-clock-panel{background:var(--cream,#f5f0e8);border:1px solid var(--line,#dedbd4);border-radius:18px;padding:26px}.staff-clock-panel h2{margin:8px 0 12px}.staff-message-list input,#staff-auto-translate{width:auto}.staff-clock-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.staff-clock-buttons button{min-height:116px;border:1px solid #1b2440;background:#1b2440;color:#fff;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;font-size:15px;cursor:pointer}.staff-clock-buttons button>.icon{width:28px;height:28px}.staff-clock-buttons button:disabled{background:#e8e7e2;color:#777a7c;border-color:#d9d9d1;cursor:default;opacity:.75}.staff-shift-time{font-family:Georgia,serif;font-size:28px;color:#1b2440}.staff-shift,.staff-employee{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0;border-bottom:1px solid #e5e3dc;flex-wrap:wrap}.staff-shift:last-child,.staff-employee:last-child{border-bottom:0}.staff-shift small,.staff-employee small{display:block;color:var(--muted,#777);margin-top:5px}.staff-shift p,.staff-employee p{font-size:13px;white-space:pre-wrap;margin:7px 0}.staff-roster-actions{display:flex;align-items:center;gap:12px;margin-top:24px;flex-wrap:wrap}.staff-history-row{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;background:transparent;border:0;border-bottom:1px solid #e5e3dc;padding:16px 0;text-align:left;cursor:pointer}.staff-roster-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:20px}.staff-roster-heading{margin:8px 0 20px}.staff-roster-heading h2{margin:0}.staff-role-group{padding-bottom:20px}.staff-role-group:last-child{padding-bottom:0}.staff-role-group h3{border-bottom:1px solid #dcd8cd;padding-bottom:12px;margin-bottom:0;color:#5a604e}.staff-ack{padding:12px 0;border-bottom:1px solid #e5e3dc}.staff-ack small{width:100%;color:var(--muted,#777)}.staff-clock-event{padding:18px 0;border-bottom:1px solid #e5e3dc}.staff-clock-event:last-child{border:0}.staff-original{margin:18px 0}.staff-translation:not(:empty){background:#eff3ea;border-left:3px solid #819477;padding:15px;margin:16px 0;border-radius:0 8px 8px 0}.staff-message .prose{margin:8px 0;overflow-wrap:anywhere}.staff-message .badge{margin-top:12px}.staff-message-list{max-width:950px}#staff-form fieldset{padding:16px;border:1px solid #dedbd4;border-radius:9px;margin-bottom:18px}#staff-form fieldset input,#staff-form label.row input{width:auto}#staff-form fieldset label{margin:10px 0}.employee-shell .sidebar .badge{background:#fff;color:#1b2440}
@media(max-width:1100px){.staff-clock-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-roster-layout{grid-template-columns:1fr}}
@media(max-width:600px){.staff-clock-panel{padding:18px}.staff-clock-buttons{gap:9px}.staff-clock-buttons button{font-size:14px;min-height:100px}.staff-shift .row{width:100%}.staff-roster-actions .btn{width:100%;justify-content:center}.staff-roster-heading>.row{width:100%}}

@media(min-width:801px){.sidebar .brand,.sidebar>.eyebrow,.sidebar-foot{flex-shrink:0}.sidebar .nav{flex:1;overflow-y:auto;min-height:0;align-content:start}.sidebar-foot{padding-top:16px}.sidebar>.eyebrow{margin-bottom:20px}}

/* Shared work plan, order reviews and maintenance. */
.work-dashboard{background:#f1f2eb;border:1px solid #d9dfd2;border-radius:17px;padding:26px;margin-bottom:26px}.work-dashboard h2{margin:7px 0 0}.work-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.work-summary{display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid #d9dfd2;border-radius:10px;padding:15px}.work-summary strong{font:29px Georgia,serif}.work-summary span{font-size:12px}.work-card{background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px 20px;margin:9px 0}.work-card-main{min-width:0;flex:1}.work-card-title{display:block;padding:0;margin:4px 0 8px;text-align:left;background:transparent;font-size:15px;font-weight:600;line-height:1.45;overflow-wrap:anywhere}.work-card-title:hover{text-decoration:underline}.work-category{font-size:9px;text-transform:uppercase;letter-spacing:.1em;color:#81755d}.work-card-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end}.work-overdue{color:#9a5146;font-weight:550}.work-done{background:#edf3e9!important;border-color:#cfdbc8!important}.work-blocked{border-left:4px solid #bf8f71}.work-group{margin:26px 0 34px}.work-group h2{margin:0 0 5px}.work-controls{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin-bottom:20px}.work-controls>label{margin-left:auto}.work-controls input{max-width:190px}.work-category-tabs{flex-wrap:wrap}.work-detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px;align-items:start}.work-detail-grid select{min-width:145px;max-width:200px}.work-checklist{margin:18px 0}.work-dependency{display:flex;gap:12px;border:1px solid var(--line);background:#faf7f1;border-radius:12px;padding:16px;margin:20px 0}.work-dependency>.icon{margin-top:2px}.work-dependency p{margin:6px 0 0}.work-dependency.complete{background:#edf3e9;border-color:#cfdbc8;color:#4e6847}.work-links,.work-task-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.work-task-actions{padding-top:20px;border-top:1px solid var(--line)}.work-history-entry{padding:15px 0;border-bottom:1px solid var(--line)}.work-history-entry:last-child{border-bottom:0}.work-history-entry p{margin:8px 0 0;font-size:12px;overflow-wrap:anywhere}.work-section-heading{margin:27px 0 18px}.work-section-heading p{margin:0}.work-linked-checks{margin:18px 0 25px}.work-request h3{font-size:17px;margin:5px 0 8px}.work-request .prose{overflow-wrap:anywhere}.work-review{margin-bottom:22px}.work-review h2{margin-bottom:8px}.work-review .row>.badge{align-self:flex-start}.work-schedule-weekly{padding:16px;margin:16px 0;border:1px solid var(--line);border-radius:9px}#work-form label.row input{width:auto}#work-comment-form textarea{min-height:100px}.work-dashboard .work-card .icon-btn{background:transparent}.work-card-actions .icon-btn{min-width:38px}
@media(max-width:1100px){.work-detail-grid{grid-template-columns:1fr}.work-category-tabs{width:100%}}
@media(max-width:700px){.work-dashboard{padding:18px}.work-summary-grid{gap:8px}.work-summary{padding:12px 9px;flex-direction:column;align-items:flex-start;gap:4px}.work-summary span{font-size:11px}.work-card{padding:15px;gap:8px;align-items:flex-start}.work-card-title{font-size:14px}.work-card-actions{max-width:100px}.work-card-actions .badge{white-space:normal;text-align:center}.work-controls{gap:9px}.work-controls>label{margin-left:0;flex:1}.work-controls input{max-width:none}.work-links .btn,.work-task-actions .btn{flex:1}.work-review .btn{width:100%}.work-group{margin:20px 0 26px}}

/* A single, compact My day workspace. */
.day-welcome{display:block;padding:23px 27px;margin-bottom:23px}.day-welcome-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.day-welcome h2{margin:7px 0}.day-welcome-heading p{margin:0;font-size:12px}.day-welcome-heading>.icon{width:36px;height:36px;color:#ad9670}.day-events{margin-top:18px;padding-top:15px;border-top:1px solid #d8d5c9}.day-events h3{margin:0;font-size:13px}.day-no-events{margin:7px 0 0}.day-event{display:flex;width:100%;align-items:center;gap:14px;text-align:left;background:rgba(255,255,255,.65);border:1px solid #dedbcf;border-radius:9px;padding:10px 13px;margin-top:8px}.day-event-time{font-size:12px;min-width:57px;color:#726851}.day-event>span:nth-child(2){flex:1;min-width:0}.day-event strong{display:block;font-size:13px;overflow-wrap:anywhere}.day-event small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.day-event>.icon{width:16px}.day-work{padding:24px}.day-work-heading{margin-bottom:19px;align-items:center}.day-work-heading h2{margin:5px 0 0;font-size:25px}.day-work-heading select{min-width:160px;margin-top:4px}.day-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;border-bottom:1px solid var(--line);padding-bottom:14px}.day-tabs>button{min-width:0;padding:14px 13px;border:1px solid var(--line);border-radius:10px;background:#f9f8f5;text-align:left;color:var(--muted)}.day-tabs>button>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.day-tabs>button>small{display:block;margin:10px 0 0 24px;font-size:11px}.day-tabs>button .icon{width:16px;height:16px;flex-shrink:0}.day-tabs>button.active{color:var(--navy);border-color:#b8bda9;background:#edf0e6;box-shadow:inset 0 -2px 0 #748167}.day-tabs small b{font-weight:650}.day-list-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:17px}.day-list-actions{margin-left:auto}.day-list-hint{font-size:11px;line-height:1.6;margin:13px 0 18px}.day-group{margin:17px 0 25px}.day-group>h3{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#837761;margin:0 0 10px}.day-group .work-card{padding:13px 16px}.day-group .work-card-title{font-size:14px;margin-bottom:5px}.day-record{border:1px solid var(--line);border-radius:10px;margin:9px 0;overflow:hidden}.day-record .item{border:0;margin:0;padding:16px}.day-record .item p{margin-bottom:0}.day-source,.day-call-details{padding:0 16px 12px 51px;margin:0}.day-source .btn{padding:0;font-size:11px}.day-priorities{padding-left:23px;margin:22px 0}.day-priorities li{padding:12px 0;border-bottom:1px solid var(--line)}.day-priorities p{margin:6px 0;line-height:1.7}.day-work .empty{padding:30px 16px}.day-list-controls input[type=month]{max-width:185px}.day-work .work-card-actions .badge{font-size:10px}
@media(max-width:1100px){.day-tabs>button{padding:12px 9px}.day-tabs>button>span{font-size:11px}.day-tabs>button>small{margin-left:0}.day-list-actions{margin-left:0}}
@media(max-width:700px){.day-welcome{padding:18px}.day-welcome h2{font-size:27px}.day-welcome-heading>.icon{width:25px;height:25px}.day-events{margin-top:14px}.day-work{padding:16px}.day-work-heading{gap:12px}.day-work-heading h2{font-size:23px}.day-work-heading select{min-width:145px}.day-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.day-tabs>button{padding:13px 10px}.day-tabs>button>span{font-size:12px}.day-list-controls{gap:9px}.day-list-actions{width:100%;justify-content:space-between}.day-group .work-card{padding:12px}.day-work .work-card-actions{max-width:72px}.day-record .item{padding:13px;gap:9px}.day-source,.day-call-details{padding-left:42px}.day-welcome .btn{font-size:11px;padding:7px}.day-event{gap:8px}.day-event-time{min-width:50px}}
@media(min-width:701px){.day-welcome{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.5fr);gap:26px;align-items:center;padding:20px 25px}.day-welcome-heading{align-items:flex-start}.day-welcome-heading>.icon{width:25px;height:25px}.day-welcome-heading h2{font-size:30px}.day-events{margin:0;padding:0 0 0 25px;border-top:0;border-left:1px solid #d8d5c9;max-height:220px;overflow:auto}.day-events>.row{min-height:30px}.day-events .btn{min-height:30px;padding:4px 8px}.day-event{padding:8px 11px}.day-work-heading{margin-bottom:14px}}
@media(max-width:700px){.day-page-head{margin-bottom:18px}.day-page-head p{display:none}.day-page-head h1{font-size:32px}.day-page-head>.row{gap:7px}.day-page-head .btn{font-size:11px;min-height:37px;padding:8px 10px}.day-welcome-heading h2{font-size:25px;margin:4px 0 0}.day-welcome-heading p{display:none}.day-welcome-heading .eyebrow{font-size:9px}.day-events{max-height:150px;overflow:auto;margin-top:11px;padding-top:8px}.day-events .btn{min-height:30px;padding:3px 5px}.day-event{padding:7px 8px}.day-work-heading{display:grid;grid-template-columns:1fr 140px;gap:8px;align-items:center;margin-bottom:13px}.day-work-heading label{font-size:10px}.day-work-heading select{min-width:0;width:140px;padding:9px;font-size:11px}.day-work-heading .eyebrow{font-size:9px}.day-work-heading h2{font-size:22px}.day-tabs>button>small{margin-top:6px}}
@media(max-width:700px){.day-events{max-height:170px}.day-page-head .eyebrow{font-size:8px;letter-spacing:.09em;white-space:nowrap}}
.stock-table{min-width:860px}.stock-table th{white-space:nowrap}.stock-table td{vertical-align:middle}.stock-table td:nth-child(2){min-width:150px}.stock-table td:last-child .row{flex-wrap:wrap}.reorder-weekly-review{margin-top:28px}.reorder-weekly-review>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:revert}.reorder-weekly-review>.work-review{margin-top:15px}
.thought-list{padding-top:6px;padding-bottom:6px}.thought-row{display:flex;gap:14px;align-items:flex-start;padding:20px 0;border-bottom:1px solid var(--line)}.thought-row:last-child{border:0}.thought-row>.check{margin-top:4px;flex-shrink:0}.thought-row .grow{min-width:0}.thought-excerpt{font-size:12px;line-height:1.6;color:var(--muted);margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.thought-row-actions{display:flex;gap:6px;flex-shrink:0;align-items:center}.thought-workshop-modal{width:min(1120px,calc(100vw - 28px))}.thought-source{background:var(--cream);padding:18px;border-radius:10px}.thought-source h3{margin:0}.thought-source .prose{max-height:180px;overflow:auto;font-size:13px;line-height:1.7}.thought-manual-actions{display:flex;gap:5px;flex-wrap:wrap;margin:12px 0}.thought-workshop-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:24px;margin-top:26px}.thought-workshop-layout h3{margin-top:0}.thought-suggestions{display:grid;gap:14px}.thought-suggestion{padding:18px;background:white;border:1px solid var(--line);border-radius:12px}.thought-suggestion .field{margin:10px 0}.thought-suggestion>.btn{margin-top:10px}.thought-suggestion.added{background:#edf4e9;border-color:#b4ccb0}.thought-suggestion.added h3{margin:12px 0}.thought-assistant{padding:18px;background:#f7f5ef;border:1px solid var(--line);border-radius:12px;align-self:start}.thought-chat{max-height:360px;overflow:auto}.thought-assistant .chat-bubble{background:white}.thought-assistant .chat-bubble.user{background:var(--blue)}.meeting-agenda{margin:24px 0}.agenda-topics{display:grid;gap:10px}.agenda-topic{display:flex;gap:12px;border:1px solid var(--line);border-radius:9px;padding:14px;background:var(--cream)}.agenda-topic .prose{font-size:13px;margin:0 0 7px;line-height:1.7}.agenda-number{font-size:11px;flex-shrink:0;color:var(--muted);padding-top:3px}.agenda-editor-row{position:relative;padding-right:35px}.agenda-editor-row>.icon-btn{position:absolute;right:0;top:23px;padding:5px;min-height:30px}.agenda-editor-row textarea[readonly]{background:var(--cream)}.agenda-editor-row .field{margin-bottom:5px}#agenda-count{display:block;margin-top:10px}
@media(max-width:800px){.thought-row{flex-wrap:wrap}.thought-row-actions{width:100%;padding-left:36px;flex-wrap:wrap}.thought-workshop-layout{grid-template-columns:1fr;gap:18px}.thought-assistant{grid-row:1}.thought-chat{max-height:200px}.thought-manual-actions .btn{font-size:11px;padding:8px}.thought-workshop-modal{padding:18px}.thought-source .prose{max-height:120px}}

.planned-meeting-title{margin:22px 0 12px}

/* Saved, shared call preparation */
.callback-row{display:flex;gap:24px;padding:22px 0;border-bottom:1px solid var(--line);align-items:flex-start}.callback-row:last-child{border:0}.callback-row .grow{min-width:0}.callback-row .prose{font-size:13px;margin:8px 0}.callback-row-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex-shrink:0}.callback-prep-status{display:flex;align-items:center;gap:6px;color:var(--muted);margin-bottom:0}.call-prep-modal{width:min(1100px,calc(100vw - 28px))}.call-prep-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,1fr);gap:26px;margin-top:22px}.call-prep-layout h3{margin-top:0}.call-prep-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.call-shared-note{border:1px solid var(--line);border-radius:10px;background:var(--cream);padding:14px;margin:12px 0}.call-shared-note .prose{font-size:13px;margin-bottom:0}.call-chat{margin-top:15px;max-height:400px}.call-chat .chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere}.call-chat small{display:block;color:var(--muted);font-size:10px;margin-bottom:8px}.call-chat-status{font-style:italic}.call-prep-layout .call-linked-heading{margin-top:26px}.call-linked-items .icon{width:15px;height:15px;vertical-align:middle}.call-prep-modal .thought-source .prose{max-height:180px;overflow:auto}.callback-row .prose,.call-shared-note .prose{overflow-wrap:anywhere}
@media(max-width:760px){.callback-row{flex-direction:column;gap:12px}.callback-row-actions{flex-direction:row;flex-wrap:wrap;width:100%}.callback-row-actions .btn{font-size:11px;padding:9px}.call-prep-layout{grid-template-columns:1fr}.call-prep-modal{padding:18px}.call-chat{max-height:300px}.call-prep-actions .btn{font-size:12px}}

/* Account access and visible message handovers. */
.users-settings{margin-bottom:26px}.account-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.account-row{border:1px solid var(--line);border-radius:12px;padding:18px;background:var(--cream)}.account-row-heading{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.account-row-heading>strong{font-size:17px;margin-right:auto}.account-access{font-size:12px;line-height:1.8;padding-left:18px;color:var(--muted);margin:14px 0}.view-as-banner{position:sticky;top:0;z-index:5;background:#eee1c6;color:var(--ink);gap:16px}.message-alert{background:#eee1c6;border-color:#ab8235;font-weight:700}.message-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;border-radius:14px;padding:3px 7px;background:#654a21;color:white;font-size:11px;font-weight:700;white-space:nowrap}.day-message-panel{margin-bottom:20px;padding:18px 22px}.day-message-panel h2{font-size:20px;margin:0;display:flex;align-items:center;gap:9px}.day-message-panel.has-unread,.staff-message.message-unread{border:2px solid #b08b48;background:#fffbf1}.day-message-preview{display:grid;width:100%;text-align:left;border:0;border-top:1px solid var(--line);background:transparent;padding:12px 0;grid-template-columns:100px 1fr auto;gap:10px;align-items:start;color:var(--ink);cursor:pointer;font:inherit;font-size:12px}.day-message-preview:first-of-type{margin-top:12px}.day-message-preview small{color:var(--muted);font-size:10px}.day-message-preview span{white-space:pre-wrap;overflow-wrap:anywhere}.manager-own-roster{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:20px}.manager-own-roster h3{margin:5px 0;font-size:17px}.manager-own-roster p{margin:4px 0}.view-as-banner>.btn{flex-shrink:0}.account-list button:disabled{opacity:.45}.topbar .message-alert .icon{width:17px;height:17px}
@media(max-width:760px){.account-list{grid-template-columns:1fr}.day-message-preview{grid-template-columns:1fr;gap:5px}.view-as-banner{flex-wrap:wrap;font-size:12px}.manager-own-roster{flex-direction:column;align-items:flex-start}.day-message-panel{padding:15px}.day-message-panel h2{font-size:17px}.topbar .context{display:none}.topbar .message-alert,.topbar #message-alert-slot .btn{padding:7px;font-size:11px}.account-row{padding:14px}}

/* Excel roster review keeps editable shifts together on phones and desktops. */
dialog.roster-import-modal{width:min(1080px,calc(100vw - 28px))}.roster-import-rows{display:grid;gap:12px}.roster-import-row{background:white;border:1px solid var(--line);border-radius:12px;padding:16px}.roster-import-row .field{margin:8px 0}.roster-import-fields{display:grid;grid-template-columns:1.2fr 1.2fr .8fr .8fr 1.4fr;gap:12px}.roster-import-fields .field:last-child{grid-column:1/-1}.roster-import-row .error{margin:4px 0}@media(max-width:760px){.roster-import-fields{grid-template-columns:1fr 1fr}.roster-import-fields .field:last-child{grid-column:1/-1}}

/* Readable mobile fields prevent focus zoom; keep user-controlled pinch zoom available.
   Override compact field styles, while retaining larger note-title text. */
@media (max-width:800px), (pointer:coarse){
  input:not([type="checkbox"]):not([type="radio"]):not(.title),textarea,select{font-size:16px!important}
}
