:root{font-family:Inter,system-ui,sans-serif;color:#152433;background:#f4f6f8;--line:#dce4eb;--accent:#086356;--muted:#506478}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:grid;grid-template-columns:246px minmax(0,1fr)}a{color:inherit;text-decoration:none}.sidebar{background:#132532;color:#e7eef4;display:flex;flex-direction:column;padding:24px 16px;min-height:100vh;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;margin:1px 8px 38px;font-size:21px;font-weight:750;letter-spacing:-.6px}.brand small{display:block;font-size:9px;letter-spacing:1px;color:#a7bbc7;margin-top:5px}.logo{font-size:34px;border-radius:11px;background:#9ce4cf;color:#12362e;display:grid;place-items:center;width:41px;height:41px;line-height:1}.sidebar nav{display:grid;gap:7px}.sidebar nav a{padding:13px;border-radius:8px;color:#b9cbd6;font-size:14px;display:flex;gap:11px}.sidebar nav a.active,.sidebar nav a:hover{background:#25424b;color:#caffee}.local{margin:auto 5px 0;font-size:11px;color:#b0c5d1}.local i{display:inline-block;background:#82d6bf;width:7px;height:7px;border-radius:100%;margin-right:5px}.top{height:65px;border-bottom:1px solid var(--line);background:white;padding:0 clamp(20px,4vw,56px);display:flex;justify-content:space-between;align-items:center;font-size:14px;color:var(--muted)}.top-right{font-size:11px;letter-spacing:1.3px;font-weight:750}.workspace{min-width:0}main{padding:35px clamp(20px,4vw,56px) 60px;max-width:1450px;margin:auto}.hero{padding:34px;border-radius:16px;background:linear-gradient(115deg,#102f31,#164b44);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:25px;position:relative;overflow:hidden;margin-bottom:33px}.hero h1{font-size:clamp(29px,4vw,43px);letter-spacing:-1.6px;margin:0 0 8px}.hero p{color:#cee5df;margin:0;max-width:49ch}.hero button{background:#a4ebd4;color:#10372e;white-space:nowrap;border-color:#a4ebd4}.heading,.section-head,.actions,.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.heading,.section-head{justify-content:space-between}.heading{margin-bottom:20px}.heading h1,.heading p,.section-head h2{margin:0}.heading p{margin-top:8px}.muted,.hint{color:var(--muted)}.hint{font-size:13px}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:15px}.card,.panel,.empty,.editor-section{background:white;border:1px solid var(--line);border-radius:12px;padding:19px}.card h3{margin:10px 0 5px}.card p{font-size:14px;color:var(--muted);margin:0 0 16px}.tag{display:inline-block;border-radius:6px;background:#e7f4ef;color:#075648;font-size:11px;padding:5px 8px;font-weight:700}.empty{padding:36px;text-align:center;margin-bottom:24px}.empty h3{margin:0 0 8px}.empty p{margin:0 0 18px;color:var(--muted)}.section-head{margin:24px 0 14px}.section-head h2{font-size:20px;letter-spacing:-.4px}.section-head a,.back{font-size:14px;color:var(--accent);font-weight:650}.back{display:inline-block;margin:0 0 15px}.editor-section{margin-bottom:10px}.editor-section>summary{cursor:pointer;font-weight:690}.editor-body{margin-top:16px}.panel{margin-bottom:13px}.field,.control{display:grid;gap:6px;font-size:14px;font-weight:620}.field{margin:12px 0}.control{flex:1;min-width:120px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}.field-editor{border-top:1px solid var(--line);padding:12px 0}.field-editor .actions{margin-top:8px}.field-text{white-space:pre-wrap;line-height:1.55}.table-scroll{overflow:auto;margin:10px 0}table{width:100%;border-collapse:collapse}th,td{padding:7px;border:1px solid var(--line);text-align:left;font-size:13px}th{background:#eef4f6}td input{min-width:105px}.progress{accent-color:var(--accent);width:min(290px,100%);height:10px}.warn{background:#fff3d7;border:1px solid #e9cc85;padding:12px;border-radius:8px;color:#604711;margin-bottom:12px}.review-list{margin:10px 0}.review-list a{color:var(--accent);text-decoration:underline}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);background:white;color:#223447;border-radius:8px;padding:8px 13px;font-size:13px;font-weight:690}button:hover{border-color:#658f87}button.primary{background:var(--accent);border-color:var(--accent);color:white}button.danger{color:#9b3028}input,textarea,select{width:100%;min-width:0;border:1px solid #b8c8d3;border-radius:7px;background:#fff;color:#152433;padding:8px 10px}input[type=checkbox]{width:auto}textarea{min-height:80px;resize:vertical}:focus-visible{outline:3px solid #58af9d;outline-offset:2px}dialog{width:min(500px,calc(100% - 32px));border:1px solid var(--line);border-radius:13px;padding:24px;color:inherit}dialog::backdrop{background:#12253288}dialog h2{margin:0 0 10px}#status{position:fixed;right:16px;bottom:14px;max-width:min(440px,calc(100% - 32px));background:#152e35;color:#fff;border-radius:8px;padding:10px 14px;z-index:2}#status:empty{display:none}code{overflow-wrap:anywhere}dt{font-weight:700;margin-top:12px}dd{margin:4px 0;white-space:pre-wrap}hr{border:0;border-top:1px solid var(--line);margin:18px 0}
@media(max-width:710px){body{display:block}.sidebar{height:auto;min-height:0;position:static;padding:12px}.brand{margin:0 4px 10px}.sidebar nav{display:flex;flex-wrap:wrap}.sidebar nav a{padding:8px}.local{display:none}.top{height:43px}.hero{align-items:flex-start;flex-direction:column;padding:22px}main{padding-top:20px}}

.column-options{margin:12px 0;padding:8px 12px 12px;border:1px solid var(--line);border-radius:8px;min-width:0}.column-options legend{padding:0 5px;font-size:14px;font-weight:650}.column-options p{margin:0 0 8px}.multi-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(205px,100%),1fr));gap:7px}.multi-options label{display:flex;gap:7px;align-items:center;font-weight:500;border:1px solid var(--line);border-radius:7px;padding:7px 9px}.multi-options input{accent-color:var(--accent)}td select{min-width:105px}
.section-hint{margin:0 0 14px;padding:9px 12px;border-left:3px solid #77b5a5;border-radius:0 6px 6px 0;background:#edf6f3;color:#36534e;font-size:14px;line-height:1.45;white-space:pre-wrap}

:root{color-scheme:dark;color:#edf2f8;background:#101419;--line:#303a47;--accent:#75e5ce;--muted:#aab8c8}
.sidebar{background:#131a22;border-right:1px solid #2a333f;color:#e7eef4}.brand{display:grid;gap:10px;justify-items:start;width:fit-content;margin:7px 12px 32px}.brand img{width:140px;height:auto;display:block}.brand small{margin:0;color:#aac5c5;font-size:10px;letter-spacing:2.2px}.sidebar nav a.active,.sidebar nav a:hover{background:#223b3b;color:#9ff5e4}.top{background:#151c25}.top-right{color:#9addd1}.hero{background:radial-gradient(ellipse at right top,#236257 0,transparent 58%),linear-gradient(121deg,#192b2c,#153b37);border:1px solid #2c534c}.hero button{background:#9af0db;color:#102c25;border-color:#a1f6e1}.card,.panel,.empty,.editor-section{background:#1a222d;border-color:#313c4b}.editor-section[open]{border-color:#456261}.empty{background:#161e28}.tag{background:#243b39;color:#a1e8d8}.section-hint{background:#1b3536;color:#c0e0db;border-color:#64c5b4}.field-editor{border-color:var(--line)}th{background:#22303d}button{background:#202b38;color:#e8f0f8;border-color:#415266}button:hover{border-color:#71b4a7}button.primary{background:#91e9d6;border-color:#91e9d6;color:#112a25}button.danger{color:#ffb8b0}button:disabled,select:disabled{opacity:.55;cursor:default}input,textarea,select{background:#131b25;color:#e8f0f8;border-color:#495b70}input::placeholder,textarea::placeholder{color:#a2b2c3}dialog{background:#1a222d}dialog::backdrop{background:#070c13bb}.warn{background:#352a19;border-color:#72592f;color:#ffdfa2}#status{background:#253f42;border:1px solid #477571}.client-head{margin-top:0}.client-project{margin:10px 0;padding:10px 0;border-top:1px solid var(--line);align-items:end}.client-project button{justify-self:start}
@media(max-width:710px){.brand{margin:1px 4px 11px;display:flex;align-items:center}.brand img{width:86px}.brand small{font-size:9px}}

.bepilot-brand{display:flex;align-items:center;gap:9px;font-size:27px;letter-spacing:-1px}.bepilot-brand img{width:38px;height:38px}.brand-blue{color:#35bced}.sidebar-footer{margin-top:auto;padding:8px}.company-mark{display:block;width:70px;height:auto;margin:0 0 10px}.sidebar-footer .local{margin:0}.bepilot-hero{background:radial-gradient(ellipse at right top,#213e58,transparent 68%),#0e1828;border-color:#304963}.bepilot-hero h1{display:flex;align-items:center;gap:14px;font-size:clamp(40px,6vw,72px);line-height:1;letter-spacing:-.055em;margin-bottom:16px}.bepilot-hero h1 img{width:clamp(46px,6vw,70px);height:auto}.bepilot-hero .brand-slogan{font-size:clamp(16px,2.2vw,20px);font-weight:720;color:#f3f7ff;margin-bottom:5px}.bepilot-hero .brand-signature{color:#afc2d7}.bepilot-hero button{background:#79d8fb;border-color:#79d8fb;color:#0d2636}
@media(max-width:710px){.bepilot-brand img{width:32px;height:32px}.sidebar-footer{display:none}}

.iso-profile summary .tag{margin-left:8px}.iso-grid{margin-top:14px}.iso-group{margin:18px 0}.iso-row{border:1px solid var(--line);border-radius:8px;padding:12px;margin-bottom:8px}.iso-row .section-head{margin:0 0 10px}.iso-row h3{margin:0;font-size:15px}.iso-profile .section-hint{margin-top:12px}

body.access-page{display:grid;grid-template-columns:minmax(0,1fr);min-height:100dvh;place-items:center;background:radial-gradient(ellipse at 50% 10%,#203950 0,transparent 57%),#0e1828}.access-layout{width:min(100%,470px);padding:32px 20px;margin:auto}.access-brand{text-align:center;margin-bottom:26px}.access-mark{display:inline-flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-2px;font-size:44px;color:#f5f8ff}.access-mark img{width:52px;height:52px}.access-brand p{color:#b5c6db;margin:8px 0 0}.access-panel{padding:26px;background:#182533;border-color:#3a4e62;box-shadow:0 14px 50px #080f1988}.access-panel h1{font-size:23px;margin:0 0 10px}.access-panel>p{color:var(--muted);margin-top:0}.access-panel form .field{margin:16px 0}.access-panel .access-button{width:100%;display:block;text-align:center;padding:11px 14px;margin-top:18px;border-radius:8px;background:#79d8fb;border:1px solid #79d8fb;color:#102433;font-weight:750}.access-footer{display:flex;justify-content:center;margin-top:22px}.access-footer img{width:70px;height:auto}.signout{min-width:68px}

.client-logo-preview{display:block;width:auto;max-width:min(240px,100%);height:auto;max-height:100px;object-fit:contain;padding:8px;border-radius:8px;background:#fff;margin:12px 0}.editor-section input[readonly]{color:#9bdcf6}

.raci-legend{display:grid;grid-template-columns:minmax(125px,28%) 1fr;gap:6px 14px;margin:10px 0}.raci-legend dt{font-weight:750;margin:0}.raci-legend dd{margin:0}.raci-legend+p{margin-bottom:0}[data-naming-preview]{white-space:pre-wrap;color:#a1e2fa}
.section-toggle{display:inline-flex;gap:6px;align-items:center;float:right;margin-left:12px;font-size:13px;color:var(--muted);font-weight:550;cursor:pointer}
.section-toggle input{margin:0;accent-color:var(--accent)}.section-excluded>summary{color:var(--muted)}.plan-editor-section summary{min-height:22px}
@media(max-width:620px){.section-toggle{float:none;display:flex;width:fit-content;margin:7px 0 0 16px}}
.model-fill{display:flex;align-items:center;gap:7px;font-weight:700;color:#a1e2fa}.model-fill input{accent-color:var(--accent)}.model-fill-hint{margin:0 0 4px;font-weight:400}
.normative-block{margin:0 0 13px;padding:8px 12px;background:#172b38;border:1px solid #355061;border-radius:8px}.normative-block .hint{margin:5px 0 0}.normative-control{display:inline-flex;align-items:center;gap:6px;justify-self:start;font-size:12px;font-weight:650;color:#9bd8ef;white-space:nowrap}.normative-control input{margin:0;accent-color:var(--accent)}td .normative-block{margin:0 0 13px;padding:8px 12px;background:#172b38;border:1px solid #355061;border-radius:8px}.normative-block .hint{margin:5px 0 0}.normative-control{margin-top:6px}td .normative-cell-text{min-height:54px;min-width:135px}

main.admin-layout{max-width:1240px;width:min(100%,1240px);padding:25px 18px}.admin-layout .access-brand{text-align:left;margin-bottom:16px}.admin-layout .panel h2{margin-top:0}.admin-header{display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.admin-header h1,.admin-header p{margin:0}.admin-header p{color:var(--muted);margin-top:5px}.admin-header a,.admin-layout .panel a,.access-panel .hint a{color:#87dfff}.admin-layout .panel a.admin-delete{color:#ffb8ad;display:inline-block;margin-top:8px}.admin-layout details form{min-width:185px;padding:6px 0}.admin-layout details label{margin-bottom:7px}
