:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#203634;background:#f3f5f6;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;background:#176553;color:#fff;border:1px solid transparent;border-radius:7px;padding:10px 15px;font-weight:600;transition:background .15s}button:hover{background:#104c3e}button.secondary{background:#edf2ef;color:#31564b;border-color:#dce5df}button.secondary:hover{background:#dce8df}button:disabled{opacity:.5;cursor:wait}input,select,textarea{padding:11px;border:1px solid #ccd7d0;border-radius:6px;width:100%;background:white;color:#203634}input:focus,select:focus,textarea:focus{outline:2px solid #78b6a2;outline-offset:1px}input[type=checkbox]{width:auto;margin-right:10px}label{display:block;margin:15px 0 6px;font-size:13px;font-weight:600}h1{font-size:23px;margin:4px 0}h2{font-size:20px;letter-spacing:-.3px;margin:0 0 12px}h3{font-size:15px}p{line-height:1.55}small{display:block;color:#6c8079;font-size:12px;line-height:1.5}.shell{display:flex;min-height:100vh}aside{position:fixed;inset:0 auto 0 0;width:224px;background:#14382f;color:white;padding:25px 14px;display:flex;flex-direction:column;overflow-y:auto}.brand-mark{font-family:Georgia,serif;font-size:34px;color:#e1c58b;display:flex;align-items:center;gap:14px;padding:0 12px 25px}.brand-mark span{font-family:"Segoe UI",sans-serif;font-size:20px;font-weight:650;color:#fff}.nav-caption{font-size:10px;letter-spacing:1.8px;padding:0 12px;color:#9eb8ac}.nav-item{width:100%;display:flex;gap:13px;align-items:center;text-align:left;background:transparent;font-size:13px;font-weight:500;margin:3px 0;padding:12px;border-radius:6px;color:#cfe0d6}.nav-item span{width:18px;font-size:16px}.nav-item:hover{background:#214e41}.nav-item.selected{background:#2e6250;color:white;box-shadow:inset 3px 0 #e1c58b}.sidebar-foot{margin-top:auto;padding:28px 12px 0;line-height:1.6;color:#d0e0d7}.sidebar-foot small{color:#a6bfb2}.workspace{margin-left:224px;width:calc(100% - 224px)}header{min-height:100px;background:#fff;border-bottom:1px solid #e1e8e2;padding:22px 30px;display:flex;justify-content:space-between;align-items:center;gap:20px}header small{font-size:10px;letter-spacing:1.4px}.account{display:flex;align-items:center;gap:10px}.account span{margin-right:8px;font-weight:600}.account small{letter-spacing:0;text-transform:capitalize;font-weight:400}.account button{font-size:12px;padding:9px 12px}main{padding:28px 30px;min-height:calc(100vh - 150px)}footer{padding:10px 30px;color:#7b8d83;font-size:11px}.page-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.page-intro h2{font-size:26px;margin:5px 0}.page-intro p{margin:8px 0;color:#708178}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.stat{background:white;border:1px solid #e0e8e1;border-radius:10px;padding:24px}.stat strong{display:block;font-size:36px;margin:14px 0 5px}.panel{background:white;border:1px solid #e0e8e1;border-radius:10px;padding:22px;margin-bottom:20px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.panel-heading h2{margin:0}.stage-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stage-summary div{background:#f4f7f4;border-radius:6px;padding:13px;display:flex;justify-content:space-between;gap:12px;font-size:12px}.stage-summary strong{color:#176553}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0 22px}.toolbar input{max-width:420px}.board{display:flex;overflow-x:auto;gap:15px;padding-bottom:22px}.lane{min-width:280px;width:280px;background:#e8eee8;border-radius:9px;padding:14px}.lane h3{font-size:12px}.card{background:white;border:1px solid #e2e8e1;padding:17px;border-radius:8px;margin:12px 0}.card h3{font-size:15px;margin:10px 0}.card p{font-size:12px;line-height:1.65;white-space:pre-wrap}.card button{font-size:11px;padding:8px 10px;margin:4px 3px 0 0}.tag{display:inline-block;font-size:10px;color:#24634c;background:#eaf3eb;padding:5px 8px;border-radius:4px}.error{color:#b03831}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}form{background:white;padding:22px;border:1px solid #dce3db;border-radius:10px;margin:20px 0}.login{max-width:430px;margin:12vh auto;padding:35px}.login h1{font-size:28px;margin:12px 0}.login button{margin-top:8px}dialog{border:0;border-radius:12px;width:740px;max-width:95vw;max-height:92vh;padding:25px;box-shadow:0 20px 70px #12362f40}dialog::backdrop{background:#102c3266}dialog>h2{margin-top:22px}.operations{width:1060px}.ops-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0}.ops-tabs button{font-size:11px;padding:9px 11px}.ops-records{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.ops-records .card[hidden]{display:none}.operations dl{font-size:12px}.operations dt{font-weight:600;margin-top:10px;color:#74847b}.operations dd{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#78877f;font-size:11px;font-weight:600;background:#f7f9f7}td,th{padding:14px 12px;border-bottom:1px solid #e6ece6;vertical-align:top}td small{font-size:11px;margin-top:5px}td button{font-size:11px}.empty{padding:24px;color:#728279}.entity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.person{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e5ebe5;padding:15px 0}.person p{margin:5px 0;font-size:12px;color:#718178}#import-file{margin:14px 0}#import-preview table{max-height:450px}#record-search{margin:0 0 12px}#record-editor{scroll-margin:20px}
@media(max-width:1050px){aside{width:190px}.workspace{margin-left:190px;width:calc(100% - 190px)}main,header{padding:20px}.account{flex-wrap:wrap}.entity-grid{grid-template-columns:1fr}.stage-summary{grid-template-columns:1fr 1fr}}
@media(max-width:650px){aside{position:static;width:100%;padding:12px;max-height:240px}.shell{display:block}.brand-mark{padding:0 8px 8px;font-size:24px}aside nav{display:flex;flex-wrap:wrap}.nav-item{width:auto;font-size:11px;padding:8px}.nav-caption,.sidebar-foot{display:none}.workspace{margin:0;width:100%}header{align-items:flex-start;flex-direction:column;gap:12px}.account span{font-size:12px}.stats{gap:8px}.stat{padding:12px;font-size:11px}.stat strong{font-size:28px}.grid{display:block}.page-intro h2{font-size:22px}.stage-summary{grid-template-columns:1fr}.panel{padding:15px}main{padding:16px}.page-intro{align-items:flex-start}.page-intro button{font-size:11px}dialog{padding:18px}}
