@font-face{font-family:'Studio Thai';font-style:normal;font-weight:400;font-display:swap;src:url('/static/fonts/noto-sans-thai-thai-400-normal.woff2') format('woff2');unicode-range:U+0E00-0E7F,U+200C-200D,U+25CC}
@font-face{font-family:'Studio Thai';font-style:normal;font-weight:400;font-display:swap;src:url('/static/fonts/noto-sans-thai-latin-400-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Studio Thai';font-style:normal;font-weight:600;font-display:swap;src:url('/static/fonts/noto-sans-thai-thai-600-normal.woff2') format('woff2');unicode-range:U+0E00-0E7F,U+200C-200D,U+25CC}
@font-face{font-family:'Studio Thai';font-style:normal;font-weight:600;font-display:swap;src:url('/static/fonts/noto-sans-thai-latin-600-normal.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{font-family:"Studio Thai","Segoe UI",Tahoma,sans-serif;color:#4f4a87;background:#e4e4ee;font-size:14px;font-synthesis:none;--purple:#6860be;--purple-dark:#5146a0;--lavender:#edecf6;--muted:#8e8aa8}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:radial-gradient(ellipse at 20% 0%,#eeedf6 0,transparent 60%),#e4e4ee}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #9fbfff;outline-offset:4px}button{border:1px solid #e4e1f1;background:#fff;color:#635ba5;border-radius:12px;padding:10px 15px;min-height:42px;font:inherit;cursor:pointer;transition:background .18s,box-shadow .18s,transform .18s}button:hover{background:#f4f1ff;box-shadow:0 4px 13px #5d539515;transform:translateY(-1px)}button:disabled{opacity:.55;cursor:wait;transform:none}.primary{color:white;background:var(--purple);border-color:var(--purple);box-shadow:0 6px 14px #6c5cb926}.primary:hover{background:var(--purple-dark)}.primary span{margin-left:12px}.quiet{background:transparent;border-color:transparent;font-size:12px}.muted{color:var(--muted);font-size:12px}p{line-height:1.7}h1,h2,h3{margin:0;font-weight:600}h1{font-size:27px;letter-spacing:-.6px}h2{font-size:20px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:600;color:#9b96ba;margin:0 0 8px}.toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.dot{display:inline-block;width:8px;height:8px;background:#9cbfd8;border:2px solid #fff;outline:4px solid #9cbfd820;border-radius:50%;margin:0 15px;vertical-align:middle}.app-shell{max-width:1540px;margin:36px auto;display:grid;grid-template-columns:210px minmax(0,1fr);padding:14px;background:#fff;border-radius:32px;box-shadow:0 25px 65px #48425d14;min-height:calc(100vh - 72px)}.sidebar{padding:27px 15px 15px;display:flex;flex-direction:column;min-width:0}.brand{display:flex;align-items:center;gap:10px;margin:0 0 56px;color:#5850a2;text-decoration:none;font-size:19px;font-weight:700;letter-spacing:-.4px}.brand small{display:block;font-size:6.5px;font-weight:500;letter-spacing:1.2px;margin-top:5px;color:#a6a1be}.brand-mark{width:38px;height:40px;border-radius:14px;background:#6c61c1;color:white;display:grid;place-items:center;font-size:24px;position:relative}.brand-mark span{position:absolute;right:-2px;top:-2px;width:10px;height:10px;border:2px solid white;border-radius:50%;background:#a9ccff}.nav-label{font-size:8px;letter-spacing:2px;color:#b2adca;margin:0 12px 16px}nav{display:flex;flex-direction:column;gap:8px}nav a{text-decoration:none;color:#9189b5;font-size:12px;display:flex;align-items:center;gap:11px;padding:14px 13px;border-radius:13px;white-space:nowrap}nav a:hover{background:#f5f3fb}nav a.active{background:#ebe9f6;color:#655ab0;font-weight:600}.nav-icon{font-size:20px;font-weight:400;line-height:1}.nav-count{font-size:10px;margin-left:auto;background:#dceaff;color:#6f65b6;border-radius:30px;padding:3px 8px}.sidebar-bottom{margin-top:auto;padding-top:55px}.cloud-note{background:linear-gradient(135deg,#f7f5fc,#ece9f8);border-radius:22px;min-height:180px;padding:20px;position:relative;overflow:hidden}.cloud-note strong{display:block;font-size:19px;line-height:1.4;font-weight:500}.cloud-note p{font-size:10px;color:#a49bbf;margin-bottom:0}.cloud-symbol{position:absolute;right:7px;bottom:2px;color:#c8c4ef;font-size:64px;line-height:1}.profile{border-top:1px solid #f0edf6;padding:23px 0 4px;margin-top:25px;display:flex;align-items:center;gap:9px;font-size:11px}.avatar{width:30px;height:30px;background:#e8e2fb;color:#8170b8;border-radius:50%;display:grid;place-items:center}.profile small{display:block;font-size:8px;color:#b0a9c3;margin-top:3px}.profile-dot{margin-left:auto;width:6px;height:6px;background:#93c3b1;border-radius:50%}.workspace{min-width:0;background:#edecf5;border-radius:26px;padding:29px 32px 10px}header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:28px}header .toolbar{justify-content:flex-end}header .toolbar button{font-size:11px;padding:9px 12px}.welcome-grid{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(210px,1fr);gap:23px;margin-bottom:22px}.welcome-card{background:#fafbff;border:6px solid #fff;border-radius:29px;min-height:250px;position:relative;overflow:hidden;box-shadow:0 17px 30px #756b9c0a}.welcome-copy{position:relative;z-index:1;padding:24px 22px}.pill{display:inline-block;font-size:8px;letter-spacing:1px;background:#eeebfb;color:#8b7dc4;padding:5px 10px;border-radius:20px;margin-bottom:13px}.welcome-copy h2{font-size:24px;font-weight:400;color:#6257ad;letter-spacing:-.6px}.welcome-copy p{font-size:11px;color:#a49cbb;margin-top:8px;margin-bottom:20px}.clock{font-size:39px;line-height:1;letter-spacing:-2px;font-weight:300;color:#6658b1;font-variant-numeric:tabular-nums}.welcome-copy .calendar{font-size:9px;margin:10px 0 0}.welcome-art{position:absolute;right:0;bottom:0;width:50%;height:94%;object-fit:contain;object-position:bottom;pointer-events:none}.health-card{background:linear-gradient(#fff,#f9f9fe);border-radius:29px;padding:21px 12px 17px;display:flex;align-items:center;flex-direction:column;justify-content:center}.health-card .eyebrow{font-size:8px}.status-ring{width:130px;height:130px;border:2px solid #ddd8f4;outline:1px dashed #d1c6f0;outline-offset:7px;border-radius:50%;display:grid;place-items:center;margin:14px 0 12px;box-shadow:inset 0 0 0 8px #f6f4fe}.status-ring div{text-align:center}.status-ring strong{font-size:40px;font-weight:300;display:block;line-height:1.1;color:#7866bb}.status-ring span{font-size:9px;color:#a098ba}.health-card p{font-size:10px;margin:6px 0 12px;color:#958bb0}.subtle-pill{border-radius:20px;background:#f1eef9;color:#a299b8;font-size:8px;padding:5px 10px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:26px}.summary-item{border:1px solid #ffffff90;background:#f8f8fd;border-radius:20px;display:flex;align-items:center;gap:12px;padding:17px 18px;position:relative}.summary-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:14px;font-size:23px}.purple{background:#e9e2fc;color:#8b76c7}.blue{background:#e0edff;color:#7d9dd4}.peach{background:#f9e6e7;color:#c989a2}.summary-item div>span{display:block;font-size:9px;color:#aaa2bf}.summary-item strong{font-size:23px;font-weight:500;display:block;line-height:1.4;color:#6557a4}.summary-item small{font-size:7px;color:#b2aac5;margin-left:auto;align-self:flex-end;white-space:nowrap}.gateway{padding:21px 25px;background:#ffffffaa;border:1px solid #fff;border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:16px}.gateway .eyebrow{font-size:8px;margin-bottom:7px}.gateway h2{font-size:19px;font-weight:500;margin:0 0 8px;word-break:break-all}.gateway p{font-size:10px;color:#9790ad;margin:0;line-height:1.5}.gateway .toolbar{gap:6px}.gateway button{font-size:10px;padding:8px 12px;min-height:36px;border-radius:11px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:29px 0 16px}.section-title .eyebrow{font-size:8px;margin-bottom:7px}.section-title h2{font-size:20px;font-weight:500}.section-title .muted{font-size:9px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:20px}.card{background:linear-gradient(145deg,#fff,#fcfcff);border:1px solid #fff;border-radius:25px;padding:24px;min-width:0;box-shadow:0 10px 18px #79709606}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.card-head h2{font-size:18px;color:#6a5eae;font-weight:600}.card>.muted{font-size:9px}.badge{font-size:8px;border-radius:20px;padding:6px 9px;background:#eeeaf5;color:#9e94b6;white-space:nowrap}.badge.ok{background:#e6f3ed;color:#6b9d87}.badge.warn{background:#fdf1de;color:#b3986a}.url{display:block;background:#f2eff9;border:1px solid #eae5f6;color:#9284b5;padding:11px 13px;border-radius:11px;font:10px/1.5 Consolas,"Studio Thai",monospace;word-break:break-all;margin:16px 0 10px}.folder{font-size:9px;color:#aaa3ba;overflow-wrap:anywhere;min-height:20px}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #efebf6;border-bottom:1px solid #efebf6;margin:17px 0;padding:15px 0}.stats strong{display:block;font-weight:500;font-size:23px;line-height:1.4;color:#7766b5}.stats span{font-size:8px;color:#aca3bf}.card .toolbar button{font-size:10px;padding:9px 17px;min-height:36px}.link{border:0;background:none;padding:0;min-height:auto;border-radius:0;font-size:10px;color:#a398bb;text-decoration:none}.link:hover{background:none;box-shadow:none;transform:none;color:#6e5bac}.link-row{display:flex;gap:18px;margin:17px 0}.files{font-size:10px;line-height:1.8;max-height:220px;overflow:auto}.files div{padding:8px 0;border-bottom:1px solid #f0edf7;overflow-wrap:anywhere}.files small{color:#a6a0b7}.files .file-status{font-size:8px;color:#8b79b5}details{padding-top:10px;border-top:1px solid #f0edf7}summary{cursor:pointer;color:#a89ebc;font-size:10px}.error{font-size:11px;color:#b07589;overflow-wrap:anywhere}.log-panel{margin-top:30px}.log-panel .section-title{margin-bottom:14px}select,input,textarea{border:1px solid #e4dff1;border-radius:11px;background:#fff;color:#6a5b9b;padding:11px 12px;font:inherit;max-width:100%}select{font-size:10px;max-width:220px;min-height:38px}pre{background:#302a46;color:#c5bcd9;border:1px solid #514360;border-radius:20px;min-height:160px;max-height:310px;padding:20px;font:11px/1.8 Consolas,"Studio Thai",monospace;overflow:auto;white-space:pre-wrap;word-break:break-all;scrollbar-color:#5d506c transparent}footer{font-size:8px;color:#aea5be;margin:24px 0 15px;line-height:1.9}footer .link{font-size:8px}dialog{border:1px solid #fff;border-radius:25px;background:#fbfaff;color:#64568e;padding:28px;width:610px;max-width:94vw;max-height:90vh;box-shadow:0 25px 80px #43325e35}dialog::backdrop{background:#31254260;backdrop-filter:blur(4px)}dialog .section-title{margin:0 0 15px}dialog .section-title h2{font-size:21px}dialog p{font-size:12px}dialog .muted{font-size:11px}label{display:block;font-size:11px;color:#978aac;margin:14px 0}input,textarea{display:block;width:100%;margin-top:7px;font-size:13px}input::placeholder,textarea::placeholder{color:#c2b9d1;font-size:11px}input:focus,textarea:focus,select:focus{outline:2px solid #d3c5f0;outline-offset:2px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.check{display:flex;align-items:center;gap:9px}.check input{width:auto;margin:0;accent-color:#8b78bb}.wide{width:100%;margin:9px 0}.check input{min-width:15px}hr{border:0;border-top:1px solid #eee7f5;margin:20px 0}#notice{padding:15px 18px;background:#fff5e3;border:1px solid #f1e5cf;color:#aa8d67;border-radius:15px;font-size:12px;white-space:pre-line;margin:0 0 20px}#notice.good{background:#f0f6f0;border-color:#dce9dc;color:#7b9a81}.login-page{min-height:100vh;display:grid;place-items:center;padding:25px}.login-shell{width:970px;max-width:100%;display:grid;grid-template-columns:1fr 1fr;border:12px solid #fff;background:#fff;border-radius:32px;box-shadow:0 24px 65px #4e416421;overflow:hidden}.login-visual{background:#edebf6;padding:42px 35px;display:flex;flex-direction:column;position:relative;min-height:550px}.login-visual .brand{margin-bottom:46px}.login-visual h1{font-size:34px;font-weight:400;line-height:1.5;color:#7b68ab}.login-visual p{font-size:12px;color:#a99bbe}.login-visual img{width:90%;margin-top:auto;align-self:center;max-height:230px}.login-content{padding:58px 39px;align-self:center}.login-content h2{font-size:26px;font-weight:500}.login-content p{font-size:11px;color:#a395b5;margin:14px 0 27px}.login-content .eyebrow{margin-bottom:13px}.login-content label{margin:20px 0}.login-content button{margin-top:12px}.login-content .error{color:#b07589;margin:14px 0 0}
@media(min-width:1600px){.app-shell{margin:52px auto}.workspace{padding:34px 40px 14px}.welcome-card{min-height:280px}.welcome-copy{padding:28px}.clock{font-size:44px}.welcome-art{width:54%}}
@media(max-width:1200px){.app-shell{margin:18px 12px;grid-template-columns:180px minmax(0,1fr);padding:10px}.sidebar{padding:25px 10px}.workspace{padding:25px}.brand{font-size:17px}.welcome-grid{gap:16px;grid-template-columns:minmax(0,2fr) minmax(180px,1fr)}.welcome-copy h2{font-size:21px}.welcome-art{width:46%}header{align-items:flex-start}header .toolbar{max-width:300px}.summary-item{padding:15px 12px}.summary-item small{display:none}.gateway{flex-wrap:wrap}.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}}
@media(max-width:850px){.app-shell{grid-template-columns:1fr;margin:10px;border-radius:25px}.sidebar{padding:15px 15px 10px}.brand{margin:0;font-size:18px}.brand small{font-size:7px}.nav-label,.sidebar-bottom{display:none}nav{flex-direction:row;gap:5px;margin-top:20px;overflow:auto;padding-bottom:7px}nav a{padding:10px 12px;font-size:10px;white-space:nowrap}.nav-icon{font-size:16px}.nav-count{font-size:8px}.workspace{padding:24px 20px;border-radius:22px}.welcome-card{min-height:240px}.welcome-copy{padding:20px}.welcome-grid{grid-template-columns:minmax(0,1fr) 190px}.welcome-art{width:48%}.welcome-copy h2{font-size:21px}.clock{font-size:34px}.summary-grid{gap:10px}.summary-icon{width:35px;height:35px;font-size:20px}.summary-item{gap:9px}.summary-item strong{font-size:21px}header{margin-bottom:22px}header .toolbar{max-width:270px}h1{font-size:23px}}
@media(max-width:600px){.app-shell{margin:0;border-radius:0;padding:7px;min-height:100vh}.sidebar{padding:15px 12px 10px}.workspace{padding:22px 15px 8px;border-radius:21px}header{flex-direction:column;gap:15px}header .toolbar{max-width:none;justify-content:flex-start;gap:4px}header .toolbar button{font-size:10px;padding:7px 11px;min-height:36px}.welcome-grid{grid-template-columns:1fr;gap:14px}.welcome-card{min-height:247px}.welcome-copy h2{font-size:23px}.welcome-art{width:49%}.welcome-copy{padding:19px 16px}.welcome-copy p{font-size:10px}.clock{font-size:37px}.welcome-copy .calendar{font-size:8px}.health-card{min-height:100px;flex-direction:row;gap:16px;padding:18px}.health-card .eyebrow{display:none}.health-card .status-ring{width:70px;height:70px;border:1px solid #dcd3f4;outline-offset:3px;margin:0;flex-shrink:0}.status-ring strong{font-size:27px}.status-ring span{font-size:6px}.health-card p{font-size:10px;margin:0}.subtle-pill{display:none}.summary-grid{gap:8px;margin-bottom:18px}.summary-item{flex-direction:column;align-items:flex-start;padding:13px 12px;border-radius:17px;gap:8px}.summary-icon{width:30px;height:30px;border-radius:10px;font-size:18px}.summary-item div>span{font-size:8px}.summary-item strong{font-size:23px}.gateway{padding:20px 18px;border-radius:20px}.gateway h2{font-size:19px}.gateway button{padding:8px 12px;min-height:36px}.card{padding:20px;border-radius:23px}.card-head{align-items:flex-start}.card-head h2{font-size:17px}.badge{font-size:7px}.section-title h2{font-size:19px}.section-title .muted{font-size:8px}.grid{gap:15px;grid-template-columns:1fr}.form-grid{grid-template-columns:1fr;gap:0}.log-panel{margin-top:24px}pre{font-size:10px;max-height:280px}.login-page{padding:12px}.login-shell{grid-template-columns:1fr;border:8px solid #fff;border-radius:25px}.login-visual{padding:25px;min-height:180px}.login-visual .brand{margin:0 0 22px}.login-visual h1{font-size:26px;line-height:1.3;z-index:1}.login-visual p{font-size:10px;width:55%;z-index:1}.login-visual img{position:absolute;right:0;bottom:0;width:43%;height:140px}.login-content{padding:30px 25px 35px}.login-content h2{font-size:23px}dialog{padding:22px}.link-row{gap:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button{transition:none}dialog::backdrop{backdrop-filter:none}}

/* Keep Thai labels readable on small screens. */
.folder,.card>.muted,summary{font-size:11px;color:#897a9e}.stats span{font-size:10px;color:#9283a5}.badge{font-size:10px;white-space:normal;text-align:center}.summary-item div>span{font-size:10px;color:#9586a7}.gateway p{font-size:11px;color:#8e7fa1}.url{font-size:11px}.link{font-size:11px;color:#8f7ba8}.section-title .muted{font-size:10px}.welcome-copy .calendar{font-size:10px}.card-head h2{overflow-wrap:anywhere}.clock{font-size:36px}.login-content .muted{overflow-wrap:anywhere}
