:root{--page-bg:#f7f9f8;--surface:#fff;--surface-soft:#f2f7f6;--surface-strong:#e7f3f2;--text:#14313a;--text-soft:#61737a;--border:#d8e2e1;--primary:#007782;--primary-strong:#0f5c5d;--primary-soft:#dff3f2;--danger:#c93b3b;--shadow:0 8px 24px #14313a0f;--radius-xl:20px;--radius-lg:16px;--radius-md:12px;--radius-sm:10px;--sans:Inter, "Helvetica Neue", Arial, "Segoe UI", sans-serif;font-family:var(--sans);color:var(--text);background:var(--page-bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body,#root{min-height:100%}body{min-width:320px;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,p,ul{margin:0}ul{padding:0}.app-shell{width:min(100%,1080px);margin:0 auto;padding:18px 16px 40px}.topbar{margin-bottom:16px}.topbar-surface{border:1px solid var(--border);box-shadow:var(--shadow);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#ffffffeb;border-radius:999px;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.brand-lockup{align-items:center;gap:12px;display:flex}.brand-mark{color:#fff;background:linear-gradient(135deg,#007782 0%,#0995a1 100%);border-radius:999px;justify-content:center;align-items:center;width:46px;height:46px;font-size:1rem;font-weight:800;display:inline-flex}.brand-name{font-size:1.05rem;font-weight:800}.brand-subtitle,.panel-copy,.field-help,.history-meta,.history-summary,.section-heading p,.hero-copy,.global-feedback,.step-helper,.footer-note span{color:var(--text-soft)}.brand-subtitle{font-size:.88rem}.topbar-nav{align-items:center;gap:10px;display:flex}.topbar-link{min-height:38px;color:var(--text);background:0 0;border-radius:999px;align-items:center;padding:0 14px;font-size:.94rem;font-weight:600;display:inline-flex}.topbar-badge,.header-chip,.step-badge,.price-chip{background:var(--primary-soft);min-height:32px;color:var(--primary-strong);border-radius:999px;justify-content:center;align-items:center;padding:0 12px;font-size:.9rem;font-weight:700;display:inline-flex}.hero-card,.panel,.step-card,.summary-card,.history-card{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow)}.hero-card{border-radius:var(--radius-xl);background:radial-gradient(circle at 100% 0,#00778217,#0000 35%),linear-gradient(#fff 0%,#fbfcfc 100%);justify-content:space-between;align-items:stretch;gap:24px;padding:28px;display:flex}.eyebrow{color:var(--primary-strong);letter-spacing:.04em;text-transform:uppercase;font-size:.8rem;font-weight:700}.hero-copy-block{flex:1}.hero-card h1{letter-spacing:-.04em;max-width:11ch;margin-top:10px;font-size:clamp(2.15rem,5vw,3.45rem);line-height:.98}.hero-copy{max-width:52ch;margin-top:12px;line-height:1.65}.hero-pills{flex-wrap:wrap;gap:10px;margin-top:18px;display:flex}.hero-pill{background:var(--surface-soft);border:1px solid var(--border);min-height:36px;color:var(--primary-strong);border-radius:999px;align-items:center;padding:0 14px;font-size:.92rem;font-weight:700;display:inline-flex}.hero-preview{background:#f7fbfb;border:1px solid #d7e6e5;border-radius:22px;width:min(100%,340px);padding:16px}.hero-preview-bar{gap:6px;margin-bottom:14px;display:flex}.hero-dot{background:#b7c7c8;border-radius:50%;width:8px;height:8px}.hero-preview-card{border:1px solid var(--border);background:#fff;border-radius:14px;padding:14px}.hero-preview-card+.hero-preview-card{margin-top:10px}.hero-preview-card-highlight{background:#eefafa;border-color:#9bd6d8}.hero-preview-label{color:var(--primary-strong);text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px;font-size:.8rem;font-weight:800;display:inline-block}.hero-preview-card strong{font-size:1rem;display:block}.hero-preview-card p{color:var(--text-soft);margin-top:6px;line-height:1.5}.step-nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.step-card{border-radius:var(--radius-lg);text-align:left;align-items:center;gap:14px;padding:16px;transition:border-color .18s;display:flex}.step-card:hover,.step-card-active{border-color:var(--primary)}.step-index{background:var(--primary-soft);width:34px;height:34px;color:var(--primary-strong);border-radius:50%;justify-content:center;align-items:center;font-weight:800;display:inline-flex}.step-content{flex:1;gap:4px;display:grid}.step-title{font-weight:700}.step-helper{font-size:.92rem}.global-feedback{border-radius:var(--radius-md);background:var(--primary-soft);border:1px solid #cde6e6;margin:0 0 16px;padding:12px 14px}.workflow-shell{display:block}.panel{border-radius:var(--radius-xl);padding:24px}.panel-header{margin-bottom:20px}.panel-header-split{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.panel-header h2{margin-top:8px;font-size:1.9rem;line-height:1.1}.header-actions,.footer-actions,.action-row{flex-wrap:wrap;gap:10px;display:flex}.action-row-compact{margin-bottom:16px}.form-section+.form-section{margin-top:24px}.section-heading{margin-bottom:14px}.section-heading h3{font-size:1.08rem}.section-heading p{margin-top:4px;line-height:1.5}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.field{flex-direction:column;gap:8px;display:flex}.field-span-2{grid-column:1/-1}.field-label{font-size:.94rem;font-weight:700}.field input,.field select,.field textarea,.history-card select{border:1px solid var(--border);border-radius:var(--radius-sm);width:100%;color:var(--text);background:#fff;padding:13px 14px}.field input:focus,.field select:focus,.field textarea:focus,.history-card select:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px #0077821f}.field textarea{resize:vertical;min-height:118px}.field-help,.field-error{font-size:.9rem;line-height:1.4}.field-error{color:var(--danger)}.panel-footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:16px;margin-top:24px;padding-top:20px;display:flex}.footer-note{gap:4px;display:grid}.primary-button,.secondary-button,.ghost-button,.tab-button{border:1px solid #0000;border-radius:999px;min-height:44px;padding:0 16px;font-weight:700;transition:background-color .18s,border-color .18s,color .18s}.primary-button{background:var(--primary);color:#fff}.primary-button:disabled,.secondary-button:disabled,.ghost-button:disabled,.tab-button:disabled{opacity:.6;cursor:not-allowed}.primary-button:hover{background:var(--primary-strong)}.secondary-button{color:var(--primary-strong);border-color:var(--border);background:#fff}.secondary-button:hover,.tab-button:hover{border-color:var(--primary)}.ghost-button{color:var(--danger);background:#fff;border-color:#efcaca}.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px;display:grid}.compare-panel{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface-soft);margin-bottom:16px;padding:16px}.compare-panel-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.compare-panel-head h3{font-size:1.05rem}.compare-switch{flex-wrap:wrap;gap:10px;display:flex}.compare-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.compare-card{border-radius:var(--radius-md);border:1px solid var(--border);background:#fff;padding:14px}.compare-card strong{margin-top:6px;line-height:1.4;display:block}.compare-card p{color:var(--text-soft);margin-top:8px;line-height:1.5}.compare-card-highlight{background:#f7fbfb;border-color:#b9dddd}.summary-card{border-radius:var(--radius-lg);gap:6px;padding:18px;display:grid}.summary-label{color:var(--text-soft);font-size:.9rem}.summary-card strong{font-size:1.2rem}.feedback-banner{border-radius:var(--radius-md);background:var(--surface-soft);color:var(--primary-strong);margin-bottom:16px;padding:12px 14px}.info-banner,.error-banner{border-radius:var(--radius-md);margin-bottom:16px;padding:12px 14px}.info-banner{background:var(--surface-soft);color:var(--primary-strong)}.error-banner{color:#9c2f2f;background:#fff0f0;border:1px solid #f0c6c6}.tab-row{flex-wrap:wrap;gap:10px;margin:8px 0 16px;display:flex}.tab-button{color:var(--text);border-color:var(--border);background:#fff}.tab-button-active{background:var(--primary-soft);color:var(--primary-strong);border-color:var(--primary)}.result-stack{gap:14px;display:grid}.subcard{border-radius:var(--radius-lg);background:var(--surface);border:1px solid var(--border);padding:18px}.subcard h3{font-size:1.05rem}.subcard-header{margin-bottom:10px}.subcard-header-row{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.copy-icon-button{border:1px solid var(--border);width:34px;height:34px;color:var(--primary-strong);background:#fff;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.copy-icon-button:hover{border-color:var(--primary);background:var(--primary-soft)}.copy-icon-button svg{width:17px;height:17px}.formatted-text{white-space:pre-line;color:var(--text-soft);line-height:1.7}.strong-text{color:var(--text);font-weight:700}.tag-cloud{color:var(--primary-strong);font-weight:700;line-height:1.9}.price-card,.quality-card{background:var(--surface-soft)}.price-line,.quality-score-layout,.history-card-head,.history-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.price-range{color:var(--primary-strong);margin-top:4px;font-size:1.5rem;font-weight:800}.price-actions{align-items:center;gap:10px;display:flex}.score-badge{border:8px solid var(--primary-soft);min-width:96px;min-height:96px;color:var(--primary-strong);background:#fff;border-radius:50%;flex-shrink:0;place-items:center;font-size:1.25rem;font-weight:800;display:grid}.score-faible{color:var(--danger);border-color:#f8dddd}.score-correct{color:#9b6b00;border-color:#f8edcf}.detail-list,.checklist-list{gap:10px;list-style:none;display:grid}.detail-list li,.checklist-list li{color:var(--text-soft);padding-left:18px;line-height:1.6;position:relative}.detail-list li:before,.checklist-list li:before{content:"";background:var(--primary);border-radius:50%;width:6px;height:6px;position:absolute;top:10px;left:0}.empty-state,.empty-history{text-align:center;border-radius:var(--radius-lg);background:var(--surface-soft);border:1px dashed #cde0e0;place-items:center;gap:10px;min-height:260px;padding:24px;display:grid}.empty-title{font-size:1.3rem;font-weight:700}.history-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;display:grid}.history-card{border-radius:var(--radius-lg);padding:18px}.history-card h3{font-size:1rem;line-height:1.45}.history-summary{margin-top:10px;line-height:1.5}.history-actions{justify-content:flex-start;margin-top:16px}@media (width<=860px){.hero-card,.panel-header-split,.compare-panel-head,.panel-footer,.quality-score-layout,.price-line{flex-direction:column;align-items:flex-start}.hero-stats,.summary-grid,.compare-grid,.step-nav{grid-template-columns:1fr}.summary-grid{display:grid}}@media (width<=720px){.app-shell{padding:16px 12px 28px}.topbar,.history-card-head,.history-actions{flex-direction:column;align-items:flex-start}.topbar-surface,.hero-card{border-radius:24px}.panel,.hero-card{padding:18px}.form-grid{grid-template-columns:1fr}.field-span-2{grid-column:auto}.header-actions,.footer-actions,.action-row,.tab-row{width:100%}.primary-button,.secondary-button,.ghost-button,.tab-button{justify-content:center;width:100%}.topbar-surface,.topbar-nav,.hero-preview{width:100%}.topbar-surface,.hero-card{flex-direction:column;align-items:flex-start}}
