@font-face{font-family:system;src:local('Inter'),local('Segoe UI')}*{box-sizing:border-box}body{margin:0;background:#f3f5f2;color:#1a302e;font-family:system,system-ui,sans-serif;font-size:15px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #90b46c;outline-offset:3px}button,.button{border:1px solid #d8dfd7;border-radius:10px;padding:11px 16px;background:white;color:#243b37;font-weight:600}button.primary{background:#213e37;color:white;border-color:#213e37}button.danger{color:#ac3434}input,textarea,select{width:100%;padding:12px;border:1px solid #ced9cd;border-radius:9px;background:#fff;color:#18352f}textarea{min-height:110px;resize:vertical}label{display:block;margin:15px 0 7px;font-weight:600}small,.muted{color:#66776e}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px}h2{font-size:23px}p{line-height:1.6}header{display:flex;align-items:center;justify-content:space-between;padding:22px 32px;border-bottom:1px solid #dce4da;background:white;gap:16px}.brand{display:flex;align-items:center;gap:12px;font-size:18px;font-weight:750}.brand img{width:38px}.brand small{display:block;font-size:10px;letter-spacing:2px;font-weight:500;margin-top:3px}.online{font-size:12px;display:flex;gap:7px;align-items:center}.dot{width:7px;height:7px;border-radius:50%;background:#70945b}.layout{display:grid;grid-template-columns:220px 1fr;min-height:calc(100vh - 85px)}nav{padding:28px 16px;border-right:1px solid #dce4da;background:#f9faf7;display:flex;flex-direction:column;gap:8px}nav button{text-align:left;background:transparent;border-color:transparent}nav button.active{background:#e1ebda;color:#294832}nav .bottom{margin-top:auto;padding-top:50px;font-size:12px;line-height:1.7}main{padding:36px;max-width:1350px;width:100%;margin:auto}.eyebrow{text-transform:uppercase;font-size:11px;letter-spacing:2px;color:#698065;font-weight:700;margin-bottom:10px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:26px 0}.stat{text-align:left;padding:18px 14px;border-radius:12px}.stat strong{display:block;font-size:28px;margin:10px 0}.stat.selected{border:2px solid #718f60;background:#eff5e9}.tools{display:flex;gap:12px;margin:22px 0}.tools input{flex:1}.tools select{width:175px}.tabs{display:flex;gap:12px;flex-wrap:wrap}.tabs button.selected{background:#223f37;color:white;border-color:#223f37}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{padding:0;overflow:hidden;background:white;border:1px solid #dce4d8;border-radius:15px;text-align:left;transition:transform .15s}.card:hover{transform:translateY(-3px)}.portrait{height:160px;background:#e7ece1;display:flex;align-items:center;justify-content:center;font-size:46px;color:#8a9b81;overflow:hidden}.portrait img{width:100%;height:100%;object-fit:cover}.card-body{padding:19px}.card h3{font-size:18px;margin:14px 0 8px}.card p{font-size:13px;color:#6a786e;margin-bottom:18px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:7px;padding:5px 8px;font-size:11px;font-weight:700}.lifetime{background:#f7e3df;color:#a33d36}.temporary{background:#f7edcf;color:#87620d}.pending{background:#eae2f7;color:#7550a2}.expired{background:#e9ecea;color:#607168}.card-foot{font-size:12px;border-top:1px solid #edf0ea;padding-top:13px}.empty{text-align:center;padding:65px 25px;background:white;border:1px dashed #cad7c4;border-radius:15px}.empty .symbol{font-size:46px;margin-bottom:18px}.panel{background:white;border:1px solid #dae3d5;border-radius:16px;padding:28px;margin-bottom:20px}.narrow{max-width:720px;margin:auto}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.gallery{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.gallery img{max-width:100%;width:230px;height:220px;object-fit:contain;background:#eef1e9;border-radius:10px}.gallery figure{margin:0}.gallery button{display:block;margin-top:6px;font-size:12px}.timeline{border-left:2px solid #d8e3cf;padding-left:22px}.timeline p{font-size:14px;white-space:pre-wrap}.timeline small{display:block;margin-bottom:5px}.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-aside{background:#142d2b;color:#fff;padding:65px;display:flex;flex-direction:column;justify-content:center}.auth-aside h1{font-size:52px;max-width:500px;line-height:1.1;margin-top:65px}.auth-aside p{color:#c4d0c5;max-width:430px}.auth-aside .brand{color:white}.auth-main{display:flex;align-items:center;justify-content:center;padding:35px}.auth-form{max-width:410px;width:100%}.auth-form button{width:100%;margin-top:15px}.hint{padding:13px;background:#edf3e7;border-radius:10px;color:#526d49;font-size:13px;line-height:1.5}.error{color:#a13a32;font-size:14px;min-height:20px;margin-top:12px}.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.pre{white-space:pre-wrap;overflow-wrap:anywhere}.recovery{font-family:monospace;padding:20px;background:#eef2e8;user-select:all;word-break:break-all}.notice{border-left:3px solid #a3bd80;padding-left:16px;margin:20px 0}.notification{padding:18px 0;border-bottom:1px solid #e5ebdf}.unread{font-weight:700}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#203d33;color:white;padding:14px 22px;border-radius:12px;display:none;z-index:10;max-width:90vw}.summary{color:#6f7f6a;margin:18px 0;font-size:13px}details{margin:14px 0}summary{cursor:pointer;font-weight:650}footer{margin-top:30px;color:#7b8976;font-size:12px}.secure-mark{display:flex;gap:8px;align-items:center;color:#819c76;font-size:12px;margin-top:28px}@media(min-width:1600px){.cards{grid-template-columns:repeat(4,1fr)}}@media(max-width:1050px){.stats{grid-template-columns:repeat(3,1fr)}.cards{grid-template-columns:repeat(2,1fr)}main{padding:25px}.layout{grid-template-columns:180px 1fr}.auth-aside{padding:40px}.auth-aside h1{font-size:40px}}@media(max-width:680px){header{padding:14px 18px}.brand{font-size:16px}header .online{display:none}.layout{display:block}nav{flex-direction:row;overflow:auto;padding:10px;border-right:0;border-bottom:1px solid #dce4da}nav button{white-space:nowrap;font-size:12px;padding:10px}nav .bottom{display:none}main{padding:22px 16px}h1{font-size:28px}.stats{gap:7px}.stat{padding:13px 9px;font-size:11px}.stat strong{font-size:23px}.cards{grid-template-columns:1fr}.portrait{height:190px}.tools{flex-wrap:wrap}.tools input{min-width:100%}.tools select{width:100%}.grid2{grid-template-columns:1fr;gap:0}.panel{padding:20px}.auth{display:block}.auth-aside{padding:28px}.auth-aside h1{font-size:30px;margin-top:30px}.auth-aside p{margin-bottom:0}.auth-main{padding:28px}.gallery img{width:100%}.row>button{font-size:13px}.auth-aside .eyebrow{display:none}}
dialog.credential-dialog{width:min(92vw,480px);max-height:90vh;overflow:auto}dialog::backdrop{background:rgba(15,35,30,.65)}

.intake-wrap{max-width:1100px;margin:auto}.intake-columns{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:20px;align-items:start}.intake-choice{margin-top:28px}.intake-choice button{text-align:left;display:flex;flex-direction:column;gap:16px}.intake-choice strong{font-size:21px}.intake-choice span{font-weight:400;line-height:1.6}.ai-messages{max-height:360px;overflow:auto}.ai-message{padding:14px;border-radius:12px;margin-bottom:12px;background:#eef3e9}.ai-message.user{background:#e5eeec}.ai-message p{margin:8px 0 0}.ai-fields{margin:0 0 24px}.ai-fields dt{font-size:12px;color:#66776e;margin-top:15px}.ai-fields dd{margin:5px 0 0}.ai-preview{position:sticky;top:20px}.ai-images figure{width:100%}.ai-images img{max-height:180px}.ai-images small{display:block;overflow-wrap:anywhere}.ai-keep{font-size:12px;display:flex;gap:8px;align-items:center}.ai-keep input{width:auto}.ai-preview button{width:100%;margin-bottom:12px}@media(max-width:900px){.intake-columns{grid-template-columns:1fr}.ai-preview{position:static}}

/* Compact account sign-in */
.auth.auth-simple{display:flex;justify-content:center;align-items:center;min-height:100dvh}.auth-simple .auth-main{width:100%;padding:32px 24px}.auth-simple .brand{margin-bottom:28px}.auth-simple .auth-form h2{margin-bottom:24px}

/* Subtle green pattern on account screens only */
.auth.auth-simple{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:radial-gradient(ellipse at 0% 0%,rgba(113,143,96,.16),transparent 57%),radial-gradient(ellipse at 100% 100%,rgba(33,62,55,.12),transparent 55%),#f3f5f2;
}
.auth-simple::before,.auth-simple::after{
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  width:clamp(280px,47vw,680px);
  aspect-ratio:1;
  border-radius:50%;
  background:repeating-radial-gradient(circle,transparent 0 29px,rgba(65,104,78,.12) 30px 31px,transparent 32px 58px);
}
.auth-simple::before{left:-17%;top:-26%}
.auth-simple::after{right:-19%;bottom:-32%;opacity:.65}
.auth-simple .auth-form{
  max-width:474px;
  padding:32px;
  border:1px solid rgba(255,255,255,.86);
  border-radius:22px;
  background:rgba(250,252,248,.95);
  box-shadow:0 14px 48px rgba(30,61,44,.06);
}
@media(max-width:520px){
  .auth-simple .auth-main{padding:28px 16px}
  .auth-simple .auth-form{padding:26px 20px;border-radius:18px}
  .auth-simple::before{left:-52%;top:-14%}
  .auth-simple::after{right:-55%;bottom:-16%}
}
