*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f6f7f9;color:#17232b;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Noto Sans Thai",Tahoma,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.35}button:focus-visible,a:focus-visible{outline:3px solid #41a88e;outline-offset:3px}[hidden]{display:none!important}.eyebrow{font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:700}.muted{color:#77818b}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:22px;font-weight:700;letter-spacing:.12em;line-height:1.2}.brand-mark,.mini-mark{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#d8b878;color:#182a31;font:italic 31px Georgia,serif;letter-spacing:0}.brand-sub{display:block;font-size:9px;font-weight:500;letter-spacing:.17em;margin-top:6px;opacity:.6}.auth-view{min-height:100svh;display:grid;grid-template-columns:1.12fr 1fr;background:white}.auth-story{padding:42px 7vw 28px;background:radial-gradient(circle at 80% 80%,#23443e,transparent 55%),#112b30;color:#f8f9f7;display:flex;flex-direction:column}.auth-headline{margin-top:75px}.auth-headline .eyebrow{color:#d8b878}.auth-headline h1{font-size:clamp(32px,3.6vw,52px);font-weight:600;letter-spacing:-.035em;margin:18px 0}.auth-headline p{color:#aebfc0;font-size:16px;line-height:1.9}.office-map{margin:40px 0 35px;max-width:430px}.map-lead{width:220px;margin:auto;display:flex;gap:12px;align-items:center;padding:12px 16px;background:#ffffff0c;border:1px solid #ffffff22;border-radius:13px}.map-lead div{font-size:14px}.map-lead div span{display:block;color:#b6c6c4;font-size:10px}.avatar{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;font-size:18px;font-weight:600;flex-shrink:0}.gold{background:#e9d5aa;color:#3f493b}.map-line{height:25px;width:1px;background:#65857c;margin:auto}.map-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.map-row span{border:1px solid #ffffff22;border-radius:10px;padding:12px 3px;text-align:center;font-size:12px;background:#ffffff07}.map-row.second{margin-top:10px;opacity:.6}.auth-footer{margin-top:auto;color:#8ca5a3;font-size:11px}.auth-form-wrap{display:grid;place-items:center;padding:45px 35px}.auth-form{width:min(100%,370px)}.mini-mark{width:39px;height:39px;margin-bottom:30px}.auth-form .eyebrow{display:block;color:#3d806e;margin-bottom:9px}.auth-form h2{font-size:27px;letter-spacing:-.025em;margin-bottom:12px}.auth-form>.muted{font-size:13px}.login-instruction{display:flex;gap:12px;padding:17px 0 20px;margin:20px 0 12px;border-bottom:1px solid #e7ecea;font-size:13px}.login-instruction a{font-size:11px;color:#3c806c;text-decoration:none}.step{border:1px solid #d8e3de;border-radius:50%;width:25px;height:25px;display:grid;place-items:center;font-size:11px}.login-instruction code{background:#eef3ef;border-radius:4px;padding:2px 6px;font-size:13px;color:#246752}label{display:block;font-size:13px;font-weight:600;margin:16px 0 7px}input,select,textarea{width:100%;border:1px solid #dce3e4;background:white;color:#17232b;border-radius:9px;padding:11px 12px;outline:none}input:focus,select:focus,textarea:focus{border-color:#438e77;box-shadow:0 0 0 3px #438e7711}textarea{resize:vertical;min-height:90px;font-size:14px;line-height:1.7}input::placeholder,textarea::placeholder{color:#a0a9af}.field-hint{font-size:11px;color:#85928f;margin:6px 0 16px}.primary,.secondary{border-radius:8px;display:inline-flex;gap:12px;align-items:center;justify-content:center;padding:11px 18px;border:1px solid transparent;font-size:13px;font-weight:600;white-space:nowrap}.primary{background:#173f35;color:white;box-shadow:0 3px 6px #153a3010}.primary:hover{background:#225444}.secondary{background:white;border-color:#dfe5e5;color:#48565e}.secondary:hover{background:#f2f5f3}.wide{width:100%;justify-content:space-between;margin-top:12px}.privacy-note{font-size:11px;text-align:center;color:#98a09f;margin-top:26px}.error{font-size:12px;color:#ac4341;margin-top:10px;white-space:pre-line}.office-shell{display:flex;min-height:100svh}.sidebar{width:232px;background:#fff;border-right:1px solid #e7ebed;padding:30px 20px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:5}.dark-brand{color:#183f36;padding:0 4px}.dark-brand .brand-mark{width:35px;height:35px;border-radius:11px;font-size:27px}.dark-brand .brand-sub{letter-spacing:.07em;font-size:10px}.workspace-label{font-size:10px;text-transform:uppercase;color:#9aa2a7;letter-spacing:.06em;margin:43px 13px 14px}.nav-item{width:100%;display:flex;align-items:center;gap:13px;color:#74808a;border:0;background:transparent;border-radius:8px;padding:12px 13px;font-size:13px;text-align:left;margin:4px 0}.nav-item>span{font-size:19px;line-height:1;min-width:21px;font-family:Arial,sans-serif}.nav-item.active{background:#eaf2ed;color:#285a47;font-weight:600}.sidebar-bottom{margin-top:auto}.sidebar-bottom>a{display:block;margin:20px 10px;color:#84918e;text-decoration:none;font-size:12px}.owner-row{display:flex;align-items:center;gap:10px;border-top:1px solid #edf0ef;padding-top:19px;font-size:12px}.owner-row div>span{display:block;color:#9aa6a5;font-size:10px}.small.avatar{width:32px;height:32px;border-radius:50%;font-size:14px}.icon-button{background:transparent;border:0;color:#82908b;font-size:24px;padding:1px 6px;line-height:1.2}.owner-row .icon-button{margin-left:auto}.main{margin-left:232px;width:calc(100% - 232px);max-width:1800px;padding:28px 38px 20px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:25px}.topbar h1{font-size:22px;font-weight:600;margin-top:3px}.top-actions{display:flex;align-items:center;gap:16px}.connection{font-size:11px;color:#88948c;display:flex;align-items:center;gap:7px}.connection:before{content:"";width:6px;height:6px;border-radius:50%;background:#a5afa9}.connection.ready:before{background:#3a9877;box-shadow:0 0 0 4px #3a987710}.connection.warning:before{background:#c5a14d}.small-button{padding:7px 11px;font-size:11px}.notice{padding:12px 16px;margin-bottom:18px;background:#fff6e3;border:1px solid #f0dfb6;border-radius:9px;color:#8a7137;font-size:12px}.welcome{background:#e6eee8;border-radius:13px;padding:28px 30px;display:flex;justify-content:space-between;align-items:center;gap:15px;position:relative;overflow:hidden}.welcome:after{content:"";position:absolute;width:240px;height:240px;border:1px solid #9db3a633;border-radius:50%;right:12%;top:-125px;pointer-events:none}.welcome .eyebrow{color:#7a9587;font-size:10px}.welcome h2{font-size:25px;letter-spacing:-.03em;margin:8px 0;color:#234638}.welcome p{font-size:12px;color:#7b8e80}.welcome .primary{z-index:1}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0 35px}.stats article{border:1px solid #e8ecee;background:white;border-radius:10px;padding:17px 19px}.stats article>span{display:block;font-size:11px;color:#7e8a91}.stats strong{font-size:30px;display:block;font-weight:600;margin:5px 0;line-height:1.4;letter-spacing:-.05em}.stats small{font-size:10px;color:#a1a8ab}.stats .budget-stat strong{font-size:24px;line-height:1.75}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.section-heading h2{font-size:18px;font-weight:600;margin-top:3px}.section-heading p{font-size:11px;color:#96a0a5}.filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:20px}.filter{border:1px solid #e2e7e9;border-radius:7px;background:#fff;font-size:11px;color:#849098;padding:6px 13px}.filter.active{background:#193d33;color:white;border-color:#193d33}.agent-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.agent-card{background:white;text-align:left;border:1px solid #e4e9eb;border-radius:11px;padding:17px 16px;min-height:172px;display:flex;flex-direction:column;transition:transform .16s,border-color .16s,box-shadow .16s;color:inherit}.agent-card:hover{transform:translateY(-2px);border-color:#b3c8be;box-shadow:0 5px 15px #16362d07}.card-top{display:flex;justify-content:space-between;align-items:center}.agent-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;font-size:10px;font-weight:700;letter-spacing:.04em}.g0{background:#e7eee8;color:#58705c}.g1{background:#ede9e2;color:#957f5b}.g2{background:#e8edf5;color:#667d9d}.g3{background:#f0e8ec;color:#9e7586}.g4{background:#eee9f5;color:#88729f}.g5{background:#e5f0ef;color:#5b8b87}.g6{background:#f3ece5;color:#aa856b}.card-arrow{color:#a0ada6;font-size:17px}.agent-card h3{font-size:13px;font-weight:600;margin:12px 0 4px}.agent-card p{font-size:10px;color:#929da2;line-height:1.6;margin-bottom:13px}.card-footer{display:flex;justify-content:space-between;gap:5px;margin-top:auto;border-top:1px solid #f1f3f3;padding-top:9px;font-size:9px;color:#91a199}.role-tag{font-size:9px;color:#6e8b7b}.section-note{font-size:10px;color:#a0a9ac;margin:14px 0 30px}.text-button{border:0;background:transparent;font-size:11px;color:#4e7b67;padding:5px 0}.task-toolbar{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;gap:15px}.task-toolbar select{width:150px;padding:7px 10px;font-size:11px}.task-toolbar span{font-size:10px}.job-list{background:white;border:1px solid #e6ebed;border-radius:10px;overflow:hidden}.job-row{border:0;border-bottom:1px solid #eef1f3;background:white;width:100%;padding:16px 19px;display:grid;grid-template-columns:34px minmax(0,1fr) auto 25px;gap:12px;align-items:center;text-align:left;color:inherit}.job-row:last-child{border-bottom:0}.job-row:hover{background:#fafcfb}.job-main strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:500}.job-main small{font-size:9px;color:#a0a8ac}.job-status{font-size:9px;padding:4px 9px;border-radius:20px;background:#f1f3f5;color:#859198;white-space:nowrap}.s-DRAFT_READY{background:#eaf4ec;color:#5d8a67}.s-NEEDS_INPUT,.s-NEEDS_REVISION{background:#fff5df;color:#ab9050}.s-BLOCKED{background:#f9eded;color:#ad8585}.s-RUNNING{background:#edf0fb;color:#7b8bb1}.job-arrow{font-size:15px;color:#b0b8b9;text-align:right}.empty{padding:30px;text-align:center;font-size:12px;color:#99a3a4}.schedule-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:23px}.schedule-card{background:white;border:1px solid #e3e9e6;border-radius:10px;padding:20px}.schedule-card h3{font-size:19px;font-weight:500;margin-bottom:8px}.schedule-card p{font-size:12px;margin:7px 0;color:#7d8c84}.schedule-card small{color:#a4ada8;font-size:10px}.schedule-card .text-button{display:block;margin-top:15px;color:#ae8175}.workspace-footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#a5adaf;margin-top:30px;padding-top:18px;border-top:1px solid #e6eaea}.workspace-footer .text-button{font-size:10px}dialog{border:1px solid #dce5df;border-radius:15px;padding:26px 28px;background:#fff;width:min(95vw,610px);max-height:90svh;overflow:auto;color:#21342b;box-shadow:0 30px 100px #17372c2b}dialog::backdrop{background:#172d2a77;backdrop-filter:blur(3px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:18px}.dialog-header h2{font-size:21px;margin-top:5px}.dialog-header .icon-button{color:#8b9892;font-size:28px}.mission{background:#f3f6f3;border-radius:8px;padding:12px;font-size:12px;color:#839589;margin-top:8px}.form-summary{font-size:11px;padding:14px;border-radius:8px;background:#f8f8f4;color:#8c937d;margin-top:15px}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:22px;padding-top:18px;border-top:1px solid #edf0ee}.result-block{padding:18px 0;border-bottom:1px solid #edf0ee}.result-block h3{font-size:15px;margin-bottom:12px}.result-text{white-space:pre-wrap;line-height:1.85;font-size:13px;color:#52635a}.result-block ul{font-size:12px;padding-left:20px;color:#8a8673}.result-detail{font-size:11px;color:#8a9890;line-height:1.8}.result-facts{margin-top:20px;border:1px solid #e6ece8;border-radius:8px;padding:12px}.result-facts summary{cursor:pointer;font-size:11px;color:#85988a}.result-facts p{font-size:12px;white-space:pre-wrap;margin-top:10px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#1b4034;color:white;border-radius:10px;padding:14px 22px;font-size:12px;box-shadow:0 8px 30px #17392b33;z-index:100;text-align:center}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
@media(min-width:1600px){.main{padding-left:55px;padding-right:55px}.agent-card{min-height:185px}}@media(max-width:1250px){.agent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar{width:210px}.main{margin-left:210px;width:calc(100% - 210px);padding:25px}.stats{gap:10px}.stats article{padding:14px}.top-actions{gap:9px}}@media(max-width:950px){.agent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:185px;padding:26px 14px}.main{margin-left:185px;width:calc(100% - 185px);padding:22px}.brand{font-size:19px}.nav-item{padding:12px 10px;gap:8px;font-size:12px}.stats{grid-template-columns:repeat(2,1fr)}.welcome{padding:22px}.welcome h2{font-size:21px}.welcome .primary{padding:10px 13px;font-size:11px}.topbar h1{font-size:20px}.auth-story{padding:35px 6vw}.auth-headline{margin-top:65px}.auth-headline h1{font-size:35px}.section-heading>p{display:none}.schedule-list{grid-template-columns:1fr}}@media(max-width:700px){.auth-view{grid-template-columns:1fr}.auth-story{padding:24px 26px 30px}.auth-headline{margin-top:35px}.auth-headline h1{font-size:32px}.auth-headline p{font-size:13px}.office-map,.auth-footer{display:none}.auth-form-wrap{padding:32px 25px}.auth-form .mini-mark{display:none}.auth-form h2{font-size:24px}.sidebar{position:sticky;top:0;left:0;width:100%;height:auto;padding:14px 18px;display:block;border-bottom:1px solid #e1e8e3;border-right:0;background:#fff;z-index:10}.office-shell{display:block}.dark-brand{font-size:17px;gap:9px}.dark-brand .brand-mark{width:30px;height:30px;font-size:23px}.dark-brand .brand-sub{font-size:8px;margin-top:3px}.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:4px;margin-top:13px;overflow:auto}.nav-item{width:auto;min-width:max-content;margin:0;padding:7px 9px;font-size:10px;gap:5px}.nav-item>span{font-size:14px;min-width:14px}.main{margin:0;width:100%;padding:23px 18px}.topbar{align-items:flex-start;gap:8px}.topbar h1{font-size:19px}.top-actions{flex-direction:column;align-items:flex-end;gap:7px}.connection{font-size:9px}.small-button{font-size:9px;padding:4px 8px}.welcome{padding:21px 19px;display:block}.welcome .primary{margin-top:18px}.welcome h2{font-size:23px}.welcome p{font-size:11px}.welcome .eyebrow{font-size:9px}.stats{margin:15px 0 28px;gap:10px}.stats article{padding:14px}.stats strong{font-size:27px}.stats article>span{font-size:10px}.stats small{font-size:9px}.stats .budget-stat strong{font-size:21px}.section-heading h2{font-size:17px}.agent-grid{gap:10px}.agent-card{padding:14px 12px;min-height:166px}.agent-card h3{font-size:12px}.agent-card p{font-size:9px}.card-footer{font-size:8px}.filters{gap:6px}.filter{padding:5px 10px;font-size:10px}.job-row{padding:14px 12px;gap:8px;grid-template-columns:28px minmax(0,1fr) auto 10px}.job-row .agent-avatar{width:28px;height:28px;font-size:8px}.job-main strong{font-size:11px}.job-main small{font-size:8px}.job-status{font-size:8px;padding:4px 6px}.task-toolbar span{font-size:9px}.task-toolbar select{width:115px;font-size:10px}.workspace-footer{font-size:9px}.workspace-footer span{max-width:75%}dialog{padding:22px 20px;max-height:93svh}.dialog-header h2{font-size:20px}.dialog-actions .primary,.dialog-actions .secondary{padding:10px 12px;font-size:12px}.toast{width:90vw;bottom:15px}.privacy-note{margin-top:18px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
