:root{--navy:#071a38;--navy2:#0d2c55;--gold:#c99942;--gold2:#f0d68f;--bg:#f3f6fa;--surface:#fff;--text:#102446;--muted:#71809a;--line:#e4eaf2;--green:#15945c;--amber:#b98219;--red:#c84855;--shadow:0 14px 36px rgba(10,27,57,.08);--radius:18px;--font:-apple-system,BlinkMacSystemFont,"Noto Sans Thai","Leelawadee UI","Segoe UI",sans-serif}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid rgba(201,153,66,.45);outline-offset:2px}.shell{min-height:100dvh;display:grid;grid-template-columns:250px minmax(0,1fr)}
.sidebar{position:sticky;top:0;height:100dvh;background:linear-gradient(180deg,#07182f 0%,#0b2445 100%);color:#fff;padding:18px 14px;display:flex;flex-direction:column;z-index:40;box-shadow:10px 0 30px rgba(5,19,38,.05)}.brand{display:flex;align-items:center;gap:10px;padding:2px 8px 18px;border-bottom:1px solid rgba(255,255,255,.08)}.brand-mark{width:38px;height:38px;display:grid;place-items:center;font:500 30px/1 Georgia,serif;color:var(--gold2);border-right:1px solid rgba(240,214,143,.35)}.brand strong{display:block;font-size:13px;letter-spacing:.03em}.brand small{display:block;font-size:10px;color:#9dadc0;margin-top:3px}.nav-scroll{overflow:auto;padding:12px 0 6px;scrollbar-width:thin}.nav-group+.nav-group{margin-top:10px}.nav-label{font-size:9px;text-transform:uppercase;letter-spacing:.14em;color:#70849e;padding:5px 12px}.nav-item{width:100%;border:0;background:transparent;color:#c7d2df;display:flex;align-items:center;gap:11px;padding:9px 11px;border-radius:11px;text-align:left;transition:.16s;position:relative}.nav-item:hover{background:rgba(255,255,255,.045);color:#fff}.nav-item.active{background:rgba(255,255,255,.075);color:#fff;box-shadow:inset 2px 0 var(--gold)}.nav-item .ysg-option-c-icon{width:24px;height:24px;filter:drop-shadow(0 3px 4px rgba(0,0,0,.18))}.nav-item span{flex:1;font-size:11px}.nav-item b{min-width:20px;height:20px;border-radius:10px;background:#c99942;color:#071a38;display:grid;place-items:center;font-size:9px}.sidebar-foot{margin-top:auto;padding:14px 8px 3px;border-top:1px solid rgba(255,255,255,.08);display:flex;gap:9px;align-items:center}.sidebar-foot .dot{width:9px;height:9px;border-radius:50%;background:#788aa1;box-shadow:0 0 0 4px rgba(255,255,255,.035)}.sidebar-foot .dot.online{background:#2fba7f}.sidebar-foot strong,.sidebar-foot small{display:block}.sidebar-foot strong{font-size:10px}.sidebar-foot small{font-size:9px;color:#92a4b9;margin-top:2px}
.workspace{min-width:0}.topbar{height:70px;background:rgba(255,255,255,.94);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.global-search{width:min(520px,48vw);height:40px;border:1px solid var(--line);background:#f7f9fb;border-radius:12px;display:flex;align-items:center;gap:8px;padding:0 12px;position:relative}.global-search>.ysg-option-c-icon{width:23px;height:23px}.global-search input{border:0;background:transparent;outline:0;width:100%;font-size:12px;color:var(--text)}.search-results{position:absolute;top:46px;left:0;right:0;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px rgba(11,30,57,.16);overflow:hidden;z-index:100}.search-results:empty{display:none}.search-results button{width:100%;border:0;background:#fff;padding:10px 12px;display:flex;align-items:center;gap:10px;text-align:left;border-bottom:1px solid #eff2f5}.search-results button:hover{background:#f8fafc}.search-results .ysg-option-c-icon{width:26px;height:26px}.search-results b,.search-results small{display:block}.search-results b{font-size:11px}.search-results small{font-size:9px;color:var(--muted)}.search-empty{padding:18px;text-align:center;color:var(--muted);font-size:11px}.top-actions{display:flex;align-items:center;gap:8px}.top-icon{position:relative;border:0;background:transparent;width:40px;height:40px;display:grid;place-items:center;border-radius:10px}.top-icon:hover{background:#f1f4f7}.top-icon .ysg-option-c-icon{width:27px;height:27px}.notice i{position:absolute;right:1px;top:1px;background:#c84855;color:#fff;font-style:normal;font-size:8px;min-width:16px;height:16px;padding:0 3px;border-radius:8px;display:grid;place-items:center}.profile{display:flex;align-items:center;gap:8px;margin-left:4px}.profile .avatar{width:38px;height:38px;display:grid;place-items:center}.profile .avatar .ysg-option-c-icon{width:34px;height:34px}.profile strong,.profile small{display:block}.profile strong{font-size:11px}.profile small{font-size:9px;color:var(--muted)}.mobile-only{display:none}
.main{padding:28px;max-width:1540px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.page-head h1{font-size:28px;letter-spacing:-.03em;margin:0 0 4px}.page-head p{font-size:12px;color:var(--muted);margin:0}.page-actions{display:flex;gap:8px;flex-wrap:wrap}.btn{height:38px;border-radius:10px;padding:0 13px;border:1px solid var(--line);background:#fff;color:var(--text);font-size:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:7px}.btn .ysg-option-c-icon{width:21px;height:21px}.btn.primary{background:var(--navy);color:#fff;border-color:var(--navy)}.btn.secondary{background:#fff}.btn.ghost{background:#f7f9fb}.btn.danger{color:var(--red);background:#fff5f6;border-color:#f3d5d9}.section{margin-top:16px}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.section-head h3{font-size:15px;margin:0}.section-head p{font-size:10px;color:var(--muted);margin:3px 0 0}