:root{color-scheme:light;--bg: #f3efe5;--bg-deep: #efe7d7;--panel: rgba(255, 252, 245, .88);--panel-strong: #fffaf0;--text: #172030;--muted: #6f7280;--line: rgba(24, 32, 48, .1);--brand: #0f4c5c;--brand-soft: #d7ebe8;--accent: #c77d2b;--danger: #a93b32;--good: #287a5c;--shadow: 0 18px 40px rgba(20, 23, 34, .08);font-family:Sora,Noto Sans SC,sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%}body{margin:0;background:radial-gradient(circle at top left,rgba(199,125,43,.16),transparent 22%),radial-gradient(circle at bottom right,rgba(15,76,92,.18),transparent 26%),linear-gradient(180deg,var(--bg) 0%,#f7f4ec 100%);color:var(--text)}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6;transform:none}.reqpilot-shell{min-height:100vh;height:100vh;display:grid;grid-template-columns:280px 1fr;overflow:hidden}.reqpilot-shell.sidebar-collapsed{grid-template-columns:88px 1fr}.project-sidebar{padding:18px 16px;border-right:1px solid rgba(23,32,48,.08);background:linear-gradient(180deg,#fffaf0e0,#f7f1e6c7);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);height:100vh;display:flex;flex-direction:column;gap:12px;overflow:hidden}.project-sidebar.collapsed{padding:14px 10px;gap:10px}.project-sidebar__header{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.project-sidebar__brand{font-size:24px;font-weight:700;letter-spacing:-.04em}.project-sidebar.collapsed .project-sidebar__header{flex-direction:column;align-items:stretch}.project-sidebar.collapsed .project-sidebar__brand{font-size:16px;letter-spacing:.08em;text-align:center}.project-sidebar__brand small{display:block;font-size:11px;margin-top:4px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.project-sidebar__list{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;overflow:auto;padding-right:4px}.project-item,.project-empty,.project-sidebar__footnote,.completion-card,.chat-panel,.document-panel,.stage-strip,.error-banner,.empty-state,.modal-card{box-shadow:var(--shadow)}.project-item{border:1px solid transparent;border-radius:18px;padding:12px;background:#fffbf4d1;text-align:left;display:flex;flex-direction:column;gap:5px}.project-item.active{border-color:#0f4c5c3d;background:linear-gradient(180deg,#d7ebe8f5,#fffaf0f5)}.project-item__meta,.project-item__stage{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:11px}.project-item__type{color:var(--brand);font-weight:600}.project-empty,.project-sidebar__collapsed-note,.project-sidebar__footnote{border-radius:16px;padding:14px;background:#fffcf7c7;color:var(--muted);font-size:12px}.project-sidebar__collapsed-note{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}.project-sidebar__collapsed-note strong{font-size:22px;line-height:1;color:var(--brand)}.project-sidebar__collapsed-note span,.project-sidebar__collapsed-note small{display:block}.project-sidebar__collapsed-note small{max-width:100%;overflow:hidden;text-overflow:ellipsis}.workspace{padding:14px 16px;display:flex;flex-direction:column;gap:8px;min-width:0;height:100vh;overflow:hidden}.mobile-overview{display:grid;gap:10px;padding:10px 12px;border-radius:20px;background:#fffcf5eb;border:1px solid rgba(23,32,48,.08);box-shadow:var(--shadow)}.mobile-overview__bar,.mobile-overview__actions,.mobile-overview__progress-head,.mobile-overview__progress-meta,.mobile-overview__primary-actions{display:flex;align-items:center;gap:8px}.mobile-overview__bar{min-width:0}.mobile-overview__summary{min-width:0;flex:1;display:grid;gap:2px}.mobile-overview__summary strong,.mobile-overview__summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-overview__summary strong{font-size:14px;line-height:1.15}.mobile-overview__summary span{color:var(--muted);font-size:11px;line-height:1.35}.mobile-overview__actions{flex-shrink:0}.mobile-overview__action{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.mobile-overview__details{display:grid;gap:10px;padding-top:10px;border-top:1px solid rgba(23,32,48,.08)}.mobile-overview__notice{box-shadow:none}.mobile-overview__progress{display:grid;gap:8px;padding:10px 12px;border-radius:16px;background:linear-gradient(140deg,#d7ebe885,#fffcf5f0);border:1px solid rgba(15,76,92,.1)}.mobile-overview__progress-head{justify-content:space-between;align-items:flex-start}.mobile-overview__progress-head div{display:grid;gap:2px}.mobile-overview__progress-head span,.mobile-overview__progress-head em,.mobile-overview__progress-meta{color:var(--muted);font-size:11px;line-height:1.35}.mobile-overview__progress-head strong{font-size:16px;line-height:1.1;letter-spacing:-.03em}.mobile-overview__progress-head em{font-style:normal}.mobile-overview__progress-meta{justify-content:space-between}.mobile-overview__publish-hint{display:block}.mobile-overview__publish-hint .workspace-actions__hint{max-width:none;text-align:left}.mobile-overview__primary-actions{flex-wrap:wrap}.mobile-overlay{display:none}.workspace-header,.stage-strip,.chat-panel,.document-panel,.error-banner,.empty-state{background:var(--panel);border:1px solid var(--line);border-radius:22px;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.workspace-header{padding:9px 14px;display:flex;justify-content:space-between;gap:12px;align-items:center}.workspace-header h1,.modal-card h2,.empty-state h2{margin:0;font-size:19px;letter-spacing:-.04em}.workspace-header__title{min-width:0;flex:1}.workspace-header__summary{display:flex;align-items:baseline;gap:12px;min-width:0}.workspace-header__title h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2;flex-shrink:0}.workspace-header__summary span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:12px;line-height:1.35}.panel-head h2{margin:0;font-size:18px;letter-spacing:-.03em}.workspace-header p,.panel-head p,.modal-card p,.empty-state p{margin:8px 0 0;color:var(--muted);font-size:13px;line-height:1.5}.info-banner{border:1px solid rgba(15,76,92,.14);background:#d7ebe8b8;border-radius:18px;padding:10px 14px;color:var(--brand);font-size:13px;box-shadow:var(--shadow)}.progress-hero{background:linear-gradient(140deg,#fffbf4f5,#edf7f4f0,#fff4e3e6);color:var(--text);border:1px solid rgba(15,76,92,.1);border-radius:24px;padding:8px 12px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:6px 12px;align-items:center;box-shadow:var(--shadow)}.progress-hero--compact{align-items:start}.progress-hero__summary{min-width:0;display:grid;gap:2px}.progress-hero__title-row{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.progress-hero p{margin:4px 0 0;color:#172030ad;font-size:12px;line-height:1.45}.progress-hero__eyebrow,.publish-readiness-card__eyebrow{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#0f4c5cb8;margin-bottom:4px}.progress-hero__title{font-size:18px;line-height:1.1;font-weight:700;letter-spacing:-.04em}.progress-hero__inline-help{min-width:0;color:#172030a3;font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress-hero__meter{display:grid;gap:4px;align-self:center}.progress-hero__meter-track{height:6px;border-radius:999px;background:#0f4c5c14;overflow:hidden}.progress-hero__meter-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#0f4c5c,#9ecdc4)}.progress-hero__meta{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#172030a8}.eyebrow{font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:6px}.workspace-actions,.panel-head,.composer__footer,.document-card__head,.modal-card__head,.modal-card__footer{display:flex;justify-content:space-between;gap:10px;align-items:center}.workspace-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;align-items:center;max-width:56%;padding-bottom:2px}.workspace-actions__hint{font-size:11px;line-height:1.45;color:var(--muted);text-align:right;max-width:220px}.workspace-actions__hint.ready{color:var(--good)}.source-footnote{border:1px solid rgba(15,76,92,.08);background:#fffcf7d1}.source-footnote__label{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--brand);margin-bottom:6px}.source-footnote p{margin:0;font-size:12px;line-height:1.6}.workspace-header>div{min-width:0}.workspace-action-button{padding:7px 11px;font-size:12px;line-height:1.1;white-space:nowrap}.workspace-action-button--publish{display:inline-flex;align-items:center;gap:8px}.workspace-action-button--publish:disabled{background:#17203014;color:#1720306b;opacity:1}.primary-button,.ghost-button,.danger-button,.tiny-button,.stage-chip,.suggestion-chip,.type-card{border:none;border-radius:999px;transition:transform .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}.primary-button,.danger-button,.ghost-button,.tiny-button{padding:10px 15px;font-size:13px}.primary-button{background:linear-gradient(135deg,#0f4c5c,#15586a);color:#fff}.ghost-button{background:#0f4c5c14;color:var(--brand)}.danger-button{background:#a93b3224;color:var(--danger)}.tiny-button{background:#1720300f;color:var(--muted);padding:7px 12px;font-size:12px}.tiny-button.active{background:#287a5c24;color:var(--good)}.primary-button:hover,.ghost-button:hover,.danger-button:hover,.tiny-button:hover,.suggestion-chip:hover,.stage-chip:hover,.type-card:hover{transform:translateY(-1px)}.stage-strip{width:100%;align-self:flex-start;padding:6px 8px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr)) 104px;gap:4px;align-items:stretch}.stage-strip--compact{grid-column:1 / -1;padding:0;background:transparent;border:0;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;grid-template-columns:repeat(5,minmax(0,1fr)) 92px;gap:5px}.stage-chip{padding:4px 7px;background:#ffffffa3;border:1px solid transparent;display:flex;flex-direction:row;align-items:center;gap:6px;text-align:left;border-radius:12px}.stage-chip .help-hint{margin-left:auto}.stage-chip span{width:16px;height:16px;display:inline-grid;place-items:center;border-radius:999px;background:#17203014;font-size:9px;font-weight:700;flex-shrink:0}.stage-chip strong{font-size:9px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stage-chip.reached{background:#0f4c5c1a}.stage-chip.selected{border-color:#0f4c5c38;background:linear-gradient(180deg,#0f4c5c24,#ffffffb3)}.help-hint{position:relative;display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:999px;color:var(--muted);background:#1720300f;flex-shrink:0}.help-hint__bubble{position:absolute;left:50%;top:calc(100% + 8px);transform:translate(-50%);min-width:200px;max-width:280px;padding:10px 12px;border-radius:14px;background:#172030f0;color:#fff;font-size:12px;line-height:1.55;box-shadow:0 12px 26px #0f12182e;opacity:0;pointer-events:none;transition:opacity .14s ease;z-index:20}.help-hint:hover .help-hint__bubble,.help-hint:focus .help-hint__bubble,.help-hint:focus-within .help-hint__bubble{opacity:1}.completion-card{padding:5px 8px;border-radius:12px;background:linear-gradient(160deg,#0f4c5c1f,#fffffff0);color:var(--brand);border:1px solid rgba(15,76,92,.12);display:flex;flex-direction:column;justify-content:center}.completion-card__value{font-size:16px;font-weight:700;line-height:1}.completion-card__label{margin-top:2px;font-size:9px;opacity:.78}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.24fr) minmax(0,.76fr);gap:12px;flex:1;min-height:0;align-items:stretch;transition:grid-template-columns .18s ease}.workspace-grid.document-collapsed{grid-template-columns:minmax(0,1fr) 88px}.chat-panel,.document-panel{padding:16px;display:flex;flex-direction:column;gap:12px;min-width:0;min-height:0;height:100%;overflow:hidden}.chat-panel{position:relative;padding:14px 16px;gap:8px}.chat-panel__footer{display:flex;flex-direction:column;gap:8px}.document-panel{min-width:0}.document-panel__head-actions{display:flex;align-items:center;gap:8px}.document-panel.collapsed{padding:10px 8px;gap:0}.document-panel__collapsed{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:12px}.document-panel__collapsed-title{writing-mode:vertical-rl;text-orientation:mixed;letter-spacing:.14em;font-size:14px;font-weight:700;color:var(--brand)}.document-panel__collapsed-meta{display:flex;flex-direction:column;gap:8px;width:100%}.document-panel__collapsed-badge{border-radius:14px;padding:8px 6px;background:#ffffffb8;border:1px solid rgba(23,32,48,.08);text-align:center;display:flex;flex-direction:column;gap:2px}.document-panel__collapsed-badge strong{font-size:11px;line-height:1.2;color:var(--text)}.document-panel__collapsed-badge span{font-size:10px;line-height:1.2;color:var(--muted)}.panel-head{align-items:flex-start}.chat-panel .panel-head{gap:8px}.chat-panel .panel-head h2{font-size:16px}.panel-head--compact{align-items:center}.chat-panel__title-line,.document-panel__title-line{min-width:0;display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.chat-panel__title-line span,.document-panel__title-line span{min-width:0;color:var(--muted);font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.composer-mode{border-radius:18px;padding:12px 14px;background:#fffaf1db;border:1px solid rgba(199,125,43,.16)}.chat-panel .composer-mode{padding:8px 10px;border-radius:14px}.composer-mode--compact{display:inline-flex;align-self:flex-start}.mode-switch,.composer-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.composer-mode span,.composer-tools span{color:var(--muted);font-size:12px;line-height:1.5}.chat-panel .composer-mode span,.chat-panel .composer-tools span{font-size:11px;line-height:1.35}.composer-mode--compact .tiny-button{padding:5px 9px;font-size:11px}.pill-row,.chip-cloud,.suggestion-chips{display:flex;flex-wrap:wrap;gap:6px}.metric-pill,.chip{padding:6px 10px;border-radius:999px;font-size:11px;background:#1720300f;color:var(--muted)}.chat-panel .pill-row{gap:5px}.chat-panel .metric-pill{padding:4px 8px;font-size:10px}.chip.warning{background:#c77d2b24;color:#8b5416}.chip.good{background:#287a5c1f;color:var(--good)}.message-stream{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:10px;padding-right:6px}.chat-panel .message-stream{gap:8px;padding-right:4px;scrollbar-gutter:stable}.message-card{padding:14px 16px;border-radius:18px;max-width:94%;background:#ffffffd1;border:1px solid rgba(23,32,48,.08)}.message-card__shell{display:flex;gap:12px;align-items:flex-start}.message-card.assistant{align-self:flex-start;background:linear-gradient(180deg,#d7ebe8d1,#ffffffdb)}.message-card.user{align-self:flex-end;background:linear-gradient(180deg,#fff0ddeb,#ffffffd6)}.message-card.streaming{background:linear-gradient(180deg,#d7ebe8f5,#ffffffe6);border-style:dashed}.message-card.user .message-card__shell{flex-direction:row-reverse}.message-avatar{width:34px;height:34px;border-radius:999px;overflow:hidden;flex-shrink:0;display:grid;place-items:center;font-size:13px;font-weight:700;border:1px solid rgba(23,32,48,.08);background:#ffffffeb;color:var(--brand)}.message-avatar.assistant{background:#d7ebe8fa}.message-avatar.user{background:#fff0ddf5;color:#8b5416}.message-avatar.system{background:#17203014;color:var(--muted)}.message-avatar img{width:100%;height:100%;object-fit:cover}.message-card__body{min-width:0;flex:1}.message-card__meta{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:var(--muted);margin-bottom:6px}.message-card.user .message-card__meta{justify-content:flex-end}.message-card p{margin:0;white-space:pre-wrap;font-size:13px;line-height:1.55}.stream-status-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.stream-status-item{padding:6px 10px;border-radius:999px;font-size:11px;background:#0f4c5c14;color:var(--brand)}.stream-cursor{display:inline-block;width:8px;height:1.1em;margin-left:3px;border-radius:999px;background:#0f4c5cb8;vertical-align:text-bottom;animation:blink 1s ease-in-out infinite}.suggestion-block{padding:12px;border-radius:18px;background:#fff9eeeb;border:1px solid rgba(199,125,43,.14)}.chat-panel .suggestion-block{padding:8px 10px;border-radius:12px}.chat-panel .suggestion-block.collapsed{padding:6px 10px}.suggestion-block__header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.suggestion-block__label{font-size:11px;font-weight:700;color:var(--accent);margin-bottom:0;letter-spacing:.02em;text-transform:none}.chat-panel .suggestion-block__label{font-size:10px;margin-bottom:5px;letter-spacing:.02em;line-height:1.4}.chat-panel .suggestion-chips{flex-wrap:wrap;overflow:visible;padding-bottom:0}.suggestion-block__selected{min-width:0;color:var(--muted);font-size:11px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.suggestion-chip{padding:8px 12px;background:#0f4c5c14;color:var(--brand);font-size:12px}.chat-panel .suggestion-chip{padding:6px 10px;font-size:11px;white-space:nowrap;flex-shrink:0}.suggestion-chip.active{background:linear-gradient(135deg,#0f4c5ceb,#1b5664e6);color:#fff;box-shadow:0 10px 22px #0f4c5c2e}.composer{border-radius:20px;background:#ffffffbd;border:1px solid rgba(23,32,48,.08);padding:12px}.chat-panel .composer{padding:8px 10px;border-radius:16px}.composer-tools{margin-bottom:10px}.chat-panel .composer-tools{gap:6px;margin-bottom:6px}.composer textarea,.document-card textarea,.field-label input,.field-label textarea{width:100%;border:1px solid rgba(23,32,48,.12);border-radius:16px;padding:12px 14px;background:#ffffffe6;color:var(--text);font-size:13px;resize:vertical}.chat-panel textarea{min-height:46px;padding:11px 12px;border-radius:14px;font-size:12px;line-height:1.45;resize:none;overflow-y:hidden}.composer__footer{margin-top:10px}.chat-panel .composer__footer{margin-top:6px}.composer__footer span{color:var(--muted);font-size:11px}.chat-panel .ghost-button,.chat-panel .primary-button,.chat-panel .tiny-button{padding:7px 11px;font-size:12px}.document-panel__quick-actions{display:flex;justify-content:flex-start;padding:10px 12px;border-radius:18px;background:#d7ebe8ad;border:1px solid rgba(15,76,92,.12);box-shadow:var(--shadow)}.document-panel__quick-summary{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.document-panel__quick-summary h3{margin:0;font-size:20px;letter-spacing:-.03em}.document-panel__quick-summary p{margin:6px 0 0;font-size:13px;line-height:1.6;color:var(--muted)}.document-panel__quick-meta{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.document-panel__quick-controls{display:flex;justify-content:space-between;gap:12px;align-items:end;flex-wrap:wrap}.document-panel__quick-budget{margin-top:0;flex:1;min-width:240px}.document-panel__quick-budget span{font-weight:700;color:var(--brand)}.document-panel__quick-buttons{display:flex;gap:10px;flex-wrap:nowrap;align-items:center;justify-content:flex-start}.document-panel__quick-buttons .primary-button:disabled{background:#17203014;color:#1720306b;opacity:1}.document-panel__quick-buttons .primary-button{display:inline-flex;align-items:center;gap:8px}.insight-row,.document-sections,.type-grid{display:grid;gap:10px}.insight-row{grid-template-columns:repeat(2,minmax(0,1fr))}.document-panel__scroll{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:10px;padding-right:4px}.insight-card,.document-card{padding:14px;border-radius:18px;background:#ffffffc2;border:1px solid rgba(23,32,48,.08)}.insight-card__title{font-size:12px;font-weight:700;margin-bottom:8px}.document-card.confirmed{border-color:#287a5c3d;background:linear-gradient(180deg,#f5fcf8eb,#fffc)}.document-card.focus{border-color:#0f4c5c38;box-shadow:0 0 0 3px #0f4c5c14}.document-card h3{margin:0;font-size:16px}.document-card__title-row{display:flex;align-items:center;gap:8px}.document-card p{margin:4px 0 0;color:var(--muted);font-size:12px}.document-card__head{align-items:flex-start;margin-bottom:10px}.document-card__actions{display:flex;gap:8px;flex-wrap:wrap}.error-banner{padding:12px 14px;color:#7a1b14;background:#c9443b1f;font-size:13px;box-shadow:var(--shadow)}.error-banner--actionable{display:flex;justify-content:space-between;align-items:center;gap:12px}.inline-feedback{border-radius:16px;padding:10px 12px;background:#0f4c5c14;color:var(--brand);font-size:12px;line-height:1.6;box-shadow:var(--shadow)}.inline-feedback--success{background:#287a5c1f;color:var(--good)}.confirmation-guide-card,.publish-readiness-card{border-radius:20px;padding:16px;background:#ffffffd6;border:1px solid rgba(23,32,48,.08);box-shadow:var(--shadow)}.confirmation-guide-card{display:flex;justify-content:space-between;gap:16px;align-items:center;background:linear-gradient(180deg,#fff8ecf5,#ffffffe0)}.confirmation-guide-card p{margin:6px 0 0;font-size:13px;color:var(--muted)}.confirmation-guide-card__title{font-size:16px;font-weight:700}.confirmation-guide-card__badge{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border-radius:999px;background:#287a5c1f;color:var(--good);font-size:12px;font-weight:700;white-space:nowrap}.publish-readiness-card h3{margin:0;font-size:20px;letter-spacing:-.03em}.publish-readiness-card p{margin:6px 0 0;color:var(--muted);font-size:13px;line-height:1.6}.publish-readiness-card--accent{background:linear-gradient(150deg,#d7ebe8e6,#ffffffdb)}.publish-readiness-card__head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.publish-readiness-card__icon{width:40px;height:40px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;background:#0f4c5c14;color:var(--brand);flex-shrink:0}.publish-readiness-card__summary{margin-top:12px;display:grid;gap:8px;font-size:13px;color:var(--text)}.publish-readiness-card__actions{margin-top:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.publish-readiness-card__actions span{color:var(--muted);font-size:12px}.publish-readiness-card__actions .primary-button{display:inline-flex;align-items:center;gap:8px}.scroll-hint{position:sticky;bottom:0;margin-top:-2px;border-radius:14px;padding:8px 10px;background:#fff8ecf0;color:#8b5416;font-size:12px;text-align:center}.empty-state{min-height:60vh;display:grid;place-items:center;text-align:center;padding:48px}.loader{width:54px;height:54px;border-radius:999px;border:3px solid rgba(15,76,92,.12);border-top-color:var(--brand);animation:spin 1s linear infinite;margin:0 auto 14px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f121857;display:grid;place-items:center;padding:20px}.modal-card{width:min(860px,100%);background:#fffcf5f5;border:1px solid rgba(23,32,48,.08);border-radius:28px;padding:24px;max-height:calc(100vh - 40px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.modal-card::-webkit-scrollbar{width:8px}.modal-card::-webkit-scrollbar-thumb{background:#0f4c5c3d;border-radius:999px}.modal-card::-webkit-scrollbar-track{background:#0f4c5c0f}.auth-modal{width:min(540px,100%)}.auth-form{display:grid;gap:12px;margin-top:8px}.auth-field{margin-top:0}.auth-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:10px}.auth-code-button{min-width:118px;justify-self:end}.auth-feedback{border-radius:14px;padding:10px 12px;font-size:12px;background:#0f4c5c14;color:var(--brand)}.auth-legal{border:1px solid rgba(23,32,48,.08);background:#ffffffb8;border-radius:18px;padding:12px 14px}.auth-legal__check{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:12px;line-height:1.6;color:var(--muted)}.auth-legal__check input{margin:2px 0 0}.auth-legal__check a{color:var(--accent);text-decoration:none}.auth-legal__check a:hover{text-decoration:underline}.auth-footer{margin-top:18px;align-items:center}.auth-footer span{font-size:12px;color:var(--muted);line-height:1.5}.field-label{display:block;font-size:14px;font-weight:600;margin-top:18px}.field-label__hint{display:block;margin-top:8px;color:var(--muted);font-size:12px;font-weight:400;line-height:1.6}.field-label input,.field-label textarea{margin-top:10px}.mode-card-grid{margin-top:18px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mode-card{padding:16px;border-radius:22px;border:1px solid rgba(23,32,48,.08);text-align:left;background:#fffc;display:grid;gap:8px;position:relative;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background .16s ease}.mode-card:hover{transform:translateY(-1px)}.modal-card__footer{position:sticky;bottom:-24px;margin-top:18px;padding-top:16px;padding-bottom:4px;background:linear-gradient(180deg,#fffcf500,#fffcf5fa 22%)}.mode-card.highlighted{background:linear-gradient(165deg,#0f4c5c1a,#fffaf0eb)}.mode-card.selected{border-color:#0f4c5c42;box-shadow:0 12px 28px #0f4c5c1f}.mode-card span{color:var(--muted);font-size:13px;line-height:1.6}.mode-card__title-row{display:flex;align-items:center;gap:8px}.mode-card__badge{display:inline-flex;align-items:center;border-radius:999px;padding:3px 8px;background:#c77d2b24;color:#8b5416;font-size:11px;font-weight:700}.mode-card__help{position:absolute;right:14px;top:14px}.type-grid{margin-top:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.type-card{padding:18px;text-align:left;background:#fffc;border:1px solid rgba(23,32,48,.08);border-radius:24px;display:flex;flex-direction:column;gap:8px}.type-card.selected{border-color:#0f4c5c42;background:linear-gradient(180deg,#d7ebe8e6,#ffffffe0)}.type-card span{color:var(--muted);font-size:13px;line-height:1.6}@keyframes spin{to{transform:rotate(360deg)}}@keyframes blink{0%,45%{opacity:1}55%,to{opacity:.2}}@media(max-width:1280px){.reqpilot-shell{grid-template-columns:240px 1fr}.reqpilot-shell.sidebar-collapsed{grid-template-columns:80px 1fr}.stage-strip{grid-template-columns:repeat(5,minmax(0,1fr))}.completion-card{grid-column:1 / -1;flex-direction:row;align-items:baseline;gap:8px}.completion-card__label{margin-top:0}.progress-hero{grid-template-columns:1fr}.stage-strip--compact{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1024px){.reqpilot-shell,.reqpilot-shell.sidebar-collapsed{grid-template-columns:1fr;height:auto;overflow:visible}.project-sidebar,.project-sidebar.collapsed{height:auto;overflow:visible}.project-sidebar.collapsed .project-sidebar__header{flex-direction:row;align-items:flex-start}.project-sidebar.collapsed .project-sidebar__brand{font-size:24px;letter-spacing:-.04em;text-align:left}.project-sidebar__collapsed-note{align-items:flex-start;text-align:left}.workspace-grid,.insight-row,.type-grid,.mode-card-grid{grid-template-columns:1fr}.stage-strip{width:100%}.workspace-grid.document-collapsed{grid-template-columns:1fr}.workspace{height:auto;overflow:visible}.document-panel__quick-controls{align-items:stretch}.chat-panel,.document-panel{height:auto;overflow:visible}.document-panel__scroll{overflow:visible}.document-panel.collapsed{padding:16px}.document-panel__collapsed{min-height:120px;flex-direction:row;align-items:center}.document-panel__collapsed-title{writing-mode:horizontal-tb;letter-spacing:0}.document-panel__collapsed-meta{width:auto;flex-direction:row}}@media(max-width:720px){.reqpilot-shell,.reqpilot-shell.sidebar-collapsed{grid-template-columns:1fr;min-height:100dvh;height:100dvh;overflow:hidden}.project-sidebar,.project-sidebar.collapsed{position:fixed;inset:0 auto 0 0;width:min(88vw,360px);height:auto;padding:18px 16px;gap:12px;overflow:hidden;transform:translate(-108%);transition:transform .18s ease;z-index:40;box-shadow:0 22px 48px #0f12182e}.project-sidebar.mobile-open{transform:translate(0)}.project-sidebar__header{align-items:center}.project-sidebar__list{padding-right:0}.workspace{min-height:100dvh;height:100dvh;padding:10px 10px calc(10px + env(safe-area-inset-bottom));gap:8px;overflow:hidden}.mobile-overview{display:grid}.mobile-overview__bar{align-items:center}.mobile-overview__actions{gap:6px}.mobile-overview__summary strong{font-size:15px}.mobile-overview__progress-head,.mobile-overview__progress-meta,.document-panel__quick-buttons,.confirmation-guide-card,.publish-readiness-card__head,.publish-readiness-card__actions,.document-panel__title-line,.suggestion-block__header,.composer__footer,.modal-card__head,.modal-card__footer,.auth-code-row{flex-direction:column;align-items:flex-start}.mobile-overview__progress-meta span{white-space:normal}.mobile-overview__stage-strip{display:flex;gap:6px;overflow-x:auto;padding:0 0 2px}.mobile-overview__stage-strip .stage-chip,.mobile-overview__stage-strip .completion-card{flex:0 0 auto}.mobile-overview__mode .mode-switch{flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px}.mobile-overview__mode .tiny-button{flex-shrink:0}.mobile-overview__primary-actions{flex-direction:column;align-items:stretch}.mobile-overview__primary-actions .workspace-action-button{width:100%;justify-content:center}.workspace-grid,.workspace-grid.document-collapsed{display:block;flex:1;min-height:0}.chat-panel{height:100%;padding:10px 10px calc(10px + env(safe-area-inset-bottom));gap:8px;border-radius:20px}.chat-panel .panel-head,.chat-panel .composer-mode{display:none}.message-stream{padding-right:2px;padding-bottom:2px}.message-card{max-width:100%;padding:12px;border-radius:16px}.message-card__shell{gap:10px}.message-avatar{width:30px;height:30px;font-size:12px}.message-card p{font-size:12px;line-height:1.5}.chat-panel__footer{gap:6px;padding-top:6px;border-top:1px solid rgba(23,32,48,.08)}.suggestion-block{padding:8px 10px;border-radius:14px;max-height:28dvh;overflow:auto}.suggestion-block__selected,.document-panel__title-line span{white-space:normal}.composer{padding:8px;border-radius:14px}.chat-panel textarea{min-height:44px}.composer__footer{width:100%}.composer__footer .primary-button{width:100%;justify-content:center}.document-panel.mobile-sheet{position:fixed;left:10px;right:10px;top:74px;bottom:0;height:auto;padding:14px 12px calc(12px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;transform:translateY(calc(100% + 18px));opacity:0;pointer-events:none;transition:transform .18s ease,opacity .18s ease;z-index:42;box-shadow:0 -18px 44px #0f121838}.document-panel.mobile-sheet.mobile-open{transform:translateY(0);opacity:1;pointer-events:auto}.document-panel.mobile-sheet .document-panel__scroll{overflow:auto;padding-right:2px;padding-bottom:12px}.document-panel.mobile-sheet .document-panel__quick-buttons{width:100%}.document-panel.mobile-sheet .document-panel__quick-buttons .tiny-button,.document-panel.mobile-sheet .publish-readiness-card__actions .primary-button,.document-panel.mobile-sheet .publish-readiness-card__actions .tiny-button{width:100%;justify-content:center}.mobile-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;border:0;background:#0f121842;z-index:35}.mobile-overlay--document{z-index:41;background:#0f121857}.modal-card{padding:16px;border-radius:24px;max-height:calc(100dvh - 24px);overflow:auto}.auth-code-row{grid-template-columns:1fr}.auth-code-button{justify-self:stretch}}
