@font-face{font-family:Noto Sans;src:url(/api/backend/api/v1/fonts/noto-sans-variable)format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans SC;src:url(/api/backend/api/v1/fonts/noto-sans-sc-variable)format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans Thai;src:url(/api/backend/api/v1/fonts/noto-sans-thai-variable)format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Serif;src:url(/api/backend/api/v1/fonts/noto-serif-variable)format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Serif Thai;src:url(/api/backend/api/v1/fonts/noto-serif-thai-variable)format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Serif SC;src:url(/api/backend/api/v1/fonts/noto-serif-sc-variable)format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Noto Sans Thai Looped;src:url(/api/backend/api/v1/fonts/noto-sans-thai-looped-variable)format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Roboto;src:url(/api/backend/api/v1/fonts/roboto-variable)format("truetype");font-style:normal;font-weight:100 900;font-display:swap}@font-face{font-family:Lora;src:url(/api/backend/api/v1/fonts/lora-variable)format("truetype");font-style:normal;font-weight:400 700;font-display:swap}
:root{--bg:#f4f6f8;--ink:#15221d;--muted:#68736e;--line:#dfe5e2;--card:#fff;--green:#0c7a55;--lime:#d7f45d}*{box-sizing:border-box}body{background:var(--bg);color:var(--ink);margin:0;font-family:Inter,Noto Sans SC,system-ui,sans-serif}.app-shell{grid-template-columns:230px 1fr;min-height:100vh;display:grid}.sidebar{color:#e8f2ed;background:#10251e;flex-direction:column;height:100vh;padding:28px 20px;display:flex;position:sticky;top:0}.brand{color:#fff;align-items:center;gap:11px;font-size:18px;text-decoration:none;display:flex}.brand span{background:var(--lime);color:#183128;border-radius:10px;place-items:center;width:36px;height:36px;font-weight:900;display:grid}.sidebar nav{gap:6px;margin-top:45px;display:grid}.sidebar nav a{color:#bcd0c7;border-radius:9px;padding:11px 12px;text-decoration:none}.sidebar nav a:hover{color:#fff;background:#1b392f}.sidebar-foot{color:#93a99f;margin-top:auto;font-size:12px}.sidebar-foot i,.status-dot{background:#5ee18c;border-radius:50%;width:7px;height:7px;margin-right:8px;display:inline-block}.content{width:100%;max-width:1500px;padding:54px clamp(28px,5vw,74px)}.page-heading{justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:32px;display:flex}.eyebrow{letter-spacing:.18em;color:var(--green);margin:0 0 8px;font-size:11px;font-weight:800}h1{letter-spacing:-.045em;margin:0 0 9px;font-size:clamp(32px,4vw,52px)}h2{margin:0 0 12px}.page-heading p,.narrow>p,.panel p{color:var(--muted);margin:0}.button{cursor:pointer;border:0;border-radius:10px;padding:12px 18px;font-weight:750;text-decoration:none;display:inline-flex}.primary{background:var(--green);color:#fff}.table-card,.panel{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 35px #213a2f0a}.table-row{border-bottom:1px solid var(--line);color:var(--ink);grid-template-columns:2fr .8fr .8fr .7fr;align-items:center;gap:20px;padding:17px 22px;text-decoration:none;display:grid}.table-row:last-child{border-bottom:0}.table-row span{align-items:center;display:flex}.table-row span:first-child{display:grid}.table-row small,.variant-card small{color:var(--muted);margin-top:4px}.table-head{text-transform:uppercase;letter-spacing:.1em;color:var(--muted);font-size:11px;font-weight:800}.empty{text-align:center;border:1px dashed #bcc9c3;border-radius:16px;padding:70px}.narrow{max-width:800px}.form-grid{grid-template-columns:1fr 1fr;gap:18px;display:grid}.panel{padding:24px}.narrow .panel{margin-top:28px}.wide,.form-actions{grid-column:1/-1}label{gap:7px;font-size:13px;font-weight:700;display:grid}input,textarea,select{width:100%;color:var(--ink);font:inherit;background:#fff;border:1px solid #ccd6d1;border-radius:9px;padding:11px 12px}textarea{min-height:90px}.form-actions{align-items:center;gap:16px;display:flex}.error-text,.notice.error{color:#a93636}.two-column{grid-template-columns:minmax(0,1.7fr) minmax(300px,.7fr);gap:24px;display:grid}.profile-line{border-bottom:1px solid var(--line);justify-content:space-between;padding:12px 0;display:flex}details{margin-top:18px}summary{cursor:pointer;margin-bottom:18px;font-weight:750}.uploader{gap:18px;display:grid}.dropzone{text-align:center;cursor:pointer;background:#f8fbf9;border:1.5px dashed #9eb3aa;border-radius:13px;place-items:center;padding:50px 20px}.dropzone input{display:none}.dropzone span{color:var(--muted);font-weight:400}.progress-head{justify-content:space-between;align-items:center;display:flex}.progress{background:#e7ece9;border-radius:999px;height:8px;margin:20px 0;overflow:hidden}.progress i{background:var(--green);height:100%;display:block}.variant-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;display:grid}.variant-card{border:1px solid var(--line);border-radius:12px;grid-template-columns:52px 1fr;gap:10px;padding:12px;display:grid}.image-placeholder{color:var(--muted);background:#eaf0ed;border-radius:8px;grid-row:span 2;place-items:center;display:grid}.pill{text-transform:uppercase;background:#e5ece8;border-radius:99px;width:max-content;padding:3px 7px;font-size:10px}.pill.completed{color:#17603e;background:#d8f4e5}.pill.failed{color:#8b2828;background:#f9dede}.pill.processing{color:#274d8f;background:#e0e9fa}.notice{border:1px solid var(--line);background:#fff;border-radius:10px;padding:14px}.editor-link{color:var(--green);grid-column:2;font-size:12px;font-weight:800;text-decoration:none}.content:has(.editor-workspace){max-width:none;padding:24px}.editor-workspace{min-width:0}.editor-toolbar{border:1px solid var(--line);background:#fff;border-radius:14px;align-items:center;gap:24px;padding:14px 18px;display:flex;box-shadow:0 8px 30px #10251e0a}.editor-toolbar>div:first-child{min-width:160px;display:grid}.editor-toolbar .eyebrow{margin:0}.editor-identity{color:var(--muted);align-items:center;gap:8px;font-size:12px;display:flex}.toolbar-actions{align-items:center;gap:7px;margin-left:auto;display:flex}.toolbar-actions button,.editor-panel button,.conflict-banner button,.stack-actions button{cursor:pointer;background:#fff;border:1px solid #ccd6d1;border-radius:8px;padding:8px 10px}.toolbar-actions button:disabled,.editor-panel button:disabled,.stack-actions button:disabled{cursor:not-allowed;opacity:.45}.editor-file-line{color:var(--muted);justify-content:space-between;padding:10px 4px;font-size:12px;display:flex}.editor-file-line b{color:var(--ink)}.review-state{background:#e7ece9;border-radius:99px;padding:3px 8px;font-size:11px;display:inline-flex}.review-state.pending,.review-state.rejected{color:#8c5218;background:#fae7cf}.review-state.approved,.review-state.not_required{color:#17603e;background:#d8f4e5}.editor-grid{grid-template:"blocks canvas properties"minmax(620px,1fr)"blocks actions actions"/220px minmax(520px,1fr) 300px;gap:12px;min-height:calc(100vh - 145px);display:grid}.editor-panel,.canvas-panel{border:1px solid var(--line);background:#fff;border-radius:14px;overflow:hidden}.editor-panel{padding:15px}.editor-panel h2{font-size:14px}.panel-title{justify-content:space-between;align-items:center;display:flex}.block-panel{grid-area:blocks}.block-list{gap:5px;max-height:calc(100vh - 230px);display:grid;overflow:auto}.block-list>button{text-align:left;border-color:#0000;grid-template-columns:24px 1fr auto auto;align-items:center;gap:7px;display:grid}.block-list>button.selected{background:#e7f5ef;border-color:#85c9ae}.block-list span:nth-child(2){min-width:0;display:grid}.block-list b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.block-list small{color:var(--muted)}.block-list i{color:var(--green);font-size:10px;font-style:normal}.canvas-panel{background:#dfe5e2;grid-area:canvas;place-items:center;padding:22px;display:grid;overflow:auto}.canvas-relative{position:relative}.canvas-viewport{background:#fff;line-height:0;box-shadow:0 16px 50px #10251e29}.properties-panel{grid-area:properties}.property-grid{grid-template-columns:1fr;gap:10px;display:grid}.property-grid label{font-size:11px}.property-grid textarea{min-height:76px}.property-grid .wide{grid-column:1/-1}.property-grid .toggle{align-items:center;gap:8px;display:flex}.property-grid .toggle input{width:auto}.resize-hint{color:#426259;background:#eef7f3;border-radius:8px;margin:0;padding:9px 10px;font-size:11px;line-height:1.55}.dimension-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.dimension-grid label{gap:5px;display:grid}.action-review{grid-area:actions;grid-template-columns:1fr 1fr;gap:20px;display:grid}.action-review section+section{border-left:1px solid var(--line);padding-left:20px}.stack-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.muted{color:var(--muted);font-size:12px}.inline-text-editor{z-index:5;border:2px solid var(--green);resize:none;background:#ffffffed;border-radius:0;margin:0;padding:2px;line-height:1.2;position:absolute}.conflict-banner{background:#fff4dd;border:1px solid #e6bc6e;border-radius:10px;align-items:center;gap:9px;margin:8px 0;padding:12px;display:flex}.conflict-banner div{margin-right:auto;display:grid}.conflict-banner span{color:#76552f;font-size:12px}.notice.warning{color:#76552f;background:#fffbea;margin:8px 0}@media (max-width:1100px){.editor-grid{grid-template-columns:190px minmax(400px,1fr);grid-template-areas:"blocks canvas""properties properties""actions actions"}.property-grid{grid-template-columns:1fr 1fr}.editor-toolbar{flex-wrap:wrap}.toolbar-actions{margin-left:0}.editor-file-line{flex-wrap:wrap;gap:12px}}@media (max-width:850px){.app-shell{grid-template-columns:1fr}.sidebar{flex-direction:row;height:auto;position:static}.sidebar nav{margin:0 0 0 auto;display:flex}.sidebar-foot{display:none}.content{padding:30px 18px}.two-column{grid-template-columns:1fr}.table-row{grid-template-columns:1.5fr .8fr}.table-row span:nth-child(3),.table-row span:nth-child(4){display:none}.form-grid{grid-template-columns:1fr}.wide,.form-actions{grid-column:1}.editor-grid{display:block}.editor-panel,.canvas-panel{margin-bottom:10px}.block-list{max-height:240px}.action-review{display:grid}.editor-identity{flex-wrap:wrap}}.action-candidate-preview{max-width:360px;margin:12px 0}.action-candidate-preview img{object-fit:contain;border:1px solid var(--line);background:#edf1ef;border-radius:8px;width:100%;max-height:260px;display:block}.action-candidate-preview figcaption{color:var(--muted);margin-top:5px;font-size:11px}.eraser-panel{background:#fff7f5;border:1px solid #f1b4aa;border-radius:10px;margin:-2px -2px 16px;padding:12px}.eraser-panel .panel-title{gap:10px}.eraser-panel .panel-title h2{margin:0}.eraser-panel button.eraser-active{color:#fff;background:#dc5f4d;border-color:#dc5f4d}.eraser-brush{grid-template-columns:auto 1fr auto;align-items:center;gap:8px;margin-top:10px;display:grid}.eraser-brush input{padding:0}.eraser-panel .stack-actions{grid-template-columns:1fr 1fr;display:grid}.autofit-notice{margin:10px 0 0;font-size:12px;line-height:1.45}.autofit-notice.success{color:#17603e}.autofit-notice.warning{color:#8c5218}.autofit-notice.error{color:#a93636}.export-resolution{margin-top:12px}.export-resolution select{margin-top:5px}.editor-right-rail{display:contents}@media (min-width:1101px){body:has(.editor-workspace){overflow:hidden}.content:has(.editor-workspace){height:calc(100vh - 58px);padding-bottom:24px;overflow:hidden}.editor-workspace{flex-direction:column;height:100%;min-height:0;display:flex;overflow:hidden}.editor-grid{flex:1;grid-template-rows:minmax(0,1fr);grid-template-areas:"blocks canvas properties";min-height:0;overflow:hidden}.block-panel,.canvas-panel,.editor-right-rail{min-height:0}.block-panel{flex-direction:column;display:flex}.block-list{overscroll-behavior:contain;flex:1;max-height:none}.canvas-panel{overscroll-behavior:contain}.editor-right-rail{overscroll-behavior:contain;scrollbar-gutter:stable;flex-direction:column;grid-area:properties;gap:12px;padding-right:2px;display:flex;overflow:hidden auto}.editor-right-rail>.editor-panel{flex:none;overflow:visible}.editor-right-rail>.properties-panel,.editor-right-rail>.action-review{grid-area:auto}.editor-right-rail>.action-review{grid-template-columns:1fr}.editor-right-rail>.action-review section+section{border-top:1px solid var(--line);border-left:0;padding-top:18px;padding-left:0}}@media (min-width:1101px) and (max-width:1350px){.content:has(.editor-workspace) .editor-grid{grid-template-columns:190px minmax(400px,1fr) 280px;grid-template-areas:"blocks canvas properties"}}.ai-edit-chat{gap:12px;min-height:340px;display:grid}.ai-edit-chat-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.ai-edit-chat-heading>div{gap:3px;display:grid}.ai-edit-chat-heading small,.ai-edit-chat-note{color:var(--muted);font-size:12px}.ai-status-dot{background:#35b97f;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #35b97f1f}.ai-edit-chat-messages{overscroll-behavior:contain;flex-direction:column;gap:8px;max-height:280px;padding:2px;display:flex;overflow-y:auto}.ai-chat-message{overflow-wrap:anywhere;border-radius:12px;max-width:92%;padding:9px 11px;font-size:13px;line-height:1.55}.ai-chat-message.user{color:#fff;background:#1f6feb;border-bottom-right-radius:4px;align-self:end}.ai-chat-message.assistant{color:var(--ink);background:#f1f5f4;border-bottom-left-radius:4px;align-self:start}.ai-chat-message.warning{background:#fff8df}.ai-chat-message.error{color:#9d2b25;background:#fff0ee}.ai-chat-message button{width:100%;margin-top:8px}.ai-edit-chat-composer{gap:6px;font-size:12px;font-weight:700;display:grid}.ai-edit-chat-composer textarea{resize:vertical;min-height:86px}.ai-edit-chat>button{width:100%}.ai-edit-chat-note{margin:0;line-height:1.5}
.AppShell-module__JCX2KW__shell{background:#f4f7fb;grid-template-columns:208px minmax(0,1fr);min-height:100vh}.AppShell-module__JCX2KW__sidebar{z-index:20;color:#fff;background:linear-gradient(#14233d 0%,#101d34 100%);width:208px;height:100vh;padding:18px 12px;position:sticky;top:0}.AppShell-module__JCX2KW__brand{gap:10px;padding:0 4px 18px;font-size:15px}.AppShell-module__JCX2KW__brand span{color:#fff;background:#2768e8;border-radius:8px;width:30px;height:30px;font-size:14px}.AppShell-module__JCX2KW__brand strong{white-space:nowrap}.AppShell-module__JCX2KW__navigation{gap:5px;margin-top:8px;display:grid}.AppShell-module__JCX2KW__navigation a{color:#c4cede;border-radius:7px;align-items:center;gap:11px;min-height:42px;padding:0 13px;font-size:13px;text-decoration:none;transition:background .18s,color .18s;display:flex}.AppShell-module__JCX2KW__navigation a:hover,.AppShell-module__JCX2KW__navigation .AppShell-module__JCX2KW__active{color:#fff;background:#ffffff16}.AppShell-module__JCX2KW__navigation .AppShell-module__JCX2KW__active{box-shadow:inset 3px 0 #4b82ff}.AppShell-module__JCX2KW__navigation i{color:#91a7c7;place-items:center;width:20px;font-size:16px;font-style:normal;display:grid}.AppShell-module__JCX2KW__operator{border-top:1px solid #ffffff17;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;margin-top:auto;padding:14px 6px 2px;display:grid}.AppShell-module__JCX2KW__operator>span,.AppShell-module__JCX2KW__avatar{color:#2a4368;background:#e8eef8;border-radius:50%;place-items:center;font-weight:800;display:grid}.AppShell-module__JCX2KW__operator>span{width:32px;height:32px}.AppShell-module__JCX2KW__operator div{display:grid}.AppShell-module__JCX2KW__operator small{color:#8393ac;margin-top:2px;font-size:10px}.AppShell-module__JCX2KW__operator>i{color:#71839e;font-style:normal}.AppShell-module__JCX2KW__mainColumn{min-width:0}.AppShell-module__JCX2KW__topbar{z-index:15;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#ffffffec;border-bottom:1px solid #e4e9f1;justify-content:space-between;align-items:center;height:58px;padding:0 26px;display:flex;position:sticky;top:0}.AppShell-module__JCX2KW__topbarContext,.AppShell-module__JCX2KW__topbarActions{align-items:center;gap:12px;display:flex}.AppShell-module__JCX2KW__topbarContext span{color:#607089;font-size:12px}.AppShell-module__JCX2KW__topbar button{color:#53647c;cursor:pointer;background:0 0;border:0;border-radius:7px;place-items:center;width:31px;height:31px;padding:0;display:grid}.AppShell-module__JCX2KW__topbar button:hover{background:#eef3fb}.AppShell-module__JCX2KW__topbarActions{color:#35445b;gap:7px;font-size:12px}.AppShell-module__JCX2KW__avatar{width:29px;height:29px;margin-left:5px}.AppShell-module__JCX2KW__content{max-width:1540px;padding:28px 34px 54px}@media (max-width:1350px){.AppShell-module__JCX2KW__content .editor-grid{grid-template-columns:190px minmax(400px,1fr);grid-template-areas:"blocks canvas""properties properties""actions actions"}.AppShell-module__JCX2KW__content .property-grid{grid-template-columns:1fr 1fr}.AppShell-module__JCX2KW__content .editor-toolbar{flex-wrap:wrap}.AppShell-module__JCX2KW__content .toolbar-actions{margin-left:0}}@media (max-width:860px){.AppShell-module__JCX2KW__shell{display:block}.AppShell-module__JCX2KW__sidebar{width:100%;height:auto;padding:12px;display:block;position:static}.AppShell-module__JCX2KW__navigation{margin:0;display:flex;overflow-x:auto}.AppShell-module__JCX2KW__navigation a{flex:none}.AppShell-module__JCX2KW__operator{display:none}.AppShell-module__JCX2KW__content{padding:22px 16px 42px}}
