:root{--green:#155c3d;--green-dark:#103e2d;--green-soft:#eaf4ec;--ink:#203a2e;--muted:#6d7d73;--line:#e0e7df;--bg:#f5f7f1;--white:#fff;--amber:#98691f;--amber-bg:#fff7e4;--red:#a43636;--red-bg:#ffeded;--shadow:0 5px 24px #18332107}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:10px;padding:10px 15px;font-weight:650;color:var(--ink)}button:disabled{opacity:.55;cursor:not-allowed}button:hover:not(:disabled){filter:brightness(.97)}:focus-visible{outline:3px solid #8abdaa;outline-offset:3px}a{color:var(--green)}h1,h2,h3,p{margin:0 0 14px}h1{font-size:34px;line-height:1.2;letter-spacing:-1px}h2{font-size:23px;line-height:1.25;letter-spacing:-.45px}h3{font-size:18px;line-height:1.4}small,.help{font-size:12px;line-height:1.7;color:var(--muted)}.muted{color:var(--muted)}.primary{background:var(--green);border-color:var(--green);color:white}.soft{background:var(--green-soft);color:var(--green);border-color:#d1e3d5}.danger{color:var(--red);border-color:#e9c8c8}.quiet{background:transparent;border-color:transparent;padding:8px}.wide{width:100%}.eyebrow{display:block;color:var(--green);font-size:10px;font-weight:800;letter-spacing:1.8px;margin-bottom:8px}.inverse{color:#b3d7bd}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-size:29px;font-weight:750;letter-spacing:-1px;line-height:1.1}.brand-mark{display:grid;place-items:center;width:39px;height:43px;background:#c6dc85;border-radius:13px 13px 13px 3px;color:var(--green-dark);font-family:Georgia,serif;font-size:32px}.brand-small{display:block;letter-spacing:2px;font-size:9px;font-weight:500;margin-top:6px}.auth-shell{display:grid;grid-template-columns:.92fr 1.08fr;min-height:100vh}.auth-story{background:var(--green-dark);color:#fff;padding:55px max(40px,6vw);display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.auth-story .brand{margin-bottom:90px}.auth-story h1{font-size:64px;line-height:1.06;letter-spacing:-2.5px;margin:12px 0 26px}.auth-story p{max-width:380px;color:#c2d2c5;font-size:17px}.story-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px}.story-tags span{font-size:11px;border:1px solid #78918460;border-radius:25px;padding:7px 11px}.story-footer{margin-top:100px;font-size:10px;letter-spacing:1.5px;color:#9fbaa7}.story-footer span{display:block;margin-top:5px;letter-spacing:0}.auth-main{display:grid;place-items:center;padding:38px}.auth-card{width:100%;max-width:425px}.auth-card h2{font-size:34px;margin-bottom:10px}.tabs{display:flex;gap:6px;padding:5px;background:#eaf0e7;border-radius:12px;margin:26px 0 20px}.tabs button{flex:1;border:0;font-size:13px;background:transparent}.tabs button.selected{background:white;box-shadow:0 2px 6px #142d1310}label{display:block;font-size:13px;font-weight:600;margin-bottom:16px}input,select,textarea{display:block;width:100%;min-width:0;margin-top:6px;border:1px solid #d7e1d6;border-radius:9px;background:#fff;padding:11px 12px;color:var(--ink);font-size:16px}textarea{min-height:86px;resize:vertical}input[type=checkbox]{width:18px;height:18px;margin:2px 0;accent-color:var(--green);flex:0 0 18px}.check{display:flex;gap:10px;align-items:flex-start;font-weight:400;margin:13px 0}.notice{background:var(--amber-bg);color:#796332;border:1px solid #eee3c3;border-radius:10px;padding:12px 15px;font-size:12px;line-height:1.7;margin:20px 0}.error{padding:13px;border-radius:8px;background:var(--red-bg);color:var(--red);font-size:13px;margin:10px 0;white-space:pre-line}.shell{display:flex;min-height:100vh}.sidebar{width:230px;flex:0 0 230px;background:var(--green-dark);color:#fff;position:fixed;height:100vh;padding:31px 20px;display:flex;flex-direction:column}.sidebar .brand{padding:0 8px}.side-label{margin:53px 12px 12px;font-size:9px;letter-spacing:1.8px;color:#90aa97}.sidebar nav{display:grid;gap:5px}.nav-item{background:transparent;border:0;text-align:left;color:#cbdace;font-size:13px;padding:12px 13px;display:flex;align-items:center;gap:13px}.nav-item.active{background:#2e694c;color:white}.nav-icon{display:inline-block;width:20px;font-size:17px;text-align:center}.sidebar-bottom{margin-top:auto;color:#c7d8c7;font-size:11px;padding:20px 12px 0}.sidebar-bottom div{color:#90aa97;font-size:10px;margin-top:6px}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#c6dc85;margin-right:6px}.workspace{flex:1;min-width:0;margin-left:230px}.topbar{height:82px;padding:16px 36px;display:flex;justify-content:space-between;align-items:center;background:white;border-bottom:1px solid var(--line);gap:12px}.topbar .eyebrow{margin:0;font-size:9px}.topbar b{font-size:15px}.top-actions{display:flex;align-items:center;gap:13px;font-size:12px}.avatar{border-radius:50%;width:34px;height:34px;background:#e6ecdd;display:grid;place-items:center;color:var(--green);font-size:12px;font-weight:750}.count{background:var(--green-soft);border-radius:20px;padding:2px 7px;font-size:10px}.pilot-bar{background:#f3f0e3;color:#726943;padding:8px 36px;font-size:10px;line-height:1.6;border-bottom:1px solid #e7e4d6}.pilot-bar b{letter-spacing:1px;font-size:9px;margin-right:7px}#main{max-width:1460px;margin:0 auto;padding:34px 36px 80px;outline:none}.page-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:23px}.page-head p{font-size:13px;margin-bottom:0}.page-head h1{margin:0 0 8px;font-size:30px}.hero{background:var(--green);color:white;border-radius:18px;padding:31px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;overflow:hidden}.hero p{color:#cce0ce;font-size:13px;max-width:460px;margin:0}.hero h2{font-size:28px}.hero .eyebrow{color:#c5d985}.hero .soft{border:0;background:#d7e79c;color:var(--green-dark);white-space:nowrap}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0}.stat{background:white;border:1px solid var(--line);border-radius:13px;padding:19px;box-shadow:var(--shadow)}.stat small{font-size:11px}.stat b{display:block;font-size:28px;line-height:1.25;margin:10px 0 5px;font-weight:650;letter-spacing:-.5px}.stat span{font-size:10px;color:var(--muted)}.columns{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:23px;margin-bottom:20px;box-shadow:var(--shadow);min-width:0}.panel h3{margin-bottom:9px}.panel .subtitle{font-size:12px;color:var(--muted);margin-bottom:18px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.panel-head h3{margin:0}.grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.form-section{border:0;padding:0;margin:0 0 18px}.form-section legend{font-size:15px;font-weight:750;margin-bottom:14px}.full-width{grid-column:1/-1}.row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.card{border:1px solid var(--line);background:white;border-radius:14px;padding:20px;min-width:0}.card .eyebrow{font-size:9px;letter-spacing:1.3px}.card h3{margin:10px 0 9px}.card p{font-size:12px;line-height:1.65;color:var(--muted)}.badge{font-size:10px;font-weight:650;line-height:1.6;display:inline-block;border-radius:20px;padding:4px 9px;background:var(--green-soft);color:var(--green)}.badge.amber{color:var(--amber);background:var(--amber-bg)}.badge.red{color:var(--red);background:var(--red-bg)}.badge.gray{color:#67716a;background:#eef1eb}.mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0;padding:14px 0;border-top:1px solid #edf0e9;border-bottom:1px solid #edf0e9}.mini-grid small{display:block;font-size:10px}.mini-grid b{font-size:14px}.card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.card-actions button{font-size:12px;padding:8px 13px}.empty{text-align:center;padding:43px 22px;color:var(--muted);border:1px dashed #ccdaca;border-radius:13px;grid-column:1/-1;background:#fafcf7}.empty b{display:block;font-size:17px;color:var(--ink);margin-bottom:7px}.empty p{font-size:13px;max-width:460px;margin:0 auto 18px}.empty-symbol{display:block;font-size:29px;color:#7b9977;margin-bottom:12px}.field-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;border-bottom:1px solid #eef1ea}.field-line:last-child{border-bottom:0}.field-line b{font-size:13px}.field-line small{display:block;font-size:11px}.location-box{background:#edf5ed;border:1px solid #d7e6d7;border-radius:11px;padding:16px;font-size:12px;margin-bottom:20px}.location-box b{display:block;margin-bottom:4px}.filter-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0}.filter-row button{font-size:12px;border-radius:25px}.filter-row button.active{background:var(--green);color:white;border-color:var(--green)}.filter-row select{width:auto;margin:0;font-size:13px;padding:8px}.filter-row .check{margin:0 0 0 auto;font-size:11px}details{border-top:1px solid var(--line);margin-top:15px;padding-top:12px}summary{cursor:pointer;font-size:12px;font-weight:700;color:var(--green)}.rule{display:flex;gap:8px;padding:8px 0;border-bottom:1px solid #f0f2ec;font-size:11px}.rule-symbol{width:18px;flex:0 0 18px;font-weight:750}.rule.pass .rule-symbol{color:var(--green)}.rule.fail .rule-symbol{color:var(--red)}.rule.unknown .rule-symbol{color:var(--amber)}.help-block{font-size:11px;background:#f6f8f2;padding:12px;border-radius:8px;margin-top:12px;color:var(--muted)}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}td,th{border-bottom:1px solid var(--line);padding:12px 10px;text-align:left}th{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.8px}.checklist-item{padding:14px 0;display:flex;gap:13px;align-items:flex-start;border-bottom:1px solid #eff2e9}.checklist-item:last-child{border:0}.step-num{border-radius:50%;width:28px;height:28px;flex:0 0 28px;background:var(--green-soft);color:var(--green);display:grid;place-items:center;font-size:11px;font-weight:750}.checklist-item b{font-size:13px}.checklist-item p{font-size:11px;margin:3px 0;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:17px;width:min(690px,calc(100% - 24px));max-height:90vh;padding:25px;color:var(--ink);box-shadow:0 25px 100px #0e271b30}dialog::backdrop{background:#13261e80;backdrop-filter:blur(2px)}.modal-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:20px}.modal-heading h2{font-size:22px;margin:0}.toast{position:fixed;bottom:23px;right:25px;z-index:100;background:var(--green-dark);color:white;border-radius:12px;padding:13px 18px;max-width:min(450px,calc(100% - 30px));font-size:13px;box-shadow:0 7px 30px #0003}.loading{padding:60px;text-align:center;color:var(--muted)}[hidden]{display:none!important}code{font-size:11px;background:#e9efe5;padding:2px 4px;border-radius:3px}pre{white-space:pre-wrap;overflow-wrap:anywhere}.gap-top{margin-top:18px}
@media(min-width:1450px){.auth-story{padding-left:8vw}}
@media(max-width:1100px){.sidebar{width:204px;flex-basis:204px;padding:27px 14px}.workspace{margin-left:204px}.topbar{padding-left:24px;padding-right:24px}#main{padding:28px 24px 65px}.pilot-bar{padding-left:24px}.columns{grid-template-columns:1fr}.stat-grid{gap:10px}.stat{padding:15px}.auth-story h1{font-size:51px}}
@media(max-width:760px){.auth-shell{display:block}.auth-story{padding:25px 25px 27px}.auth-story .brand{margin-bottom:26px}.auth-story h1{font-size:34px;letter-spacing:-1px}.auth-story h1 br{display:none}.auth-story p{font-size:13px;max-width:none}.auth-story .story-tags,.story-footer{display:none}.auth-story .eyebrow{font-size:9px}.auth-main{padding:30px 22px}.auth-card h2{font-size:28px}.sidebar{position:static;width:100%;height:auto;padding:14px 17px 9px;display:block;flex-basis:auto}.shell{display:block}.sidebar .brand{font-size:22px;padding:0}.sidebar .brand-mark{width:31px;height:34px;font-size:26px}.sidebar .brand-small{font-size:7px}.side-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px;margin-top:16px;padding-bottom:4px}.nav-item{white-space:nowrap;flex:0 0 auto;font-size:11px;padding:9px 11px;gap:7px}.nav-icon{font-size:13px;width:15px}.workspace{margin:0}.topbar{height:65px;padding:12px 17px}.topbar b{font-size:13px}.top-actions{gap:7px}.top-actions .quiet{font-size:11px;padding:7px 4px}.topbar .eyebrow{font-size:8px}.avatar{display:none}.pilot-bar{padding:9px 17px;font-size:10px}#main{padding:23px 16px 50px}.page-head{align-items:flex-start;gap:10px}.page-head h1{font-size:25px}.page-head p{font-size:12px}.page-head button{font-size:12px;padding:8px 10px;flex:0 0 auto}.hero{padding:24px;display:block;border-radius:14px}.hero h2{font-size:25px}.hero .soft{margin-top:18px;font-size:12px}.hero p{font-size:12px}.stat-grid{grid-template-columns:1fr 1fr;gap:10px;margin:16px 0}.stat{padding:16px}.stat b{font-size:26px}.grid-two,.form-grid{grid-template-columns:1fr}.columns{gap:0}.panel{padding:19px;margin-bottom:16px;border-radius:13px}.card{padding:18px}.page-head .eyebrow{font-size:9px}.filter-row{gap:7px}.filter-row .check{margin:5px 0;width:100%}.filter-row button{font-size:11px;padding:8px 11px}.filter-row select{max-width:100%;font-size:13px}.full-width{grid-column:auto}.notice{margin:15px 0}dialog{padding:21px;max-height:88vh}.toast{bottom:17px;right:15px}.table-wrap table{min-width:590px}}

/* Group 01.1: eligibility rows and notification history */
.eligibility-checks{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-top:8px}
.eligibility-checks>.rule{display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;align-items:start;width:100%;font-size:13px;line-height:1.65;padding:12px 0}
.eligibility-checks .rule-symbol{width:20px;line-height:1.65}
.rule-content{min-width:0;overflow-wrap:anywhere}
.rule-content>b,.rule-content>.muted{display:block}
.rule-content>b{font-weight:600}
.rule-content>.muted{font-size:12px;margin-top:2px}
.scheme-notes{line-height:1.7;overflow-wrap:anywhere}
.missing-summary{background:var(--amber-bg);color:var(--amber)!important;border-radius:8px;padding:11px 12px;overflow-wrap:anywhere}
.notification-item{display:flex;align-items:flex-start;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}
.notification-item:last-child{border-bottom:0}
.notification-copy{flex:1;min-width:0;overflow-wrap:anywhere}
.notification-copy h3{font-size:15px;margin:0 0 12px}
.notification-status{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:12px}
.notification-copy .help{line-height:1.7}
.notification-copy>small{font-size:11px;display:block}
.notification-read{flex:0 0 auto;padding-top:5px}
.notification-history{margin-top:14px}
.notification-history .original-message{background:#f6f8f2;border-radius:8px;padding:12px}
@media(max-width:760px){.notification-item{display:block}.notification-read{margin-top:12px}.eligibility-checks>.rule{font-size:13px}.scheme-card .help-block{font-size:12px}.notification-status{align-items:flex-start}}
/* Group 02: source evidence and review */
.monitor-strip{display:flex;gap:20px;align-items:center;justify-content:space-between;padding:18px 22px;background:#edf5ed;border:1px solid var(--line);border-radius:13px;margin-bottom:18px;font-size:13px}.monitor-strip p{font-size:12px;margin:7px 0 0;color:var(--muted)}.toolbar02{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:18px 0}.source-card .mini-grid b{font-size:12px;overflow-wrap:anywhere}.source-url{overflow-wrap:anywhere}.source-card .error{white-space:normal;font-size:12px}.source-text02{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.7;max-height:340px;overflow:auto;background:#f5f7f1;border:1px solid var(--line);border-radius:8px;padding:14px;white-space:pre-wrap;overflow-wrap:anywhere}.editor-row02{border:1px solid var(--line);padding:14px;border-radius:10px;margin:12px 0}.editor-row02 .quiet{font-size:12px}.editor-row02 label{font-size:12px}#editorForm02 label.gap-top{display:block;margin-top:20px}.evidence02 a{overflow-wrap:anywhere}.evidence02 code{word-break:break-all}@media(max-width:760px){.monitor-strip{display:block;padding:16px}.monitor-strip>div+div{margin-top:14px}.toolbar02 button{font-size:12px}.source-text02{font-size:11px}.editor-row02{padding:12px}}


/* TERRA PALM LOGO OVERRIDE */
.brand-mark{
  font-size:0 !important;
  color:transparent !important;
  background:#d8ee8f !important;
  position:relative !important;
  overflow:hidden !important;
}

.brand-mark::before{
  content:"" !important;
  display:block !important;
  width:82% !important;
  height:82% !important;
  position:absolute !important;
  left:9% !important;
  top:9% !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  background-size:contain !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='%2314583b'%3E%3Cpath d='M29 57h9L35 27h-3l-3 30Z'/%3E%3Ccircle cx='34' cy='25' r='2.4'/%3E%3Ccircle cx='30' cy='25' r='2'/%3E%3Ccircle cx='38' cy='26' r='1.8'/%3E%3Cpath d='M34 24C29 14 21 10 11 15c9 1 15 4 21 11l2-2Z'/%3E%3Cpath d='M35 23c4-10 13-13 22-8-8 0-14 4-20 11l-2-3Z'/%3E%3Cpath d='M33 23c-8-5-17-3-24 4 9-2 16-1 24 2v-6Z'/%3E%3Cpath d='M36 24c9-6 16-3 21 5-8-3-14-2-22 0l1-5Z'/%3E%3Cpath d='M35 23c-1-10 2-16 8-20-2 8-2 13-6 22l-2-2Z'/%3E%3Cpath d='M33 23C31 14 26 8 20 5c4 8 5 13 11 20l2-2Z'/%3E%3C/g%3E%3C/svg%3E") !important;
}
