:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172a3a;background:#eef3f7;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% -20%,#dcecf2 0,#eef3f7 42%,#eaf0f4);min-width:320px}.app{min-height:100vh}.topbar{height:72px;background:#ffffffeb;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid #dce5eb;display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:40}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand-logo{width:40px;height:40px;border-radius:12px;background:linear-gradient(145deg,#0b5970,#073b4c);display:grid;place-items:center;color:#fff;box-shadow:0 7px 18px #073b4c2e;overflow:hidden;flex:none}.brand-logo img{width:100%;height:100%;display:block;object-fit:cover}.brand strong{display:block;font-size:14px;letter-spacing:-.01em}.brand span{display:block;font-size:10px;color:#718292;margin-top:3px;white-space:nowrap}.top-actions{display:flex;align-items:center;gap:8px}.mode-pill{display:inline-flex;align-items:center;gap:5px;background:#e7f7f8;color:#0c6477;border:1px solid #ccecef;border-radius:999px;padding:7px 10px;font-size:9px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.top-btn{height:36px;border:1px solid #d6e0e7;background:#fff;color:#264052;border-radius:10px;padding:0 11px;display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-size:10px;font-weight:750}.top-btn:hover{border-color:#9cc9d5;transform:translateY(-1px)}.container{max-width:1500px;margin:0 auto;padding:30px 30px 50px}.hero{background:linear-gradient(135deg,#0b4357,#0d5268 54%,#0a3d4f);border-radius:25px;padding:31px 34px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 22px 50px #0a374629;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-170px;top:-230px;background:#ffffff0e}.hero-copy,.hero-actions{position:relative;z-index:1}.hero-title-row{display:flex;align-items:center;gap:16px}.hero-logo{width:58px;height:58px;object-fit:cover;border-radius:15px;box-shadow:0 10px 24px #00000029;background:#ffffff14;flex:none}.eyebrow{font-size:10px;letter-spacing:.16em;color:#70d2e5;font-weight:900;margin-bottom:11px}.hero h1{margin:0;color:#fff;font-size:36px;line-height:1.05;letter-spacing:-.045em}.hero p{margin:9px 0 0;color:#c4e4eb;font-size:12px;max-width:680px}.hero-badges{display:flex;gap:7px;flex-wrap:wrap;margin-top:17px}.hero-badges span{display:inline-flex;align-items:center;gap:6px;color:#d5eef2;background:#ffffff13;border:1px solid rgba(255,255,255,.13);padding:6px 9px;border-radius:8px;font-size:9px}.hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.btn{height:37px;border:1px solid transparent;border-radius:10px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:10.5px;font-weight:800;cursor:pointer;transition:.18s ease;white-space:nowrap}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.primary{background:#16a7c8;color:#fff;box-shadow:0 8px 18px #0985a238}.btn.light{background:#fff;color:#18455a}.btn.ghost{background:#ffffff14;border-color:#ffffff2e;color:#fff}.btn.secondary{background:#fff;border-color:#d8e2e8;color:#284356}.btn.small{height:33px;padding:0 10px;font-size:9.5px}.btn.large{height:42px;padding:0 16px}.practice-note{display:flex;align-items:flex-start;gap:9px;background:#fff8e8;border:1px solid #efdfb9;color:#775719;border-radius:12px;padding:10px 12px;margin:13px 0;font-size:10px;line-height:1.5}.workflow{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:12px 0}.workflow-item{background:#fff;border:1px solid #dfe7ed;border-radius:12px;padding:10px;display:flex;align-items:center;gap:7px;min-width:0;color:#70808e;font-size:10px}.workflow-item span{width:23px;height:23px;border-radius:7px;background:#eef3f6;color:#0c5d75;display:grid;place-items:center;font-weight:900;flex:none}.workflow-item b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workflow-item svg{margin-left:auto;opacity:.35}.workflow-item.done{border-color:#bfe5e9;background:#f7fcfd}.workflow-item.done span{background:#d8f3f5}.start-card{background:#fffffff0;border:1px dashed #cbd9e1;border-radius:22px;text-align:center;padding:64px 22px;box-shadow:0 16px 40px #1834450a}.start-icon{width:66px;height:66px;margin:auto;border-radius:19px;background:#e6f7fa;color:#0c7893;display:grid;place-items:center}.start-card h2{font-size:23px;margin:15px 0 5px;letter-spacing:-.035em}.start-card p{max-width:620px;margin:0 auto 20px;color:#758696;font-size:11px}.start-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.start-checks{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:22px;color:#6e7d8a;font-size:9.5px}.tender-strip{margin-top:13px;background:#fff;border:1px solid #dfe7ed;border-radius:17px;padding:14px 15px;display:grid;grid-template-columns:1fr 1.45fr 1fr auto auto;gap:14px;align-items:center;box-shadow:0 7px 25px #1b374709}.tender-strip>div{min-width:0;padding-right:13px;border-right:1px solid #edf1f3}.tender-strip small{display:block;color:#8795a1;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.tender-strip strong{display:block;margin-top:4px;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tender-strip span{display:block;margin-top:3px;color:#71808d;font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.strip-logo{border-right:0!important;display:flex;justify-content:center;align-items:center;padding:0!important}.strip-logo img{width:50px;height:50px;object-fit:cover;border-radius:12px;box-shadow:0 5px 15px #0000001a}.strip-actions{display:flex;gap:6px;border-right:0!important;padding:0!important}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.toolbar-left{display:flex;gap:6px;flex-wrap:wrap}.readiness{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:8px 11px;font-size:9.5px;font-weight:850}.readiness.ready{background:#e7f7ef;color:#14734d}.readiness.blocked{background:#fff1df;color:#9b5b0b}.advanced{margin-top:11px;padding:12px}.advanced-grid{display:grid;grid-template-columns:1fr 1.1fr 1.1fr;gap:10px}.switch-row,.bonus-card{background:#f9fbfc;border:1px solid #e1e8ed;border-radius:12px;padding:12px;min-height:82px}.switch-row{display:flex;align-items:center;gap:10px}.switch-row input{accent-color:#0a718b}.switch-row b,.bonus-head b{display:block;font-size:10px}.switch-row small,.bonus-head small{display:block;color:#81909b;font-size:8.5px;margin-top:3px;line-height:1.35}.bonus-head{display:flex;justify-content:space-between;gap:10px}.bonus-actions{display:flex;gap:5px}.icon-btn,.mini-btn{display:grid;place-items:center;border:1px solid #d7e1e7;background:#fff;color:#496172;cursor:pointer;border-radius:9px}.icon-btn{width:34px;height:34px}.mini-btn{width:29px;height:29px;flex:none}.icon-btn:hover,.mini-btn:hover{border-color:#9bc8d3;color:#0b657d}.logo-preview{width:42px;height:42px;object-fit:cover;border-radius:9px;margin-top:8px}.signature-options{display:flex;gap:10px;margin-top:10px;font-size:8.5px;color:#5f7080}.page-input{height:28px;margin-top:8px;border:1px solid #d7e0e6;border-radius:7px;padding:0 8px;font-size:9px;width:100%}.content-grid{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(390px,.88fr);gap:13px;margin-top:12px}.panel{background:#fff;border:1px solid #dfe7ed;border-radius:17px;overflow:hidden;box-shadow:0 7px 25px #1b374709}.panel-head{padding:14px 15px;border-bottom:1px solid #e9eef2;display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-head h2{margin:0;font-size:14px;letter-spacing:-.025em}.panel-head p{margin:4px 0 0;color:#8794a0;font-size:9px}.count-pill{min-width:30px;height:26px;padding:0 8px;border-radius:8px;background:#eef5f7;color:#0b647b;display:grid;place-items:center;font-size:9px;font-weight:900}.checklist-list{display:flex;flex-direction:column}.requirement{display:grid;grid-template-columns:38px minmax(200px,1fr) minmax(300px,1.18fr);gap:10px;align-items:center;padding:13px 15px;border-bottom:1px solid #edf1f4;transition:.15s}.requirement:hover{background:#fbfdfe}.requirement:last-child{border-bottom:0}.req-number{font-size:12px;font-weight:900;color:#a7b3bd}.req-title-line{display:flex;align-items:center;justify-content:space-between;gap:8px}.req-title-line strong{font-size:11.5px;color:#22384a;display:block;line-height:1.3}.req-tags{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:5px}.req-tags code{font-size:8px;color:#8895a0}.tag{font-size:7.5px;font-weight:900;border-radius:5px;padding:3px 6px}.tag.required{background:#e7f5f8;color:#0a6379}.tag.optional{background:#eef1f4;color:#697988}.tag.expiry{background:#fff1d7;color:#93600d}.status{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:8.5px;font-weight:900;padding:6px 8px;border-radius:7px}.status.ok{background:#e7f7ef;color:#13754c}.status.missing{background:#fff0f0;color:#b33d3d}.status.warning{background:#fff3de;color:#9b610c}.status.neutral{background:#eef2f5;color:#687888}.req-controls{display:flex;align-items:center;gap:6px}.req-controls select,.req-controls input{height:36px;border:1px solid #d3dee6;border-radius:9px;background:#fff;color:#30485b;padding:0 9px;font-size:9.5px;min-width:0;outline:none}.req-controls select{flex:1}.req-controls input{width:132px}.req-controls select:focus,.req-controls input:focus{border-color:#6bb4c5;box-shadow:0 0 0 3px #199fbf17}.file-panel{position:relative;min-height:500px}.file-tools{display:flex;gap:7px;padding:9px;border-bottom:1px solid #edf1f4}.search-box{height:33px;border:1px solid #d8e2e8;border-radius:9px;display:flex;align-items:center;gap:6px;padding:0 9px;flex:1;color:#8a97a2}.search-box input{border:0;outline:0;width:100%;font-size:9.5px;background:transparent;color:#2e4659}.text-btn{border:0;background:none;color:#ad4a4a;font-size:8.5px;font-weight:850;cursor:pointer;white-space:nowrap}.text-btn:disabled{opacity:.35}.empty-files{padding:60px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;color:#81909c;gap:6px}.empty-files strong{font-size:11px;color:#405365}.empty-files span{font-size:9px;margin-bottom:8px}.files-list{padding:9px}.file-item{display:flex;align-items:center;gap:8px;padding:9px;border:1px solid #e3e9ee;border-radius:11px;margin-bottom:7px;background:#fcfdfe}.file-item.duplicate{border-color:#efc6c6;background:snow}.file-symbol{width:31px;height:31px;border-radius:8px;background:#edf5f7;color:#0d667d;display:grid;place-items:center;flex:none}.file-info{min-width:0;flex:1}.file-info strong{display:block;font-size:9.8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.file-info span{display:block;color:#8a96a0;font-size:8px;margin-top:2px}.file-info em,.file-info small{display:flex;align-items:center;gap:4px;font-style:normal;font-size:7.7px;margin-top:3px;line-height:1.3}.file-info em{color:#b14949}.file-info small{color:#3d7484}.drop-overlay{position:absolute;top:70px;right:9px;bottom:9px;left:9px;background:#f1fafcf7;border:2px dashed #28a5c3;border-radius:14px;z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#0b657d;gap:6px}.drop-overlay strong{font-size:12px}.drop-overlay span{font-size:9px;color:#6c8490}.bottom-bar{margin-top:12px;background:linear-gradient(135deg,#0b2e3e,#0c4356);border-radius:16px;color:#fff;padding:14px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px;box-shadow:0 13px 30px #082c3a21}.bottom-bar strong{display:block;font-size:11px}.bottom-bar span{display:block;color:#abc1c9;font-size:8.5px;margin-top:3px}.bottom-actions{display:flex;gap:7px}.bottom-bar .btn.secondary{background:#fff}.generated{margin-top:10px;background:#e8f7ef;border:1px solid #c9ead8;color:#166d4b;border-radius:13px;padding:11px 13px;display:flex;align-items:center;gap:9px}.generated>div{flex:1;min-width:0}.generated strong{display:block;font-size:10px}.generated span{display:block;font-size:8.5px;color:#4e806b;margin-top:2px}.generated a{text-decoration:none}.toast{position:fixed;right:22px;top:86px;z-index:70;max-width:470px;background:#fff;border:1px solid #dce4ea;border-radius:11px;padding:10px 11px;display:flex;align-items:center;gap:8px;box-shadow:0 16px 38px #142d4229;font-size:9.5px;animation:slide .2s ease}.toast button{margin-left:auto;border:0;background:none;color:inherit;cursor:pointer}.toast.success{color:#14734d}.toast.error{color:#ad3f3f}.toast.info{color:#21657a}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#05151da6;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);z-index:90;display:grid;place-items:center;padding:24px}.preview-modal{width:min(1050px,96vw);height:min(820px,92vh);background:#fff;border-radius:17px;overflow:hidden;box-shadow:0 25px 80px #00000059;display:flex;flex-direction:column}.preview-head{height:54px;padding:0 12px 0 16px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e1e8ed}.preview-head b{display:block;font-size:10px}.preview-head span{display:block;font-size:8px;color:#7d8d99;margin-top:2px}.preview-modal iframe{width:100%;height:100%;border:0;background:#e9edf0}.footer{text-align:center;padding:18px 20px 25px;color:#8b97a3;font-size:8.5px}.spin{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@keyframes slide{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}.theme-dark{background:#07141c;color:#dce8ee;min-height:100vh}.theme-dark .topbar,.theme-dark .panel,.theme-dark .start-card,.theme-dark .tender-strip,.theme-dark .top-btn,.theme-dark .btn.secondary,.theme-dark .advanced{background:#0d202b;color:#dce8ee;border-color:#1d3744}.theme-dark .brand span,.theme-dark .panel-head p,.theme-dark .tender-strip span,.theme-dark .file-info span,.theme-dark .start-card p,.theme-dark .start-checks,.theme-dark .workflow-item,.theme-dark .switch-row small,.theme-dark .bonus-head small{color:#91a7b3}.theme-dark .workflow-item{background:#0d202b;border-color:#1d3744}.theme-dark .workflow-item.done{background:#0f2a33;border-color:#235764}.theme-dark .requirement,.theme-dark .file-tools,.theme-dark .panel-head,.theme-dark .file-item{border-color:#1d3744}.theme-dark .requirement:hover,.theme-dark .file-item{background:#0b1c26}.theme-dark .req-title-line strong,.theme-dark .req-controls select,.theme-dark .req-controls input,.theme-dark .search-box input,.theme-dark .panel-head h2,.theme-dark .file-info strong,.theme-dark .start-card h2,.theme-dark .switch-row b,.theme-dark .bonus-head b{color:#dce8ee}.theme-dark .req-controls select,.theme-dark .req-controls input,.theme-dark .search-box,.theme-dark .icon-btn,.theme-dark .mini-btn{background:#0a1a23;border-color:#274451;color:#dce8ee}.theme-dark .count-pill,.theme-dark .file-symbol,.theme-dark .tag.optional{background:#162e3a;color:#9fb5bf}.theme-dark .start-icon{background:#113441}.theme-dark .practice-note{background:#2a2415;border-color:#57461e;color:#ead18b}.theme-dark .advanced-grid .switch-row,.theme-dark .advanced-grid .bonus-card{background:#0b1b24;border-color:#1d3744}.theme-dark .toast,.theme-dark .preview-modal{background:#0d202b;color:#dce8ee;border-color:#284451}.theme-dark .preview-head{border-color:#1d3744}.theme-dark .modal-backdrop{background:#01080cc7}@media(max-width:1180px){.hero{align-items:flex-start;flex-direction:column}.hero-actions{justify-content:flex-start}.workflow,.tender-strip{grid-template-columns:1fr 1fr}.strip-logo{display:none}.content-grid{grid-template-columns:1fr}.file-panel{min-height:0}.advanced-grid{grid-template-columns:1fr 1fr}.advanced-grid .switch-row{grid-column:1/-1}}@media(max-width:760px){.hero-title-row{gap:11px}.hero-logo{width:46px;height:46px}.topbar{height:64px;padding:0 13px}.brand span,.mode-pill,.top-btn span{display:none}.container{padding:16px 12px 35px}.hero{padding:24px 20px}.hero h1{font-size:28px}.hero-actions{width:100%}.hero-actions .btn{flex:1}.workflow,.tender-strip{grid-template-columns:1fr}.tender-strip>div{border-right:0;border-bottom:1px solid #edf1f3;padding-bottom:9px}.strip-actions{border-bottom:0!important;flex-wrap:wrap}.toolbar{align-items:stretch;flex-direction:column}.readiness{justify-content:center}.requirement{grid-template-columns:30px 1fr}.req-controls{grid-column:2;flex-direction:column;align-items:stretch}.req-controls input{width:100%}.req-title-line{align-items:flex-start;flex-direction:column}.advanced-grid{grid-template-columns:1fr}.advanced-grid .switch-row{grid-column:auto}.bottom-bar{flex-direction:column;align-items:stretch}.bottom-actions .btn{flex:1}.generated{align-items:flex-start;flex-wrap:wrap}.generated a{margin-left:31px}.start-checks{flex-direction:column;align-items:center;gap:8px}}.workflow-item{font-family:inherit;cursor:pointer;text-align:left;transition:.18s ease}.workflow-item:hover{border-color:#8fc9d5;transform:translateY(-1px);box-shadow:0 5px 14px #14506412}.workflow-item.active{border-color:#79c5d3;background:#f2fbfd;color:#0b647b;box-shadow:0 4px 14px #11849e14}.workflow-item.active span{background:#cfeff4}.workflow-item.locked{opacity:.62}.workflow-item:focus-visible{outline:3px solid rgba(22,167,200,.22);outline-offset:2px}.theme-dark .workflow-item.active{background:#0f2b35;border-color:#2b6877;color:#bfeaf2}.theme-dark .workflow-item:hover{border-color:#36788a}#requirements-target,#files-target,#checklist-target,#generate-target{scroll-margin-top:92px}
