:root{color:#172033;background:#eef1f5;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}.startup-error-app{min-height:100vh;display:grid;place-items:center;padding:32px;background:#f7f8fa}.startup-error-app section{width:min(720px,100%);padding:24px;background:#fff;border:1px solid #d6dde8;border-radius:10px;box-shadow:0 24px 70px #0f172a1f}.startup-error-app h1{margin:0 0 10px}.startup-error-app pre{overflow:auto;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}button,input,select,textarea{font:inherit}button{cursor:pointer}button,label,input,select,textarea{touch-action:manipulation}button:disabled,textarea:disabled{cursor:not-allowed}:focus-visible{outline:3px solid #14b8a6;outline-offset:2px}.app-shell{display:grid;grid-template-columns:340px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:18px;padding:24px;color:#f8fafc;background:#111827;border-right:1px solid #283447;min-height:0}.brand-mark{display:grid;width:44px;height:44px;place-items:center;color:#ccfbf1;background:#0f766e;border-radius:8px}.sidebar h1,.topbar h2,.response-view h3,.empty-state h3,.status-state h3,.error-state h3{margin:0;letter-spacing:0}.sidebar h1{font-size:1.42rem;line-height:1.2}.eyebrow{margin:0 0 6px;color:#64748b;font-size:.76rem;font-weight:700;letter-spacing:0;text-transform:uppercase}.sidebar .eyebrow{color:#9fb2c7}.sidebar-note{display:flex;gap:10px;padding:14px;color:#dbeafe;background:#1f2937;border:1px solid #334155;border-radius:8px}.sidebar-note p{margin:0;font-size:.88rem;line-height:1.45}.workspace-sidebar{display:grid;gap:12px;min-height:0}.sidebar-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:4px;background:#0f172a;border:1px solid #334155;border-radius:8px}.sidebar-tab-button{min-height:34px;padding:0 6px;color:#b7c5d7;background:transparent;border:0;border-radius:6px;font-size:.74rem;font-weight:800}.sidebar-tab-button.active{color:#f8fafc;background:#263449}.sidebar-content{min-height:0}.collections-panel{display:grid;gap:12px;min-height:0}.collections-header,.collection-toolbar,.saved-request-meta,.folder-row>div:first-child,.tree-actions{display:flex;gap:8px;align-items:center}.collections-header{justify-content:space-between}.collections-header h2{margin:0;color:#f8fafc;font-size:.98rem}.sidebar-tool-button,.collection-toolbar button,.tree-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:0 9px;color:#dbeafe;background:#1f2937;border:1px solid #334155;border-radius:6px;font-size:.74rem;font-weight:800}.sidebar-tool-button:hover:not(:disabled),.collection-toolbar button:hover:not(:disabled),.tree-actions button:hover:not(:disabled){background:#263449}.collection-toolbar button:disabled,.tree-actions button:disabled{cursor:not-allowed;opacity:.5}.collection-picker{display:grid;gap:8px}.collection-picker select{color:#e5edf7;background:#1f2937;border-color:#334155}.collection-toolbar{flex-wrap:wrap}.collection-empty,.tree-empty,.folder-empty{color:#b7c5d7;font-size:.8rem;line-height:1.4}.collection-empty{display:grid;gap:9px;padding:14px;background:#1f2937;border:1px solid #334155;border-radius:8px}.collection-empty h3,.collection-empty p,.tree-empty,.folder-empty{margin:0}.collection-empty h3{color:#f8fafc;font-size:.92rem}.collection-tree{display:grid;gap:8px;max-height:min(54vh,560px);overflow:auto;padding-right:2px}.folder-group{display:grid;gap:7px;padding:8px;background:#182235;border:1px solid #334155;border-radius:8px}.folder-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.folder-row span{overflow:hidden;color:#f8fafc;font-size:.82rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.folder-row small{display:inline-grid;min-width:22px;height:22px;place-items:center;color:#ccfbf1;background:#0f766e59;border-radius:999px;font-size:.7rem;font-weight:800}.saved-request-row{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;padding:8px;background:#1f2937;border:1px solid #334155;border-radius:8px}.saved-request-row.active{border-color:#5eead4;box-shadow:inset 3px 0 #2dd4bf}.saved-request-row>button{display:grid;gap:4px;min-width:0;padding:0;text-align:left;color:inherit;background:transparent;border:0}.saved-request-row>button:hover .saved-request-url,.saved-request-row>button:hover .saved-request-meta span{color:#ccfbf1}.saved-request-meta{min-width:0}.saved-request-meta strong{flex:0 0 auto;color:#ccfbf1;font-size:.72rem}.saved-request-meta span{overflow:hidden;color:#f8fafc;font-size:.82rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.saved-request-url{overflow:hidden;color:#9fb2c7;font-size:.74rem;text-overflow:ellipsis;white-space:nowrap}.tree-actions{flex-wrap:wrap}.tree-actions button{min-height:26px;padding:0 7px}.settings-panel,.history-panel{display:grid;gap:10px;min-height:0;margin-top:2px}.settings-header,.history-header{display:flex;gap:10px;align-items:flex-start;justify-content:space-between}.settings-header h2,.history-header h2{margin:0;color:#f8fafc;font-size:.98rem}.settings-block{display:grid;gap:6px;padding:12px;color:#dbeafe;background:#1f2937;border:1px solid #334155;border-radius:8px}.settings-block h3,.settings-block p{margin:0}.settings-block h3{color:#f8fafc;font-size:.86rem}.settings-block p{color:#b7c5d7;font-size:.8rem;line-height:1.45}.settings-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.history-header button,.history-delete{color:#dbeafe;background:#1f2937;border:1px solid #334155;border-radius:6px}.history-header button{min-height:30px;padding:0 9px;font-size:.76rem;font-weight:800}.history-header button:disabled{cursor:not-allowed;opacity:.5}.history-note,.history-empty{margin:0;color:#b7c5d7;font-size:.8rem;line-height:1.4}.history-list{display:grid;gap:8px;max-height:min(42vh,430px);overflow:auto;padding-right:2px}.history-item{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:6px;align-items:stretch}.history-item>button:first-child{display:grid;gap:5px;min-width:0;padding:9px 10px;text-align:left;color:#e5edf7;background:#1f2937;border:1px solid #334155;border-radius:8px}.history-item>button:first-child:hover,.history-header button:hover:not(:disabled),.history-delete:hover{background:#263449}.history-meta{display:flex;gap:8px;align-items:center}.history-meta strong{color:#ccfbf1;font-size:.76rem}.history-status{padding:2px 6px;border-radius:999px;font-size:.72rem;font-weight:800}.history-status.ok{color:#bbf7d0;background:#16653459}.history-status.bad{color:#fecaca;background:#991b1b59}.history-url,.history-time{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-url{color:#f8fafc;font-size:.78rem}.history-time{color:#9fb2c7;font-size:.72rem}.history-delete{display:grid;width:32px;padding:0;place-items:center}.workspace{display:flex;flex-direction:column;min-width:0;padding:22px;gap:14px}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:18px 20px;background:#f8fafc;border:1px solid #d6dde8;border-radius:8px}.topbar h2{font-size:1.18rem}.mode-copy{max-width:680px;margin:0;color:#475569;font-size:.9rem;line-height:1.45}.storage-warning{display:flex;gap:10px;align-items:center;padding:10px 12px;color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px}.storage-warning p{flex:1;margin:0;font-size:.88rem;line-height:1.4}.storage-warning button{min-height:30px;color:#7c2d12;background:#fff;border:1px solid #fed7aa;border-radius:6px;font-size:.78rem;font-weight:800}.environment-panel{display:grid;gap:12px;padding:14px 16px;background:#fff;border:1px solid #d6dde8;border-radius:8px;box-shadow:0 16px 40px #0f172a0f}.environment-header,.environment-toolbar,.environment-file-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.environment-header{justify-content:space-between}.environment-header h2{margin:0;font-size:1rem}.environment-toolbar select{width:min(320px,100%)}.import-button{position:relative;overflow:hidden}.import-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.environment-editor{display:grid;gap:10px}.environment-copy{padding:10px 12px;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:.86rem;line-height:1.45}.environment-variable-list{display:grid;gap:8px}.environment-variable-row{display:grid;grid-template-columns:36px minmax(120px,.8fr) minmax(100px,140px) minmax(160px,1.2fr) 42px 42px;gap:8px;align-items:center}.interop-panel{display:grid;gap:12px;padding:16px;background:#fff;border:1px solid #d6dde8;border-radius:8px;box-shadow:0 16px 40px #0f172a0f}.interop-header{display:flex;gap:16px;align-items:flex-start;justify-content:space-between}.interop-header h2,.interop-card h3,.import-report h3{margin:0;color:#172033}.interop-header h2{font-size:1rem}.interop-header p,.import-report p{max-width:720px;margin:0;color:#64748b;font-size:.86rem;line-height:1.45}.interop-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(220px,.8fr) minmax(280px,1.2fr);gap:10px}.interop-card,.import-report{display:grid;gap:10px;min-width:0;padding:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.interop-card h3,.import-report h3{font-size:.9rem}.interop-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.curl-import-card textarea{min-height:78px;max-height:140px;font-size:.82rem}.report-details{display:grid;gap:10px;color:#475569;font-size:.84rem}.report-details strong{color:#172033}.report-details ul{margin:6px 0 0;padding-left:18px}.report-details li+li{margin-top:3px}.sidebar .environment-panel{padding:12px;box-shadow:none}.sidebar .environment-header{align-items:flex-start}.sidebar .environment-toolbar select{width:100%}.sidebar .environment-variable-row{grid-template-columns:32px minmax(0,1fr) minmax(84px,96px) 34px 34px}.sidebar .environment-variable-row input[aria-label="Variable value"]{grid-column:2 / -1}.sidebar .check-cell{height:36px}.sidebar .icon-button{width:34px;min-width:34px;min-height:36px}.request-panel,.response-panel{background:#fff;border:1px solid #d6dde8;border-radius:8px;box-shadow:0 16px 40px #0f172a0f}.request-panel{display:grid;gap:14px;padding:16px}.request-title-row{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;padding-bottom:2px}.request-title-row h2{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0;color:#172033;font-size:1.05rem}.request-save-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.unsaved-indicator{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;color:#92400e;background:#fffbeb;border:1px solid #fde68a;border-radius:999px;font-size:.72rem;font-weight:800}.request-line{display:grid;grid-template-columns:minmax(112px,132px) minmax(220px,1fr) minmax(110px,132px) auto;gap:12px;align-items:end}.field{display:grid;gap:7px;min-width:0}.field span{color:#475569;font-size:.78rem;font-weight:700}input,select,textarea{width:100%;color:#172033;background:#fff;border:1px solid #cbd5e1;border-radius:6px;outline:none}input,select{height:42px;padding:0 11px}textarea{min-height:112px;max-height:260px;padding:11px;resize:vertical;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.9rem;line-height:1.45}input:focus,select:focus,textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #0f766e26}textarea:disabled{color:#64748b;background:#f1f5f9}.request-actions,.response-actions,.body-control-actions,.preset-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.request-actions{justify-content:flex-end}.primary-button,.secondary-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 14px;border-radius:6px;font-weight:700;white-space:nowrap}.primary-button{color:#fff;background:#0f766e;border:1px solid #0f766e}.primary-button:hover:not(:disabled){background:#115e59}.secondary-button{color:#1f2937;background:#fff;border:1px solid #cbd5e1}.secondary-button:hover:not(:disabled){background:#f1f5f9}.danger-button{color:#991b1b;background:#fff7f7;border:1px solid #fecaca}.danger-button:hover:not(:disabled){background:#fee2e2}.primary-button:disabled,.secondary-button:disabled,.danger-button:disabled{opacity:.56}.compact{min-height:36px;padding:0 12px;font-size:.88rem}.icon-button{width:42px;min-width:42px;padding:0}.url-preview{display:grid;grid-template-columns:88px minmax(0,1fr);gap:10px;align-items:center;padding:10px 12px;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:.84rem}.url-preview span{font-weight:800}.url-preview code{overflow-wrap:anywhere;color:#172033;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.tab-list{display:flex;gap:4px;align-items:center;padding:4px;width:fit-content;max-width:100%;overflow-x:auto;background:#eef2f7;border:1px solid #d6dde8;border-radius:8px}.tab-button{min-height:34px;padding:0 14px;color:#475569;background:transparent;border:0;border-radius:6px;font-weight:800}.tab-button.active{color:#111827;background:#fff;box-shadow:0 1px 2px #0f172a14}.tab-panel{display:grid;gap:12px}.rows-editor{display:grid;gap:8px}.kv-row{display:grid;grid-template-columns:36px minmax(120px,.8fr) minmax(160px,1.2fr) 42px;gap:8px;align-items:center}.test-row{display:grid;grid-template-columns:36px minmax(170px,1.1fr) minmax(130px,.9fr) minmax(130px,.9fr) 42px;gap:8px;align-items:center}.tests-editor{gap:10px}.tests-help{display:grid;gap:4px;padding:10px 12px;color:#475569;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;font-size:.86rem;line-height:1.45}.tests-help strong{color:#172033}.tests-help code{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.check-cell{display:grid;height:42px;place-items:center;border:1px solid #cbd5e1;border-radius:6px}.check-cell input{width:16px;height:16px}.add-row-button{justify-self:start}.warning-block{padding:10px 12px;color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;border-radius:8px}.warning-block.danger{color:#7f1d1d;background:#fff7f7;border-color:#fecaca}.warning-block p{margin:0;line-height:1.45}.warning-block p+p{margin-top:6px}.body-controls{display:flex;gap:12px;align-items:end;justify-content:space-between}.body-mode-field{width:min(360px,100%)}.inline-note,.validation-error,.validation-ok,.request-footer p{margin:0;color:#64748b;font-size:.86rem;line-height:1.45}.validation-error{color:#b91c1c}.validation-ok{color:#0f766e}.request-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;padding-top:2px}.response-panel{flex:1;min-height:380px;min-width:0;overflow:hidden}.empty-state,.status-state,.error-state{display:flex;gap:14px;padding:24px}.empty-state{min-height:100%;flex-direction:column;align-items:center;justify-content:center;color:#475569;text-align:center}.empty-state h3,.status-state h3,.error-state h3{color:#172033;font-size:1rem}.empty-state p,.status-state p,.error-state p{max-width:720px;margin:8px 0 0;line-height:1.5}.status-state{align-items:center}.error-state{color:#7f1d1d;background:#fff7f7}.help-copy{color:#475569}.response-view{display:grid;gap:14px;padding:16px}.response-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.status-good{color:#0f766e}.status-bad{color:#b91c1c}.summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.summary-grid div{min-width:0;padding:11px 12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px}.summary-grid .wide{grid-column:span 4}.test-results{display:grid;gap:8px}.test-summary,.test-result{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid #d6dde8;border-radius:8px}.test-summary{align-items:center;font-weight:800}.test-summary.passed,.test-result.passed{color:#0f766e;background:#f0fdfa;border-color:#99f6e4}.test-summary.failed,.test-result.failed{color:#b91c1c;background:#fff7f7;border-color:#fecaca}.test-result strong{display:block;margin-bottom:3px;color:#172033}.test-result p{margin:0;color:#475569;line-height:1.4}dt{margin:0 0 4px;color:#64748b;font-size:.76rem;font-weight:700}dd{margin:0;overflow-wrap:anywhere;color:#172033;font-size:.92rem}.body-viewer{overflow:hidden;border:1px solid #d6dde8;border-radius:8px}.body-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:9px 12px;color:#475569;background:#f8fafc;border-bottom:1px solid #d6dde8;font-size:.78rem;font-weight:700}.segmented-control{display:inline-flex;padding:3px;background:#e2e8f0;border-radius:6px}.segmented-control button{min-height:26px;padding:0 10px;color:#475569;background:transparent;border:0;border-radius:5px;font-size:.78rem;font-weight:800}.segmented-control button.active{color:#111827;background:#fff}.body-viewer pre{min-height:260px;max-height:52vh;margin:0;overflow:auto;padding:14px;color:#dbeafe;background:#0f172a;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:.88rem;line-height:1.5;white-space:pre-wrap;word-break:break-word}.headers-table{overflow:hidden;border:1px solid #d6dde8;border-radius:8px}.headers-row{display:grid;grid-template-columns:minmax(180px,.44fr) minmax(0,1fr);gap:12px;padding:10px 12px;border-bottom:1px solid #e2e8f0}.headers-row:last-child{border-bottom:0}.headers-row code{color:#0f766e;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;overflow-wrap:anywhere}.headers-row span{color:#334155;overflow-wrap:anywhere}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;padding:18px}.sidebar-note{grid-column:1 / -1;margin-top:0}.workspace-sidebar{grid-column:1 / -1}.collection-tree,.history-list{max-height:360px}.topbar{display:grid}.request-line{grid-template-columns:1fr 1fr}.url-field,.request-actions{grid-column:1 / -1}.request-actions{justify-content:flex-start}.body-controls,.request-footer,.interop-header,.interop-grid,.environment-header,.environment-toolbar{display:grid;justify-content:stretch}}@media(max-width:640px){.workspace{padding:12px}.request-title-row{display:grid}.request-save-actions{justify-content:stretch}.request-line,.summary-grid,.kv-row,.test-row,.headers-row,.environment-variable-row{grid-template-columns:1fr}.check-cell{justify-content:start;height:auto;padding:9px 11px}.summary-grid .wide{grid-column:auto}.response-header,.body-toolbar{display:grid}.primary-button,.secondary-button,.icon-button{width:100%}}
