.character-sheet{margin:0 0 26px;border:1px solid #cebea4;border-radius:14px;overflow:hidden;background:#fcf8ee;box-shadow:0 5px 18px #5a43200a;color:#514431}.character-hero{display:flex;gap:22px;align-items:center;padding:23px;background:radial-gradient(ellipse at 10% 10%,#eee5cb,transparent 70%),#f5efdf;border-bottom:1px solid #dfd1b8}.character-portrait{width:114px;height:146px;position:relative;flex-shrink:0;border:1px solid #cdbb96;border-radius:60px 60px 10px 10px;background:radial-gradient(ellipse at center,#fffdf1,#e6ddc3 85%);overflow:hidden}.character-portrait img{width:100%;height:128px;object-fit:contain;display:block;filter:drop-shadow(0 3px 3px #70502e22)}.character-portrait>span{position:absolute;bottom:0;left:0;right:0;text-align:center;padding:5px;background:#796449;color:#fffaf0;font-size:10px;letter-spacing:3px}.character-kicker{font-size:9px;color:#9b8766;letter-spacing:2px}.character-identity{min-width:0}.character-identity h2{font-family:Georgia,Songti SC,serif;font-size:24px;margin:11px 0;line-height:1.4}.character-identity p{color:#867257;font-size:12px;line-height:1.7}.character-status{font-size:11px;display:inline-flex;align-items:center;gap:6px;color:#587151;border:1px solid #c2cfaf;background:#eaf0df;padding:4px 8px;border-radius:4px}.character-status:before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor}.character-status.working{color:#98732b;background:#f7edca;border-color:#dac37f}.character-tallies{display:grid;grid-template-columns:repeat(3,1fr);padding:15px 0;border-bottom:1px solid #dfd1b8;background:#fffcf5}.character-tallies>span{text-align:center;font-size:11px;color:#948264;border-right:1px solid #e1d7c2}.character-tallies>span:last-child{border:0}.character-tallies strong{display:block;font-family:Georgia,serif;font-size:22px;color:#635338;margin-bottom:4px}.character-tabs{display:flex;background:#f0e8d8;border-bottom:1px solid #dfd1b8;padding:0 10px}.character-tabs button{flex:1;border:0;border-radius:0;box-shadow:none;background:transparent;padding:14px 3px;color:#948166;font-size:12px;border-bottom:2px solid transparent}.character-tabs button[aria-selected=true]{border-bottom-color:#63794c;color:#4c653e;background:#fcf8ee}.character-tabs small{font-size:10px;background:#e6ddca;border-radius:3px;padding:1px 4px}.character-panel{padding:20px}.character-panel h3{font-size:14px;margin:5px 0 12px}.character-panel>p{font-size:12px;line-height:1.9;margin-bottom:20px}.character-attributes{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px;border-top:1px dashed #d7c8ad;border-bottom:1px dashed #d7c8ad;padding:18px 0;margin:18px 0 22px}.character-attributes dt{color:#978263;font-size:10px;margin-bottom:5px}.character-attributes dd{margin:0;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.character-boundary{display:flex;gap:10px;background:#eee9dd;border-left:2px solid #b6a37d;padding:12px;margin:20px 0}.character-boundary svg{flex-shrink:0;margin-top:3px}.character-boundary p{font-size:11px;line-height:1.9;margin:0}.character-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.character-section-title h3{margin:0}.character-section-title>span{font-size:10px;color:#918165}.innate-skills{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 25px}.innate-skills>span{display:flex;align-items:center;gap:5px;background:#eae6d8;border:1px solid #dbd1b9;padding:6px 8px;border-radius:5px;font-size:11px}.character-skills{display:grid;gap:10px}.skill-tile{display:flex;align-items:flex-start;gap:12px;text-align:left;width:100%;padding:14px 12px;border-color:#ded1b9;background:#fffcf4;box-shadow:none}.skill-tile.equipped{border-color:#9eae86;background:#edf1e2}.skill-emblem{display:grid;place-items:center;flex-shrink:0;width:40px;height:44px;border:1px solid #cbb996;border-radius:8px;background:#efe5cd;color:#987a3a}.skill-tile.equipped .skill-emblem{background:#dee7cb;color:#60783e;border-color:#b6c69b}.skill-tile>span:nth-child(2){flex:1;min-width:0}.skill-tile small{display:block;font-size:9px;color:#978667;letter-spacing:2px}.skill-tile strong{display:block;font-size:13px;margin:4px 0 6px}.skill-tile p{font-size:11px;line-height:1.8;font-weight:400;margin:0;color:#88765d}.skill-toggle{width:22px;height:22px;display:grid;place-items:center;flex-shrink:0;border:1px solid #d3c6ac;border-radius:50%;color:#8d7c5d}.equipped .skill-toggle{background:#657d4d;border-color:#657d4d;color:#fff}.character-inventory{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.inventory-item{padding:15px 12px;border:1px solid #caba98;background:#f5eedc;border-radius:7px;display:flex;align-items:flex-start;flex-direction:column;gap:7px;min-width:0}.inventory-item>svg{color:#98804b}.inventory-item strong{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.inventory-item small{font-size:10px;color:#8f7c5d;line-height:1.7}.inventory-item button{font-size:10px;padding:4px 7px;margin-top:auto;background:#fffcf4}.inventory-empty{grid-column:1/-1;padding:26px;text-align:center;display:flex;flex-direction:column;gap:9px;align-items:center;border:1px dashed #caba98;border-radius:8px;color:#998566}.inventory-empty strong{font-size:12px}.inventory-empty span,.character-empty{font-size:11px;line-height:1.8}.character-save{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;background:#f0e9d9;border-top:1px solid #dfd1b8}.character-save p{font-size:10px;line-height:1.8;color:#8b7757;margin:0}.character-save button{font-size:11px;white-space:nowrap}.task-loadout-preview{border:1px solid #d9d0b8;border-radius:7px;background:#f5f0e3;padding:14px;margin:20px 0}.task-loadout-preview p{font-size:11px;line-height:1.8;color:#8e7c60}.task-loadout-preview ul{font-size:11px;line-height:1.9;padding-left:18px}@media(max-width:420px){.character-hero{padding:18px 14px;gap:14px}.character-portrait{width:90px;height:126px}.character-portrait img{height:110px}.character-identity h2{font-size:20px}.character-panel{padding:16px}.character-save{padding:14px;flex-wrap:wrap}.character-save button{width:100%}.character-attributes{gap:12px}.character-inventory{grid-template-columns:1fr}}:root{font-family:Segoe UI,Microsoft YaHei,system-ui,sans-serif;color:#2b3c34;background:#f5f3ee;font-synthesis:none;font-size:14px;--green: #376e58;--line: #e4e6df;--muted: #8a9288}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfe3db;background:#fff;color:#465348;padding:10px 14px;border-radius:7px;cursor:pointer;transition:background .15s,box-shadow .15s}button:hover{background:#f0f4ed}button:disabled{opacity:.5;cursor:not-allowed}button svg{flex-shrink:0}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}input,select,textarea{display:block;width:100%;border:1px solid #dce2d9;border-radius:6px;padding:11px 12px;background:#fff;color:#334539;outline:none}textarea{resize:vertical;line-height:1.7}input:focus,select:focus,textarea:focus{border-color:#65917b;box-shadow:0 0 0 3px #65917b15}:focus-visible{outline:2px solid #427a61;outline-offset:3px}label{display:block;font-size:13px;font-weight:550;margin:19px 0}label input,label textarea,label select{margin-top:8px;font-weight:400}h1,h2,h3,h4,p{margin-top:0}h4{font-size:13px;margin-top:26px;margin-bottom:13px}p{line-height:1.8}small{font-size:11px;color:var(--muted)}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#2b5e49}.full{width:100%;margin-top:12px}.muted{color:var(--muted);font-size:12px}.intro{color:#778275;line-height:1.9}.notice{background:#f5f3e9;border:1px solid #ebe4cb;border-radius:7px;padding:12px 15px;font-size:12px;line-height:1.8;color:#89764c;margin:15px 0}.eyebrow{font-size:10px;letter-spacing:2px;color:#90988b;font-weight:600}.topbar{height:76px;padding:0 32px;display:flex;align-items:center;gap:24px;background:#fffefb;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;color:#284d3b;font-weight:650;font-size:18px;white-space:nowrap}.brand:hover{text-decoration:none}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:3px}.brand-mark{display:grid;place-items:center;background:#e4eee6;width:40px;height:40px;border-radius:10px}.header-divider{width:1px;height:25px;background:var(--line)}.space-select{width:auto;max-width:200px;border:0;background:transparent;font-size:13px;padding-left:0}.topbar nav{display:flex;height:100%;gap:12px;margin:auto}.topbar nav button{border:0;border-radius:0;background:transparent;color:#91998e;font-size:13px;padding:0 18px;position:relative}.topbar nav button.active{color:var(--green);font-weight:600}.topbar nav button.active:after{content:"";height:3px;background:var(--green);position:absolute;bottom:0;left:18px;right:18px}.tiny-dot{width:5px;height:5px;background:#579273;border-radius:50%}.header-actions{display:flex;gap:13px;align-items:center}.header-actions button{border:0;background:transparent;padding:5px;color:#7b877b}.header-actions .avatar{width:32px;height:32px;background:#eeeade;border:1px solid #ded9c9;border-radius:50%;font-size:12px;color:#82714c}.taskbar{display:flex;justify-content:space-between;align-items:center;padding:18px 32px;background:#fffefb;border-bottom:1px solid var(--line);gap:18px}.task-picker{display:flex;align-items:center;gap:16px;min-width:0}.task-picker select{border:0;background:transparent;font-weight:550;max-width:420px;padding:0 22px 0 0}.task-picker .eyebrow{white-space:nowrap;font-size:11px;letter-spacing:1px}.task-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}.task-actions>button:not(.primary){font-size:12px}.status-pill{display:flex;align-items:center;gap:7px;font-size:11px;color:#87907e}.status-pill>span{width:6px;height:6px;background:#aeb5a8;border-radius:50%}.status-pill.running>span{background:#478464;box-shadow:0 0 0 4px #47846412}.status-pill.waiting,.status-pill.failed{color:#b47b42}.status-pill.waiting>span,.status-pill.failed>span{background:#c38a47}.status-pill.completed{color:#41876d}.office-view{position:relative;padding:0 30px 25px;min-height:calc(100dvh - 150px);overflow:hidden}.map-meta{display:flex;align-items:center;justify-content:space-between;padding:18px 0 2px;font-size:11px;color:#91998c}.map-meta>span{display:flex;align-items:center;gap:8px}.map-meta button{background:transparent;border:0;font-size:11px;padding:4px 0;color:#84907f}.map-meta button span{padding:1px 6px;background:#e7eadf;border-radius:4px}.connection-dot{width:6px;height:6px;border-radius:50%;background:#c4b994}.connection-dot.online{background:#5b8a72}.meta-separator{margin:0 8px;opacity:.5}.map-scroll{overflow:auto;scrollbar-width:thin}.map-inner{margin:auto;max-width:1900px}.office-svg{display:block;width:100%;max-height:calc(100dvh - 255px);min-height:430px;overflow:visible}.corridor{fill:none;stroke:#e6e2d8;stroke-width:75;stroke-linejoin:round}.corridor-line{fill:none;stroke:#f0ede6;stroke-width:68;stroke-linejoin:round}.transfer{stroke:#c9cfc2;stroke-width:2;stroke-dasharray:4 6;fill:none}.transfer.flowing{stroke:#6a9b7e;stroke-dasharray:5 6;animation:flow 1s linear infinite}.room-label,.agent-avatar{cursor:pointer;outline:none}.room-label:hover rect:first-child{fill:#f1f5ed}.agent-avatar:hover .agent-hover,.agent-avatar:focus .agent-hover{fill:#fff8;stroke:#a7b6a3;stroke-dasharray:3 3}.room-label:focus rect{stroke:#527b60}.typing{fill:#548165}.typing circle{animation:blink 1s ease-in-out infinite}.typing circle:nth-child(2){animation-delay:.2s}.typing circle:nth-child(3){animation-delay:.4s}.work-halo{animation:pulse 2s infinite}.room.blocked .room-floor{animation:blocked 2.5s infinite}.map-footer{display:flex;align-items:center;justify-content:space-between;padding-top:8px;gap:15px;font-size:10px;color:#92998b}.legend{display:flex;gap:16px}.legend span{display:flex;gap:6px;align-items:center}.legend i{display:inline-block;width:6px;height:6px;border-radius:50%}.waiting-dot{background:#bfc3b5}.running-dot{background:#578d6b}.blocked-dot{background:#c69053}.complete-dot{background:#718fa2}.zoom{display:flex;align-items:center;gap:8px}.zoom button{border:0;background:transparent;padding:5px;font-size:17px}.action-card{position:absolute;bottom:68px;left:50%;transform:translate(-50%);max-width:680px;width:calc(100% - 90px);justify-content:flex-start;text-align:left;box-shadow:0 6px 30px #60593512;border-color:#e1cba8;background:#fffdf6;padding:15px 20px;gap:14px}.action-card.review{border-color:#bcd3bd;background:#fbfff8}.action-card>svg{margin-left:auto}.action-card strong{display:block;font-size:13px;font-weight:600}.action-card small{display:block;margin-top:5px;max-width:500px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-icon{color:#b4884e}.action-card.review .action-icon{color:#50836b}.empty-map-note{display:flex;align-items:center;gap:12px;justify-content:center;font-size:11px;color:#989d90;margin:15px 0 0}.empty-map-note>span{color:#59745c;font-weight:600}.empty-map-note button{border:0;background:transparent;padding:0;font-size:11px;color:#4d7e5e}.preview-layout{max-width:1280px;margin:32px auto;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;padding:0 30px}.article-paper{background:#fffefb;min-height:70vh;border:1px solid #e5e6dd;border-radius:6px;padding:36px 48px;box-shadow:0 3px 7px #343e2d03}.article-top{display:flex;justify-content:space-between;font-size:10px;color:#8f9889;border-bottom:1px solid #ebede5;padding-bottom:22px;margin-bottom:30px}.article-paper h1{font-size:27px;font-weight:650;line-height:1.5}.article-paper article,.artifact{font-size:14px;line-height:1.9;color:#4d584b;overflow-wrap:anywhere}.article-paper h2,.artifact h2{font-size:21px;margin-top:32px}.article-paper h3{font-size:17px}.article-paper blockquote{border-left:3px solid #a9c3a4;padding-left:18px;color:#7a8775}.article-paper table,.artifact table{border-collapse:collapse;width:100%;font-size:12px;display:block;overflow:auto}.article-paper td,.article-paper th,.artifact td,.artifact th{border:1px solid #e2e5db;padding:10px}.article-tools h3{font-size:15px;margin-bottom:6px}.article-tools>p{font-size:12px;color:#949b8c}.article-tools h4{padding-top:20px;border-top:1px solid #dfe4d9;display:flex;justify-content:space-between}.export-links{display:flex;gap:20px;font-size:12px;margin:20px 0}.export-links a{display:flex;align-items:center;gap:6px}.source-link{display:flex;width:100%;text-align:left;justify-content:flex-start;border:0;border-bottom:1px solid #ecede6;border-radius:0;background:transparent;padding:12px 0;font-size:12px;gap:10px}.source-link>span{flex:1;overflow:hidden;overflow-wrap:anywhere}.source-link small{display:block;font-size:10px;margin-top:5px;color:#9da393}.source-link>svg:last-child{font-size:13px;color:#9aa38f}.source-link>svg:first-child{color:#7c9277}.article-empty{min-height:370px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#97a08f}.article-empty h3{margin-top:20px;color:#697962}.article-empty p{max-width:300px;font-size:13px}.writing-note{color:#9aa590;font-size:12px;border-top:1px dashed #dde4d5;padding-top:22px}.drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100dvh;max-height:100dvh;width:500px;max-width:100%;border:0;border-left:1px solid #e0e4d9;background:#fffefb;padding:0;color:#344535;box-shadow:-8px 0 40px #23332310}.drawer::backdrop{background:#23332326;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.drawer-head{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 28px;border-bottom:1px solid #e3e7dc;position:sticky;top:0;background:#fffefbf5;z-index:2;font-size:16px;font-weight:600}.drawer-head button{background:transparent;border:0;padding:5px;color:#8b9683}.drawer-content{padding:26px 28px 44px}.drawer-content h2{font-size:22px}.drawer-content h3{font-size:16px}.upload-box{border:1px dashed #c8d3c0;border-radius:8px;background:#f7f8f2;padding:17px;margin:20px 0}.file-label{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;margin:0;color:#71846a;position:relative;cursor:pointer;font-weight:400}.file-label strong{font-weight:500;font-size:12px}.file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}.file-label small{font-size:10px}.url-row{display:flex;gap:6px;margin-top:16px}.url-row input{font-size:11px;padding:9px}.url-row button{padding:7px}.attached{display:flex;gap:8px;align-items:center;padding:9px;background:#f0f4eb;font-size:12px;border-radius:5px;margin-bottom:6px}.attached button{padding:2px;margin-left:auto;background:transparent;border:0}.person-row{display:flex;gap:13px;text-align:left;justify-content:flex-start;width:100%;border:0;border-bottom:1px solid #e9ece2;border-radius:0;background:transparent;padding:15px 0}.person-initial{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e6eddc;color:#7c906d;font-size:13px}.person-row>span:nth-child(2){flex:1}.person-row strong{font-size:13px;font-weight:500}.person-row small{display:block;margin-top:4px}.person-row>svg{color:#a3aa97}.agent-profile{display:flex;gap:15px;align-items:center;border-bottom:1px solid #e4e9dd;padding-bottom:22px}.big-avatar{display:grid;place-items:center;width:64px;height:64px;border-radius:20px;background:#e4eddc;font-size:23px;color:#66825c}.agent-profile h2{font-size:18px;margin-bottom:6px}.agent-profile p{font-size:11px;margin:0;color:#8b9880}.checkbox{display:flex;align-items:center;gap:8px}.checkbox input{width:auto;margin:0;accent-color:var(--green)}.event-list{margin-bottom:24px}.event{display:flex;gap:12px;position:relative;padding:0 0 18px}.event:not(:last-child):before{content:"";position:absolute;left:4px;top:14px;bottom:0;width:1px;background:#e0e5d8}.event>i{margin-top:5px;width:9px;height:9px;flex-shrink:0;border-radius:50%;border:2px solid #a2b394;background:#fff}.event.blocked>i,.event.error>i{border-color:#c48f50}.event small{font-size:10px}.event p{font-size:12px;margin:5px 0 0;white-space:pre-wrap;line-height:1.7;color:#6e7e63}.block-reason{border:1px solid #e7d5b8;background:#fcf8ee;padding:20px;border-radius:8px;color:#aa804b}.block-reason h3{margin-top:12px}.block-reason p{white-space:pre-wrap;font-size:13px;margin:0;overflow-wrap:anywhere}.issue-context{display:grid;gap:8px;font-size:13px}.issue-context div{display:flex;gap:12px}.issue-context dt{flex-shrink:0}.issue-context dd{margin:0}.source-text{font-family:inherit;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.delivery-illustration{display:grid;place-items:center;background:#edf3e7;border-radius:50%;width:90px;height:90px;color:#729267;margin:20px auto 30px}.settings-tabs{display:flex;gap:5px;margin-bottom:24px}.settings-tabs button{border:0;background:transparent;font-size:12px;padding:8px 12px}.settings-tabs .selected{background:#eaf0e2;color:#4b6e40}.member-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e4e8dc;padding:12px 0;font-size:12px}.member-row small{display:block;margin-top:5px}.member-row button{border:0;background:transparent;padding:5px;color:#9aa58e}.success-text{font-size:12px;color:#4a845c}.error-banner{display:flex;align-items:center;gap:10px;background:#fff0e7;color:#a1653e;padding:12px 30px;font-size:12px;line-height:1.6}.error-banner button{margin-left:auto;border:0;padding:0;background:transparent;color:inherit}.toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%);z-index:20;display:flex;align-items:center;gap:10px;padding:12px 20px;border-radius:7px;background:#345a43;color:#fff;box-shadow:0 4px 30px #20332225;font-size:13px}.danger{background:#a96248;color:#fff;border:0}.form-error{color:#ab633f;font-size:12px}.loading{display:grid;place-items:center;min-height:100dvh;color:#78906e}.login{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;max-width:1600px;margin:auto}.login-art{background:#e6ebdf;padding:100px 12%;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-art:after{content:"";width:380px;height:380px;border:1px solid #cbd6be;border-radius:80px;position:absolute;bottom:-220px;right:-80px;transform:rotate(35deg)}.login-art .eyebrow{color:#718663;margin-bottom:45px}.login-art h1{font-size:52px;font-weight:500;line-height:1.4;letter-spacing:2px;color:#405b3b}.login-art p{color:#88977c;line-height:2.2;font-size:14px;margin-top:12px}.login-floor{display:flex;align-items:center;gap:20px;margin:55px 0;color:#90a383}.login-floor span{background:#f5f6ed;border:1px solid #d7dfcb;padding:25px 16px;border-radius:8px;font-size:12px;box-shadow:0 6px #d3dcc7}.login-art>small{margin-top:15px;color:#93a085;font-size:11px}.login-form{align-self:center;width:350px;max-width:80%;margin:60px auto}.login-form>svg{color:#668958;margin-bottom:32px}.login-form h2{font-size:25px;font-weight:550;margin-bottom:12px}.login-form>p{color:#9aa38d;font-size:12px;margin-bottom:30px}.login-form button{margin-top:26px;justify-content:space-between;padding:13px 16px}@keyframes flow{to{stroke-dashoffset:-22}}@keyframes blink{50%{opacity:.25}}@keyframes pulse{50%{opacity:.35;stroke-width:4}}@keyframes blocked{50%{stroke:#e1b77b}}@media(min-width:1600px){.office-view{padding-left:5%;padding-right:5%}.map-inner{max-width:1600px}}@media(max-width:1100px){.topbar{gap:15px;padding:0 22px}.topbar nav{gap:0}.topbar nav button{padding:0 12px}.space-select{max-width:155px}.taskbar{padding:15px 22px}.task-picker select{max-width:280px}.office-view{padding:0 16px 16px}.office-svg{min-height:360px}.map-hint{display:none}.task-actions{gap:8px}.preview-layout{padding:0 20px;grid-template-columns:minmax(0,1fr) 240px;gap:18px}.article-paper{padding:28px}.login-art{padding:70px 10%}.login-art h1{font-size:42px}}@media(max-width:760px){.topbar{height:auto;min-height:70px;flex-wrap:wrap;gap:12px;padding:12px 16px 0}.brand{font-size:15px}.brand small{font-size:7px}.brand-mark{width:34px;height:34px}.header-divider{display:none}.space-select{max-width:140px;font-size:11px}.header-actions{margin-left:auto}.topbar nav{order:4;width:100%;height:43px;justify-content:center}.taskbar{padding:12px 15px;align-items:flex-start;flex-direction:column;gap:10px}.task-actions{width:100%;justify-content:flex-end}.task-picker select{max-width:calc(100vw - 130px)}.office-view{padding:0 10px 15px}.map-scroll{min-height:510px}.map-inner{min-width:900px}.office-svg{min-height:530px;max-height:none}.map-meta{font-size:10px;gap:5px}.map-footer{flex-wrap:wrap}.legend{gap:10px}.zoom{margin-left:auto}.action-card{position:relative;left:auto;bottom:auto;transform:none;width:100%;margin:18px 0 0;padding:12px}.action-card small{max-width:240px}.empty-map-note{flex-wrap:wrap;text-align:center;line-height:1.8}.preview-layout{display:flex;flex-direction:column;padding:0 12px;margin:16px auto}.article-paper{padding:24px 20px}.article-paper h1{font-size:23px}.article-tools{padding:18px}.login{display:block}.login-art{padding:45px 10%;min-height:220px}.login-art h1{font-size:32px}.login-art h1 br{display:none}.login-art .eyebrow{margin-bottom:20px}.login-art p,.login-floor,.login-art>small{display:none}.login-form{margin:40px auto}.login-form>svg{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.transfer.flowing{stroke-dasharray:none}.work-halo{opacity:1}}@media(prefers-reduced-motion:reduce){.flow-packet{display:none}}.probe-result{display:flex;align-items:flex-start;gap:8px;padding:11px 12px;margin:10px 0;border:1px solid #d4e0cb;border-radius:4px;font-size:12px;line-height:1.7;background:#eff6eb;color:#44683f}.probe-result svg{flex-shrink:0;margin-top:3px}.probe-result small{display:block;font-size:10px;color:inherit;opacity:.7;margin-top:4px}.probe-error{background:#fcf2e8;border-color:#e8c9ab;color:#a26537}.probe-note{line-height:1.8;margin-top:16px}.probe-spin{animation:probe-spin 1s linear infinite}@keyframes probe-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.probe-spin{animation:none}}.citation-difference{margin:18px 0;padding:15px 12px;border:1px solid #dfc9a6;border-radius:6px;background:#fffcf5;min-width:0}.citation-difference h4{margin:0 0 10px}.citation-difference h5{font-size:12px;margin:18px 0 9px}.citation-list{list-style:none;padding:0;margin:8px 0;max-height:350px;overflow:auto}.citation-list li{display:flex;flex-direction:column;gap:6px;padding:10px 0;border-bottom:1px dashed #e7d9c2;font-size:11px;line-height:1.8;overflow-wrap:anywhere}.citation-list strong{font-size:11px}.citation-list code{font-size:10px;white-space:pre-wrap;overflow-wrap:anywhere;color:#745736;background:#f3eadb;padding:2px 4px;border-radius:3px}.citation-list small{font-size:10px}.citation-difference summary{cursor:pointer;font-size:12px;margin-top:16px}.block-reason .citation-legacy{margin-top:16px;padding:10px;border-left:2px solid #c5a77d;background:#f4eddf;font-size:12px}.review-return-notice{flex-shrink:0;margin:10px 12px;padding:12px 14px;border:1px solid #d9c399;border-radius:9px;background:#fff8e7;color:#796044;font-size:12px;line-height:1.8;overflow-wrap:anywhere;min-width:0}.review-return-notice>summary{cursor:pointer;font-weight:600;min-height:24px}.review-return-notice>summary>span{font-weight:400;margin-left:8px}.review-return-notice>div{max-height:30dvh;overflow:auto;overscroll-behavior:contain;margin-top:12px}.review-return-notice ol{padding-left:22px}.review-return-notice li{margin-bottom:12px}.review-return-notice p{white-space:pre-wrap;margin:4px 0}.review-return-notice h4{margin:14px 0 6px}.review-return-notice details>summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 0}:root{color-scheme:light;background:#faf6ed;color:#514b3d;--green:#607b60;--line:#e6dcc9;--muted:#91846d}body{background:#faf6ed}.topbar{background:#fffdf7;border-color:#e6dcc9}.brand{color:#65543b}.brand small{letter-spacing:2px;color:#a28c69}.brand-mark{background:#eee6d5;color:#826b42}.workspace-bar{background:#faf6ed;border-color:#e6dcc9}button{border-color:#e1d7c5;background:#fffdf7;color:#6a604c;border-radius:9px}button:hover{background:#f1e9da}.primary{background:#607b60;color:#fffdf5;border-color:#607b60}.primary:hover{background:#4f6b50}input,textarea,select{border-color:#dfd5c3;background:#fffdf8;color:#564f40}.office-view{background:#faf6ed;padding:0 24px 22px;overflow:visible}.map-meta{color:#9c8c72}.map-inner{max-width:none;min-width:0}.office-svg.atelier-world{height:auto;width:100%;min-height:0;max-height:none;overflow:visible}.atelier-world{font-family:Microsoft YaHei,Segoe UI,sans-serif}.atelier-world image{image-rendering:auto}.atelier-room image{pointer-events:none}.room-label,.pixel-actor{cursor:pointer;outline:none}.room-label:hover>rect,.room-label:focus-visible>rect{stroke:#7c8b61;stroke-width:2.5}.actor-ring{opacity:0;stroke-width:2.5}.pixel-actor:hover .actor-ring,.pixel-actor:focus-visible .actor-ring,.pixel-actor.working .actor-ring,.pixel-actor.needs-help .actor-ring{opacity:1}.actor-name>rect:first-child{rx:6;stroke:#dac8a7;stroke-width:.7}.actor-name>rect:nth-child(2){rx:1.5}.pixel-actor:hover .actor-name>rect:first-child,.pixel-actor:focus-visible .actor-name>rect:first-child{stroke:#6d865f;stroke-width:2}.pixel-actor.working .character-art{animation:atelier-work 2s ease-in-out infinite}.pixel-actor.walking .character-art{animation:atelier-walk .42s ease-in-out infinite}.thought-bubble{animation:atelier-work 1.6s ease-in-out infinite}.needs-help .thought-bubble,.state-beacon{animation:atelier-pulse 1.5s ease-in-out infinite}.pixel-typing rect{animation:atelier-pulse 1.1s ease-in-out infinite}.pixel-typing rect:nth-child(2){animation-delay:.2s}.pixel-typing rect:nth-child(3){animation-delay:.4s}.atelier-return{animation:flow 1s linear infinite}.map-footer{border-color:#e3d8c4;color:#928167}.zoom{border-radius:14px;background:#fffaf0}.drawer{background:#fffdf7}.drawer-header{background:#fffdf7;border-color:#e6dcc9}.login-art{background:#faf3e6;padding:55px 12%}.login-art:after{display:none}.login-art h1{color:#6e593b;font-size:44px}.login-art .eyebrow{color:#a48b63;margin-bottom:24px}.login-art p{color:#9d8d72}.login-art-scene{max-width:410px;width:100%;margin:10px auto}.login-art-scene svg{display:block;width:100%}.login-form{padding-block:30px}@keyframes atelier-work{50%{transform:translateY(-2px)}}@keyframes atelier-walk{25%{transform:translateY(-3px) rotate(-2deg)}75%{transform:translateY(-3px) rotate(2deg)}}@keyframes atelier-pulse{50%{opacity:.45}}@media(max-width:1000px){.office-view{padding:0 10px 16px}.login-art h1{font-size:34px}}@media(prefers-reduced-motion:reduce){.atelier-world *{animation:none!important}.flow-packet{display:none}}.app.office-mode{height:100dvh;min-height:0;display:flex;flex-direction:column;overflow:hidden}.office-mode>.topbar,.office-mode>.taskbar{flex-shrink:0}.office-mode .office-view{flex:1;min-height:0;display:flex;flex-direction:column;padding-bottom:8px;overflow:hidden}.office-mode .map-scroll{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.office-mode .map-inner{min-width:0;max-width:none;margin:0 auto}.office-mode .office-svg.atelier-world{width:100%;height:100%;min-height:0;max-height:none;overflow:hidden}.office-mode .map-meta,.office-mode .map-footer,.office-mode .empty-map-note{flex-shrink:0}.office-mode .map-meta{padding:6px 0;gap:8px}.office-mode .map-footer{padding:6px 0;flex-wrap:wrap;gap:8px}.office-mode .empty-map-note{margin:0;padding:4px 0;font-size:11px}.office-mode .action-card{position:static;transform:none;flex-shrink:0;align-self:center;width:min(680px,100%);max-width:100%;margin:2px 0;padding:8px 14px;order:3}.map-tools{display:flex;align-items:center;gap:5px}.map-tools select{width:auto;max-width:145px;padding:6px;font-size:11px}.map-tools button{padding:6px 8px;font-size:11px}.asset-library{width:min(900px,94vw);max-height:90dvh;overflow:auto;border:1px solid #d8cbb5;border-radius:16px;padding:24px;background:#fffaf0;color:#65543c}.asset-library::backdrop{background:#30291b55}.asset-library header{display:flex;justify-content:space-between;gap:20px}.asset-library h2{margin:0}.asset-library p{font-size:12px;line-height:1.8}.asset-library section{border-top:1px solid #e5d8c1;margin-top:20px;padding-top:12px}.portrait-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:8px}.portrait-grid figure{margin:0;text-align:center;padding:10px;background:#f7efdf;border-radius:10px}.portrait-grid img{object-fit:contain}.portrait-grid figcaption{font-size:11px}.scene-preview{width:100%;max-width:600px;display:block;margin:15px auto}.stride-a,.stride-b{transform-origin:0 -13px;animation:stride .5s ease-in-out infinite alternate}.stride-b{animation-delay:-.5s}.writing-hand{animation:hand-write .7s ease-in-out infinite alternate;transform-origin:20px -14px}.pose-draw .writing-hand{animation-duration:1.4s}.ink-stroke{stroke-dasharray:60;animation:ink 2s linear infinite}.talk-hand{transform-origin:14px -22px;animation:gesture 1.4s ease-in-out infinite}.carried-paper{animation:atelier-work .5s ease-in-out infinite}@keyframes stride{0%{transform:rotate(-8deg) translateY(-1px)}to{transform:rotate(8deg) translateY(1px)}}@keyframes hand-write{0%{transform:rotate(-12deg) translate(-3px)}to{transform:rotate(10deg) translate(4px)}}@keyframes ink{0%{stroke-dashoffset:60}to{stroke-dashoffset:0}}@keyframes gesture{50%{transform:rotate(-18deg)}}@media(max-width:760px){.map-meta{flex-wrap:wrap}.map-tools{margin-left:auto}.office-mode .empty-map-note,.office-mode .map-footer .map-hint{display:none}.office-mode .map-footer{font-size:9px}.office-mode .action-card small{max-height:2.8em;overflow:auto}}@media(prefers-reduced-motion:reduce){.character-art *{animation:none!important}}.demo-entry{display:inline-flex;align-items:center;white-space:nowrap;padding:7px 10px;border:1px solid #c9b994;border-radius:8px;background:#f8efd9;color:#735c37;font-size:12px}.demo-badge{display:inline-block;font-size:12px;padding:5px 10px;background:#f8e9c8;color:#8a642d;border-radius:6px}.demo-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 24px;flex-shrink:0;border-bottom:1px solid #e3d9c5}.demo-controls>span{font-size:12px;color:#8a7b60}.demo-controls>div{display:flex;gap:6px}.demo-controls select,.demo-app .map-meta>select{width:auto;padding:6px;font-size:12px}.demo-controls button{padding:7px 10px}.demo-status{display:flex;gap:15px;padding:8px 24px;flex-shrink:0;background:#f3eddf;font-size:12px;line-height:1.6}.demo-status strong{white-space:nowrap}.demo-action{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;flex-shrink:0;gap:8px;background:#fff6df;border:1px solid #debd87;border-radius:10px;padding:8px 12px;margin:4px auto;max-width:100%;font-size:12px}.demo-action button{padding:7px 10px}.demo-app .article-tools p{line-height:1.8}.demo-app .article-paper>.demo-action{margin-top:20px}@media(max-width:760px){.demo-controls{padding:6px 10px;flex-wrap:wrap}.demo-status{padding:6px 10px;gap:6px;flex-wrap:wrap}.demo-controls>span{font-size:10px}.demo-app .topbar{padding-bottom:6px}.demo-app .map-meta{flex-wrap:wrap}.demo-action{font-size:10px}.demo-action span{max-width:100%}.map-tools{flex-wrap:wrap}}.office-mode .map-stage{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;padding-top:30px}.map-view-controls{position:absolute;top:0;right:0;display:flex;gap:5px;z-index:2}.map-view-controls button{padding:4px 8px;font-size:11px}.office-mode:has(.map-focused)>.topbar,.office-mode:has(.map-focused)>.taskbar,.office-mode:has(.map-focused)>.demo-controls,.office-mode:has(.map-focused) .map-meta,.office-mode:has(.map-focused) .empty-map-note{display:none}.office-mode .topbar{height:52px;gap:14px;padding:0 20px}.office-mode .demo-controls,.office-mode .demo-status{padding:4px 20px}.office-mode .map-footer{padding:3px 0}.office-mode .map-inner{flex:none}.animation-gallery{max-width:1100px;margin:auto;padding:32px 24px;line-height:1.7}.animation-gallery header{display:flex;justify-content:space-between;align-items:center;gap:20px}.animation-gallery h1{margin:0;font-size:28px}.animation-gallery h2{font-size:18px}.animation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(256px,1fr));gap:20px;margin:24px 0}.animation-grid figure{margin:0;padding:18px;border:1px solid #e1d4bd;border-radius:16px;background:#faf3e6;text-align:center}.animation-grid img{width:256px;max-width:100%;height:auto;display:block;margin:auto}@media(max-height:600px){.office-mode .topbar{height:36px;min-height:36px;padding:0 10px;gap:8px;flex-wrap:nowrap}.office-mode .topbar nav{order:0;width:auto;height:36px;gap:0}.office-mode .topbar nav button{padding:0 8px;font-size:11px}.office-mode .brand{font-size:14px}.office-mode .brand small,.office-mode .brand-mark,.office-mode .header-divider{display:none}.office-mode .demo-badge{font-size:10px;padding:3px 5px}.office-mode .taskbar{padding:4px 10px;min-height:0;gap:6px}.office-mode .demo-controls{padding:3px 10px;flex-wrap:nowrap;gap:5px}.office-mode .demo-controls>span{display:none}.office-mode .demo-controls button,.office-mode .demo-controls select,.office-mode .map-meta select,.office-mode .demo-action button{padding:4px 7px;font-size:11px}.office-mode .demo-status{padding:3px 10px;font-size:11px;flex-wrap:nowrap;gap:8px}.office-mode .demo-status>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.office-mode .map-meta{padding:2px 0;font-size:10px;flex-wrap:nowrap}.office-mode .map-meta>span,.office-mode .map-footer>span,.office-mode .empty-map-note{display:none}.office-mode .map-meta{justify-content:flex-end}.office-mode .map-footer{justify-content:flex-end;padding:1px 0}.office-mode .zoom button{padding:3px 6px;font-size:11px}.office-mode .demo-action{margin:2px 0;padding:4px 8px;font-size:11px;gap:6px;justify-content:space-between}.office-mode .demo-action>span{display:none}.office-mode .office-view{padding-bottom:2px}.office-mode .map-stage{padding-top:26px}}.pixel-actor .character-art.animated-action{animation:none}.blocked-alert{pointer-events:none}.alert-halo{transform-origin:0 -76px;animation:alert-ring 1.4s ease-out infinite}@keyframes alert-ring{0%{transform:scale(1);opacity:.8}to{transform:scale(1.65);opacity:0}}.motion-paused *,.alert-paused *{animation-play-state:paused!important}.motion-paused .flow-packet{display:none}@media(prefers-reduced-motion:reduce){.alert-halo{animation:none;opacity:.5}}.animation-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin-top:20px}.animation-controls label{margin:0}.character-preview{width:100%;max-width:190px;display:block;margin:auto}.pose-write .portrait-body,.pose-draw .portrait-body{transform-origin:0 10px;animation:portrait-write 1.4s ease-in-out infinite alternate}.pose-talk .portrait-body{transform-origin:0 24px;animation:portrait-talk 1.6s ease-in-out infinite}.pose-walk .portrait-body{animation:portrait-step .5s ease-in-out infinite}@keyframes portrait-write{0%{transform:translateY(3px) rotate(1deg)}to{transform:translateY(5px) rotate(-2deg)}}@keyframes portrait-talk{50%{transform:rotate(3deg) translateY(-1px)}}@keyframes portrait-step{50%{transform:translateY(-2px)}}.character-art.motion-paused,.character-art.motion-paused *{animation-play-state:paused!important}.rig-preview{width:100%;height:300px;display:block}.animation-gallery .animation-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.painted-preview{display:block;width:100%;aspect-ratio:1;overflow:hidden}.painted-grid figure{padding:10px;background:#faf3e6}.painted-grid h2{margin:10px 0}.atelier-world .pixel-actor .character-art,.atelier-world .thought-bubble{animation:none}.handoff-receipt{animation:receipt-in .25s ease-out both}.motion-paused .handoff-receipt{animation:none}@keyframes receipt-in{0%{opacity:0}to{opacity:1}}.resource-workspace{display:grid;grid-template-columns:250px minmax(0,1fr);flex:1;min-height:0;overflow:auto;background:#fcf8ef;color:#514431}.role-directory{border-right:1px solid #e1d6c1;padding:26px 18px;background:#f4eddd}.role-directory h2{font-size:21px;margin:8px 0}.role-directory h3{font-size:12px;color:#8e7c60;margin:25px 9px 8px}.role-directory button{display:flex;width:100%;justify-content:space-between;align-items:center;text-align:left;border:0;box-shadow:none;background:transparent;padding:10px 12px;margin:2px 0;border-radius:8px;font-size:13px}.role-directory button.selected{background:#e2e8d8;color:#405c41}.role-directory small{display:block;font-size:10px;margin-top:4px;color:#8a7e68}.role-resource-content{padding:32px 38px;max-width:1250px;width:100%;min-width:0;margin:auto}.resource-page-heading,.resource-list-toolbar,.resource-editor>header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.resource-page-heading h1{font-size:27px;margin:8px 0 12px}.resource-page-heading p,.resource-editor p{line-height:1.8}.role-capability{display:grid;grid-template-columns:1fr 1fr;gap:36px;padding:24px 0;border-bottom:1px solid #ded2bd;margin-bottom:24px}.role-capability ul{padding-left:20px;line-height:2}.role-capability p{line-height:1.8}.role-capability h3,.role-resource-inputs h3,.saved-resources h3{font-size:16px}.resource-category-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 28px}.resource-category-tabs button{font-size:12px;padding:7px 11px;box-shadow:none}.resource-category-tabs button.active{background:#e2e8d8;border-color:#91a080;color:#405c41}.resource-list-toolbar{align-items:center}.resource-list-toolbar small{font-size:12px;font-weight:400;color:#8a7e68;margin-left:8px}.resource-list-toolbar .muted{margin-top:4px}.resource-list{margin:16px 0 28px;border-top:1px solid #ded2bd}.resource-row{width:100%;display:flex;gap:16px;align-items:center;padding:18px 8px;border:0;border-bottom:1px solid #e5dac8;border-radius:0;background:transparent;box-shadow:none;text-align:left}.resource-row>span:nth-child(2){flex:1;min-width:0}.resource-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.resource-row small{display:block;margin-top:6px;color:#8a7e68;font-size:11px}.resource-row>span:last-child,.resource-version{font-size:11px;color:#827157}.resource-empty{text-align:center;padding:35px 20px;color:#8b7e67}.resource-empty p{font-size:13px;line-height:1.8}.resource-editor{border:1px solid #d8c8ad;border-radius:10px;padding:26px;background:#fffdf6;margin:20px 0}.resource-editor h2{font-size:20px;margin:0}.resource-editor fieldset{border:0;padding:0;margin:10px 0;min-width:0}.resource-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.resource-editor label{display:block;margin:16px 0}.resource-editor input,.resource-editor select,.resource-editor textarea{margin-top:7px}.resource-import{padding:14px 18px;background:#f4efdf;border-radius:8px;margin:20px 0}.resource-import h4{margin:4px 0}.resource-editor-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.resource-picker{margin:24px 0;border-top:1px solid #e0d4be;padding-top:10px}.resource-picker h4{display:flex;justify-content:space-between;gap:15px}.resource-choices{max-height:280px;overflow:auto;margin-top:10px}.resource-choice{display:flex!important;align-items:flex-start;gap:10px;padding:10px 6px;margin:0!important;border-bottom:1px solid #e8decc}.resource-choice input{width:auto!important;margin-top:3px;flex-shrink:0}.resource-choice strong{font-size:13px}.resource-choice small{display:block;font-size:11px;line-height:1.7;color:#8a7e68;margin-top:4px}.resource-picker .muted{font-size:12px;line-height:1.8}.batch-switch{display:flex;gap:8px;margin:10px 0 20px}.batch-switch button.active{background:#e2e8d8;border-color:#91a080}@media(max-width:900px){.resource-workspace{grid-template-columns:190px minmax(0,1fr)}.role-resource-content{padding:24px 20px}.resource-page-heading{display:block}.resource-page-heading>button{margin:12px 0}.role-capability{gap:18px}.resource-row{gap:9px}.resource-row>span:last-child{display:none}}@media(max-width:620px){.resource-workspace{display:block}.role-directory{border-right:0;border-bottom:1px solid #e1d6c1;padding:16px;max-height:230px;overflow:auto}.role-directory section{display:inline-block;vertical-align:top;margin-right:12px;min-width:155px}.role-directory h3{margin-top:12px}.role-capability,.resource-form-grid{grid-template-columns:1fr}.resource-editor{padding:18px}.resource-list-toolbar{align-items:flex-start;gap:10px}.resource-editor>header{gap:8px}}.mobile-role-picker,.mobile-room-picker{display:none}@media(max-width:760px){.app,.app.office-mode{height:auto;min-height:100dvh;overflow:visible}.app .topbar{display:grid;grid-template-columns:minmax(0,1fr) minmax(64px,110px) auto;height:auto;min-height:0;gap:4px 8px;padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 0 max(12px,env(safe-area-inset-left))}.app .brand{min-width:0;gap:7px;font-size:14px}.app .brand small{font-size:7px;letter-spacing:1px}.app .brand-mark{width:30px;height:34px;flex-shrink:0}.app .space-select{width:100%;max-width:100%;min-width:0;padding:8px 0}.app .header-actions{gap:0;margin:0}.app .header-actions button{width:44px;height:44px;padding:8px}.app .header-actions .avatar{width:40px;height:40px}.app .header-divider{display:none}.app .topbar nav{grid-column:1 / -1;order:4;display:flex;width:100%;height:48px;gap:0;margin:0}.app .topbar nav button{flex:1;min-width:0;padding:0 4px;gap:5px;font-size:13px}.app .topbar nav button.active:after{left:8px;right:8px}.app .topbar .demo-badge{grid-column:2 / -1;justify-self:end;white-space:normal}.app .taskbar{padding:10px 12px;gap:8px;flex-direction:column;align-items:stretch}.task-picker{width:100%;gap:10px}.app .task-picker select{flex:1;min-width:0;width:0;max-width:none;min-height:44px}.app .task-actions{flex-wrap:wrap;gap:8px;justify-content:flex-start;white-space:normal}.task-actions .primary{margin-left:auto}.app button{min-height:44px}.app input:not([type=checkbox]):not([type=radio]),.app select,.app textarea,.drawer input:not([type=checkbox]):not([type=radio]),.drawer select,.drawer textarea,.login input{font-size:16px;min-width:0}.app .office-view{display:flex;overflow:visible;min-height:0;padding:0 12px 20px}.app .map-meta{flex-wrap:wrap;gap:8px;padding:10px 0;font-size:12px}.app .map-meta>span{display:block;white-space:normal}.map-tools{width:100%;flex-wrap:wrap;gap:8px;margin:0}.map-tools a{display:inline-flex;align-items:center;min-height:44px}.app .map-tools button{font-size:12px;padding:8px}.app .map-tools select{max-width:100%;width:auto;min-height:44px}.mobile-room-picker{display:block;margin:0 0 12px;font-size:12px;color:#8a7b60}.mobile-room-picker select{margin-top:6px}.app .map-stage{flex:none;height:clamp(360px,65svh,560px);padding-top:58px}.map-view-controls{left:0;right:0;justify-content:flex-end;gap:8px}.map-view-controls button{font-size:12px;padding:8px 12px}.app .map-scroll{min-height:0;border:1px solid #e6dcc9;border-radius:12px;touch-action:pan-x pan-y pinch-zoom}.app .map-inner{margin:0 auto}.app .map-footer{gap:12px;padding:12px 0;font-size:12px}.app .legend{width:100%;flex-wrap:wrap;gap:12px}.app .zoom{margin-left:auto}.app .zoom button{min-width:44px;padding:8px}.app .map-hint{display:block;width:100%;font-size:12px}.app .map-footer>span{white-space:normal}.app .action-card{gap:12px;padding:14px;flex-wrap:wrap;align-items:flex-start}.app .action-card>div{min-width:0;flex:1 1 180px}.app .action-card small{max-width:none;white-space:normal;overflow-wrap:anywhere}.app .map-focused{position:fixed;inset:0;z-index:20;height:100dvh;padding:calc(60px + env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));background:#faf6ed}.map-focused .map-view-controls{top:calc(8px + env(safe-area-inset-top));right:12px;left:12px}.app:has(.map-focused) .mobile-room-picker{display:none}.drawer{width:100%;max-width:100%;border-left:0;overscroll-behavior:contain;overflow-x:hidden}.drawer-head{height:auto;min-height:calc(64px + env(safe-area-inset-top));gap:12px;padding:env(safe-area-inset-top) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left))}.drawer-head button{min-width:44px;min-height:44px;flex-shrink:0}.drawer-content{padding:20px max(16px,env(safe-area-inset-right)) calc(28px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));overflow-wrap:anywhere}.drawer-content>*,.drawer form,.url-row>input{min-width:0}.drawer button{min-height:44px}.url-row{flex-wrap:wrap}.url-row input{flex:1 1 180px}.url-row button{flex:1 1 100px}.issue-context div{flex-wrap:wrap;gap:4px 10px}.issue-context dd{min-width:0}.batch-switch button{flex:1;padding:10px 6px}.character-tabs button{min-height:48px;gap:4px}.skill-tile{gap:8px}.skill-emblem{width:32px}.character-save{flex-wrap:wrap}.character-save button{width:100%}.character-panel,.character-identity{overflow-wrap:anywhere}.resource-workspace{display:block;overflow:visible}.role-directory{display:none}.mobile-role-picker{display:block;margin:0;padding:16px;border-bottom:1px solid #e1d6c1;background:#f4eddd}.mobile-role-picker select{margin-top:8px}.role-resource-content{padding:24px 16px}.role-capability,.resource-form-grid{grid-template-columns:minmax(0,1fr);gap:12px}.resource-page-heading{display:block}.resource-page-heading>button{width:100%}.resource-category-tabs{gap:8px}.resource-list-toolbar{flex-wrap:wrap;gap:8px}.resource-list-toolbar>div{min-width:0;flex:1 1 180px}.resource-row{gap:8px}.resource-row small,.resource-choice>span{overflow-wrap:anywhere;min-width:0}.resource-editor{padding:16px 12px}.resource-editor>header{gap:8px}.resource-editor>header>div{min-width:0}.resource-editor>header>button{flex-shrink:0}.resource-import{padding:12px}.resource-editor-actions button{flex:1 1 140px}.resource-picker h4{flex-wrap:wrap}.resource-choices{overscroll-behavior:contain}.preview-layout{min-width:0;width:100%;gap:16px;padding-bottom:env(safe-area-inset-bottom)}.article-paper,.article-tools{min-width:0;width:100%;overflow-wrap:anywhere}.article-paper{padding:24px 16px}.article-top{flex-wrap:wrap;gap:8px}.article-paper article table,.drawer table{display:block;max-width:100%;overflow-x:auto}.article-paper pre,.drawer pre{max-width:100%;overflow-x:auto}.article-paper img,.drawer-content img{max-width:100%;height:auto}.article-tools button{max-width:100%;white-space:normal}.asset-library{width:calc(100% - 24px);padding:16px;max-height:calc(100dvh - 24px);overflow-wrap:anywhere}.asset-library header{gap:10px;align-items:flex-start}.asset-library header button{min-width:44px;min-height:44px;flex-shrink:0}.app .demo-controls,.app .demo-status{padding:10px 12px;flex-wrap:wrap;gap:8px}.app .demo-controls>div{flex-wrap:wrap}.app .demo-status>span{white-space:normal}.app .demo-action{font-size:12px;padding:12px}.login-art{min-height:0;padding:calc(24px + env(safe-area-inset-top)) 24px 12px}.login-art h1{font-size:28px}.login-art-scene{max-width:200px}.login-form{width:auto;max-width:400px;padding:12px 24px calc(28px + env(safe-area-inset-bottom));margin:16px auto}.login-form button{min-height:48px}}@media(max-width:420px){.app .brand-mark,.app .brand small{display:none}.app .topbar{grid-template-columns:minmax(0,1fr) minmax(60px,96px) auto}.app .topbar nav button{font-size:12px;gap:4px}.app .topbar nav button svg{width:16px}.app .task-actions .primary{flex:1 1 100%;margin:0}}
