:root{color:#18202f;background:#eef2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}.app-shell{width:min(1560px,calc(100vw - 28px));margin:0 auto;padding:24px 0 40px}.tool-tabs{display:flex;gap:8px;margin-bottom:16px;padding:6px;border:1px solid #d8e0ea;border-radius:8px;background:#fff;box-shadow:0 10px 26px #0f172a0b;width:fit-content;max-width:100%;overflow-x:auto}.tool-tabs button{min-height:38px;border:0;border-radius:6px;padding:0 15px;color:#475569;background:transparent;font-weight:800;white-space:nowrap}.tool-tabs button.active{color:#fff;background:#0f766e}.workspace-header{display:flex;align-items:center;gap:14px;margin-bottom:16px}.brand-mark{width:52px;height:52px;flex:0 0 auto;display:grid;place-items:center;border-radius:8px;color:#fff;background:#0f766e}.eyebrow,.subtitle,.section-kicker{margin:0;color:#64748b}.eyebrow,.section-kicker{font-size:12px;font-weight:800;text-transform:uppercase}h1,h2{margin:0;color:#111827;letter-spacing:0}h1{margin-top:3px;font-size:30px;line-height:1.16}h2{margin-top:3px;font-size:18px}.upload-panel,.panel,.summary-card,.warning-box,.empty-state{border:1px solid #d8e0ea;border-radius:8px;background:#fff;box-shadow:0 10px 26px #0f172a0e}.upload-panel{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:stretch;padding:12px;margin-bottom:14px}.drop-zone{position:relative;min-height:76px;display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px dashed #9fb0c5;border-radius:8px;color:#475569;background:#f8fafc}.drop-zone svg{color:#0f766e;flex:0 0 auto}.drop-zone span,.drop-zone strong{display:block}.drop-zone span{font-weight:800;color:#18202f}.drop-zone strong{margin-left:auto;color:#0f766e;font-size:13px}.drop-zone input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.upload-actions{display:flex;gap:10px;align-items:center}.primary-button,.secondary-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:6px;padding:0 14px;font-weight:800;white-space:nowrap}.primary-button{color:#fff;background:#0f766e}.secondary-button{color:#334155;background:#e6edf5}.warning-box{display:flex;gap:10px;padding:12px 14px;margin-bottom:14px;color:#92400e;background:#fff7ed;border-color:#fed7aa}.warning-box p{margin:3px 0 0;color:#9a3412;font-size:13px}.workflow-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:14px}.summary-card{display:flex;gap:10px;align-items:flex-start;padding:13px}.summary-card svg{color:#0f766e;flex:0 0 auto;margin-top:2px}.summary-card span,.summary-card small{display:block;color:#64748b;font-size:12px;font-weight:800}.summary-card strong{display:block;margin:4px 0 3px;color:#111827;font-size:24px;line-height:1}.panel{padding:16px}.generator-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr);gap:16px;align-items:start}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px;color:#0f766e}.section-heading h2{margin:0}.form-grid{display:grid;gap:13px}.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.form-field{display:grid;gap:7px;color:#475569;font-size:14px;font-weight:800}.form-field input,.form-field select,.keywords-panel textarea{width:100%;border:1px solid #cbd5e1;border-radius:6px;background:#fff;color:#18202f;outline:none}.form-field input,.form-field select{min-height:42px;padding:0 12px}.keywords-panel textarea{min-height:352px;resize:vertical;padding:12px;line-height:1.55}.form-field input:focus,.form-field select:focus,.keywords-panel textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e24}.summary-strip{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.summary-strip span{border:1px solid #d8e0ea;border-radius:6px;padding:7px 10px;color:#475569;background:#f8fafc;font-size:13px;font-weight:800}.actions-bar{grid-column:1 / -1;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;border:1px solid #d8e0ea;border-radius:8px;background:#fff;box-shadow:0 10px 26px #0f172a0e}.button-row{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.message{margin:0;font-weight:800}.message.error{color:#b91c1c}.message.success{color:#047857}.total-panel{margin-bottom:14px}.panel-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px}.panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.result-count{border-radius:999px;padding:5px 10px;color:#475569;background:#f1f5f9;font-size:12px;font-weight:800}.toolbar{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:10px;margin-bottom:12px}.search-box,.number-filter{min-height:40px;display:flex;align-items:center;gap:8px;border:1px solid #cbd5e1;border-radius:6px;padding:0 10px;color:#64748b;background:#fff}.search-box input{min-width:0;width:100%;border:0;outline:0;color:#18202f;background:transparent}.number-filter span{color:#475569;font-size:13px;font-weight:800;white-space:nowrap}.number-filter input{width:72px;height:30px;border:1px solid #d8e0ea;border-radius:5px;padding:0 8px;color:#18202f}.workflow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:8px}.total-table-wrap{max-height:620px}.small-table{max-height:360px}.analysis-table{width:100%;border-collapse:separate;border-spacing:0;font-size:13px}.analysis-table th{position:sticky;top:0;z-index:2;padding:9px 10px;text-align:left;color:#475569;background:#f8fafc;border-bottom:1px solid #e2e8f0;white-space:nowrap}.analysis-table td{padding:9px 10px;border-bottom:1px solid #edf2f7;color:#334155;white-space:nowrap;vertical-align:middle}.analysis-table tr:last-child td{border-bottom:0}.analysis-table tr:hover td{background:#fbfdff}.keyword-col{min-width:210px;max-width:360px;white-space:normal!important;overflow-wrap:anywhere;color:#111827!important;font-weight:700}.rank-page-one{color:#065f46!important;background:#dcfce7;font-weight:800}.rank-page-two{color:#854d0e!important;background:#fef9c3}.rank-page-three{color:#475569!important;background:#f1f5f9}.empty-state{min-height:280px;display:grid;place-items:center;align-content:center;gap:10px;padding:30px;text-align:center;color:#64748b}.empty-state svg{color:#0f766e}.empty-state p{max-width:660px;margin:0;line-height:1.6}@media(max-width:1180px){.workflow-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.workflow-grid,.generator-layout{grid-template-columns:1fr}}@media(max-width:760px){.app-shell{width:min(100vw - 22px,1560px);padding-top:18px}.workspace-header{align-items:flex-start}.brand-mark{width:46px;height:46px}h1{font-size:24px}.upload-panel,.toolbar,.workflow-summary,.two-columns{grid-template-columns:1fr}.drop-zone{align-items:flex-start;flex-direction:column}.drop-zone strong{margin-left:0}.upload-actions{justify-content:stretch}.upload-actions button{flex:1}.number-filter{flex-wrap:wrap}.panel{padding:13px}.actions-bar{align-items:stretch;flex-direction:column}.button-row{justify-content:stretch}.button-row button{flex:1}}
