:root{--bg:#f6f6f3;--surface:#fff;--surface-2:#fbfbf9;--ink:#262626;--ink-2:#545454;--muted:#737373;--line:#e5e5e0;--line-strong:#cfcfc8;--focus:#7d6300;--danger:#b3261e;--danger-bg:#fbe9e7;--ok:#1e7a4c;--ok-bg:#e3f2ea;--warn-bg:#fff4d6;--warn-ink:#6b4a00;--sun:#f4d916;--sun-soft:#fdf6c3;--on-sun:#262626;--facture:#262626;--ticket:#8a5208;--document:#545454;--facture-bg:#fdf6c3;--ticket-bg:#fbefdc;--document-bg:#f1f1ec;--hl:#f4d9168c;--primary:#262626;--on-primary:#fff;--scan:var(--sun);--on-scan:var(--on-sun);--radius:16px;--radius-sm:10px;--radius-card:20px;--tap:44px;--tabbar-h:60px;--sidebar-w:248px;--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--safe-right:env(safe-area-inset-right,0px);--shadow:0 1px 2px #2626260d, 0 4px 14px #2626260f;--font:"Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;--font-title:"Lexend", "Helvetica Neue", Arial, sans-serif;--logo:url(/logo-mds.png);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}:root:not([data-theme=light]){--bg:#1b1b1a;--surface:#262626;--surface-2:#2e2e2c;--ink:#f2f2ee;--ink-2:#cfcfca;--muted:#a3a39d;--line:#3a3a37;--line-strong:#4f4f4b;--focus:#f4d916;--danger:#ff8a80;--danger-bg:#3a1c1a;--ok:#6fd3a0;--ok-bg:#173226;--warn-bg:#3a3110;--warn-ink:#f5d98a;--sun-soft:#3a3410;--facture:#f4d916;--ticket:#e9a449;--document:#b5b5ae;--facture-bg:#3a3410;--ticket-bg:#3a2a12;--document-bg:#33332f;--hl:#f4d9164d;--primary:#f2f2ee;--on-primary:#262626;--shadow:0 1px 2px #0000004d;--logo:url(/logo-mds-sombre.png)}}:root[data-theme=dark]{--bg:#1b1b1a;--surface:#262626;--surface-2:#2e2e2c;--ink:#f2f2ee;--ink-2:#cfcfca;--muted:#a3a39d;--line:#3a3a37;--line-strong:#4f4f4b;--focus:#f4d916;--danger:#ff8a80;--danger-bg:#3a1c1a;--ok:#6fd3a0;--ok-bg:#173226;--warn-bg:#3a3110;--warn-ink:#f5d98a;--sun-soft:#3a3410;--facture:#f4d916;--ticket:#e9a449;--document:#b5b5ae;--facture-bg:#3a3410;--ticket-bg:#3a2a12;--document-bg:#33332f;--hl:#f4d9164d;--primary:#f2f2ee;--on-primary:#262626;--shadow:0 1px 2px #0000004d;--logo:url(/logo-mds-sombre.png);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*,:before,:after{box-sizing:border-box}html,body{background:var(--bg);color:var(--ink);font-family:var(--font);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;overscroll-behavior-y:none;margin:0;padding:0;font-size:16px;line-height:1.4}body{min-height:100dvh}button,input,select,textarea{font:inherit;color:inherit}img{max-width:100%;display:block}h1,h2,h3{line-height:1.2;font-family:var(--font-title);letter-spacing:-.01em;margin:0;font-weight:600}h1{letter-spacing:-.01em;font-size:1.5rem;font-weight:700}h2{font-size:1.05rem;font-weight:700}p{margin:0}.num{font-variant-numeric:tabular-nums}.muted{color:var(--muted)}.small{font-size:.875rem}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;overflow:hidden;position:absolute!important}:focus-visible{outline:3px solid var(--focus);outline-offset:2px;border-radius:6px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.screen{min-height:100dvh;padding:calc(var(--safe-top) + 16px) calc(var(--safe-right) + 16px) calc(var(--tabbar-h) + var(--safe-bottom) + 176px) calc(var(--safe-left) + 16px);flex-direction:column;gap:18px;max-width:720px;margin:0 auto;display:flex}.screen-header{min-height:var(--tap);justify-content:space-between;align-items:center;gap:12px;display:flex}.section{flex-direction:column;gap:10px;display:flex}.section-title{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-size:.8rem;font-weight:700}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);flex-direction:column;gap:12px;padding:16px;display:flex}.row{align-items:center;gap:10px;display:flex}.row-wrap{flex-wrap:wrap;gap:8px;display:flex}.tabbar{z-index:20;background:color-mix(in srgb, var(--surface) 86%, transparent);-webkit-backdrop-filter:saturate(1.6)blur(18px);border-top:1px solid color-mix(in srgb, var(--line) 70%, transparent);padding:0 var(--safe-right) var(--safe-bottom) var(--safe-left);grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -6px 24px #2626260d}.tab{min-height:var(--tabbar-h);color:var(--muted);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:.69rem;font-weight:600;text-decoration:none;display:flex}.tab svg{width:24px;height:24px}.tab-icon{border-radius:999px;padding:4px 18px;transition:background .2s,transform .12s;display:inline-flex;position:relative}.tab:active .tab-icon{transform:scale(.94)}.tab[aria-current=page] .tab-icon{background:var(--sun-soft)}.tab-badge{background:var(--sun);min-width:18px;height:18px;color:var(--on-sun);text-align:center;border:2px solid var(--surface);box-sizing:content-box;border-radius:9px;padding:0 5px;font-size:.68rem;font-weight:700;line-height:18px;position:absolute;top:-2px;left:33px}.tab-badge[data-alert]{background:var(--danger);color:#fff}.tab[aria-current=page]{color:var(--ink);font-weight:700}.tab[aria-current=page] svg{stroke-width:2.2px}.tab-scan{justify-content:flex-end;padding-bottom:6px}.tabbar>.tab:last-child{grid-column:span 2}.tab-scan-disc{background:var(--scan);width:64px;height:64px;color:var(--on-scan);box-shadow:0 4px 14px color-mix(in srgb, var(--scan) 45%, transparent);border:4px solid var(--surface);border-radius:50%;justify-content:center;align-items:center;margin-top:-26px;transition:transform .12s;display:flex}.tab-scan:active .tab-scan-disc{transform:scale(.94)}.tab-scan .tab-scan-disc svg{stroke-width:2.4px;width:30px;height:30px}.tab-scan[aria-current=page]{color:var(--scan)}.action-bar{left:0;right:0;bottom:calc(var(--tabbar-h) + var(--safe-bottom));z-index:15;padding:10px calc(var(--safe-right) + 16px) 34px calc(var(--safe-left) + 16px);background:color-mix(in srgb, var(--bg) 88%, transparent);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--line);position:fixed}.action-bar-inner{flex-direction:column;gap:8px;max-width:688px;margin:0 auto;display:flex}.action-bar-row{gap:8px;display:flex}.action-bar-row>*{flex:1}.btn{min-height:var(--tap);border-radius:var(--radius-sm);border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);cursor:pointer;text-align:center;-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:.95rem;font-weight:600;text-decoration:none;transition:transform 80ms,background .15s;display:inline-flex}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:default;transform:none}.btn svg{flex:none;width:20px;height:20px}.btn-primary{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.btn-large{border-radius:var(--radius);min-height:56px;font-size:1.05rem}.btn-ghost{background:0 0;border-color:#0000}.btn-danger{color:var(--danger);border-color:color-mix(in srgb, var(--danger) 45%, transparent);background:var(--surface)}.btn-small{min-height:36px;padding:6px 10px;font-size:.85rem}.icon-btn{min-width:var(--tap);min-height:var(--tap);color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:999px;justify-content:center;align-items:center;padding:0;display:inline-flex}.icon-btn svg{width:22px;height:22px}.link-btn{min-height:var(--tap);color:var(--focus);cursor:pointer;text-align:left;background:0 0;border:0;padding:8px 0;font-weight:600}.choice-list{flex-direction:column;gap:10px;display:flex}.who-other{flex-direction:column;gap:6px;margin-top:18px;display:flex}.who-other-row{gap:8px;display:flex}.who-other-row .input{flex:1;min-width:0}.choice{--c:var(--document);--cb:var(--document-bg);border-radius:var(--radius);border:1px solid var(--line);background:var(--surface);width:100%;min-height:64px;box-shadow:var(--shadow);text-align:left;font:inherit;color:var(--ink);cursor:pointer;align-items:center;gap:14px;padding:12px 16px;transition:border-color .15s,transform .1s;display:flex}.choice:active{transform:scale(.99)}.choice[aria-pressed=true]{border-color:var(--scan)}.choice[data-type=facture]{--c:var(--facture);--cb:var(--facture-bg)}.choice[data-type=ticket]{--c:var(--ticket);--cb:var(--ticket-bg)}.choice-icon{background:var(--cb);width:48px;height:48px;color:var(--c);border-radius:12px;flex:none;justify-content:center;align-items:center;display:flex}.choice-icon svg{width:26px;height:26px}.choice-text{flex-direction:column;gap:2px;min-width:0;display:flex}.choice-text strong{font-size:1.05rem}.choice-text span{color:var(--muted);font-size:.88rem}.screen-header-back{justify-content:flex-start;gap:4px;margin-left:-10px}.screen-header-back .grow{flex:1;min-width:0}.scan-summary{text-align:left;min-height:0;padding:2px 0 0;font-size:.9rem}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line-strong);background:var(--surface);min-height:40px;color:var(--ink);white-space:nowrap;cursor:pointer;border-radius:999px;flex:none;align-items:center;gap:6px;padding:8px 14px;font-size:.9rem;font-weight:500;display:inline-flex;position:relative}.chip-static{overflow-wrap:anywhere;align-items:center;min-height:40px;padding:8px 4px;font-size:.9rem;font-weight:600;display:inline-flex}.chip>svg{flex:none;width:15px;height:15px}.chip:after{content:"";position:absolute;inset:-2px 0}.chip[aria-pressed=true],.chip[aria-checked=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.segmented{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm);grid-auto-columns:1fr;grid-auto-flow:column;gap:3px;padding:3px;display:grid}.segmented button{cursor:pointer;min-height:40px;color:var(--ink-2);background:0 0;border:0;border-radius:8px;font-size:.9rem;font-weight:600}.segmented button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.pages-strip{scroll-snap-type:x proximity;gap:12px;margin:0 -16px;padding:4px 16px 8px;display:flex;overflow-x:auto}.page-card{scroll-snap-align:start;flex-direction:column;flex:none;gap:6px;width:150px;display:flex;position:relative}.page-thumb{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--line);cursor:pointer;justify-content:center;align-items:center;width:150px;height:200px;padding:0;display:flex;position:relative;overflow:hidden}.page-thumb img{object-fit:contain;width:100%;height:100%}.page-number{color:#fff;background:#262626c7;border-radius:999px;padding:2px 8px;font-size:.75rem;font-weight:700;position:absolute;top:6px;left:6px}.page-remove{width:var(--tap);height:var(--tap);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;display:flex;position:absolute;top:0;right:0}.page-remove svg{color:#fff;stroke-width:2.6px;background:#262626c7;border-radius:50%;width:26px;height:26px;padding:5px}.page-add{border-radius:var(--radius-sm);border:2px dashed var(--line-strong);width:150px;height:200px;color:var(--ink-2);cursor:pointer;background:0 0;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:8px;font-weight:600;display:flex}.page-add svg{width:28px;height:28px}.review-pages .page-thumb,.review-pages .page-card{width:96px;height:128px}.review-pages .page-card{height:auto}.capture-empty{width:100%;font:inherit;cursor:pointer;border:2px dashed var(--line-strong);border-radius:var(--radius);text-align:center;color:var(--muted);background:0 0;flex-direction:column;align-items:center;gap:8px;padding:28px 16px;display:flex}.capture-empty svg{width:40px;height:40px;color:var(--scan)}.capture-empty strong{color:var(--ink);font-size:1.05rem}.field{flex-direction:column;gap:5px;display:flex}.field>label,.field-label{color:var(--ink-2);font-size:.85rem;font-weight:600}.input,.select{width:100%;min-height:var(--tap);border-radius:var(--radius-sm);border:1px solid var(--line-strong);background-color:var(--surface);appearance:none;padding:10px 12px;font-size:1rem}.input:focus,.select:focus{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent);outline:none}.select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7680' stroke-width='2'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:34px}input[type=date].input{min-height:var(--tap);display:block}.fields-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.fields-grid .full{grid-column:1/-1}.input.ai{background-image:linear-gradient(178deg, transparent 0 46%, var(--hl) 50% 86%, transparent 90%)}.legend{color:var(--muted);align-items:center;gap:8px;font-size:.85rem;display:flex}.legend-swatch{background:linear-gradient(178deg, transparent 0 30%, var(--hl) 34% 92%, transparent 96%);border:1px solid var(--line);border-radius:3px;width:28px;height:12px}.filename{border:1px solid var(--line-strong);border-radius:var(--radius-sm);background:var(--surface);align-items:stretch;display:flex;overflow:hidden}.filename:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent)}.filename input{font-variant-numeric:tabular-nums;background:0 0;border:0;flex:1;min-width:0;min-height:52px;padding:10px 12px;font-size:1rem;font-weight:600}.filename input:focus{outline:none}.filename .suffix{background:var(--surface-2);color:var(--muted);border-left:1px solid var(--line);-webkit-user-select:none;user-select:none;align-items:center;padding:0 12px;font-weight:600;display:flex}.filename-status{color:var(--muted);justify-content:space-between;align-items:center;gap:8px;min-height:24px;font-size:.85rem;display:flex}.banner{border-radius:var(--radius-sm);background:var(--warn-bg);color:var(--warn-ink);align-items:center;gap:10px;padding:10px 12px;font-size:.92rem;display:flex}.banner>.grow{flex:1}.banner-error{background:var(--danger-bg);color:var(--danger)}.banner-info{background:var(--surface-2);color:var(--ink-2);border:1px solid var(--line)}.search{position:relative}.search svg{width:20px;height:20px;color:var(--muted);pointer-events:none;position:absolute;top:50%;left:12px;transform:translateY(-50%)}.search .input{padding-left:40px}.totals{font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:6px 16px;font-weight:700;display:flex}.badge{background:var(--warn-bg);color:var(--warn-ink);vertical-align:1px;border-radius:999px;margin-left:4px;padding:1px 7px;font-size:.7rem;font-weight:700;display:inline-block}.cat-row{border-bottom:1px solid var(--line);flex-direction:column;gap:8px;padding:10px 0;display:flex}.cat-row:last-child{border-bottom:0}.toggle{border:1px solid var(--line-strong);background:var(--surface);cursor:pointer;min-height:36px;color:var(--muted);border-radius:999px;padding:4px 12px;font-size:.82rem;font-weight:600;position:relative}.toggle:after{content:"";position:absolute;inset:-4px 0}.toggle[aria-pressed=true][data-type=facture]{background:var(--facture-bg);border-color:var(--facture);color:var(--facture)}.toggle[aria-pressed=true][data-type=ticket]{background:var(--ticket-bg);border-color:var(--ticket);color:var(--ticket)}.toggle[aria-pressed=true][data-type=document]{background:var(--document-bg);border-color:var(--document);color:var(--document)}.tokens{flex-wrap:wrap;gap:6px;display:flex}.token{background:var(--surface-2);border:1px solid var(--line);cursor:pointer;min-height:32px;color:var(--ink);border-radius:6px;padding:6px 8px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.8rem}.meter{background:var(--surface-2);border:1px solid var(--line);border-radius:999px;height:8px;overflow:hidden}.meter>div{background:var(--facture);height:100%}.overlay{z-index:50;background:color-mix(in srgb, var(--bg) 82%, transparent);-webkit-backdrop-filter:blur(4px);padding:calc(var(--safe-top) + 24px) 24px calc(var(--safe-bottom) + 24px);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex;position:fixed;inset:0}.spinner{border:4px solid var(--line);border-top-color:var(--ink);border-radius:50%;width:44px;height:44px;animation:.9s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.toast{left:50%;bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 90px);z-index:80;background:var(--primary);color:var(--on-primary);box-shadow:var(--shadow);text-align:center;border-radius:999px;max-width:calc(100vw - 32px);padding:12px 18px;font-size:.92rem;font-weight:600;animation:.2s toast-in;position:fixed;transform:translate(-50%)}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}.dialog-backdrop{z-index:70;padding:16px calc(var(--safe-right) + 16px) calc(var(--safe-bottom) + 16px) calc(var(--safe-left) + 16px);background:#0a101680;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.dialog{background:var(--surface);border-radius:var(--radius);flex-direction:column;gap:14px;width:100%;max-width:480px;padding:20px;display:flex;box-shadow:0 10px 40px #00000040}.dialog-backdrop{-webkit-backdrop-filter:blur(3px)}@media (width<=600px){.dialog-backdrop{background:#0a101699;padding:0}.dialog{overscroll-behavior:contain;max-width:none;max-height:90dvh;padding:12px calc(var(--safe-right) + 20px) calc(var(--safe-bottom) + 20px) calc(var(--safe-left) + 20px);border-radius:22px 22px 0 0;animation:.22s ease-out sheet-up;overflow-y:auto}.dialog:before{content:"";background:var(--line-strong);border-radius:3px;align-self:center;width:40px;height:5px;margin-bottom:2px}}@keyframes sheet-up{0%{opacity:0;transform:translateY(40px)}}@media (prefers-reduced-motion:reduce){.dialog{animation:none}}.crop{z-index:65;color:#fff;padding:calc(var(--safe-top) + 8px) calc(var(--safe-right) + 12px) calc(var(--safe-bottom) + 12px) calc(var(--safe-left) + 12px);background:#0b1016;flex-direction:column;gap:10px;display:flex;position:fixed;inset:0}.crop-header{min-height:var(--tap);justify-content:space-between;align-items:center;gap:8px;display:flex}.crop-header p{color:#c1cac8;font-size:.9rem}.crop-stage{touch-action:none;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative}.crop-stage img{-webkit-user-select:none;user-select:none;pointer-events:none;max-width:100%;max-height:100%}.crop-svg{position:absolute;overflow:visible}.crop-handle{fill:#ffffff40;stroke:#f4d916;stroke-width:3px;cursor:grab}.crop-actions{gap:8px;display:flex}.crop-actions .btn{flex:1}.crop .btn{color:#fff;background:#1e2934;border-color:#3e4d5a}.crop .btn-primary{color:#262626;background:#f4d916;border-color:#f4d916}.crop-loupe{pointer-events:none;background-repeat:no-repeat;border:3px solid #f4d916;border-radius:50%;width:110px;height:110px;position:absolute;overflow:hidden;box-shadow:0 4px 16px #00000080}.crop-loupe:after{content:"";border:2px solid #f4d916;border-radius:50%;width:14px;height:14px;margin:-7px 0 0 -7px;position:absolute;top:50%;left:50%}.live{z-index:45;color:#fff;background:#000;position:fixed;inset:0;overflow:hidden}.live-stage{position:absolute;inset:0}.live-video{object-fit:cover;width:100%;height:100%;display:block}.live-overlay{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.live-poly{stroke-width:3px;stroke-linejoin:round;opacity:0;filter:drop-shadow(0 0 6px #00000073);transition:fill .25s,stroke .25s}.live-corner{stroke:#fff;stroke-width:2px}.live-flash{pointer-events:none;background:#fff;animation:.35s ease-out forwards live-flash;position:absolute;inset:0}@keyframes live-flash{0%{opacity:.85}to{opacity:0}}.live-top{padding:calc(var(--safe-top) + 10px) calc(var(--safe-right) + 12px) 10px calc(var(--safe-left) + 12px);background:linear-gradient(#0000008c,#0000);justify-content:space-between;align-items:center;display:flex;position:absolute;top:0;left:0;right:0}.live-chip{min-width:var(--tap);min-height:var(--tap);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(6px);background:#00000073;border:1px solid #ffffff59;border-radius:999px;justify-content:center;align-items:center;padding:0 14px;font-size:.9rem;font-weight:600;display:inline-flex}.live-chip svg{width:22px;height:22px}.live-chip[aria-pressed=true]{color:#262626;background:#f4d916;border-color:#f4d916}.live-hint{left:50%;bottom:calc(var(--safe-bottom) + 150px);text-align:center;white-space:nowrap;text-overflow:ellipsis;background:#0009;border-radius:999px;max-width:calc(100vw - 32px);padding:8px 16px;font-size:.92rem;font-weight:600;position:absolute;overflow:hidden;transform:translate(-50%)}.live-bottom{padding:18px calc(var(--safe-right) + 20px) calc(var(--safe-bottom) + 22px) calc(var(--safe-left) + 20px);background:linear-gradient(#0000,#000000a6);grid-template-columns:1fr auto 1fr;align-items:center;display:grid;position:absolute;bottom:0;left:0;right:0}.live-shutter{cursor:pointer;background:0 0;border:0;border-radius:50%;width:84px;height:84px;padding:0;position:relative}.live-shutter:after{content:"";background:#fff;border-radius:50%;transition:transform .1s;position:absolute;inset:13px}.live-shutter:active:after{transform:scale(.9)}.live-shutter:disabled{opacity:.5}.live-shutter svg{position:absolute;inset:0;transform:rotate(-90deg)}.live-ring-bg{fill:none;stroke:#ffffff8c;stroke-width:5px}.live-ring{fill:none;stroke:#3ddc84;stroke-width:6px;stroke-linecap:round;transition:stroke-dashoffset .12s linear}.live-thumb{cursor:pointer;background:#ffffff1f;border:2px solid #fff;border-radius:8px;justify-self:start;width:56px;height:72px;padding:0;position:relative;overflow:visible}.live-thumb:disabled{opacity:.4}.live-thumb img{object-fit:cover;border-radius:6px;width:100%;height:100%;animation:.35s ease-out live-pop}@keyframes live-pop{0%{opacity:.4;transform:scale(1.5)}}.live-error{left:16px;right:16px;bottom:calc(var(--safe-bottom) + 24px);text-align:center;flex-direction:column;gap:10px;display:flex;position:absolute}.live-error p{background:#000000b3;border-radius:12px;padding:12px}.live-done{color:#262626;cursor:pointer;background:#f4d916;border:0;border-radius:50%;justify-content:center;justify-self:end;align-items:center;width:56px;height:56px;display:flex}.live-done svg{stroke-width:2.6px;width:30px;height:30px}.live-done:disabled{color:#fff9;background:#fff3}.live-shutter-count{z-index:1;color:#262626;pointer-events:none;justify-content:center;align-items:center;font-size:1.5rem;font-weight:700;display:flex;position:absolute;inset:0}.live-thumb-busy{background:#00000073;border-radius:6px;position:absolute;inset:0}.live-thumb-busy:after{content:"";border:3px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:22px;height:22px;margin:-11px 0 0 -11px;animation:.9s linear infinite spin;position:absolute;top:50%;left:50%}.live-fly{z-index:3;pointer-events:none;opacity:0;border-radius:4px;width:auto;max-width:min(78vw,440px);height:auto;max-height:64vh;animation:1.6s ease-in-out forwards live-fly;position:fixed;top:45%;left:50%;box-shadow:0 10px 40px #0009}@keyframes live-fly{0%{opacity:0;transform:translate(-50%,-50%)scale(.7)}12%{opacity:1;transform:translate(-50%,-50%)scale(1)}62%{opacity:1;transform:translate(-50%,-50%)scale(1)}99%{opacity:.85;transform:translate(calc(-50% + 48px + var(--safe-left) - 50vw), calc(-50% + 55vh - 94px - var(--safe-bottom))) scale(.12)}to{opacity:0;transform:translate(calc(-50% + 48px + var(--safe-left) - 50vw), calc(-50% + 55vh - 94px - var(--safe-bottom))) scale(.12)}}@media (prefers-reduced-motion:reduce){.live-fly{display:none}}.pm{z-index:55;color:#fff;padding:calc(var(--safe-top) + 10px) calc(var(--safe-right) + 10px) calc(var(--safe-bottom) + 14px) calc(var(--safe-left) + 10px);background:#000;flex-direction:column;gap:10px;display:flex;position:fixed;inset:0}.pm-top{min-height:var(--tap);justify-content:space-between;align-items:center;display:flex}.pm-counter{color:#262626;background:#ffffffd9;border-radius:14px;padding:6px 16px;font-size:1.05rem;font-weight:700}.pm-stage{touch-action:pan-y;-webkit-user-select:none;user-select:none;flex:1;justify-content:center;align-items:center;min-height:0;display:flex;position:relative}.pm-stage img{object-fit:contain;background:#fff;max-width:100%;max-height:100%;animation:.18s toast-in}.pm-nav{z-index:1;width:var(--tap);color:#fff;cursor:pointer;background:#00000073;border:0;border-radius:10px;height:64px;font-size:2rem;line-height:1;position:absolute;top:50%;transform:translateY(-50%)}.pm-prev{left:0}.pm-next{right:0}.pm-dots{justify-content:center;gap:6px;display:flex}.pm-dots span{background:#ffffff4d;border-radius:50%;width:7px;height:7px}.pm-dots span.on{background:#fff}.pm-tools{grid-template-columns:repeat(6,1fr);gap:2px;display:grid}.pm-tools button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:60px;font-size:.7rem;font-weight:600;display:flex}.pm-tools button:active{background:#ffffff1a}.pm-tools button:disabled{opacity:.3}.pm-tools svg{width:26px;height:26px}.pm-arrow{height:26px;font-size:1.5rem;line-height:26px}.pm-danger{color:#ff8a80!important}.pm-bottom{justify-content:center;display:flex}.pm-done{color:#262626;cursor:pointer;background:#f4d916;border:0;border-radius:50%;justify-content:center;align-items:center;width:64px;height:64px;display:flex}.pm-done svg{stroke-width:2.6px;width:32px;height:32px}.toggle[aria-pressed=true]:not([data-type]){background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.pm-info-btn{width:var(--tap);height:var(--tap);color:#fff;background:#00000059;border:1.5px solid #ffffffb3;border-radius:50%;font:italic 700 1.15rem/1 Georgia,serif}.pm-info-btn[aria-pressed=true]{color:#262626;background:#fff}.pm-info{color:#262626;background:#fffffff0;border-radius:14px;gap:4px;margin:0;padding:12px 14px;font-size:.92rem;display:grid}.pm-info div{justify-content:space-between;gap:12px;display:flex}.pm-info dt{font-weight:700}.pm-info dd{text-align:right;margin:0}.pm-info .warn dd{color:#b3261e;font-weight:700}.flow-header{flex-direction:column;gap:8px;display:flex}.flow-progress{background:var(--line);border-radius:2px;height:4px;overflow:hidden}.flow-progress span{background:var(--scan);border-radius:2px;height:100%;transition:width .25s;display:block}.flow-summary{color:var(--muted);min-height:1.2em;font-size:.85rem}.choice-avatar{background:color-mix(in srgb, var(--scan) 14%, var(--surface));color:var(--scan);letter-spacing:.02em;font-size:.95rem;font-weight:800}.choice[data-tone=warn]{--c:var(--ticket);--cb:var(--ticket-bg)}.choice[data-tone=ok]{--c:var(--ok);--cb:color-mix(in srgb, var(--ok) 14%, var(--surface))}.choice[data-tone=info]{--c:var(--facture);--cb:var(--facture-bg)}.conf-help{margin-top:14px;font-size:.86rem;line-height:1.45}.conf-help ul{margin:6px 0 10px;padding-left:1.2em}.conf-help li+li{margin-top:4px}.conf-help p{margin:0 0 6px}.conf-doubt{color:var(--danger);font-weight:700}.no-ai-note{align-items:flex-start;gap:8px;margin-top:12px;display:flex}.no-ai-note svg{flex:none;width:18px;height:18px;margin-top:1px}.choice-check{border:2px solid var(--line-strong);border-radius:50%;flex:none;justify-content:center;align-items:center;width:26px;height:26px;margin-left:auto;display:flex}.choice[aria-pressed=true] .choice-check{background:var(--scan);border-color:var(--scan);color:var(--on-scan)}.choice-check svg{stroke-width:3px;width:16px;height:16px}.choice[aria-pressed=true]{background:color-mix(in srgb, var(--scan) 8%, var(--surface))}.choice-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));display:grid}.choice-compact{gap:8px;min-height:56px;padding:10px 12px}.choice-compact .choice-text strong{font-size:.95rem}.choice-compact .choice-check{width:22px;height:22px}.suivi-badge{background:var(--document-bg);color:var(--ink-2);border-radius:999px;align-self:flex-start;padding:1px 8px;font-size:.72rem;font-weight:700}.suivi-badge[data-suivi=a_payer],.suivi-badge[data-suivi=a_rembourser]{background:var(--ticket-bg);color:var(--ticket)}.suivi-badge[data-suivi=paye],.suivi-badge[data-suivi=rembourse]{background:color-mix(in srgb, var(--ok) 14%, var(--surface));color:var(--ok)}.suivi-badge[data-suivi=remboursement]{background:var(--facture-bg);color:var(--facture)}.chips-label{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);flex-basis:100%;margin-top:4px;font-size:.75rem;font-weight:700}.account{align-items:center;gap:12px;display:flex}.account-avatar{background:color-mix(in srgb, var(--scan) 18%, var(--surface));width:44px;height:44px;color:var(--scan);object-fit:cover;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:800;display:flex}.select-small{min-height:36px;padding:4px 8px;font-size:.85rem}.menu-group{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.menu-row{width:100%;min-height:60px;font:inherit;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:10px 12px 10px 14px;display:flex}.menu-row+.menu-row{border-top:1px solid var(--line)}.menu-row:active{background:var(--surface-2)}.menu-icon{--tone:var(--document);width:36px;height:36px;color:var(--tone);background:color-mix(in srgb, var(--tone) 15%, var(--surface));border-radius:10px;flex:none;justify-content:center;align-items:center;display:flex}.menu-icon svg{width:20px;height:20px}.menu-icon[data-tone=blue]{--tone:var(--facture)}.menu-icon[data-tone=orange]{--tone:var(--ticket)}.menu-icon[data-tone=green]{--tone:var(--ok)}.menu-icon[data-tone=purple]{--tone:#8b5cf6}.menu-icon[data-tone=red]{--tone:var(--danger)}.menu-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.menu-text span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.menu-chevron{width:18px;height:18px;color:var(--muted);flex:none}.menu-row-danger{color:var(--danger)}.settings-footer{text-align:center;line-height:1.8}.settings-page>section.section:only-of-type>.section-title:first-child{display:none}.entity-card{flex-direction:column;gap:10px;padding:12px 0;display:flex}.entity-card+.entity-card{border-top:1px solid var(--line)}.card-strip{scrollbar-width:none;gap:10px;padding-bottom:2px;display:flex;overflow-x:auto}.card-strip::-webkit-scrollbar{display:none}.card-strip-item{flex:none;position:relative}.card-strip .pay-card{width:180px}.card-remove{color:#fff;cursor:pointer;background:#00000059;border:0;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex;position:absolute;top:4px;right:4px}.card-remove svg{stroke-width:2.6px;width:14px;height:14px}.card-add{aspect-ratio:1.586;border:2px dashed var(--line-strong);width:140px;color:var(--ink-2);font:inherit;cursor:pointer;background:0 0;border-radius:12px;flex-direction:column;flex:none;justify-content:center;align-items:center;gap:4px;font-size:.85rem;font-weight:600;display:flex}.card-add svg{width:22px;height:22px}.pay-card{aspect-ratio:1.586;color:#fff;background:linear-gradient(135deg,#2c5bcb,#1b3a8a 60%,#262626);border-radius:12px;grid-template-rows:auto 1fr auto auto;align-self:center;width:100%;max-width:320px;padding:12px 14px;font-size:.8rem;display:grid;position:relative;overflow:hidden;box-shadow:0 6px 18px #26262640}.pay-card-entity{opacity:.9;font-weight:700}.pay-card-chip{background:linear-gradient(135deg,#f3d77a,#c9a444);border-radius:5px;align-self:center;width:30px;height:22px}.pay-card-number{letter-spacing:.08em;font-size:.95em}.pay-card-name{text-transform:uppercase;letter-spacing:.04em;text-overflow:ellipsis;white-space:nowrap;font-weight:700;overflow:hidden}.card-digits{letter-spacing:.3em;max-width:160px;font-size:1.3rem}.figures{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;display:grid}.figure{--tone:var(--document);border-radius:var(--radius-sm);border:1px solid color-mix(in srgb, var(--tone) 35%, var(--line));background:color-mix(in srgb, var(--tone) 10%, var(--surface));font:inherit;color:var(--ink);text-align:left;cursor:pointer;flex-direction:column;gap:2px;padding:10px 12px;display:flex}.figure[data-tone=warn]{--tone:var(--ticket)}.figure[data-tone=info]{--tone:var(--facture)}.figure span{color:var(--tone);text-transform:uppercase;letter-spacing:.04em;font-size:.78rem;font-weight:700}.figure strong{font-size:1.05rem}.figure small{color:var(--muted);font-size:.78rem}.figure em{color:var(--danger);font-style:normal;font-weight:700}.month,.share-progress{flex-direction:column;gap:8px;display:flex}.share-name{overflow-wrap:anywhere}.choice-icon[data-tone=info]{--c:var(--facture);--cb:var(--facture-bg)}.suivi-unknown{border:1px dashed var(--line-strong);color:var(--muted);background:0 0}.spinner-small{border-width:2px;width:18px;height:18px}.suivi-badge{padding:2px 8px;font-size:.72rem}.dup-list li{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);flex-wrap:wrap;align-items:center;gap:4px 8px;padding:8px 10px;display:flex}.dup-list li strong{flex-basis:100%}.dup-list .dup-count{color:var(--warn-ink);flex-basis:100%;font-weight:600}.field-error{color:var(--danger)}.input[aria-invalid=true]{border-color:var(--danger)}.qr-card{border-radius:var(--radius-sm);border:1px solid color-mix(in srgb, var(--ok) 40%, var(--line));background:color-mix(in srgb, var(--ok) 8%, var(--surface));align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.qr-card .grow{overflow-wrap:anywhere;flex-direction:column;gap:2px;min-width:0;display:flex}.qr-card-icon{background:var(--ok);color:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:26px;height:26px;display:flex}.qr-card-icon svg{stroke-width:3px;width:16px;height:16px}.pay-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.pay-list li{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);align-items:center;gap:10px;padding:8px 10px;display:flex}.pay-list .grow{flex-direction:column;gap:1px;min-width:0;display:flex}.pay-list strong small{color:var(--muted);font-size:.72rem;font-weight:600}.pay-list-warn li{border-color:color-mix(in srgb, var(--ticket) 40%, var(--line));background:var(--ticket-bg)}.pay-file{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);align-items:center;gap:4px;padding:8px 6px 8px 12px;display:flex}.pay-file .grow{flex-direction:column;min-width:0;display:flex}.plan-setup{gap:8px;margin-top:10px;display:grid}.plan-setup label{gap:4px;display:grid}.plan-list{gap:6px;margin:10px 0 4px;padding:0;list-style:none;display:grid}.plan-list li{grid-template-columns:22px minmax(0,1.3fr) minmax(0,1fr) auto;align-items:center;gap:6px;display:grid}.plan-list li[data-paid] .input{opacity:.6}.plan-n{color:var(--muted);text-align:center;font-size:.85em}.plan-paid{font:inherit;border:1px solid var(--line-strong);min-height:40px;color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border-radius:999px;align-items:center;gap:4px;padding:0 10px;font-size:.82em;display:inline-flex}.plan-paid[aria-pressed=true]{color:var(--ok);border-color:currentColor}.plan-paid svg{width:14px;height:14px}.plan-gap{color:var(--warn-ink)}.pay-select{justify-content:space-between;align-items:center;gap:8px;display:flex}.pay-pick{border:2px solid var(--line-strong);width:28px;height:28px;color:var(--on-scan);cursor:pointer;background:0 0;border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.pay-pick[aria-pressed=true]{background:var(--scan);border-color:var(--scan)}.pay-pick svg{width:16px;height:16px}.viewer{z-index:60;color:#fff;padding:var(--safe-top) var(--safe-right) calc(var(--safe-bottom) + 8px) var(--safe-left);background:#0b1016;flex-direction:column;display:flex;position:fixed;inset:0}.viewer-header{min-height:var(--tap);justify-content:space-between;align-items:center;gap:8px;padding:4px 4px 4px 16px;font-weight:600;display:flex}.viewer-header .icon-btn{color:#fff}.viewer-track{scroll-snap-type:x mandatory;scrollbar-width:none;flex:1;min-height:0;display:flex;overflow:auto hidden}.viewer-track::-webkit-scrollbar{display:none}.viewer-slide{scroll-snap-align:center;scroll-snap-stop:always;touch-action:pan-x pan-y;flex:none;width:100%;height:100%}.viewer-slide img{object-fit:contain;-webkit-user-select:none;user-select:none;max-width:none;display:block}.viewer-hint{text-align:center;color:#93a0a9;padding-top:6px;font-size:.8rem}.viewer-tools{grid-template-columns:repeat(5,1fr);padding:4px 8px 0}.btn-sun{background:var(--sun);border-color:var(--sun);color:var(--on-sun)}:root[data-sidebar=collapsed]{--sidebar-w:64px}.sidebar{display:none}.sb-header{justify-content:space-between;align-items:center;gap:8px;padding:0 0 14px 2px;display:flex}.sb-brand{cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;padding:4px 6px;transition:background .15s;display:flex}.sb-brand:hover{background:color-mix(in srgb, var(--ink) 5%, transparent)}.sb-logo img{width:108px;height:auto;display:block}.sb-mark{background:var(--primary);border-radius:10px;width:32px;height:32px;display:none;position:relative}.sb-mark span{background:var(--sun);box-shadow:0 0 0 3px color-mix(in srgb, var(--sun) 30%, transparent);border-radius:50%;position:absolute;inset:9px}.sb-ghost{width:32px;height:32px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;flex:none;place-items:center;transition:background .15s,color .15s;display:grid;position:relative}.sb-ghost:hover{background:color-mix(in srgb, var(--ink) 6%, transparent);color:var(--ink)}.sb-ghost svg{width:18px;height:18px}.sb-search{border:1px solid var(--line);background:var(--surface);height:38px;color:var(--muted);cursor:pointer;border-radius:10px;align-items:center;gap:9px;margin-bottom:8px;padding:0 7px 0 11px;font-size:.88rem;transition:border-color .15s,color .15s,box-shadow .15s;display:flex;position:relative;box-shadow:0 1px 2px #2626260a}.sb-search:hover{border-color:var(--line-strong);color:var(--ink-2);box-shadow:0 2px 6px #2626260f}.sb-search svg{flex:none;width:16px;height:16px}.sb-search .sb-label{text-align:left}.sb-search kbd,.cmdk kbd{font-family:var(--font);border:1px solid var(--line);background:var(--surface-2);color:var(--muted);white-space:nowrap;border-bottom-width:2px;border-radius:6px;padding:1px 6px;font-size:.68rem;font-weight:600;line-height:1.4}.sb-new{margin-bottom:16px;position:relative}.sb-new-btn{background:var(--primary);width:100%;height:40px;color:var(--on-primary);font-family:var(--font-title);cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:.92rem;font-weight:600;transition:transform .12s,box-shadow .15s,opacity .15s;display:flex;position:relative;box-shadow:0 1px 2px #2626261f,0 4px 12px #2626261f}.sb-new-btn .sb-label{flex:none}.sb-new-btn:hover{opacity:.92;box-shadow:0 2px 4px #26262624,0 8px 20px #26262629}.sb-new-btn:active{transform:scale(.98)}.sb-new-btn svg{stroke-width:2.4px;width:18px;height:18px}.sb-menu{z-index:40;background:var(--surface);border:1px solid var(--line);border-radius:12px;flex-direction:column;min-width:232px;padding:5px;animation:.14s ease-out sb-pop;display:flex;position:absolute;box-shadow:0 10px 38px -10px #16171859,0 10px 20px -15px #16171833}@keyframes sb-pop{0%{opacity:0;transform:translateY(-4px)scale(.98)}}.sb-menu-new{top:calc(100% + 6px);left:0;right:0}.sb-menu-user{bottom:calc(100% + 8px);left:0;right:0}.sb-menu button[role=menuitem]{min-height:34px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:10px;padding:0 9px;font-size:.88rem;font-weight:500;display:flex}.sb-menu button[role=menuitem]:hover,.sb-menu button[role=menuitem]:focus-visible{background:color-mix(in srgb, var(--ink) 6%, transparent);outline:none}.sb-menu svg{width:16px;height:16px;color:var(--ink-2);flex:none}.sb-menu .grow{flex:1}.sb-menu hr{border:0;border-top:1px solid var(--line);margin:5px -5px}.sb-menu-label{color:var(--muted);padding:6px 9px 4px;font-size:.7rem;font-weight:600}.sb-menu .sb-menu-danger,.sb-menu .sb-menu-danger svg{color:var(--danger)}.sb-menu-who{align-items:center;gap:10px;min-width:0;padding:6px 7px 4px;display:flex}.sb-theme{background:color-mix(in srgb, var(--ink) 5%, transparent);border-radius:9px;grid-template-columns:repeat(3,1fr);gap:2px;margin:0 4px 4px;padding:3px;display:grid}.sb-theme button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:7px;flex-direction:column;align-items:center;gap:3px;padding:6px 4px;font-size:.72rem;font-weight:600;transition:background .15s,color .15s;display:flex}.sb-theme button:hover{color:var(--ink)}.sb-theme button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #00000014, 0 0 0 1px var(--line)}.sb-menu .sb-theme svg{color:currentColor}.sb-nav{scrollbar-width:thin;scrollbar-color:transparent transparent;flex-direction:column;flex:1;gap:10px;min-height:0;margin:0 -12px;padding:0 12px 8px;display:flex;overflow-y:auto}.sb-nav:hover{scrollbar-color:var(--line-strong) transparent}.sb-heading{width:100%;height:28px;color:var(--muted);font-family:var(--font-title);letter-spacing:.07em;text-transform:uppercase;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;padding:0 8px 0 10px;font-size:.68rem;font-weight:600;transition:color .15s,background .15s;display:flex}.sb-heading:hover{color:var(--ink-2);background:color-mix(in srgb, var(--ink) 4%, transparent)}.sb-heading svg{opacity:0;width:14px;height:14px;transition:transform .2s,opacity .15s}.sb-heading:hover svg,.sb-heading:focus-visible svg,.sb-group[data-closed] .sb-heading svg{opacity:1}.sb-group[data-closed] .sb-heading svg{transform:rotate(-90deg)}.sb-group-body{grid-template-rows:1fr;transition:grid-template-rows .22s;display:grid}.sb-group[data-closed] .sb-group-body{grid-template-rows:0fr}.sb-group-inner{flex-direction:column;gap:1px;min-height:0;margin-left:-12px;padding:2px 0 1px 12px;display:flex;overflow:hidden}.sb-item{min-height:36px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 10px;font-size:.9rem;font-weight:500;transition:background .12s,color .12s;display:flex;position:relative}.sb-item:hover{background:color-mix(in srgb, var(--ink) 5%, transparent);color:var(--ink)}.sb-item[aria-current=page]{background:var(--surface);color:var(--ink);box-shadow:0 1px 2px #2626260f, 0 0 0 1px var(--line);font-weight:600}.sb-item[aria-current=page]:before{content:"";background:var(--sun);border-radius:0 3px 3px 0;width:3px;position:absolute;top:9px;bottom:9px;left:-12px}.sb-icon{flex:none;display:inline-flex;position:relative}.sb-item svg{width:18px;height:18px;color:var(--muted);flex:none;transition:color .12s}.sb-item:hover svg,.sb-item[aria-current=page] svg{color:var(--ink)}.sb-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.sb-badge{background:color-mix(in srgb, var(--ink) 7%, transparent);min-width:20px;height:20px;color:var(--ink-2);text-align:center;border-radius:999px;padding:0 6px;font-size:.72rem;font-weight:700;line-height:20px}.sb-badge[data-tone=alert]{background:var(--danger);color:#fff}.sb-dot{background:var(--focus);border:2px solid var(--surface-2);box-sizing:content-box;border-radius:50%;width:7px;height:7px;display:none;position:absolute;top:-3px;right:-4px}.sb-dot[data-tone=alert]{background:var(--danger)}.sb-sub{border-left:1px solid var(--line);flex-direction:column;gap:1px;margin:1px 0 2px 19px;padding-left:8px;display:flex}.sb-item.sb-subitem{min-height:32px;padding:0 8px;font-size:.86rem}.sb-item.sb-subitem[aria-current=page]:before{border-radius:2px;width:2px;top:7px;bottom:7px;left:-9px}.sb-item svg.sb-folder{width:17px;height:17px;fill:var(--sun);stroke:#c9a800;stroke-width:1px}.sb-footer{border-top:1px solid var(--line);flex-direction:column;gap:4px;margin-top:auto;padding-top:10px;display:flex}.sb-user-wrap{position:relative}.sb-user{width:100%;min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:6px 8px;transition:background .15s;display:flex;position:relative}.sb-user:hover,.sb-user[aria-expanded=true]{background:color-mix(in srgb, var(--ink) 5%, transparent)}.sb-avatar{object-fit:cover;background:var(--sun);width:32px;height:32px;color:var(--on-sun);font-family:var(--font-title);border-radius:9px;flex:none;justify-content:center;align-items:center;font-size:.75rem;font-weight:600;display:flex}.sb-user-text{min-width:0;color:var(--muted);flex-direction:column;flex:1;font-size:.76rem;line-height:1.3;display:flex}.sb-user-text strong,.sb-user-text span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sb-user-text strong{color:var(--ink);font-size:.86rem;font-weight:600}.sb-user-caret{width:16px;height:16px;color:var(--muted);flex:none}.cmdk-backdrop{z-index:100;-webkit-backdrop-filter:blur(3px);background:#14141259;justify-content:center;align-items:flex-start;padding:12vh 16px 16px;animation:.12s ease-out cmdk-fade;display:flex;position:fixed;inset:0}@keyframes cmdk-fade{0%{opacity:0}}.cmdk{background:var(--surface);border:1px solid var(--line);border-radius:16px;flex-direction:column;width:100%;max-width:620px;max-height:min(560px,76vh);animation:.16s ease-out sb-pop;display:flex;overflow:hidden;box-shadow:0 24px 60px -12px #00000059}.cmdk-input{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}.cmdk-input>svg{width:18px;height:18px;color:var(--muted);flex:none}.cmdk-input input{min-width:0;height:100%;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:0;font-size:1rem}.cmdk-spin{border-width:2px;flex:none;width:16px;height:16px}.cmdk-list{overscroll-behavior:contain;flex:1;padding:6px;overflow-y:auto}.cmdk-heading{color:var(--muted);padding:8px 10px 4px;font-size:.72rem;font-weight:600}.cmdk-item{min-height:42px;color:var(--ink);cursor:pointer;border-radius:9px;align-items:center;gap:12px;padding:0 10px;font-size:.92rem;display:flex}.cmdk-item[aria-selected=true]{background:var(--sun-soft)}.cmdk-icon{background:color-mix(in srgb, var(--ink) 5%, transparent);border-radius:8px;flex:none;place-items:center;width:28px;height:28px;display:grid}.cmdk-item[aria-selected=true] .cmdk-icon{background:var(--surface)}.cmdk-icon svg{width:16px;height:16px;color:var(--ink-2)}.cmdk-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.cmdk-hint{text-overflow:ellipsis;white-space:nowrap;max-width:40%;color:var(--muted);font-size:.8rem;overflow:hidden}.cmdk-go{width:16px;height:16px;color:var(--muted);opacity:0;flex:none}.cmdk-item[aria-selected=true] .cmdk-go{opacity:1}.cmdk-empty{text-align:center;color:var(--muted);padding:28px}.cmdk-foot{border-top:1px solid var(--line);background:var(--surface-2);color:var(--muted);flex:none;align-items:center;gap:14px;padding:8px 14px;font-size:.74rem;display:flex}.cmdk-foot kbd+kbd{margin-left:3px}.cmdk-foot .grow{flex:1}@media (width<=600px){.cmdk-backdrop{padding-top:calc(var(--safe-top) + 12px)}.cmdk-foot,.cmdk-input kbd{display:none}}.picker{border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden}.picker-head{min-height:var(--tap);background:var(--surface-2);border-bottom:1px solid var(--line);align-items:center;gap:4px;padding:0 10px;display:flex}.picker-head .grow,.picker-list .grow{flex:1;min-width:0}.picker-list{max-height:45vh;margin:0;padding:0;list-style:none;overflow-y:auto}.picker-list li.muted{padding:12px}.picker-list button{width:100%;min-height:var(--tap);border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;align-items:center;gap:10px;padding:6px 12px;display:flex}.picker-list svg{flex:none;width:20px;height:20px}@media (width>=960px){.tabbar{display:none}.sidebar{width:var(--sidebar-w);z-index:25;background:var(--surface-2);border-right:1px solid var(--line);flex-direction:column;padding:16px 12px 12px;transition:width .2s;display:flex;position:fixed;top:0;bottom:0;left:0;overflow:hidden}.app-main{margin-left:var(--sidebar-w);transition:margin-left .2s}.sidebar[data-collapsed]{overflow:visible}.sidebar[data-collapsed] .sb-label,.sidebar[data-collapsed] .sb-heading,.sidebar[data-collapsed] .sb-badge,.sidebar[data-collapsed] .sb-search kbd,.sidebar[data-collapsed] .sb-logo,.sidebar[data-collapsed] .sb-user-caret,.sidebar[data-collapsed] .sb-sub{display:none}.sidebar[data-collapsed] .sb-header{flex-direction:column;gap:6px;padding:0 0 10px}.sidebar[data-collapsed] .sb-brand{padding:0}.sidebar[data-collapsed] .sb-mark,.sidebar[data-collapsed] .sb-dot{display:block}.sidebar[data-collapsed] .sb-collapse,.sidebar[data-collapsed] .sb-item,.sidebar[data-collapsed] .sb-search,.sidebar[data-collapsed] .sb-new-btn,.sidebar[data-collapsed] .sb-user{justify-content:center;width:40px;height:40px;min-height:40px;padding:0}.sidebar[data-collapsed] .sb-nav{gap:0}.sidebar[data-collapsed] .sb-group+.sb-group{border-top:1px solid var(--line);margin-top:6px;padding-top:6px}.sidebar[data-collapsed] .sb-nav,.sidebar[data-collapsed] .sb-group-inner{overflow:visible}.sidebar[data-collapsed] .sb-item[aria-current=page]:before{left:-12px}.sidebar[data-collapsed] .sb-menu-new{width:240px;right:auto}.sidebar[data-collapsed] .sb-menu-user{width:260px;bottom:0;left:calc(100% + 10px);right:auto}.sidebar[data-collapsed] [data-tip]:hover:after{content:attr(data-tip);z-index:50;background:var(--primary);color:var(--on-primary);font-family:var(--font);white-space:nowrap;pointer-events:none;border-radius:7px;padding:5px 9px;font-size:.76rem;font-weight:600;position:absolute;top:50%;left:calc(100% + 10px);transform:translateY(-50%);box-shadow:0 4px 12px #0000002e}.sidebar[data-collapsed] [aria-expanded=true][data-tip]:hover:after{display:none}.screen{padding-top:24px;padding-bottom:140px}.drive{max-width:1180px;padding-left:36px;padding-right:36px}.action-bar{left:var(--sidebar-w);padding-bottom:calc(var(--safe-bottom) + 16px);transition:left .2s;bottom:0}}.drive{--d-fill:color-mix(in srgb, var(--ink) 5%, var(--surface));--d-fill-hover:color-mix(in srgb, var(--ink) 9%, var(--surface));--d-select:var(--sun-soft);gap:14px}.d-logo img{width:auto;height:40px}.d-icon-btn{width:40px;height:40px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.d-icon-btn:hover{background:var(--d-fill-hover)}.d-icon-btn svg{width:20px;height:20px}.d-search{background:var(--d-fill);border-radius:25px;align-items:center;gap:4px;height:50px;padding:0 6px;transition:background .15s,box-shadow .15s;display:flex}.d-search:focus-within{background:var(--surface);box-shadow:0 1px 3px #2626262e,0 2px 10px #2626261a}.d-search input{background:0 0;border:0;outline:0;flex:1;min-width:0;height:100%;font-size:1rem}.d-search input::-webkit-search-cancel-button{display:none}.d-search-icon{width:40px;height:40px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.d-search-icon svg{width:21px;height:21px}.d-bar,.d-selbar{align-items:center;gap:8px;min-height:48px;display:flex}.d-crumbs{min-width:0;font-family:var(--font-title);flex-wrap:wrap;flex:1;align-items:center;gap:0 2px;font-size:1.25rem;display:flex}.d-crumb-wrap{align-items:center;gap:2px;display:inline-flex}.d-crumb,.d-crumb-here{font:inherit;color:var(--ink-2);cursor:pointer;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;border-radius:18px;max-width:260px;padding:4px 10px;overflow:hidden}.d-crumb:first-child{margin-left:-10px}.d-crumb-here{color:var(--ink);align-items:center;gap:4px;font-weight:500;display:inline-flex}.d-crumbs>.d-crumb-here:first-child{margin-left:-10px}.d-crumb:hover,.d-crumb-here:hover{background:var(--d-fill-hover)}.d-crumb-here svg{width:20px;height:20px}.d-crumb-sep{width:18px;height:18px;color:var(--muted);flex:none}.d-crumb-back{color:var(--ink);margin-left:-8px}@media (width<=959px){.d-crumbs .d-crumb,.d-crumbs .d-crumb-wrap,.d-crumbs>.d-crumb-sep{display:none}.d-crumbs{flex-wrap:nowrap}.d-crumb-back+.d-crumb+.d-crumb-sep+.d-crumb-here,.d-crumb-here{max-width:100%}.d-sort-btn span{display:none}}.d-bar-tools{flex:none;align-items:center;gap:6px;display:flex}.d-sort-btn{height:36px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:18px;align-items:center;gap:6px;padding:0 12px;font-size:.875rem;font-weight:500;display:inline-flex}.d-sort-btn:hover{background:var(--d-fill-hover)}.d-sort-arrow{width:17px;height:17px;transition:transform .15s}.d-sort-arrow[data-down]{transform:rotate(180deg)}.d-toggle{border:1px solid var(--line-strong);border-radius:18px;display:inline-flex;overflow:hidden}.d-toggle button{min-width:44px;height:34px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;gap:4px;padding:0 12px;display:inline-flex}.d-toggle button+button{border-left:1px solid var(--line-strong)}.d-toggle button[aria-pressed=true]{background:var(--d-select);color:var(--ink)}.d-toggle svg{width:18px;height:18px}.d-toggle .d-toggle-check{stroke-width:2.4px;width:15px;height:15px}.d-selbar{background:var(--d-fill);border-radius:24px;padding:0 8px}.d-selbar strong{font-size:.925rem;font-weight:500}.d-selbar-actions{border-left:1px solid var(--line-strong);gap:2px;margin-left:8px;padding-left:8px;display:flex}.d-section{flex-direction:column;gap:10px;display:flex}.d-section-title{font-family:var(--font);letter-spacing:0;color:var(--ink);margin:4px 2px 0;font-size:.9rem;font-weight:500}.d-type{color:#fff;background:#8a8a85;border-radius:4px;flex:none;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.d-type b{letter-spacing:.02em;font-size:.5rem;font-weight:800;font-family:var(--font)}.d-type svg{width:16px;height:16px}.d-type[data-kind=folder]{background:0 0}.d-type[data-kind=folder] svg{width:24px;height:24px;fill:var(--sun);stroke:#c9a800;stroke-width:1px}.d-type[data-kind=pdf]{background:#d93025}.d-type[data-kind=image]{background:#e8710a}.d-type[data-kind=sheet]{background:#188038}.d-type[data-kind=text]{background:#4a6ee0}.d-type[data-kind=scans]{background:var(--sun);color:var(--on-sun);border-radius:6px}.d-type[data-kind=facture]{background:var(--ink)}.d-type[data-kind=ticket]{background:var(--ticket)}.d-type[data-kind=document]{background:var(--document)}.d-type-small,.d-type-small[data-kind=folder] svg{width:20px;height:20px}.d-type-large{border-radius:10px;width:64px;height:64px}.d-type-large b{font-size:1rem}.d-type-large svg{width:34px;height:34px}.d-edit{border:1px solid var(--line-strong);background:var(--surface);width:32px;height:32px;color:var(--ink);cursor:pointer;border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.d-edit:hover{background:var(--sun);border-color:var(--sun);color:var(--on-sun)}.d-edit svg{width:16px;height:16px}.d-col-more{align-items:center;gap:4px}.d-more{width:36px;height:36px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.d-more:hover{background:var(--d-fill-hover)}.d-more svg{width:20px;height:20px}.d-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.925rem;font-weight:500;overflow:hidden}.d-item{cursor:pointer;-webkit-user-select:none;user-select:none;outline-offset:-2px}.d-chips{grid-template-columns:repeat(auto-fill,minmax(min(100%,155px),1fr));gap:10px;display:grid}.d-chip{background:var(--d-fill);text-align:left;border:0;border-radius:12px;align-items:center;gap:12px;min-width:0;height:50px;padding:0 4px 0 14px;display:flex}.d-chip[data-special]{padding-right:14px}.d-chip .d-name{flex:1}.d-chip:hover{background:var(--d-fill-hover)}.d-chip[data-selected]{background:var(--d-select)}.d-cards{grid-template-columns:repeat(auto-fill,minmax(min(100%,155px),1fr));gap:12px;display:grid}.d-card{background:var(--d-fill);border-radius:12px;flex-direction:column;min-width:0;padding:0 4px 10px;display:flex}.d-card:hover{background:var(--d-fill-hover)}.d-card[data-selected]{background:var(--d-select)}.d-card-head{align-items:center;gap:10px;height:48px;padding-left:10px;display:flex}.d-card-head .d-name{flex:1}.d-thumb{background:var(--surface);border-radius:8px;justify-content:center;align-items:center;height:150px;margin:0 6px;display:flex;overflow:hidden}.d-thumb img{object-fit:cover;width:100%;height:100%}.d-card-foot{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;padding:8px 10px 0;font-size:.78rem;overflow:hidden}.d-table{flex-direction:column;display:flex}.d-row{border-bottom:1px solid var(--line);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:60px;padding:0 4px 0 10px;display:grid}.d-row.d-item:hover{background:var(--d-fill)}.d-row[data-selected],.d-row[data-selected]:hover{background:var(--d-select);border-bottom-color:#0000;border-radius:10px}.d-col-name{align-items:center;gap:14px;min-width:0;display:flex}.d-name-wrap{flex-direction:column;gap:1px;min-width:0;display:flex}.d-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.d-col-owner,.d-col-date,.d-col-size{color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;font-size:.875rem;display:none;overflow:hidden}.d-col-more{justify-content:flex-end;display:flex}.d-row-chevron{width:18px;height:18px;color:var(--muted);margin-right:9px}.d-head{-webkit-user-select:none;user-select:none;min-height:44px;display:none}.d-th{font:inherit;color:var(--ink-2);text-align:left;background:0 0;border:0;align-items:center;gap:4px;padding:0;font-size:.85rem;font-weight:500;display:inline-flex}button.d-th{cursor:pointer}button.d-th:hover,.d-th[data-active]{color:var(--ink)}.d-empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:6px;margin-top:24px;padding:48px 20px;display:flex}.d-empty svg{background:var(--d-fill);width:52px;height:52px;color:var(--ink-2);border-radius:50%;margin-bottom:8px;padding:12px}.d-empty strong{font-family:var(--font-title);color:var(--ink);font-size:1.1rem;font-weight:500}.d-empty-drop{border:2px dashed var(--line-strong);border-radius:16px}.d-drop{z-index:40;border:3px solid var(--sun);background:color-mix(in srgb, var(--sun) 12%, transparent);font-family:var(--font-title);pointer-events:none;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:10px;font-weight:500;display:flex;position:fixed;inset:12px}.d-drop svg{width:40px;height:40px}.d-fab{right:calc(var(--safe-right) + 18px);bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 18px);z-index:18;background:var(--surface);width:58px;height:58px;color:var(--ink);cursor:pointer;border:0;border-radius:18px;justify-content:center;align-items:center;display:flex;position:fixed;box-shadow:0 2px 6px #26262633,0 6px 18px #26262629}.d-fab svg{stroke-width:2.4px;width:28px;height:28px;color:var(--ink)}.d-menu{z-index:80;background:var(--surface);border-radius:10px;min-width:230px;padding:6px 0;position:fixed;box-shadow:0 2px 6px #00000026,0 8px 24px #00000026}.d-menu button{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;width:100%;height:38px;padding:0 18px 0 14px;font-size:.9rem;display:flex}.d-menu button:hover{background:var(--d-fill)}.d-menu-icon{width:20px;height:20px;color:var(--ink-2);display:inline-flex}.d-menu-icon svg{width:20px;height:20px}.d-menu hr{border:0;border-top:1px solid var(--line);margin:6px 0}.d-danger,.d-danger .d-menu-icon{color:var(--danger)}.d-sheet-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:4px 0 8px;display:grid}.d-sheet-grid button{cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:8px;font-size:.875rem;font-weight:500;display:flex}.d-sheet-icon{border:1px solid var(--line-strong);border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;display:flex}.d-sheet-icon svg{width:26px;height:26px}.d-sheet-icon[data-sun]{background:var(--sun);border-color:var(--sun);color:var(--on-sun)}.d-sheet-list{flex-direction:column;display:flex}.d-sheet-list button{text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:18px;min-height:52px;padding:0 4px;font-size:1rem;display:flex}.d-sheet-list svg{width:22px;height:22px;color:var(--ink-2)}.d-sheet-list .d-danger svg{color:var(--danger)}.d-up-done{background:var(--ok);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;display:flex}.d-up-done svg{stroke-width:3px;width:15px;height:15px}.d-up-error{color:var(--danger);font-size:.8rem;font-weight:600}.d-up-ring{background:conic-gradient(var(--ink) var(--p,0%), var(--line) 0);border-radius:50%;width:22px;height:22px;-webkit-mask:radial-gradient(circle,#0000 7px,#000 8px);mask:radial-gradient(circle,#0000 7px,#000 8px)}@media (width>=960px){.drive{max-width:1400px}.d-crumb-back{display:none}.d-chips{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}.d-cards{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}.d-search{max-width:720px}.d-crumbs{font-size:1.375rem}.d-head{display:grid}.d-row{grid-template-columns:minmax(0,1fr) 150px 180px 120px 84px;gap:16px;min-height:48px;padding:0 4px 0 16px}.d-col-owner,.d-col-date,.d-col-size{display:block}.d-row .d-sub{display:none}.drive[data-searching] .d-row .d-sub{display:block}.d-row .d-more,.d-chip .d-more,.d-card .d-more{opacity:0}.d-item:hover .d-more,.d-item[data-selected] .d-more,.d-more:focus-visible{opacity:1}}.depenses{--x-fill:color-mix(in srgb, var(--ink) 5%, var(--surface));gap:16px}.depenses[data-selecting]{padding-bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 190px)}.x-head{flex-wrap:wrap;align-items:center;gap:12px 16px;display:flex}.x-head h1{flex:1;font-size:1.75rem}.x-kind{background:var(--x-fill);border-radius:12px;padding:3px;display:inline-flex}.x-kind button{min-height:38px;font-family:var(--font-title);color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:9px;padding:0 18px;font-weight:500}.x-kind button[aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.x-stats{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;display:grid}.x-stat{border:1px solid var(--line);background:var(--surface);text-align:left;cursor:pointer;border-radius:16px;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;padding:14px 16px;display:flex}.x-stat:hover{border-color:var(--line-strong)}.x-stat:first-child{background:var(--sun);border-color:var(--sun);color:var(--on-sun)}.x-stat:first-child .x-stat-label,.x-stat:first-child .x-stat-sub{color:var(--on-sun)}.x-stat[data-tone=late]{border-color:color-mix(in srgb, var(--danger) 45%, var(--line));background:var(--danger-bg)}.x-stat[data-tone=late] .x-stat-value,.x-stat[data-tone=late] .x-stat-label{color:var(--danger)}.x-stat-label{color:var(--ink-2);font-size:.8rem;font-weight:500}.x-stat-value{font-family:var(--font-title);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:1.25rem;font-weight:600;line-height:1.2;overflow:hidden}.x-stat-sub{color:var(--muted);font-size:.75rem}.x-filters{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.x-seg{scrollbar-width:none;gap:6px;max-width:100%;display:flex;overflow-x:auto}.x-seg::-webkit-scrollbar{display:none}.x-seg button{border:1px solid var(--line-strong);background:var(--surface);min-height:36px;color:var(--ink-2);cursor:pointer;white-space:nowrap;border-radius:18px;flex:none;padding:0 14px;font-size:.875rem;font-weight:500}.x-seg button .num{color:var(--muted);margin-left:4px;font-weight:600}.x-seg button[aria-pressed=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.x-seg button[aria-pressed=true] .num{color:inherit;opacity:.75}.x-search{background:var(--x-fill);height:40px;color:var(--muted);border-radius:20px;flex:220px;align-items:center;gap:8px;padding:0 14px;display:flex}.x-search svg{flex:none;width:18px;height:18px}.x-search input{background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:.95rem}.x-group{flex-direction:column;gap:8px;display:flex}.x-group-head{align-items:center;gap:10px;padding:0 4px 0 12px;display:flex}.x-group-head h2{font-size:.95rem;font-weight:600}.x-group[data-tone=late] .x-group-head h2{color:var(--danger)}.x-group-count{color:var(--muted);background:var(--x-fill);border-radius:999px;padding:1px 8px;font-size:.75rem;font-weight:700}.x-group-total{color:var(--ink-2);margin-left:auto;font-size:.875rem;font-weight:600}.x-list{background:var(--surface);box-shadow:var(--shadow);border-radius:16px;margin:0;padding:0;list-style:none;overflow:hidden}.x-group[data-tone=late] .x-list{box-shadow:inset 4px 0 0 var(--danger), var(--shadow)}.x-row{align-items:center;gap:4px;padding:0 10px 0 12px;display:flex}.x-row+.x-row{border-top:1px solid var(--line)}.x-row[data-checked]{background:var(--sun-soft)}.x-check{border:2px solid var(--line-strong);background:var(--surface);width:24px;height:24px;color:var(--on-sun);cursor:pointer;border-radius:7px;flex:none;justify-content:center;align-items:center;padding:0;display:flex}.x-check[aria-checked=true]{background:var(--sun);border-color:var(--sun)}.x-check svg{stroke-width:3px;width:16px;height:16px}.x-open{cursor:pointer;outline-offset:-2px;flex:1;align-items:center;gap:12px;min-width:0;padding:12px 6px 12px 10px;display:flex}.x-thumb{border:1px solid var(--line);background:var(--surface-2);border-radius:6px;flex:none;justify-content:center;align-items:center;width:40px;height:52px;display:flex;position:relative;overflow:hidden}.x-thumb img{object-fit:cover;width:100%;height:100%}.x-thumb .spinner{position:absolute}.x-thumb[data-stack]{overflow:visible}.x-thumb[data-stack] img{border-radius:5px}.x-thumb[data-stack="1"]{box-shadow:4px -4px 0 -1px var(--surface-2), 4px -4px 0 0 var(--line-strong)}.x-thumb[data-stack="2"]{box-shadow:4px -4px 0 -1px var(--surface-2), 4px -4px 0 0 var(--line-strong), 8px -8px 0 -1px var(--surface-2), 8px -8px 0 0 var(--line)}.x-row[data-family]{flex-wrap:wrap}.x-steps{flex-direction:column;flex-basis:100%;gap:2px;margin:-6px 0 10px 57px;padding:2px 0 0;list-style:none;display:flex}.x-steps>li{padding-left:18px;position:relative}.x-steps>li:before{content:"";border-left:2px solid var(--line-strong);position:absolute;top:-6px;bottom:0;left:0}.x-steps>li:last-child:before{height:calc(50% + 6px);bottom:auto}.x-steps>li:after{content:"";border-top:2px solid var(--line-strong);width:12px;position:absolute;top:50%;left:0}.x-step{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:5px 8px;font-size:.8rem;display:flex}.x-step:hover{border-color:var(--line-strong)}.x-steps>li[data-current] .x-step{border-color:color-mix(in srgb, var(--sun) 60%, var(--line))}.x-step-thumb{border:1px solid var(--line);background:var(--surface);border-radius:4px;flex:none;justify-content:center;align-items:center;width:22px;height:28px;display:flex;position:relative;overflow:hidden}.x-step-thumb img{object-fit:cover;width:100%;height:100%}.x-step-thumb .spinner{position:absolute}.x-step-label{font-weight:700}.x-no{color:var(--ink);letter-spacing:.01em;font-weight:600}.x-step-date{color:var(--muted)}.x-step-amount{margin-left:auto;font-weight:600}.x-step-amount small{color:var(--muted);font-weight:500}.x-main{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.x-title{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.x-meta{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.x-tags{flex-wrap:wrap;align-items:center;gap:6px;margin-top:2px;display:flex}.x-due,.x-status,.x-date,.x-card{background:var(--x-fill);color:var(--ink-2);white-space:nowrap;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:600}.x-due[data-tone=late]{background:var(--danger);color:#fff}.x-due[data-tone=soon]{background:var(--warn-bg);color:var(--warn-ink)}.x-status[data-suivi=paye],.x-status[data-suivi=rembourse]{background:var(--ok-bg);color:var(--ok)}.x-date{color:var(--muted);background:0 0;padding:0;font-weight:500}.x-plan{align-items:center;gap:8px;min-width:0;margin-top:2px;display:flex}.x-plan-dots{flex:none;gap:3px;display:inline-flex}.x-plan-dots span{background:var(--line-strong);border-radius:3px;width:14px;height:6px}.x-plan-dots span[data-state=paid]{background:var(--ok)}.x-plan-dots span[data-state=next]{background:var(--sun)}.x-plan-dots span[data-state=late]{background:var(--danger)}.x-plan-text{color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}.x-amount{font-family:var(--font-title);white-space:nowrap;flex-direction:column;flex:none;align-items:flex-end;font-size:1rem;font-weight:600;display:flex}.x-amount small,.x-amount-sub{font-family:var(--font);color:var(--muted);font-size:.7rem;font-weight:500}.x-edit{margin-left:4px}.x-bar{left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 12px);z-index:30;background:var(--primary);color:var(--on-primary);border-radius:18px;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 14px;display:flex;position:fixed;box-shadow:0 8px 28px #00000047}.x-bar-info{flex-direction:column;flex:140px;min-width:0;display:flex}.x-bar-info strong{font-family:var(--font-title);font-weight:600}.x-bar-info span{opacity:.85;font-size:.85rem}.x-bar-actions{flex-wrap:wrap;gap:8px;display:flex}.x-bar .btn{min-height:42px;color:var(--on-primary);border-color:color-mix(in srgb, var(--on-primary) 40%, transparent);background:0 0}.x-bar .btn-primary{background:var(--on-primary);color:var(--primary);border-color:var(--on-primary)}.x-bar .btn-sun{background:var(--sun);border-color:var(--sun);color:var(--on-sun)}.x-bar .x-bar-delete{background:var(--danger);border-color:var(--danger);color:var(--surface);font-weight:600}.x-selectall{align-items:center;gap:10px;padding:0 4px 0 12px;display:flex}.x-danger{border-radius:var(--radius-sm);border:2px solid var(--danger);background:var(--danger-bg);color:var(--ink);flex-direction:column;gap:8px;padding:14px 16px;display:flex}.x-danger>strong{color:var(--danger);font-size:1.05rem}.x-danger ul{flex-direction:column;gap:4px;margin:0;padding-left:18px;display:flex}.x-danger-confirm{margin-top:14px}.btn-danger-solid{background:var(--danger);border-color:var(--danger);color:var(--surface);font-weight:600}.btn-danger-solid:disabled{opacity:.45}.x-empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:6px;padding:48px 20px;display:flex}.x-empty-icon{background:var(--ok-bg);width:56px;height:56px;color:var(--ok);border-radius:50%;justify-content:center;align-items:center;margin-bottom:6px;display:flex}.x-empty-icon svg{stroke-width:2.4px;width:28px;height:28px}.x-empty strong{font-family:var(--font-title);color:var(--ink);font-size:1.1rem;font-weight:500}@media (width<=600px){.x-stats{grid-template-columns:1fr 1fr}.x-stats .x-stat:first-child{grid-column:1/-1}.x-thumb{display:none}.x-row{padding-left:10px}.x-steps{margin-left:26px}.x-step-thumb,.x-step-fee{display:none}}@media (width>=960px){.depenses{max-width:1180px;padding-left:36px;padding-right:36px}.depenses[data-selecting]{padding-bottom:140px}.x-head h1{font-size:2rem}.x-bar{left:calc(var(--sidebar-w) + 36px);max-width:1108px;bottom:20px;right:36px}}.settings-head{flex-direction:column;gap:2px;display:flex}.settings-intro{color:var(--muted);max-width:60ch;margin:0;font-size:.92rem}.settings-note{align-items:flex-start;gap:8px;margin:0;display:flex}.settings-note svg{flex:none;width:18px;height:18px;margin-top:1px}.menu-icon[data-tone=sun]{--tone:var(--on-sun);background:var(--sun)}.menu-row:hover{background:var(--surface-2)}.menu-row .badge{background:var(--danger);color:#fff}.profile-card{border:1px solid var(--line);border-radius:var(--radius-card);background:radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--sun) 24%, transparent) 0, transparent 50%), var(--surface);width:100%;box-shadow:var(--shadow);text-align:left;color:var(--ink);cursor:pointer;align-items:center;gap:14px;padding:16px;display:flex}.profile-big{background:radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--sun) 24%, transparent) 0, transparent 50%), var(--surface);flex-direction:row;align-items:center;gap:16px}.account-avatar-big{background:var(--sun);width:60px;height:60px;color:var(--on-sun);box-shadow:0 0 0 3px var(--surface), 0 0 0 5px var(--sun);font-size:1.5rem}.profile-text{flex-direction:column;flex:1;align-items:flex-start;gap:2px;min-width:0;display:flex}.profile-text strong{font-family:var(--font-title);font-size:1.15rem;font-weight:600}.profile-text>span:not(.role-chip){color:var(--muted);text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.85rem;overflow:hidden}.role-chip{background:color-mix(in srgb, var(--ink) 8%, var(--surface));color:var(--ink-2);border-radius:999px;margin-top:4px;padding:2px 10px;font-size:.72rem;font-weight:700}.role-chip[data-admin]{background:var(--ink);color:var(--surface)}.opt-cards{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;display:grid}.opt-card{border:1.5px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);color:var(--ink);text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:6px;min-width:0;padding:14px;display:flex}.opt-card:hover{border-color:var(--line-strong)}.opt-card[aria-checked=true]{border-color:var(--sun);box-shadow:0 0 0 3px color-mix(in srgb, var(--sun) 40%, transparent)}.opt-top{justify-content:space-between;align-items:center;width:100%;display:flex}.opt-icon{background:color-mix(in srgb, var(--ink) 6%, var(--surface));border-radius:10px;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.opt-icon svg{width:20px;height:20px}.opt-card[aria-checked=true] .opt-icon{background:var(--sun-soft)}.opt-radio{border:2px solid var(--line-strong);width:22px;height:22px;color:var(--on-sun);border-radius:50%;justify-content:center;align-items:center;display:flex}.opt-radio svg{stroke-width:3px;opacity:0;width:14px;height:14px}.opt-card[aria-checked=true] .opt-radio{background:var(--sun);border-color:var(--sun)}.opt-card[aria-checked=true] .opt-radio svg{opacity:1}.opt-card strong{font-family:var(--font-title);flex-wrap:wrap;align-items:center;gap:6px;font-weight:500;display:flex}.opt-tag{font-family:var(--font);background:var(--ok-bg);color:var(--ok);border-radius:999px;padding:1px 8px;font-size:.68rem;font-weight:700}.opt-text{color:var(--muted);font-size:.82rem;line-height:1.35}.theme-preview{border:1px solid var(--line);--pv-bg:#f6f6f3;--pv-card:#fff;--pv-ink:#262626;background:linear-gradient(var(--sun), var(--sun)) 10px 12px / 22px 6px no-repeat, linear-gradient(var(--pv-ink), var(--pv-ink)) 10px 26px / 40% 5px no-repeat, linear-gradient(color-mix(in srgb, var(--pv-ink) 30%, transparent), color-mix(in srgb, var(--pv-ink) 30%, transparent)) 10px 37px / 55% 4px no-repeat, linear-gradient(var(--pv-card), var(--pv-card)) 8px 20px / calc(100% - 16px) 36px no-repeat, var(--pv-bg);border-radius:10px;width:100%;height:64px;margin-bottom:4px}.theme-preview[data-preview=dark]{--pv-bg:#1b1b1a;--pv-card:#262626;--pv-ink:#f2f2ee}.theme-preview[data-preview=auto]{background:linear-gradient(var(--sun), var(--sun)) 10px 12px / 22px 6px no-repeat, linear-gradient(90deg, #262626 0 50%, #f2f2ee 50% 100%) 10px 26px / 40% 5px no-repeat, linear-gradient(105deg, #fff 0 50%, #262626 50% 100%) 8px 20px / calc(100% - 16px) 36px no-repeat, linear-gradient(105deg, #f6f6f3 0 50%, #1b1b1a 50% 100%)}.add-card{border:1.5px dashed var(--line-strong);border-radius:var(--radius);background:var(--surface-2);align-items:center;gap:10px;padding:8px 8px 8px 12px;display:flex}.add-card .input{min-width:0;box-shadow:none;background:0 0;border-color:#0000;flex:1}.add-card-icon{background:var(--sun);width:32px;height:32px;color:var(--on-sun);border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.add-card-icon svg{stroke-width:2.4px;width:18px;height:18px}.add-card .btn{flex:none}.settings-page .entity-card{gap:14px;padding:16px}.settings-page .entity-card+.entity-card{border-top:1px solid var(--line)}.entity-head{align-items:center;gap:12px;display:flex}.entity-avatar{background:var(--sun);width:44px;height:44px;color:var(--on-sun);font-family:var(--font-title);border-radius:12px;flex:none;justify-content:center;align-items:center;font-size:1.2rem;font-weight:700;display:flex}.entity-title{flex-direction:column;flex:1;min-width:0;display:flex}.input-title{width:100%;min-height:34px;font-family:var(--font-title);background:0 0;border:1px solid #0000;border-radius:8px;margin-left:-6px;padding:2px 6px;font-size:1.1rem;font-weight:600}.input-title:hover{border-color:var(--line)}.input-title:focus{border-color:var(--focus);background:var(--surface);outline:none}.input-with-state{position:relative}.input-with-state .input{width:100%;padding-right:42px}.input-ok{background:var(--ok-bg);width:24px;height:24px;color:var(--ok);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.input-ok svg{stroke-width:3px;width:15px;height:15px}.cat-part{margin:22px 0 4px;font-size:1rem}.cat-part-help{margin:0 0 10px}.cat-group{margin-bottom:14px}.cat-group-head{align-items:center;gap:10px;min-height:36px;padding:0 2px 6px;display:flex}.cat-group-head strong{font-size:.92rem}.cat-group-edit{width:30px;height:30px;margin-left:auto}.cat-group-edit svg{width:15px;height:15px}.cat-group-input{max-width:320px}.cat-account-tag{font-variant-numeric:tabular-nums;color:var(--muted);font-size:.78rem}.cat-account-tag[data-missing]{color:var(--warn-ink)}.cat-account-fields{grid-template-columns:120px minmax(0,1fr);gap:10px;display:grid}.cat-account-fields>div{flex-direction:column;gap:4px;display:flex}.cat-add{flex-wrap:wrap}.cat-add .select{width:auto;min-width:180px}.cat-add .cat-account{width:100px}.cat-archived{margin-top:22px}.cat-archived summary{cursor:pointer;color:var(--muted);margin-bottom:8px;font-size:.9rem}@media (width<=640px){.cat-add>.input,.cat-add>.select{flex:100%;width:100%}.cat-account-fields{grid-template-columns:1fr}}.cat-tools{flex-direction:column;gap:10px;display:flex}.cat-tools .x-search{background:color-mix(in srgb, var(--ink) 5%, var(--surface));flex:none}.cat-list{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);margin:0;padding:0;list-style:none;overflow:hidden}.cat-item+.cat-item{border-top:1px solid var(--line)}.cat-item[data-open]{background:var(--surface-2)}.cat-summary{width:100%;min-height:60px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:10px 12px 10px 14px;display:flex}.cat-summary:hover{background:var(--surface-2)}.cat-icon{width:34px;height:34px;color:var(--ok);background:var(--ok-bg);border-radius:10px;flex:none;justify-content:center;align-items:center;display:flex}.cat-icon svg{width:18px;height:18px}.cat-main{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.cat-main strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cat-types{flex-wrap:wrap;gap:4px;display:flex}.cat-type{background:var(--document-bg);color:var(--document);border-radius:999px;padding:1px 7px;font-size:.68rem;font-weight:600}.cat-type[data-type=facture]{background:var(--facture-bg);color:var(--facture)}.cat-type[data-type=ticket]{background:var(--ticket-bg);color:var(--ticket)}.cat-count{text-align:center;min-width:28px;color:var(--muted);background:color-mix(in srgb, var(--ink) 6%, var(--surface));border-radius:999px;flex:none;padding:2px 8px;font-size:.78rem;font-weight:700}.cat-chevron{transition:transform .15s}.cat-item[data-open] .cat-chevron{transform:rotate(90deg)}.cat-editor{flex-direction:column;gap:14px;padding:4px 14px 14px 60px;display:flex}.cat-editor-foot{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding-top:10px;display:flex}.btn-danger-ghost{color:var(--danger);border-color:color-mix(in srgb, var(--danger) 35%, var(--line));background:var(--surface)}.cat-empty{text-align:center;padding:20px}.tpl-card{gap:10px}.tpl-head{justify-content:space-between;align-items:center;display:flex}.type-badge{font-family:var(--font-title);background:var(--document-bg);color:var(--document);border-radius:999px;padding:3px 12px;font-size:.85rem;font-weight:600}.type-badge[data-type=facture]{background:var(--facture-bg);color:var(--facture)}.type-badge[data-type=ticket]{background:var(--ticket-bg);color:var(--ticket)}.tpl-input{font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.9rem}.tpl-card .token{font-family:var(--font);border-radius:999px;padding:4px 10px;font-size:.78rem;font-weight:500}.tpl-card .token:hover{border-color:var(--sun);background:var(--sun-soft)}.tpl-preview{border-radius:var(--radius-sm);background:color-mix(in srgb, var(--ink) 4%, var(--surface));align-items:center;gap:8px;min-width:0;padding:10px 12px;font-size:.85rem;display:flex}.tpl-preview svg{width:18px;height:18px;color:var(--danger);flex:none}.tpl-preview span{overflow-wrap:anywhere}.tokens-help summary{cursor:pointer;font-weight:500}.tokens-help ul{flex-direction:column;gap:4px;margin:0;padding-left:18px;display:flex}.storage-card{gap:14px}.storage-figures{flex-wrap:wrap;gap:32px;display:flex}.storage-figures>div{flex-direction:column;display:flex}.storage-big{font-family:var(--font-title);font-size:1.6rem;font-weight:600;line-height:1.15}.status-pill{background:var(--warn-bg);color:var(--warn-ink);border-radius:999px;align-self:flex-start;align-items:center;gap:6px;padding:4px 10px;font-size:.78rem;font-weight:600;display:inline-flex}.status-pill[data-ok]{background:var(--ok-bg);color:var(--ok)}.status-pill svg{width:15px;height:15px}.action-tiles{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.action-tile{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);color:var(--ink);text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:4px;padding:16px;display:flex}.action-tile:hover:not(:disabled){border-color:var(--line-strong)}.action-tile:disabled{opacity:.55;cursor:default}.action-tile svg{width:24px;height:24px;margin-bottom:4px}.action-tile span{color:var(--muted);overflow-wrap:anywhere;font-size:.82rem}.action-tile[data-primary]{background:var(--sun);border-color:var(--sun);color:var(--on-sun)}.action-tile[data-primary] span{color:var(--on-sun);opacity:.75}@media (width<=600px){.cat-editor{padding-left:14px}}@media (width>=960px){.settings-desk{grid-template-columns:290px minmax(0,1fr);align-items:start;gap:40px;max-width:1180px;padding-left:36px;padding-right:36px;display:grid}.settings-side{flex-direction:column;gap:16px;display:flex;position:sticky;top:24px}.settings-side h1{font-size:2rem}.settings-nav{flex-direction:column;gap:14px;display:flex}.settings-nav-group{flex-direction:column;gap:2px;display:flex}.settings-nav-group .section-title{padding:0 10px 4px}.settings-nav .menu-row{border-radius:12px;min-height:52px;padding:6px 10px}.settings-nav .menu-row+.menu-row{border-top:0}.settings-nav .menu-row[aria-current=page]{background:var(--sun-soft)}.settings-nav .menu-row[aria-current=page] strong{font-weight:700}.settings-nav .menu-icon{width:32px;height:32px}.settings-nav .menu-icon svg{width:18px;height:18px}.settings-nav .menu-text span{font-size:.78rem}.settings-nav .menu-chevron{display:none}.settings-nav .settings-footer{text-align:left;padding:0 10px}.settings-content{flex-direction:column;gap:22px;min-width:0;max-width:760px;display:flex}.settings-content .settings-head h1{font-size:1.6rem}}.opt-cards:has(.theme-preview){grid-template-columns:repeat(3,minmax(0,1fr))}@media (width<=600px){:is(.opt-cards:has(.theme-preview) .opt-text,.opt-cards:has(.theme-preview) .opt-icon){display:none}.opt-cards:has(.theme-preview) .opt-card{padding:10px}.opt-cards:has(.theme-preview) .theme-preview{height:52px}.opt-cards:has(.theme-preview) .opt-top{display:none}.opt-cards:has(.theme-preview) strong{font-size:.9rem}}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .profile-card,:root:not([data-theme=light]) .profile-big{background:radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--sun) 16%, transparent) 0, transparent 50%), var(--surface)}}:root[data-theme=dark] .profile-card,:root[data-theme=dark] .profile-big{background:radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--sun) 16%, transparent) 0, transparent 50%), var(--surface)}.ops{--d-fill:color-mix(in srgb, var(--ink) 5%, var(--surface));left:calc(var(--safe-left) + 12px);right:calc(var(--safe-right) + 12px);bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 12px);z-index:46;background:var(--surface);border:1px solid var(--line);border-radius:14px;position:fixed;overflow:hidden;box-shadow:0 6px 28px #00000038}.ops-head{background:var(--d-fill);align-items:center;gap:8px;padding:6px 6px 6px 16px;display:flex}.ops-head .grow{flex:1;font-size:.925rem;font-weight:500}.ops-list{max-height:min(320px,45vh);margin:0;padding:4px 0;list-style:none;overflow-y:auto}.ops-list>li{align-items:center;gap:12px;min-height:52px;padding:6px 14px 6px 16px;display:flex}.ops-list>li+li{border-top:1px solid var(--line)}.ops-icon{background:var(--d-fill);width:32px;height:32px;color:var(--ink-2);border-radius:9px;flex:none;justify-content:center;align-items:center;display:flex}.ops-icon svg{width:17px;height:17px}.ops-icon[data-kind=delete]{color:var(--danger);background:var(--danger-bg)}.ops-icon[data-kind=upload]{background:var(--sun-soft);color:var(--ink)}.ops-text{flex-direction:column;flex:1;align-items:flex-start;gap:1px;min-width:0;display:flex}.ops-title{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.875rem;font-weight:500;overflow:hidden}.ops-where{color:var(--muted);font-weight:400}.ops-sub{max-width:100%;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;overflow:hidden}li[data-status=error] .ops-sub{color:var(--danger);white-space:normal}.ops-more{font-size:.75rem}.ops-errors{color:var(--danger);overflow-wrap:anywhere;margin:4px 0 0;padding-left:16px;font-size:.72rem}.ops-state{flex:none;justify-content:center;align-items:center;width:28px;height:28px;display:flex;position:relative}.ops-cancel{background:var(--surface);color:var(--ink-2);cursor:pointer;opacity:0;border:0;border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.ops-cancel svg{width:16px;height:16px}.ops-list>li:hover .ops-cancel,.ops-cancel:focus-visible{opacity:1;background:var(--d-fill)}@media (hover:none){.ops-cancel{opacity:1;background:0 0}.ops-state .d-up-ring,.ops-state .ops-spinner{display:none}}.ops-spinner{width:20px;height:20px}.ops-badge{color:var(--muted);font-size:.72rem}@media (width>=960px){.ops{border-bottom:0;border-radius:14px 14px 0 0;width:400px;bottom:0;left:auto;right:24px}}body:has(.x-bar) .ops{bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 150px);max-height:40vh;overflow-y:auto}@media (width>=960px){body:has(.x-bar) .ops{border-bottom:1px solid var(--line);border-radius:14px;bottom:104px}}.d-item[data-drop]{outline:2px solid var(--sun);outline-offset:-2px;background:var(--sun-soft)}.d-item[data-cut]{opacity:.5}.d-menu-key{color:var(--muted);margin-left:auto;padding-left:24px;font-size:.75rem}.d-menu button:disabled{opacity:.45;cursor:default}.ops-spinner{border-width:3px}.d-barwrap{position:relative}.d-barwrap[data-selecting]>.d-bar{visibility:hidden}.d-barwrap>.d-selbar{z-index:2;position:absolute;top:50%;left:0;right:0;transform:translateY(-50%)}.d-crumbs{flex-wrap:nowrap;overflow:hidden}.d-crumb-wrap{flex-shrink:1;min-width:0}.d-crumb{text-overflow:ellipsis;white-space:nowrap;max-width:200px;overflow:hidden}.d-crumb-here{flex-shrink:0;max-width:min(320px,45%)}.d-crumb-here>:not(svg){text-overflow:ellipsis;overflow:hidden}.d-bar-tools{flex-shrink:0}@media (width>=960px) and (width<=1279px){.d-row{grid-template-columns:minmax(0,1fr) 130px 90px 84px;gap:12px}.d-col-owner{display:none!important}}.d-crumb-sep{flex-shrink:0}.d-crumbs>.d-crumb,.d-crumb-fixed,.d-crumb-fixed>.d-crumb{flex-shrink:0;max-width:none}.d-loading{opacity:0;margin:32px auto;animation:.9s linear infinite spin,.2s .35s forwards d-appear}@keyframes d-appear{to{opacity:1}}.d-lock{vertical-align:-1px;width:13px;height:13px;color:var(--muted);flex:none;margin-left:6px}.d-fixed-note{color:var(--muted);align-items:center;gap:6px;margin-left:8px;font-size:.8rem;display:inline-flex}.d-fixed-note svg,.d-fixed-text svg{width:14px;height:14px}.d-fixed-text{align-items:flex-start;gap:8px;margin:8px 4px 0;display:flex}.t-row{border-top:1px solid var(--line);align-items:flex-start;gap:12px;padding:12px 14px;display:flex}.t-row:first-child{border-top:0}.t-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.t-actions .btn-primary{margin-left:auto}.dialog-wide{max-width:620px;max-height:calc(100dvh - 32px);overflow-y:auto}@media (width<=600px){.dialog-wide{max-height:92dvh}.t-actions .btn-primary{flex:1}}@media (width>=601px){.dialog-backdrop:has(.dialog-wide){align-items:center}}.dialog.dialog-picker{--x-fill:color-mix(in srgb, var(--ink) 5%, var(--surface));gap:12px;max-width:680px;height:min(760px,100dvh - 32px);overflow:hidden}.dialog-picker:focus{outline:none}@media (width>=601px){.dialog-backdrop:has(.dialog-picker){align-items:center}}@media (width<=600px){.dialog.dialog-picker{height:94dvh;max-height:94dvh;padding-bottom:0}}.dialog-picker h2{margin:0}.pk-intro{color:var(--muted);margin:-6px 0 0;font-size:.88rem}.pk-search{border-radius:12px;flex:none;height:46px}.pk-search input{font-size:1rem}.pk-search input::-webkit-search-cancel-button{display:none}.pk-clear{width:28px;height:28px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.pk-clear svg{width:16px;height:16px}.pk-crumbs{flex-wrap:wrap;flex:none;align-items:center;gap:2px;min-height:36px;display:flex}.pk-crumb-wrap{align-items:center;gap:2px;display:inline-flex}.pk-crumb-wrap>svg{width:14px;height:14px;color:var(--muted)}.pk-crumb{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:6px 8px;font-size:.9rem;font-weight:500}.pk-crumb:hover{background:var(--x-fill);color:var(--ink)}.pk-crumb[aria-current]{color:var(--ink);font-weight:700}.pk-up{border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink);cursor:pointer;border-radius:10px;place-items:center;margin-right:4px;display:grid}.pk-up:hover{background:var(--x-fill)}.pk-up svg{width:18px;height:18px}.pk-body{overscroll-behavior:contain;flex:1;min-height:0;margin:0 -20px;padding:0 20px 12px;overflow-y:auto}.pk-heading{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);align-items:center;gap:6px;padding:12px 4px 6px;font-size:.75rem;font-weight:700;display:flex}.pk-heading svg{width:15px;height:15px;color:var(--focus)}.pk-suggest .pk-list{border-color:color-mix(in srgb, var(--sun) 60%, var(--line));background:color-mix(in srgb, var(--sun-soft) 45%, var(--surface))}.pk-list{border:1px solid var(--line);border-radius:14px;margin:0;padding:0;list-style:none;overflow:hidden}.pk-row{border-top:1px solid var(--line);align-items:center;gap:4px;padding-left:10px;transition:background .12s;display:flex}.pk-row:first-child{border-top:0}.pk-row:hover{background:var(--x-fill)}.pk-row[data-on]{background:var(--sun-soft)}.pk-check{border:2px solid var(--line-strong);background:var(--surface);color:#0000;cursor:pointer;border-radius:8px;flex:none;place-items:center;width:26px;height:26px;margin:9px;padding:0;transition:background .12s,border-color .12s,color .12s;display:grid}.pk-check svg{stroke-width:3px;width:17px;height:17px}.pk-row:hover .pk-check{border-color:var(--ink-2)}.pk-row[data-on] .pk-check,.pk-whole[data-on] .pk-check{background:var(--sun);border-color:var(--sun);color:var(--on-sun)}.pk-main{min-width:0;min-height:58px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:12px;padding:8px 4px;display:flex}.pk-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.pk-text strong,.pk-text span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pk-text strong{font-size:.95rem;font-weight:500}.pk-text span{color:var(--muted);font-size:.78rem}.pk-side{height:36px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;align-items:center;gap:4px;margin-right:8px;padding:0 10px;font-size:.82rem;font-weight:600;text-decoration:none;display:inline-flex}.pk-side:hover{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line)}.pk-side svg{width:16px;height:16px}@media (width<=600px){.pk-side-label{display:none}}.pk-whole{border:1.5px dashed var(--line-strong);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border-radius:14px;align-items:center;gap:6px;margin:4px 0 12px;padding:4px 14px 4px 2px;display:flex}.pk-whole:hover{border-color:var(--focus)}.pk-whole[data-on]{border-style:solid;border-color:var(--sun);background:var(--sun-soft)}.pk-whole .pk-text{padding:8px 0}.pk-empty{text-align:center;color:var(--muted);padding:32px 16px;line-height:1.5}.pk-spin{margin:40px auto}.pk-foot{border-top:1px solid var(--line);background:var(--surface-2);flex-direction:column;flex:none;gap:10px;margin:0 -20px -20px;padding:12px 20px 16px;display:flex}@media (width<=600px){.pk-foot{padding-bottom:calc(var(--safe-bottom) + 14px);margin-bottom:0}}.pk-tray{scrollbar-width:thin;gap:6px;padding-bottom:2px;display:flex;overflow-x:auto}.pk-chip{border:1px solid var(--line);background:var(--surface);border-radius:999px;flex:none;align-items:center;gap:6px;max-width:220px;height:32px;padding:0 4px 0 8px;font-size:.82rem;animation:.14s ease-out sb-pop;display:inline-flex}.pk-chip>span:not(.d-type){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pk-chip .d-type{width:18px;height:18px}.pk-chip button{width:24px;height:24px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;display:grid}.pk-chip button:hover{background:var(--danger-bg);color:var(--danger)}.pk-chip button svg{width:14px;height:14px}.pk-none{color:var(--muted);margin:0;font-size:.85rem}.pk-actions{justify-content:flex-end;gap:8px;display:flex}@media (width<=600px){.pk-actions .btn-primary{flex:1}}.d-sc{flex:none;display:inline-flex;position:relative}.d-sc-badge{background:var(--surface);width:14px;height:14px;color:var(--ink);box-shadow:0 0 0 1px var(--line-strong);border-radius:50%;place-items:center;display:grid;position:absolute;bottom:-4px;left:-4px}.d-sc-badge svg{stroke-width:2.6px;width:10px;height:10px}.d-also{background:color-mix(in srgb, var(--ink) 7%, transparent);height:18px;color:var(--ink-2);vertical-align:1px;cursor:pointer;border-radius:999px;flex:none;align-items:center;gap:2px;margin-left:6px;padding:0 6px 0 4px;font-size:.7rem;font-weight:700;display:inline-flex}.d-also:hover{background:var(--sun-soft);color:var(--ink)}.d-also svg{stroke-width:2.4px;width:12px;height:12px}.pk-recent-list{flex-wrap:wrap;gap:6px;padding:0 0 4px;display:flex}.pk-recent-chip{border:1.5px solid var(--line);background:var(--surface);max-width:260px;min-height:38px;color:var(--ink);cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:0 12px 0 8px;font-size:.86rem;font-weight:500;display:inline-flex}.pk-recent-chip span:not(.d-type){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.pk-recent-chip:hover{border-color:var(--line-strong)}.pk-recent-chip[aria-pressed=true]{border-color:var(--sun);background:var(--sun-soft);font-weight:600}.pk-recent-chip>svg{stroke-width:3px;width:15px;height:15px}.pk-check.pk-locked{color:var(--muted);cursor:default;background:0 0;border-style:dashed}.pk-check.pk-locked svg{stroke-width:2px;width:14px;height:14px}.pk-row[data-locked] .pk-text strong{color:var(--ink-2)}.pk-whole-locked{cursor:default;border-style:solid;border-color:var(--line);background:var(--x-fill)}.pk-whole-locked:hover{border-color:var(--line)}.pk-intro strong{color:var(--ink)}.lg{background:var(--bg);grid-template-columns:1fr;min-height:100dvh;display:grid}.lg-overlay{z-index:90;position:fixed;inset:0;overflow-y:auto}.lg-brand{color:#f2f2ee;background:#1f1f1e;display:none;position:relative;overflow:hidden}.lg-sun{filter:blur(2px);background:radial-gradient(circle,#f4d916 0% 38%,#f4d91659 56%,#f4d91600 72%);border-radius:50%;width:620px;height:620px;animation:1.2s cubic-bezier(.2,.8,.2,1) both lg-rise;position:absolute;bottom:-330px;left:50%;transform:translate(-50%)}@keyframes lg-rise{0%{opacity:.4;transform:translate(-50%,80px)}}.lg-brand-inner{flex-direction:column;gap:22px;max-width:440px;padding:56px 48px;display:flex;position:relative}.lg-logo{width:170px;height:auto}.lg-brand h2{font-family:var(--font-title);letter-spacing:-.01em;margin:0;font-size:1.9rem;font-weight:600;line-height:1.2}.lg-brand ul{color:#cfcfca;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.lg-brand li{align-items:center;gap:10px;display:flex}.lg-tick{background:var(--sun);color:#262626;border-radius:50%;flex:none;place-items:center;width:22px;height:22px;display:grid}.lg-tick svg{stroke-width:3px;width:13px;height:13px}.lg-panel{padding:calc(var(--safe-top) + 28px) calc(var(--safe-right) + 16px) calc(var(--safe-bottom) + 24px) calc(var(--safe-left) + 16px);flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex}.lg-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;flex-direction:column;gap:14px;width:100%;max-width:420px;padding:32px 28px;animation:.25s ease-out sb-pop;display:flex;box-shadow:0 1px 2px #2626260a,0 24px 60px -24px #26262640}.lg-logo-small img{width:120px;height:auto;margin-bottom:4px;display:block}.lg-card h1{font-family:var(--font-title);letter-spacing:-.01em;margin:0;font-size:1.6rem;font-weight:600}.lg-sub{color:var(--muted);margin:-6px 0 4px;font-size:.95rem;line-height:1.45}.lg-sub strong{color:var(--ink)}.lg-form{flex-direction:column;gap:14px;display:flex}.lg-field{flex-direction:column;gap:6px;display:flex}.lg-field>span:first-child{color:var(--ink-2);font-size:.85rem;font-weight:600}.lg-label-row{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.lg-forgot{color:var(--ink-2);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-size:.82rem;font-weight:600;text-decoration:underline}.lg-forgot:hover{color:var(--ink)}.lg-forgot-sub{margin:0}.lg-input{border:1.5px solid var(--line);background:var(--surface);height:50px;color:var(--muted);border-radius:14px;align-items:center;gap:10px;padding:0 6px 0 14px;transition:border-color .15s,box-shadow .15s;display:flex}.lg-input:focus-within{border-color:var(--focus);box-shadow:0 0 0 4px color-mix(in srgb, var(--sun) 30%, transparent)}.lg-input[data-bad]{border-color:var(--danger)}.lg-input>svg{flex:none;width:18px;height:18px}.lg-input input{min-width:0;height:100%;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border:0;outline:0;flex:1;padding:0;font-size:1rem}.lg-eye{width:38px;height:38px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;display:grid}.lg-eye:hover{background:color-mix(in srgb, var(--ink) 6%, transparent);color:var(--ink)}.lg-eye svg{width:19px;height:19px}.lg-match{width:18px;height:18px;color:var(--ok);stroke-width:3px;margin-right:10px}.lg-hint-bad{color:var(--danger);font-size:.8rem}.lg-meter{align-items:center;gap:5px;display:flex}.lg-meter i{background:var(--line);border-radius:3px;width:34px;height:5px;transition:background .2s}.lg-meter em{color:var(--muted);margin-left:6px;font-size:.78rem;font-style:normal}.lg-meter[data-score="1"] i:first-child{background:#e8a33d}.lg-meter[data-score="2"] i:nth-child(-n+2){background:#9cbf3b}.lg-meter[data-score="3"] i{background:var(--ok)}.lg-submit{background:var(--primary);height:52px;color:var(--on-primary);font-family:var(--font-title);cursor:pointer;border:0;border-radius:14px;place-items:center;font-size:1rem;font-weight:600;text-decoration:none;transition:transform .12s,opacity .15s;display:grid;box-shadow:0 6px 18px -6px #26262673}.lg-submit:hover:not(:disabled){opacity:.92}.lg-submit:active:not(:disabled){transform:scale(.99)}.lg-submit:disabled{opacity:.45;cursor:default;box-shadow:none}.lg-link-btn{margin-top:8px}.lg-spin{border:2.5px solid color-mix(in srgb, var(--on-primary) 35%, transparent);border-top-color:var(--on-primary);border-radius:50%;width:20px;height:20px;animation:.8s linear infinite spin}.lg-spin-dark{border-color:var(--line);border-top-color:var(--ink);margin:30px auto}.lg-alert{background:var(--danger-bg);color:var(--danger);border-radius:12px;padding:11px 14px;font-size:.88rem;line-height:1.4}.lg-alert-info{background:var(--warn-bg);color:var(--warn-ink)}.lg-help-toggle{color:var(--focus);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;align-self:center;font-size:.88rem;font-weight:600;text-decoration:underline}.lg-help{background:var(--surface-2);border:1px solid var(--line);color:var(--ink-2);border-radius:12px;flex-direction:column;gap:8px;padding:12px 14px;font-size:.85rem;line-height:1.45;display:flex}.lg-help p{margin:0}.lg-foot{color:var(--muted);margin:0;font-size:.8rem}.lg-foot a{color:var(--muted)}@media (width>=900px){.lg:not(.lg-solo){grid-template-columns:minmax(380px,44%) 1fr}.lg-brand{align-items:center;display:flex}.lg:not(.lg-solo) .lg-logo-small{display:none}}@media (width<=600px){.lg-card{border-radius:22px;padding:26px 20px}}.tm{flex-direction:column;gap:14px;display:flex}.tm-banner{align-items:flex-start;line-height:1.45}.tm-banner svg{flex:none;width:18px;height:18px;margin-top:2px}.tm-toolbar{align-items:center;gap:10px;display:flex}.tm-search{border:1px solid var(--line);background:var(--surface);min-width:0;height:44px;color:var(--muted);border-radius:999px;flex:1;align-items:center;gap:8px;padding:0 14px;display:flex}.tm-search:focus-within{border-color:var(--line-strong);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 18%, transparent)}.tm-search svg{flex:none;width:17px;height:17px}.tm-search input{min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:none;flex:1}.tm-invite{border-radius:999px;flex:none;align-items:center;gap:6px;height:44px;padding:0 18px;display:inline-flex}.tm-invite svg{width:17px;height:17px}.tm-filters{scrollbar-width:none;gap:6px;margin-top:-2px;display:flex;overflow-x:auto}.tm-filter{border:1px solid var(--line);background:var(--surface);height:32px;color:var(--ink-2);font:inherit;cursor:pointer;border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 12px;font-size:.85rem;font-weight:500;display:inline-flex}.tm-filter span{color:var(--muted);font-variant-numeric:tabular-nums}.tm-filter[aria-selected=true]{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}.tm-filter[aria-selected=true] span{color:inherit;opacity:.7}.tm-avatar{--av:hsl(var(--h,45) 55% 48%);object-fit:cover;background:color-mix(in srgb, var(--av) 20%, var(--surface));width:40px;height:40px;color:color-mix(in srgb, var(--av) 70%, var(--ink));letter-spacing:.02em;border-radius:50%;flex:none;place-items:center;font-size:.85rem;font-weight:700;display:grid}.tm-avatar[data-size=lg]{width:64px;height:64px;font-size:1.25rem}.tm-avatar[data-pending]{background:var(--surface-2);color:var(--muted);border:1.5px dashed var(--line-strong)}.tm-avatar svg{width:45%;height:45%}.tm-list{padding:4px}.tm-row{border-radius:14px;align-items:center;gap:6px;display:flex}.tm-row+.tm-row{border-top:1px solid var(--line)}.tm-row[data-busy]{opacity:.55;pointer-events:none}.tm-row-main{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:1;align-items:center;gap:12px;padding:12px 10px;display:flex}.tm-row-main:hover{background:var(--surface-2)}.tm-row-main:focus-visible{outline:2px solid var(--focus);outline-offset:-2px}.tm-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.tm-row-name{align-items:center;gap:6px;min-width:0;display:flex}.tm-row-name strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.tm-row-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;overflow:hidden}.tm-row-meta{color:var(--ink-2);flex-wrap:wrap;align-items:center;gap:6px;font-size:.8rem;display:flex}.tm-row-meta svg{width:13px;height:13px}.tm-sep:before{content:"·";color:var(--muted);margin-right:6px}.tm-dot{background:var(--line-strong);border-radius:50%;width:8px;height:8px}.tm-dot[data-on]{background:var(--ok)}.tm-warn{color:var(--danger);align-items:center;gap:5px;font-weight:500;display:inline-flex}.tm-you,.tm-role,.tm-chip{letter-spacing:.02em;border-radius:999px;flex:none;align-items:center;height:20px;padding:0 8px;font-size:.7rem;font-weight:700;display:inline-flex}.tm-you{background:var(--sun-soft);color:var(--ink)}.tm-role{background:var(--surface-2);color:var(--ink-2);border:1px solid var(--line)}.tm-chip-ok{background:var(--ok-bg);color:var(--ok)}.tm-chip-wait{background:var(--warn-bg);color:var(--warn-ink)}.tm-chevron{width:18px;height:18px;color:var(--muted);flex:none}.tm-quick{flex:none;align-items:center;gap:5px;margin-right:6px;display:inline-flex}.tm-quick svg{width:15px;height:15px}.tm-empty{text-align:center;margin:0;padding:18px 12px}.tm-skeleton{flex-direction:column;gap:10px;padding:12px;display:flex}.tm-skeleton i{background:linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2));background-size:200% 100%;border-radius:12px;height:44px;animation:1.2s linear infinite tm-shine}@keyframes tm-shine{to{background-position:-200% 0}}.tm-foot{align-items:flex-start;gap:8px;margin:0;display:flex}.tm-foot svg{flex:none;width:16px;height:16px;margin-top:2px}.tm-requests{border-radius:var(--radius-card);background:color-mix(in srgb, var(--sun) 12%, var(--surface));border:1px solid color-mix(in srgb, var(--sun) 45%, var(--line));flex-direction:column;gap:4px;padding:12px;display:flex}.tm-requests-head{flex-wrap:wrap;align-items:center;gap:4px 8px;padding:2px 4px 6px;display:flex}.tm-requests-head svg{width:18px;height:18px}.tm-request{border-top:1px solid color-mix(in srgb, var(--sun) 30%, var(--line));flex-wrap:wrap;align-items:center;gap:10px 12px;padding:10px 6px;display:flex}.tm-request[data-busy]{opacity:.55}.tm-request-actions{align-items:center;gap:6px;margin-left:auto;display:flex}.tm-request-actions .btn{align-items:center;gap:5px;display:inline-flex}.tm-request-actions svg{width:15px;height:15px}.tm-sheet-head{border-bottom:1px solid var(--line);align-items:center;gap:16px;padding-bottom:16px;display:flex}.tm-sheet-id{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.tm-sheet-name{align-items:center;gap:6px;font-size:1.15rem;display:flex}.tm-sheet-chips{gap:6px;margin-top:4px;display:flex}.tm-icon-btn{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.tm-icon-btn:hover{background:var(--surface-2);color:var(--ink)}.tm-icon-btn svg{width:16px;height:16px}.tm-name-form{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.tm-name-form .input{flex:1;min-width:160px}.tm-block{border-bottom:1px solid var(--line);flex-direction:column;gap:10px;padding:16px 0;display:flex}.tm-block:last-child{border-bottom:0;padding-bottom:0}.tm-block h3{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0;font-size:.78rem;font-weight:700}.tm-block p{margin:0}.tm-roles{grid-template-columns:1fr 1fr;gap:8px;display:grid}.tm-role-card{border:1px solid var(--line);background:var(--surface);color:var(--ink-2);font:inherit;text-align:left;cursor:pointer;border-radius:14px;align-items:flex-start;gap:10px;padding:12px;font-size:.82rem;line-height:1.4;display:flex}.tm-role-card>span:last-child{flex-direction:column;gap:2px;display:flex}.tm-role-card strong{color:var(--ink);font-size:.92rem}.tm-role-card[aria-checked=true]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}.tm-role-card:disabled{cursor:default;opacity:.6}.tm-role-card[aria-checked=true]:disabled{opacity:.85}.tm-radio{border:2px solid var(--line-strong);border-radius:50%;flex:none;width:18px;height:18px;margin-top:1px}.tm-role-card[aria-checked=true] .tm-radio{border:5px solid var(--ink)}.tm-facts{border:1px solid var(--line);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.tm-facts>div{justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;font-size:.88rem;display:flex}.tm-facts>div+div{border-top:1px solid var(--line)}.tm-facts>div>span:first-child{color:var(--muted)}.tm-facts>div>span:last-child{text-align:right;color:var(--ink);font-weight:500}.tm-actions{flex-wrap:wrap;gap:8px;display:flex}.tm-actions .btn{align-items:center;gap:6px;display:inline-flex}.tm-actions .btn svg{width:16px;height:16px}.tm-error{color:var(--danger)}.tm-inline-link{color:var(--ink);font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;padding:0;font-weight:600;text-decoration:underline}.tm-danger{align-items:flex-start}@media (width<=560px){.tm-roles{grid-template-columns:1fr}.tm-quick{padding:0 10px}.tm-request-actions{justify-content:flex-end;width:100%}.tm-facts>div{flex-direction:column;align-items:flex-start;gap:2px}.tm-facts>div>span:last-child{text-align:left}}.team-emails{resize:vertical;min-height:44px;font-family:inherit}.team-chips{flex-wrap:wrap;gap:6px;margin-top:-6px;display:flex}.team-chip{background:var(--sun-soft);height:26px;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;align-items:center;max-width:100%;padding:0 10px;font-size:.8rem;display:inline-flex;overflow:hidden}.team-chip-off{background:var(--surface-2);color:var(--muted);border:1px solid var(--line)}.team-chip-bad{background:var(--danger-bg);color:var(--danger);text-decoration:line-through}.team-result{border-bottom:1px solid var(--line);flex-direction:column;gap:10px;padding-bottom:14px;display:flex}.team-result p{margin:0}.team-result-mail{font-size:.95rem}.team-form,.team-link{flex-direction:column;gap:14px;display:flex}.team-done{align-items:center;gap:10px;margin:0;font-weight:500;display:flex}.team-url{font-family:ui-monospace,Cascadia Mono,Consolas,monospace;font-size:.82rem}.team-link-actions{flex-wrap:wrap;gap:8px;display:flex}.team-link-actions .btn{align-items:center;gap:6px;text-decoration:none;display:inline-flex}.team-link-actions .btn svg{width:17px;height:17px}.fx{--fx-card:var(--surface);--fx-soft:color-mix(in srgb, var(--ink) 4%, var(--surface));--fx-late:var(--danger);--fx-late-bg:var(--danger-bg);gap:18px}.fx .num,.fx-sheet .num{font-variant-numeric:tabular-nums}.fx-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.fx-head h1{font-size:1.75rem;line-height:1.1}.fx-head-actions{gap:8px;display:flex}.fx-head-actions .btn svg{width:18px;height:18px}.fx-mail{color:var(--muted);align-items:center;gap:6px;margin:6px 0 0;font-size:.82rem;display:flex}.fx-mail svg{flex:none;width:15px;height:15px}.fx-mail[data-state=on]{color:var(--ok)}.fx-tabs{scrollbar-width:none;border-bottom:1px solid var(--line);gap:4px;margin:0 -16px;padding:0 16px;display:flex;overflow-x:auto}.fx-tabs::-webkit-scrollbar{display:none}.fx-tabs button{min-height:44px;color:var(--muted);font:500 .95rem var(--font-title);cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:6px;padding:0 12px;display:inline-flex;position:relative}.fx-tabs button:hover,.fx-tabs button[aria-current=page]{color:var(--ink)}.fx-tabs button[aria-current=page]:after{content:"";background:var(--sun);border-radius:3px 3px 0 0;height:3px;position:absolute;bottom:-1px;left:10px;right:10px}.fx-tab-dot{background:#e8a200;border-radius:50%;width:7px;height:7px}.fx-card{background:var(--fx-card);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;padding:18px}.fx-card h2,.fx-card h3{margin:0 0 12px}.fx-card h3{font-size:1rem}.fx-eyebrow{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);font-size:.75rem;font-weight:600}.fx-muted{color:var(--muted);font-weight:400}.fx-hint{color:var(--muted);margin:0;font-size:.82rem}.fx-link{color:var(--ink);text-underline-offset:3px;text-decoration:underline;-webkit-text-decoration-color:var(--sun);text-decoration-color:var(--sun);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;text-decoration-thickness:2px}.fx-overview{flex-direction:column;gap:16px;display:flex}.fx-hero{background:radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--sun) 24%, transparent) 0, transparent 50%), var(--fx-card);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;display:flex}.fx-hero-text{flex:1;min-width:220px}.fx-hero h2{margin:2px 0 6px;font-size:1.6rem}.fx-hero p{color:var(--ink-2);margin:0 0 12px}.fx-progress{background:var(--fx-soft);border-radius:99px;max-width:420px;height:8px;overflow:hidden}.fx-progress span{border-radius:inherit;background:var(--sun);height:100%;transition:width .4s;display:block}.fx-done{color:var(--ok);align-items:center;gap:8px;font-weight:600;display:inline-flex}.fx-done svg{width:20px;height:20px}.fx-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.fx-kpi{border:1px solid var(--line);background:var(--fx-card);text-align:left;font:inherit;color:inherit;border-radius:18px;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;padding:16px;display:flex}button.fx-kpi{cursor:pointer;transition:border-color .15s,transform .15s}button.fx-kpi:hover{border-color:var(--line-strong);transform:translateY(-1px)}.fx-kpi span{color:var(--ink-2);font-size:.8rem;font-weight:600}.fx-kpi strong{font:600 1.35rem var(--font-title);text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.fx-kpi small{color:var(--muted);font-size:.78rem}.fx-kpi[data-tone=late]{background:var(--fx-late-bg);border-color:color-mix(in srgb, var(--fx-late) 35%, var(--line))}.fx-kpi[data-tone=late] strong,.fx-kpi[data-tone=late] span{color:var(--fx-late)}.fx-kpi[data-tone=ok] strong{color:var(--ok)}.fx-kpi[data-tone=warn]{background:var(--warn-bg);border-color:#0000}.fx-kpi[data-tone=warn] span,.fx-kpi[data-tone=warn] strong{color:var(--warn-ink)}.fx-columns{grid-template-columns:1fr 1fr;gap:16px;display:grid}.fx-todo,.fx-mini{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.fx-todo button{text-align:left;width:calc(100% + 20px);font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;margin:0 -10px;padding:10px;display:flex}.fx-todo button:hover,.fx-mini-btn:hover{background:var(--fx-soft)}.fx-todo button>span:last-child,.fx-mini li>span:not(.fx-avatar):not(.fx-mini-date),.fx-mini-btn>span:nth-child(2){flex-direction:column;flex:1;min-width:0;display:flex}.fx-todo small,.fx-mini small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;overflow:hidden}.fx-todo-icon{background:var(--fx-soft);width:36px;height:36px;color:var(--ink-2);border-radius:11px;flex:none;place-items:center;display:grid}.fx-todo-icon svg{width:18px;height:18px}.fx-todo-icon[data-tone=warn]{background:var(--warn-bg);color:var(--warn-ink)}.fx-todo-icon[data-tone=late]{background:var(--fx-late-bg);color:var(--fx-late)}.fx-todo-none{color:var(--ok);align-items:center;gap:8px;padding:8px 0;font-weight:500;display:flex}.fx-todo-none svg{width:18px;height:18px}.fx-mini li{align-items:center;gap:12px;padding:6px 0;display:flex}.fx-mini-btn{text-align:left;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;flex:1;align-items:center;gap:12px;min-width:0;margin:-2px -10px;padding:8px 10px;display:flex}.fx-mini-date{color:var(--ink-2);white-space:nowrap;align-items:center;gap:5px;font-size:.82rem;display:inline-flex}.fx-mini-date svg{width:15px;height:15px}.fx-mini-amount{white-space:nowrap;font-weight:600}.fx-toolbar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.fx-seg{background:var(--fx-soft,color-mix(in srgb, var(--ink) 5%, var(--surface)));scrollbar-width:none;border-radius:12px;gap:2px;max-width:100%;padding:3px;display:inline-flex;overflow-x:auto}.fx-seg button{min-height:34px;font:500 .88rem var(--font);color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.fx-seg button .num{color:var(--muted);font-size:.75rem}.fx-seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #0000001f}.fx-seg button[data-tone=late]{color:var(--fx-late,var(--danger))}.fx-search{border:1px solid var(--line);background:var(--surface);border-radius:12px;flex:1;align-items:center;gap:8px;min-width:180px;min-height:42px;padding:0 12px;display:flex}.fx-search:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent)}.fx-search svg{width:17px;height:17px;color:var(--muted);flex:none}.fx-search input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1;font-size:1rem}.fx-group{flex-direction:column;gap:8px;display:flex}.fx-group-head{align-items:center;gap:10px;padding:0 12px;display:flex}.fx-group-head h2{margin:0;font-size:1rem}.fx-count{background:var(--fx-soft);color:var(--ink-2);border-radius:99px;padding:1px 8px;font-size:.75rem;font-weight:600}.fx-group-total{color:var(--ink-2);margin-left:auto;font-weight:600}.fx-list{background:var(--surface);border:1px solid var(--line);border-radius:18px;margin:0;padding:0;list-style:none;overflow:hidden}.fx-row{align-items:center;gap:4px;padding-left:12px;transition:background .12s;display:flex}.fx-row+.fx-row{border-top:1px solid var(--line)}.fx-row:hover{background:var(--fx-soft)}.fx-row[data-selected]{background:color-mix(in srgb, var(--sun) 18%, var(--surface))}.fx-row[data-off]{opacity:.6}.fx-row-main{text-align:left;min-width:0;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:12px;padding:12px 10px 12px 4px;display:flex}.fx-row-text{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.fx-row-text strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.fx-row-text small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.fx-row-date{width:130px;color:var(--muted);flex:none;font-size:.82rem}.fx-row-amount{text-align:right;min-width:96px;font:600 .98rem var(--font-title);white-space:nowrap;flex:none}.fx-row-quick,.fx-row-actions{align-items:center;gap:4px;padding-right:10px;display:flex}.fx-row-quick{opacity:0;transition:opacity .12s}.fx-row:hover .fx-row-quick,.fx-row:focus-within .fx-row-quick{opacity:1}.fx-error{align-items:center;gap:4px;color:var(--fx-late,var(--danger))!important;display:inline-flex!important}.fx-error svg{flex:none;width:13px;height:13px}.fx-check{border:2px solid var(--line-strong);background:var(--surface);width:22px;height:22px;color:var(--on-sun);cursor:pointer;border-radius:7px;flex:none;place-items:center;padding:0;display:grid}.fx-check[aria-checked=true],.fx-check[data-locked]{background:var(--sun);border-color:var(--sun)}.fx-check[data-locked]{background:var(--ok);border-color:var(--ok);color:#fff;cursor:default}.fx-check svg{stroke-width:3px;width:14px;height:14px}.fx-bulk{bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 12px);z-index:15;background:var(--ink);color:var(--surface);border-radius:16px;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex;position:sticky;box-shadow:0 10px 30px #00000040}.fx-bulk .btn{min-height:38px}.fx-bulk .btn:not(.btn-primary){background:color-mix(in srgb, var(--surface) 14%, transparent);color:var(--surface);border-color:#0000}.fx-bulk .btn svg{width:16px;height:16px}.fx-bulk-count{font-size:.9rem}.fx-avatar{--s:40px;width:var(--s);height:var(--s);font:600 calc(var(--s) * .36) var(--font-title);letter-spacing:.02em;background:hsl(var(--h) 70% 92%);color:hsl(var(--h) 45% 30%);border-radius:50%;flex:none;place-items:center;display:grid}.fx-pill{white-space:nowrap;background:var(--fx-soft,var(--surface-2));color:var(--ink-2);border-radius:99px;flex:none;align-items:center;padding:3px 10px;font-size:.75rem;font-weight:600;display:inline-flex}.fx-pill[data-status=brouillon]{background:var(--warn-bg);color:var(--warn-ink)}.fx-pill[data-status=envoyee]{background:color-mix(in srgb, #2f6fdf 14%, var(--surface));color:color-mix(in srgb, #2f6fdf 80%, var(--ink))}.fx-pill[data-status=payee]{background:var(--ok-bg);color:var(--ok)}.fx-pill[data-status=late]{background:var(--danger-bg);color:var(--danger)}.fx-pill[data-status=annulee]{text-decoration:line-through}.fx-tag{background:var(--fx-soft,var(--surface-2));color:var(--ink-2);white-space:nowrap;border-radius:8px;align-items:center;gap:4px;padding:2px 8px;font-size:.75rem;font-weight:600;display:inline-flex}.fx-tag svg{width:13px;height:13px}.fx-tag[data-tone=ok]{background:var(--ok-bg);color:var(--ok)}.fx-tag[data-tone=late]{background:var(--danger-bg);color:var(--danger)}.fx-tag[data-tone=warn]{background:var(--warn-bg);color:var(--warn-ink)}.fx-icon{width:38px;height:38px;color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:10px;flex:none;place-items:center;font-size:1.3rem;line-height:1;text-decoration:none;display:grid}.fx-icon:hover{background:var(--fx-soft,var(--surface-2));color:var(--ink)}.fx-icon svg{width:19px;height:19px}.fx-icon-sm{width:32px;height:32px}.fx-icon-sm svg{width:16px;height:16px}.fx-danger{color:var(--danger)}.fx-empty{text-align:center;color:var(--muted);flex-direction:column;align-items:center;gap:8px;padding:44px 16px;display:flex}.fx-empty strong{color:var(--ink);font:600 1.05rem var(--font-title)}.fx-empty .btn{margin-top:8px}.fx-empty-icon{background:var(--sun-soft);width:56px;height:56px;color:var(--ink);border-radius:18px;place-items:center;margin-bottom:4px;display:grid}.fx-empty-icon svg{width:26px;height:26px}.fx-cards{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.fx-client{border:1px solid var(--line);background:var(--surface);text-align:left;width:100%;height:100%;font:inherit;color:inherit;cursor:pointer;border-radius:18px;grid-template-columns:auto 1fr auto;grid-template-areas:"av text amount""av tags tags";align-items:center;gap:4px 12px;padding:14px;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid}.fx-client:hover{border-color:var(--line-strong);box-shadow:var(--shadow);transform:translateY(-1px)}.fx-client .fx-avatar{grid-area:av;align-self:start}.fx-client-text{flex-direction:column;grid-area:text;min-width:0;display:flex}.fx-client-text strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.fx-client-text small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.fx-client-amount{flex-direction:column;grid-area:amount;align-items:flex-end;display:flex}.fx-client-amount strong{font:600 .98rem var(--font-title);white-space:nowrap}.fx-client-amount small{color:var(--muted);font-size:.72rem}.fx-profile{align-items:center;gap:16px;display:flex}.fx-profile-stats{flex:1;grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.fx-profile-stats>div{background:var(--fx-soft,var(--surface-2));border-radius:12px;flex-direction:column;min-width:0;padding:8px 10px;display:flex}.fx-profile-stats small{color:var(--muted);font-size:.72rem}.fx-profile-stats strong{font:600 .95rem var(--font-title);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.fx-profile-stats [data-tone=warn]{background:var(--warn-bg)}.fx-sheet-tabs{align-self:flex-start}.fx-section{border-top:1px solid var(--line);flex-direction:column;gap:12px;padding-top:18px;display:flex}.fx-section:first-child{border-top:0;padding-top:0}.fx-section h3{align-items:center;gap:8px;margin:0;font-size:1rem;display:flex}.fx-section h3 svg{width:18px;height:18px}.fx-toggle{cursor:pointer;align-items:center;gap:12px;display:flex;position:relative}.fx-toggle[data-disabled]{opacity:.55;cursor:default}.fx-toggle-text{flex-direction:column;flex:1;min-width:0;display:flex}.fx-toggle-text strong{font-weight:500}.fx-toggle-text small{color:var(--muted);font-size:.8rem}.fx-toggle input,.fx-mini-switch input{opacity:0;width:1px;height:1px;position:absolute}.fx-switch{background:var(--line-strong);border-radius:99px;flex:none;width:44px;height:26px;transition:background .15s;position:relative}.fx-switch:after{content:"";background:#fff;border-radius:50%;width:20px;height:20px;transition:transform .15s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}input:checked+.fx-switch{background:var(--ok)}input:checked+.fx-switch:after{transform:translate(18px)}input:focus-visible+.fx-switch{outline:2px solid var(--focus);outline-offset:2px}.fx-mini-switch{cursor:pointer;display:inline-flex;position:relative}.fx-form{flex-direction:column;gap:16px;display:flex}.fx-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.fx-field{flex-direction:column;gap:6px;min-width:0;display:flex}.fx-field[data-full]{grid-column:1/-1}.fx-label{color:var(--ink-2);align-items:center;gap:6px;font-size:.8rem;font-weight:600;display:inline-flex}.fx-label svg{width:15px;height:15px}.fx-input{border:1px solid var(--line-strong);background:var(--surface);width:100%;min-height:44px;color:var(--ink);font:inherit;border-radius:12px;padding:10px 12px;font-size:1rem}select.fx-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7680' stroke-width='2'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:34px}textarea.fx-input{resize:vertical}.fx-input:focus{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent);outline:none}.fx-input[data-invalid]{border-color:var(--danger)}.fx-num{text-align:right}.fx-chips{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.fx-chip{border:1px solid var(--line-strong);background:var(--surface);min-height:34px;font:500 .85rem var(--font);color:var(--ink);cursor:pointer;border-radius:99px;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.fx-chip[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--surface)}.fx-chip svg{width:14px;height:14px}.fx-banner{background:var(--warn-bg);color:var(--warn-ink);border-radius:12px;align-items:flex-start;gap:8px;padding:10px 12px;font-size:.9rem;display:flex}.fx-banner[data-tone=late]{background:var(--danger-bg);color:var(--danger)}.fx-banner svg{flex:none;width:18px;height:18px;margin-top:1px}.fx-month{border:1px solid var(--line-strong);background:var(--surface);border-radius:12px;justify-content:space-between;align-items:center;min-height:44px;padding:0 2px;display:flex}.fx-month strong{font-family:var(--font-title);font-weight:600}.fx-lines{flex-direction:column;gap:8px;display:flex}.fx-lines-head{justify-content:space-between;align-items:baseline;display:flex}.fx-lines-total{font:600 1rem var(--font-title)}.fx-line{border:1px solid var(--line);background:var(--fx-soft,var(--surface-2));border-radius:14px;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px;display:grid}.fx-line .fx-input{background:var(--surface);min-height:40px}.fx-line-amount{white-space:nowrap;align-items:center;gap:6px;display:flex}.fx-line-amount .fx-input{width:116px}.fx-line[data-qty] .fx-line-amount .fx-input{width:84px}.fx-line[data-qty] .fx-line-amount .fx-input:first-child{width:64px}.fx-cur,.fx-times{color:var(--muted);font-size:.8rem}.fx-eq{text-align:right;min-width:80px;font-weight:600}.fx-line-tools{align-items:center;gap:2px;display:flex}.fx-chip-btn{border:1px solid var(--line);background:var(--surface);min-height:30px;color:var(--ink-2);cursor:pointer;white-space:nowrap;border-radius:8px;padding:0 9px;font-size:.75rem}.fx-chip-btn[aria-pressed=true]{border-color:var(--focus);color:var(--focus)}.fx-add-line,.fx-suggest{border:1px dashed var(--line-strong);min-height:36px;color:var(--ink-2);font:500 .85rem var(--font);cursor:pointer;background:0 0;border-radius:10px;align-self:flex-start;align-items:center;gap:6px;padding:0 12px;display:inline-flex}.fx-add-line:hover,.fx-suggest:hover{border-color:var(--ink-2);color:var(--ink)}.fx-suggest{background:var(--sun-soft);color:var(--ink);border-style:solid;border-color:#0000}.fx-add-line svg,.fx-suggest svg{width:15px;height:15px}.fx-picker{flex-direction:column;gap:6px;display:flex}.fx-picker-list{border:1px solid var(--line);background:var(--surface);border-radius:14px;max-height:280px;margin:0;padding:4px;list-style:none;overflow-y:auto}.fx-picker-list button,.fx-picked{text-align:left;width:100%;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:10px;align-items:center;gap:10px;padding:8px 10px;display:flex}.fx-picker-list button:hover,.fx-picker-list button[aria-pressed=true]{background:var(--fx-soft,var(--surface-2))}.fx-picker-none{color:var(--muted);padding:12px;font-size:.9rem}.fx-picked{border:1px solid var(--line-strong);background:var(--surface);border-radius:14px;padding:10px 12px}.fx-picked-text{flex-direction:column;flex:1;min-width:0;display:flex}.fx-picked-text strong{font-weight:600}.fx-picked-text span{color:var(--muted);font-size:.8rem}.fx-picked-change{color:var(--ink-2);font-size:.85rem;font-weight:600}.fx-sheet-backdrop{z-index:66;background:#0a10166b;justify-content:flex-end;animation:.18s fx-fade;display:flex;position:fixed;inset:0}.fx-sheet{background:var(--bg);outline:none;flex-direction:column;width:min(600px,100vw);height:100dvh;animation:.24s cubic-bezier(.2,.8,.2,1) fx-slide;display:flex;box-shadow:-10px 0 40px #00000038}.fx-sheet[data-size=large]{width:min(1160px,100vw)}@keyframes fx-fade{0%{opacity:0}}@keyframes fx-slide{0%{opacity:0;transform:translate(40px)}}.fx-sheet-head{padding:calc(var(--safe-top) + 12px) 16px 12px 10px;border-bottom:1px solid var(--line);background:var(--surface);align-items:center;gap:8px;display:flex}.fx-sheet-title{min-width:0}.fx-sheet-title h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:1.15rem;overflow:hidden}.fx-sheet-title p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:2px 0 0;font-size:.85rem;overflow:hidden}.fx-sheet-body{overscroll-behavior:contain;flex-direction:column;flex:1;gap:18px;padding:20px;display:flex;overflow-y:auto}.fx-sheet-foot{padding:12px 16px calc(var(--safe-bottom) + 12px);border-top:1px solid var(--line);background:var(--surface);flex-wrap:wrap;align-items:center;gap:8px;display:flex}.fx-sheet-foot .btn svg{width:17px;height:17px}.fx-foot-total{flex-direction:column;line-height:1.15;display:flex}.fx-foot-total small{color:var(--muted);font-size:.75rem}.fx-foot-total strong{font:600 1.25rem var(--font-title)}.fx-run{flex:1;align-items:center;gap:12px;display:flex}.fx-run .fx-progress{flex:1;max-width:none}.fx-split{grid-template-columns:minmax(0,1fr) minmax(320px,440px);align-items:start;gap:24px;display:grid}.fx-sheet:not([data-size=large]) .fx-split{grid-template-columns:1fr}.fx-split-main{flex-direction:column;gap:16px;min-width:0;display:flex}.fx-split-side{position:sticky;top:0}.fx-paper-empty{aspect-ratio:210/297;border:2px dashed var(--line);color:var(--muted);text-align:center;border-radius:12px;place-items:center;padding:24px;font-size:.9rem;display:grid}.fx-amount-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;justify-content:space-between;align-items:center;padding:16px 18px;display:flex}.fx-amount-card>div{flex-direction:column;display:flex}.fx-amount-card strong{font:600 1.8rem var(--font-title)}.fx-actions-row{flex-wrap:wrap;gap:8px;display:flex}.fx-actions-row .btn svg{width:17px;height:17px}.fx-timeline{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.fx-timeline li{color:var(--muted);gap:12px;padding-bottom:16px;display:flex;position:relative}.fx-timeline li:not(:last-child):before{content:"";background:var(--line);width:2px;position:absolute;top:24px;bottom:0;left:11px}.fx-timeline li[data-on]{color:var(--ink)}.fx-timeline li[data-on]:not(:last-child):before{background:var(--ok)}.fx-timeline li>span:last-child{flex-direction:column;min-width:0;display:flex}.fx-timeline strong{overflow-wrap:anywhere;font-weight:500}.fx-timeline small{color:var(--muted);font-size:.78rem}.fx-timeline-dot{border:2px solid var(--line-strong);background:var(--surface);border-radius:50%;flex:none;place-items:center;width:24px;height:24px;display:grid}.fx-timeline li[data-on] .fx-timeline-dot{background:var(--ok);border-color:var(--ok);color:#fff}.fx-timeline li[data-late] .fx-timeline-dot{border-color:var(--danger)}.fx-timeline li[data-late] strong{color:var(--danger)}.fx-timeline-dot svg{stroke-width:3px;width:13px;height:13px}.fx-month-bar{grid-template-columns:minmax(0,260px) minmax(0,200px);gap:12px;display:grid}.fx-month-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.fx-month-item{border:1px solid var(--line);background:var(--surface);border-radius:16px;overflow:hidden}.fx-month-item[data-off]{opacity:.55}.fx-month-item[data-done]{background:color-mix(in srgb, var(--ok-bg) 50%, var(--surface))}.fx-month-row{align-items:center;gap:4px;padding-left:14px;display:flex}.fx-month-main{text-align:left;min-width:0;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;flex:1;align-items:center;gap:12px;padding:12px 14px 12px 6px;display:flex}.fx-month-main:disabled{cursor:default}.fx-chev{width:18px;height:18px;color:var(--muted);transition:transform .15s;transform:rotate(90deg)}.fx-chev[data-open]{transform:rotate(-90deg)}.fx-month-edit{border-top:1px dashed var(--line);flex-direction:column;gap:10px;padding:14px;display:flex}.fx-month-edit-foot{flex-wrap:wrap;gap:8px 18px;font-size:.85rem;display:flex}.fx-settings{flex-direction:column;gap:14px;display:flex}.fx-section-title{align-items:center;gap:8px;margin:0;font-size:1.1rem;display:flex}.fx-section-title svg{width:20px;height:20px}.fx-issuer{border:1px solid var(--line);background:var(--surface);text-align:left;font:inherit;color:inherit;cursor:pointer;border-radius:16px;align-items:center;gap:14px;padding:12px 14px;display:flex}.fx-issuer:hover{border-color:var(--line-strong)}.fx-logo{object-fit:contain;border:1px solid var(--line);background:#fff;border-radius:8px;flex:none;width:84px;height:46px}.fx-logo-lg{width:150px;height:84px}.fx-logo-empty{color:var(--muted);background:var(--fx-soft,var(--surface-2));place-items:center;font-size:.75rem;display:grid}.fx-logo-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.fx-logo-row .btn svg{width:15px;height:15px}.fx-security{margin-top:10px}.fx-journal{margin:0 0 10px;padding:0;list-style:none}.fx-journal li{gap:12px;padding:9px 0;font-size:.86rem;display:flex}.fx-journal li+li{border-top:1px solid var(--line)}.fx-journal time{width:104px;color:var(--muted);flex:none}.fx-journal span{overflow-wrap:anywhere;flex-direction:column;min-width:0;display:flex}.fx-journal li[data-sensitive] b{color:var(--danger)}.fx-journal small{color:var(--muted)}.fx-paper-box{background:#fff;border-radius:6px;width:100%;position:relative;overflow:hidden;box-shadow:0 1px 2px #00000014,0 12px 32px #00000024}.fx-paper{transform-origin:0 0;color:#141414;box-sizing:border-box;background:#fff;width:794px;height:1123px;padding:30px 94px 0;font:15px/1.45 Helvetica,Arial,sans-serif;position:absolute;top:0;left:0}.fx-paper-top{height:300px;position:relative}.fx-paper-logo{object-fit:contain;max-width:226px;height:83px;display:block}.fx-paper-from{margin-top:26px}.fx-paper-to{position:absolute;top:208px;left:397px}.fx-paper-date{margin-top:30px}.fx-paper-title{border-bottom:1.2px solid #141414;margin-top:16px;padding-bottom:6px;font-size:23px;font-weight:700}.fx-paper-lines{min-height:70px;padding-top:14px}.fx-paper-line{gap:16px;margin-bottom:10px;display:flex}.fx-paper-line>span:first-child{flex:1}.fx-paper-qty{color:#5a5a5a}.fx-paper-res{margin-top:4px;margin-bottom:14px}.fx-paper-total{text-align:right;border-top:1.2px solid #141414;border-bottom:1.2px solid #141414;margin-top:16px;padding-top:8px;padding-bottom:22px;font-weight:700}.fx-paper-notes{text-align:right;flex-direction:column;gap:10px;padding-top:10px;display:flex}.fx-paper-paid{color:#dc1e1e;font-weight:700}.fx-paper-closing{margin-top:14px}.fx-paper-slip{border-top:1.5px dashed #141414;grid-template-columns:234px 210px 1fr;height:397px;font-size:11px;line-height:1.35;display:grid;position:absolute;bottom:0;left:0;right:0}.fx-paper-slip>div{flex-direction:column;gap:1px;padding:19px;display:flex}.fx-paper-receipt{border-right:1.5px dashed #141414}.fx-paper-slip b{margin-bottom:12px;font-size:15px}.fx-paper-slip small{margin-top:6px;font-size:9px;font-weight:700}.fx-paper-pay span b{font-size:12px}.fx-paper-qr{background-blend-mode:multiply;opacity:.22;background:repeating-linear-gradient(90deg,#141414 0 6px,#0000 6px 12px),repeating-linear-gradient(0deg,#141414 0 6px,#0000 6px 15px);border:6px solid #141414;width:174px;height:174px;margin:4px 0 18px;position:relative}.fx-paper-qr span{background:#141414;border:3px solid #fff;width:28px;height:28px;margin:auto;position:absolute;inset:0}.fx-paper-info{font-size:12px}.fx-show-sm{display:none!important}@media (width<=760px){.fx-hide-sm{display:none!important}.fx-show-sm{display:inline-flex!important}.fx-head h1{font-size:1.5rem}.fx-kpis{grid-template-columns:1fr 1fr}.fx-columns{grid-template-columns:1fr}.fx-row-date,.fx-row-quick,.fx-row>.fx-check{display:none}.fx-row{padding-left:4px}.fx-row-main{flex-wrap:wrap;gap:10px}.fx-row-main .fx-row-text{flex:calc(100% - 160px)}.fx-row-amount{min-width:0}.fx-group-head .fx-check{display:none}.fx-cards{grid-template-columns:1fr}.fx-sheet{width:100vw;animation-name:fx-rise}.fx-sheet-body{padding:16px}.fx-split{grid-template-columns:1fr}.fx-split[data-tab=form] .fx-split-side,.fx-split[data-tab=preview] .fx-split-main{display:none}.fx-split-side{position:static}.fx-preview-switch{align-self:stretch}.fx-preview-switch button{flex:1;justify-content:center}.fx-grid,.fx-month-bar{grid-template-columns:1fr}.fx-line{grid-template-columns:minmax(0,1fr) auto}.fx-line-desc{grid-column:1/-1}.fx-sheet-foot .btn{flex:1}.fx-sheet-foot .grow{display:none}.fx-foot-total{flex-direction:row;flex-basis:100%;justify-content:space-between;align-items:baseline}.fx-profile-stats strong{font-size:.85rem}.fx-tabs{margin:0 -16px}}@keyframes fx-rise{0%{opacity:0;transform:translateY(30px)}}@media (width>=960px){.fx-tabs{margin:0;padding:0}.fx-bulk{bottom:20px}.fx-head h1{font-size:2rem}}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .fx-avatar{background:hsl(var(--h) 30% 24%);color:hsl(var(--h) 70% 82%)}}:root[data-theme=dark] .fx-avatar{background:hsl(var(--h) 30% 24%);color:hsl(var(--h) 70% 82%)}.fx-sheet-body>*,.fx-split-main>*,.fx-form>*{flex-shrink:0}.fx-sheet-foot .grow,.fx-bulk .grow{flex:1}.fx-lines{container-type:inline-size}@container (width<=640px){.fx-line{grid-template-columns:minmax(0,1fr) auto}.fx-line-desc{grid-column:1/-1}}.t-note{color:var(--muted);margin:4px 0 12px;font-size:.85rem;line-height:1.45}.t-row[data-busy]{opacity:.5;animation:1.2s ease-in-out infinite alternate t-fade}@keyframes t-fade{to{opacity:.25}}.t-progress{background:var(--danger-bg);color:var(--danger);border-radius:10px;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;font-size:.88rem;font-weight:600;display:flex}.t-progress .spinner,.d-bar-tools .spinner{border-color:color-mix(in srgb, currentColor 25%, transparent);border-top-color:currentColor;flex:none}.d-bar-tools .btn .spinner{vertical-align:-2px;width:14px;height:14px}@media (prefers-reduced-motion:reduce){.t-row[data-busy]{animation:none}}.t-sub{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;overflow:hidden}.t-left[data-soon]{color:var(--danger,#c0392b);font-weight:600}.t-actions{align-items:center;gap:4px}.t-actions .btn svg{width:16px;height:16px}.t-purge{color:var(--muted)}.t-purge:hover:not(:disabled){color:var(--danger,#c0392b)}.t-act-label{display:none}@media (width>=960px){.d-row.t-row{grid-template-columns:minmax(0,1fr) 140px 150px 100px auto}.t-act-label{display:inline}.t-sub-mobile{display:none}.d-row .t-sub{display:block}}.tf-card{flex-direction:row;align-items:flex-start;gap:12px;display:flex}.tf-text{min-width:0;color:var(--ink-2);flex-direction:column;gap:6px;font-size:.9rem;line-height:1.45;display:flex}.tf-text strong{color:var(--ink);flex-wrap:wrap;align-items:center;gap:8px;font-size:1rem;display:flex}.tf-chip{color:var(--muted);background:var(--surface-2);border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700}.tf-chip[data-on]{color:var(--ok);background:color-mix(in srgb, var(--ok) 14%, var(--surface))}.tf-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.tf-link{color:var(--focus);font-weight:600}.tf-card-gap{margin-top:10px}.tf-sent{border-radius:var(--radius-sm);background:var(--ok-bg);color:var(--ok);flex-wrap:wrap;align-items:center;gap:6px;margin-top:4px;padding:8px 10px;font-weight:500;display:flex}.tf-sent svg{width:16px;height:16px}.tf-form{flex-direction:column;gap:14px;display:flex}.tf-steps{flex-direction:column;gap:6px;margin:0;padding-left:20px;font-size:.9rem;line-height:1.45;display:flex}.tf-qr{text-align:center;flex-direction:column;align-items:center;gap:10px;font-size:.85rem;display:flex}.tf-qr img{background:#fff;border-radius:12px;max-width:100%;height:auto;padding:8px}.tf-qr details{flex-direction:column;gap:8px;display:flex}.tf-qr summary{cursor:pointer;color:var(--focus);font-weight:600}.tf-secret{background:var(--surface-2);letter-spacing:.04em;word-break:break-all;-webkit-user-select:all;user-select:all;border-radius:8px;margin:8px 0;padding:8px 10px;font-size:.95rem;display:block}.tf-code,.lg-code{font-variant-numeric:tabular-nums;letter-spacing:.3em;font-size:1.15rem}.tf-codes{background:var(--surface-2);border-radius:10px;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;margin:0;padding:12px;list-style:none;display:grid}.tf-codes code{letter-spacing:.04em;font-size:.95rem}.lg-2fa-head{align-items:flex-start;gap:12px;font-size:.92rem;line-height:1.45;display:flex}.lg-2fa-head p{margin:0}.lg-2fa-icon{width:38px;height:38px;color:var(--focus);background:color-mix(in srgb, var(--focus) 14%, transparent);border-radius:10px;flex:none;justify-content:center;align-items:center;display:flex}.lg-2fa-icon svg{width:20px;height:20px}.lg-check{cursor:pointer;align-items:flex-start;gap:8px;font-size:.86rem;display:flex}.lg-check input{width:16px;height:16px;accent-color:var(--focus);margin-top:2px}.lg-2fa-links{flex-direction:column;align-items:center;gap:10px;display:flex}.lg-hint{color:var(--muted);font-size:.78rem;line-height:1.4}.lg-input-locked{background:var(--surface-2,var(--surface));border-style:dashed}.lg-input-locked input{color:var(--ink);cursor:default}.lg-input-locked svg:last-child{flex:none;width:16px;height:16px;margin-right:8px}.lg-google-gone{text-align:center;margin:0}.d-reserved{border-radius:var(--radius-sm);background:var(--sun-soft);color:var(--ink);flex-wrap:wrap;align-items:center;gap:10px 14px;margin:4px 0 12px;padding:12px 14px;font-size:.88rem;display:flex}.d-reserved>svg{flex:none;width:18px;height:18px}.d-reserved>span{flex:260px}.imp-steps{color:var(--muted);flex-wrap:wrap;gap:6px 18px;margin:0 0 4px;padding:0;font-size:.85rem;list-style:none;display:flex}.imp-steps li{align-items:center;gap:7px;display:inline-flex}.imp-steps li>span{border:1.5px solid var(--line-strong);border-radius:50%;place-items:center;width:22px;height:22px;font-size:.75rem;font-weight:600;display:inline-grid}.imp-steps li>span svg{width:13px;height:13px}.imp-steps li[data-state=now]{color:var(--ink);font-weight:600}.imp-steps li[data-state=now]>span{background:var(--scan);border-color:var(--scan);color:var(--on-scan)}.imp-steps li[data-state=done]>span{background:var(--ok-bg);border-color:var(--ok-bg);color:var(--ok)}.imp-waiting{border-radius:var(--radius-sm);background:var(--sun-soft);color:var(--ink);align-items:center;gap:8px;margin:0;padding:10px 14px;font-size:.9rem;display:flex}.imp-waiting svg{width:18px;height:18px}.field-fixed{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);min-height:40px;color:var(--ink);align-items:center;gap:7px;margin:0;padding:0 12px;display:flex}.field-fixed svg{width:15px;height:15px;color:var(--muted)}.imp-row{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);grid-template-columns:18px 48px minmax(0,1fr) 36px;grid-template-areas:"check thumb title remove""check thumb controls remove";align-items:start;gap:8px 12px;padding:10px 12px;display:grid}.imp-row[data-selected]{border-color:var(--scan);box-shadow:0 0 0 1px var(--scan)}.imp-row>input{width:18px;height:18px;accent-color:var(--scan);grid-area:check;margin:22px 0 0}.imp-row>.import-thumb{grid-area:thumb}.imp-remove{grid-area:remove}.imp-title{grid-area:title;align-items:baseline;gap:10px;min-width:0;padding-top:6px;display:flex}.imp-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;overflow:hidden}.imp-title .import-meta{flex:none}.imp-controls{flex-wrap:wrap;grid-area:controls;align-items:center;gap:6px;display:flex}.imp-select,.imp-input{border:1px solid var(--line-strong);background-color:var(--surface);height:32px;color:var(--ink);font:inherit;border-radius:999px;padding:0 10px;font-size:.85rem}.imp-select{appearance:none;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7680' stroke-width='2'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:26px}.imp-input{width:150px}.imp-plan{max-width:260px}.imp-plan[data-empty]{color:var(--muted);border-style:dashed}.imp-select:focus,.imp-input:focus{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent);outline:none}.imp-seg{border:1px solid var(--line-strong);background:var(--surface);border-radius:999px;display:inline-flex;overflow:hidden}.imp-seg button{border:0;border-left:1px solid var(--line);height:30px;color:var(--ink-2);font:inherit;cursor:pointer;background:0 0;padding:0 11px;font-size:.82rem}.imp-seg button:first-child{border-left:0}.imp-seg button[aria-pressed=true]{color:var(--ink);font-weight:600}.imp-seg button[aria-pressed=true][data-tone=warn]{background:var(--warn-bg);color:var(--warn-ink)}.imp-seg button[aria-pressed=true][data-tone=ok]{background:var(--ok-bg);color:var(--ok)}.imp-seg button[aria-pressed=true][data-tone=info]{background:var(--sun-soft)}.imp-chip{border:1px solid var(--line-strong);background:var(--surface);max-width:280px;height:32px;color:var(--ink);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:6px;padding:0 11px;font-size:.82rem;display:inline-flex}.imp-chip span{text-overflow:ellipsis;white-space:nowrap;text-align:left;flex:1;min-width:0;overflow:hidden}.imp-chip[data-empty]{color:var(--muted);border-style:dashed}.imp-chip svg{flex:none;width:15px;height:15px}.imp-switch{height:32px;color:var(--ink);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:8px;padding:0 4px;font-size:.85rem;display:inline-flex}.imp-switch input{opacity:0;width:1px;height:1px;position:absolute}.imp-switch-track{background:var(--line-strong);border-radius:999px;flex:none;width:36px;height:20px;transition:background .15s;position:relative}.imp-switch-track:after{content:"";background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}.imp-switch input:checked+.imp-switch-track{background:var(--danger)}.imp-switch input:checked+.imp-switch-track:after{transform:translate(16px)}.imp-switch input:indeterminate+.imp-switch-track:after{transform:translate(8px)}.imp-switch input:checked~span:last-child{color:var(--danger);font-weight:600}.imp-switch input:focus-visible+.imp-switch-track{box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 30%, transparent)}.plan-back{border-radius:var(--radius-sm);color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:center;gap:6px;padding:6px 10px 6px 6px;font-size:.9rem;display:inline-flex}.plan-back:hover{background:var(--surface-2)}.plan-back strong{color:var(--ink)}.plan-back svg{width:16px;height:16px}.choice .choice-check{width:18px;height:18px;color:var(--scan);flex:none;margin-left:auto}@media (width<=640px){.imp-row{grid-template-columns:18px 40px minmax(0,1fr) 32px;grid-template-areas:"check thumb title remove""controls controls controls controls";align-items:center;gap:10px;padding:10px}.imp-row>input{margin:0}.imp-row>.import-thumb{width:40px;height:52px}.imp-title{flex-direction:column;align-items:flex-start;gap:1px;padding-top:0}.imp-title strong{max-width:100%}.imp-controls{border-top:1px solid var(--line);grid-template-columns:1fr 1fr;gap:8px;padding-top:10px;display:grid}.imp-controls>*{grid-column:1/-1}.imp-controls>.imp-switch{order:-1;justify-self:start}.imp-select,.imp-input,.imp-chip{width:100%;max-width:none;height:40px;font-size:.95rem}.imp-seg{width:100%;display:flex}.imp-seg button{flex:1;height:38px;padding:0 6px;font-size:.88rem}}.import-drop{border:2px dashed var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink);font:inherit;text-align:center;cursor:pointer;flex-direction:column;align-items:center;gap:8px;padding:48px 20px;display:flex}.import-drop[data-over]{border-color:var(--scan)}.import-drop svg{width:32px;height:32px}.import-drop span{color:var(--muted);max-width:34em;font-size:.9rem}.import-check{cursor:pointer;align-items:flex-start;gap:8px;margin-right:auto;font-size:.9rem;display:flex}.import-check input{width:18px;height:18px;accent-color:var(--scan);flex:none;margin:2px 0 0}.import-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.import-thumb{border:1px solid var(--line);background:var(--surface-2);cursor:zoom-in;border-radius:6px;flex:none;justify-content:center;align-items:center;width:48px;height:64px;padding:0;display:flex;overflow:hidden}.import-thumb img{object-fit:cover;width:100%;height:100%}.import-thumb .spinner{width:18px;height:18px}.import-meta{color:var(--muted);flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:.84rem;display:flex}.import-meta .badge{margin-left:0}.import-error{color:var(--danger)}.import-preview{flex-direction:column;gap:10px;max-height:65vh;display:flex;overflow-y:auto}.import-preview img{border:1px solid var(--line);border-radius:6px;width:100%}.entity-warn{align-items:flex-start;gap:10px}.entity-warn>svg{flex:none;width:20px;height:20px;margin-top:2px}.entity-warn ul{margin:6px 0;padding-left:18px}.entity-warn p{margin:6px 0 0}.t-entity-icon{width:24px;height:24px;color:var(--muted);flex:none;justify-content:center;align-items:center;display:inline-flex}.t-entity-icon svg{width:20px;height:20px}[data-tone]{--g:#6b6b66}[data-tone=amber]{--g:#a35f00}[data-tone=rose]{--g:#b4325a}[data-tone=violet]{--g:#6c47c4}[data-tone=slate]{--g:#4a5565}[data-tone=sun]{--g:#8a6d00}[data-tone=blue]{--g:#1f63b5}[data-tone=teal]{--g:#0f766e}[data-tone=indigo]{--g:#4f46c8}[data-tone=green]{--g:#1e7a4c}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) [data-tone]{--g:#a3a39d}:root:not([data-theme=light]) [data-tone=amber]{--g:#f0b54a}:root:not([data-theme=light]) [data-tone=rose]{--g:#f28bab}:root:not([data-theme=light]) [data-tone=violet]{--g:#b9a0f5}:root:not([data-theme=light]) [data-tone=slate]{--g:#b4bfcd}:root:not([data-theme=light]) [data-tone=sun]{--g:#f4d916}:root:not([data-theme=light]) [data-tone=blue]{--g:#85b6f2}:root:not([data-theme=light]) [data-tone=teal]{--g:#5fd0c3}:root:not([data-theme=light]) [data-tone=indigo]{--g:#a5adf7}:root:not([data-theme=light]) [data-tone=green]{--g:#6fd3a0}}:root[data-theme=dark] [data-tone]{--g:#a3a39d}:root[data-theme=dark] [data-tone=amber]{--g:#f0b54a}:root[data-theme=dark] [data-tone=rose]{--g:#f28bab}:root[data-theme=dark] [data-tone=violet]{--g:#b9a0f5}:root[data-theme=dark] [data-tone=slate]{--g:#b4bfcd}:root[data-theme=dark] [data-tone=sun]{--g:#f4d916}:root[data-theme=dark] [data-tone=blue]{--g:#85b6f2}:root[data-theme=dark] [data-tone=teal]{--g:#5fd0c3}:root[data-theme=dark] [data-tone=indigo]{--g:#a5adf7}:root[data-theme=dark] [data-tone=green]{--g:#6fd3a0}.g-badge{width:40px;height:40px;color:var(--g);background:color-mix(in srgb, var(--g) 14%, var(--surface));border-radius:12px;flex:none;justify-content:center;align-items:center;display:inline-flex}.g-badge svg{width:22px;height:22px}.g-badge[data-size=sm]{border-radius:10px;width:32px;height:32px}.g-badge[data-size=sm] svg{width:18px;height:18px}.g-badge[data-size=lg]{border-radius:14px;width:46px;height:46px}.g-badge[data-size=lg] svg{width:25px;height:25px}.plan{flex-direction:column;gap:12px;min-width:0;display:flex}.plan-bar{align-items:center;gap:6px;display:flex}.plan-search{border:1px solid var(--line);background:var(--surface);min-width:0;height:44px;color:var(--muted);border-radius:22px;flex:1;align-items:center;gap:8px;padding:0 14px;transition:border-color .15s,box-shadow .15s;display:flex}.plan-search:focus-within{border-color:var(--focus);box-shadow:0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent)}.plan-search svg{flex:none;width:18px;height:18px}.plan-search input{min-width:0;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;flex:1;font-size:1rem}.plan-cancel svg{width:20px;height:20px}.plan-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.plan-group{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);min-height:112px;box-shadow:var(--shadow);color:var(--ink);font:inherit;text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:12px;padding:14px;transition:border-color .15s,transform .1s,box-shadow .15s;display:flex;position:relative}.plan-group:hover{border-color:var(--line-strong)}.plan-group:active{transform:scale(.98)}.plan-group[aria-pressed=true]{border-color:var(--scan);box-shadow:0 0 0 1px var(--scan), var(--shadow);background:color-mix(in srgb, var(--scan) 7%, var(--surface))}.plan-group-text{flex-direction:column;gap:2px;min-width:0;max-width:100%;display:flex}.plan-group-text strong{font-family:var(--font-title);font-size:.98rem;font-weight:600;line-height:1.25}.plan-group-text span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.82rem;overflow:hidden}.plan-group[aria-pressed=true] .plan-group-text span{color:var(--ink-2);font-weight:500}.plan-group-chev{width:18px;height:18px;color:var(--line-strong);position:absolute;top:14px;right:12px}.plan-step{flex-direction:column;gap:10px;display:flex}.plan-head{align-items:center;gap:10px;min-height:44px;display:flex}.plan-head .plan-back{min-width:40px;min-height:40px;margin-left:-8px}.plan-head .plan-back:hover{background:var(--surface-2)}.plan-head .plan-back svg{width:20px;height:20px}.plan-head strong{min-width:0;font-family:var(--font-title);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:1.05rem;font-weight:600;overflow:hidden}.plan-head-link{color:var(--focus);font:inherit;cursor:pointer;background:0 0;border:0;flex:none;padding:8px 4px;font-size:.88rem;font-weight:600}.plan-cats{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);flex-direction:column;display:flex;overflow:hidden}.plan-cat{min-height:56px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:10px 14px;transition:background .12s;display:flex}.plan-cat+.plan-cat{border-top:1px solid var(--line)}.plan-cat:hover{background:var(--surface-2)}.plan-cat[aria-checked=true]{background:color-mix(in srgb, var(--scan) 12%, var(--surface))}.plan-cat-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.plan-cat-text strong{font-size:1rem;font-weight:500}.plan-cat[aria-checked=true] .plan-cat-text strong{font-weight:700}.plan-cat-text span{color:var(--muted);font-size:.8rem}.plan-radio{border:2px solid var(--line-strong);color:#0000;border-radius:50%;flex:none;justify-content:center;align-items:center;width:24px;height:24px;transition:background .12s,border-color .12s;display:flex}.plan-radio svg{stroke-width:3.2px;width:14px;height:14px}.plan-cat[aria-checked=true] .plan-radio{background:var(--scan);border-color:var(--scan);color:var(--on-scan)}.plan-none{text-align:center;padding:18px 4px}.plan[data-look=chips] .plan-search{background:color-mix(in srgb, var(--ink) 4%, var(--surface));border-color:#0000;height:40px}.plan[data-look=chips] .plan-groups{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}.plan[data-look=chips] .plan-group{min-height:56px;box-shadow:none;flex-direction:row;align-items:center;gap:10px;padding:8px 28px 8px 10px}.plan[data-look=chips] .plan-group-text strong{font-family:var(--font);font-size:.9rem}.plan[data-look=chips] .plan-group-text span{font-size:.76rem}.plan[data-look=chips] .plan-group-chev{width:16px;height:16px;top:50%;right:8px;translate:0 -50%}.plan[data-look=chips] .plan-cats{box-shadow:none}.plan[data-look=chips] .plan-cat{min-height:48px}.plan-current{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);align-items:center;gap:12px;padding:10px 10px 10px 12px;display:flex}.plan-current-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.plan-current-text span{color:var(--muted);font-size:.78rem}.plan-current-text strong{text-overflow:ellipsis;white-space:nowrap;font-size:1rem;overflow:hidden}@media (width>=600px){.plan[data-look=choices] .plan-groups{grid-template-columns:repeat(3,minmax(0,1fr))}.plan[data-look=choices] .plan-cats{box-shadow:none;background:0 0;border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid;overflow:visible}.plan[data-look=choices] .plan-cat{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);box-shadow:var(--shadow)}.plan[data-look=choices] .plan-cat:hover{border-color:var(--line-strong)}.plan[data-look=choices] .plan-cat[aria-checked=true]{border-color:var(--scan);background:color-mix(in srgb, var(--scan) 12%, var(--surface))}}@media (width<=359px){.plan[data-look=choices] .plan-groups{grid-template-columns:minmax(0,1fr)}.plan[data-look=choices] .plan-group{flex-direction:row;align-items:center;min-height:64px}}.cat-page{flex-direction:column;gap:16px;display:flex}.cat-toolbar{align-items:center;gap:10px;display:flex}.cat-toolbar .plan-search{height:44px}.cat-toolbar .btn{flex:none;gap:6px}.cat-toolbar .btn svg{stroke-width:2.4px;width:18px;height:18px}.cat-tabs{background:color-mix(in srgb, var(--ink) 5%, var(--surface));scrollbar-width:none;border-radius:14px;gap:4px;padding:4px;display:flex;overflow-x:auto}.cat-tabs::-webkit-scrollbar{display:none}.cat-tabs button{min-height:40px;color:var(--ink-2);font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1 0 auto;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-size:.9rem;font-weight:600;display:inline-flex}.cat-tabs button[aria-selected=true]{background:var(--surface);color:var(--ink);box-shadow:var(--shadow)}.cat-tabs .cat-tab-n{min-width:22px;color:var(--muted);background:color-mix(in srgb, var(--ink) 7%, var(--surface));border-radius:999px;padding:1px 7px;font-size:.74rem;font-weight:700}.cat-tabs button[aria-selected=true] .cat-tab-n{background:var(--sun);color:var(--on-sun)}.cat-lead{color:var(--muted);max-width:62ch;margin:0;font-size:.9rem}.cat-warn{border-radius:var(--radius-sm);background:var(--warn-bg);color:var(--warn-ink);align-items:center;gap:10px;margin:0;padding:10px 14px;font-size:.88rem;display:flex}.cat-warn svg{flex:none;width:18px;height:18px}.cat-groups{flex-direction:column;gap:14px;display:flex}.cat-gcard{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);box-shadow:var(--shadow);break-inside:avoid;overflow:hidden}.cat-ghead{border-bottom:1px solid var(--line);background:linear-gradient(color-mix(in srgb, var(--g) 6%, var(--surface)), var(--surface));align-items:center;gap:12px;padding:14px 10px 12px 14px;display:flex}.cat-ghead-text{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.cat-ghead-text strong{font-family:var(--font-title);text-overflow:ellipsis;white-space:nowrap;font-size:1.02rem;font-weight:600;overflow:hidden}.cat-ghead-text span{color:var(--muted);font-size:.8rem}.cat-ghead .icon-btn{min-width:38px;min-height:38px;color:var(--muted)}.cat-ghead .icon-btn:hover{background:var(--surface-2);color:var(--ink)}.cat-ghead .icon-btn svg{width:17px;height:17px}.cat-ghead .input{flex:1;min-width:0;min-height:40px}.cat-rows{margin:0;padding:0;list-style:none}.cat-rows>li+li{border-top:1px solid var(--line)}.cat-r{width:100%;min-height:52px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:8px 10px 8px 16px;transition:background .12s;display:flex}.cat-r:hover{background:var(--surface-2)}.cat-r-text{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.cat-r-text>strong{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.cat-r-meta{min-width:0;color:var(--muted);align-items:center;gap:6px;font-size:.78rem;display:flex}.cat-r-meta>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cat-acc{color:var(--ink-2);background:color-mix(in srgb, var(--ink) 7%, var(--surface));border-radius:6px;flex:none;padding:1px 6px;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.74rem;font-weight:600}.cat-acc[data-missing]{font-family:var(--font);color:var(--warn-ink);background:var(--warn-bg)}.cat-n{text-align:center;font-variant-numeric:tabular-nums;min-width:26px;color:var(--muted);background:color-mix(in srgb, var(--ink) 6%, var(--surface));border-radius:999px;flex:none;padding:2px 8px;font-size:.76rem;font-weight:700}.cat-n[data-zero]{color:var(--line-strong);background:0 0}.cat-r>svg{width:18px;height:18px;color:var(--line-strong);flex:none}.cat-gadd{border:0;border-top:1px dashed var(--line);width:100%;min-height:46px;color:var(--muted);font:inherit;cursor:pointer;background:0 0;align-items:center;gap:8px;padding:8px 16px;font-size:.88rem;font-weight:600;display:flex}.cat-gadd:hover{color:var(--ink);background:var(--surface-2)}.cat-gadd svg{stroke-width:2.4px;width:16px;height:16px}.cat-newgroup{border:1.5px dashed var(--line-strong);border-radius:var(--radius-card);min-height:64px;color:var(--ink-2);font:inherit;cursor:pointer;break-inside:avoid;background:0 0;justify-content:center;align-items:center;gap:8px;font-weight:600;display:flex}.cat-newgroup:hover{border-color:var(--ink-2);color:var(--ink)}.cat-newgroup svg{stroke-width:2.4px;width:18px;height:18px}.cat-pill{background:var(--document-bg);color:var(--document);border-radius:999px;flex:none;padding:1px 7px;font-size:.7rem;font-weight:600}.cat-pill[data-type=facture]{background:var(--facture-bg);color:var(--facture)}.cat-pill[data-type=ticket]{background:var(--ticket-bg);color:var(--ticket)}.cat-blank{text-align:center;color:var(--muted);padding:28px 16px;font-size:.9rem}.cat-danger{border:1px solid color-mix(in srgb, var(--danger) 30%, var(--line));border-radius:var(--radius);background:color-mix(in srgb, var(--danger-bg) 50%, var(--surface));flex-wrap:wrap;align-items:center;gap:12px;margin-top:8px;padding:14px 16px;display:flex}.cat-danger-text{flex-direction:column;flex:220px;gap:2px;display:flex}.cat-danger-text span{color:var(--muted);font-size:.85rem}.cat-danger .btn svg{width:16px;height:16px}.cat-dialog-head{color:var(--muted);align-items:center;gap:10px;margin-top:-4px;font-size:.88rem;display:flex}.cat-form{flex-direction:column;gap:14px;display:flex}.cat-form-row{grid-template-columns:130px minmax(0,1fr);gap:10px;display:grid}.cat-form-row>.field{min-width:0}.cat-form .input-mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace}.cat-dest{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.cat-form-foot{border-top:1px solid var(--line);align-items:center;gap:10px;padding-top:12px;display:flex}.cat-form-foot .grow{flex:1}.cat-form-foot .btn svg{width:16px;height:16px}@media (width<=600px){.cat-toolbar .btn-label{display:none}.cat-toolbar .btn{justify-content:center;width:44px;padding:0}.cat-form-row{grid-template-columns:110px minmax(0,1fr)}.cat-form-foot{flex-wrap:wrap}}@media (width>=960px){.settings-content:has(.cat-page){max-width:1080px}}@media (width>=1180px){.cat-groups{columns:2;column-gap:16px;display:block}.cat-groups>*{margin-bottom:16px}.cat-groups>.cat-newgroup{width:100%}}.cat-ents{scrollbar-width:none;gap:8px;margin:0 -16px;padding:2px 16px;display:flex;overflow-x:auto}.cat-ents::-webkit-scrollbar{display:none}.cat-ents button{border:1px solid var(--line);background:var(--surface);min-height:36px;color:var(--ink-2);font:inherit;white-space:nowrap;cursor:pointer;border-radius:999px;flex:none;padding:0 14px;font-size:.88rem;font-weight:600}.cat-ents button[aria-pressed=true]{border-color:var(--ink);background:var(--ink);color:var(--bg)}@media (width>=900px){.cat-ents{flex-wrap:wrap}}.cat-ent{vertical-align:1px;color:var(--ink-2);background:color-mix(in srgb, var(--ink) 7%, var(--surface));white-space:nowrap;border-radius:999px;margin-left:8px;padding:1px 8px;font-size:.7rem;font-weight:600;display:inline-block}.choice:disabled{opacity:.5;cursor:not-allowed}.mycard{align-items:center;gap:14px;display:grid}.mycard .pay-card{max-width:320px}.mycard-info{gap:10px;font-size:.9rem;display:grid}.mycard-empty{justify-items:start;gap:12px;display:grid}.mycard-empty p{color:var(--ink-2);margin:0}@media (width>=700px){.mycard{grid-template-columns:300px 1fr}}.period-row{align-items:center;gap:8px;display:flex}.period-row .input{flex:1;min-width:0}.period-sep{color:var(--muted);flex:none;font-size:.9rem}.fx-texts{gap:10px;display:grid}.fx-chip-paid[aria-pressed=true]{color:#b42318;background:color-mix(in srgb, #b42318 8%, var(--surface));border-color:#b4231866}.fx-paper-note{white-space:pre-line}.year-pick{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;display:flex}.ops-actions{flex-wrap:wrap;gap:4px 12px;margin-top:2px;display:flex}.ops-actions .ops-more{align-items:center;gap:4px;display:inline-flex}.ops-actions .ops-more svg{width:13px;height:13px}.fx-kind{grid-template-columns:1fr 1fr;gap:8px;display:grid}.fx-kind button{border:1.5px solid var(--line);background:var(--surface);text-align:left;font:inherit;color:inherit;cursor:pointer;border-radius:14px;flex-direction:column;gap:2px;padding:12px 14px;transition:border-color .15s,background .15s;display:flex}.fx-kind button:hover{border-color:var(--line-strong)}.fx-kind button[aria-checked=true]{border-color:var(--sun);background:var(--sun-soft)}.fx-kind strong{align-items:center;gap:6px;font-weight:600;display:inline-flex}.fx-kind strong svg{width:16px;height:16px}.fx-kind small{color:var(--muted);font-size:.8rem}.fx-step{border-top:1px solid var(--line);flex-direction:column;gap:12px;padding-top:18px;display:flex}.fx-kind+.fx-step,.fx-step:first-child{border-top:0;padding-top:4px}.fx-step-head{align-items:center;gap:10px;display:flex}.fx-step-head h3{flex:1;margin:0;font-size:1rem}.fx-step-n{background:var(--ink);width:24px;height:24px;color:var(--surface);font:600 .78rem var(--font);border-radius:50%;flex:none;place-items:center;display:grid}.fx-step-aside{font:600 .95rem var(--font-title)}.fx-step-body{flex-direction:column;gap:12px;padding-left:34px;display:flex}.fx-step-body>*{flex-shrink:0}.fx-tpl-pick{background:var(--fx-soft);border-radius:12px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.fx-tpl-pick .fx-chip .fx-muted{font-size:.78rem}.fx-more{font:500 .85rem var(--font);color:var(--muted);cursor:pointer;text-underline-offset:3px;background:0 0;border:0;align-self:flex-start;padding:2px 0;text-decoration:underline}.fx-more:hover{color:var(--ink)}.fx-send-hint{padding-left:34px}.fx-preview-cap{text-align:center;margin-top:8px}.fx-seg-rec button svg{width:15px;height:15px}.fx-rec-head{background:var(--fx-soft);border-radius:14px;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 14px;display:flex}.fx-rec-head p{color:var(--ink-2);flex:260px;align-items:center;gap:10px;margin:0;font-size:.88rem;display:flex}.fx-rec-head p>svg{flex:none;width:20px;height:20px}.fx-card h3:has(.fx-h-link){justify-content:space-between;align-items:baseline;gap:8px;display:flex}.fx-h-link{font-size:.82rem;font-weight:500}.fx-tpl-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;margin:0;padding:0;list-style:none;display:grid}.fx-tpl-card{border:1px solid var(--line);background:var(--surface);border-radius:18px;flex-direction:column;transition:border-color .15s,box-shadow .15s,transform .15s;display:flex;position:relative;overflow:hidden}.fx-tpl-card:hover{border-color:var(--line-strong);box-shadow:var(--shadow);transform:translateY(-1px)}.fx-tpl-open{text-align:left;font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;flex-direction:column;flex:1;padding:0;display:flex}.fx-tpl-thumb{background:var(--fx-soft);pointer-events:none;height:190px;padding:16px 22px 0;display:block;overflow:hidden}.fx-tpl-thumb .fx-paper-box{border-radius:4px 4px 0 0}.fx-tpl-thumb .fx-paper-empty{aspect-ratio:auto;height:100%;font-size:.82rem}.fx-tpl-meta{border-top:1px solid var(--line);grid-template-columns:1fr auto;grid-template-areas:"name total""info info";gap:2px 10px;padding:12px 14px 14px;display:grid}.fx-tpl-meta strong{font:600 1rem var(--font-title);text-overflow:ellipsis;white-space:nowrap;grid-area:name;overflow:hidden}.fx-tpl-meta b{font:600 .95rem var(--font-title);white-space:nowrap;grid-area:total}.fx-tpl-meta small{color:var(--muted);grid-area:info;font-size:.8rem}.fx-tpl-use{opacity:0;transition:opacity .15s;position:absolute;top:10px;right:10px}.fx-tpl-card:hover .fx-tpl-use,.fx-tpl-use:focus-visible{opacity:1}@media (hover:none){.fx-tpl-use{opacity:1}}@media (width<=760px){.fx-step-body,.fx-send-hint{padding-left:0}.fx-tpl-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fx-tpl-thumb{height:140px;padding:10px 12px 0}}.entity-switch{border:1px solid var(--line);background:var(--surface);scrollbar-width:none;border-radius:14px;align-items:center;gap:4px;width:fit-content;max-width:100%;padding:4px;display:flex;overflow-x:auto}.entity-switch::-webkit-scrollbar{display:none}.entity-switch>svg{width:18px;height:18px;color:var(--muted);flex:none;margin:0 6px 0 8px}.entity-switch button{min-height:36px;font:600 .92rem var(--font);color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:10px;flex:none;align-items:center;gap:8px;padding:0 14px;transition:background .15s,color .15s;display:inline-flex}.entity-switch button:hover{background:color-mix(in srgb, var(--ink) 5%, transparent);color:var(--ink)}.entity-switch button[aria-selected=true]{background:var(--sun);color:#1a1a1a}.entity-switch .num{background:color-mix(in srgb, var(--ink) 10%, transparent);text-align:center;border-radius:10px;min-width:20px;padding:0 6px;font-size:.75rem;line-height:20px}.entity-switch button[aria-selected=true] .num{background:#00000024}@media (width<=760px){.entity-switch{width:100%}.entity-switch button{flex:1;justify-content:center}}.xf-bar{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.xf-years{scrollbar-width:none;flex:auto;gap:4px;min-width:0;display:flex;overflow-x:auto}.xf-years::-webkit-scrollbar{display:none}.xf-years button{min-height:32px;font:600 .88rem var(--font);color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:none;padding:0 12px}.xf-years button:hover{color:var(--ink)}.xf-years button[aria-pressed=true]{background:var(--ink);color:var(--surface)}.xf-tools{align-items:center;gap:8px;display:flex}.xf-open{align-items:center;gap:6px;display:inline-flex}.xf-open svg{width:16px;height:16px}.xf-open .num{background:var(--sun);color:#1a1a1a;border-radius:9px;min-width:18px;padding:0 5px;font-size:.72rem;line-height:18px}.xf-open[data-on]{border-color:var(--ink)}.xf-sort{color:var(--muted);align-items:center;gap:6px;font-size:.82rem;display:inline-flex}.xf-sort select{width:auto;min-height:34px;padding:0 28px 0 10px;font-size:.86rem}.xf-active{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.xf-chip{background:var(--sun-soft);min-height:28px;color:var(--ink);font:500 .8rem var(--font);cursor:pointer;border:0;border-radius:14px;align-items:center;gap:6px;padding:0 8px 0 12px;display:inline-flex}.xf-chip svg{opacity:.7;width:13px;height:13px}.xf-summary{background:color-mix(in srgb, var(--ink) 4%, var(--surface));color:var(--ink-2);border-radius:12px;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin:0;padding:10px 14px;font-size:.88rem;display:flex}.xf-due{margin-left:auto}.xf-due strong{color:var(--ink)}.xf-dialog .xf-body{flex-direction:column;gap:18px;max-height:min(64vh,640px);margin:0 -4px;padding:0 4px;display:flex;overflow-y:auto}.xf-sec{flex-direction:column;gap:8px;display:flex}.xf-sec h3{color:var(--muted);text-transform:uppercase;letter-spacing:.03em;margin:0;font-size:.85rem;font-weight:600}.xf-months{grid-template-columns:repeat(6,1fr);gap:6px;display:grid}.xf-months .chip{justify-content:center}.xf-quick{flex-wrap:wrap;gap:4px 14px;font-size:.82rem;display:flex}.xf-cats{flex-direction:column;gap:12px;display:flex}.xf-group{flex-direction:column;gap:6px;display:flex}.xf-group-btn{font:600 .92rem var(--font);color:var(--ink);cursor:pointer;background:0 0;border:0;align-self:flex-start;align-items:baseline;gap:8px;padding:2px 0;display:inline-flex}.xf-group-btn small{color:var(--muted);font-size:.75rem;font-weight:500}.xf-group-btn[aria-pressed=true]{text-decoration:underline;-webkit-text-decoration-color:var(--sun);text-decoration-color:var(--sun);text-underline-offset:4px;text-decoration-thickness:3px}.xf-group-btn[aria-pressed=true] small:after{content:" ✓"}.xf-acc{color:var(--muted);font-variant-numeric:tabular-nums;margin-right:6px;font-size:.72rem;font-weight:600}@media (width<=760px){.xf-tools{width:100%}.xf-sort{margin-left:auto}.xf-months{grid-template-columns:repeat(4,1fr)}.xf-due{margin-left:0}}.screen.bl{gap:18px;max-width:1080px}.bl-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px;display:flex}.bl-head h1{margin:0}.bl-head .btn svg{width:18px;height:18px}.bl-eyebrow{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:0 0 2px;font-size:.75rem;font-weight:600}.bl-muted{color:var(--muted);margin:0;font-size:.9rem}.bl-params{border:1px solid var(--line);background:var(--surface);border-radius:16px;flex-wrap:wrap;align-items:flex-end;gap:12px 16px;padding:14px 16px;display:flex}.bl-param{flex-direction:column;gap:4px;display:flex}.bl-param>span{color:var(--muted);font-size:.75rem;font-weight:600}.bl-param select,.bl-param input{width:auto;min-height:36px}.bl-seg{background:color-mix(in srgb, var(--ink) 6%, var(--surface));border-radius:10px;gap:2px;padding:3px;display:inline-flex}.bl-seg button{min-height:30px;font:500 .85rem var(--font);color:var(--ink-2);cursor:pointer;background:0 0;border:0;border-radius:8px;padding:0 12px}.bl-seg button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 1px 3px #00000024}.bl-check{cursor:pointer;align-items:center;gap:8px;min-height:36px;font-size:.9rem;display:inline-flex}.bl-check input{width:18px;height:18px;accent-color:var(--ink)}.bl-kpis{grid-template-columns:1.4fr 1fr 1fr 1fr;gap:10px;display:grid}.bl-kpi{border:1px solid var(--line);background:var(--surface);border-radius:16px;flex-direction:column;gap:2px;min-width:0;padding:14px 16px;display:flex}.bl-kpi>span{color:var(--muted);font-size:.78rem;font-weight:600}.bl-kpi strong{font:600 1.15rem var(--font-title);overflow-wrap:anywhere}.bl-kpi small{color:var(--muted);font-size:.78rem}.bl-kpi-main{background:var(--sun-soft);border-color:#0000}.bl-kpi-main strong{font-size:1.5rem}.bl-kpi[data-tone=warn]{background:var(--warn-bg);border-color:#0000}.bl [data-tone=up]{color:var(--danger)}.bl [data-tone=down]{color:var(--ok)}.bl-warn{color:var(--muted);gap:8px;padding:0 2px;font-size:.82rem;display:flex}.bl-warn>svg{width:15px;height:15px;color:var(--warn-ink);flex:none;margin-top:2px}.bl-warn .link-btn{font-size:inherit}.bl-fx{flex-wrap:wrap;align-items:center;gap:4px 12px;display:flex}.bl-rate{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.bl-rate input{width:76px;min-height:28px;padding:2px 8px;font-size:.82rem}.bl-orig{font-variant-numeric:tabular-nums;flex:none}.bl-warn ul{flex-direction:column;gap:4px;margin:0;padding:0;list-style:none;display:flex}.bl-empty{border:2px dashed var(--line);color:var(--muted);text-align:center;border-radius:16px;flex-direction:column;align-items:center;gap:4px;padding:48px 16px;display:flex}.bl-empty strong{color:var(--ink)}.bl-sheet{border:1px solid var(--line);background:var(--surface);border-radius:16px;overflow:hidden}.bl-sheet-head{border-bottom:2px solid var(--ink);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;padding:16px 18px 12px;display:flex}.bl-sheet-head div{flex-direction:column;display:flex}.bl-sheet-head strong{font:700 1.05rem var(--font-title);text-transform:uppercase;letter-spacing:.03em}.bl-sheet-head span{color:var(--ink-2);font-size:.9rem}.bl-sheet-head small{color:var(--muted);font-size:.78rem}.bl-table{border-collapse:collapse;width:100%;font-size:.9rem}.bl-table th{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);text-align:left;border-bottom:1px solid var(--line);padding:10px 10px 8px;font-size:.72rem;font-weight:600}.bl-table td{vertical-align:top;padding:6px 10px}.bl-table th:first-child,.bl-table td:first-child{padding-left:18px}.bl-table th:last-child,.bl-table td:last-child{padding-right:18px}.bl-c-acc{font-variant-numeric:tabular-nums;width:72px}.bl-table .bl-c-n{text-align:right;width:64px;color:var(--muted)}.bl-table .bl-c-amt{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;width:140px}.bl-table .bl-c-pct{text-align:right;width:56px;color:var(--muted);font-variant-numeric:tabular-nums}.bl-sec-head td{padding-top:16px;font-size:.92rem;font-weight:700}.bl-sec[data-pending] .bl-sec-head td{color:var(--warn-ink)}.bl-acc:hover td{background:color-mix(in srgb, var(--ink) 3%, transparent)}.bl-acc-btn{font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:flex-start;gap:6px;padding:0;display:inline-flex}.bl-acc-btn:disabled{cursor:default}.bl-acc-btn span{flex-direction:column;display:flex}.bl-acc-btn small{color:var(--muted);font-size:.76rem}.bl-chev{width:14px;height:14px;color:var(--muted);flex:none;margin-top:3px;transition:transform .15s}.bl-acc[data-open] .bl-chev{transform:rotate(90deg)}.bl-delta{font-size:.72rem;display:block}.bl-item td{color:var(--ink-2);background:color-mix(in srgb, var(--ink) 2.5%, transparent);padding-top:3px;padding-bottom:3px;font-size:.82rem}.bl-item-text{align-items:center;gap:10px;padding-left:20px;display:flex}.bl-item-text time{color:var(--muted);font-variant-numeric:tabular-nums;flex:none}.bl-item-text>span{flex:1;min-width:0}.bl-item-text small{color:var(--muted)}.bl-item-text em{background:var(--warn-bg);border-radius:6px;flex:none;padding:1px 6px;font-size:.72rem;font-style:normal}.bl-item-edit{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;place-items:center;display:grid}.bl-item-edit:hover{background:color-mix(in srgb, var(--ink) 8%, transparent);color:var(--ink)}.bl-item-edit svg{width:14px;height:14px}.bl-subtotal td{padding-top:8px;padding-bottom:6px;font-weight:600}.bl-subtotal .bl-c-amt{border-top:1px solid var(--line-strong)}.bl-total td{font:700 1rem var(--font-title);text-transform:uppercase;border-top:2px solid var(--ink);padding-top:14px;padding-bottom:16px}.bl-total .bl-c-amt{text-underline-offset:5px;-webkit-text-decoration:underline double;text-decoration:underline double}.bl-formats{grid-template-columns:1fr 1fr;gap:8px;margin:6px 0 8px;display:grid}.bl-formats button{border:1.5px solid var(--line);background:var(--surface);text-align:left;font:inherit;color:inherit;cursor:pointer;border-radius:14px;flex-direction:column;gap:2px;padding:12px 14px;display:flex}.bl-formats button[aria-checked=true]{border-color:var(--sun);background:var(--sun-soft)}.bl-formats small{color:var(--muted);font-size:.8rem}@media (width<=760px){.bl-kpis{grid-template-columns:1fr 1fr}.bl-kpi-main{grid-column:1/-1}.bl-hide-sm{display:none}.bl-c-acc{width:48px}.bl-table .bl-c-n{width:40px}.bl-table .bl-c-amt{width:auto}.bl-table th:first-child,.bl-table td:first-child{padding-left:12px}.bl-item-text{flex-wrap:wrap;gap:4px 8px;padding-left:0}}.currency-pick{align-items:center}.currency-pick .chip.ai{box-shadow:inset 0 -6px 0 var(--hl)}.currency-other{text-transform:uppercase;width:92px;min-height:36px}.field-warn{color:var(--warn-ink)}.vent-rows{flex-direction:column;gap:8px;margin-top:8px;display:flex}.vent-row{grid-template-columns:minmax(0,1fr) 120px auto;align-items:center;gap:8px;display:grid}.vent-amount{text-align:right}.vent-foot{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;font-size:.85rem;display:flex}.vent-foot .link-btn{align-items:center;gap:4px;display:inline-flex}.vent-foot svg{width:14px;height:14px}.vent-gap{color:var(--warn-ink);flex-wrap:wrap;gap:4px 10px;font-weight:600;display:inline-flex}.fx-tag-btn{cursor:pointer;font:inherit;border:0;align-self:center;margin-right:8px}.fx-rec-note{align-items:flex-start;gap:8px;display:flex}.fx-rec-note svg{width:16px;height:16px;color:var(--ok);flex:none;margin-top:2px}.install-banner{left:12px;right:12px;bottom:calc(var(--tabbar-h) + var(--safe-bottom) + 12px);z-index:19;border:1px solid var(--line);background:var(--surface);border-radius:16px;align-items:center;gap:10px;padding:10px 10px 10px 12px;animation:.25s ease-out install-in;display:flex;position:fixed;box-shadow:0 8px 28px #0000002e}html[data-sheet=open] .install-banner{display:none}@keyframes install-in{0%{opacity:0;transform:translateY(16px)}}.install-icon{border-radius:10px;flex:none;width:40px;height:40px}.install-text{flex-direction:column;flex:1;min-width:0;display:flex}.install-text strong{font-size:.95rem}.install-text small{color:var(--muted);font-size:.78rem}.install-banner .btn svg{width:16px;height:16px}.install-steps{flex-direction:column;gap:12px;margin:4px 0 12px;padding-left:22px;line-height:1.45;display:flex}.install-glyph{background:color-mix(in srgb, var(--ink) 8%, transparent);vertical-align:middle;color:#0a84ff;border-radius:7px;place-items:center;width:26px;height:26px;margin:0 2px;display:inline-grid}.install-note{color:var(--muted);margin:0 0 12px;font-size:.85rem}@media (width>=961px){.install-banner{width:380px;bottom:20px;left:auto;right:20px}}.no-receipt-btn{width:100%}.x-noreceipt{background:var(--warn-bg);color:var(--warn-ink)}.no-receipt-note{background:var(--warn-bg);color:var(--warn-ink);border-radius:12px;margin:0;padding:12px 14px;font-size:.88rem}.nr-amount{gap:6px;display:flex}.nr-amount select{width:auto}.nr-shot{cursor:pointer;align-self:flex-start;align-items:center;gap:8px;display:inline-flex}.nr-shot svg{width:16px;height:16px}.reading-progress{text-overflow:ellipsis;white-space:nowrap;text-align:center;max-width:min(90vw,420px);margin:0;overflow:hidden}.imp-chip[data-missing=true]{border-color:var(--danger,#c0392b);color:var(--danger,#c0392b)}.doc-save{gap:16px;padding-bottom:120px}.conf-help summary{cursor:pointer;justify-content:space-between;align-items:center;gap:8px;font-weight:700;list-style:none;display:flex}.conf-help summary::-webkit-details-marker{display:none}.conf-help summary:after{content:"";border-bottom:2px solid;border-right:2px solid;flex:none;width:8px;height:8px;transition:transform .15s;transform:rotate(45deg)}.conf-help[open] summary:after{transform:rotate(-135deg)}.conf-help[open] summary{margin-bottom:10px}@media (width<=959px){.flow-summary,.scan-summary{display:none}}.imp-bulk{border:1.5px dashed var(--sun);border-radius:var(--radius);background:var(--sun-soft);flex-direction:column;gap:10px;padding:12px 14px;display:flex}.imp-bulk[data-selection]{z-index:5;box-shadow:var(--shadow);border-style:solid;position:sticky;top:8px}.imp-bulk-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.imp-bulk-title{flex-direction:column;gap:1px;min-width:0;display:flex}.imp-bulk-title strong{font-size:.95rem}.imp-bulk-title span{color:var(--muted);font-size:.8rem}.imp-bulk-controls,.imp-bulk-actions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.imp-bulk .imp-select,.imp-bulk .imp-input,.imp-bulk .imp-chip,.imp-bulk .imp-seg{background-color:var(--surface)}.imp-row[data-single]{grid-template-columns:48px minmax(0,1fr) 36px;grid-template-areas:"thumb title remove""thumb controls remove""manual manual manual"}.imp-row{grid-template-areas:"check thumb title remove""check thumb controls remove""manual manual manual manual"}.imp-manual{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--line);flex-direction:column;grid-area:manual;gap:10px;padding:12px;display:flex}.imp-manual-head{flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0;font-size:.9rem;display:flex}.imp-manual-head svg{width:15px;height:15px}.imp-manual-head span{color:var(--muted);font-size:.8rem}.imp-manual-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.imp-manual-grid label{min-width:0;color:var(--muted);flex-direction:column;gap:4px;font-size:.8rem;display:flex}.imp-manual-grid .input{color:var(--ink);min-width:0}.imp-manual-grid .input[data-missing]{border-color:var(--sun);box-shadow:0 0 0 1px var(--sun)}.imp-manual-wide{grid-column:1/-1}@media (width<=640px){.imp-bulk-controls{grid-template-columns:1fr;gap:8px;display:grid}.imp-bulk-controls>.imp-switch{order:-1;justify-self:start}.imp-row[data-single]{grid-template-columns:40px minmax(0,1fr) 32px;grid-template-areas:"thumb title remove""controls controls controls""manual manual manual"}.imp-row{grid-template-areas:"check thumb title remove""controls controls controls controls""manual manual manual manual"}.imp-steps{display:none}}.sd-trigger{text-align:left;cursor:pointer;color:var(--ink);align-items:center;min-width:0;display:flex}.sd-trigger[data-empty]{color:var(--muted)}.sd-trigger[data-missing]{border-color:var(--sun);box-shadow:0 0 0 1px var(--sun)}.sd-value{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.dialog.dialog-drawer{overscroll-behavior:contain;gap:10px;max-height:min(80dvh,640px);overflow-y:auto}.dialog-drawer h2{font-size:1.1rem}.sd-search{z-index:1;position:sticky;top:0}.sd-list{flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;display:flex}.sd-group{letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:12px 4px 4px;font-size:.75rem;font-weight:700}.sd-list>li:first-child .sd-group{margin-top:0}.sd-option{border-radius:var(--radius-sm);width:100%;min-height:48px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:10px 12px;font-size:1rem;display:flex}.sd-option:hover{background:var(--surface-2)}.sd-option[aria-pressed=true]{background:var(--sun-soft);font-weight:600}.sd-option svg{flex:none;width:18px;height:18px}.sd-label{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.sd-label small{color:var(--muted);font-size:.8rem;font-weight:400}.sd-empty{padding:12px}img.sb-avatar,img.tm-avatar,img.account-avatar{object-fit:cover;background:var(--surface-2)}.choice-person{object-fit:cover;border-radius:50%;padding:0;overflow:hidden}.mini-card{background:linear-gradient(135deg, var(--card-a), var(--card-b));color:#fff;border-radius:8px;flex:none;width:62px;height:42px;position:relative;overflow:hidden;box-shadow:0 2px 6px #0000002e,inset 0 1px #ffffff2e}.mini-card:after{content:"";background:#ffffff1f;border-radius:50%;width:44px;height:44px;position:absolute;top:-18px;right:-14px}.mini-card-chip{background:linear-gradient(135deg,#fde68a,#d4a017);border-radius:2px;width:12px;height:9px;position:absolute;top:9px;left:8px}.mini-card-digits{letter-spacing:.04em;font-variant-numeric:tabular-nums;font-size:.68rem;font-weight:700;position:absolute;bottom:5px;left:8px}.mini-card-label{letter-spacing:.06em;justify-content:center;align-items:center;font-size:.72rem;font-weight:800;display:flex;position:absolute;inset:0}.choice:disabled .mini-card{opacity:.45}.picker-new-form{flex-direction:column;gap:12px;display:flex}.picker-new-form p{margin:0}.fx-seg-full{width:100%;display:flex}.fx-seg-full button{flex:1;justify-content:center}.fx-subhead{color:var(--muted);grid-column:1/-1;margin:4px 0 -4px;font-size:.8rem;font-weight:600}.entity-issuer{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);width:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;align-items:center;gap:12px;padding:12px;display:flex}.entity-issuer:hover{border-color:var(--line-strong)}.entity-issuer>span.grow{flex-direction:column;gap:2px;min-width:0;display:flex}.entity-issuer>span.grow .small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.entity-issuer>svg{width:20px;height:20px;color:var(--muted);flex:none}.entity-issuer-logo{object-fit:contain;background:#fff;border-radius:6px;flex:none;width:40px;height:40px}.entity-issuer-tag{background:var(--sun-soft);border-radius:999px;flex:none;padding:2px 8px;font-size:.75rem;font-weight:700}.add-card-btn{width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer}.add-card-btn>span.grow{flex-direction:column;gap:2px;display:flex}.fx-title-input{align-items:center;gap:8px;display:flex}.fx-title-input>span{letter-spacing:.04em;flex:none;font-weight:700}.fx-line-format{flex:none}.fx-chip-wrap{align-items:center;gap:2px;display:inline-flex}.fx-add-mail{gap:8px;margin-top:8px;display:flex}.fx-add-mail .fx-input{flex:1;min-width:0}.fx-send-list{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.fx-send-list li{align-items:center;gap:8px;font-weight:600;display:flex}.fx-send-list svg{width:16px;height:16px;color:var(--muted)}.fx-emails{flex-direction:column;gap:6px;display:flex}.fx-email{border:1px solid var(--line);background:var(--surface-2);overflow-wrap:anywhere;border-radius:10px;align-items:center;gap:8px;padding:6px 6px 6px 12px;font-weight:600;display:flex}.pay-card[style]{background:linear-gradient(135deg, var(--card-a), var(--card-b))}.pay-card-top{justify-content:space-between;align-items:flex-start;gap:8px;min-width:0;padding-right:26px;display:flex}.pay-card-top .pay-card-name{text-transform:none;letter-spacing:0;font-size:.95em}.pay-card-foot{justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}.pay-card-foot .pay-card-entity{opacity:.8;text-overflow:ellipsis;white-space:nowrap;font-size:.8em;font-weight:600;overflow:hidden}.pay-card-foot .pay-card-number{flex:none;font-size:1.05em;font-weight:700}.entity-mark-logo{padding:4px;overflow:hidden;background:#fff!important}.entity-mark-logo img{object-fit:contain;width:100%;height:100%}.btn-sent{background:color-mix(in srgb, #2563eb 14%, var(--surface));color:color-mix(in srgb, #2563eb 80%, var(--ink));border-color:#2563eb73}.btn-sent:hover:not(:disabled){background:color-mix(in srgb, #2563eb 22%, var(--surface))}.fx-compose{flex-direction:column;gap:10px;display:flex}.fx-compose-row{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding-bottom:8px;display:flex}.fx-compose-row .fx-input{flex:1;min-width:0}.fx-compose-label{width:44px;color:var(--muted);flex:none;font-size:.8rem;font-weight:700}.fx-compose-body{resize:vertical;min-height:200px;line-height:1.5}.fx-compose-footer{background:var(--surface-2);color:var(--muted);white-space:pre-line;border-radius:8px;margin:0;padding:8px 10px;font-size:.8rem}.fx-compose-attach{align-items:center;gap:6px;margin:0;font-size:.85rem;font-weight:600;display:flex}.fx-compose-attach svg{width:16px;height:16px}.ii-list{flex-direction:column;gap:12px;margin:0;padding:0;list-style:none;display:flex}.ii-row{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:12px;padding:12px;display:flex}.ii-row[data-state=importee]{opacity:.7}.ii-row[data-state=erreur]{border-color:color-mix(in srgb, var(--danger) 50%, var(--line))}.ii-head{align-items:center;gap:12px;display:flex}.ii-thumb{border:1px solid var(--line);background:var(--surface-2);border-radius:6px;flex:none;justify-content:center;align-items:center;width:44px;height:58px;display:flex;overflow:hidden}.ii-thumb img{object-fit:cover;object-position:top;width:100%;height:100%}.ii-title{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.ii-title strong,.ii-title small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.ii-title small{color:var(--muted)}.ii-ok{background:color-mix(in srgb, var(--ok) 18%, var(--surface));width:28px;height:28px;color:var(--ok);border-radius:50%;flex:none;justify-content:center;align-items:center;display:flex}.ii-ok svg{width:16px;height:16px}.ii-problem{grid-column:1/-1;align-items:center;gap:6px;margin:0;display:flex}.ii-pdf{border:1px solid var(--line);background:#fff;border-radius:8px;width:100%;height:min(80vh,900px)}.x-dup{font:inherit;background:var(--warn-bg);color:var(--warn-ink);white-space:nowrap;cursor:pointer;border:0;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:700;box-shadow:inset 0 0 0 1px}.x-dup:focus-visible{outline:2px solid var(--focus);outline-offset:2px}.x-bar-warn{color:var(--warn-ink);background:var(--warn-bg);border-radius:999px;padding:2px 8px;font-size:.78rem;font-weight:600}.dup-list{flex-direction:column;gap:8px;margin:12px 0;padding:0;list-style:none;display:flex}.dup-item{border:1px solid var(--line);border-radius:var(--radius-sm);flex-wrap:wrap;align-items:center;gap:10px;padding:10px 12px;display:flex}.dup-item[data-here]{border-color:var(--warn-ink);background:var(--warn-bg)}.dup-main{flex-direction:column;flex:220px;gap:2px;min-width:0;display:flex}.dup-title{align-items:center;gap:8px;display:flex}.dup-here{text-transform:uppercase;letter-spacing:.04em;color:var(--warn-ink);font-size:.7rem;font-weight:700}.dup-actions{flex-wrap:wrap;gap:6px;display:flex}.x-dup[data-tone=danger]{background:var(--danger);color:#fff;box-shadow:none}.rem-fees{flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:6px;display:flex}.rem-fees .input{width:110px}.rem-add{flex-direction:column;gap:8px;margin-top:8px;display:flex}@media (width>=601px){.dialog{overscroll-behavior:contain;max-height:calc(100dvh - 32px);overflow-y:auto}}.dialog.dialog-side{padding-top:0}.dialog-head{z-index:2;background:var(--surface);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;margin:0 -20px;padding:12px 12px 10px 20px;display:flex;position:sticky;top:0}.dialog-head h2{margin:0}.dialog-side .action-bar-row{background:var(--surface);border-top:1px solid var(--line);margin:0 -20px -20px;padding:12px 20px 20px;position:sticky;bottom:-20px}@media (width>=601px){.dialog-backdrop:has(.dialog-side){justify-content:flex-end;align-items:stretch;padding:0}.dialog.dialog-side{border-radius:var(--radius) 0 0 var(--radius);max-width:520px;height:100dvh;max-height:none;animation:.2s ease-out side-in}}@media (width<=600px){.dialog.dialog-side{max-height:94dvh;padding-top:0}.dialog.dialog-side:before{display:none}.dialog-side .dialog-head{margin:0 calc(-20px - var(--safe-right)) 0 calc(-20px - var(--safe-left));padding-left:calc(var(--safe-left) + 20px)}.dialog-side .action-bar-row{bottom:calc(-20px - var(--safe-bottom));margin:0 calc(-20px - var(--safe-right)) calc(-20px - var(--safe-bottom)) calc(-20px - var(--safe-left));padding-bottom:calc(var(--safe-bottom) + 16px)}}@keyframes side-in{0%{opacity:0;transform:translate(40px)}}@media (prefers-reduced-motion:reduce){.dialog.dialog-side{animation:none}}.dup-here{white-space:nowrap}.rem-status{border-radius:var(--radius-sm);background:var(--surface-2);border:1px solid var(--line);flex-direction:column;gap:6px;padding:14px 16px;display:flex}.rem-status strong{font-size:1.15rem}.rem-status[data-tone=ok]{background:var(--ok-bg);border-color:var(--ok)}.rem-status[data-tone=ok] strong{color:var(--ok)}.rem-status[data-tone=warn]{background:var(--warn-bg);border-color:var(--warn-ink)}.rem-status-actions{flex-wrap:wrap;gap:8px;margin-top:4px;display:flex}.rem-steps{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.rem-step{border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden}.rem-step[data-out]{opacity:.7;border-style:dashed}.rem-step-head{width:100%;min-height:56px;color:var(--ink);font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:10px 14px;display:flex}.rem-cand{cursor:default}.rem-step-head:hover:not(.rem-cand){background:var(--surface-2)}.rem-step-what,.rem-step-right{flex-direction:column;gap:2px;min-width:0;display:flex}.rem-step-right{flex-shrink:0;align-items:flex-end}.rem-pill{background:var(--surface-2);color:var(--muted);border-radius:999px;padding:1px 8px;font-size:.75rem;font-weight:600}.rem-pill[data-tone=ok]{background:var(--ok-bg);color:var(--ok)}.rem-pill[data-tone=due]{background:var(--warn-bg);color:var(--warn-ink)}.rem-warn{color:var(--warn-ink);border-top:1px dashed var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding:8px 14px 10px;font-size:.85rem;display:flex}.rem-step-more{flex-direction:column;gap:8px;padding:4px 14px 12px;display:flex}.rem-add-link{align-self:flex-start}.rv-steps{flex-direction:column;gap:8px;margin:0 0 16px;display:flex}.rv-steps ol{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px 14px;margin:0;padding:0;list-style:none;display:grid}.rv-steps li{position:relative}.rv-steps li+li:before{content:"›";color:var(--muted);font-weight:700;position:absolute;top:50%;left:-7px;transform:translate(-50%,-50%)}.rv-step{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);width:100%;height:100%;color:var(--ink);font:inherit;text-align:left;cursor:pointer;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;display:flex}.rv-step:hover:not([aria-current]){border-color:var(--line-strong)}.rv-step[aria-current]{border:2px solid var(--sun);background:color-mix(in srgb, var(--sun) 10%, var(--surface));cursor:default;padding:9px 11px}.rv-step-label{white-space:nowrap;font-weight:700}.rv-step-meta{color:var(--muted);font-size:.8rem}.rv-step-amount{white-space:nowrap;margin-top:4px;font-weight:700}.rv-step-amount small{color:var(--muted);font-weight:500}@media (width<=520px){.rv-steps ol{grid-template-columns:1fr}.rv-steps li+li:before{display:none}}.fl{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);flex-direction:column;grid-column:1/-1;gap:8px;padding:12px;display:flex}.fl-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.fl-list,.fl-pick{flex-direction:column;gap:6px;margin:0;padding:0;list-style:none;display:flex}.fl-list li{align-items:center;gap:8px;display:flex}.fl-open,.fl-pick-row{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface);min-width:0;color:var(--ink);font:inherit;text-align:left;cursor:pointer;flex-wrap:wrap;flex:1;align-items:center;gap:2px 10px;padding:8px 10px;display:flex}.fl-open:hover,.fl-pick-row:hover{border-color:var(--line-strong)}.fl-pick-row[aria-pressed=true]{border-color:var(--sun);background:color-mix(in srgb, var(--sun) 10%, var(--surface))}.fl-pick-row[aria-pressed=true] .x-check{background:var(--sun);border-color:var(--sun)}.fl-pick-main{flex-direction:column;flex:1;min-width:0;display:flex}.fl-amount{white-space:nowrap;margin-left:auto;font-weight:600}.fl-sum{color:var(--ink-2);margin:0}.fl-pick{margin:10px 0}.fl-pick li{display:flex}.fl-pick-end{flex-direction:column;align-items:flex-end;gap:2px;margin-left:auto;display:flex}.fl-sum-pick{border-radius:var(--radius-sm);background:color-mix(in srgb, var(--sun) 12%, var(--surface));margin-top:8px;padding:8px 10px}.rd-banner{flex-wrap:wrap;margin-bottom:12px}.rd-tabs{margin-bottom:12px}.rd-list{flex-direction:column;gap:6px;margin:10px 0;padding:0;list-style:none;display:flex}.rd-list li{border:1px solid var(--line);border-radius:var(--radius-sm);background:var(--surface-2);align-items:flex-start;gap:10px;padding:8px 10px;display:flex}.rd-list li[data-kind=fail],.rd-list li[data-kind=stop]{border-color:color-mix(in srgb, var(--danger) 35%, var(--line))}.rd-list li[data-kind=ok]{border-color:color-mix(in srgb, var(--ok) 30%, var(--line))}.rd-main{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.rd-main [data-tone=danger]{color:var(--danger)}.rd-main [data-tone=warn]{color:var(--warn-ink)}.rd-wait .rd-list li{flex-wrap:wrap}.rd-actions{white-space:nowrap;flex-wrap:wrap;gap:4px 14px;display:flex}.rd-when{color:var(--muted);white-space:nowrap;flex:none;padding-top:2px;font-size:.78rem}.rd-check{align-items:center;gap:6px;margin-right:auto;display:inline-flex}.cp-nav{max-width:360px}.bl-kpis.bl-kpis-3{grid-template-columns:repeat(3,1fr)}.bl-fin-hint{text-align:center}.bl-debt-sub{color:var(--muted);font-size:.76rem;display:block}.fi-head-actions{flex-wrap:wrap;gap:8px;display:flex}.fi-sec{flex-direction:column;gap:10px;display:flex}.fi-sec-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:12px;display:flex}.fi-sec-head h2{font:600 1.1rem var(--font-title);margin:0}.fi-sec-head small{color:var(--muted);font-size:.8rem}.fi-year{width:auto;min-height:36px;padding:6px 30px 6px 12px}.fi-debts{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px;display:grid}.fi-more{grid-column:1/-1;justify-self:start}.fi-debt{border:1px solid var(--line);background:var(--surface);border-radius:16px;flex-direction:column;gap:10px;min-width:0;padding:16px;display:flex}.fi-debt[data-state=retard]{border-color:color-mix(in srgb, var(--danger) 40%, var(--line))}.fi-debt[data-state=rembourse]{opacity:.75}.fi-debt-head{align-items:flex-start;gap:10px;display:flex}.fi-ico{background:var(--surface-2);border:1px solid var(--line);width:36px;height:36px;color:var(--ink-2);border-radius:10px;flex:none;place-items:center;display:grid}.fi-ico svg{width:18px;height:18px}.fi-ico[data-type=pret]{background:var(--sun-soft);color:var(--ink);border-color:#0000}.fi-ico[data-type=don],.fi-ico[data-type=subvention]{background:var(--ok-bg);color:var(--ok);border-color:#0000}.fi-debt-title{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.fi-debt-title strong{font:600 1rem var(--font-title);overflow-wrap:anywhere}.fi-debt-title small{color:var(--muted);font-size:.8rem}.fi-debt-amounts{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.fi-debt-amounts>div{align-items:baseline;gap:6px;display:flex}.fi-debt-amounts span{color:var(--muted);font-size:.8rem}.fi-debt-amounts strong{font:600 1.3rem var(--font-title)}.fi-bar{background:color-mix(in srgb, var(--ink) 8%, transparent);border-radius:999px;height:6px;overflow:hidden}.fi-bar span{border-radius:inherit;background:var(--ok);height:100%;display:block}.fi-plan,.fi-state{align-items:center;gap:6px;margin:0;font-size:.85rem;display:flex}.fi-plan{color:var(--ink-2)}.fi-plan svg,.fi-state svg{flex:none;width:15px;height:15px}.fi-state{background:var(--surface-2);border-radius:8px;align-self:flex-start;padding:3px 9px;font-weight:600}.fi-state[data-tone=late]{background:var(--danger-bg);color:var(--danger)}.fi-state[data-tone=ok]{background:var(--sun-soft);color:var(--ink)}.fi-state[data-tone=done]{background:var(--ok-bg);color:var(--ok)}.fi-debt-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.fi-hist-btn{align-items:center;gap:4px;margin-left:auto;display:inline-flex}.fi-hist-btn[aria-expanded=true] .bl-chev{transform:rotate(90deg)}.fi-hist{border-top:1px solid var(--line);margin:0;padding:0;list-style:none}.fi-hist li{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding:6px 0;font-size:.85rem;display:flex}.fi-hist li:last-child{border-bottom:0}.fi-hist time{color:var(--muted);font-variant-numeric:tabular-nums;flex:none}.fi-hist span{flex:1;min-width:0}.fi-hist small{color:var(--muted)}.fi-hist li[data-post] span{color:var(--ink-2);font-style:italic}.fi-list{border:1px solid var(--line);background:var(--surface);border-radius:16px;margin:0;padding:0;list-style:none;overflow:hidden}.fi-list>li+li{border-top:1px solid var(--line)}.fi-row{width:100%;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:12px 14px;display:flex}.fi-row:hover{background:color-mix(in srgb, var(--ink) 3%, transparent)}.fi-row[data-loan] .fi-row-amt{color:var(--muted)}.fi-row-main{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.fi-row-main strong{overflow-wrap:anywhere;font-weight:600}.fi-row-main small{color:var(--muted);font-size:.8rem}.fi-row-amt{flex:none;font-weight:600}.fi-row-edit{width:15px;height:15px;color:var(--muted);flex:none}.fi-total{background:var(--surface-2);justify-content:space-between;gap:12px;padding:12px 14px;font-weight:600;display:flex}.fi-form{flex-direction:column;gap:12px;display:flex}.fi-hint{margin:-4px 0 0;font-size:.85rem}.fi-quick{flex-wrap:wrap}.fi-quick .chip[aria-pressed=true]{border-color:var(--ink);background:var(--sun-soft);color:var(--ink)}.fi-delete{color:var(--danger);margin-right:auto}.fi-delete[data-sure]{background:var(--danger);border-color:var(--danger);color:var(--surface)}@media (width<=760px){.bl-kpis.bl-kpis-3{grid-template-columns:1fr 1fr}.bl-kpis.bl-kpis-3>:first-child{grid-column:1/-1}.fi-debts{grid-template-columns:1fr}.cp-nav{max-width:none}}.x-nofile{background:var(--warn-bg);width:100%;height:100%;color:var(--warn-ink);place-items:center;display:grid}.x-nofile svg{width:18px;height:18px}.nofile-panel{border:1.5px dashed color-mix(in srgb, var(--warn-ink) 45%, transparent);background:var(--warn-bg);color:var(--warn-ink);border-radius:14px;flex-direction:column;align-items:flex-start;gap:8px;padding:14px 16px;display:flex}.nofile-panel strong{font:600 1rem var(--font-title)}.nofile-panel span{font-size:.88rem}.nofile-panel .btn{color:var(--ink);cursor:pointer}.ii-ask{flex-direction:column;gap:10px;display:flex}.ii-ask>strong{font:600 1.05rem var(--font-title)}.ii-mode{color:var(--ink-2);flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 8px;font-size:.88rem;display:flex}.ii-mode svg{flex:none;width:16px;height:16px}.ii-mode .link-btn{min-height:0;padding:0}.pay-step{flex-direction:column;gap:22px;display:flex}.pay-group-title{letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:0 0 8px 2px;font-size:.78rem;font-weight:700}.pay-tiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.choice.pay-tile{flex-direction:column;align-items:flex-start;gap:10px;min-height:0;padding:12px}.pay-tile .choice-text strong{font-size:.98rem}.pay-tile .choice-text span{font-size:.8rem}.pay-hint,.pay-empty{color:var(--muted);margin:8px 2px 0;font-size:.82rem}@media (width<=380px){.pay-tiles{grid-template-columns:1fr}.choice.pay-tile{flex-direction:row;align-items:center}}.screen-guard{flex-direction:column;gap:12px;max-width:560px;margin:48px auto;display:flex}.vent-closed{flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:8px;display:flex}.vent-open{align-items:center;gap:4px;font-weight:600;display:inline-flex}.vent-open svg{width:14px;height:14px}.vent-open:disabled{opacity:.5;cursor:not-allowed}.vent-hint{color:var(--muted);font-size:.8rem}.vent-on{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:12px}.vent-head{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.vent-head .field-label{margin:0}ol.vent-rows{margin:8px 0 0;padding:0;list-style:none}.vent-on .vent-row{grid-template-columns:22px minmax(0,1fr) 132px 40px auto}.vent-num{width:22px;height:22px;color:var(--ink-2);background:var(--surface-2,color-mix(in srgb, var(--ink) 8%, transparent));border-radius:50%;place-items:center;font-size:.75rem;font-weight:700;display:grid}.vent-money{display:block;position:relative}.vent-money .vent-amount{width:100%;padding-right:42px}.vent-cur{color:var(--muted);pointer-events:none;font-size:.75rem;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.vent-pct{color:var(--muted);text-align:right;font-variant-numeric:tabular-nums;font-size:.8rem}.vent-progress{background:color-mix(in srgb, var(--ink) 10%, transparent);border-radius:99px;height:6px;margin:12px 0 8px;overflow:hidden}.vent-progress span{height:100%;width:var(--vent-fill);border-radius:inherit;background:var(--scan);transition:width .2s;display:block}.vent-progress span[data-over]{background:var(--danger)}@media (width<=520px){.vent-on .vent-row{grid-template-columns:22px minmax(0,1fr) auto;grid-template-areas:"num cat remove"".money pct";row-gap:6px}.vent-num{grid-area:num}.vent-cat{grid-area:cat}.vent-money{grid-area:money}.vent-pct{grid-area:pct}.vent-remove{grid-area:remove}}.vent-sub{color:var(--muted);font-size:.78rem;font-weight:400;display:block}.vent-ok{color:var(--ok)}
