@scope (.office-task-studio) {
/* FuuVo Office · a focused place to turn information into useful work. */
:scope{color-scheme:light;--ink:#243e48;--muted:#7d929c;--subtle:#94a6ad;--teal:#008c99;--teal-dark:#007985;--line:#deeaec;--paper:#fffefa;--rail:76px;--shadow:0 8px 35px rgba(41,76,85,.035);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}:scope{margin:0;background:#fcfefe;color:var(--ink);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased;isolation:isolate}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}button{border:0;cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button,a,input,textarea,select,summary,[tabindex]{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #72cbd1}img{display:block;max-width:100%}svg{display:block;width:20px;height:20px;flex-shrink:0;stroke-width:1.6}i[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;font-style:normal}button svg,a svg{pointer-events:none}h1,h2,h3,h4,p{margin:0}[hidden]{display:none!important}::selection{background:#c6eeeb}.skip-link{position:fixed;top:10px;left:90px;z-index:300;background:#fff;padding:12px 18px;border:2px solid var(--teal);border-radius:10px;transform:translateY(-160%)}.skip-link:focus{transform:none}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.office-ambient{position:fixed;inset:0 0 0 var(--rail);z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse 70% 45% at 7% 0%,#e8f6f8 0%,transparent 85%),radial-gradient(ellipse 65% 48% at 85% -5%,#eeecfc 0%,transparent 82%),radial-gradient(ellipse 70% 50% at 80% 72%,#fff7f1 0%,transparent 87%)}.office-ambient:before{content:"";position:absolute;inset:-14%;background:radial-gradient(ellipse 40% 30% at 48% 11%,#e0f7f3 0%,transparent 80%),radial-gradient(ellipse 40% 40% at 78% 35%,#f4eafa 0%,transparent 86%);opacity:.5;animation:office-glow 24s ease-in-out infinite alternate}@keyframes office-glow{from{transform:translate3d(-4%,-2%,0);opacity:.45}to{transform:translate3d(5%,5%,0);opacity:.85}}
.office-rail{position:fixed;z-index:80;inset:0 auto 0 0;width:var(--rail);background:rgba(250,252,253,.96);border-right:1px solid #e3ebee;display:flex;flex-direction:column;align-items:center;padding:23px 7px;gap:8px}.rail-brand{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;min-height:36px;margin-bottom:15px;font-size:12px;font-weight:650;color:#566470}.rail-brand img{width:17px;height:25px;object-fit:contain}.rail-link{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-height:65px;width:60px;border-radius:12px;background:transparent;color:#7c8e99;font-size:10px;font-weight:550;transition:background .18s,color .18s}.rail-link svg{width:21px;height:21px}.rail-link:hover,.rail-link[aria-expanded="true"]{background:#eaf6f5;color:var(--teal)}.rail-bottom{margin-top:auto;padding-bottom:4px}.rail-accent{display:block;width:23px;height:4px;border-radius:4px;background:#dbe8e9}.office-shell{margin-left:var(--rail);min-height:100dvh}.office-header{display:flex;justify-content:space-between;align-items:center;gap:20px;height:72px;padding:0 clamp(28px,4.1vw,64px);border-bottom:1px solid rgba(219,231,235,.6);background:rgba(255,255,255,.48);backdrop-filter:blur(22px)}.back-link{display:inline-flex;align-items:center;gap:9px;min-height:44px;font-size:12px;font-weight:550;color:#708793}.back-link svg{width:16px;height:16px}.back-link:hover,.safety-link:hover{color:var(--teal)}.header-actions{display:flex;align-items:center;gap:19px}.safety-link{display:flex;align-items:center;gap:7px;min-height:44px;font-size:12px;font-weight:550;color:#6d8398}.safety-link svg{width:17px;height:17px;color:#3199ec}.header-divider{width:1px;height:14px;background:#dce7eb}.language-toggle{display:flex;align-items:center;gap:7px;background:transparent;min-height:44px;padding:5px;font-size:11px;font-weight:600;color:#4b6c7a}.language-toggle span{color:#bcc8cd}.more-menu{position:fixed;z-index:100;top:222px;left:84px;width:252px;max-width:calc(100vw - 96px);padding:18px 13px;border:1px solid #dce7eb;border-radius:13px;background:#fff;box-shadow:0 16px 55px #2944551c}.more-menu strong{display:block;font-size:11px;letter-spacing:.3px;color:#8a9da5;font-weight:550;margin:0 10px 10px}.more-menu a{display:flex;align-items:center;gap:11px;min-height:44px;padding:10px;border-radius:8px;font-size:13px;color:#5d7883}.more-menu a>span:nth-child(2){flex:1}.more-menu a svg{width:17px;height:17px}.more-menu a>i:last-child svg{width:13px;height:13px;color:#9bb1b6}.more-menu a:hover,.more-menu a[aria-current]{background:#eef7f5;color:var(--teal)}.current-dot{width:5px;height:5px;border-radius:50%;background:#69aaa4}
:scope{width:100%;max-width:1516px;margin:0 auto;padding:34px clamp(28px,4.1vw,64px) 0;min-width:0}.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:25px}.eyebrow{display:block;font-size:9px;line-height:1.5;font-weight:600;letter-spacing:1.65px;color:#779da3;margin-bottom:8px}.page-heading h1{font-size:38px;line-height:1.3;font-weight:650;letter-spacing:-1.1px;color:#203d48}.page-heading p{font-size:13px;line-height:1.75;color:#82949f;margin-top:8px}.heading-note{display:flex;align-items:center;gap:10px;margin-bottom:5px;font-size:11px;color:#91a4ac}.heading-symbol{display:grid;place-items:center;width:31px;height:31px;border:1px solid #dce9e9;border-radius:10px;transform:rotate(-7deg);background:#ffffff7a;color:#8fb6b5}.heading-symbol svg{width:17px;height:17px}.office-workspace{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:22px;align-items:stretch;scroll-margin-top:20px;min-width:0}.brief-panel,.result-panel{min-width:0;border:1px solid var(--line);border-radius:17px;background:#ffffffde;box-shadow:var(--shadow)}.brief-panel{padding:22px 25px 21px;display:flex;flex-direction:column;min-height:525px}.workflow-current{display:flex;align-items:center;gap:12px;padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #edf1f2;min-width:0}.current-icon{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border-radius:12px;background:linear-gradient(140deg,#e4f4ef,#eff7f8);border:1px solid #d8eae6;color:#579d98}.current-icon svg{width:23px;height:23px;stroke-width:1.5}.current-copy{min-width:0;flex:1}.micro-label{display:block;font-size:9px;color:#9aabb1;line-height:1.5;margin-bottom:3px}.current-copy h2{font-size:16px;font-weight:600;line-height:1.4;color:#3b5e68}.current-copy p{font-size:10px;line-height:1.6;color:#91a4ad;margin-top:4px}.change-workflow{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:7px 9px;border:1px solid #e0ebed;border-radius:7px;background:#fbfdfd;color:#79939d;font-size:10px}.change-workflow svg{width:12px;height:12px}.change-workflow:hover{border-color:#b3d6d6;color:var(--teal)}.field-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;min-height:24px}.field-heading label{font-size:12px;font-weight:600;color:#516e7a}.example-button{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:3px 0 3px 7px;background:transparent;color:#85a0a8;font-size:10px}.example-button svg{width:13px;height:13px}.example-button:hover{color:var(--teal)}#material{width:100%;display:block;resize:vertical;min-height:133px;max-height:340px;padding:12px 14px;border:1px solid #dce8ec;border-radius:10px;background:#fcfefe;color:#506c79;font-size:12px;line-height:1.85;scrollbar-width:thin;scrollbar-color:#cfdfe3 transparent;transition:border-color .2s,box-shadow .2s}#material::placeholder{color:#a3b3ba}#material:focus{outline:none;border-color:#8bc4c8;box-shadow:0 0 0 3px #008c9909}.material-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}.attach-button{position:relative;display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:4px 8px;border:1px solid #e2ebed;border-radius:6px;overflow:hidden;font-size:10px;color:#7c96a1;cursor:pointer;background:#fff}.attach-button svg{width:13px;height:13px}.attach-button input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.attach-button:hover{color:var(--teal);border-color:#bdd9da;background:#f5fbfa}.attach-button:focus-within{outline:3px solid #72cbd1;outline-offset:3px}#materialCount{color:#a6b6bd;font-size:9px;white-space:nowrap;font-variant-numeric:tabular-nums}.file-status{font-size:9px;line-height:1.7;color:#a3b3ba;margin-top:5px;overflow-wrap:anywhere}.file-list{display:flex;gap:6px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.file-list:not(:empty){margin-top:8px}.file-list li{display:flex;align-items:center;gap:6px;max-width:100%;background:#f2f8f7;border:1px solid #dfebe7;border-radius:6px;padding:4px 6px;font-size:10px;color:#6b8a89}.file-list li>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:190px}.file-list svg{width:12px;height:12px}.file-list button{display:grid;place-items:center;border-radius:4px;background:transparent;color:#86a1a3;min-height:24px;min-width:24px;padding:3px}.file-list button:hover{background:#dceee8;color:#2c7d76}.output-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-top:17px;min-width:0}.output-options label{display:flex;flex-direction:column;gap:7px;color:#77919d;font-size:10px;font-weight:550;min-width:0}.output-options select{width:100%;min-width:0;height:38px;padding:8px 12px;border:1px solid #dfe9ec;border-radius:8px;background:#fff;color:#5c7a87;font-size:11px;font-weight:400}.output-options select:focus{outline:none;border-color:#8bc4c8;box-shadow:0 0 0 3px #008c9909}.output-settings{margin:11px 0 13px;border-bottom:1px solid #edf1f2;min-width:0}.output-settings summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:39px;list-style:none;cursor:pointer;font-size:10px;font-weight:550;color:#8aa1ac}.output-settings summary::-webkit-details-marker{display:none}.output-settings summary>span{display:flex;align-items:center;gap:7px}.output-settings summary svg{width:13px;height:13px}.output-settings summary>i{transition:transform .2s}.output-settings[open] summary>i{transform:rotate(180deg)}.output-settings .advanced-options{margin:1px 0 15px}.brief-actions{display:flex;align-items:stretch;gap:10px;margin-top:auto;min-width:0}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:11px 16px;border-radius:9px;font-size:11px;font-weight:550;line-height:1.5;transition:background .18s,box-shadow .18s,transform .18s}.primary-button{background:#008c99;border:1px solid #008c99;color:white;box-shadow:0 4px 10px #008c9910}.primary-button:hover{background:#007f8a;box-shadow:0 5px 15px #008c9920}.primary-button:active,.secondary-button:active{transform:translateY(1px)}.primary-button svg,.secondary-button svg{width:15px;height:15px}.brief-actions .primary-button{flex:1.2}.brief-actions .primary-button>span{flex:1;text-align:center}.brief-actions .primary-button>i:last-child svg{width:14px;height:14px}.secondary-button{background:#fff;border:1px solid #dce8eb;color:#75909b}.secondary-button:hover{background:#f4faf9;border-color:#bfdcdd;color:var(--teal)}.brief-actions .secondary-button{flex:1}

.result-panel{display:flex;flex-direction:column;overflow:hidden;min-height:525px;background:linear-gradient(140deg,#fffffd,#fffefa);position:relative}.result-topbar{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:58px;padding:10px 18px;border-bottom:1px solid #e8eeec;background:#fcfdfb9c;min-width:0}.result-label{display:flex;align-items:center;gap:8px;min-width:0;color:#6d8b8c}.result-label>i svg{width:17px;height:17px;stroke-width:1.5}.result-label h2{font-size:13px;font-weight:550;color:#50716f;white-space:nowrap}.result-badge{padding:2px 6px;border:1px solid #e1e9e4;border-radius:4px;color:#91a49a;background:#f6f8f2;font-size:8px;font-weight:500;white-space:nowrap}.result-tools{display:flex;align-items:center;gap:2px;flex-shrink:0}.icon-button{display:grid;place-items:center;min-width:30px;min-height:32px;padding:6px;background:transparent;border-radius:7px;color:#9aaead}.icon-button svg{width:15px;height:15px}.icon-button:hover,.icon-button[aria-pressed="true"]{color:var(--teal);background:#edf5f0}.result-tabs{display:flex;align-items:center;gap:18px;padding:0 24px;min-height:44px;border-bottom:1px solid #edf0e9;min-width:0}.result-tabs button{position:relative;padding:13px 0 11px;background:transparent;color:#a0afa9;font-size:10px;font-weight:550;white-space:nowrap;min-height:44px}.result-tabs button[aria-selected="true"],.result-tabs button[aria-pressed="true"]{color:#5b8c80}.result-tabs button[aria-selected="true"]:after,.result-tabs button[aria-pressed="true"]:after{content:"";position:absolute;height:2px;bottom:-1px;left:0;right:0;background:#8db6a6;border-radius:2px}.result-tabs button:hover{color:var(--teal)}.paper-mark{margin-left:auto;font-size:6px;font-weight:550;letter-spacing:1.3px;color:#bbc5bb;white-space:nowrap}.result-view{position:relative;flex:1;min-height:0;max-height:385px;overflow:auto;scrollbar-width:thin;scrollbar-color:#dae5d9 transparent;padding:26px 29px 27px}.result-document{color:#6f8177;font-size:11px;line-height:1.85;overflow-wrap:anywhere}.result-document .doc-eyebrow,.result-document .result-eyebrow,.result-document .document-kicker,.result-document .paper-eyebrow,.result-document .result-kicker{font-size:8px;font-weight:500;letter-spacing:1.3px;color:#a4b5a8;margin-bottom:13px}.result-document h1,.result-document h2{font-size:22px;line-height:1.4;letter-spacing:-.5px;color:#3e5d50;font-weight:600;margin:0 0 15px}.result-document h3{font-size:12px;font-weight:600;color:#557969;line-height:1.5;margin:19px 0 8px}.result-document h4{font-size:11px;color:#56796b;margin:14px 0 7px}.result-document p{margin:0 0 10px}.result-document p:last-child{margin-bottom:0}.result-document .document-meta,.result-document .result-meta,.result-document .doc-meta{display:flex;gap:6px 14px;flex-wrap:wrap;font-size:9px;line-height:1.6;color:#a0afa3;margin:0 0 18px}.result-document .document-meta>span,.result-document .result-meta>span,.result-document .doc-meta>span{min-width:0}.result-document ul,.result-document ol{padding-left:17px;margin:8px 0 13px}.result-document li{padding-left:1px;margin:4px 0}.result-document li::marker{color:#9bbb9e}.result-document strong{color:#557361;font-weight:600}.result-document hr{border:0;height:1px;background:#e6ebdf;margin:17px 0}.result-document blockquote,.result-document .result-callout,.result-document .document-callout,.result-document .doc-callout,.result-document .callout{margin:12px 0;padding:10px 12px;border-left:2px solid #b7cfad;border-radius:0 5px 5px 0;background:#f4f7ed;color:#789075;font-size:10px;line-height:1.8}.result-document .doc-section,.result-document section{margin-top:16px}.result-table,.result-document table{width:100%;border-collapse:separate;border-spacing:0;font-size:9px;line-height:1.6;margin:10px 0 14px;table-layout:fixed;border:1px solid #e1e8dc;border-radius:6px;overflow:hidden}.result-table th,.result-document th{padding:8px 9px;background:#f0f5e9;border-bottom:1px solid #e1e8dc;color:#729168;font-weight:500;text-align:left}.result-table td,.result-document td{padding:9px;border-bottom:1px solid #e8ece2;color:#81917b;vertical-align:top;overflow-wrap:anywhere}.result-table tbody tr:last-child td,.result-document tbody tr:last-child td{border-bottom:0}.result-table th+th,.result-table td+td,.result-document th+th,.result-document td+td{border-left:1px solid #e9eee3}.result-document .tag,.result-document .status-chip{font-size:8px;padding:2px 5px;border-radius:4px;color:#6d9273;background:#edf4e9}.result-document .muted,.result-document .document-note,.result-document .doc-note{color:#9baa9a;font-size:9px}.result-editor{display:block;width:100%;min-height:315px;resize:vertical;padding:0;border:0;border-radius:3px;background:transparent;font-size:12px;line-height:1.9;color:#617a68}.result-editor:focus{outline:none;box-shadow:inset -2px 0 #c8dfcb}.instruction-view{flex:1;min-height:365px;max-height:385px;display:flex;flex-direction:column;gap:14px;padding:23px}.instruction-heading{display:flex;gap:7px;align-items:flex-start;font-size:10px;color:#879d8a;line-height:1.8}.instruction-heading svg{width:14px;height:14px;margin-top:2px}#instructionText{width:100%;flex:1;min-height:245px;resize:vertical;border:1px solid #e2e9df;border-radius:9px;padding:12px;background:#fffff9;color:#6d8370;font-size:11px;line-height:1.85;scrollbar-width:thin;scrollbar-color:#d5e1cf transparent}#instructionText::placeholder{color:#a8b5a4}#instructionText:focus{outline:none;border-color:#a9c8a2;box-shadow:0 0 0 3px #abc7a30d}.result-status{color:#6e9187;background:#f1f8f2;font-size:10px;line-height:1.7;padding:8px 20px;border-top:1px solid #e3eee5}.result-status:empty{display:none}.result-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:40px;padding:10px 21px;border-top:1px solid #e7ece4;background:#fbfcf79c;color:#a5b29f;font-size:8px;line-height:1.6;margin-top:auto}.result-footer #saveStatus{display:flex;align-items:center;gap:6px;min-width:0}.status-dot{display:inline-block;width:4px;height:4px;flex-shrink:0;border-radius:50%;background:#a2bd99}#resultCount{white-space:nowrap;font-variant-numeric:tabular-nums}.preview-note{display:flex;align-items:center;justify-content:center;gap:6px;margin:12px 0 0;color:#9daeb5;font-size:9px;line-height:1.8}.preview-note svg{width:12px;height:12px}

.workflow-section,.template-section{padding-top:43px;scroll-margin-top:26px;min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:21px}.section-heading .eyebrow{font-size:8px;letter-spacing:1.4px;margin-bottom:7px}.section-heading h2{font-size:24px;line-height:1.4;font-weight:600;letter-spacing:-.5px;color:#345360}.section-heading p{font-size:11px;line-height:1.8;color:#8d9fa9;margin-top:7px}.section-count{display:flex;align-items:center;gap:8px;color:#a5b5bb;font-size:9px;padding-bottom:3px;white-space:nowrap}.section-count>span:first-child{font-size:21px;line-height:1;font-weight:300;letter-spacing:-.5px;color:#b1c4c8}.workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.workflow-card{position:relative;text-align:left;display:flex;align-items:flex-start;gap:13px;min-width:0;min-height:144px;padding:20px 19px 18px;border:1px solid #dfe9ed;border-radius:13px;background:#ffffffc9;box-shadow:0 3px 14px #294a5b02;transition:border-color .2s,background .2s,box-shadow .2s,transform .2s}.workflow-card:hover{border-color:#afcfd1;background:#fff;transform:translateY(-2px);box-shadow:0 8px 20px #294a5b06}.workflow-card[aria-pressed="true"]{border-color:#a1d0ca;background:linear-gradient(125deg,#f0faf6,#fbfefd);box-shadow:inset 0 0 0 1px #b9dcd226}.workflow-icon,.template-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:10px;flex-shrink:0;border:1px solid #dceee8;color:#65a296;background:#edf7f2}.workflow-icon svg,.template-icon svg{width:19px;height:19px;stroke-width:1.5}.workflow-card:nth-child(2) .workflow-icon{background:#f1f2fb;border-color:#e8e7f5;color:#9599c3}.workflow-card:nth-child(3) .workflow-icon{background:#eef6fb;border-color:#dceaf3;color:#7cabc2}.workflow-card:nth-child(4) .workflow-icon{background:#fcf5eb;border-color:#f1e9da;color:#c3ab7b}.workflow-card:nth-child(5) .workflow-icon{background:#f8f1f6;border-color:#f0e2ea;color:#bc91aa}.workflow-card:nth-child(6) .workflow-icon{background:#eef6f6;border-color:#deecee;color:#7ca6ac}.workflow-copy{flex:1;min-width:0;padding-top:2px}.workflow-copy h3,.workflow-card h3{font-size:13px;line-height:1.5;font-weight:600;color:#4b6b77;margin-right:12px}.workflow-copy p,.workflow-card p{font-size:10px;line-height:1.8;color:#8ea2ad;margin-top:6px;min-height:32px}.workflow-outputs{display:flex;flex-wrap:wrap;gap:4px;margin-top:13px}.workflow-outputs span{display:inline-flex;border:1px solid #e6edf0;border-radius:4px;background:#fcfdfd;font-size:8px;line-height:1.6;padding:2px 5px;color:#95a8b0}.workflow-card[aria-pressed="true"] .workflow-outputs span{background:#f7fcf8;border-color:#dfede3;color:#8aaa9c}.workflow-arrow{position:absolute;right:17px;top:23px;color:#bbcbd0}.workflow-arrow svg{width:14px;height:14px}.workflow-card[aria-pressed="true"] .workflow-arrow{color:#6fab9f}
.template-section{padding-top:44px;padding-bottom:41px}.template-search{display:flex;align-items:center;gap:9px;min-width:190px;width:240px;height:39px;padding:0 12px;border:1px solid #dfe8ec;border-radius:9px;background:#ffffffb8;color:#a7b9c0;align-self:flex-end;margin-bottom:3px}.template-search svg{width:15px;height:15px}.template-search input{display:block;width:100%;min-width:0;height:37px;border:0;background:transparent;color:#67818f;font-size:11px;padding:8px 0}.template-search input:focus{outline:none}.template-search input::placeholder{color:#a5b5bd}.template-search:focus-within{border-color:#93c9cd;box-shadow:0 0 0 3px #008c9909}.template-filters{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 19px}.template-filters button{display:flex;align-items:center;gap:6px;min-height:33px;padding:7px 13px;border:1px solid #e1e9ec;border-radius:7px;background:#ffffff8f;font-size:10px;line-height:1.6;font-weight:500;color:#8da0aa;transition:border-color .18s,background .18s,color .18s}.template-filters button svg{width:13px;height:13px}.template-filters button:hover{border-color:#b8d7d9;color:var(--teal)}.template-filters button[aria-pressed="true"],.template-filters button.active{background:#eaf6f2;border-color:#badbd1;color:#65988b}.template-filters small{font-size:8px;opacity:.7}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.template-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;min-height:196px;border:1px solid #e0e9ec;border-radius:13px;padding:20px 21px 16px;background:#ffffffe3;box-shadow:0 3px 14px #294a5b02;transition:transform .2s,box-shadow .2s,border-color .2s}.template-card:hover{border-color:#a8ced0;transform:translateY(-3px);box-shadow:0 10px 22px #294a5b08}.template-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;color:#a8b7bd;font-size:8px;line-height:1.5}.template-meta>.template-icon{margin:0}.template-icon{width:34px;height:34px;border-radius:9px;background:#edf6f7;border-color:#e0edef;color:#83adb2;margin-bottom:14px}.template-icon svg{width:18px;height:18px}.template-meta>span:not(.template-icon){display:inline-flex;border:1px solid #e6ecef;border-radius:4px;padding:3px 6px}.template-card h3{font-size:13px;font-weight:600;line-height:1.6;letter-spacing:-.1px;color:#4b6c7a;margin-bottom:6px}.template-card p{font-size:10px;line-height:1.9;color:#91a4ad;margin-bottom:18px;max-width:100%}.template-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:27px;border-top:1px solid #edf1f3;padding-top:11px;margin-top:auto;color:#a3b3ba;font-size:9px;line-height:1.5}.template-foot svg{width:14px;height:14px;color:#98b7bc}.template-card:hover .template-foot{color:var(--teal)}.template-card:nth-child(6n+2) .template-icon{background:#f3f1fa;border-color:#eae6f5;color:#a29bc0}.template-card:nth-child(6n+3) .template-icon{background:#faf3ee;border-color:#f1e6de;color:#c0a58f}.template-card:nth-child(6n+4) .template-icon{background:#f1f7ef;border-color:#e4ecde;color:#9fb18e}.template-card:nth-child(6n+5) .template-icon{background:#f8f0f5;border-color:#f0e2eb;color:#bc9aaf}.template-empty{padding:46px 20px;text-align:center;border:1px dashed #dce8ea;border-radius:13px;background:#ffffff8f;color:#94a8b0}.template-empty>i{margin-bottom:15px}.template-empty>i svg{width:24px;height:24px}.template-empty h3{font-size:16px;font-weight:500;color:#6d8994}.template-empty p{font-size:11px;line-height:1.8;margin-top:8px}.office-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:77px;border-top:1px solid #e0e9ec;padding:21px 0 26px;color:#a7b6bc;font-size:9px;line-height:1.6}.office-footer a{display:flex;align-items:center;gap:16px;min-width:0}.office-footer img{width:51px;max-height:24px;object-fit:contain;opacity:.64}.office-footer>span{font-size:8px;letter-spacing:.5px;white-space:nowrap}.toast{position:fixed;bottom:24px;left:calc(50% + 38px);transform:translateX(-50%);z-index:200;padding:12px 19px;border-radius:11px;border:1px solid #dce9e5;background:#fff;color:#567c73;box-shadow:0 8px 36px #2944551b;font-size:12px;line-height:1.7;max-width:calc(100vw - 48px);text-align:center}.replace-dialog{width:min(430px,calc(100% - 38px));padding:30px;border:1px solid #dce8e8;border-radius:19px;background:#feffff;box-shadow:0 30px 100px #213d4c20;color:var(--ink)}.replace-dialog::backdrop{background:#284b5e2e;backdrop-filter:blur(5px)}.dialog-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#eaf5f0;color:#7aa397;margin-bottom:20px}.dialog-icon svg{width:22px;height:22px}.replace-dialog h2{font-size:22px;font-weight:600;letter-spacing:-.3px;line-height:1.4;margin-bottom:12px}.replace-dialog>p{font-size:12px;line-height:1.85;color:#8198a2}.replace-dialog>div{display:flex;justify-content:flex-end;gap:9px;margin-top:24px}.replace-dialog .primary-button,.replace-dialog .secondary-button{font-size:11px;min-height:42px}

@media(min-width:1600px){:scope{padding-left:74px;padding-right:74px}.brief-panel{padding:25px 28px}.result-view{padding:28px 32px}.workflow-card{padding:23px}.workflow-copy p{font-size:11px}.template-card{padding:23px}.template-card p{font-size:11px}.brief-panel,.result-panel{min-height:543px}.result-view{max-height:403px}}
@media(max-width:1190px){:scope{padding-left:30px;padding-right:30px}.office-header{padding-left:30px;padding-right:30px}.office-workspace{gap:17px;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}.brief-panel{padding:20px}.brief-actions{gap:8px}.brief-actions .primary-button,.brief-actions .secondary-button{font-size:10px;padding:10px 12px}.result-topbar{padding:10px 14px}.result-tabs{padding-left:20px;padding-right:20px;gap:16px}.result-view{padding:24px}.result-document h1,.result-document h2{font-size:21px}.result-tools{gap:0}.icon-button{min-width:28px}.paper-mark{font-size:5px;letter-spacing:.8px}.workflow-card{padding:18px 16px;gap:11px}.workflow-icon{width:33px;height:33px;border-radius:9px}.workflow-icon svg{width:18px;height:18px}.workflow-copy h3,.workflow-card h3{font-size:12px}.workflow-copy p,.workflow-card p{font-size:10px}.workflow-outputs{gap:4px}.workflow-outputs span{font-size:7px;padding:2px 4px}.workflow-arrow{top:20px;right:13px}.template-card{padding:19px 18px 15px}.template-card h3{font-size:12px}.section-heading h2{font-size:23px}}
@media(max-width:950px){.office-workspace{grid-template-columns:minmax(0,1fr);gap:20px}.brief-panel{min-height:0;padding:24px}.workflow-current{margin-bottom:19px}.current-icon{width:45px;height:45px}.current-copy h2{font-size:17px}.current-copy p{font-size:11px}.field-heading label{font-size:13px}.example-button{font-size:11px}#material{font-size:13px;min-height:145px}.output-options{gap:17px;margin-top:20px}.output-options label{font-size:11px}.output-options select{height:42px;font-size:12px}.output-settings{margin-top:13px;margin-bottom:17px}.output-settings summary{min-height:42px;font-size:11px}.brief-actions .primary-button,.brief-actions .secondary-button{font-size:12px;min-height:46px}.brief-actions .primary-button{flex:1.15}.brief-actions .secondary-button{flex:1}.result-panel{min-height:530px}.result-topbar{padding:10px 22px;min-height:61px}.result-label h2{font-size:14px}.result-label>i svg{width:18px;height:18px}.result-badge{font-size:9px}.result-tools{gap:3px}.icon-button{min-height:36px;min-width:36px}.icon-button svg{width:16px;height:16px}.result-tabs{padding:0 28px;gap:22px}.result-tabs button{font-size:11px;min-height:45px}.paper-mark{font-size:7px;letter-spacing:1.5px}.result-view{padding:28px 34px;max-height:420px;min-height:370px}.result-document{font-size:12px;line-height:1.9}.result-document h1,.result-document h2{font-size:24px}.result-document h3{font-size:13px}.result-document .doc-eyebrow,.result-document .result-eyebrow,.result-document .document-kicker,.result-document .paper-eyebrow,.result-document .result-kicker{font-size:9px}.result-table,.result-document table{font-size:10px}.result-table td,.result-document td{padding:10px 12px}.result-table th,.result-document th{padding:9px 12px}.result-footer{font-size:9px;padding:11px 26px}.instruction-view{padding:26px 30px;min-height:370px;max-height:420px}#instructionText{font-size:12px}.preview-note{font-size:10px;margin-top:13px}.workflow-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.workflow-card{padding:21px 19px;min-height:145px}.workflow-icon{width:38px;height:38px}.workflow-copy h3,.workflow-card h3{font-size:13px}.workflow-outputs span{font-size:8px;padding:2px 5px}.workflow-arrow{top:23px;right:17px}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heading-note{font-size:10px}.page-heading{margin-bottom:24px}.page-heading h1{font-size:36px}.section-heading h2{font-size:22px}.template-search{width:210px;min-width:170px}.template-card{padding:21px 20px 17px;min-height:200px}.template-card h3{font-size:13px}.template-card p{font-size:11px}.template-meta{font-size:9px}.template-foot{font-size:10px}}
@media(max-width:650px){:scope{--rail:62px}.office-rail{padding:17px 5px;gap:6px}.rail-brand{gap:3px;font-size:10px;margin-bottom:13px}.rail-brand img{width:14px;height:22px}.rail-link{width:50px;min-height:61px;gap:6px;font-size:9px;border-radius:10px}.rail-link svg{width:20px;height:20px}.office-header{height:64px;padding:0 19px;gap:10px}.back-link{font-size:11px;gap:7px}.back-link svg{width:15px;height:15px}.header-actions{gap:9px}.safety-link{min-width:32px;justify-content:center}.safety-link span{display:none}.safety-link svg{width:17px;height:17px}.header-divider{display:none}.language-toggle{font-size:10px;gap:5px;min-width:45px;padding:5px 0}.more-menu{left:69px;top:206px;max-width:calc(100vw - 80px);width:235px}.more-menu a{font-size:12px}.skip-link{left:72px}:scope{padding:26px 19px 0}.page-heading{margin-bottom:21px;gap:12px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:8px}.page-heading h1{font-size:30px;letter-spacing:-.8px;line-height:1.3}.page-heading p{font-size:11px;line-height:1.85;margin-top:8px}.heading-note{display:none}.office-workspace{gap:17px;scroll-margin-top:16px}.brief-panel,.result-panel{border-radius:13px}.brief-panel{padding:19px 16px 17px}.workflow-current{gap:10px;padding-bottom:17px;margin-bottom:16px}.current-icon{width:37px;height:37px;border-radius:10px}.current-icon svg{width:20px;height:20px}.micro-label{font-size:8px}.current-copy h2{font-size:15px}.current-copy p{font-size:9px;line-height:1.75;margin-top:3px}.change-workflow{font-size:9px;min-height:38px;padding:6px 7px;gap:4px}.change-workflow svg{width:10px;height:10px}.field-heading{gap:8px}.field-heading label{font-size:11px}.example-button{font-size:9px;min-height:34px;gap:4px}.example-button svg{width:12px;height:12px}#material{font-size:16px;line-height:1.7;min-height:158px;padding:11px 12px;border-radius:8px}.attach-button{min-height:38px;font-size:10px;padding:7px 9px}.attach-button svg{width:14px;height:14px}#materialCount{font-size:8px}.file-status{font-size:8px;line-height:1.75;margin-top:5px}.output-options{gap:11px;margin-top:18px}.output-options label{font-size:10px;gap:7px}.output-options select{height:44px;padding:9px 8px;font-size:16px}.output-settings{margin-top:11px;margin-bottom:15px}.output-settings summary{min-height:44px;font-size:10px}.output-settings summary svg{width:14px;height:14px}.brief-actions{flex-direction:column;gap:8px}.brief-actions .primary-button,.brief-actions .secondary-button{min-height:46px;font-size:11px;padding:11px 13px}.brief-actions .secondary-button{min-height:42px}.brief-actions .primary-button>i{width:18px}.result-panel{min-height:510px}.result-topbar{padding:10px 12px;min-height:59px;gap:6px}.result-label{gap:6px}.result-label h2{font-size:12px}.result-label>i svg{width:15px;height:15px}.result-badge{font-size:7px;padding:2px 4px}.result-tools{gap:0}.icon-button{min-width:30px;min-height:40px;padding:6px}.icon-button svg{width:14px;height:14px}.result-tabs{padding:0 18px;gap:19px;min-height:44px}.result-tabs button{font-size:10px}.paper-mark{font-size:5px;letter-spacing:.7px}.result-view{min-height:357px;max-height:420px;padding:25px 20px}.result-document{font-size:11px;line-height:1.9}.result-document h1,.result-document h2{font-size:21px;letter-spacing:-.4px}.result-document h3{font-size:12px;margin-top:18px}.result-document .doc-eyebrow,.result-document .result-eyebrow,.result-document .document-kicker,.result-document .paper-eyebrow,.result-document .result-kicker{font-size:8px;letter-spacing:1px}.result-document .document-meta,.result-document .result-meta,.result-document .doc-meta{font-size:8px;gap:5px 10px}.result-table,.result-document table{font-size:8px}.result-table th,.result-document th{padding:7px 6px}.result-table td,.result-document td{padding:8px 6px}.result-document blockquote,.result-document .result-callout,.result-document .document-callout,.result-document .doc-callout,.result-document .callout{font-size:9px;padding:9px 10px}.result-footer{padding:10px 15px;gap:8px;font-size:8px;min-height:40px}.result-editor{font-size:16px;line-height:1.8;min-height:308px}.instruction-view{padding:22px 18px;min-height:357px;max-height:420px;gap:12px}.instruction-heading{font-size:9px;gap:6px}#instructionText{font-size:16px;line-height:1.75;min-height:270px;padding:11px}.result-status{font-size:9px;padding:9px 15px}.preview-note{font-size:8px;line-height:1.8;gap:5px;margin-top:11px;align-items:flex-start;text-align:center}.preview-note i{margin-top:2px}.preview-note svg{width:11px;height:11px}.workflow-section{padding-top:33px;scroll-margin-top:20px}.section-heading{gap:12px;margin-bottom:17px;align-items:flex-start}.section-heading .eyebrow{font-size:7px;letter-spacing:1.1px;margin-bottom:7px}.section-heading h2{font-size:21px;line-height:1.4;letter-spacing:-.55px}.section-heading p{font-size:10px;line-height:1.85;margin-top:7px}.section-count{display:none}.workflow-grid{grid-template-columns:minmax(0,1fr);gap:11px}.workflow-card{padding:18px 16px;min-height:128px;gap:12px;border-radius:11px}.workflow-icon{width:36px;height:36px;border-radius:10px}.workflow-icon svg{width:19px;height:19px}.workflow-copy h3,.workflow-card h3{font-size:13px}.workflow-copy p,.workflow-card p{font-size:10px;min-height:0;line-height:1.8;margin-top:5px}.workflow-outputs{margin-top:11px;gap:5px}.workflow-outputs span{font-size:8px;padding:2px 5px}.workflow-arrow{top:22px;right:15px}.template-section{padding-top:33px;padding-bottom:28px}.template-section .section-heading{flex-direction:column;gap:17px}.template-search{width:100%;min-width:0;height:44px;margin:0;align-self:stretch;border-radius:8px}.template-search input{font-size:16px;height:42px}.template-search svg{width:16px;height:16px}.template-filters{gap:6px;margin-bottom:16px}.template-filters button{min-height:40px;font-size:9px;padding:9px 10px;border-radius:7px}.template-filters button svg{width:12px;height:12px}.template-grid{grid-template-columns:minmax(0,1fr);gap:11px}.template-card{min-height:176px;padding:18px 18px 15px;border-radius:11px}.template-meta{margin-bottom:13px;font-size:8px}.template-icon{width:33px;height:33px;border-radius:9px}.template-icon svg{width:18px;height:18px}.template-card h3{font-size:13px;line-height:1.6;margin-bottom:5px}.template-card p{font-size:10px;line-height:1.85;margin-bottom:15px}.template-foot{font-size:9px;padding-top:10px}.template-empty{padding:34px 15px}.template-empty h3{font-size:14px}.template-empty p{font-size:10px}.office-footer{min-height:69px;padding:19px 0 23px;gap:10px;font-size:8px;align-items:flex-start}.office-footer a{gap:9px;flex-direction:column;align-items:flex-start}.office-footer img{width:45px;max-height:21px}.office-footer>span{font-size:7px;padding-top:2px}.toast{left:calc(50% + 31px);max-width:calc(100vw - 90px);font-size:11px;bottom:20px;padding:11px 16px}.replace-dialog{padding:25px 22px;border-radius:15px}.replace-dialog h2{font-size:21px}.replace-dialog>p{font-size:11px}.replace-dialog>div{gap:8px;justify-content:stretch}.replace-dialog button{flex:1;padding-left:10px;padding-right:10px}.file-list li>span{max-width:140px}}
@media(max-width:370px){:scope{--rail:56px}.office-rail{padding-left:3px;padding-right:3px}.rail-brand{font-size:9px;gap:2px}.rail-brand img{width:13px;height:20px}.rail-link{width:46px;font-size:8px}.office-header{padding-left:14px;padding-right:14px}.header-actions{gap:6px}.back-link{font-size:10px;gap:5px}.back-link svg{width:13px;height:13px}.safety-link{min-width:27px}.language-toggle{font-size:9px;min-width:40px}.more-menu{left:62px;max-width:calc(100vw - 73px)}:scope{padding-left:14px;padding-right:14px}.page-heading h1{font-size:28px}.page-heading p{font-size:10px}.brief-panel{padding:17px 13px 15px}.workflow-current{gap:8px}.current-icon{width:32px;height:34px}.current-icon svg{width:18px;height:18px}.current-copy h2{font-size:14px}.current-copy p{font-size:8px}.change-workflow{font-size:8px;padding:5px 6px}.field-heading label{font-size:10px}.example-button{font-size:8px;gap:3px}.example-button svg{width:11px;height:11px}.result-topbar{padding:8px 9px}.result-label{gap:4px}.result-label h2{font-size:11px}.result-label>i svg{width:13px;height:13px}.icon-button{min-width:27px;padding:5px}.icon-button svg{width:13px;height:13px}.result-tabs{padding-left:15px;padding-right:15px;gap:15px}.paper-mark{font-size:4px}.result-view{padding:23px 16px}.result-document h1,.result-document h2{font-size:19px}.result-footer{font-size:7px;padding:9px 12px}.preview-note{font-size:7px}.section-heading h2{font-size:19px}.section-heading p{font-size:9px}.workflow-card{padding:17px 14px;gap:10px}.workflow-copy h3,.workflow-card h3{font-size:12px}.workflow-copy p,.workflow-card p{font-size:9px}.workflow-outputs span{font-size:7px;padding:2px 4px}.workflow-icon{width:32px;height:32px}.workflow-icon svg{width:17px;height:17px}.template-filters button{font-size:8px;padding:9px}.template-card{padding:17px 15px 14px}.template-card h3{font-size:12px}.template-card p{font-size:9px}.template-foot{font-size:8px}.toast{left:calc(50% + 28px);max-width:calc(100vw - 78px)}}
@media(hover:none){.workflow-card:hover,.template-card:hover{transform:none;box-shadow:var(--shadow)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}:scope *,:scope *:before,:scope *:after{animation:none!important;transition:none!important}.office-ambient:before{opacity:.55}}
.workspace-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:9px}.workspace-caption .preview-note{justify-content:flex-start;text-align:left;margin:0}.live-workflow{display:inline-flex;align-items:center;gap:5px;min-height:26px;color:#8ba5ac;font-size:9px;line-height:1.6;white-space:nowrap}.live-workflow svg{width:12px;height:12px}.live-workflow:hover{color:var(--teal)}@media(max-width:650px){.workspace-caption{align-items:flex-start;flex-wrap:wrap;gap:3px;margin-top:10px}.workspace-caption .preview-note{font-size:8px}.live-workflow{font-size:8px;min-height:30px;margin-left:auto}.live-workflow svg{width:11px;height:11px}}
/* Document hierarchy follows the structured sample renderer. */
.result-document>.document-kicker{display:flex;align-items:center;gap:6px;margin-bottom:13px}.document-status-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#9ab497;box-shadow:0 0 0 3px #f0f5eb}.result-document>h3{font-size:22px;line-height:1.45;letter-spacing:-.5px;font-weight:600;color:#3e5d50;margin:0 0 13px}.result-document>.document-summary{font-size:10px;line-height:1.85;color:#8b9b87;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid #e7ecdf}.result-document .document-section h4{font-size:11px;line-height:1.65;font-weight:600;color:#65805d;margin:0 0 7px}.result-document .document-section{margin-top:16px}.result-document .document-section ul{margin:5px 0 12px}.edited-document{font-size:11px;line-height:1.9;color:#6f8177}.result-table-wrap{min-width:0;max-width:100%}@media(max-width:950px){.result-document>h3{font-size:24px}.result-document>.document-summary{font-size:11px}.result-document .document-section h4{font-size:12px}.edited-document{font-size:12px}}@media(max-width:650px){.result-document>h3{font-size:21px}.result-document>.document-summary{font-size:10px;line-height:1.85}.result-document .document-section h4{font-size:11px}.edited-document{font-size:11px}}@media(max-width:370px){.result-document>h3{font-size:19px}}

/* Desktop reading sizes and contrast. */
:scope{--muted:#627982;--subtle:#73868e}
.page-heading p{font-size:14px;color:#627983}.heading-note{font-size:12px;color:#6d858e}
.back-link,.safety-link{font-size:13px}.rail-link{font-size:11px;color:#617781}
.micro-label{font-size:10px;color:#6e858c}.current-copy h2{font-size:18px}.current-copy p{font-size:12px;color:#687e87}
.change-workflow{font-size:12px}.field-heading label{font-size:14px}.example-button{font-size:12px;color:#5c7b85}
#material{font-size:14px;color:#304e5c;min-height:144px}#material::placeholder{color:#80939b}
.attach-button{font-size:12px;color:#557582}#materialCount,.file-status{font-size:11px;color:#728890}
.output-options>label>span{font-size:12px;color:#5d7882}.output-options select{font-size:13px;min-height:41px}.output-settings summary{font-size:12px;color:#607d87}
.primary-button,.secondary-button{font-size:13px}.result-label h2{font-size:14px;color:#44645e}.result-badge{font-size:10px;color:#647c6e}.result-tabs button{font-size:12px;color:#71857c}
.result-document{font-size:13px;line-height:1.85;color:#4f665c}.result-document>h3{font-size:24px;line-height:1.45}.result-document h4{font-size:13px;color:#426b57}.result-document .document-summary{font-size:12px;color:#748478}.result-document .document-kicker{font-size:10px;color:#698777}
.result-view{max-height:425px}.result-table{font-size:12px}.result-footer,.result-status{font-size:11px;color:#6c8278}.result-editor,#instructionText{font-size:13px;color:#3a5b50}.instruction-heading{font-size:12px}
.workflow-copy h3{font-size:16px}.workflow-copy p,.template-card p{font-size:13px;color:#677e88}.workflow-outputs span{font-size:10px;color:#648189}.template-meta{font-size:11px}.template-card h3{font-size:16px}.template-foot{font-size:11px}.template-filters button{font-size:12px}.section-heading p{font-size:13px;color:#687f89}.preview-note,.live-workflow-link{font-size:11px;color:#71868e}
@media(max-width:650px){.result-document>h3{font-size:21px}.current-copy h2{font-size:16px}.current-copy p{font-size:11px}.page-heading p{font-size:13px}.workflow-copy h3,.template-card h3{font-size:15px}.output-options select{font-size:12px}#material{font-size:14px}}

/* Concise view: titles and actions first, supporting copy on demand. */
:scope{padding-top:30px}.page-heading{margin-bottom:22px}.page-heading h1{font-size:34px}
.brief-panel,.result-panel{min-height:470px}.workflow-current{padding-bottom:16px;margin-bottom:18px}.current-copy h2{margin:0;font-size:18px}.current-icon{width:40px;height:40px}
.result-view{padding-top:22px;max-height:380px}.result-document>h3{margin:0 0 20px;font-size:22px}.result-document .document-section h4{margin:0 0 8px}.sample-toggle{display:flex;align-items:center;gap:6px;padding:8px 0;margin-top:14px;min-height:38px;background:transparent;color:var(--teal-dark);font-size:12px;font-weight:550}.sample-toggle svg{width:14px;height:14px}.sample-toggle[aria-expanded=true] svg{transform:rotate(180deg)}.result-document .result-table{margin-top:15px}.result-status:empty{display:none}
.workflow-section{margin-top:36px}.template-section{margin-top:38px}.section-heading{margin-bottom:18px}.section-heading h2{font-size:22px}.workflow-card{min-height:88px;padding:20px;display:flex;align-items:center;gap:14px}.workflow-copy{flex:1}.workflow-copy h3{margin:0;font-size:16px}.workflow-arrow{position:static;margin-left:auto;display:grid;place-items:center}.workflow-icon{margin:0;flex-shrink:0}
.template-card{display:flex;align-items:center;gap:14px;min-height:94px;padding:20px;text-align:left}.template-card .template-icon{margin:0;flex-shrink:0}.template-label{flex:1;min-width:0}.template-card h3{margin:0;font-size:15px;line-height:1.5}.template-category{display:block;margin-top:5px;color:#7d9098;font-size:11px}.template-chevron{color:#91a8af;display:grid;place-items:center}.template-chevron svg{width:15px;height:15px}.template-card:hover .template-chevron{color:var(--teal)}.office-footer{margin-top:36px;padding-top:20px;padding-bottom:24px}
@media(max-width:950px){.brief-panel,.result-panel{min-height:0}.result-panel{min-height:350px}.result-view{max-height:420px}}
@media(max-width:650px){:scope{padding-top:22px}.page-heading h1{font-size:28px}.page-heading{margin-bottom:18px}.workflow-card{min-height:76px;padding:16px}.template-card{min-height:84px;padding:16px}.section-heading h2{font-size:20px}.result-document>h3{font-size:20px}.workflow-section,.template-section{margin-top:28px}}
.workflow-section,.template-section{margin-top:0;padding-top:30px}:scope{padding-bottom:40px}
@media(max-width:650px){.workflow-section,.template-section{margin-top:0;padding-top:24px}}

}

/* The studio owns its surfaces; shared office dark rules only cover legacy cards. */
@media (min-width:921px) {
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio {
        --ink:#e4ecee;
        --muted:#afc0c6;
        --subtle:#afc0c6;
        --teal:#93d6cf;
        --teal-dark:#b0e3dd;
        --line:#3b5056;
        --paper:#1b252b;
        --office-studio-input:#141e24;
        --office-studio-raised:#233039;
        --office-studio-tint:#25413f;
        --office-studio-accent-line:#487974;
        --shadow:0 8px 35px rgba(0,0,0,.16);
        --fuuvo-dark-text:var(--ink);
        --fuuvo-dark-text-soft:var(--ink);
        --fuuvo-dark-muted:var(--muted);
        --fuuvo-dark-input:var(--office-studio-input);
        --fuuvo-dark-line-strong:var(--line);
        background:#0f171c;
        color:var(--ink);
        color-scheme:dark;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.brief-panel,.result-panel,.workflow-card,.template-card,.template-empty) {
        background:var(--paper);
        border-color:var(--line);
        color:var(--ink);
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.page-heading h1,.current-copy h2,.result-label h2,.section-heading h2,.workflow-copy h3,.template-card h3,.template-empty h3,.result-document h1,.result-document h2,.result-document h3,.result-document h4,.result-document strong) {
        color:var(--ink) !important;
        -webkit-text-fill-color:currentColor !important;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.field-heading label,.output-options label,.output-options>label>span,.output-settings summary,.example-button,#materialCount,.file-status,.result-badge,.result-tabs button,.result-footer,.template-category,.template-filters button,.template-search,.template-chevron,.workflow-arrow,.preview-note,.live-workflow,.result-document,.edited-document,.result-document .document-summary,.result-document .document-kicker,.result-document .muted,.result-document .doc-note,.result-document .document-note) {
        color:var(--muted) !important;
        -webkit-text-fill-color:currentColor !important;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.workflow-current,.output-settings,.result-topbar,.result-tabs,.result-footer,.result-document .document-summary) {
        border-color:var(--line);
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.result-topbar,.result-footer,.change-workflow,.attach-button,.secondary-button,.template-search,.template-filters button) {
        background:var(--office-studio-input) !important;
        border-color:var(--line) !important;
        color:var(--muted) !important;
        -webkit-text-fill-color:currentColor !important;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(#material,.output-options select,#instructionText) {
        background:var(--office-studio-input) !important;
        border-color:var(--line) !important;
        color:var(--ink) !important;
        -webkit-text-fill-color:currentColor !important;
        scrollbar-color:var(--line) transparent;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(#resultEditor,#templateSearch) {
        background:transparent !important;
        color:var(--ink) !important;
        -webkit-text-fill-color:currentColor !important;
        scrollbar-color:var(--line) transparent;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(input,textarea)::placeholder {
        color:var(--muted) !important;
        -webkit-text-fill-color:currentColor !important;
        opacity:1;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.workflow-card[aria-pressed="true"],.template-filters button[aria-pressed="true"],.result-badge,.result-status,.file-list li,.result-document blockquote,.result-document .callout,.result-document .result-callout,.result-document .document-callout,.result-document .doc-callout) {
        background:var(--office-studio-tint) !important;
        border-color:var(--office-studio-accent-line) !important;
        color:var(--teal) !important;
        -webkit-text-fill-color:currentColor !important;
        box-shadow:none;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.sample-toggle,.result-tabs button[aria-selected="true"],.icon-button) {
        color:var(--teal) !important;
        -webkit-text-fill-color:currentColor !important;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio .result-document li::marker { color:var(--teal); }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio .result-tabs button[aria-selected="true"]::after,
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.status-dot,.document-status-dot) {
        background:var(--teal);
        box-shadow:none;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.workflow-card:hover,.template-card:hover,.change-workflow:hover,.attach-button:hover,.secondary-button:hover,.template-filters button:hover,.icon-button:hover,.icon-button[aria-pressed="true"]) {
        background:var(--office-studio-raised) !important;
        border-color:var(--office-studio-accent-line) !important;
        color:var(--teal) !important;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio .primary-button {
        background:var(--teal) !important;
        border-color:var(--teal) !important;
        color:#102925 !important;
        -webkit-text-fill-color:currentColor !important;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio .primary-button :is(span,i) {
        color:inherit !important;
        -webkit-text-fill-color:currentColor !important;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio .primary-button:hover {
        background:var(--teal-dark) !important;
        border-color:var(--teal-dark) !important;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.current-icon,.workflow-icon,.template-icon) {
        background:#233b34;
        border-color:#3b6054;
        color:#93d6c0;
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.workflow-card:nth-child(2) .workflow-icon,.template-card:nth-child(6n+2) .template-icon) { background:#352e43; border-color:#57486d; color:#c6b4e5; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.workflow-card:nth-child(3) .workflow-icon,.template-card:nth-child(6n+3) .template-icon) { background:#273b48; border-color:#406074; color:#a3cce4; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.workflow-card:nth-child(4) .workflow-icon,.template-card:nth-child(6n+4) .template-icon) { background:#3c3325; border-color:#665239; color:#e4c28d; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.workflow-card:nth-child(5) .workflow-icon,.template-card:nth-child(6n+5) .template-icon) { background:#412e3b; border-color:#6b485e; color:#e2b4cf; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(.result-table,.result-document table,.result-document th,.result-document td) {
        border-color:var(--line);
        color:var(--ink);
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio .result-document th {
        background:var(--office-studio-raised);
        color:var(--teal);
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio .result-document td { background:var(--office-studio-input); }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app .office-task-studio :is(input,textarea,select,.template-search):focus-within {
        border-color:var(--teal) !important;
        box-shadow:0 0 0 3px rgba(147,214,207,.15);
    }

    /* These overlays are siblings of the app, outside the studio's CSS scope. */
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog {
        width:min(430px,calc(100% - 38px));
        padding:30px;
        border:1px solid #3b5056;
        border-radius:16px;
        background:#1b252b;
        color:#e4ecee;
        color-scheme:dark;
        box-shadow:0 30px 100px rgba(0,0,0,.4);
    }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog::backdrop { background:rgba(0,0,0,.65); }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog h2 { color:#e4ecee !important; font-size:22px; line-height:1.4; margin:20px 0 12px; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog p { color:#afc0c6 !important; font-size:13px; line-height:1.85; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog .dialog-icon { display:inline-flex; padding:10px; border-radius:8px; background:#25413f; color:#93d6cf; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog svg { display:block; width:22px; height:22px; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog>div { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:9px; margin-top:24px; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog button { min-height:42px; padding:10px 14px; border:1px solid #3b5056 !important; border-radius:8px; background:#141e24 !important; color:#e4ecee !important; -webkit-text-fill-color:currentColor !important; font:inherit; font-size:13px; cursor:pointer; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog button:hover { background:#233039 !important; border-color:#487974 !important; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog .primary-button { background:#93d6cf !important; border-color:#93d6cf !important; color:#102925 !important; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#replaceDialog .primary-button:hover { background:#b0e3dd !important; border-color:#b0e3dd !important; }
    :is(html,body):is([data-ui-theme="dark"],[data-theme="dark"]) #office-app:has(.office-task-studio)~#toast { position:fixed; bottom:24px; left:50%; transform:translateX(-50%); z-index:200; max-width:calc(100vw - 48px); padding:12px 19px; border:1px solid #487974; border-radius:8px; background:#25413f; color:#b0e3dd; font-size:13px; line-height:1.7; text-align:center; }
}
