:root{--background:#f5f5f2;--surface:rgba(255,255,255,0.82);--surface-muted:#f0f2ee;--surface-strong:#eef4e9;--border:rgba(19,28,22,0.08);--border-strong:rgba(19,28,22,0.14);--muted:#6d776f;--brand:#b7d95a;--brand-strong:#8db52c;--brand-ink:#20310d;--warning:#a46c0d;--success:#1d7a50;--info:#476e82;--shadow-soft:0 12px 40px rgba(30,35,28,0.06);--shadow-card:0 18px 55px rgba(22,29,24,0.07)}*{box-sizing:border-box}html{min-height:100%}body{margin:0;min-height:100vh;background:radial-gradient(circle at top left,rgba(183,217,90,.18),transparent 24%),radial-gradient(circle at top right,rgba(255,255,255,.8),transparent 32%),linear-gradient(180deg,#fafaf8,#f3f4ef);color:var(--ink)}h1,h2,h3{margin:0;font-family:var(--font-heading);font-weight:600;line-height:.96;letter-spacing:-.02em;text-wrap:balance}p{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.app-shell{width:min(100%,1180px);margin:0 auto;padding:20px 16px 110px}.page-stack{display:grid;grid-gap:22px;gap:22px}.topbar{position:-webkit-sticky;position:sticky;top:0;z-index:10;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:26px;padding:14px 16px;border:1px solid rgba(255,255,255,.5);border-radius:24px;background:rgba(250,250,247,.78);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand-block,.topbar{display:flex;align-items:center}.brand-block{gap:14px}.brand-block h1,.brand-block h2,.brand-block p,.document-preview-card h2,.empty-state h2,.quote-card h2,.section-header h2,.section-header p{margin:0}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:62px;height:62px;flex:0 0 62px}.brand-mark-robot{filter:drop-shadow(0 14px 20px rgba(76,85,38,.14))}.brand-logo-svg{width:100%;height:100%}.brand-copy{display:grid;grid-gap:4px;gap:4px}.brand-copy p,.document-kicker,.document-meta span,.document-section span,.document-total-list span,.empty-state p,.eyebrow,.form-heading p,.hero-text,.quote-client,.save-message,.section-note{color:var(--muted)}.topbar-actions{display:flex;flex-wrap:wrap;gap:10px;width:100%}.logout-form,.topbar-link{flex:1 1 160px}.hero-card,.premium-card{border:1px solid var(--border);border-radius:28px;background:var(--surface);box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.hero-card{display:grid;grid-gap:20px;gap:20px;padding:26px}.dashboard-hero{background:linear-gradient(135deg,rgba(255,255,255,.88),rgba(247,250,242,.78)),var(--surface)}.hero-copy{display:grid;grid-gap:10px;gap:10px}.hero-text{line-height:1.65;max-width:50ch}.hero-side{display:grid;grid-gap:14px;gap:14px}.hero-side-compact{align-content:start}.action-button,.composer-submit,.hero-cta{width:100%}.stat-row{display:grid;grid-gap:12px;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.stat-row-billing{grid-template-columns:repeat(2,minmax(0,1fr))}.stat-row-billing .stat-card-featured{grid-column:1/-1}.stat-card{padding:16px;border-radius:20px;background:rgba(255,255,255,.82);border:1px solid rgba(19,28,22,.06)}.stat-card span{display:block;margin-bottom:8px;color:var(--muted);font-size:.85rem}.stat-card strong{display:block;line-height:1.15;text-wrap:balance;font-size:1.5rem}.stat-card-value-text{font-size:clamp(1.05rem,1.4vw,1.2rem)}.stat-card-detail{display:block;margin-top:8px;color:var(--muted);font-size:.82rem;line-height:1.45}.section-block{display:grid;grid-gap:8px;gap:8px}.section-block-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.quotes-list{display:grid;grid-gap:16px;gap:16px}.interactive-card{transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.interactive-card:hover{transform:translateY(-2px);box-shadow:0 24px 65px rgba(22,29,24,.1);border-color:rgba(141,181,44,.3)}.quote-card{display:grid;grid-gap:18px;gap:18px;padding:22px}.quote-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.quote-card h2{font-size:1.2rem}.quote-client{line-height:1.55}.quote-card-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.quote-meta{display:grid;grid-gap:4px;gap:4px}.quote-meta span,.quote-open{color:var(--muted);font-size:.88rem}.quote-meta strong{font-size:1.25rem}.quote-open{font-weight:700;color:var(--brand-ink)}.status-badge{white-space:nowrap;border-radius:999px;padding:8px 12px;font-size:.85rem;font-weight:800;border:1px solid transparent}.status-badge.status-brouillon{background:rgba(255,236,196,.8);color:var(--warning)}.status-badge.status-envoye{background:rgba(224,238,244,.9);color:var(--info)}.status-badge.status-accepte{background:rgba(222,244,233,.9);color:var(--success)}.status-badge.status-archive{background:rgba(234,236,239,.95);color:#5f6871}.empty-state{display:grid;justify-items:center;grid-gap:10px;gap:10px;padding:42px 24px;text-align:center}.empty-icon{width:52px;height:52px;background:linear-gradient(135deg,var(--brand),#d4e89a);color:var(--brand-ink);font-size:1.5rem;font-weight:800}.empty-icon,.ghost-button,.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;border-radius:18px}.ghost-button,.primary-button,.secondary-button{min-height:54px;padding:0 20px;border:none;cursor:pointer;transition:transform .14s ease,opacity .14s ease,background .14s ease,box-shadow .14s ease}.ghost-button:hover,.primary-button:hover,.secondary-button:hover{transform:translateY(-1px)}.ghost-button:active,.primary-button:active,.secondary-button:active{transform:translateY(0)}.primary-button{background:linear-gradient(135deg,#cde779,var(--brand-strong));color:var(--brand-ink);box-shadow:0 14px 28px rgba(141,181,44,.24);font-weight:800}.secondary-button{border:1px solid rgba(19,28,22,.08);color:var(--ink);font-weight:700}.ghost-button{background:rgba(255,246,246,.8);color:#9b3f3f;font-weight:700;border:1px solid rgba(155,63,63,.12)}.logout-form button{width:100%;min-height:54px;border-radius:18px;background:rgba(255,255,255,.68);border:1px solid rgba(19,28,22,.08);color:var(--ink);cursor:pointer}.auth-shell{max-width:540px;margin:0 auto;padding-top:40px}.auth-shell-with-footer{display:grid;grid-gap:18px;gap:18px}.panel{border:1px solid var(--border);border-radius:28px;background:var(--surface);box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.action-card,.editor-card,.form-stack{display:grid;grid-gap:18px;gap:18px;padding:24px}.composer-field,.field,.form-heading{display:grid;grid-gap:8px;gap:8px}.field span{font-size:.92rem;font-weight:700}.composer-field textarea,.field input,.field textarea,.status-select{width:100%;border:1px solid rgba(19,28,22,.12);background:rgba(255,255,255,.9);padding:14px 16px;color:var(--ink);outline:none;transition:border-color .12s ease,box-shadow .12s ease}.composer-field textarea:focus,.field input:focus,.field textarea:focus,.status-select:focus{border-color:rgba(141,181,44,.5);box-shadow:0 0 0 4px rgba(183,217,90,.16)}.composer-field textarea,.field textarea{resize:vertical}.form-error{margin:0;color:#b42318}.auth-inline-actions{display:grid;grid-gap:10px;gap:10px}.auth-inline-note{line-height:1.55}.auth-inline-note,.field-hint{color:var(--muted);font-size:.92rem}.field-hint{margin:0}.form-switch{color:var(--muted)}.form-switch a{color:var(--brand-ink);font-weight:700}.form-switch a:focus-visible,.form-switch a:hover{color:var(--brand-strong)}.composer-copy,.composer-shell{justify-items:center}.composer-copy{text-align:center}.composer-card{width:min(100%,760px);display:grid;grid-gap:18px;gap:18px;padding:24px}.composer-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.composer-toolbar-group{display:flex;flex-wrap:wrap;gap:10px}.composer-pill{display:inline-flex;align-items:center;min-height:36px;padding:0 14px;border-radius:999px;background:rgba(183,217,90,.18);color:var(--brand-ink);font-size:.88rem;font-weight:700}.composer-pill-muted{background:rgba(19,28,22,.06)}.section-step-grid{display:grid;grid-gap:10px;gap:10px}.section-step-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:10px 12px;gap:10px 12px;padding:12px 14px;border-radius:20px;background:rgba(255,255,255,.72);border:1px solid rgba(23,33,27,.06)}.quote-meta-inline,.section-action-pill,.section-step-card strong{font-weight:800}.section-step-copy{display:grid;grid-gap:2px;gap:2px;min-width:0}.section-step-copy strong{line-height:1}.section-step-copy span{color:var(--muted);font-size:.8rem;line-height:1.15}.quote-client-compact svg,.quote-meta-inline svg,.section-action-pill svg,.section-step-icon{display:inline-flex;align-items:center;justify-content:center}.section-step-icon{width:34px;height:34px;border-radius:14px;background:rgba(195,227,91,.18);color:var(--brand-ink)}.quote-client-compact svg,.quote-meta-inline svg,.section-action-pill svg,.section-step-icon svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.section-action-pills{display:flex;flex-wrap:wrap;gap:10px}.section-action-pill{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.72);border:1px solid rgba(23,33,27,.07);color:var(--ink);font-size:.85rem}.composer-field textarea{min-height:240px;padding:22px;font-size:1.05rem;line-height:1.7}.composer-hints{display:flex;flex-wrap:wrap;gap:10px}.composer-hints span{padding:8px 12px;border-radius:999px;background:var(--surface-muted);color:var(--muted);font-size:.88rem}.quote-workspace{display:grid;grid-gap:20px;gap:20px}.editor-hero{align-items:start}.editor-grid,.editor-main,.editor-sidebar{display:grid;grid-gap:18px;gap:18px}.editor-card-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.editor-form-grid,.editor-lines,.line-mini-grid,.quote-line-card{display:grid;grid-gap:14px;gap:14px}.quote-line-card{padding:16px;border-radius:22px;background:rgba(255,255,255,.75);border:1px solid rgba(19,28,22,.07)}.editor-status-block,.line-amount-card,.mini-total-card{display:grid;grid-gap:6px;gap:6px;padding:14px 16px;border-radius:18px;background:rgba(255,255,255,.82);border:1px solid rgba(19,28,22,.08)}.inline-summary span,.line-amount-card span,.mini-total-card span{color:var(--muted);font-size:.88rem}.inline-summary strong,.line-amount-card strong,.mini-total-card strong{font-size:1.05rem}.line-remove{width:100%}.inline-summary{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:18px;background:var(--surface-muted)}.totals-inline-grid{display:grid;grid-gap:12px;gap:12px}.mini-total-card-accent{background:linear-gradient(135deg,rgba(205,231,121,.35),rgba(255,255,255,.95))}.document-preview-card{padding:18px}.document-preview-sheet{display:grid;grid-gap:18px;gap:18px;padding:24px;border-radius:24px;background:#fffefb;border:1px solid rgba(19,28,22,.08);box-shadow:0 6px 18px rgba(20,25,20,.04),inset 0 1px 0 rgba(255,255,255,.85)}.document-preview-head{display:grid;grid-gap:6px;gap:6px}.document-preview-head strong{font-size:1.1rem}.document-meta,.document-total-list{display:grid;grid-gap:12px;gap:12px}.document-company-lines{display:grid;grid-gap:2px;gap:2px;color:var(--muted);font-size:.92rem}.document-meta{grid-template-columns:repeat(2,minmax(0,1fr))}.document-meta div,.document-section,.document-total-list div{display:grid;grid-gap:4px;gap:4px}.document-divider{height:1px;background:rgba(19,28,22,.08)}.document-grand-total strong{font-size:1.35rem}.secondary-action-grid,.sticky-action-bar{display:grid;grid-gap:12px;gap:12px}.editor-actions{display:flex;flex-wrap:wrap;gap:12px}.save-message{text-align:center}.save-message-error{color:#b42318}.save-message-success{color:var(--success)}@media (min-width:720px){.app-shell{padding:28px 24px 120px}.topbar{flex-wrap:nowrap}.topbar-actions{width:auto;justify-content:flex-end}.logout-form,.topbar-link{flex:0 0 auto}.hero-card{grid-template-columns:1.3fr .9fr;align-items:center}.subscription-hero{grid-template-columns:minmax(0,1fr);align-items:start}.subscription-hero .hero-side{width:min(100%,640px)}.quotes-list{grid-template-columns:repeat(2,minmax(0,1fr))}.composer-card{padding:28px}.editor-grid{grid-template-columns:minmax(0,1.45fr) minmax(320px,.8fr);align-items:start}.editor-sidebar{position:-webkit-sticky;position:sticky;top:108px}.editor-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-form-grid-tight{grid-template-columns:180px minmax(0,1fr);align-items:start}.line-mini-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.totals-inline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1180px){.subscription-hero{grid-template-columns:1.3fr .9fr;align-items:center}.subscription-hero .hero-side{width:auto}.stat-row-billing{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-row-billing .stat-card-featured{grid-column:auto}}:root{--background:#f6f5ef;--surface:rgba(255,255,255,0.9);--surface-solid:#ffffff;--surface-muted:#eef2e8;--surface-strong:#f4f7ef;--border:rgba(23,33,27,0.08);--border-strong:rgba(23,33,27,0.14);--ink:#17211b;--muted:#68736a;--brand:#c3e35b;--brand-strong:#9cc52f;--brand-ink:#233212;--warning:#9d6110;--success:#21724d;--info:#3b7189;--shadow-soft:0 18px 50px rgba(31,39,31,0.08);--shadow-card:0 28px 75px rgba(22,29,24,0.08)}:root[data-theme=dark]{--background:#101512;--surface:rgba(20,27,23,0.9);--surface-solid:#151d18;--surface-muted:#19221c;--surface-strong:#1f2b23;--border:rgba(204,216,206,0.09);--border-strong:rgba(204,216,206,0.16);--ink:#edf2ea;--muted:#a6b3aa;--brand:#b8df4c;--brand-strong:#96c12a;--brand-ink:#11200a;--warning:#f0b663;--success:#86d3a7;--info:#8abfd3;--shadow-soft:0 22px 60px rgba(0,0,0,0.28);--shadow-card:0 30px 80px rgba(0,0,0,0.3)}html{background:radial-gradient(circle at top left,rgba(195,227,91,.28),transparent 25%),radial-gradient(circle at 85% 10%,rgba(255,246,216,.8),transparent 30%),linear-gradient(180deg,#fbfbf8,#f2f4ed)}html[data-theme=dark]{background:radial-gradient(circle at top left,rgba(184,223,76,.14),transparent 25%),radial-gradient(circle at 85% 10%,rgba(32,42,36,.72),transparent 30%),linear-gradient(180deg,#0d1210,#121914)}body{background:transparent}body:before{content:"";position:fixed;inset:0;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.22),transparent 34%),radial-gradient(circle at bottom right,rgba(156,197,47,.12),transparent 24%)}:root[data-theme=dark] body:before{background:linear-gradient(135deg,rgba(255,255,255,.03),transparent 34%),radial-gradient(circle at bottom right,rgba(184,223,76,.08),transparent 24%)}.app-shell{width:min(100%,1360px);padding:16px 16px 110px}.app-shell-product{padding-bottom:112px}.app-product-frame{display:grid;grid-gap:18px;gap:18px}.app-sidebar{display:none}.app-workspace{min-width:0}.workspace-content{display:grid;grid-gap:22px;gap:22px}.legal-shell{gap:18px}.legal-card{gap:20px}.legal-heading p:last-child{max-width:58ch}.legal-section{display:grid;grid-gap:8px;gap:8px}.legal-section h2{font-size:1.18rem;line-height:1}.legal-list,.legal-section p{color:var(--muted);line-height:1.65}.legal-list{margin:0;padding-left:18px}.legal-list li+li{margin-top:6px}.legal-actions{display:flex;flex-wrap:wrap;gap:12px}.legal-footer{display:grid;grid-gap:10px;gap:10px;justify-items:center;padding:4px 8px 0;text-align:center}.legal-footer-compact{justify-items:flex-start;padding:0;text-align:left}.legal-footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 16px}.legal-footer-compact .legal-footer-links{justify-content:flex-start}.legal-footer-links a,.legal-footer-note{color:var(--muted)}.legal-footer-links a{font-size:.9rem;font-weight:700}.legal-footer-links a:focus-visible,.legal-footer-links a:hover{color:var(--brand-strong)}.legal-footer-note{font-size:.84rem}.topbar{position:relative;top:auto;margin-bottom:22px;border:1px solid rgba(255,255,255,.62);border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(249,250,246,.82));box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px)}.topbar-product{display:grid;grid-gap:18px;gap:18px;padding:16px 18px}.brand-block-mobile{align-items:center}.brand-block-sidebar{align-items:center;padding-bottom:6px}.brand-copy h1{font-size:clamp(1.85rem,4vw,2.35rem);line-height:.9}.topbar-copy{display:grid;grid-gap:2px;gap:2px}.topbar-copy h2{font-size:clamp(1rem,2.2vw,1.24rem);line-height:1;letter-spacing:-.01em}.topbar-actions-product{display:flex;gap:10px;width:100%}.topbar-link-primary{width:100%}.page-stack{gap:18px}.page-stack>*{animation:surface-enter .42s ease both}.page-stack>:nth-child(2){animation-delay:60ms}.page-stack>:nth-child(3){animation-delay:.12s}.page-stack>:nth-child(4){animation-delay:.18s}.hero-card,.panel,.premium-card{position:relative;overflow:hidden;border-radius:30px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(249,250,246,.82));border:1px solid rgba(255,255,255,.6);box-shadow:var(--shadow-card)}.hero-card:after,.panel:after,.premium-card:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(140deg,rgba(255,255,255,.28),transparent 38%)}.hero-card{gap:22px;padding:24px}.hero-card-dashboard{background:radial-gradient(circle at top right,rgba(195,227,91,.16),transparent 28%),linear-gradient(180deg,rgba(255,255,255,.94),rgba(246,249,241,.84))}.billing-offer-copy h2,.empty-state h2,.form-heading h2,.hero-copy h1,.hero-copy h2,.quote-card h2,.section-banner h2{font-weight:600;letter-spacing:-.018em}.hero-chip-row{display:flex;flex-wrap:wrap;gap:8px}.hero-chip{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;border:1px solid rgba(23,33,27,.08);background:rgba(255,255,255,.72);font-size:.84rem;font-weight:800;color:var(--ink)}.hero-chip-success{background:rgba(225,244,233,.9);color:var(--success)}.hero-chip-warning{background:rgba(255,239,210,.92);color:var(--warning)}.hero-chip-muted{color:var(--muted)}.hero-text{max-width:44ch;font-size:1rem;line-height:1.7}.hero-side{gap:12px}.editor-status-block,.line-amount-card,.mini-total-card,.quote-line-card,.stat-card{background:rgba(255,255,255,.76);border:1px solid rgba(23,33,27,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}.stat-card{padding:18px}.stat-card strong{font-size:clamp(1.35rem,3vw,1.7rem)}.section-banner{display:grid;grid-gap:10px;gap:10px;padding:22px 24px}.section-banner h2{font-size:clamp(1.35rem,3vw,1.8rem)}.blocked-state-card{border-color:rgba(195,227,91,.35);background:radial-gradient(circle at top right,rgba(195,227,91,.16),transparent 24%),linear-gradient(180deg,rgba(255,255,255,.94),rgba(248,250,244,.86))}.subscription-summary-bar{display:grid;grid-gap:14px;gap:14px;padding:18px 20px}.subscription-summary-copy{display:grid;grid-gap:4px;gap:4px}.subscription-summary-copy h1{font-size:clamp(1.6rem,3vw,2rem)}.subscription-summary-pills{display:flex;flex-wrap:wrap;gap:10px}.subscription-summary-pill{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.74);border:1px solid rgba(23,33,27,.07);color:var(--ink);font-size:.88rem;font-weight:700}.subscription-summary-pill-success{background:rgba(223,242,231,.94);color:var(--success)}.subscription-summary-pill-warning{background:rgba(255,240,214,.95);color:var(--warning)}.subscription-summary-pill-neutral{background:rgba(238,241,236,.94);color:var(--muted)}.subscription-summary-pill strong{font-size:.98rem}.subscription-summary-pill small{color:var(--muted);font-size:.78rem;font-weight:700}.summary-dot{width:8px;height:8px;border-radius:999px;background:currentColor;box-shadow:0 0 0 5px color-mix(in srgb,currentColor 16%,transparent)}.billing-offer-card{display:grid;grid-gap:16px;gap:16px;padding:18px;border-radius:28px;background:radial-gradient(circle at top right,rgba(195,227,91,.14),transparent 28%),linear-gradient(180deg,rgba(255,255,255,.94),rgba(247,249,243,.88));border:1px solid rgba(195,227,91,.24)}.billing-offer-top{display:grid;grid-gap:14px;gap:14px}.billing-offer-copy{display:grid;grid-gap:6px;gap:6px}.billing-offer-copy h2{font-size:clamp(1.5rem,3.5vw,2rem)}.billing-offer-copy p:last-child{color:var(--muted);font-size:.98rem;line-height:1.5;max-width:26ch}.billing-offer-price-block{display:grid;grid-gap:2px;gap:2px;align-content:start;padding:16px;border-radius:20px;background:rgba(255,255,255,.76);border:1px solid rgba(23,33,27,.06)}.billing-footnote,.billing-price-prefix,.billing-price-suffix{color:var(--muted)}.billing-offer-price-block strong{font-size:clamp(2rem,5vw,2.7rem);line-height:.95;letter-spacing:-.04em}.billing-price-suffix{font-weight:700}.billing-feature-list,.billing-offer-meta,.billing-status-row{display:flex;flex-wrap:wrap;gap:10px}.billing-meta-pill,.billing-status-chip{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.74);border:1px solid rgba(23,33,27,.07);color:var(--ink);font-size:.84rem;font-weight:800}.billing-status-chip{color:var(--muted);font-weight:700}.billing-status-chip-success{background:rgba(223,242,231,.92);color:var(--success)}.billing-status-chip-warning{background:rgba(255,240,214,.94);color:var(--warning)}.billing-meta-pill,.billing-status-chip,.hero-chip,.status-badge,.subscription-summary-pill{box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.billing-feature-list span{position:relative;display:inline-flex;align-items:center;min-height:30px;padding-left:18px;color:var(--ink);font-size:.92rem;font-weight:700}.billing-feature-list span:before{content:"";position:absolute;left:0;width:8px;height:8px;border-radius:999px;background:linear-gradient(135deg,#d5ee79,#9dc530);box-shadow:0 0 0 5px rgba(195,227,91,.14)}.billing-footnote{font-size:.92rem}.billing-offer-footer{display:grid;grid-gap:10px;gap:10px}.theme-toggle-button{display:inline-flex;align-items:center;justify-content:center;width:56px;min-width:56px;height:56px;border:1px solid rgba(23,33,27,.08);border-radius:20px;background:rgba(255,255,255,.78);color:var(--ink);cursor:pointer;transition:transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease}.theme-toggle-button:hover{transform:translateY(-2px)}.theme-toggle-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px}.theme-toggle-icon svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.billing-back-link{color:var(--muted);font-size:.92rem;font-weight:700}.billing-back-link:hover{color:var(--brand-ink)}.quotes-list{gap:14px}.quote-card{gap:16px;padding:20px;border-radius:24px}.interactive-card{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease}.interactive-card:hover{transform:translateY(-4px);border-color:rgba(156,197,47,.26);box-shadow:0 26px 70px rgba(25,31,25,.11)}.composer-toolbar,.editor-card-head,.quote-card-footer,.quote-card-top,.section-block-head{gap:14px}.quote-card h2{font-size:1.22rem;line-height:.98}.quote-client{min-height:3.1em;font-size:.98rem;line-height:1.6}.quote-client-compact{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;grid-gap:10px;gap:10px;min-height:auto}.quote-client-compact span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.quote-meta-inline{gap:7px}.quote-meta-inline,.quote-open{display:inline-flex;align-items:center}.quote-open{gap:6px;font-weight:800}.quote-open:after{content:"↗";font-size:.95rem}.empty-state{padding:48px 24px}.empty-icon{width:58px;height:58px;border-radius:20px;box-shadow:0 16px 28px rgba(156,197,47,.22)}.ghost-button,.logout-form button,.primary-button,.secondary-button{min-height:56px;border-radius:20px}.primary-button{background:linear-gradient(135deg,#d5ee79,#9dc530);box-shadow:0 16px 30px rgba(156,197,47,.24)}.secondary-button{background:rgba(255,255,255,.78)}.ghost-button:hover,.logout-form button:hover,.primary-button:hover,.secondary-button:hover{transform:translateY(-2px)}.logout-form button{background:rgba(255,255,255,.72)}.action-card,.composer-card,.editor-card,.form-stack{padding:24px}.auth-shell{max-width:640px;padding-top:30px}.composer-field textarea,.field input,.field textarea,.status-select{min-height:56px;border-radius:18px;background:rgba(255,255,255,.92)}.composer-card,.document-preview-sheet{background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(248,249,244,.86))}.document-preview-head-compact{gap:12px}.document-preview-title-row{display:flex;align-items:center;gap:12px}.document-preview-title-row>div{display:grid;grid-gap:2px;gap:2px;min-width:0}.document-preview-title-row strong{line-height:1.02;overflow-wrap:anywhere}.preview-icon{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex:0 0 36px;border-radius:14px;background:rgba(23,33,27,.05);color:var(--muted)}.preview-icon-accent{background:rgba(195,227,91,.2);color:var(--brand-ink)}.logout-form-sidebar button svg,.preview-icon svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.document-contact-grid{display:grid;grid-gap:10px;gap:10px}.document-contact-item,.document-meta-card,.document-section-compact,.document-total-item{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;grid-gap:12px;gap:12px}.document-contact-item span,.document-meta-card strong,.document-section-compact strong{overflow-wrap:anywhere}.document-meta-compact,.document-total-list-compact{gap:10px}.document-total-item span{color:var(--muted);font-size:.82rem;font-weight:800;letter-spacing:.04em}.sticky-action-bar{gap:10px}.mobile-nav,.sidebar-nav{display:grid;grid-gap:10px;gap:10px}.mobile-nav-link,.sidebar-link{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:20px;text-decoration:none;color:var(--muted);transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease}.sidebar-link{position:relative;overflow:visible;justify-content:center;min-height:54px;width:56px;padding:0;border:1px solid transparent;font-weight:700}.sidebar-link-text{display:none}.sidebar-hover-label{position:absolute;left:calc(100% + 12px);top:50%;z-index:80;display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:14px;border:1px solid rgba(23,33,27,.08);background:rgba(255,255,255,.94);box-shadow:0 18px 35px rgba(17,24,20,.12);color:var(--ink);font-size:.82rem;font-weight:800;letter-spacing:-.01em;white-space:nowrap;opacity:0;pointer-events:none;transform:translateY(-50%) translateX(-6px) scale(.98);transition:opacity .18s ease,transform .22s ease}.sidebar-hover-label:before{content:"";position:absolute;left:-5px;top:50%;width:10px;height:10px;background:inherit;border-left:inherit;border-bottom:inherit;transform:translateY(-50%) rotate(45deg)}.logout-form-sidebar button:focus-visible .sidebar-hover-label,.logout-form-sidebar button:hover .sidebar-hover-label,.sidebar-link:focus-visible .sidebar-hover-label,.sidebar-link:hover .sidebar-hover-label,.theme-toggle-button:focus-visible .sidebar-hover-label,.theme-toggle-button:hover .sidebar-hover-label{opacity:1;transform:translateY(-50%) translateX(0) scale(1)}.mobile-nav{position:fixed;left:12px;right:12px;bottom:12px;z-index:30;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px;border-radius:24px;background:rgba(250,250,246,.9);border:1px solid rgba(255,255,255,.72);box-shadow:0 22px 45px rgba(20,25,20,.18);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.mobile-nav-link{min-height:56px;flex-direction:column;padding:8px 6px;border:1px solid transparent;font-size:.78rem;font-weight:800}.mobile-nav-link-active,.sidebar-link-active{color:var(--brand-ink);background:linear-gradient(135deg,rgba(213,238,121,.48),rgba(255,255,255,.88));border-color:rgba(156,197,47,.2)}.mobile-nav-link:hover,.sidebar-link:hover{transform:translateY(-1px)}.logout-form-sidebar button:focus-visible,.logout-form-sidebar button:hover,.sidebar-link:focus-visible,.sidebar-link:hover,.theme-toggle-button:focus-visible,.theme-toggle-button:hover{z-index:6}.logout-form-sidebar button,.theme-toggle-button{position:relative;overflow:visible}.nav-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;color:currentColor}.nav-icon svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.sidebar-account-card,.sidebar-utility-card{display:none}@keyframes surface-enter{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@media (min-width:720px){.app-shell,.app-shell-product{padding:24px 20px 32px}.topbar-product{grid-template-columns:minmax(0,1fr) auto;align-items:center}.topbar-copy{grid-column:1/2}.topbar-actions-product{width:auto}.topbar-link-primary{width:auto;min-width:200px}.stat-row{grid-template-columns:repeat(3,minmax(0,1fr))}.section-banner{grid-template-columns:minmax(0,1fr) minmax(260px,.8fr);align-items:end}.section-step-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.section-step-card{grid-template-columns:minmax(0,1fr);align-content:start;gap:12px;min-height:112px}.section-step-icon{width:40px;height:40px}.billing-offer-top{grid-template-columns:minmax(0,1fr) minmax(220px,.42fr);align-items:start}.billing-offer-footer{grid-template-columns:minmax(0,1fr) auto;align-items:center}.mobile-nav{left:auto;right:20px;width:360px}}@media (min-width:1024px){.app-shell,.app-shell-product{padding:22px 22px 28px}.app-product-frame{grid-template-columns:112px minmax(0,1fr);align-items:start}.app-sidebar{position:-webkit-sticky;position:sticky;top:22px;z-index:40;display:grid;grid-gap:14px;gap:14px;align-content:start;min-height:calc(100vh - 44px);overflow:visible;isolation:isolate;padding:14px 12px;border-radius:32px;border:1px solid rgba(255,255,255,.62);background:linear-gradient(180deg,rgba(255,255,255,.9),rgba(248,249,244,.82));box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.sidebar-utility-card{display:grid;grid-gap:16px;gap:16px;margin-top:auto;justify-items:center;padding:14px 10px;border-radius:28px;background:rgba(245,248,239,.92);border:1px solid rgba(23,33,27,.06);box-shadow:inset 0 1px 0 rgba(255,255,255,.38)}.sidebar-utility-card .sidebar-nav{justify-items:center;width:100%;padding-bottom:2px;border-bottom:1px solid rgba(23,33,27,.08)}.app-workspace{min-width:0}.brand-block-mobile{display:none}.brand-block-sidebar{justify-content:center;padding-bottom:2px}.brand-block-sidebar .brand-copy{display:none}.sidebar-account-card{display:grid;grid-gap:10px;gap:10px;justify-items:center;width:100%;padding:0}.sidebar-account-copy{display:grid;justify-items:center;grid-gap:8px;gap:8px}.sidebar-account-avatar{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:999px;background:linear-gradient(135deg,rgba(213,238,121,.42),rgba(255,255,255,.9));color:var(--brand-ink);font-size:.92rem;font-weight:800}.sidebar-account-copy strong{display:none}.logout-form-sidebar{width:auto}.app-sidebar .theme-toggle-button,.logout-form-sidebar button{width:48px;min-width:48px;height:48px;min-height:48px;border-radius:18px;padding:0}.app-sidebar .theme-toggle-button{background:rgba(255,255,255,.7)}.topbar-product{grid-template-columns:minmax(0,1fr) auto;padding:16px 20px}.mobile-nav{display:none}}@media (min-width:1180px){.subscription-hero{grid-template-columns:1.2fr .95fr}}:root[data-theme=dark] .app-sidebar,:root[data-theme=dark] .composer-card,:root[data-theme=dark] .composer-field textarea,:root[data-theme=dark] .document-contact-item,:root[data-theme=dark] .document-meta-card,:root[data-theme=dark] .document-preview-sheet,:root[data-theme=dark] .document-section-compact,:root[data-theme=dark] .document-total-item,:root[data-theme=dark] .editor-status-block,:root[data-theme=dark] .field input,:root[data-theme=dark] .field textarea,:root[data-theme=dark] .hero-card,:root[data-theme=dark] .line-amount-card,:root[data-theme=dark] .logout-form button,:root[data-theme=dark] .mini-total-card,:root[data-theme=dark] .mobile-nav,:root[data-theme=dark] .panel,:root[data-theme=dark] .premium-card,:root[data-theme=dark] .preview-icon,:root[data-theme=dark] .quote-line-card,:root[data-theme=dark] .secondary-button,:root[data-theme=dark] .sidebar-account-card,:root[data-theme=dark] .stat-card,:root[data-theme=dark] .status-select,:root[data-theme=dark] .theme-toggle-button,:root[data-theme=dark] .topbar{background:rgba(24,33,28,.92);border-color:rgba(204,216,206,.09);color:var(--ink)}:root[data-theme=dark] .app-sidebar,:root[data-theme=dark] .composer-card,:root[data-theme=dark] .document-preview-sheet,:root[data-theme=dark] .hero-card,:root[data-theme=dark] .panel,:root[data-theme=dark] .premium-card,:root[data-theme=dark] .topbar{background:linear-gradient(180deg,rgba(21,29,24,.95),rgba(17,24,20,.88));border-color:rgba(204,216,206,.08)}:root[data-theme=dark] .preview-icon-accent,:root[data-theme=dark] .sidebar-account-avatar{background:rgba(184,223,76,.2);color:var(--brand)}:root[data-theme=dark] .sidebar-utility-card{background:rgba(24,33,28,.92);border-color:rgba(204,216,206,.09);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}:root[data-theme=dark] .sidebar-utility-card .sidebar-nav{border-bottom-color:rgba(204,216,206,.1)}:root[data-theme=dark] .logout-form button,:root[data-theme=dark] .secondary-button,:root[data-theme=dark] .theme-toggle-button{color:var(--ink)}:root[data-theme=dark] .billing-meta-pill,:root[data-theme=dark] .billing-status-chip,:root[data-theme=dark] .hero-chip,:root[data-theme=dark] .status-badge,:root[data-theme=dark] .subscription-summary-pill{border-color:rgba(204,216,206,.12);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}:root[data-theme=dark] .billing-meta-pill,:root[data-theme=dark] .billing-status-chip,:root[data-theme=dark] .hero-chip,:root[data-theme=dark] .status-badge.status-archive,:root[data-theme=dark] .subscription-summary-pill,:root[data-theme=dark] .subscription-summary-pill-neutral{background:rgba(229,236,231,.08);color:#d4ddd7}:root[data-theme=dark] .subscription-summary-pill strong{color:#edf2ea}:root[data-theme=dark] .hero-chip-muted,:root[data-theme=dark] .subscription-summary-pill small{color:#b9c4bd}:root[data-theme=dark] .billing-offer-card{background:radial-gradient(circle at top right,rgba(184,223,76,.1),transparent 30%),linear-gradient(180deg,rgba(22,31,25,.96),rgba(17,24,20,.9));border-color:rgba(184,223,76,.14)}:root[data-theme=dark] .billing-offer-price-block{background:rgba(229,236,231,.08);border-color:rgba(204,216,206,.12)}:root[data-theme=dark] .billing-back-link,:root[data-theme=dark] .billing-footnote,:root[data-theme=dark] .billing-offer-copy p:last-child,:root[data-theme=dark] .billing-price-prefix,:root[data-theme=dark] .billing-price-suffix{color:#b9c4bd}:root[data-theme=dark] .billing-back-link:hover,:root[data-theme=dark] .billing-feature-list span,:root[data-theme=dark] .billing-offer-price-block strong{color:#edf2ea}:root[data-theme=dark] .hero-chip-success,:root[data-theme=dark] .subscription-summary-pill-success{background:rgba(134,211,167,.16);border-color:rgba(134,211,167,.24);color:#baf0d0}:root[data-theme=dark] .composer-pill{background:rgba(184,223,76,.16);border:1px solid rgba(184,223,76,.2);color:#d8f58a}:root[data-theme=dark] .composer-pill-muted{background:rgba(229,236,231,.08);border-color:rgba(204,216,206,.12);color:#d4ddd7}:root[data-theme=dark] .billing-status-chip-warning,:root[data-theme=dark] .hero-chip-warning,:root[data-theme=dark] .status-badge.status-brouillon,:root[data-theme=dark] .subscription-summary-pill-warning{background:rgba(240,182,99,.18);border-color:rgba(240,182,99,.28);color:#ffd599}:root[data-theme=dark] .status-badge.status-envoye{background:rgba(138,191,211,.16);border-color:rgba(138,191,211,.24);color:#c8ebf8}:root[data-theme=dark] .billing-status-chip-success,:root[data-theme=dark] .status-badge.status-accepte{background:rgba(134,211,167,.16);border-color:rgba(134,211,167,.24);color:#baf0d0}:root[data-theme=dark] .section-action-pill,:root[data-theme=dark] .section-step-card{background:rgba(229,236,231,.08);border-color:rgba(204,216,206,.12);color:#edf2ea}:root[data-theme=dark] .quote-client-compact,:root[data-theme=dark] .quote-meta-inline,:root[data-theme=dark] .section-step-copy span{color:#b9c4bd}:root[data-theme=dark] .quote-open{color:#d8f58a}:root[data-theme=dark] .section-step-icon{background:rgba(184,223,76,.18);color:#d8f58a}:root[data-theme=dark] .sidebar-hover-label{border-color:rgba(204,216,206,.14);background:rgba(21,29,24,.96);box-shadow:0 18px 35px rgba(0,0,0,.3);color:#edf2ea}:root[data-theme=dark] .document-divider{background:rgba(204,216,206,.1)}:root[data-theme=dark] .composer-field textarea:focus,:root[data-theme=dark] .field input:focus,:root[data-theme=dark] .field textarea:focus,:root[data-theme=dark] .status-select:focus{box-shadow:0 0 0 4px rgba(184,223,76,.12)}.topbar-meta-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:4px}.topbar-status-pill{display:inline-flex;align-items:center;min-height:32px;padding:0 11px;border-radius:999px;border:1px solid rgba(23,33,27,.08);background:rgba(255,255,255,.74);color:var(--muted);font-size:.8rem;font-weight:800}.topbar-status-pill-success{background:rgba(223,242,231,.92);color:var(--success)}.topbar-status-pill-warning{background:rgba(255,240,214,.94);color:var(--warning)}.topbar-status-pill-neutral{background:rgba(238,241,236,.94);color:var(--muted)}.topbar-user-pill{max-width:min(100%,220px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-counter{color:var(--muted);font-size:.82rem;font-weight:800}.composer-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ink)}.composer-label-row strong{font-size:.95rem}.composer-label-row small{color:var(--muted);font-size:.82rem;font-weight:700}.composer-support-text{color:var(--muted);font-size:.9rem;line-height:1.55}.editor-card-head-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.editor-count-pill{display:inline-flex;align-items:center;min-height:40px;padding:0 12px;border-radius:999px;background:rgba(255,255,255,.74);border:1px solid rgba(23,33,27,.07);color:var(--muted);font-size:.84rem;font-weight:800}.quote-line-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.quote-line-head strong{font-size:.95rem}.quote-line-head span{color:var(--muted);font-size:.84rem;font-weight:800}.quote-lines-empty{padding:18px;border-radius:20px;background:rgba(255,255,255,.62);border:1px dashed rgba(23,33,27,.14);color:var(--muted);text-align:center}.editor-quick-grid{display:grid;grid-gap:10px;gap:10px}.quote-open:after{content:"\2197"}.composer-hint-button{padding:8px 12px;border-radius:999px;border:1px solid transparent;background:var(--surface-muted);color:var(--muted);font-size:.88rem;cursor:pointer;transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease}.composer-hint-button:focus-visible,.composer-hint-button:hover{transform:translateY(-1px);background:rgba(213,238,121,.16);border-color:rgba(156,197,47,.22);color:var(--brand-ink)}:root[data-theme=dark] .editor-count-pill,:root[data-theme=dark] .quote-lines-empty,:root[data-theme=dark] .topbar-status-pill{background:rgba(229,236,231,.08);border-color:rgba(204,216,206,.12);color:#d4ddd7}:root[data-theme=dark] .composer-counter,:root[data-theme=dark] .composer-label-row small,:root[data-theme=dark] .composer-support-text,:root[data-theme=dark] .quote-line-head span{color:#b9c4bd}:root[data-theme=dark] .composer-hint-button{background:rgba(229,236,231,.08);border-color:transparent;color:#d4ddd7}:root[data-theme=dark] .composer-hint-button:focus-visible,:root[data-theme=dark] .composer-hint-button:hover{background:rgba(184,223,76,.16);border-color:rgba(184,223,76,.2);color:#d8f58a}:root[data-theme=dark] .form-switch a{color:#d8f58a}:root[data-theme=dark] .form-switch a:focus-visible,:root[data-theme=dark] .form-switch a:hover{color:#edf8c0}:root[data-theme=dark] .auth-inline-note,:root[data-theme=dark] .legal-footer-links a,:root[data-theme=dark] .legal-footer-note,:root[data-theme=dark] .legal-list,:root[data-theme=dark] .legal-section p{color:#b9c4bd}:root[data-theme=dark] .legal-footer-links a:focus-visible,:root[data-theme=dark] .legal-footer-links a:hover{color:#edf8c0}:root[data-theme=dark] .topbar-status-pill-success{background:rgba(134,211,167,.16);border-color:rgba(134,211,167,.24);color:#baf0d0}:root[data-theme=dark] .topbar-status-pill-warning{background:rgba(240,182,99,.18);border-color:rgba(240,182,99,.28);color:#ffd599}@media (prefers-reduced-motion:reduce){.ghost-button,.interactive-card,.logout-form button,.mobile-nav-link,.page-stack>*,.primary-button,.secondary-button,.sidebar-hover-label,.sidebar-link{animation:none!important;transition:none!important}}