/* v1.1: purpose-first entry screens with a single visible primary action. */
.language-control{display:flex;align-items:center;gap:6px;color:#63748b;padding:5px 8px;border:1px solid #e5eaf2;border-radius:11px;background:#fff}.language-control select{appearance:auto;border:0;background:transparent;font-size:11px;color:inherit;max-width:118px;padding:4px;cursor:pointer}.local-pill>span[data-i18n]{width:auto;height:auto;background:transparent;border-radius:0}.intent-icon{width:64px;height:64px;display:flex;justify-content:center;align-items:center;border-radius:21px;background:#edf4ff;color:#3182f6;margin:0 auto 22px}.intent-focused:not(.has-file) .drop-button{display:none}.intent-focused .empty-state{max-width:560px}.intent-focused:not(.has-file) .workspace-footer{display:none}.empty-state{width:min(100%,570px)}.empty-state h2{line-height:1.3;overflow-wrap:anywhere}.empty-state p{letter-spacing:0;line-height:1.7;max-width:460px;margin:0 auto 22px;font-size:13px;padding:0 10px;color:#8693a5}.pick-button{padding:14px 25px;border-radius:13px;background:#3182f6;color:#fff;min-width:160px;display:block;margin:0 auto 18px;font-size:14px}.pick-button:hover{background:#246fd9}.intent-presets{display:flex;justify-content:center;align-items:center;gap:7px;flex-wrap:wrap}.intent-presets:empty{display:none}.empty-state .intent-presets{margin:0 auto 18px}.intent-presets .chip{font-size:12px;padding:10px 15px;border:1px solid transparent}.intent-presets .chip.selected{background:#edf4ff;border-color:#afceff;color:#2476ec}.sample-button{margin-top:0}.sample-button span:first-child{padding-left:0}.featured-intents{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:28px auto 0;max-width:450px;padding:0 8px}.feature-link{display:flex;align-items:center;gap:10px;padding:15px;border:1px solid #e9eef5;border-radius:14px;text-align:left;transition:background .15s,border-color .15s}.feature-link:hover{background:#f0f6ff;border-color:#c1d8fa}.feature-link svg{color:#3182f6;flex-shrink:0}.feature-link span:not(.feature-arrow){font-size:12px;font-weight:700;line-height:1.4}.feature-arrow{margin-left:auto;color:#a4b4c8;font-size:15px}.intent-controls{flex-shrink:0;border-top:1px solid #eef2f7;background:#fbfcff;padding:14px 26px}.intent-controls-top{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}.intent-controls-top:empty{display:none}.intent-summary{display:flex;align-items:center;gap:7px;font-size:12px;color:#72859c;line-height:1.7}.intent-summary:has(span:empty){display:none}.intent-summary svg{color:#36a87d}.compare-toggle{display:flex;gap:1px;background:#edf1f7;border-radius:8px;padding:3px}.compare-toggle button{font-size:10px;padding:5px 9px;border-radius:6px;color:#8593a6}.compare-toggle button[aria-pressed=true]{background:#fff;color:#286bbb}.intent-action-row{display:flex;align-items:center;justify-content:center;gap:13px;margin-top:9px;flex-wrap:wrap}.intent-primary{display:flex;align-items:center;justify-content:center;gap:9px;background:#3182f6;color:#fff;padding:13px 22px;border-radius:13px;font-size:13px;min-height:44px}.intent-primary:hover{background:#246fd9}.intent-primary svg{flex-shrink:0}.next-steps{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;border-top:1px solid #ecf0f7;margin-top:15px;padding-top:12px}.next-steps>span{font-size:10px;color:#94a0b1}.next-steps button{display:flex;gap:6px;align-items:center;font-size:11px;color:#4b74a5;padding:6px 8px;background:#f1f6ff;border-radius:8px}.result-warning{font-size:11px;color:#a37135;line-height:1.6;text-align:center;margin:8px 0}.busy .intent-controls,.busy .featured-intents,.busy .pick-button,.busy .language-control{pointer-events:none;opacity:.6}.intent-focused.has-file .workspace-footer{min-height:75px;padding:8px}.intent-focused.has-result .workspace-footer .document-info{display:none}.intent-focused .workspace-header h1{font-size:19px}.stage{overscroll-behavior:contain}.empty-state{padding:16px 0}.app-layout{max-width:1480px}.workspace{min-height:700px}.stage:not(:has(.empty-state[hidden])){align-items:safe center}
@media(max-width:1000px){.header-end{gap:12px}.workspace{min-height:670px}.intent-controls{padding:12px 15px}.intent-primary{padding:12px 16px}.empty-state h2{font-size:23px}.featured-intents{max-width:390px}}
@media(max-width:400px){body .app-layout .nav-rail{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}body .nav-rail .icon-button{width:100%;max-width:48px;justify-self:center}}
@media(max-width:680px){.local-pill{display:none}.header-end{gap:4px}.header-end .icon-button{width:33px}.language-control{gap:4px;padding:3px 5px}.language-control select{font-size:11px;max-width:110px}.language-control svg{width:15px}.workspace{height:auto;min-height:calc(100dvh - 154px);max-height:none}.work-body{flex:1;min-height:380px}.has-file .work-body{min-height:300px;height:calc(100dvh - 375px);max-height:440px;flex:none}.intent-focused .workspace-header h1{font-size:16px}.empty-state{padding:25px 0 10px}.empty-state h2{font-size:23px;letter-spacing:-.7px;margin-bottom:12px}.empty-state p{font-size:12px;max-width:310px}.empty-state .drop-button{height:100px;transform:scale(.72);margin-top:-15px;margin-bottom:20px}.intent-icon{width:56px;height:56px;margin-bottom:23px}.featured-intents{margin-top:22px;gap:7px}.feature-link{padding:12px 10px;gap:7px}.feature-link span:not(.feature-arrow){font-size:10px}.feature-link svg{width:19px}.intent-presets .chip{font-size:11px;padding:9px 12px}.intent-controls{padding:12px 11px}.intent-action-row{gap:8px}.intent-primary{font-size:12px;padding:12px 14px;min-width:140px}.intent-controls-top{gap:8px}.intent-summary{font-size:11px}.next-steps{gap:6px}.next-steps button{font-size:10px;padding:6px}.nav-rail{gap:14px}.intent-focused .stage{padding:16px}.intent-focused:not(.has-file) .work-body{min-height:470px}.property-panel{max-height:100%}.pick-button{font-size:13px}.stage-badge{max-width:calc(100% - 20px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
