:root{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#172c32;background:#f3f7f6;font-size:14px;--green:#079b76;--line:#dfe8e5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:#24413d;border-radius:10px;padding:10px 14px;font-weight:650}button:hover{border-color:var(--green);background:#effaf6}button:disabled{opacity:.55;cursor:wait}a{color:var(--green);text-decoration:none}.primary{background:var(--green);color:white;border-color:var(--green)}.danger{color:#b3323b}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#102e2b;color:#eefbf5;padding:30px 20px;display:flex;flex-direction:column;gap:36px}.brand{display:flex;gap:12px;align-items:center;font-size:34px;font-weight:900;color:#4ee0ae}.brand span{font-size:21px;color:white}.brand small{display:block;font-size:10px;letter-spacing:2px;color:#a6c8bc;margin-top:4px}.sidebar nav{display:grid;gap:7px}.sidebar nav a{padding:13px 16px;border-radius:10px;color:#b6cec6;font-weight:600}.sidebar nav a[aria-current]{background:#1a4a40;color:#76ebbd}.back{margin-top:auto;color:#b6cec6;font-size:12px}.workspace{margin-left:240px;padding:36px 40px 20px;max-width:1700px}header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2px;color:#788d86}h1{font-size:30px;margin:9px 0 0;letter-spacing:-1px}h2{font-size:18px;margin:0 0 16px}h3{font-size:15px}.header-actions{display:flex;align-items:center;gap:18px}.card{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;margin-bottom:22px;box-shadow:0 5px 20px #18352e03}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.stat{font-size:36px;font-weight:750;letter-spacing:-1px;margin:12px 0;color:#103d31}.muted,small{color:#71857d}.policy{background:#e5f6ed;border:1px solid #c8e9d7;border-radius:14px;padding:18px;line-height:1.7;color:#2e6853}.toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}input,select,textarea{padding:11px 12px;border:1px solid var(--line);border-radius:9px;background:#fbfdfc;color:#18382d;max-width:100%;width:100%}input[type=checkbox]{width:auto}textarea{min-height:100px;resize:vertical}label{display:grid;gap:7px;font-size:12px;font-weight:600;margin-bottom:16px}form .grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th{text-align:left;font-size:10px;letter-spacing:1px;text-transform:uppercase;background:#f6faf8;color:#7b8c85}th,td{padding:15px 12px;border-bottom:1px solid #edf1ef}td small{display:block;max-width:230px;overflow:hidden;text-overflow:ellipsis;font-size:10px;margin-top:4px}.actions{display:flex;gap:6px}.actions button{font-size:11px;padding:7px 10px}.badge{display:inline-block;background:#e8f7ef;color:#0b8058;border-radius:6px;padding:4px 8px;font-size:11px;font-weight:700}.badge.warn{background:#fff2de;color:#a46d0b}.badge.red{background:#fce9e9;color:#b53843}.empty{padding:36px;text-align:center;color:#75877f}footer{display:flex;justify-content:space-between;padding:20px 0;color:#92a098;font-size:11px}dialog{border:1px solid var(--line);border-radius:18px;padding:30px;width:min(700px,94vw);max-height:88vh;color:#173c2f}dialog::backdrop{background:#09251e77;backdrop-filter:blur(3px)}.dialog-close{float:right;padding:2px 10px;font-size:23px}.checks{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:16px 0}.checks label{display:flex;gap:9px;margin:0;padding:10px;background:#f5f9f7;border-radius:8px}.bubble{padding:15px;background:#f0f6f3;border-radius:12px;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.admin{background:#e2f5eb}.bubble small{display:block;margin-bottom:8px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#153d2d;color:white;padding:15px 24px;border-radius:10px;box-shadow:0 10px 30px #0002;z-index:999}.error{color:#b3323b;line-height:1.7}.help{font-size:12px;line-height:1.7;color:#72867b}.search{max-width:300px}@media(max-width:900px){.sidebar{position:relative;width:auto;padding:18px 20px;gap:16px}.sidebar nav{display:flex;overflow:auto}.sidebar nav a{white-space:nowrap;padding:9px 13px}.back{display:none}.workspace{margin:0;padding:24px 18px}.cards{gap:10px}.card{padding:18px}.header-actions{gap:10px;font-size:12px}h1{font-size:25px}}@media(max-width:540px){.cards{grid-template-columns:1fr}.cards .card{margin-bottom:0}.cards{margin-bottom:20px}header{align-items:flex-start}.eyebrow{font-size:8px}.header-actions{flex-direction:column;align-items:flex-end}form .grid,.checks{grid-template-columns:1fr}}

[hidden]{display:none!important}.primary:hover{background:#087b5c;color:#fff}

.header-controls{display:flex;align-items:center;gap:14px}#admin-language{display:inline-flex;align-items:center;justify-content:center;min-height:40px;min-width:76px;white-space:nowrap}.scroll th{text-align:start}html[dir=rtl] .sidebar{left:auto;right:0}html[dir=rtl] .workspace{margin-left:0;margin-right:240px}html[dir=rtl] .dialog-close{float:left}html[dir=rtl] .brand{direction:ltr;justify-content:flex-end}html[dir=rtl] h1{letter-spacing:0}html[dir=rtl] input,html[dir=rtl] textarea{text-align:start}html[dir=rtl] td{unicode-bidi:plaintext}
@media(max-width:900px){html[dir=rtl] .sidebar{left:auto;right:auto}html[dir=rtl] .workspace{margin:0}.header-controls{gap:8px}}@media(max-width:540px){.header-controls{align-items:flex-end;flex-direction:column}#admin-language{min-width:72px;padding:8px 12px}}
