:root{--bg:#080d16;--surface:#101824;--surface2:#141f2f;--border:#233047;--text:#edf2fc;--muted:#91a1b9;--blue:#238bff;--blue-light:#69b3ff;--danger:#f07485;--green:#6cdbb2;font-family:Inter,"Segoe UI",sans-serif;color:var(--text);background:var(--bg);font-size:14px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.16;margin-bottom:10px}h2{font-size:19px;font-weight:600}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--blue-light);margin-bottom:12px}.shell{display:flex;min-height:100vh}.sidebar{width:246px;flex-shrink:0;background:#0b111d;border-right:1px solid var(--border);padding:30px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 36px;font-size:23px;letter-spacing:2px;font-weight:800}.brand img{width:44px;height:55px;object-fit:contain}.brand small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);margin-top:5px}.nav-label{font-size:9px;letter-spacing:1.6px;color:#586b87;margin:12px 14px 16px}.nav-button{display:flex;align-items:center;gap:12px;background:none;border:1px solid transparent;color:var(--muted);width:100%;padding:13px 14px;text-align:left;border-radius:8px;margin-bottom:5px;font-size:13px}.nav-button>span:first-child{font-size:18px;width:20px;text-align:center}.nav-button:hover{background:#121e2e;color:white}.nav-button.active{background:#12243c;color:#8dc5ff;border-color:#1a3e67}.nav-count{margin-left:auto;background:#244b78;padding:2px 6px;border-radius:5px;font-size:10px}.nav-count:empty{display:none}.sidebar-bottom{margin-top:auto;padding:28px 12px 0;font-size:11px;color:#a8bbd2}.connection-dot{display:inline-block;background:var(--green);width:6px;height:6px;border-radius:50%;margin-right:8px}.sidebar-bottom p{font-size:10px;color:#c1cfdf;margin-top:24px;line-height:1.8}.shell>main{margin-left:246px;min-width:0;flex:1}.topbar{height:80px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 38px;font-size:10px;letter-spacing:1.2px}.breadcrumb{color:#62758f}.account{display:flex;align-items:center;gap:11px;letter-spacing:0;font-size:12px}.account img{height:30px;width:30px;object-fit:cover;border-radius:50%}.text-button{background:none;border:0;padding:5px;color:var(--blue-light);font-size:12px}.text-button:hover{text-decoration:underline}.content{max-width:1530px;padding:36px 38px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading p:last-child{margin:0}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #34435a;background:#192537;color:#d5e4f7;border-radius:7px;padding:10px 16px;font-size:12px;font-weight:600;white-space:nowrap;min-height:38px}.button:hover{background:#22344d}.button:disabled{opacity:.5;cursor:wait}.button.primary{background:var(--blue);color:white;border-color:#429bff}.button.primary:hover{background:#1178e4}.button.danger{border-color:#723747;color:#ffafbb;background:#301d28}.hero{height:260px;border:1px solid #1e385c;background:radial-gradient(ellipse at 75% 55%,#123c72 0,transparent 53%),linear-gradient(115deg,#111d30,#0c1728);border-radius:12px;position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;padding:35px 40px;margin-bottom:24px}.hero:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(125deg,transparent 0,transparent 120px,#82b8ff06 121px,#82b8ff06 122px);pointer-events:none}.hero-label{display:block;font-size:9px;letter-spacing:2px;font-weight:700;color:#79b8ff;margin-bottom:16px}.hero h2{font-size:32px;line-height:1.1;letter-spacing:-.7px;margin-bottom:14px}.hero p{font-size:12px;color:#a5bad8;margin:0}.hero img{height:215px;width:210px;object-fit:contain;margin-right:25px;filter:drop-shadow(0 10px 20px #0007)}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:30px}.stat{border:1px solid var(--border);border-radius:9px;background:var(--surface);padding:21px 22px}.stat>span{display:block;font-size:9px;color:var(--muted);letter-spacing:1.1px}.stat strong{display:block;font-size:29px;letter-spacing:-.8px;margin:16px 0 8px;font-weight:600}.stat small{font-size:10px;color:#6e819e}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-heading h2{margin:0}.card{border:1px solid var(--border);background:var(--surface);border-radius:9px;overflow:hidden}.padded{padding:26px}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.toolbar p{margin:0}.tabs{display:flex;gap:4px;background:#0e1725;padding:4px;border:1px solid var(--border);border-radius:8px}.tabs button{border:0;color:var(--muted);background:none;border-radius:5px;padding:8px 13px;font-size:12px}.tabs button.active{background:#203b5c;color:#c4e0ff}.search{max-width:280px}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table th{font-size:9px;letter-spacing:1.1px;color:#8195b1;font-weight:600;background:#121d2c;padding:15px 20px}.data-table td{padding:18px 20px;border-top:1px solid #1e2a3d;font-size:12px}.data-table td strong{display:block;font-size:12px;font-weight:600}.data-table td small{display:block;font-size:10px;color:#788ca9;margin-top:5px}.badge{display:inline-block;font-size:10px;border:1px solid #384a64;padding:4px 8px;border-radius:5px;background:#203047;color:#bbd6ff}.badge.pending{color:#e5c581;background:#342b19;border-color:#584726}.badge.approved{color:#82d8b5;background:#173329;border-color:#2c5543}.badge.rejected{color:#f59aa8;background:#361e29;border-color:#593043}.badge.partial{color:#ffd194;background:#3f2a16;border-color:#624323}.table-wrap{overflow:auto}.empty{padding:42px 25px;text-align:center}.empty strong{display:block;font-size:15px;margin-bottom:8px}.empty p{font-size:12px;color:var(--muted);margin:0}.info-strip{display:flex;align-items:center;gap:17px;border:1px solid #213148;background:#0d1725;border-radius:8px;padding:18px 23px;margin-top:22px}.info-strip>span{font-size:25px;color:#5d99db}.info-strip p{font-size:11px;line-height:1.7;margin:0}.page-footer{border-top:1px solid var(--border);margin-top:40px;padding-top:18px;display:flex;justify-content:space-between;color:#667993;font-size:9px;letter-spacing:1.4px}.page-footer span{font-size:10px;letter-spacing:0}.notice{padding:15px 18px;border-radius:7px;border:1px solid #674f28;background:#2c2519;color:#f2d197;margin-bottom:20px;font-size:12px;line-height:1.7}.notice.error{border-color:#753c4c;background:#301c26;color:#ffc0cb}.loading{color:var(--blue-light);font-size:12px;margin:15px 0}.tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.tool-icon{width:42px;height:42px;display:grid;place-items:center;color:#8fc1ff;background:#1d3657;border-radius:9px;font-size:22px;margin-bottom:22px}label{display:block;font-size:12px;color:#c8d5e7;margin:16px 0 8px}input,textarea,select{display:block;width:100%;background:#0a121f;border:1px solid #34445e;border-radius:6px;color:var(--text);padding:11px 12px;margin-top:8px;font-size:12px}input::placeholder,textarea::placeholder{color:#657997}textarea{resize:vertical;line-height:1.65}.code-input{font-family:Consolas,monospace;font-size:12px;margin-bottom:18px;tab-size:2}form>.button{margin-top:15px}.login-screen{min-height:100vh;display:grid;place-items:center;padding:30px;background:radial-gradient(ellipse at 50% 25%,#12284a 0,transparent 65%)}.login-card{max-width:520px;width:100%;padding:45px;border:1px solid #2a3b57;background:#0e1828;border-radius:18px;text-align:center;box-shadow:0 30px 100px #0004}.login-logo{height:140px;width:140px;object-fit:contain;margin-bottom:24px}.login-card h1{font-size:37px;line-height:1.2}.login-card .button{margin:15px 0 18px}.login-card .small{margin:0}dialog{max-width:780px;width:calc(100% - 32px);max-height:90vh;overflow:auto;background:#111c2c;color:var(--text);border:1px solid #354b6c;border-radius:14px;padding:28px;box-shadow:0 30px 150px #000a}dialog::backdrop{background:#020610bf;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:20px}.dialog-heading h2{font-size:23px}.icon-button{background:#213049;border:0;border-radius:6px;color:#bed0e9;font-size:22px;width:30px;height:30px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-bottom:1px solid var(--border);padding-bottom:20px;margin-bottom:20px}.detail-grid div{font-size:12px;overflow-wrap:anywhere}.detail-grid small{display:block;color:var(--muted);margin-bottom:6px;font-size:10px}.answer{padding:14px 0;border-bottom:1px solid #233148}.answer h3{font-size:12px;color:#c1d4ee;margin-bottom:8px}.answer p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;flex-wrap:wrap}.toast{position:fixed;bottom:25px;right:25px;max-width:500px;z-index:20;padding:16px 20px;border:1px solid #355f86;background:#152c45;color:#dbeeff;border-radius:9px;box-shadow:0 10px 50px #0008;font-size:13px;line-height:1.6}.toast.error{border-color:#8b4457;background:#3a202b}.delivery-detail{margin-top:15px}.delivery-detail p{font-size:12px;margin:6px 0;overflow-wrap:anywhere}
@media(min-width:1500px){.content{padding-top:45px}.hero{height:290px}.hero img{height:245px}.hero h2{font-size:38px}}@media(max-width:1150px){.sidebar{width:215px}.shell>main{margin-left:215px}.content{padding:26px}.topbar{padding:0 26px}.stats-grid{grid-template-columns:repeat(2,1fr)}.hero{padding:28px}.hero img{height:190px;width:170px;margin:0}.hero h2{font-size:28px}.toolbar{flex-wrap:wrap}}@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:100%;padding:15px;border-right:0;border-bottom:1px solid var(--border)}.brand{padding:0 6px 15px;font-size:20px}.brand img{height:40px;width:35px}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:4px}.nav-button{flex-shrink:0;width:auto;padding:10px;font-size:11px;margin:0;gap:6px}.nav-button>span:first-child{font-size:14px;width:auto}.shell>main{margin:0}.topbar{height:58px;padding:0 18px}.content{padding:24px 18px}.breadcrumb{display:none}.account{gap:7px;font-size:11px}.page-heading{align-items:flex-start}.page-heading h1{font-size:26px}.page-heading .muted{font-size:12px}.hero{height:220px;padding:25px}.hero h2{font-size:26px}.hero img{width:115px;height:160px}.hero-label{font-size:8px;letter-spacing:1px}.hero p{font-size:10px}.stat{padding:17px}.stat strong{font-size:25px}.stat small{font-size:9px}.stats-grid{gap:10px}.data-table th,.data-table td{padding:13px}.tools-grid{grid-template-columns:1fr}.search{max-width:none}.toolbar{gap:12px}.tabs button{padding:8px 10px}.login-card{padding:30px 23px}.login-card h1{font-size:30px}.toast{left:18px;right:18px;bottom:18px}.detail-grid{grid-template-columns:1fr 1fr}dialog{padding:22px}.dialog-actions .button{flex-grow:1}.info-strip{padding:16px}.page-footer{line-height:1.7}}
.builder-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0}.builder-toggle{display:flex;align-items:center;gap:9px;margin:14px 0}.builder-toggle input{display:inline-block;width:auto;margin:0}.builder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}.embed-editor{border:1px solid #34445e;padding:18px;border-radius:8px;margin:15px 0}.embed-editor>button{margin:10px 6px 14px 0}.builder-field{border-top:1px solid #34445e;margin:16px 0;padding:12px 0}.builder-field button{margin:0 8px 8px 0}#dm-builder details{padding:14px 0;border-bottom:1px solid #34445e}#dm-builder summary{cursor:pointer;font-weight:600}#dm-builder input[type="color"]{height:43px;padding:3px}.dm-preview{background:#313338;border-radius:8px;padding:22px;margin:18px 0;overflow-wrap:anywhere}.preview-embed{border:1px solid #24262a;border-left:4px solid #008cff;background:#2b2d31;max-width:640px;padding:16px;border-radius:5px;margin-top:15px;overflow:hidden}.preview-embed h4{font-size:17px;color:#62b1ff;margin:12px 0}.preview-text{white-space:pre-wrap;font-size:14px;line-height:1.5}.preview-thumbnail{width:80px;height:80px;object-fit:contain;float:right;margin-left:15px}.preview-image{max-width:100%;max-height:350px;display:block;object-fit:contain;margin:15px 0}.preview-icon{height:23px;width:23px;border-radius:50%;object-fit:cover}.preview-author{display:flex;align-items:center;gap:8px}.preview-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.full-field{grid-column:1/-1}.preview-button{display:inline-block;background:#4e5058;border-radius:4px;padding:8px 14px;font-size:13px}@media(max-width:760px){.builder-grid{grid-template-columns:1fr}.preview-fields{grid-template-columns:1fr}.inline-field{grid-column:1/-1}}

/* Feedback stays inside the page or active dialog, above its backdrop. */
.feedback{display:flex;align-items:flex-start;gap:13px;padding:16px 18px;margin:0 0 20px;border:1px solid #255444;border-radius:10px;background:#112a24;color:#d0f6e8;overflow-wrap:anywhere}
.feedback-icon{display:grid;place-items:center;flex:0 0 26px;height:26px;border-radius:50%;background:#22533e;color:#a0f1c9;font-size:17px;font-weight:700}
.feedback-copy{flex:1;min-width:0}.feedback-copy strong{display:block;font-size:13px;margin:2px 0 5px}.feedback-copy p{font-size:13px;line-height:1.6;margin:0;white-space:pre-wrap}.feedback .icon-button{flex:0 0 auto;font-size:22px;padding:0 3px;line-height:1.2;color:inherit}
.feedback-error{background:#301c26;border-color:#753c4c;color:#ffc0cb}.feedback-error .feedback-icon{background:#613242;color:#ffd9e0}.dialog-feedback{margin-top:12px}
.confirmation-dialog{max-width:520px;padding:30px}.confirmation-symbol{display:grid;place-items:center;width:48px;height:48px;border:1px solid #315c93;background:#162d4c;color:#89c6ff;border-radius:14px;font-size:25px;margin-bottom:22px}.confirmation-message{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);line-height:1.75}.confirmation-dialog h2{font-size:23px;margin-bottom:14px}.confirmation-dialog .dialog-actions{border-top:1px solid var(--border);padding-top:20px}.confirmation-dialog::backdrop{background:#020610d9}

.permission-choices{border:1px solid var(--border);border-radius:10px;padding:6px 18px;margin:18px 0}.permission-choices .builder-toggle{align-items:flex-start;padding:7px 0}.badge.enabled{color:var(--green)}.badge.blocked{color:var(--danger)}

/* A single outline icon style is used across navigation, tools and feedback. */
.icon{display:inline-block;width:20px;height:20px;flex:0 0 20px;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav-button>.icon{width:19px;height:19px;flex-basis:19px}.button>.icon,.text-button>.icon{width:16px;height:16px;flex-basis:16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px}.feedback-icon .icon{width:17px;height:17px;flex-basis:17px}.icon-button .icon{width:19px;height:19px}.tool-icon .icon{width:25px;height:25px}.confirmation-symbol .icon{width:25px;height:25px}.system-stats .stat strong{font-size:22px;overflow-wrap:anywhere}.system-strip{display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;color:var(--muted);font-size:11px;margin:0 0 28px}.system-strip>span{display:flex;align-items:center;gap:7px}.system-strip .icon{width:15px;height:15px;flex-basis:15px}.access-denied{padding:24px 20px;margin-top:22px;border:1px solid #754356;border-radius:10px;background:#281b26}.access-denied h2{margin:12px 0 8px}.access-denied p{font-size:14px;color:#edbdc9}.access-denied-icon{color:#eea0b6}.access-denied-icon .icon{width:30px;height:30px}.file-toolbar{display:flex;gap:8px;flex-wrap:wrap}.file-breadcrumb{font-family:Consolas,monospace;font-size:13px;background:#101b2c;padding:13px 16px;border:1px solid var(--border);border-radius:8px;overflow-wrap:anywhere}.file-editor-content{min-height:380px;tab-size:4;white-space:pre;overflow:auto}.console-filters{display:grid;grid-template-columns:160px 1fr auto;gap:16px;align-items:end;margin-bottom:18px}.console-filters label{margin:0}.console-filters .button{margin-bottom:7px}.console-list{background:#08111d;border:1px solid var(--border);border-radius:10px;padding:10px;min-height:340px;max-height:65vh;overflow:auto}.console-event{display:grid;grid-template-columns:160px 75px 1fr;column-gap:12px;padding:12px;border-bottom:1px solid #1a2b40;font-size:12px}.console-event time{color:var(--muted)}.console-event strong{font-weight:500;color:#9db6d4;overflow-wrap:anywhere}.console-event pre{font-family:Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;grid-column:1/-1;margin:9px 0 0;line-height:1.6}.console-level{color:#73b4ff;font-size:10px;font-weight:700;letter-spacing:.7px}.console-event.warning .console-level{color:#f2d197}.console-event.error .console-level,.console-event.critical .console-level{color:#ff9fb0}@media(max-width:760px){.console-filters{grid-template-columns:1fr}.console-event{grid-template-columns:1fr 70px}.console-event strong{grid-column:1/-1;margin-top:6px}.file-editor-content{min-height:280px}.file-toolbar{width:100%}.file-toolbar .button{flex:1}.system-stats .stat strong{font-size:18px}}

.workflow-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:30px}.workflow-stats strong{display:block;font-size:24px;margin-top:10px}.workflow-stats .small{font-size:9px;letter-spacing:.8px}.console-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;flex-wrap:wrap}@media(max-width:760px){.workflow-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workflow-stats .card{padding:16px}}

/* Black iOS-inspired department interface: system typography, grouped surfaces and clear controls. */
:root{--bg:#000;--surface:#151517;--surface2:#1c1c1e;--border:#303033;--text:#f5f5f7;--muted:#aaaab1;--blue:#0a84ff;--blue-light:#70b6ff;--danger:#ff6961;--green:#66d98b;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;color-scheme:dark}
body{background:#000;color:var(--text);-webkit-font-smoothing:antialiased}.shell{background:#000}.sidebar{background:rgba(13,13,15,.94);backdrop-filter:blur(24px);border-color:#242426}.topbar{background:rgba(0,0,0,.82);backdrop-filter:blur(20px);border-color:#242426}.brand{letter-spacing:1px}.brand small{letter-spacing:1.6px;color:#9a9aa2}.nav-label{color:#8e8e93;letter-spacing:1.3px}.nav-button{border-radius:12px;font-weight:500;letter-spacing:0;color:#bcbcc3;transition:background .16s,color .16s}.nav-button:hover{background:#202023;color:#fff}.nav-button.active{background:#183451;color:#8fc6ff}.nav-button .icon{stroke-width:1.7}.sidebar-bottom{border-color:#303033}.topbar .breadcrumb{color:#85858e}.content{max-width:1580px;margin:auto}.page-heading h1{font-size:34px;letter-spacing:-1.1px;font-weight:700}.eyebrow{letter-spacing:1.5px;color:#9d9da6}.card,.stat{background:#151517;border:1px solid #2c2c30;border-radius:18px;box-shadow:none}.card.padded{padding:24px}.stat{padding:23px}.stat strong{font-weight:650;letter-spacing:-.7px}.stat small,.stat span{color:#a8a8b0}.hero{background:linear-gradient(120deg,#161719,#0a0b0d);border:1px solid #303036;border-radius:22px;box-shadow:none}.hero h2{letter-spacing:-1px}.hero-label{color:#9dcaff}.section-heading h2{font-weight:600;letter-spacing:-.3px}.button{min-height:40px;border:1px solid #414146;background:#27272b;border-radius:12px;color:#f5f5f7;padding:10px 15px;font-weight:550;box-shadow:none}.button:hover{background:#38383e;border-color:#5b5b65}.button.primary{background:#0a6ee0;border-color:#0a6ee0;color:#fff}.button.primary:hover{background:#2388f6;border-color:#2388f6}.button.danger{background:#a82e2a;border-color:#c1443f;color:#fff}.button:disabled{opacity:.43;cursor:not-allowed}.text-button{color:#80baff}.icon-button{color:#bcbcc3}.tabs{background:#1c1c1f;border:1px solid #343438;border-radius:12px;padding:4px}.tabs button{color:#aaaab2;border-radius:8px;background:transparent;border:0}.tabs button.active{color:#fff;background:#3b3b40;box-shadow:0 1px 4px #0006}input,select,textarea{background:#101012!important;border-color:#3c3c42!important;border-radius:11px!important;color:#f5f5f7}input:focus,select:focus,textarea:focus{border-color:#479ef7!important;box-shadow:0 0 0 3px #0a84ff22}input[type=checkbox]{accent-color:#0a84ff;width:18px;height:18px;flex-shrink:0}.builder-toggle{color:#e0e0e6}.data-table th{background:#1a1a1e;color:#a5a5af;font-size:10px;letter-spacing:.7px}.data-table td,.data-table th{border-color:#2b2b30;padding:16px}.data-table tbody tr:hover{background:#1d1d22}.data-table td small{color:#9999a4}.badge{border-radius:7px;background:#29292e;border:1px solid #3b3b42;letter-spacing:.1px}.badge.pending,.badge.processing{background:#312b1b;color:#f2ce77;border-color:#594b2b}.badge.approved,.badge.assigned,.badge.enabled{background:#183421;color:#89e3a4;border-color:#34563d}.badge.rejected,.badge.needsattention,.badge.blocked{background:#391e20;color:#ffb0b0;border-color:#68363a}.nav-count{background:#303039;color:#d8d8e0;border-radius:7px}.info-strip{background:#17171b;border-color:#34343b;border-radius:16px}.page-footer{color:#777780;border-color:#303034}.notice{background:#292519;border-color:#5d5030;border-radius:12px}.notice.error{background:#301d21;border-color:#63323a}.feedback{border-radius:14px}.feedback-success{background:#163022;border-color:#315741}.feedback-error{background:#301d23;border-color:#69404a}dialog{background:#1b1b1f;border-color:#4b4b54;border-radius:22px;box-shadow:0 28px 90px #000c;padding:28px}dialog::backdrop{background:#000a;backdrop-filter:blur(9px)}.dialog-heading h2{letter-spacing:-.5px}.confirmation-symbol{border-color:#3b5570;background:#172b40;color:#91caff}.confirmation-dialog .dialog-actions{border-color:#3c3c44}.permission-choices{border-color:#3b3b44;background:#151518;border-radius:14px}.login-card{background:#151518;border-color:#33333b;border-radius:26px;box-shadow:0 30px 100px #000b}.login-screen{background:#050506}.login-card h1{letter-spacing:-1.2px}.access-denied{background:#2c1c21;border-color:#65414b;border-radius:16px}.file-breadcrumb{background:#151518;border-color:#34343d;border-radius:12px;padding:15px;color:#d5d5df}.file-toolbar{align-items:center}.file-toolbar .button{white-space:nowrap}.file-editor-content,.code-input{font-family:"SFMono-Regular",Consolas,monospace;background:#0b0b0e!important}.console-list{background:#0b0b0d;border-color:#33333b;border-radius:16px}.console-event{border-color:#28282e}.console-event strong{color:#c1c1cd}.console-event pre{color:#e3e3ed}.empty{padding:34px 22px}.member-section{border-top:1px solid #36363e;padding-top:20px;margin-top:24px}.member-section h3{font-size:15px}.member-note{padding:14px 16px;border:1px solid #3b3b42;border-radius:12px;background:#141417;margin:12px 0}.member-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin-bottom:8px}.member-note .text-button{display:block;margin-top:12px}.danger-text{color:#ff9b96}.detail-grid{gap:18px}.system-strip{color:#aaaab4}.tool-icon{background:#25252d;color:#8ebfff;border-color:#393944}.workflow-stats .card{border-radius:18px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media(max-width:1000px){.file-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.file-toolbar .button{white-space:normal}.page-heading h1{font-size:30px}}@media(max-width:760px){.sidebar{position:sticky;top:0;z-index:5;background:#0d0d0ff0;backdrop-filter:blur(24px)}.sidebar nav{padding-bottom:4px}.brand{font-size:18px}.nav-button{min-height:40px;padding:10px 13px}.content{padding:24px 16px}.page-heading h1{font-size:29px}.topbar{padding:0 16px}.stat{padding:18px;border-radius:16px}.hero{border-radius:18px}.card.padded{padding:20px}input,select,textarea{font-size:16px}.button{min-height:43px}dialog{padding:22px;border-radius:20px}.dialog-actions{gap:9px}.file-editor-content{font-size:13px}.toolbar .search{width:100%}.data-table td,.data-table th{padding:14px}.member-section{margin-top:18px}.file-toolbar{gap:9px}}

/* Member self-service follows the existing black grouped-card design. */
.profile-summary {display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
.profile-summary .detail-grid {flex:1;min-width:250px;}
.profile-avatar {width:80px;height:80px;object-fit:cover;border-radius:24px;border:1px solid var(--line);}
.notification-unread {border-left:3px solid var(--blue);}
.badge.scheduled,.badge.on.leave {background:rgba(10,132,255,.14);color:#64b5ff;}
.badge.completed {background:rgba(48,209,88,.14);color:#6ce38b;}
.badge.resigned,.badge.cancelled {background:rgba(142,142,147,.16);color:#b8b8c0;}
#personnel-detail .answer p,#profile-notifications p {white-space:pre-wrap;overflow-wrap:anywhere;}
@media(max-width:600px){.profile-summary{gap:14px}.profile-summary .detail-grid{min-width:100%;}.profile-avatar{width:64px;height:64px;border-radius:20px;}}
