:root{color:#18201b;background:#eef2ec;font-family:Avenir Next,Gill Sans,Trebuchet MS,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(90deg,rgba(24,32,27,.05) 1px,transparent 1px),linear-gradient(rgba(24,32,27,.04) 1px,transparent 1px),#eef2ec;background-size:32px 32px,32px 32px,auto}button,input,textarea{font:inherit}button{align-items:center;border:0;border-radius:8px;cursor:pointer;display:inline-flex;gap:.5rem;justify-content:center;min-height:2.75rem;padding:.7rem 1rem;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}button:disabled{cursor:not-allowed;opacity:.5}button:not(:disabled):hover{transform:translateY(-1px)}button svg{height:1.05rem;width:1.05rem}input,textarea{background:#fffdf7;border:1px solid rgba(24,32,27,.18);border-radius:8px;color:#18201b;min-width:0;outline:none;padding:.85rem .9rem;width:100%}textarea{line-height:1.5;resize:vertical}label{color:#526258;font-size:.78rem;font-weight:700;margin-top:1rem;text-transform:uppercase}h1,h2{font-family:Georgia,Times New Roman,serif;font-weight:700;letter-spacing:0;margin:0}h1{font-size:2.2rem}h2{font-size:1.45rem}.app-shell{display:grid;gap:1rem;grid-template-rows:auto 1fr;min-height:100vh;padding:1rem}.identity-panel,.auth-pane,.capture-pane,.timeline-pane,.editor-pane,.plan-gate{background:#fffdf7e6;border:1px solid rgba(24,32,27,.12);border-radius:8px;box-shadow:0 16px 50px #18201b14}.identity-panel{align-items:center;display:grid;gap:1rem;grid-template-columns:auto 1fr auto;padding:1rem}.brand-mark{align-items:center;background:#18201b;border-radius:8px;color:#f5c84b;display:flex;font-weight:900;height:3rem;justify-content:center;width:3rem}.brand-mark.small{height:2.25rem;width:2.25rem}.eyebrow{color:#b7462d;font-size:.72rem;font-weight:800;letter-spacing:0;margin:0 0 .25rem;text-transform:uppercase}.auth-pane{align-items:center;display:grid;gap:2rem;grid-template-columns:minmax(0,1fr) minmax(18rem,26rem);min-height:65vh;padding:2rem}.auth-copy p:not(.eyebrow){color:#526258;font-size:1.05rem;line-height:1.6;max-width:34rem}.plan-gate{align-items:center;display:grid;gap:1rem;grid-template-columns:auto minmax(0,32rem);justify-content:center;min-height:65vh;padding:2rem}.plan-gate>svg{background:#18201b;border-radius:8px;color:#f5c84b;height:3.5rem;padding:.85rem;width:3.5rem}.plan-gate p:not(.eyebrow){color:#526258;line-height:1.6}.auth-form,.capture-pane form,.editor-pane,.addendum-form{display:flex;flex-direction:column}.input-row{display:flex;gap:.5rem}.input-row button,.icon-button{aspect-ratio:1;background:#18201b;color:#fffdf7;padding:0;width:2.75rem}.form-note,.muted{color:#526258}.config-note{align-items:center;background:#fff3df;border:1px solid rgba(183,70,45,.25);border-radius:8px;color:#70351f;display:flex;gap:.75rem;padding:1rem}.local-sync-note{align-items:center;background:#f5c84b29;border:1px solid rgba(214,157,24,.26);border-radius:8px;color:#6d5414;display:flex;font-size:.88rem;font-weight:700;gap:.6rem;line-height:1.4;margin-bottom:.85rem;padding:.75rem}.local-sync-note svg{flex:0 0 auto;height:1rem;width:1rem}.export-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.85rem}.export-row button,.import-button{background:#2f725b1a;color:#2f725b;min-height:2.5rem}.delivery-address{background:#18201b0f;border:1px solid rgba(47,114,91,.16);border-radius:8px;color:#18201b;display:block;font-size:.86rem;font-weight:800;overflow-wrap:anywhere;padding:.75rem .85rem}.import-button{align-items:center;border-radius:8px;cursor:pointer;display:inline-flex;font-weight:700;gap:.5rem;justify-content:center;padding:.7rem 1rem}.import-button input{display:none}.workspace{display:grid;gap:1rem;grid-template-columns:minmax(18rem,.9fr) minmax(20rem,1.1fr) minmax(22rem,1.25fr);min-height:0}.desktop-workbench{display:grid;gap:1rem;grid-template-columns:14rem minmax(0,1fr);min-height:calc(100vh - 7.5rem)}.workspace-nav{align-self:start;background:#fffdf7eb;border:1px solid rgba(24,32,27,.12);border-radius:8px;box-shadow:0 16px 50px #18201b14;display:grid;gap:1rem;padding:.85rem;position:sticky;top:1rem}.nav-account{align-items:center;border-bottom:1px solid rgba(24,32,27,.1);display:grid;gap:.65rem;grid-template-columns:auto minmax(0,1fr);padding-bottom:.85rem}.nav-account strong,.nav-account span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nav-account strong{color:#18201b;font-size:.86rem}.nav-account span{color:#6b766e;font-size:.72rem;font-weight:800;text-transform:uppercase}.nav-items{display:grid;gap:.35rem}.nav-primary-action{background:#f5c84b;color:#18201b;font-weight:900;min-height:2.65rem;width:100%}.nav-item{background:transparent;color:#526258;justify-content:flex-start;min-height:2.45rem;padding:.55rem .65rem;width:100%}.nav-item.is-active{background:#18201b;color:#fffdf7}.nav-item.is-active svg{color:#f5c84b}.desktop-main{min-width:0}.desktop-view{display:grid;gap:1rem;min-width:0}.view-hero{align-items:center;background:#18201b;border-radius:8px;color:#fffdf7;display:grid;gap:1rem;grid-template-columns:minmax(0,1fr) auto;min-height:9rem;padding:1.25rem}.view-hero .eyebrow{color:#f5c84b}.view-hero h2{color:#fffdf7;font-size:2rem}.view-hero p{color:#fffdf7bf;line-height:1.55;margin:.45rem 0 0;max-width:48rem}.view-hero button{background:#f5c84b;color:#18201b;font-weight:900}.view-hero>svg{color:#f5c84b;height:2rem;width:2rem}.compact-hero{min-height:7rem}.dashboard-grid,.settings-grid{display:grid;gap:1rem;grid-template-columns:minmax(0,1.6fr) minmax(19rem,.8fr)}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.work-panel,.index-panel,.detail-panel{background:#fffdf7e6;border:1px solid rgba(24,32,27,.12);border-radius:8px;box-shadow:0 16px 50px #18201b14;min-width:0;padding:1rem}.wide-panel{grid-column:span 2}.panel-title{align-items:center;color:#2f725b;display:flex;font-size:.82rem;font-weight:900;gap:.5rem;text-transform:uppercase}.panel-title svg{height:1rem;width:1rem}.secondary-title{border-top:1px solid rgba(24,32,27,.1);margin-top:1rem;padding-top:1rem}.empty-state{border:1px dashed rgba(24,32,27,.18);border-radius:8px;color:#526258;padding:1rem}.empty-state h3{color:#18201b;font-family:Georgia,Times New Roman,serif;font-size:1.25rem;margin:0}.brief-section{display:grid;gap:.75rem;margin-top:1rem}.brief-section h3{color:#18201b;font-size:.95rem;margin:0;text-transform:uppercase}.brief-card-grid{display:grid;gap:.75rem;grid-template-columns:repeat(2,minmax(0,1fr))}.brief-card{background:#fffdf7;border:1px solid rgba(24,32,27,.12);border-radius:8px;display:grid;gap:.55rem;padding:.9rem}.brief-card h4,.brief-card p{margin:0}.brief-card h4{color:#18201b;font-size:1rem}.brief-card p,.brief-card small{color:#526258;line-height:1.45}.card-kicker,.status-strip{align-items:center;color:#2f725b;display:flex;font-size:.72rem;font-weight:900;gap:.45rem;text-transform:uppercase}.status-strip{flex-wrap:wrap;margin-bottom:.5rem}.status-strip span{background:#2f725b1a;border-radius:999px;padding:.35rem .6rem}.inline-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.3rem}.inline-actions button{background:#2f725b1a;color:#2f725b;min-height:2.25rem;padding:.45rem .7rem}.split-view{grid-template-columns:minmax(17rem,.75fr) minmax(0,1.45fr)}.index-panel,.detail-panel{min-height:35rem}.record-list,.quick-create,.setting-list{display:grid;gap:.55rem}.quick-create{border-bottom:1px solid rgba(24,32,27,.1);margin-bottom:.8rem;padding-bottom:.8rem}.quick-create button{background:#2f725b;color:#fffdf7}.record-row{align-items:center;background:#fffdf7;border:1px solid rgba(24,32,27,.12);color:#18201b;display:grid;grid-template-columns:auto minmax(0,1fr);justify-content:start;min-height:4rem;padding:.75rem;text-align:left;width:100%}.record-row span{display:grid;gap:.15rem;min-width:0}.record-row strong,.record-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-row small{color:#6b766e}.record-row.is-selected{background:#f5c84b;border-color:#d69d18}.two-column-form{display:grid;gap:.85rem;grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-panel{border-top:1px solid rgba(24,32,27,.12);display:grid;gap:.75rem;margin-top:1rem;padding-top:1rem}.analysis-panel p,.analysis-panel small{color:#526258;line-height:1.5;margin:0}.score-grid{display:grid;gap:.5rem;grid-template-columns:repeat(4,minmax(0,1fr))}.score-grid span{background:#2f725b14;border-radius:8px;color:#526258;display:grid;font-size:.72rem;gap:.2rem;padding:.65rem}.score-grid strong{color:#18201b;font-size:1rem}.chat-view{min-height:calc(100vh - 9rem)}.chat-surface{background:#fffdf7e6;border:1px solid rgba(24,32,27,.12);border-radius:8px;box-shadow:0 16px 50px #18201b14;display:grid;grid-template-rows:minmax(22rem,1fr) auto;min-height:32rem;overflow:hidden}.message-list{align-content:start;display:grid;gap:.8rem;overflow:auto;padding:1rem}.message-bubble{border-radius:8px;display:grid;gap:.35rem;max-width:min(56rem,78%);padding:.85rem 1rem}.message-bubble strong{color:#2f725b;font-size:.72rem;text-transform:uppercase}.message-bubble p{line-height:1.55;margin:0;white-space:pre-wrap}.user-message{background:#f5c84b40;justify-self:end}.ai-message{background:#2f725b1a;justify-self:start}.chat-composer{align-items:end;border-top:1px solid rgba(24,32,27,.12);display:grid;gap:.75rem;grid-template-columns:minmax(0,1fr) auto;padding:1rem}.setting-row{align-items:center;display:flex;gap:1rem;justify-content:space-between}.setting-row span{color:#6b766e;font-size:.82rem;font-weight:800}.setting-row strong{color:#18201b;font-size:.9rem;min-width:0;overflow-wrap:anywhere;text-align:right}.danger-button{background:#b7462d1f;color:#b7462d;font-weight:900}.capture-pane,.timeline-pane,.editor-pane{min-height:35rem;padding:1rem}.pane-heading{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.pane-heading>svg{color:#2f725b}.compact-heading{margin-bottom:.6rem;margin-top:1rem}.utility-panel{border-top:1px solid rgba(24,32,27,.1);margin-top:1rem;padding-top:1rem}.mini-list{display:grid;gap:.45rem;margin-top:.7rem}.mini-list-item{background:#2f725b14;border-radius:8px;display:grid;gap:.2rem;padding:.65rem .75rem}.mini-list-item strong{color:#18201b;font-size:.86rem}.mini-list-item span{color:#6b766e;font-size:.76rem;font-weight:700}.capture-pane button[type=submit],.auth-form button[type=submit]{background:#2f725b;color:#fffdf7;margin-top:.75rem}.timeline-list{display:grid;gap:.6rem}.timeline-search{margin-bottom:.8rem}.saved-filter-row{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.8rem}.saved-filter-row button{background:#18201b14;color:#526258;min-height:2.25rem;padding:.45rem .7rem}.timeline-group{color:#6b766e;font-size:.72rem;font-weight:800;letter-spacing:0;margin:.4rem 0 0;text-transform:uppercase}.timeline-item{align-items:center;background:#fffdf7;border:1px solid rgba(24,32,27,.12);color:#18201b;display:grid;grid-template-columns:auto 1fr;justify-content:start;min-height:4.5rem;padding:.8rem;text-align:left;width:100%}.timeline-item span{display:grid;gap:.15rem}.timeline-item small{color:#6b766e}.timeline-item.is-selected{background:#f5c84b;border-color:#d69d18}.addendum-item{border-style:dashed}.attachments-panel{border-top:1px solid rgba(24,32,27,.12);display:grid;gap:.6rem;margin-top:1rem;padding-top:1rem}.attachment-list{display:grid;gap:.5rem}.attachment-item{align-items:center;background:#fffdf7;border:1px solid rgba(24,32,27,.12);color:#18201b;display:grid;grid-template-columns:auto 1fr auto;justify-content:start;min-height:3.5rem;padding:.65rem .75rem;text-align:left;width:100%}.attachment-item span{display:grid;gap:.12rem}.attachment-item small{color:#6b766e}.button-cluster{display:flex;gap:.5rem}.metric-panel,.admin-panel{border-top:1px solid rgba(24,32,27,.12);display:grid;gap:.75rem;margin-top:1rem;padding-top:1rem}.metric-heading{align-items:center;color:#2f725b;display:flex;font-weight:800;gap:.5rem}.metric-heading svg{height:1rem;width:1rem}.metric-grid{display:grid;gap:.5rem;grid-template-columns:repeat(3,minmax(0,1fr))}.metric-grid span{background:#2f725b14;border-radius:8px;color:#526258;display:grid;font-size:.72rem;gap:.15rem;padding:.7rem}.metric-grid strong{color:#18201b;font-size:1rem}.admin-users{display:grid;gap:.45rem}.admin-user-row{align-items:center;display:grid;gap:.45rem;grid-template-columns:auto minmax(0,1fr) auto auto}.admin-user-row svg{color:#6b766e;height:1rem;width:1rem}.admin-user-row span{color:#526258;font-size:.78rem;overflow:hidden;text-overflow:ellipsis}.admin-user-row select{background:#fffdf7;border:1px solid rgba(24,32,27,.14);border-radius:8px;color:#18201b;min-height:2rem}.source-note{color:#6b766e;font-size:.78rem;font-weight:700;margin:.8rem 0 0}.toggle-row{display:flex;gap:1rem;margin-top:.85rem}.toggle-row label{align-items:center;display:flex;gap:.45rem;margin:0;text-transform:none}.toggle-row input{width:auto}.danger{background:#b7462d}.empty-editor{justify-content:center}.error-text{color:#b7462d;font-weight:700}@media(max-width:1100px){.desktop-workbench,.dashboard-grid,.settings-grid,.split-view{grid-template-columns:1fr}.workspace-nav{position:static}.nav-items{grid-template-columns:repeat(3,minmax(0,1fr))}.nav-primary-action{justify-self:start;max-width:14rem}.wide-panel{grid-column:auto}.brief-card-grid,.score-grid,.two-column-form,.workspace{grid-template-columns:1fr}.capture-pane,.timeline-pane,.editor-pane{min-height:auto}}@media(max-width:720px){.app-shell{padding:.5rem}.view-hero,.chat-composer{grid-template-columns:1fr}.nav-items{grid-template-columns:1fr 1fr}.nav-primary-action{max-width:none}.message-bubble{max-width:100%}.auth-pane{grid-template-columns:1fr;padding:1rem}.input-row{flex-direction:column}.input-row button{aspect-ratio:auto;width:100%}}
