:root{font-family:Inter,"Segoe UI",sans-serif;color:#183149;background:#f4f6fa;font-synthesis:none;font-size:14px;--navy:#142c45;--ink:#17334e;--muted:#6c7e91;--blue:#2864d8;--line:#e4eaf1;--green:#12846c;--red:#b84545}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid transparent;border-radius:8px;padding:11px 16px;font-weight:600;color:var(--ink);transition:background .15s,box-shadow .15s}button:disabled{opacity:.45;cursor:not-allowed}button:hover:enabled{filter:brightness(.96)}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #72a5ff;outline-offset:3px}input,select,textarea{border:1px solid #ced8e4;border-radius:7px;padding:11px 12px;background:#fff;color:var(--ink);width:100%;min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #92b7ff;outline-offset:1px}input[type=checkbox]{width:18px;height:18px;accent-color:var(--blue)}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#485e74}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin-bottom:9px}h2{font-size:23px;letter-spacing:-.5px;margin-bottom:10px}h3{font-size:16px;margin-bottom:8px}.muted{color:var(--muted);line-height:1.65}.eyebrow{display:block;font-size:10px;letter-spacing:1.6px;font-weight:750;color:#71849a;margin-bottom:12px}.eyebrow.light{color:#8dc2d1}.primary{background:var(--blue);color:white}.secondary{background:white;border-color:#dbe3ed}.danger{background:#fff0ef;border-color:#edcccc;color:var(--red)}.text-button{background:transparent;color:var(--blue);padding:10px 0}.wide{width:100%}[hidden]{display:none!important}.wordmark{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:700;letter-spacing:-.6px}.brand-symbol{height:39px;width:39px;background:#eff7fa;color:#1d596b;display:grid;place-items:center;border-radius:11px;font-size:24px;font-weight:800}.brand-sub{display:block;font-size:8px;letter-spacing:1.7px;margin-top:6px;color:#a2b7c9}.login-screen{min-height:100vh;display:grid;grid-template-columns:minmax(380px,.95fr) 1.05fr}.login-story{background:var(--navy);color:white;padding:46px 52px;display:flex;flex-direction:column;position:relative;overflow:hidden}.login-story:after{content:"";width:500px;height:500px;border:1px solid #6fa5b726;position:absolute;border-radius:50%;bottom:-235px;right:-260px;box-shadow:0 0 0 65px #6fa5b708,0 0 0 130px #6fa5b708;pointer-events:none}.story-copy{margin:auto 0;padding:70px 0}.story-copy h1{font-size:clamp(40px,4.5vw,64px);line-height:1.12;letter-spacing:-2.6px;font-weight:600;margin-bottom:28px}.story-copy p{color:#bed0df;font-size:16px;line-height:1.8}.story-features{display:flex;gap:18px;flex-wrap:wrap;margin-top:36px}.story-features span{font-size:11px;border-left:2px solid #55b7ad;padding-left:10px;color:#d9e8f0}.story-footer{color:#8ea9bc;font-size:11px;display:flex;justify-content:space-between}.login-main{display:flex;align-items:center;justify-content:center;padding:50px;background:#fff}.login-card{width:390px}.login-card label{margin:25px 0 18px}.login-card .primary{display:flex;justify-content:space-between;margin-top:20px}.login-card .text-button{display:block;margin:10px auto}.login-note{font-size:12px;color:#8897a8;line-height:1.7;margin:30px 0 0;padding-top:22px;border-top:1px solid var(--line)}.connection-settings{font-size:12px;color:#7a8c9f;margin-top:23px}.connection-settings summary{cursor:pointer}.error-text{font-size:12px;line-height:1.6;color:var(--red);white-space:pre-line}.app-shell{display:grid;grid-template-columns:244px 1fr;min-height:100vh}.sidebar{background:var(--navy);color:white;padding:28px 19px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.sidebar .wordmark{padding:0 9px}.sidebar .wordmark .brand-symbol{width:32px;height:34px;border-radius:9px;font-size:21px}.sidebar .wordmark{font-size:20px}.sidebar .brand-sub{font-size:7px;letter-spacing:1.5px}.nav-caption{font-size:9px;letter-spacing:1.7px;color:#7793ac;margin:42px 15px 13px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-button{background:transparent;color:#a9becf;display:flex;align-items:center;gap:13px;text-align:left;padding:13px 15px;font-weight:500;font-size:12px;min-height:45px}.nav-button svg{width:18px;height:18px;flex-shrink:0;opacity:.85}.nav-button.active{color:white;background:#28455f;box-shadow:inset 3px 0 #67c1b1}.nav-button:hover:enabled{background:#213d56}.nav-badge{margin-left:auto;min-width:20px;line-height:20px;border-radius:5px;background:#b95c47;color:white;text-align:center;font-size:10px}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff13;padding:20px 12px 0;font-size:10px;color:#9ab2c5}.connection-dot{display:inline-block;background:#58b8a4;width:6px;height:6px;border-radius:50%;margin-right:5px}.sidebar-bottom #signed-user{margin:14px 0 8px;font-size:13px;color:white}.sidebar-logout{background:transparent;color:#9ab2c5;padding:5px 0;font-size:11px}.workspace{display:flex;flex-direction:column;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:12px}.breadcrumb{font-size:11px;color:#8292a4;display:flex;gap:13px;align-items:center}.breadcrumb strong{font-weight:500;color:#455f79}.topbar-actions{display:flex;gap:18px;align-items:center}.role-label{color:#718198;font-size:10px}.avatar{background:#ebf0f8;color:#31567b;display:grid;place-items:center;width:33px;height:33px;border-radius:50%;font-weight:700;font-size:12px}.notification-button{background:#fff2e3;color:#a06420;font-size:11px;padding:8px 11px}#main{padding:35px 36px 24px;flex:1;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-heading .eyebrow{margin-bottom:10px;font-size:9px}.page-heading .muted{margin-bottom:0;font-size:12px}.page-heading h1{font-weight:650}.refresh-button{font-size:11px;flex-shrink:0;padding:10px 14px}.notice{padding:14px 17px;border-radius:8px;font-size:12px;line-height:1.7;margin-bottom:20px}.warning{background:#fff5df;color:#886020;border:1px solid #f0e0bb}.error{background:#fff0ef;border:1px solid #f2d3d1;color:#a23b3b}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:27px}.stat{background:#fff;border:1px solid var(--line);border-radius:11px;padding:22px;position:relative}.stat-label{font-size:11px;color:#70839a}.stat-value{display:block;font-size:33px;font-weight:600;letter-spacing:-1.3px;margin:14px 0 9px}.stat-note{font-size:10px;color:#8594a5}.stat-icon{position:absolute;right:19px;top:17px;color:#7494b2;background:#f0f4fa;border-radius:8px;padding:7px;display:grid;place-items:center}.stat-icon svg{width:17px;height:17px}.dashboard-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:22px}.card{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:22px}.card-header{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid #edf0f5;gap:14px}.card-header h3{margin:0;font-size:14px}.card-body{padding:22px 24px}.queue-item{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid #eff2f6}.queue-item:first-child{padding-top:0}.queue-item:last-child{border:0;padding-bottom:0}.queue-label{font-size:12px;font-weight:600}.queue-note{display:block;font-size:10px;color:var(--muted);margin-top:7px;font-weight:400}.queue-number{display:block;font-size:22px;font-weight:600;margin-left:auto}.queue-item button{font-size:10px;padding:8px 12px}.activity-item{display:flex;gap:14px;padding:13px 0}.activity-dot{width:8px;height:8px;border-radius:50%;background:#6c9bc3;margin-top:5px;flex-shrink:0}.activity-main{font-size:11px;line-height:1.7}.activity-main small{display:block;color:var(--muted);font-size:10px}.toolbar{display:flex;gap:13px;flex-wrap:wrap;align-items:end;padding:20px 23px;border-bottom:1px solid var(--line)}.toolbar label{min-width:145px;flex:1;max-width:230px;font-size:10px}.toolbar label.search-field{max-width:340px;min-width:230px;flex:2}.toolbar button{font-size:11px;margin-bottom:0}.table-meta{font-size:10px;color:#8393a4;padding:14px 24px;border-bottom:1px solid #eef1f5;display:flex;justify-content:space-between;align-items:center}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:9px;color:#8595a5;font-weight:600;letter-spacing:.4px;text-transform:uppercase;background:#fafbfd;padding:14px 20px;white-space:nowrap}td{padding:16px 20px;border-top:1px solid #eef2f6;font-size:11px;line-height:1.6;max-width:340px;overflow-wrap:anywhere}td:first-child{font-weight:600}.cell-note{display:block;color:#8b9aab;font-size:10px;font-weight:400}.row-action{padding:7px 10px;font-size:10px;background:#eff4fc;color:#3765a0;white-space:nowrap}.pill{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;border-radius:5px;font-size:9px;font-weight:600;line-height:1.4;padding:5px 8px;background:#edf2f8;color:#667c96}.pill:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.pill.good{background:#edf8f3;color:#2c8b6b}.pill.bad{background:#fff0ee;color:#ba6555}.pill.pending{background:#fff6e6;color:#ac7d2c}.empty{padding:48px 25px;text-align:center;color:#8191a4;font-size:12px;line-height:1.8}.empty strong{color:#425d78;display:block;margin-bottom:6px;font-size:15px}.pagination{padding:16px 23px;display:flex;gap:12px;justify-content:flex-end;align-items:center;border-top:1px solid var(--line);font-size:11px}.pagination button{font-size:10px}.security-panel{max-width:850px}.security-panel p{font-size:12px;line-height:1.9;color:var(--muted)}.security-status{padding:17px;background:#f3f7fc;border:1px solid #dfe8f3;border-radius:8px;margin:20px 0;font-size:12px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .full{grid-column:1/-1}.form-stack{display:flex;flex-direction:column;gap:18px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:21px;border-top:1px solid var(--line)}.check-label{display:flex;flex-direction:row;align-items:center;gap:10px}.detail-metadata{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:20px 0}.detail-metadata dt{font-size:10px;color:var(--muted);margin-bottom:7px}.detail-metadata dd{margin:0;font-size:12px;overflow-wrap:anywhere}.section-heading{font-size:12px;font-weight:700;margin:25px 0 15px;padding-top:22px;border-top:1px solid var(--line)}.section-actions{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}.helper{font-size:11px;line-height:1.8;color:var(--muted)}.lyrics{white-space:pre-wrap;line-height:1.9;font-size:14px;padding:20px;background:#f7f9fc;border:1px solid var(--line);border-radius:8px;max-height:350px;overflow:auto}.secret{min-height:58px;font:14px/1.8 Consolas,monospace;white-space:pre;resize:vertical;min-width:0}.tab-buttons{display:flex;gap:8px;margin-bottom:24px}.tab-buttons button{background:#edf2f8;font-size:11px}.tab-buttons button.active{background:var(--navy);color:white}.workspace-footer{padding:18px 36px;display:flex;justify-content:space-between;color:#95a2b3;font-size:9px;border-top:1px solid var(--line)}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:min(600px,90vw);padding:15px 24px;border-radius:9px;background:#183c55;color:white;font-size:12px;z-index:10;box-shadow:0 12px 35px #142c4533}dialog{border:0;border-radius:13px;padding:0;width:min(680px,calc(100vw - 32px));max-height:90vh;box-shadow:0 30px 100px #0d243c45;overflow:auto;color:var(--ink)}dialog::backdrop{background:#11284180;backdrop-filter:blur(2px)}.modal-head{display:flex;justify-content:space-between;gap:20px;padding:25px 29px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.modal-head .eyebrow{font-size:8px;margin-bottom:8px}.modal-head h2{margin:0;font-size:21px}.icon-button{padding:5px 10px;background:transparent;font-size:24px;color:#7e90a4}.modal-head .icon-button{align-self:start}#modal-body{padding:25px 29px 29px}.mobile-only{display:none}.skeleton{padding:60px;text-align:center;color:#8b9cb0}.skeleton:before{content:"";display:block;width:25px;height:25px;border:2px solid #dce4ef;border-top-color:#2864d8;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 20px}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(min-width:1600px){#main{max-width:1500px;width:100%;margin:auto}}@media(max-width:1150px){.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.app-shell{grid-template-columns:218px 1fr}.sidebar{padding:25px 12px}.role-label{display:none}#main{padding:28px 24px}.topbar{padding:0 24px}.login-story{padding:35px}.story-footer{flex-direction:column;gap:10px}}@media(max-width:760px){.login-screen{display:block}.login-story{min-height:200px;padding:25px}.story-copy{padding:30px 0 10px}.story-copy h1{font-size:32px;letter-spacing:-1px}.story-copy p,.story-features,.story-footer{display:none}.login-main{padding:35px 25px}.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;width:244px;z-index:5;transform:translateX(-100%);transition:transform .2s}.app-shell.menu-open .sidebar{transform:translateX(0);box-shadow:10px 0 80px #0d243c55}.mobile-only{display:block}.topbar{padding:0 16px;height:64px}.breadcrumb{font-size:10px;gap:6px}.topbar-actions{gap:8px}.notification-button{max-width:125px}.page-heading{align-items:flex-start}.page-heading h1{font-size:25px}#main{padding:25px 16px}.refresh-button{font-size:0;padding:10px}.refresh-button:first-letter{font-size:15px}.stats-grid{gap:10px}.stat{padding:17px}.stat-icon{display:none}.stat-value{font-size:28px}.toolbar{padding:16px}.toolbar label,.toolbar label.search-field{max-width:none;min-width:130px}.table-meta{padding:13px 16px}th,td{padding:13px 15px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.workspace-footer{padding:16px}.workspace-footer span:last-child{display:none}.card-header,.card-body{padding:18px}#modal-body{padding:20px}.modal-head{padding:20px}.detail-metadata{grid-template-columns:1fr}.story-copy .eyebrow{font-size:8px}}
fieldset.form-grid{border:0;padding:0;margin:0}

/* Administration lists: readable controls, clear organization context and compact actions. */
.searchable-select{display:flex;flex-direction:column;gap:7px;min-width:160px;flex:1;max-width:260px}
.searchable-select>input{order:1;font-size:12px;background:#f8fafc;padding:9px 11px}
.searchable-select>label{order:0;font-size:11px}
.select-count{order:2;font-size:10px;color:var(--muted);font-weight:400}
.select-count:empty{display:none}
.form-grid .searchable-select{max-width:none}
.scope-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:19px 23px;margin-bottom:20px;background:#edf4ff;border:1px solid #ccdef8;border-left:4px solid var(--blue);border-radius:10px}
.scope-panel .eyebrow{margin-bottom:7px;font-size:9px;color:#51749e}
.scope-panel strong{font-size:17px;margin-right:12px}
.scope-panel .section-actions{margin:0}
.quick-actions,.row-actions{display:flex;gap:8px;flex-wrap:wrap}
.quick-actions{margin:18px 0}
.row-actions .row-action{min-height:34px}
.pagination{flex-wrap:wrap;justify-content:flex-end}
.pagination select{width:auto;font-size:12px;padding:8px 10px}
tbody tr:hover{background:#f5f8fe}
.toolbar label{font-size:11px}
th{font-size:10px}td{font-size:12px}.row-action{font-size:11px}.pill{font-size:10px}
.form-grid label{font-size:12px}
@media(max-width:760px){.scope-panel{align-items:stretch;flex-direction:column;padding:16px}.scope-panel .section-actions button{flex:1}.searchable-select{max-width:none;min-width:140px}.pagination{justify-content:center;gap:9px}.quick-actions button{flex:1}.toolbar .search-field{flex-basis:100%}.row-actions{flex-direction:column}}
.searchable-select>select{order:2}.searchable-select>.select-count{order:3}.searchable-select>label{display:block}
.toolbar .searchable-select{min-width:220px}
@media(max-width:760px){.toolbar label.search-field,.toolbar .searchable-select{flex:1 0 100%;max-width:none;min-width:0}.table-scroll table{min-width:680px}.table-scroll::before{content:"Glisează tabelul pentru toate coloanele →";display:block;padding:12px 15px;font-size:11px;color:var(--muted)}.scope-panel strong{display:block;margin-bottom:9px}}
.role-hint{font-size:11px;line-height:1.6;color:var(--muted);font-weight:400}
