
:root{--paper:#f5f5f0;--surface:#fff;--ink:#20382f;--muted:#778078;--line:#e1e5db;--green:#315846;--lime:#d7ec9e;--serif:Georgia,'Times New Roman',serif;--sans:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.6 var(--sans)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #6d8f47;outline-offset:4px}h1,h2,h3,p{margin-top:0}h1{font-family:var(--serif);font-weight:400;font-size:46px;line-height:1.15;letter-spacing:-1.8px;margin-bottom:14px}h2{font-size:20px;letter-spacing:-.5px}h3{font-size:17px}p{color:var(--muted)}[hidden]{display:none!important}.brand{display:flex;align-items:center;gap:9px;font-size:27px;letter-spacing:-1px;font-weight:600}.brand-dot{color:#8aa45e;margin-left:-7px}.mark{background:var(--ink);color:#e2efc0;border-radius:11px;font:italic 31px var(--serif);width:39px;height:42px;text-align:center;margin-right:3px}.pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:30px;padding:6px 12px;font-size:11px;color:var(--green);white-space:nowrap}.dot{width:6px;height:6px;background:#78a466;border-radius:50%}.eyebrow{font-size:10px;font-weight:650;letter-spacing:1.6px;color:#71866d;margin-bottom:17px}.primary,.secondary{border-radius:8px;padding:12px 20px;font-size:13px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:22px}.primary{background:var(--green);color:#fff;border:1px solid var(--green)}.primary:hover{background:#244534}.secondary{background:#fff;border:1px solid var(--line);color:var(--ink)}.secondary:hover{background:#f0f3e9}.full{width:100%;justify-content:space-between}.text-button{border:0;background:none;color:var(--green);font-weight:550;font-size:12px;white-space:nowrap}.notice{color:#986936;font-size:13px;min-height:0;margin-bottom:16px}.notice:empty{display:none}.muted,.helper{color:var(--muted);font-size:12px}.helper{display:block;margin-top:14px}.login-page{min-height:100vh;background:radial-gradient(ellipse at 5% 70%,#e9edde,transparent 55%),var(--paper);display:flex;flex-direction:column}.login-header{display:flex;align-items:center;justify-content:space-between;padding:38px 6%}.login-layout{max-width:1260px;width:100%;margin:auto;display:grid;grid-template-columns:1.45fr 1fr;gap:80px;padding:50px 6% 90px;align-items:center}.login-intro h1{font-size:57px;line-height:1.18;letter-spacing:-2px}.login-intro em{color:#6b815b;font-weight:400}.intro-copy{max-width:400px;font-size:16px;line-height:1.85}.module-chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:30px}.module-chips span{border:1px solid #d8dfd0;padding:8px 12px;border-radius:6px;font-size:11px;color:#55684e;background:#ffffff55}.login-caption{font-size:11px;margin-top:55px}.login-card{background:#fff;border:1px solid #e1e5dc;border-radius:18px;padding:38px 32px;box-shadow:0 20px 60px #27362d08}.lock-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;background:#edf2e6;font-size:27px;margin-bottom:30px}.login-card h2{font-family:var(--serif);font-size:30px;font-weight:400;margin-bottom:10px}.login-card>p:not(.eyebrow){font-size:13px}.login-card .primary{margin-top:17px}.login-card .notice{margin-top:15px}.login-divider{border-top:1px solid var(--line);margin:28px 0 20px}.security-note{font-size:11px!important;line-height:1.8;margin:0}.login-footer{padding:24px 6%;display:flex;justify-content:space-between;border-top:1px solid var(--line);font-size:9px;letter-spacing:1px;color:#8c9488}.workspace{display:flex}.sidebar{width:235px;position:fixed;inset:0 auto 0 0;background:#eff1e9;border-right:1px solid var(--line);padding:31px 22px;display:flex;flex-direction:column}.sidebar .brand{margin:0 8px 46px}.sidebar-label{font-size:9px;letter-spacing:1.5px;margin:0 14px 12px;color:#8c9587}.nav-item{display:flex;align-items:center;gap:14px;width:100%;padding:11px 14px;margin:4px 0;border:0;border-radius:7px;color:#687564;background:none;text-align:left;font-size:12px}.nav-item>span{font-size:18px;width:20px}.nav-item.active{background:#dce5ce;color:#29482f;font-weight:650}.nav-item:hover{background:#e4eadb}.nav-rule{height:1px;background:var(--line);margin:20px 12px}.sidebar-bottom{display:flex;align-items:center;gap:10px;margin-top:auto;border-top:1px solid #dce1d5;padding:21px 4px 0}.owner-avatar{display:grid;place-items:center;background:#dce5ce;border-radius:50%;width:32px;height:32px;font-size:12px}.sidebar-bottom strong{font-size:11px;display:block}.sidebar-bottom small{display:block;font-size:9px;color:var(--muted)}.icon-button{background:none;border:0;padding:5px 8px;color:var(--muted);font-size:22px}.sidebar-bottom .icon-button{margin-left:auto}.main{margin-left:235px;min-width:0;flex:1;min-height:100vh;display:flex;flex-direction:column}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 43px;font-size:11px}.breadcrumb{font-size:9px;color:#90988a;letter-spacing:1px}.slash{color:#bac1b5;margin:0 16px}.content{padding:42px 43px;max-width:1450px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.page-heading .eyebrow{margin-bottom:10px}.page-heading h1{font-size:42px}.page-heading p:last-child{font-size:12px;margin:0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:30px 0 42px}.stat{padding:21px;background:white;border:1px solid var(--line);border-radius:10px}.stat>span{color:#6e7b68;font-size:10px;display:block}.stat strong{display:block;font-size:29px;letter-spacing:-1px;font-weight:500;margin:12px 0}.stat small{font-size:9px;color:#8a9584}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.section-heading h2{font-size:16px;margin:0}.section-heading>span{font-size:10px;color:var(--muted)}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.module-card{text-align:left;border:1px solid var(--line);border-radius:12px;background:#fff;padding:23px;position:relative;color:var(--ink);transition:transform .15s}.module-card:hover{transform:translateY(-3px)}.module-icon{display:grid;place-items:center;font-size:25px;width:44px;height:44px;border-radius:11px;background:#edf2e6;margin-bottom:22px}.gold .module-icon{background:#f2e9d4;color:#a98240}.travel .module-icon{background:#e4eee7;color:#4b7865}.cards .module-icon{background:#e9e8f0;color:#77708f}.module-tag{position:absolute;top:37px;right:20px;font-size:8px;letter-spacing:1px;color:#8a9483}.module-card h3{font:26px var(--serif);margin:0 0 13px}.module-card p{font-size:11px;line-height:1.9;min-height:62px}.module-link{border-top:1px solid #ecefe6;padding-top:16px;display:flex;justify-content:space-between;font-size:11px}.module-link b{font-size:17px;font-weight:400}.quiet-banner{display:flex;align-items:center;gap:20px;margin-top:28px;background:#eaf0df;border:1px solid #dce5ce;border-radius:10px;padding:23px}.spark{font-size:30px;color:#6c8551}.quiet-banner h3{font-size:13px;margin-bottom:5px}.quiet-banner p{font-size:11px;margin:0;max-width:600px}.quiet-banner .text-button{margin-left:auto}.workspace-footer{display:flex;justify-content:space-between;padding:22px 43px;border-top:1px solid var(--line);font-size:9px;color:#969e91;letter-spacing:.7px}.table-panel,.panel{background:white;border:1px solid var(--line);border-radius:11px}.table-toolbar{display:flex;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line);font-size:12px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#829079;font-weight:500;background:#fafbf7;padding:13px 20px}td{font-size:12px;padding:17px 20px;border-top:1px solid #edf0e7}td:first-child{font-weight:550}td button{font-size:11px;border:0;background:none;color:var(--green);padding:5px}.badge{font-size:10px;background:#edf2e5;border-radius:20px;padding:5px 9px}.empty{text-align:center;padding:55px 20px}.empty-icon{display:block;color:#9dab8d;font-size:35px}.empty h3{font-family:var(--serif);font-weight:400;font-size:25px;margin:10px}.empty p{font-size:12px}.security-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.panel{padding:27px}.panel p{font-size:12px}.panel h2{font-size:18px}.panel ul{padding-left:20px;font-size:12px;margin-bottom:22px}.status-line{color:var(--green);font-size:13px}.chat-layout{display:grid;grid-template-columns:210px 1fr;min-height:540px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.chat-list{border-right:1px solid var(--line);background:#fafbf7;padding:20px 14px}.chat-list h3{font-size:11px;margin:0 8px 20px}.chat-list button{display:block;border:0;background:transparent;text-align:left;padding:10px;border-radius:7px;width:100%;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-list button.selected{background:#e7edde;color:var(--ink)}.chat-panel{display:flex;flex-direction:column;min-width:0}.messages{flex:1;height:440px;overflow-y:auto;padding:25px;display:flex;flex-direction:column;gap:20px}.bubble{white-space:pre-wrap;overflow-wrap:anywhere;max-width:90%;font-size:13px;padding:15px 18px;border-radius:12px;align-self:flex-start;background:#f2f5ed}.bubble.user{align-self:flex-end;background:#e1ebd4}.bubble.pending{color:var(--muted)}#chat-form{padding:15px 20px;border-top:1px solid var(--line)}textarea{resize:vertical}#chat-input{border:0;width:100%;padding:8px;background:transparent;min-height:62px;max-height:170px;color:var(--ink)}.composer-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center}.composer-bottom small{font-size:9px;color:var(--muted)}.composer-bottom .primary{padding:8px 17px}dialog{border:1px solid var(--line);border-radius:16px;padding:28px;width:min(620px,calc(100% - 30px));max-height:90vh;color:var(--ink);box-shadow:0 25px 100px #0f251d33}dialog::backdrop{background:#15241b70;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between}.dialog-heading h2{font:29px var(--serif)}.dialog-heading .eyebrow{font-size:8px;margin-bottom:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.field{display:flex;flex-direction:column;font-size:11px;gap:6px}.field input,.field select{border:1px solid #d8dfd1;background:#fafbf8;border-radius:7px;padding:11px;min-width:0;color:var(--ink);width:100%}.field:first-child{grid-column:1/-1}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:25px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.content{padding-top:60px}}@media(max-width:1100px){.sidebar{width:205px;padding:26px 15px}.main{margin-left:205px}.content{padding:30px 25px}.topbar{padding:0 25px}.module-card{padding:18px}.module-tag{display:none}.stat{padding:16px}.stat strong{font-size:24px}.quiet-banner{flex-wrap:wrap}.quiet-banner .text-button{margin-left:48px}.login-layout{gap:40px}.login-intro h1{font-size:45px}}@media(max-width:800px){.sidebar{position:static;width:100%;padding:16px 20px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{margin:0 0 17px;font-size:22px}.sidebar .mark{width:31px;height:34px;font-size:25px}.sidebar-label,.sidebar-bottom,.nav-rule{display:none}.sidebar nav{display:flex;gap:6px;overflow-x:auto}.nav-item{white-space:nowrap;width:auto;flex-shrink:0;padding:7px 10px;font-size:11px}.nav-item>span{display:none}.workspace{display:block}.main{margin-left:0}.topbar{height:58px;padding:0 22px}.content{padding:28px 22px}.page-heading h1{font-size:35px}.stats{grid-template-columns:1fr 1fr;margin:25px 0 30px}.module-grid{grid-template-columns:1fr}.module-card{padding:22px}.module-card p{min-height:0}.module-icon{margin-bottom:15px}.module-tag{display:block}.quiet-banner{margin-bottom:10px}.security-grid{grid-template-columns:1fr}.chat-layout{grid-template-columns:1fr}.chat-list{border-right:0;border-bottom:1px solid var(--line);padding:10px}.chat-list h3{display:none}#conversation-list{display:flex;overflow-x:auto;gap:8px}.chat-list button{min-width:140px;max-width:200px}.messages{height:360px}.workspace-footer{padding:20px 22px;font-size:8px}.login-layout{grid-template-columns:1fr;padding:35px 7% 60px;gap:36px;max-width:600px}.login-header{padding:25px 7%}.login-intro h1{font-size:40px}.login-caption{display:none}.login-card{padding:28px}.module-chips{margin-top:20px}.login-footer{font-size:8px}.page-heading{align-items:flex-start}.page-heading>.primary,.page-heading>.secondary{padding:10px 13px;white-space:nowrap;font-size:11px}.table-toolbar{flex-wrap:wrap;gap:6px}.form-grid{grid-template-columns:1fr}.section-heading>span{display:none}.quiet-banner .text-button{margin-left:0}.composer-bottom small{max-width:160px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.sort-header{border:0;background:transparent;color:inherit;font:inherit;text-transform:inherit;letter-spacing:inherit;padding:6px 0;text-align:left;white-space:nowrap}.sort-header:hover{color:var(--green);text-decoration:underline}

#purchase-dashboard,#gmail-connections,#costco-pending-bottom{margin-bottom:24px}summary{cursor:pointer;font-weight:600}.gmail-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.gmail-row span{overflow-wrap:anywhere}.email-excerpt{max-height:150px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.mini-table{margin-top:14px}.mini-table th,.mini-table td{padding:10px 12px}.mini-table td:first-child{font-weight:550}.mini-table td:nth-child(2){white-space:normal;overflow-wrap:anywhere;min-width:190px}
.gmail-table-wrap{margin:14px 22px 18px}.gmail-table td:nth-child(2){white-space:normal;overflow-wrap:anywhere;min-width:210px}.gmail-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.gmail-actions .secondary{padding:9px 12px}.gmail-review-card{margin:14px 22px}

@media(max-width:800px){
 body.workspace{display:block;overflow-x:hidden;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)}
 .sidebar{position:sticky;top:0;z-index:20;padding:12px 14px 10px;background:#eff1e9cc;backdrop-filter:blur(10px)}
 .sidebar .brand{margin:0 0 10px;font-size:20px}
 .sidebar nav{padding-bottom:3px;scrollbar-width:none}.sidebar nav::-webkit-scrollbar{display:none}
 .nav-item{min-height:38px;padding:8px 12px;border:1px solid transparent}.nav-item.active{border-color:#cbd9bd}
 .topbar{height:auto;min-height:48px;padding:10px 16px;gap:10px}.topbar>div{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .pill{padding:5px 9px;font-size:10px}
 .content{padding:22px 14px 28px;max-width:100vw;overflow:hidden}.page-heading{flex-direction:column;align-items:stretch;gap:14px;margin-bottom:20px}.page-heading h1{font-size:32px;line-height:1.08;margin-bottom:8px}.page-heading p:last-child{line-height:1.55}.page-heading>.primary,.page-heading>.secondary{width:100%;justify-content:center;min-height:44px;font-size:12px}
 .stats{grid-template-columns:1fr;gap:10px}.stat{padding:16px}.stat strong{font-size:27px;margin:8px 0}
 .table-panel{margin-left:-6px;margin-right:-6px;border-radius:10px}.table-toolbar{padding:14px 16px}.table-scroll{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;position:relative}.table-scroll::after{content:'Swipe table →';position:sticky;right:8px;bottom:8px;float:right;display:inline-block;background:#eef4e5cc;border:1px solid #d8e3cb;border-radius:999px;color:#496440;font-size:10px;padding:4px 8px;margin:8px;pointer-events:none}th,td{padding:12px 14px}td{vertical-align:top}td button{display:inline-flex;min-height:34px;align-items:center;margin:2px 4px 2px 0;padding:6px 8px;border-radius:7px;background:#f3f6ee}.sort-header{padding:8px 0;min-height:34px}
 #purchase-dashboard,#gmail-connections,#costco-pending-bottom{margin-left:-6px;margin-right:-6px;margin-bottom:18px}.mini-table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}.gmail-row{align-items:flex-start}.gmail-row .secondary,.gmail-row .primary,.gmail-row button{min-height:40px}
 dialog{width:calc(100% - 20px);padding:20px;border-radius:14px}.dialog-heading{gap:12px}.dialog-heading h2{font-size:25px}.dialog-actions{position:sticky;bottom:-20px;background:#fff;border-top:1px solid var(--line);padding-top:12px;flex-direction:column-reverse}.dialog-actions .primary,.dialog-actions .secondary{width:100%;justify-content:center;min-height:44px}.field input,.field select{min-height:44px;font-size:16px}
 .chat-layout{min-height:calc(100vh - 230px)}.messages{height:calc(100vh - 360px);min-height:300px;padding:16px}.bubble{max-width:96%;font-size:13px}.composer-bottom{align-items:flex-end}.composer-bottom small{max-width:190px}.workspace-footer{display:none}
}
@media(max-width:430px){
 .content{padding-left:12px;padding-right:12px}.topbar{padding-left:12px;padding-right:12px}.page-heading h1{font-size:30px}.brand{letter-spacing:-.6px}.login-intro h1{font-size:34px}.login-card{padding:24px 20px}.login-header{align-items:flex-start;gap:10px}.login-footer{flex-direction:column;gap:6px}.stats{margin-top:16px}.quiet-banner{padding:18px;align-items:flex-start}.quiet-banner .spark{font-size:24px}.module-card{padding:18px}.table-toolbar{font-size:11px}th{font-size:8px}td{font-size:11px}.panel{padding:20px}.security-grid{gap:14px}
}

#purchase-dashboard details,#costco-pending-bottom details,#gmail-connections details,#records-panel{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:24px}
#purchase-dashboard details>summary,#costco-pending-bottom details>summary,#gmail-connections details>summary,#records-panel>summary{list-style:none;cursor:pointer;padding:18px 22px;font-weight:650;display:flex;align-items:center;gap:10px;line-height:1.35}
#purchase-dashboard details>summary::-webkit-details-marker,#costco-pending-bottom details>summary::-webkit-details-marker,#gmail-connections details>summary::-webkit-details-marker,#records-panel>summary::-webkit-details-marker{display:none}
#purchase-dashboard details>summary::before,#costco-pending-bottom details>summary::before,#gmail-connections details>summary::before,#records-panel>summary::before{content:'▶';display:inline-block;flex:0 0 auto;font-size:11px;transition:transform .15s;line-height:1}
#purchase-dashboard details[open]>summary::before,#costco-pending-bottom details[open]>summary::before,#gmail-connections details[open]>summary::before,#records-panel[open]>summary::before{transform:rotate(90deg)}
#purchase-dashboard details[open]>summary,#costco-pending-bottom details[open]>summary,#gmail-connections details[open]>summary,#records-panel[open]>summary{border-bottom:1px solid var(--line)}
.table-panel-body{background:white}
@media(max-width:800px){#purchase-dashboard details,#costco-pending-bottom details,#gmail-connections details,#records-panel{border-radius:10px;margin-bottom:18px}#purchase-dashboard details>summary,#costco-pending-bottom details>summary,#gmail-connections details>summary,#records-panel>summary{padding:16px;font-size:14px}.table-panel-body{overflow:hidden}.gmail-table-wrap,.gmail-review-card{margin:12px 14px}.gmail-table-wrap{overflow:visible}.gmail-table{display:block;white-space:normal}.gmail-table thead{display:none}.gmail-table tbody{display:grid;gap:12px}.gmail-table tr{display:block;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}.gmail-table td{display:grid;grid-template-columns:76px 1fr;gap:10px;align-items:start;border-top:1px solid #edf0e7;padding:10px 12px;white-space:normal;overflow-wrap:anywhere}.gmail-table td:first-child{border-top:0}.gmail-table td::before{content:attr(data-label);font-size:9px;text-transform:uppercase;letter-spacing:.8px;color:#829079;font-weight:600}.gmail-table td:nth-child(2){min-width:0}.gmail-actions{min-width:0;display:flex;align-items:center}.gmail-actions::before{align-self:center}.gmail-actions .secondary,.gmail-actions .text-button{min-height:40px}.gmail-actions .secondary{flex:1 1 120px}.gmail-actions .text-button{flex:1 1 100px;background:#f3f6ee;border-radius:7px;padding:6px 8px}}
.vault-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.vault-actions button{min-height:42px}.vault-request{margin-bottom:20px;border-left:4px solid var(--green,#244c3a)}.vault-mask{font-size:24px;letter-spacing:4px}.vault-card h2,.vault-card p,.vault-request h2{overflow-wrap:anywhere}#vault-dialog .field{min-width:0}#vault-dialog .notice{overflow-wrap:anywhere}
@media(max-width:600px){.vault-actions{flex-direction:column}.vault-actions button{width:100%}#view-vault .page-heading{align-items:flex-start;gap:12px;flex-wrap:wrap}}
