:root{--ink:#243b36;--muted:#76817b;--green:#245f4c;--light:#e8eee6;--paper:#f5f4ef;--line:#e4e7de;--gold:#c6a764;--white:#fffefa}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:15px;line-height:1.75}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--green);color:white;padding:11px 20px;border:1px solid transparent;border-radius:9px;cursor:pointer;line-height:1.5;font-size:14px;transition:background .18s}button:hover,.button:hover{background:#174b3b;text-decoration:none}button.secondary,.button.secondary{background:transparent;border-color:#d3dcd1;color:var(--green)}button.secondary:hover,.button.secondary:hover{background:#eef1e9}.text-button{border:0;background:transparent;color:var(--green);padding:4px 0}.text-button:hover{background:transparent;text-decoration:underline}.danger{background:#864c42}button:focus-visible,a:focus-visible{outline:3px solid #b59a5a;outline-offset:4px}.sidebar{width:235px;position:fixed;inset:0 auto 0 0;background:#eeefe7;border-right:1px solid var(--line);padding:35px 25px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-size:27px;font-weight:650;letter-spacing:3px}.brand small{display:block;font-size:11px;letter-spacing:1px;font-weight:400;color:var(--muted)}.brand-mark{display:grid;place-items:center;background:var(--green);color:white;width:48px;height:48px;border-radius:50% 50% 44% 44%;font-size:22px;letter-spacing:0}.eyebrow{display:block;font-size:11px;letter-spacing:1.5px;color:var(--muted);font-weight:600}.sidebar>.eyebrow{margin-top:30px;font-size:10px;letter-spacing:.5px}.sidebar nav{display:grid;gap:9px;margin-top:22px}.sidebar nav a{display:flex;align-items:center;gap:13px;color:#5d6b62;padding:12px 15px;border-radius:8px;font-size:14px}.sidebar nav a.active{background:#dfe8db;color:#204e3f;font-weight:600}.nav-dot{height:7px;width:7px;border:1.4px solid currentColor;border-radius:2px}.active .nav-dot{background:currentColor}.sidebar-bottom{margin-top:auto;color:#617365;font-size:12px}.sidebar-bottom p{font-size:11px;line-height:2;color:#8a948a}.status-dot{display:inline-block;background:#7a9e64;width:7px;height:7px;border-radius:50%;margin-right:5px}main{margin-left:235px;max-width:1740px;padding:0 46px 25px}.topbar{height:84px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);font-size:12px;margin-bottom:32px}.topbar>span:first-child{font-size:14px}.muted{color:var(--muted)}.small{font-size:12px}.hero{display:flex;justify-content:space-between;background:#e7ecdf;padding:40px 44px;border-radius:15px;min-height:320px;overflow:hidden;margin-bottom:32px}.hero h1{font-size:39px;line-height:1.35;font-weight:520;letter-spacing:1px;margin:13px 0 16px}.hero p{font-size:14px;line-height:1.9;color:#728071}.hero .button{margin-top:10px;margin-right:8px}.hero-aside{width:35%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:23px}.orbit{width:190px;height:190px;border-radius:50%;border:1px solid #bfcbb3;display:grid;place-items:center;position:relative}.orbit:before{content:'';position:absolute;inset:19px;border-radius:50%;border:1px dashed #b0bf9d;transform:rotate(30deg)}.orbit:after{content:'';width:12px;height:12px;background:#bd995b;border:5px solid #e7ecdf;box-sizing:content-box;border-radius:50%;position:absolute;left:1px;top:38px}.orbit-core{font-size:23px;color:#4a6650;text-align:center;line-height:1.8}.orbit-core small{font-size:10px;color:#819078;letter-spacing:2px}.hero-caption{font-size:10px;color:#88947e;letter-spacing:1px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.section-title h2{margin:0}h1{font-size:34px;line-height:1.4;font-weight:550;letter-spacing:.5px}h2{font-size:18px;font-weight:550;margin:0 0 18px}h3{font-size:14px;margin:25px 0 8px;font-weight:600}p{margin:12px 0}small{font-size:11px}.pill,.tag{font-size:10px;border:1px solid #d8e2d3;background:#f0f4e9;color:#66805c;padding:4px 9px;border-radius:6px;display:inline-block}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:26px}.metric{background:var(--white);border:1px solid var(--line);padding:21px 24px;border-radius:12px}.metric>span{font-size:12px;color:#798173}.metric strong{display:block;font-size:32px;font-weight:500;line-height:1.8;margin-top:8px}.metric strong small{font-size:11px;color:#89917f;margin-left:9px;font-weight:400}.metric p{font-size:11px;margin:0 0 6px;color:#80907d}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.panel{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:27px;margin-bottom:24px;min-width:0}.two-col>.panel{margin-bottom:0}.two-col{margin-bottom:24px}.panel p{font-size:14px}.steps{counter-reset:step;list-style:none;padding:0;margin:0}.steps li{position:relative;padding:5px 0 17px 38px;margin-bottom:15px;border-bottom:1px solid var(--line);font-size:13px}.steps li:before{counter-increment:step;content:counter(step);position:absolute;left:0;top:5px;background:#eaf0df;color:#7a8b68;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;font-size:11px}.steps li:last-child{border-bottom:0;margin:0;padding-bottom:0}.steps span{display:block;color:var(--muted);font-size:12px;margin:5px 0}.steps a{font-size:11px}.callout{background:#f0f3e9;border-left:3px solid #afbe96;padding:16px 18px;border-radius:3px;font-size:13px;line-height:1.9;margin:20px 0}.inline-number{font-size:30px;font-weight:500;margin-left:14px}.page-heading{margin:20px 0 30px}.page-heading h1{margin:10px 0}.page-heading p{color:var(--muted)}form{display:block}form+form{margin-top:18px}label{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;font-size:12px;font-weight:550}input,select,textarea{background:#fffefa;border:1px solid #d6ddd0;border-radius:7px;padding:10px 12px;max-width:100%;min-width:0;color:var(--ink);font-size:14px}input:focus,select:focus,textarea:focus{outline:2px solid #adc0a2;outline-offset:1px}textarea{resize:vertical}input[type=checkbox]{accent-color:var(--green);width:16px;height:16px;flex-shrink:0}.check{flex-direction:row;align-items:flex-start;font-weight:400}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.filters{display:flex;align-items:end;gap:20px;flex-wrap:wrap}.filters label{margin:0;flex:1}.filters a{padding-bottom:13px;font-size:13px}.empty{text-align:center;padding:65px 25px}.empty h2{margin:10px}.empty p{color:var(--muted)}.empty-symbol{font-size:68px;color:#9cad83;line-height:1.4}.facts{margin:0}.facts>div{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #edf0e7;padding:11px 0;font-size:13px}.facts dt{color:var(--muted);flex:0 0 35%}.facts dd{margin:0;text-align:right;overflow-wrap:anywhere}.facts small{display:block;color:var(--muted);font-size:10px}.facts a{font-size:10px}.timeline-row{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 0;border-bottom:1px solid var(--line);font-size:12px;color:var(--ink)}.timeline-row>span:nth-child(2){flex:1}.timeline-row small{display:block;color:var(--muted)}.timeline-date{color:var(--muted);min-width:105px}.notice{padding:15px 20px;background:#e5eddf;color:#355c39;border:1px solid #cfddc4;border-radius:8px;margin-bottom:24px;font-size:13px}.warning{background:#fcf1e9;color:#794d3c;padding:20px;border-radius:9px}.upload-zone{border:1px dashed #b9c8ad;border-radius:9px;padding:20px;background:#f6f8f0}.upload-zone input{border:0;background:transparent;padding:8px 0;font-size:11px}details{margin:18px 0}details summary{cursor:pointer;color:var(--green);font-size:13px;margin-bottom:12px}pre{background:#f4f6f0;border:1px solid #e1e6da;border-radius:8px;padding:17px;font-size:12px;white-space:pre-wrap;word-break:break-word;max-height:540px;overflow:auto;line-height:1.8;color:#506252}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.actions form{margin:0}.actions button{margin-bottom:8px}.chips{display:flex;flex-wrap:wrap;gap:9px}.chips a,.source-link{display:inline-block;font-size:11px;padding:4px 9px;background:#edf2e7;border-radius:5px}.source-link{margin:4px}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;min-width:640px}th{text-align:left;color:var(--muted);font-size:11px;font-weight:500;background:#f5f7f0}th,td{padding:13px 14px;border-bottom:1px solid var(--line);vertical-align:top}td{line-height:1.7}.chart{height:170px;width:100%;margin:14px 0}.chart svg{width:100%;height:100%}.chart-stats{display:flex;gap:20px;font-size:11px;color:var(--muted)}.chart-stats b{color:var(--ink);margin-left:7px;font-weight:500}.report{max-width:950px}.answer{white-space:pre-wrap;line-height:2.1}.break{overflow-wrap:anywhere}.login-card{max-width:650px;margin:70px auto}.login-card form{max-width:400px;margin-top:30px}footer{margin:32px 0 5px;font-size:10px;color:#929b90;text-align:center}
@media(min-width:1500px){.cards{grid-template-columns:repeat(6,1fr)}.hero{padding:45px 55px}.hero h1{font-size:44px}}@media(max-width:1100px){main{padding:0 25px 20px}.sidebar{width:205px;padding:30px 18px}main{margin-left:205px}.hero{padding:30px}.hero h1{font-size:32px}.hero-aside{width:30%}.orbit{width:145px;height:145px}.two-col{gap:16px}.panel{padding:22px}}@media(max-width:760px){body{font-size:14px}.sidebar{position:static;width:auto;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:20px}.brand-mark{width:37px;height:37px;font-size:17px}.brand small{font-size:9px}.sidebar>.eyebrow,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;overflow:auto;margin-top:18px;padding-bottom:3px}.sidebar nav a{white-space:nowrap;font-size:12px;padding:8px 11px}.nav-dot{display:none}main{margin:0;padding:0 16px 18px}.topbar{height:60px;margin-bottom:18px;font-size:10px}.topbar .muted{display:none}.hero{padding:25px;min-height:0}.hero h1{font-size:30px}.hero p{font-size:12px}.hero-aside{display:none}.hero .button{font-size:12px;padding:10px 13px}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.metric{padding:17px}.metric strong{font-size:28px}.metric small{font-size:10px}.two-col{grid-template-columns:1fr;gap:16px}.section-title{align-items:start}.section-title h2{font-size:17px}.pill{max-width:55%;font-size:9px}.panel{padding:20px}.page-heading h1{font-size:29px}.page-heading p{font-size:13px}.form-grid{gap:0 12px}.filters{gap:13px}.filters label{flex-basis:40%}.timeline-row{gap:10px;flex-wrap:wrap}.timeline-date{font-size:10px;min-width:78px}.timeline-row .tag{font-size:9px}.facts>div{gap:10px}.chart-stats{gap:12px}.login-card{margin:25px 0}footer{font-size:9px}}

/* Remote portal is read-only; the server independently denies mutations. */
.remote-view form[method="post"]:not([action="/login"]):not([action="/logout"]):not([action="/refresh"]):not([action="/chat/preview"]):not([action="/chat/send"]), .remote-view details:has(form[method="post"]) { display:none; }
.remote-view a[href^="/entry"], .remote-view a[href^="/manage"], .remote-view a[href^="/imports"] { display:none; }
