:root{font-family:Space Grotesk,Avenir Next,sans-serif;color:#0f172a;background-color:#eef1f7}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(circle at top left,#f8fafc,#e2e8f0 55%,#dbe2ea)}a{color:inherit}.app{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:2rem}.card{width:min(420px,100%);background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 20px 50px #0f172a1f;display:grid;gap:1.5rem}.header h1{margin:.3rem 0 0;font-size:2rem}.eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:.7rem;margin:0;color:#64748b}.subtitle{margin:.4rem 0 0;color:#475569}.form{display:grid;gap:1rem}label{display:grid;gap:.4rem;font-size:.9rem;color:#1e293b}input{border:1px solid #cbd5f5;border-radius:12px;padding:.7rem .9rem;font-size:1rem;transition:border-color .2s ease}select{border:1px solid #cbd5f5;border-radius:12px;padding:.55rem 2.2rem .55rem .9rem;font-size:1rem;background-color:#fff;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12'><path fill='none' stroke='%2364748b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M3 5l3 3 3-3'/></svg>");background-repeat:no-repeat;background-position:right .9rem center;background-size:12px 12px;-moz-appearance:none;appearance:none;-webkit-appearance:none}input:focus,select:focus,textarea:focus{outline:none;border-color:#2563eb}input[aria-invalid=true],select[aria-invalid=true],textarea[aria-invalid=true]{border-color:#dc2626;background-color:#fef2f2}input[aria-invalid=true]:focus,select[aria-invalid=true]:focus,textarea[aria-invalid=true]:focus{border-color:#b91c1c}.fieldError{display:block;margin-top:.25rem;min-height:1.05rem;font-size:.78rem;line-height:1.05rem;color:#b91c1c}button{border:none;border-radius:999px;padding:.8rem 1.2rem;font-size:1rem;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}button:disabled{opacity:.7;cursor:default}.primary{background:#1d4ed8;color:#fff;box-shadow:0 12px 20px #2563eb33}.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 14px 26px #2563eb4d}.secondary{background:#e2e8f0;color:#0f172a}.secondary:hover:not(:disabled){transform:translateY(-1px)}.error{color:#dc2626;margin:0}.footer{font-size:.75rem;color:#94a3b8;text-align:center}.shell{height:100vh;display:grid;grid-template-columns:300px 1fr;overflow:hidden}.sidebar{background:linear-gradient(180deg,#0b1220,#111b33);color:#e2e8f0;padding:1.25rem;display:grid;grid-template-rows:auto 1fr auto;gap:1.25rem;height:100vh;overflow-y:auto}.sidebar>.nav{overflow-y:auto}.brand{display:flex;align-items:center;gap:.75rem}.brandMark{width:44px;height:44px;border-radius:14px;background:radial-gradient(circle at 30% 30%,#60a5fa,#1d4ed8 60%,#0b1220);box-shadow:inset 0 0 0 1px #ffffff1f}.brandName{font-weight:700;letter-spacing:.02em}.brandSub{font-size:.8rem;color:#e2e8f0b3}.nav{display:flex;flex-direction:column;gap:4px}.navItem{display:flex;align-items:center;text-decoration:none;height:36px;padding:0 .75rem;border-radius:12px;color:#e2e8f0e6;background:transparent;line-height:1;font-size:.95rem;margin:0;white-space:nowrap}.navItem:hover{background:#ffffff0f}.navItem.active{background:#60a5fa29;color:#fff}.navGroup{display:flex;flex-direction:column;gap:4px}.navGroupHeader{display:flex;align-items:center;justify-content:space-between;width:100%;height:36px;padding:0 .75rem;border:0;border-radius:12px;background:transparent;color:#e2e8f0e6;font:inherit;font-size:inherit;text-align:left;cursor:pointer}.navGroupHeader:hover{background:#ffffff0f}.navGroupHeader.active{color:#fff}.navChevron{font-size:.75rem;color:#e2e8f099}.navGroupItems{display:flex;flex-direction:column;gap:4px}.navItem.subItem{padding-left:1.75rem;font-size:.92rem}.sidebarFooter{display:grid;gap:.8rem}.whoLabel{font-size:.75rem;color:#e2e8f0a6}.whoValue{font-weight:600;overflow:hidden;text-overflow:ellipsis}.main{display:grid;grid-template-rows:auto 1fr;min-width:0;height:100vh;overflow:hidden}.topbar{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 1.25rem}.badge{font-size:.75rem;padding:.3rem .55rem;border-radius:999px;background:#0f172a0f;color:#0f172a}.badgeDev{background:#eab30826;color:#a16207}.topbarRight{display:flex;align-items:center;gap:.5rem}.pill{font-size:.8rem;padding:.35rem .6rem;border-radius:999px;background:#0f172a0f;color:#0f172a}.pillAdmin{background:#1d4ed81f;color:#1d4ed8}.pillLang{background:#0f172a0f;color:#0f172a}.content{padding:1.25rem;overflow-x:clip;overflow-y:auto;min-height:0}.page{display:grid;gap:1rem}.pageHeader{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;flex-wrap:wrap}.pageHeader h1{margin:0;font-size:1.9rem}.muted{margin:.25rem 0 0;color:#475569}.pageActions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;justify-content:flex-end}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.statCard{background:#fff;border-radius:18px;padding:1.1rem;box-shadow:0 12px 30px #0f172a14}.statLabel{color:#64748b;font-size:.85rem}.statValue{font-size:2.1rem;font-weight:700;margin-top:.35rem}.statHint{margin-top:.25rem;color:#64748b;font-size:.85rem}.panel{background:#fff;border-radius:18px;padding:1.1rem;box-shadow:0 12px 30px #0f172a14}.panel h2{margin:0}.buttonRow{display:flex;gap:.6rem;margin-top:.8rem}.primaryLink{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;padding:.8rem 1.2rem;background:#1d4ed8;color:#fff;box-shadow:0 12px 20px #2563eb33}.notice{border-radius:14px;padding:.8rem 1rem}.okNotice{background:#dcfce7;color:#166534}.errorNotice{background:#fee2e2;color:#991b1b}div.table{display:grid;gap:.35rem}.row{display:grid;grid-template-columns:1.5fr 1.5fr .5fr 1fr;gap:.75rem;align-items:center;padding:.7rem .8rem;border-radius:12px;background:#0f172a08}.row.head{background:transparent;color:#64748b;font-size:.85rem}.row.head>div:last-child{text-align:right}.rowActions{display:flex;gap:.6rem;justify-content:flex-end;position:relative}.link{text-decoration:none;font-weight:600;color:#1d4ed8}.linkButton{border:none;background:transparent;padding:0;border-radius:0;cursor:pointer;font-weight:600;color:#1d4ed8}.linkButton:hover{text-decoration:underline}.kebab{width:40px;height:34px;border-radius:12px;background:#0f172a0f;color:#0f172a;box-shadow:none;padding:0}.menu{position:absolute;top:38px;right:0;min-width:180px;background:#fff;border-radius:14px;box-shadow:0 18px 50px #0206172e;border:1px solid rgba(15,23,42,.08);padding:.35rem;z-index:20}.menuItem{width:100%;text-decoration:none;display:flex;align-items:center;justify-content:flex-start;gap:.5rem;padding:.6rem .7rem;border-radius:12px;color:#0f172a;background:transparent;border:none;font-weight:600;cursor:pointer;font-size:.95rem}.menuItem:hover{background:#0f172a0d}.menuItem.danger{color:#b91c1c}.monoTrunc{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fieldInline{display:grid;gap:.25rem}.fieldLabel{font-size:.75rem;color:#64748b}.inputSmall{padding:.55rem .7rem;border-radius:12px;border:1px solid #cbd5f5}.modalOverlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#02061773;display:flex;align-items:center;justify-content:center;padding:1rem}.modal{width:min(860px,100%);background:#fff;border-radius:18px;padding:1.1rem;box-shadow:0 24px 80px #02061759;display:grid;gap:1rem}.modalHeader{display:flex;align-items:center;justify-content:space-between;gap:1rem}.modalHeader h2{margin:0}.split{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.kv{display:grid;gap:.2rem;margin-bottom:.8rem}.kvLabel{font-size:.75rem;color:#64748b}.list{display:grid;gap:.4rem}.listRow{display:grid;grid-template-columns:auto 1fr;gap:.6rem;align-items:center;padding:.55rem .7rem;border-radius:12px;background:#0f172a08}.colorSwatch{width:14px;height:14px;border-radius:999px;border:1px solid rgba(15,23,42,.18);box-shadow:inset 0 0 0 1px #ffffff59;flex:0 0 auto}.colorSwatch.empty{background:transparent;border-style:dashed;opacity:.55}.colorPickerTrigger{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem .7rem;border:1px solid #cbd5f5;border-radius:12px;background:#fff;font-size:.95rem;color:#0f172a;cursor:pointer;min-width:180px;text-align:left}.colorPickerTrigger:hover{border-color:#94a3b8}.colorPickerLabel{flex:1 1 auto}.colorPickerCaret{color:#64748b;font-size:.8rem}.colorPickerMenu{top:42px;left:0;right:auto;min-width:220px}.colorPickerHex{margin-left:auto;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.8rem;color:#64748b;font-weight:500}@media (max-width: 900px){.shell{grid-template-columns:1fr}.sidebar{grid-template-rows:auto auto auto}.split,.grid{grid-template-columns:1fr}.row{grid-template-columns:1fr;justify-items:start}.rowActions{width:100%;justify-content:flex-start}}.toolbar{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.successNotice{background:#dcfce7;color:#166534;padding:.8rem 1rem;border-radius:12px;margin-bottom:1rem}.warningNotice{background:#fef3c7;color:#92400e;padding:.8rem 1rem;border-radius:12px}.infoNotice{background:#e0f2fe;color:#075985;padding:.8rem 1rem;border-radius:12px}.formField{display:grid;gap:.3rem;font-size:.9rem;flex:1 1 220px;min-width:220px}.formField span{font-size:.8rem;color:#475569}.formField input,.formField select,.formField textarea{font-size:.95rem;padding:.55rem .7rem;border-radius:10px;border:1px solid #cbd5f5;background:#fff;font-family:inherit}table.table{table-layout:auto;width:100%;border-collapse:collapse}table.table thead,table.table tbody,table.table tr{display:table-row-group}table.table thead{display:table-header-group}table.table tr{display:table-row}table.table th{display:table-cell;text-align:left;font-weight:600;font-size:.85rem;color:#64748b;padding:.5rem .75rem;border-bottom:1px solid #e2e8f0;white-space:nowrap}table.table td{display:table-cell;padding:.6rem .75rem;border-bottom:1px solid #f1f5f9;vertical-align:top;font-size:.92rem}table.table tbody tr:hover{background:#0f172a05}.statusOk{color:#16a34a;font-weight:600}.statusWarn{color:#d97706;font-weight:600}.statusMuted{color:#9ca3af;font-weight:600}.statusInfo{color:#0891b2;font-weight:600}.statusError{color:#b91c1c;font-weight:600}.infoTip{display:inline-block;position:relative;vertical-align:middle;margin-left:.35rem}.infoTip>summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;color:#64748b;font-size:.95rem;line-height:1;-webkit-user-select:none;user-select:none}.infoTip>summary::-webkit-details-marker{display:none}.infoTip>summary:hover{color:#1d4ed8}.infoTip[open]>summary{color:#1d4ed8}.infoBody{position:absolute;bottom:calc(100% + .4rem);background:#fff;border:1px solid #cbd5f5;border-radius:10px;padding:.7rem .85rem;font-size:.85rem;font-weight:400;line-height:1.45;color:#334155;width:max-content;max-width:min(280px,calc(100vw - 4rem));z-index:20;box-shadow:0 14px 30px #0206171f;white-space:pre-line}.infoTip-left>.infoBody{left:0;right:auto;transform:none}.infoTip-right>.infoBody{right:0;left:auto;transform:none}.infoTip-center>.infoBody{left:50%;right:auto;transform:translate(-50%)}.panel dl,.panel dt,.panel dd{margin:0}.panel dt{margin-bottom:.15rem}.infoBody ul{margin:.4rem 0 0;padding-left:1.1rem}.infoBody ul li{margin:.2rem 0}.infoBody strong{color:#0f172a}.pageIntro{background:#60a5fa14;border-left:3px solid #1d4ed8;padding:.7rem 1rem;border-radius:8px;margin-bottom:1rem;font-size:.9rem;color:#1e293b;line-height:1.5}
