:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202e2e;background:#f5f7f7;font-synthesis:none;--green:#12675d;--line:#e2e8e6;--muted:#687b78}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #51aa99;outline-offset:3px}button{border:0}button.primary{background:var(--green);color:#fff;padding:11px 17px;border-radius:9px;font-weight:600}button.secondary{background:#fff;border:1px solid #d6e1dd;padding:10px 14px;border-radius:8px;color:#2f5550}button.danger{color:#b34036;background:#fff3f0;border:1px solid #f0d5d1;padding:8px 12px;border-radius:7px}button.small{font-size:12px;padding:7px 10px}button.text{padding:6px 0;background:none;color:var(--green);text-align:left}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--line);padding:30px 18px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:#183d37;font-size:18px;font-weight:700;padding:0 8px}.brand small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:5px}.brand-icon{font-size:26px;border-radius:12px;background:#166c60;color:white;padding:5px 12px}.side-caption{font-size:10px;letter-spacing:1.5px;color:#84938f;margin:49px 12px 15px}.nav{display:flex;align-items:center;gap:12px;text-align:left;width:100%;background:none;padding:14px 12px;color:#62716e;border-radius:9px;margin:3px 0;font-size:14px}.nav.active{background:#eaf4ef;color:#165d51;font-weight:600}.nav:hover{background:#f1f6f3}.count{margin-left:auto;font-size:12px}.side-bottom{margin-top:auto;font-size:12px;color:#41645b;padding:18px 12px 0;border-top:1px solid var(--line)}.side-bottom p{font-size:11px;color:#8a9793;line-height:1.7}.dot{display:inline-block;width:7px;height:7px;border-radius:100%;background:#3b9d79;margin-right:6px}main{margin-left:244px}.topbar{height:84px;padding:0 38px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;font-size:13px;color:#60756e}.slash{margin:0 14px;color:#bcc9c4}.actor-label{display:flex;align-items:center;gap:12px;font-size:11px}.actor-label select{width:auto;font-size:13px;padding:9px 25px 9px 12px}.lab-notice{padding:13px 38px;background:#fff9ed;color:#876d38;font-size:12px;line-height:1.6;border-bottom:1px solid #f0e8d7}.lab-notice span{font-size:10px;font-weight:700;letter-spacing:.7px;margin-right:13px}.content{padding:32px 38px;max-width:1650px;margin:auto}.eyebrow{font-size:10px;letter-spacing:1.4px;color:#7c8c85;font-weight:600}.page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:28px}.page-head h1{font-size:28px;letter-spacing:-.8px;margin:8px 0 9px;font-weight:650}.page-head p{font-size:13px;color:var(--muted);margin:0;line-height:1.5}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}.stat{padding:20px 23px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:18px}.stat b{font-size:28px;color:#245e52;font-weight:500}.stat span{font-size:12px;color:var(--muted)}.workspace{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(410px,1.3fr);gap:22px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.panel-head{padding:22px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;align-items:center}.panel-head h2{margin:0;font-size:17px;font-weight:600}.panel-body{padding:22px}.filter{padding:18px 20px;border-bottom:1px solid var(--line);display:grid;gap:12px}input,select{border:1px solid #dce4df;border-radius:8px;background:#fff;padding:11px 12px;width:100%;color:#304740;min-width:0}input::placeholder{color:#93a19b}.building{padding:16px 21px 10px;color:#6e8178;font-size:11px;font-weight:600;letter-spacing:.4px}.unit{width:100%;background:#fff;padding:15px 20px;display:flex;text-align:left;align-items:center;gap:14px;border-top:1px solid #f0f3f1}.unit:hover{background:#f8fbf9}.unit.selected{background:#edf6f1;box-shadow:inset 3px 0 #237562}.unit-num{font-size:13px;font-weight:600;border:1px solid #dfe9e3;background:#fff;border-radius:9px;min-width:43px;padding:11px 7px;text-align:center;color:#3b6156}.unit-name{font-size:13px;flex:1}.unit-name small{display:block;color:#7c8c83;font-size:11px;margin-top:6px}.chevron{color:#7f9b90}.button-row{display:flex;gap:8px;flex-wrap:wrap}.section-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:24px 0 14px}.section-title h3{margin:0;font-size:13px;font-weight:600}.badge{display:inline-block;border-radius:5px;padding:4px 7px;font-size:10px;background:#edf4f0;color:#426d5c;white-space:nowrap}.badge.pending{background:#fff3dd;color:#9b722b}.badge.revoked,.badge.expired{background:#f2f3f3;color:#829088}.badge.accepted{background:#e8f4ed;color:#448061}.subtle{color:var(--muted);font-size:12px;line-height:1.6}.entry{padding:14px 0;border-bottom:1px solid #edf1ee;display:flex;align-items:center;justify-content:space-between;gap:12px}.entry:last-child{border:0}.entry strong{display:block;font-size:13px;font-weight:600;margin-bottom:5px}.entry small{display:block;font-size:11px;color:#7b8d83;margin-top:5px}.rights{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.right{font-size:10px;background:#f2f6f3;padding:4px 7px;border-radius:4px;color:#4e7464}.empty{text-align:center;padding:40px 22px;color:#7b8d83;font-size:13px;line-height:1.8}.empty b{color:#345f4e;display:block;font-size:16px;margin-bottom:8px}.detail-title{font-size:24px;margin:10px 0}.card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px}.card-grid .panel-body h2{font-size:18px}.inbox-footer{border-top:1px solid var(--line);margin-top:18px;padding-top:16px;display:flex;justify-content:space-between;align-items:center}#notice{padding:12px 16px;border:1px solid #cbe3d4;background:#edf9f2;color:#286b4a;border-radius:9px;font-size:13px;margin-bottom:20px}#notice.error,#form-error{background:#fff2ee;color:#9e3d30;border:1px solid #efcfc6;border-radius:8px;padding:12px;font-size:13px}dialog{border:1px solid #dfe7e0;border-radius:16px;width:520px;max-width:calc(100vw - 28px);padding:25px;max-height:90vh;overflow:auto;box-shadow:0 24px 100px #1b382b33}dialog::backdrop{background:#152f2955;backdrop-filter:blur(3px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.dialog-head h2{font-size:21px;margin:0}.icon-button{font-size:27px;background:none;color:#809086}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.field{display:block;font-size:12px;color:#5b7367;margin-bottom:16px}.field input,.field select{display:block;margin-top:7px}.field-help{font-size:11px;line-height:1.5;color:#819185}.check-row{display:flex;align-items:center;gap:9px;font-size:12px;margin:12px 0}.check-row input{width:16px;height:16px}.grant-box{padding:12px 15px;background:#f6f9f7;border-radius:9px;margin:12px 0}.grant-box h4{margin:0;font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;letter-spacing:.5px;color:#83938a;font-weight:500;padding:14px}td{padding:14px;border-top:1px solid var(--line)}.loading{opacity:.5;pointer-events:none}[hidden]{display:none!important}@media(min-width:1500px){.content{padding-top:40px}}@media(max-width:1150px){.sidebar{width:210px;padding:24px 12px}main{margin-left:210px}.content{padding:26px 22px}.topbar,.lab-notice{padding-left:22px;padding-right:22px}.workspace{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:15px;gap:10px}}@media(max-width:700px){.sidebar{position:static;width:100%;padding:16px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:16px}.side-caption,.side-bottom{display:none}nav{display:flex;overflow:auto;margin-top:14px}.nav{width:auto;flex-shrink:0;font-size:12px;padding:10px}.nav span.count{display:none}main{margin:0}.topbar{height:auto;padding:15px;gap:10px;flex-wrap:wrap}.actor-label{width:100%;justify-content:space-between}.lab-notice{padding:12px 15px}.content{padding:24px 15px}.page-head{align-items:start}.page-head h1{font-size:23px}.page-head>button{font-size:12px}.stats{grid-template-columns:repeat(3,1fr)}.stat{padding:13px;display:block}.stat b{display:block;font-size:22px;margin-bottom:6px}.stat span{font-size:10px}.workspace{grid-template-columns:minmax(0,1fr)}.panel-body,.panel-head{padding:18px}.card-grid{grid-template-columns:minmax(0,1fr)}}

.directory-photo{display:block;max-width:100%;max-height:480px;width:auto;height:auto;margin:0 auto 16px;border-radius:12px;object-fit:contain}

.batch-preview{max-height:42vh;overflow:auto;border-block:1px solid #e4e8ef}.field textarea{font:inherit;padding:12px;border:1px solid #ccd3de;border-radius:10px;width:100%;box-sizing:border-box;resize:vertical}
