
/* /smartacus_editor/static/src/css/document.css */
 .sa-doc{font-family:'IBM Plex Serif',serif; font-size:16px; color:#1b1b1b;}.sa-doc [style*="Caveat"]{font-size:1.25em; line-height:1.15;}img[data-align="left"]{display:block; margin:8px auto 8px 0;}img[data-align="center"]{display:block; margin:8px auto;}img[data-align="right"]{display:block; margin:8px 0 8px auto;}img[data-free="true"]{position:absolute; display:block; z-index:2;}img[data-offset]{display:block; margin-top:8px; margin-bottom:8px;}img[data-wrap="true"][data-align="left"]{float:left; margin:4px 16px 8px 0;}img[data-wrap="true"][data-align="right"]{float:right; margin:4px 0 8px 16px;}.sa-doc-table{border-collapse:collapse;}.sa-doc-table td, .sa-doc-table th{border:1px solid #e5e5e5; padding:6px 8px; min-width:60px;}.sa-doc-table th{background:#f3f4f6; font-weight:700; text-align:left;}.sa-doc-table[data-layout="true"] td{border:none; vertical-align:top;}[data-type="math"][data-display="block"], .sa-math[data-display="block"]{display:block; text-align:center; margin:10px 0;}hr[data-type="page-break"]{page-break-after:always; break-after:page; border:0; height:0; margin:0;}

/* /smartacus_editor/static/src/css/editor.css */
:root{--win-bg:#f3f3f3; --surface:#ffffff; --surface-2:#faf9f8; --border:#e5e5e5; --border-strong:#d6d6d6; --text-primary:#1b1b1b; --text-secondary:#616161; --text-muted:#8a8886; --accent:#2564eb; --accent-dark:#1a4fc0; --accent-light:#e6f0ff; --accent-lighter:#f2f7ff; --icon-red:#d13438; --ok-green:#107c10; --danger-red:#c42b1c;}*{box-sizing:border-box;}html,body{height:100%;margin:0;}body{font-family:'Segoe UI Variable Display','Segoe UI',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif; color:var(--text-primary); background:var(--win-bg); -webkit-font-smoothing:antialiased;}button{font-family:inherit;cursor:pointer;}.icon{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:block;}.shell{display:flex; flex-direction:column; height:100vh; min-height:600px; width:100%; overflow:hidden; background:var(--surface); position:relative;}.title-bar{flex:0 0 40px; height:40px; display:flex; align-items:center; justify-content:space-between; background:var(--surface-2); border-bottom:1px solid var(--border); -webkit-app-region:drag;}.tabbar{display:flex; align-items:center; height:100%; flex:1; min-width:0; -webkit-app-region:no-drag;}.app-badge{width:22px;height:22px;border-radius:6px;margin:0 8px 0 10px;flex:0 0 auto; background:var(--accent); color:#fff; font-weight:700; font-size:12px; display:flex;align-items:center;justify-content:center; position:relative; text-decoration:none; cursor:pointer;}.app-badge-letter, .app-badge-back{position:absolute; top:0; left:0; right:0; bottom:0; margin:auto;}.app-badge-letter{width:100%; height:100%;}.app-badge-back{width:12px; height:12px; opacity:0; transform:translateX(40%);}.app-badge-back rect, .app-badge-back g{transform-origin:0 50%;}.app-badge:hover .app-badge-letter{opacity:0; transform:rotateY(-90deg);}.app-badge:hover .app-badge-back{opacity:1; transform:translateX(12%);}.app-badge:hover .app-badge-back rect{width:6px; height:3px;}.app-badge:hover .app-badge-back rect:first-child{transform:translate(12%, 0); rx:1;}.app-badge:hover .app-badge-back .row-0{transform:scale3d(.5, 1, 1) translate(0, 45%) skewY(-22deg);}.app-badge:hover .app-badge-back .row-1 rect{width:0; height:0;}.app-badge:hover .app-badge-back .row-2{transform:scale3d(.5, 1, 1) translate(0, -37%) skewY(22deg);}@media (prefers-reduced-motion: no-preference){.app-badge-letter, .app-badge-back{will-change:transform; transition:all .1s;}.app-badge-back g{transition:all .3s;}.app-badge-back rect{transition:all .1s;}.app-badge:hover .app-badge-letter{transition:all .2s;}.app-badge:hover .app-badge-back{transition:all .4s;}}.tabs-scroll{display:flex; align-items:flex-end; height:100%; flex:1; min-width:0; overflow:hidden;}.tab{display:flex; align-items:center; gap:7px; height:33px; margin-top:7px; padding:0 10px; max-width:180px; font-size:12.5px; color:var(--text-secondary); border-top-left-radius:7px; border-top-right-radius:7px; cursor:pointer; white-space:nowrap;}.tab:hover{background:rgba(0,0,0,.04);}.tab .icon{width:14px;height:14px;flex:0 0 auto;color:var(--icon-red);}.tab span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.tab.active{background:var(--surface); color:var(--text-primary); font-weight:600;}.tab.sa-tab-preview span{font-style:italic;}.tab-dirty-dot{width:8px;height:8px;border-radius:50%;background:var(--text-secondary);flex:0 0 auto;}.tab-close{width:18px;height:18px;border:none;background:transparent;border-radius:4px; display:none;align-items:center;justify-content:center;color:var(--text-muted);flex:0 0 auto;}.tab-close:hover{background:rgba(0,0,0,.08);color:var(--text-primary);}.tab:hover .tab-dirty-dot, .tab.active .tab-dirty-dot{display:none;}.tab:hover .tab-close, .tab.active .tab-close{display:flex;}.win-btn.close:hover{background:#e81123;color:#fff;}.ribbon{flex:0 0 52px; height:52px; display:flex; align-items:center; gap:4px; padding:0 12px; border-bottom:1px solid var(--border); background:var(--surface); position:relative; z-index:30;}.rb-btn{height:32px; border:none; background:transparent; border-radius:5px; display:flex; align-items:center; gap:6px; padding:0 8px; color:var(--text-primary); font-size:12.5px; flex:0 0 auto;}.rb-btn:hover{background:rgba(0,0,0,.05);}.rb-btn.icon-only{width:32px;padding:0;justify-content:center;}.rb-btn.on{background:var(--accent-light); color:var(--accent-dark);}.rb-btn.accent-icon .icon{color:var(--accent);}.rb-btn:disabled{color:var(--text-muted); opacity:.5; cursor:default;}.rb-btn:disabled:hover{background:transparent;}.rb-toolbar-wrap{position:relative; flex:1 1 0; min-width:0; align-self:stretch;}#ribbonToolbar{position:absolute; left:0; right:0; top:0; box-sizing:border-box; display:flex; flex-wrap:wrap; align-items:center; align-content:flex-start; gap:8px 4px; padding:10px 40px 10px 0; min-height:100%; max-height:100%; overflow:hidden; background:var(--surface);}.rb-toolbar-wrap.open #ribbonToolbar{max-height:none; box-shadow:0 8px 16px rgba(0,0,0,.12); border-bottom:1px solid var(--border);}#toolbarMore{position:absolute; top:10px; left:0; z-index:31;}#toolbarMore[hidden]{display:none;}#toolbarMore[aria-expanded="true"]{background:var(--accent-light); color:var(--accent-dark);}.rb-sep{width:1px; align-self:stretch; margin:9px 4px; background:var(--border);}.rb-pill{display:flex; align-items:center; gap:2px; background:var(--surface-2); border-radius:7px; padding:2px;}.rb-pill .rb-btn{height:28px;width:30px;}.rb-pill .rb-btn.on{background:var(--accent-light); color:var(--accent-dark);}.rb-select{display:flex; align-items:center; gap:5px; height:32px; padding:0 8px; border-radius:5px; font-size:12.5px; color:var(--text-primary); background:transparent; border:none; flex:0 0 auto; white-space:nowrap;}.rb-select:hover{background:rgba(0,0,0,.05);}.rb-select .icon{width:12px;height:12px;color:var(--text-secondary); flex:0 0 auto;}.rb-select-fixed{width:112px; flex:0 0 auto; justify-content:space-between;}.rb-select-fixed.rb-select-fixed-sm{width:80px;}.rb-select-fixed .rb-select-label{overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}.rb-letter{width:30px;height:30px;border-radius:5px;font-size:13px;background:transparent;border:none;color:var(--text-primary);}.rb-letter:hover{background:rgba(0,0,0,.05);}.rb-letter.on{background:var(--accent-light); color:var(--accent-dark); font-weight:700;}.rb-letter.bold{font-weight:700;}.rb-letter.italic{font-style:italic;}.rb-letter.underline{text-decoration:underline;}.rb-letter.strikethrough{text-decoration:line-through;}.sa-color-input{position:absolute; width:0; height:0; opacity:0; pointer-events:none;}.rb-btn[title="Couleur de surlignage"] .icon{border-radius:4px; padding:1px;}.rb-select-wrap{position:relative; display:inline-flex;}.rb-menu{position:fixed; z-index:1000; background:var(--surface); border:1px solid var(--border); border-radius:7px; box-shadow:0 4px 16px rgba(0,0,0,.12); padding:4px; min-width:140px; display:flex; flex-direction:column;}.rb-menu button{text-align:left; padding:6px 10px; border:none; background:transparent; border-radius:5px; font-size:12.5px; color:var(--text-primary);}.rb-menu button:hover{background:rgba(0,0,0,.05);}.rb-menu button:disabled{color:var(--text-muted); cursor:default; background:transparent;}.rb-menu-scroll{max-height:320px; overflow-y:auto;}.rb-menu-group{padding:6px 10px 2px; font-size:10.5px; font-weight:700; letter-spacing:.02em; text-transform:uppercase; color:var(--text-secondary);}.rb-menu-item{display:flex; align-items:center; gap:8px;}.rb-menu-item .icon{width:14px; height:14px; color:var(--text-secondary); flex:0 0 auto;}.rb-table-size{padding:4px 10px 6px; font-size:12px; color:var(--text-secondary);}.rb-table-grid{display:grid; grid-template-columns:repeat(10, 16px); gap:2px; padding:0 10px 8px;}.rb-table-cell{width:16px; height:16px; border:1px solid var(--border); border-radius:2px; background:#fff;}.rb-table-cell.on{background:var(--accent-light); border-color:var(--accent);}.rb-menu-sep{height:1px; margin:4px 6px; background:var(--border);}.rb-menu-link{padding:8px; gap:6px; min-width:220px;}.rb-menu-link input{padding:6px 8px; border:1px solid var(--border); border-radius:5px; font-size:12.5px; color:var(--text-primary); background:var(--surface);}.rb-menu-link input:focus{outline:1.5px solid var(--accent); outline-offset:-1.5px;}.rb-menu-link-actions{display:flex; gap:4px; justify-content:flex-end;}.rb-menu-link-actions button{padding:5px 10px; border:none; border-radius:5px; font-size:12px; background:var(--accent-lighter); color:var(--accent-dark);}.rb-menu-link-actions button:hover{background:var(--accent-light);}.sa-doc-table{border-collapse:collapse; width:100%; margin:8px 0;}.ProseMirror table{table-layout:fixed; width:100%; max-width:100%; min-width:0 !important;}.ProseMirror td, .ProseMirror th{position:relative;}.ProseMirror .selectedCell::after{content:""; position:absolute; inset:0; background:rgba(37,100,235,.18); pointer-events:none;}.ProseMirror .column-resize-handle{position:absolute; right:-2px; top:0; bottom:-2px; width:4px; background:var(--accent); pointer-events:none; z-index:3;}.ProseMirror.resize-cursor{cursor:col-resize;}.ProseMirror.row-resize-cursor, .ProseMirror.row-resize-cursor *{cursor:row-resize !important;}.sa-row-guide{position:fixed; height:0; border-top:2px solid var(--accent); z-index:1500; pointer-events:none;}.sa-row-guide{font-size:11px; color:var(--accent-dark);}[data-resize-container]{max-width:100%;}[data-resize-container] img{max-width:100%; height:auto; display:block; cursor:grab;}[data-resize-container] img:active{cursor:grabbing;}[data-resize-handle]{width:10px; height:10px; border-radius:50%; background:var(--accent); border:2px solid var(--surface); box-shadow:0 1px 3px rgba(0,0,0,.25); opacity:0; transition:opacity .1s; margin:-5px;}[data-resize-handle="top-left"],[data-resize-handle="bottom-right"]{cursor:nwse-resize;}[data-resize-handle="top-right"],[data-resize-handle="bottom-left"]{cursor:nesw-resize;}[data-resize-wrapper]:hover [data-resize-handle], [data-resize-container][data-resize-state="true"] [data-resize-handle]{opacity:1;}[data-resize-container]:has(img[data-wrap="true"][data-align="left"]){float:left;}[data-resize-container]:has(img[data-wrap="true"][data-align="right"]){float:right;}[data-resize-container]:has(img){display:flex; width:fit-content; max-width:100%; margin:8px 0;}[data-resize-container]:has(img[data-align="left"]){margin:8px auto 8px 0;}[data-resize-container]:has(img[data-align="center"]){margin:8px auto;}[data-resize-container]:has(img[data-align="right"]){margin:8px 0 8px auto;}[data-resize-container]:has(img[data-wrap="true"][data-align="left"]){margin:4px 16px 8px 0;}[data-resize-container]:has(img[data-wrap="true"][data-align="right"]){margin:4px 0 8px 16px;}[data-resize-container] img{display:block; margin:0 !important; float:none; position:static !important;}[data-resize-container].sa-image-free{position:absolute; z-index:2; margin-bottom:0;}.sa-image-ghost{position:fixed; z-index:1600; pointer-events:none; opacity:.55; box-shadow:0 4px 14px rgba(0,0,0,.25);}.sa-image-mark{position:fixed; z-index:1600; pointer-events:none; background:var(--accent); border-radius:2px;}.sa-image-moving, .sa-image-moving *{cursor:grabbing !important; user-select:none !important;}.sa-image-leaving{opacity:.3;}.sa-doc-editable .ProseMirror{display:flow-root;}.ProseMirror .sa-doc-table[data-layout="true"] td{border:1px dashed rgba(0,0,0,.12);}.rb-spacer{flex:0 0 0;}.rb-avatar{width:30px;height:30px;border-radius:50%; border:none; background:var(--accent-light); color:var(--accent-dark); display:flex;align-items:center;justify-content:center; margin-left:2px;}.rb-avatar .icon{width:16px;height:16px;}.rb-avatar:hover{background:var(--accent-lighter);}.rb-avatar.on{box-shadow:0 0 0 2px var(--accent);}.nav-bar{flex:0 0 38px; height:38px; display:flex; align-items:center; gap:6px; padding:0 14px; background:var(--surface); border-bottom:1px solid var(--border);}.breadcrumb{display:flex; align-items:center; gap:4px; margin-left:6px; font-size:12.5px; color:var(--text-secondary); min-width:0; overflow:hidden;}.breadcrumb .crumb{padding:4px 7px; border-radius:5px; white-space:nowrap;}.breadcrumb .crumb:hover{background:rgba(0,0,0,.05); color:var(--text-primary);}.breadcrumb .crumb.current{color:var(--text-primary); font-weight:600; overflow:hidden; text-overflow:ellipsis;}.breadcrumb .chev{width:11px;height:11px;color:var(--text-muted); flex:0 0 auto;}.nav-spacer{flex:1;}.nav-help{display:flex; align-items:center; gap:5px; height:28px; padding:0 9px; border-radius:6px; font-size:12.5px; color:var(--text-secondary); text-decoration:none; white-space:nowrap;}.nav-help:hover{background:rgba(0,0,0,.05); color:var(--text-primary);}.nav-help .icon{width:14px;height:14px;}.below-nav{flex:1; display:flex; min-height:0; position:relative;}.app-rail-hotzone{position:absolute; left:0; top:0; bottom:0; width:10px; z-index:5;}.app-rail{width:0; flex:0 0 0; overflow:hidden; min-height:0; background:var(--surface-2); border-right:1px solid transparent; transition:width .16s ease, flex-basis .16s ease, border-color .16s ease;}.app-rail.expanded, .app-rail:focus-within{width:56px; flex:0 0 56px; border-right-color:var(--border);}.app-rail-inner{width:56px; height:100%; min-height:0; display:flex; flex-direction:column; align-items:center; padding:12px 0; gap:4px;}.app-rail-apps{display:flex; flex-direction:column; gap:4px; width:100%; align-items:center;}.app-rail-spacer{flex:1 1 auto;}.app-rail-btn{width:40px; height:40px; border:none; border-radius:7px; background:transparent; color:var(--text-secondary); display:flex; align-items:center; justify-content:center; flex:0 0 auto;}.app-rail-btn .icon{width:19px;height:19px;}.app-rail-btn:hover:not(:disabled){background:rgba(0,0,0,.045); color:var(--text-primary);}.app-rail-btn.active{background:var(--accent-light); color:var(--accent-dark);}.app-rail-btn:disabled{opacity:.4; cursor:default;}.app-rail-pin.on{background:var(--accent-light); color:var(--accent-dark);}.sidebar{width:240px; flex:0 0 240px; background:var(--surface-2); border-right:1px solid var(--border); display:flex; flex-direction:column; min-height:0; overflow:hidden; transition:width .2s ease, flex-basis .2s ease, opacity .16s ease, border-color .2s ease; opacity:1;}.sidebar.collapsed{width:0; flex:0 0 0; opacity:0; border-right-color:transparent; pointer-events:none; visibility:hidden; transition:width .2s ease, flex-basis .2s ease, opacity .16s ease, border-color .2s ease, visibility 0s linear .2s;}.sa-files-hint{padding:6px 10px; font-size:12.5px; color:var(--text-muted);}.sa-auth-error{padding:0 10px 6px;}.sa-doc-editable{cursor:text; min-height:200px;}.sa-doc-editable .ProseMirror{outline:none; min-height:inherit;}.sa-doc-editable:has(.ProseMirror:focus){box-shadow:0 0 0 2px var(--accent-light);}.sa-doc-editable .ProseMirror ::selection{background:rgba(37,100,235,.22);}.content-col{flex:1 1 auto; min-width:0; display:flex; flex-direction:column; min-height:0;}.workspace{flex:1; display:flex; min-height:0;}.editor-area{flex:1; min-width:0; display:flex; flex-direction:column; background:var(--win-bg);}.doc-scroll{flex:1; overflow:auto; display:flex; justify-content:center; padding:30px 24px;}.doc-scroll::-webkit-scrollbar{width:10px;}.doc-scroll::-webkit-scrollbar-thumb{background:rgba(0,0,0,.28); border-radius:5px;}.doc-scroll::-webkit-scrollbar-track{background:transparent;}@supports not selector(::-webkit-scrollbar){.doc-scroll{scrollbar-width:thin; scrollbar-color:rgba(0,0,0,.28) transparent;}}.doc-card{width:100%; max-width:1400px; height:fit-content; background:#fff; padding:52px 56px 60px; border-radius:2px; box-shadow:0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.07); position:relative;}@keyframes blink{0%,100%{opacity:1;}50%{opacity:0;}}.status-bar{height:32px; flex:0 0 32px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:0 18px; background:#fff; border-top:1px solid var(--border); font-size:12px; color:var(--text-secondary);}.status-left, .status-right{display:flex; align-items:center; gap:14px; white-space:nowrap;}.status-left{min-width:0; overflow:hidden; flex:0 1 auto;}.status-center, .status-right{flex:none;}.status-bar{container-type:inline-size;}@container (max-width:800px){.status-chars{display:none;}}.status-left .saved{display:flex; align-items:center; gap:5px; color:var(--ok-green);}.status-left .saved .icon{width:13px;height:13px;}.status-left .surface-busy{color:var(--accent-dark); animation:blink 1.4s ease-in-out infinite;}.status-right button, .status-pages button{border:none;background:transparent;color:var(--text-secondary);display:flex;padding:2px;border-radius:4px;}.status-right button:hover, .status-pages button:hover{background:rgba(0,0,0,.06);color:var(--text-primary);}.status-render-mode{display:flex; border:1px solid var(--border); border-radius:5px; overflow:hidden;}.status-right .status-render-mode-option, .status-pages .status-render-mode-option{padding:2px 10px; border-radius:0; font-size:12px; line-height:18px; color:var(--text-secondary); background:transparent;}.status-right .status-render-mode-option + .status-render-mode-option, .status-pages .status-render-mode-option + .status-render-mode-option{border-left:1px solid var(--border);}.status-right .status-render-mode-option.disabled{opacity:.45; cursor:not-allowed;}.status-right .status-render-mode-option.on, .status-pages .status-render-mode-option.on{background:var(--accent-light); color:var(--accent-dark); font-weight:600;}.status-right .credits{display:flex;align-items:center;gap:5px;}.status-right .credits b{color:var(--accent); font-weight:700;}.status-right .credits .icon{width:13px;height:13px; color:var(--accent);}.account-panel{width:380px; background:#fff; display:flex; flex-direction:column; padding:22px 26px 26px; overflow-y:auto; position:absolute; top:0; bottom:0; right:0; z-index:20; box-shadow:-2px 0 14px rgba(0,0,0,.12); transform:translateX(100%); transition:transform .2s ease, visibility 0s linear .2s; visibility:hidden;}.account-panel.open{transform:translateX(0); visibility:visible; transition:transform .2s ease;}.account-panel-inner{width:328px; display:flex; flex-direction:column; flex:1;}.account-authenticated{display:flex; flex-direction:column; flex:1;}.account-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:22px;}.account-header h2{font-size:16px; margin:0; font-weight:700;}.account-header button{width:28px;height:28px;border:none;background:transparent;border-radius:6px; color:var(--text-muted); display:flex;align-items:center;justify-content:center;}.account-guest{display:none; flex-direction:column; gap:14px; align-items:center; text-align:center; padding:20px 6px;}.account-panel.guest .account-authenticated{display:none;}.account-panel.guest .account-guest{display:flex;}.account-guest-text{margin:0; font-size:13px; color:var(--text-secondary);}.account-guest .sa-auth-primary{width:100%; padding:0 18px;}.account-header button:hover{background:rgba(0,0,0,.06);}.account-profile{display:flex; flex-direction:column; align-items:center;}.account-avatar{width:64px;height:64px;border-radius:50%; background:var(--accent-light); color:var(--accent-dark); font-size:23px; font-weight:700; display:flex; align-items:center; justify-content:center; margin-bottom:12px;}.account-profile h3{margin:0 0 3px; font-size:16px; font-weight:700;}.account-profile p{margin:0; font-size:13px; color:var(--text-secondary); letter-spacing:.01em;}.account-quick-actions{display:flex; align-items:center; justify-content:center; gap:10px; margin-top:16px;}.icon-btn{position:relative; width:38px;height:38px;border-radius:50%;border:none; background:var(--surface-2); color:var(--text-secondary); display:flex;align-items:center;justify-content:center; text-decoration:none; cursor:pointer;}.icon-btn .icon{width:17px;height:17px;}.icon-btn:hover{background:var(--border);color:var(--text-primary);}.icon-btn.whatsapp{background:#e7f9ee; color:#25D366;}.icon-btn.whatsapp:hover{background:#d5f4e0;}.icon-btn::after{content:attr(data-tooltip); position:absolute; bottom:calc(100% + 9px); left:50%; transform:translateX(-50%) translateY(4px); background:#1b1b1b; color:#fff; font-size:11.5px; font-weight:500; padding:5px 9px; border-radius:6px; white-space:nowrap; pointer-events:none; opacity:0; transition:opacity .15s ease, transform .15s ease; box-shadow:0 4px 10px rgba(0,0,0,.18); z-index:5;}.icon-btn::before{content:''; position:absolute; bottom:calc(100% + 4px); left:50%; transform:translateX(-50%) translateY(4px); border:5px solid transparent; border-top-color:#1b1b1b; opacity:0; transition:opacity .15s ease, transform .15s ease; pointer-events:none;}.icon-btn:hover::after, .icon-btn:focus-visible::after{opacity:1; transform:translateX(-50%) translateY(0);}.icon-btn:hover::before, .icon-btn:focus-visible::before{opacity:1; transform:translateX(-50%) translateY(0);}.credit-card{display:flex; align-items:center; justify-content:space-between; gap:10px; background:var(--accent-lighter); border:1px solid var(--accent-light); border-radius:12px; padding:13px 14px; margin:22px 0 18px;}.credit-card-info{display:flex; align-items:center; gap:11px; min-width:0;}.credit-card-icon{width:36px;height:36px;border-radius:50%; background:#fff; color:var(--accent); display:flex;align-items:center;justify-content:center; flex:0 0 auto; box-shadow:0 1px 2px rgba(0,0,0,.08);}.credit-card-icon .icon{width:17px;height:17px;}.credit-card-text{display:flex; flex-direction:column; min-width:0;}.credit-card-label{font-size:11.5px; color:var(--text-secondary);}.credit-card-value{font-size:19px; font-weight:700; color:var(--accent-dark); line-height:1.2;}.credit-card-sub{font-size:11px; color:var(--text-secondary);}.credit-card-sub[hidden]{display:none;}.account-menu{display:flex; flex-direction:column; padding-top:6px; border-top:1px solid var(--border); margin-top:auto;}.menu-row{display:flex; align-items:center; gap:12px; padding:10px 6px; border-radius:8px; font-size:13.5px; color:var(--text-primary); text-decoration:none;}.menu-row:hover{background:var(--surface-2);}.menu-row-icon{width:32px;height:32px;border-radius:8px; background:var(--surface-2); display:flex;align-items:center;justify-content:center; color:var(--text-secondary); flex:0 0 auto;}.menu-row-icon .icon{width:16px;height:16px;}.menu-row-label{flex:1; min-width:0;}.menu-row.logout{color:var(--danger-red); margin-top:2px;}.menu-row.logout .menu-row-icon{color:var(--danger-red); background:#fdeceb;}.menu-row.logout:hover{background:#fdeceb;}.o_dialog{position:fixed; inset:0; z-index:1050;}.o_dialog .modal{position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(20,20,20,.4);}.o_dialog .modal-dialog{width:100%; max-width:400px; margin:0; padding:16px;}.o_dialog .modal-dialog.modal-sm{max-width:340px;}.o_dialog .modal-dialog.modal-sm:has(.sa-auth-dialog){max-width:380px;}.o_dialog .modal-content{background:var(--surface); border-radius:10px; box-shadow:0 12px 40px rgba(0,0,0,.28); display:flex; flex-direction:column; max-height:90vh; overflow:hidden;}.o_dialog .modal-header{display:flex; align-items:center; justify-content:space-between; padding:16px 18px; border-bottom:1px solid var(--border);}.o_dialog .modal-title{font-size:15px; font-weight:700; margin:0; color:var(--text-primary);}.o_dialog .modal-body{padding:18px; overflow-y:auto;}.o_dialog .btn-close{width:26px; height:26px; border:none; background:transparent; border-radius:6px; color:var(--text-muted); display:flex; align-items:center; justify-content:center; font-size:0; position:relative;}.o_dialog .btn-close::before{content:"\2715"; font-size:13px;}.o_dialog .btn-close:hover{background:rgba(0,0,0,.06);}.o_dialog .modal-footer{display:flex; align-items:center; justify-content:flex-end; gap:8px; padding:14px 18px; border-top:1px solid var(--border);}.o_dialog .btn{height:34px; padding:0 16px; border:none; border-radius:6px; font-size:13px; font-weight:600; font-family:inherit; cursor:pointer;}.o_dialog .btn-primary{background:var(--accent); color:#fff;}.o_dialog .btn-primary:hover{background:var(--accent-dark);}.o_dialog .btn-danger{background:var(--danger-red); color:#fff;}.o_dialog .btn-danger:hover{background:#a91f11;}.o_dialog .btn-secondary{background:var(--surface-2); color:var(--text-primary);}.o_dialog .btn-secondary:hover{background:var(--border);}.o_notification_manager{position:fixed; top:64px; right:16px; z-index:1060; width:360px; max-width:calc(100vw - 32px); display:flex; flex-direction:column; gap:8px; pointer-events:none;}.o_notification{display:flex; position:relative; pointer-events:auto; background:var(--surface); border-radius:8px; box-shadow:0 8px 28px rgba(0,0,0,.18); font-size:13px; color:var(--text-primary); overflow:hidden;}.o_notification_bar{width:4px; flex:none; background:var(--accent);}.o_notification_bar.bg-danger{background:var(--danger-red);}.o_notification_bar.bg-warning{background:#c57a00;}.o_notification_bar.bg-success{background:var(--ok-green);}.o_notification > div{flex:1; padding:12px 36px 12px 14px; border:none;}.o_notification_content{line-height:1.4;}.o_notification_buttons{display:flex; gap:8px; margin-top:10px;}.o_notification .btn{height:30px; padding:0 14px; border:none; border-radius:6px; font-size:12.5px; font-weight:600; font-family:inherit; cursor:pointer;}.o_notification .btn-primary{background:var(--accent); color:#fff;}.o_notification .btn-primary:hover{background:var(--accent-dark);}.o_notification .btn-secondary{background:var(--surface-2); color:var(--text-primary);}.o_notification .btn-close{position:absolute; top:8px; right:8px; width:24px; height:24px; border:none; background:transparent; border-radius:6px; color:var(--text-muted); display:flex; align-items:center; justify-content:center; font-size:0; cursor:pointer;}.o_notification .btn-close::before{content:"\2715"; font-size:12px;}.o_notification .btn-close:hover{background:rgba(0,0,0,.06);}.sa-auth-dialog{display:flex; flex-direction:column; gap:10px;}.sa-auth-dialog input[type="tel"], .sa-auth-dialog input[type="text"], .sa-auth-dialog input[type="email"], .sa-auth-dialog input[type="password"], .sa-auth-dialog input[type="number"]{height:36px; padding:0 12px; border-radius:6px; border:1px solid var(--border-strong); background:var(--surface-2); font-size:13.5px; color:var(--text-primary); font-family:inherit;}.sa-auth-primary{height:38px; border:none; border-radius:6px; margin-top:4px; background:var(--accent); color:#fff; font-weight:600; font-size:13.5px;}.sa-auth-primary:hover{background:var(--accent-dark);}.sa-auth-primary:disabled{opacity:.6;}.sa-auth-secondary{height:38px; border:1px solid var(--border-strong); border-radius:6px; background:#fff; color:var(--text-primary); font-weight:600; font-size:13px; padding:0 12px;}.sa-auth-secondary:hover{background:var(--surface-2);}.sa-auth-secondary:disabled{opacity:.5;}.sa-auth-error{color:var(--danger-red); font-size:12.5px; margin:0;}.sa-auth-info{color:var(--ok-green); font-size:12.5px; margin:0;}.sa-sheet-backdrop{position:absolute; inset:0; z-index:2; background:rgba(0,0,0,.28); display:flex; align-items:flex-end; animation:sa-fade-in .18s ease;}.sa-sheet{width:100%; min-height:45%; max-height:85%; overflow-y:auto; background:#fff; border-radius:14px 14px 0 0; padding:0 20px 24px; box-shadow:0 -8px 30px rgba(0,0,0,.18); animation:sa-sheet-up .22s ease;}.sa-sheet-backdrop.closing{animation:sa-fade-out .18s ease forwards;}.sa-sheet-backdrop.closing .sa-sheet{animation:sa-sheet-down .18s ease forwards;}@keyframes sa-sheet-up{from{transform:translateY(100%);}}@keyframes sa-sheet-down{to{transform:translateY(100%);}}@keyframes sa-fade-in{from{background:rgba(0,0,0,0);}}@keyframes sa-fade-out{to{background:rgba(0,0,0,0);}}.sa-sheet-grip{margin:0 -20px; padding:8px 0 14px; cursor:pointer;}.sa-sheet-grip:hover .sa-sheet-handle{background:var(--text-muted);}.sa-sheet-handle{width:36px; height:4px; border-radius:2px; background:var(--border); margin:0 auto;}.sa-sheet-header{display:flex; align-items:center; justify-content:space-between; margin-bottom:4px;}.sa-sheet-header h2{font-size:16px; font-weight:700; margin:0;}.sa-sheet-close{border:none; background:transparent; color:var(--text-muted); display:flex; padding:4px; border-radius:5px;}.sa-sheet-close:hover{background:rgba(0,0,0,.06); color:var(--text-primary);}.sa-sheet-loading{font-size:13px; color:var(--text-muted);}.sa-sheet-section h3{font-size:11.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--text-secondary); margin:14px 0 6px;}.sa-setting-row{display:flex; align-items:center; gap:14px; padding:10px 12px; border:1px solid var(--border); border-radius:8px; cursor:pointer;}.sa-setting-row:hover{background:var(--surface-2);}.sa-setting-text{flex:1; min-width:0; display:flex; flex-direction:column; gap:2px;}.sa-setting-label{font-size:13.5px; font-weight:600;}.sa-setting-desc{font-size:12.5px; color:var(--text-secondary); line-height:1.4;}.sa-switch{appearance:none; -webkit-appearance:none; margin:0; flex:0 0 auto; width:36px; height:20px; border-radius:10px; background:#c8c6c4; position:relative; cursor:pointer; transition:background .15s;}.sa-switch::after{content:""; position:absolute; top:2px; left:2px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.25); transition:transform .15s;}.sa-switch:checked{background:var(--accent);}.sa-switch:checked::after{transform:translateX(16px);}.sa-switch:focus-visible{outline:2px solid var(--accent); outline-offset:2px;}.sa-math{cursor:pointer; border-radius:4px;}.sa-math:hover{background:var(--surface-2);}.sa-math.ProseMirror-selectednode{outline:2px solid var(--accent); outline-offset:1px;}.sa-math-error{color:#c42b1c;}.sa-formula{display:flex; flex-direction:column; gap:10px;}.sa-formula-label{font-size:12.5px; color:var(--text-secondary);}.sa-formula-input{font-family:'IBM Plex Mono',monospace; font-size:14px; padding:8px 10px; border:1px solid var(--border, #d1d1d1); border-radius:6px; resize:vertical;}.sa-formula-examples{display:flex; flex-wrap:wrap; gap:6px;}.sa-formula-chip{font-size:12px; padding:3px 9px; border:1px solid var(--border, #d1d1d1); border-radius:999px; background:transparent; cursor:pointer;}.sa-formula-chip:hover{border-color:var(--accent); color:var(--accent);}.sa-formula-mode{display:flex; gap:16px; font-size:13px;}.sa-formula-preview{min-height:64px; padding:12px; border:1px dashed var(--border, #d1d1d1); border-radius:6px; text-align:center; overflow-x:auto;}.sa-formula-error{color:#c42b1c; font-size:12.5px; margin:0;}.sa-formula-actions{display:flex; justify-content:flex-end; gap:8px;}.sa-capture{display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center; padding:4px 0 8px;}.sa-capture-hint{margin:0; font-size:14px;}.sa-capture-qr{width:240px; height:240px; image-rendering:pixelated; border:1px solid var(--border, #e5e5e5); border-radius:8px;}.sa-capture-wait{margin:0; color:var(--text-secondary); font-size:13.5px;}.sa-capture-note{margin:0; color:var(--text-muted); font-size:12px;}.sa-capture-error{color:#c42b1c; margin:0;}.doc-card.sa-paged{width:794px; max-width:none; flex:none; box-sizing:border-box; padding:76px; background:transparent; box-shadow:none; border-radius:0; position:relative;}.ProseMirror{position:relative; z-index:1;}.sa-pages{position:absolute; top:0; left:0; width:794px; pointer-events:none;}.sa-cover{position:absolute; top:0; left:0; width:794px; pointer-events:none; z-index:2;}.sa-cover > div{position:absolute; left:0; width:100%; box-shadow:inset 0 1px #e5e5e5, inset 0 -1px #e5e5e5;}.sa-cover > div::after{content:attr(data-page); position:absolute; left:calc(397px - var(--l)); transform:translateX(-50%); top:var(--n); font-size:11px; color:var(--text-muted);}.sa-page{position:relative; height:1123px; margin-bottom:24px; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.07);}.sa-page::after{content:attr(data-page); position:absolute; left:0; right:0; bottom:30px; text-align:center; font-size:11px; color:var(--text-muted);}.ProseMirror hr[data-type="page-break"]{border:0; border-top:1px dashed #b5b5b5; height:0; margin:22px 0; overflow:visible; position:relative;}.ProseMirror hr[data-type="page-break"]::after{content:"Saut de page"; position:absolute; left:50%; top:-8px; transform:translateX(-50%); padding:0 8px; background:#fff; font-size:11px; color:var(--text-muted);}.ProseMirror hr[data-type="page-break"].ProseMirror-selectednode{border-top-color:var(--accent);}.status-pages{display:flex; align-items:center; gap:6px;}.status-pages select{font:inherit; font-size:12px; border:1px solid var(--border, #d1d1d1); border-radius:4px; background:transparent; padding:1px 4px;}

/* /smartacus_editor_billing/static/src/css/billing.css */
 .credit-actions{display:flex; gap:6px; flex:0 0 auto;}.btn-recharge{width:40px; height:33px; padding:0; border:none; border-radius:8px; display:flex; align-items:center; justify-content:center; background:var(--accent); color:#fff; flex:0 0 auto; cursor:pointer;}.btn-recharge .icon{width:17px; height:17px; stroke-width:2.2;}.btn-recharge:hover{background:var(--accent-dark);}.btn-recharge.is-secondary{background:#fff; color:var(--accent); box-shadow:inset 0 0 0 1px var(--accent-light);}.btn-recharge.is-secondary:hover{background:var(--accent-lighter);}.sa-recharge-modes{display:flex; gap:4px; padding:3px; border-radius:8px; background:var(--surface-2);}.sa-recharge-modes button{flex:1; padding:6px 8px; border:0; border-radius:6px; background:transparent; font-size:13px; font-weight:600; color:var(--text-secondary); cursor:pointer;}.sa-recharge-modes button.on{background:var(--surface); color:var(--accent-dark); box-shadow:0 1px 2px rgb(0 0 0 / 10%);}.sa-recharge-hint{font-size:12px; color:var(--text-secondary); margin:0;}.sa-recharge-confirm{font-size:13.5px; margin:0;}.sa-recharge-back{border:0; background:none; color:var(--text-secondary); font-size:12.5px; cursor:pointer; padding:4px;}

/* /smartacus_editor_affiliate/static/src/css/affiliate_portal.css */
.sa-affiliate-card{margin: 14px 0; padding: 14px; border: 1px solid var(--border, #d9dfe8); border-radius: 10px; background: var(--surface, #fff); color: var(--text-primary, #202735);}.sa-affiliate-mini{display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--accent-lighter, #f2f7ff); border-color: var(--accent-light, #e6f0ff);}.sa-affiliate-mini-info{display: flex; align-items: center; gap: 11px; min-width: 0;}.sa-affiliate-mini-icon{width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--accent, #2564eb); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; box-shadow: 0 1px 2px rgb(0 0 0 / 8%);}.sa-affiliate-mini-icon .icon{width: 17px; height: 17px;}.sa-affiliate-mini-text{display: flex; flex-direction: column; min-width: 0;}.sa-affiliate-mini-label{font-size: 11.5px; color: var(--text-secondary, #657084);}.sa-affiliate-mini-value{font-size: 17px; font-weight: 700; color: var(--accent-dark, #1a4fc0); line-height: 1.2;}.sa-affiliate-mini-btn{height: 33px; padding: 0 14px; border-radius: 8px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; white-space: nowrap; background: #fff; color: var(--accent, #2564eb); border: 1px solid var(--accent-light, #e6f0ff); font-size: 12.5px; font-weight: 600; text-decoration: none;}.sa-affiliate-mini-btn:hover{background: var(--accent-lighter, #f2f7ff);}.sa-affiliate-nudge-head{display: flex; align-items: flex-start; gap: 11px; margin-bottom: 4px;}.sa-affiliate-nudge-icon{background: var(--surface-2, #f3f5f8); color: var(--text-secondary, #657084); box-shadow: none;}.sa-affiliate-nudge-text{min-width: 0;}.sa-affiliate-nudge-text .sa-affiliate-hint{margin-top: 2px;}.sa-affiliate-heading, .sa-affiliate-balance, .sa-affiliate-history-row, .sa-affiliate-modal-actions{display: flex; align-items: center; justify-content: space-between; gap: 8px;}.sa-affiliate-title, .sa-affiliate-history-title{font-weight: 600;}.sa-affiliate-state, .sa-affiliate-payout-state{font-size: 11px; color: #657084;}.sa-affiliate-state.is-approved, .sa-affiliate-payout-state.is-done{color: #16804b;}.sa-affiliate-state.is-suspended, .sa-affiliate-payout-state.is-error{color: #c0392b;}.sa-affiliate-balance{margin: 12px 0; font-size: 13px;}.sa-affiliate-balance strong{font-size: 16px;}.sa-affiliate-link-row{display: flex; gap: 6px; margin-bottom: 10px;}.sa-affiliate-link-row input{min-width: 0; flex: 1; font-size: 11px;}.sa-affiliate-link-row button, .sa-affiliate-withdraw, .sa-affiliate-cancel{border: 0; border-radius: 6px; padding: 7px 10px; cursor: pointer;}.sa-affiliate-withdraw{display: block; width: 100%; box-sizing: border-box; text-align: center; background: #2267d8; color: #fff;}.sa-affiliate-withdraw:disabled{opacity: .5; cursor: not-allowed;}.sa-affiliate-cancel{background: #eef1f5; color: #374151;}.sa-affiliate-hint{margin: 7px 0 0; font-size: 11px; color: #7b8493;}.sa-affiliate-status-link{display: inline-block; margin-top: 8px; font-size: 12.5px; color: var(--accent, #2267d8); text-decoration: none;}.sa-affiliate-status-link:hover{text-decoration: underline;}.sa-affiliate-request-mobile{width: 100%; box-sizing: border-box; margin: 10px 0; padding: 7px 10px; border: 1px solid #ccd3df; border-radius: 6px; font-size: 13px;}.sa-affiliate-request-reason{resize: vertical; min-height: 56px; font-family: inherit;}.sa-affiliate-history{margin-top: 12px; padding-top: 10px; border-top: 1px solid #e8ebf0; font-size: 12px;}.sa-affiliate-history-row{padding-top: 6px;}.sa-affiliate-modal-backdrop{position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgb(22 30 45 / 35%);}.sa-affiliate-modal{width: min(360px, calc(100vw - 32px)); padding: 18px; border-radius: 12px; background: #fff; box-shadow: 0 12px 40px rgb(0 0 0 / 20%);}.sa-affiliate-modal h3{margin: 0 0 8px;}.sa-affiliate-modal p{font-size: 13px;}.sa-affiliate-modal label{display: grid; gap: 5px; font-size: 12px; font-weight: 600;}.sa-affiliate-modal input{width: 100%; box-sizing: border-box; padding: 9px; border: 1px solid #ccd3df; border-radius: 6px;}.sa-affiliate-modal-actions{margin-top: 16px; justify-content: flex-end;}.sa-aff-page{--aff-accent: #2563eb; --aff-line: #d9dfe8; --aff-muted: #657084; max-width: 980px; margin: 8px auto 40px; color: #202735;}.sa-aff-head{display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px;}.sa-aff-head h1{margin: 0 0 4px; font-size: 26px; font-weight: 700;}.sa-aff-head p{margin: 0; color: var(--aff-muted);}.sa-aff-head p strong{color: #202735;}.sa-aff-grid{display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start;}.sa-aff-main{display: grid; gap: 16px; min-width: 0;}.sa-aff-panel{background: #fff; border: 1px solid var(--aff-line); border-radius: 12px; padding: 18px; min-width: 0;}.sa-aff-panel h2{margin: 0 0 4px; font-size: 16px; font-weight: 700;}.sa-aff-hint{margin: 0; font-size: 13px; color: var(--aff-muted);}.sa-aff-balance{display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 16px; align-items: center; background: #f2f7ff; border-color: #dbe7ff;}.sa-aff-payable span{display: block; font-size: 13px; color: var(--aff-muted);}.sa-aff-payable strong{font-size: 32px; line-height: 1.15; color: #1a4fc0; font-variant-numeric: tabular-nums;}.sa-aff-withdraw{display: grid; gap: 6px; justify-items: end; text-align: right;}.sa-aff-stats{grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding-top: 14px; border-top: 1px solid #dbe7ff;}.sa-aff-stats dt{font-size: 12.5px; font-weight: 400; color: var(--aff-muted);}.sa-aff-stats dd{margin: 0; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums;}.sa-aff-field{display: flex; gap: 8px; margin-top: 10px;}.sa-aff-field input{flex: 1; min-width: 0; padding: 8px 10px; border: 1px solid #ccd3df; border-radius: 8px; font-size: 14px; background: #fff;}.sa-aff-field input[readonly]{background: #f6f7f9; color: #4b5565;}.sa-aff-btn{display: inline-block; padding: 8px 14px; border: 1px solid var(--aff-line); border-radius: 8px; background: #fff; color: #202735; font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; white-space: nowrap;}.sa-aff-btn:hover{background: #f3f5f8; color: #202735; text-decoration: none;}.sa-aff-btn.is-primary{background: var(--aff-accent); border-color: var(--aff-accent); color: #fff;}.sa-aff-btn.is-primary:hover{background: #1a4fc0; color: #fff;}.sa-aff-btn:disabled{opacity: .5; cursor: not-allowed;}.sa-aff-badge{flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #eef1f5; color: #4b5565;}.sa-aff-badge.is-approved, .sa-aff-badge.is-done{background: #e3f4ea; color: #14693d;}.sa-aff-badge.is-suspended, .sa-aff-badge.is-error{background: #fbe9e5; color: #a8321f;}.sa-aff-payout{display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid #eef1f5; font-size: 14px; font-variant-numeric: tabular-nums;}.sa-aff-payout:first-of-type{border-top: 0;}.sa-aff-payout > span:first-child{color: var(--aff-muted);}.sa-aff-share{display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; text-align: center;}.sa-aff-share img{justify-self: center; max-width: 100%; height: auto; border: 1px solid var(--aff-line); border-radius: 10px; background: #fff;}.sa-aff-share .sa-aff-field{margin-top: 0;}.sa-aff-code{font-size: 20px; font-weight: 700; letter-spacing: .06em;}@media (max-width: 767px){.sa-aff-grid{grid-template-columns: minmax(0, 1fr);}.sa-aff-share{order: -1;}.sa-aff-balance{grid-template-columns: minmax(0, 1fr);}.sa-aff-withdraw{justify-items: stretch; text-align: left;}.sa-aff-payable strong{font-size: 28px;}}.sa-aff-qr-open{justify-self: center; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px;}.sa-aff-qr-open img{display: block;}.sa-aff-qr-full{position: fixed; inset: 0; z-index: 1100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; background: #fff; color: #202735; text-align: center; cursor: zoom-out;}.sa-aff-qr-full img{width: min(86vw, 72vh); height: auto; image-rendering: pixelated;}.sa-aff-qr-full strong{font-size: 28px; letter-spacing: .06em;}.sa-aff-qr-full span{color: #657084;}.sa-aff-contract{display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid #eef1f5; font-size: 14px;}.sa-aff-contract-name small{display: block; color: var(--aff-muted); font-size: 12.5px;}.sa-aff-table-wrap{overflow-x: auto;}.sa-aff-table{width: 100%; border-collapse: collapse; font-size: 13.5px; font-variant-numeric: tabular-nums;}.sa-aff-table th{text-align: right; font-weight: 600; color: var(--aff-muted); font-size: 12px; padding: 6px 8px; white-space: nowrap;}.sa-aff-table td{text-align: right; padding: 8px; border-top: 1px solid #eef1f5; white-space: nowrap;}.sa-aff-table th:first-child, .sa-aff-table td:first-child{text-align: left; text-transform: capitalize;}.sa-aff-recruit{text-align: left; border-top: 1px solid var(--aff-line); padding-top: 12px; margin-top: 4px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px;}.sa-aff-recruit h3{margin: 0; font-size: 15px; font-weight: 700;}.sa-aff-recruit-alone{border-top: 0; padding-top: 0; margin-top: 0;}.sa-aff-recruit-alone h2{margin: 0; font-size: 16px; font-weight: 700;}

/* /smartacus_editor_auth/static/src/css/auth.css */
.sa-auth-password-field{position:relative;}.sa-auth-password-field input{width:100%; padding-right:36px; box-sizing:border-box;}.sa-auth-eye{position:absolute; top:0; right:0; height:100%; width:32px; border:none; background:transparent; color:var(--text-muted); display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0;}.sa-auth-eye:hover{color:var(--text-primary);}.sa-auth-eye .icon{width:17px; height:17px;}.sa-auth-links{display:flex; justify-content:space-between; font-size:12.5px; margin-top:2px;}.sa-auth-links a{color:var(--accent); text-decoration:none;}.sa-auth-links a:hover{text-decoration:underline;}.sa-auth-divider{display:flex; align-items:center; gap:10px; margin:6px 0 2px; font-size:11.5px; color:var(--text-muted);}.sa-auth-divider::before, .sa-auth-divider::after{content:""; flex:1; height:1px; background:var(--border);}.sa-auth-google{display:flex; justify-content:center;}.sa-auth-checkbox{display:flex; align-items:flex-start; gap:8px; font-size:12.5px; color:var(--text-secondary); line-height:1.5;}.sa-auth-checkbox input{margin-top:3px; flex:0 0 auto;}.sa-auth-checkbox a{color:var(--accent);}.sa-auth-hint{font-size:12.5px; color:var(--text-secondary); margin:0;}

/* /smartacus_editor_documents/static/src/css/files_panel.css */
.sidebar-scroll{overflow-y:auto; padding:14px 8px 12px; min-width:240px;}.side-label{font-size:11px; font-weight:600; letter-spacing:.05em; color:var(--text-muted); text-transform:uppercase; padding:4px 10px 8px; display:flex; align-items:center; justify-content:space-between;}.side-label-actions{display:flex; gap:2px;}.side-label-actions button{width:22px;height:22px;border:none;background:transparent;border-radius:5px; color:var(--text-secondary); display:flex;align-items:center;justify-content:center;}.side-label-actions button:hover{background:rgba(0,0,0,.06);color:var(--text-primary);}.side-label-actions button.on{background:var(--accent-light); color:var(--accent-dark);}.sa-select-bar{display:flex; align-items:center; flex-wrap:wrap; gap:6px 8px; margin:2px 6px 8px; padding:8px 10px; border-radius:8px; background:var(--accent-lighter); font-size:12px; color:var(--text-primary);}.sa-select-count{flex:1 1 100%;}.sa-select-bar button{border:none; border-radius:6px; padding:6px 10px; font-size:12px; font-weight:600; cursor:pointer;}.sa-select-action{background:#fff; color:var(--text-primary); border:1px solid rgba(0,0,0,.12);}.sa-select-action:hover:not(:disabled){background:var(--accent-light); color:var(--accent-dark);}.sa-select-action:disabled{opacity:.45; cursor:default;}.sa-select-action.sa-select-danger{color:#b42318;}.sa-select-action.sa-select-danger:hover:not(:disabled){background:#fde3e1; color:#b42318;}.sa-select-cancel{background:#fff; color:var(--text-secondary);}.sa-tree-check{margin:0 6px 0 0; flex:0 0 auto; accent-color:var(--accent); cursor:pointer;}.file-item{display:flex; align-items:center; gap:9px; padding:7px 9px; border-radius:5px; margin-bottom:1px; font-size:13px; color:var(--text-primary); cursor:pointer;}.file-item .icon{width:15px;height:15px; color:var(--icon-red); flex:0 0 auto;}.file-item span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}.file-item:hover{background:rgba(0,0,0,.045);}.file-item.active{background:var(--accent-light); color:var(--accent-dark); font-weight:600;}.sa-tree-node .file-item{position:relative; justify-content:space-between;}.sa-tree-node .file-item span{flex:1; min-width:0;}.sa-tree-node .file-item input[type="text"]{flex:1; min-width:0; border:1px solid var(--accent); border-radius:4px; font-size:13px; padding:2px 5px; font-family:inherit; background:var(--surface);}.sa-tree-node-actions{display:none; align-items:center; gap:2px; flex:0 0 auto;}.sa-tree-node .file-item:hover .sa-tree-node-actions{display:flex;}.sa-tree-node-actions button{width:20px;height:20px;border:none;background:transparent;border-radius:4px; color:var(--text-secondary); display:flex;align-items:center;justify-content:center;}.sa-tree-node-actions button:hover{background:rgba(0,0,0,.08);color:var(--text-primary);}.sa-tree-node .file-item.sa-drop-target{background:var(--accent-light); outline:1.5px dashed var(--accent);}.sa-tree-node .file-item:focus-visible{outline:1.5px solid var(--accent); outline-offset:-1.5px;}.sa-tree-root{min-height:120px; border-radius:6px;}.sa-tree-root.sa-drop-target{background:var(--accent-light); outline:1.5px dashed var(--accent); outline-offset:-2px;}.search-box{display:flex; align-items:center; gap:7px; width:230px; height:28px; padding:0 10px; border-radius:6px; background:var(--surface-2); border:1px solid var(--border-strong); color:var(--text-muted);}.search-box .icon{width:13px;height:13px;color:var(--text-secondary);}.search-box input{border:none;background:transparent;outline:none;font-size:12.5px;color:var(--text-primary); width:100%; font-family:inherit;}.search-box input::placeholder{color:var(--text-muted);}

/* /smartacus_editor_handwriting/static/src/handwriting.css */
.sa-handwriting{display:flex; flex-direction:column; gap:10px;}.sa-handwriting-hint{margin:0; font-size:12.5px; color:var(--text-secondary);}.sa-handwriting-canvas{width:100%; height:220px; border-radius:8px; border:1px dashed var(--border-strong); background: linear-gradient(var(--surface-2) 1px, transparent 1px) 0 100% / 100% 32px, #fff; touch-action:none; cursor:crosshair;}.sa-handwriting-toolbar{display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap;}.sa-handwriting-colors{display:flex; align-items:center; gap:8px;}.sa-handwriting-swatch{width:22px; height:22px; border-radius:50%; border:2px solid transparent; box-shadow:0 0 0 1px var(--border-strong) inset; cursor:pointer; padding:0;}.sa-handwriting-swatch.on{border-color:var(--accent); box-shadow:0 0 0 2px #fff inset;}.sa-handwriting-actions{display:flex; gap:8px;}

/* /smartacus_editor_llm/static/src/css/copilot.css */
.copilot-pill{display:flex; align-items:center; gap:6px; height:32px; padding:0 12px; border-radius:16px; border:none; background:var(--accent-lighter); color:var(--accent-dark); font-size:12.5px; font-weight:600;}.copilot-pill:hover{background:var(--accent-light);}.copilot-pill.on{background:var(--accent-light);}.copilot-pill .icon{width:14px;height:14px;color:var(--accent);}.copilot-panel{width:var(--copilot-width, 380px); flex:0 0 var(--copilot-width, 380px); border-left:1px solid var(--border); background:#fff; display:flex; flex-direction:column; min-height:0; overflow:hidden; transition:width .2s ease, flex-basis .2s ease, opacity .16s ease, border-color .2s ease; opacity:1;}.copilot-panel.collapsed{width:0; flex:0 0 0; opacity:0; border-left-color:transparent; pointer-events:none; visibility:hidden; transition:width .2s ease, flex-basis .2s ease, opacity .16s ease, border-color .2s ease, visibility 0s linear .2s;}.copilot-resize-handle{flex:0 0 6px; cursor:col-resize; background:transparent; transition:background .15s ease;}.copilot-resize-handle:hover, .copilot-resize-handle.dragging{background:var(--accent-light);}.copilot-resize-handle:has(+ .copilot-panel.collapsed){display:none;}.copilot-header{height:48px; flex:0 0 48px; display:flex; align-items:center; justify-content:space-between; padding:0 14px; border-bottom:1px solid var(--border);}#copilotPanelBody{flex:1; display:flex; flex-direction:column; min-height:0;}.copilot-header-left{display:flex; align-items:center; gap:8px; font-weight:700; font-size:14px;}.copilot-header-left .icon{width:16px;height:16px; color:var(--accent);}.copilot-header button{border:none;background:transparent;color:var(--text-muted); display:flex;border-radius:5px;padding:4px;}.copilot-header button:hover{background:rgba(0,0,0,.06);color:var(--text-primary);}.copilot-body{flex:1; overflow-y:auto; padding:16px 14px; display:flex; flex-direction:column; gap:10px; min-width:380px;}.msg{max-width:86%; font-size:13.3px; line-height:1.5; padding:10px 13px; border-radius:14px;}.msg.user{align-self:flex-end; background:var(--accent); color:#fff; border-bottom-right-radius:3px; white-space:pre-wrap;}.msg-attachments{display:flex; flex-wrap:wrap; gap:4px; margin-top:6px;}.msg-attachment{font-size:11.5px; background:rgba(255,255,255,.18); border-radius:8px; padding:2px 7px;}.msg.assistant{align-self:flex-start; color:var(--text-primary); background:var(--surface-2); border-bottom-left-radius:3px;}.msg.assistant p{margin:0 0 8px;}.msg.assistant p:last-child{margin-bottom:0;}.msg.assistant ul, .msg.assistant ol{margin:4px 0 8px; padding-left:20px;}.msg.assistant table{border-collapse:collapse; width:100%; margin:4px 0 8px; font-size:12.5px;}.msg.assistant th, .msg.assistant td{border:1px solid var(--border); padding:4px 8px; text-align:left;}.msg.assistant th{background:rgba(0,0,0,.04); font-weight:600;}.msg.assistant code{background:rgba(0,0,0,.06); border-radius:3px; padding:1px 4px; font-family:'Courier New',monospace; font-size:.92em;}.msg.assistant pre{background:rgba(0,0,0,.05); border-radius:6px; padding:8px 10px; margin:4px 0 8px; overflow-x:auto;}.msg.assistant pre code{background:none; padding:0;}.msg.typing{display:flex; gap:4px; padding:13px 14px;}.msg.typing span{width:6px; height:6px; border-radius:50%; background:var(--text-muted); animation:sa-typing 1.2s infinite ease-in-out;}.msg.typing span:nth-child(2){animation-delay:.15s;}.msg.typing span:nth-child(3){animation-delay:.3s;}@media (prefers-reduced-motion: reduce){.msg.typing span{animation:none; opacity:.6;}}.copilot-input-row{flex:0 0 auto; padding:12px 14px 16px; border-top:1px solid var(--border); min-width:380px;}.copilot-input{display:flex; flex-direction:column; gap:2px; background:var(--surface-2); border:1px solid var(--border-strong); border-radius:16px; padding:8px 8px 6px 12px; color:var(--text-muted); font-size:13px;}.copilot-input textarea{width:100%; border:none; background:transparent; outline:none; resize:none; overflow-y:hidden; font-size:13px; line-height:1.45; color:var(--text-primary); font-family:inherit; padding:2px 0; max-height:160px;}.copilot-input-actions{display:flex; align-items:center; gap:6px;}.copilot-input-actions > .icon{width:14px;height:14px;color:var(--accent); flex:0 0 auto; margin-left:2px;}.copilot-input-spacer{flex:1;}.copilot-input textarea::placeholder{color:var(--text-muted);}.copilot-input textarea{padding-right:6px;}.copilot-input textarea::-webkit-scrollbar{width:6px;}.copilot-input textarea::-webkit-scrollbar-thumb{background:rgba(0,0,0,.28); border-radius:3px;}.copilot-input textarea::-webkit-scrollbar-track{background:transparent;}.copilot-input textarea::-webkit-scrollbar-button{display:none; width:0; height:0;}@supports not selector(::-webkit-scrollbar){.copilot-input textarea{scrollbar-width:thin; scrollbar-color:rgba(0,0,0,.28) transparent;}}.copilot-input.recording textarea::placeholder{color:var(--danger-red);}.copilot-btn{flex:0 0 auto; width:28px; height:28px; border:none; border-radius:50%; background:transparent; color:var(--text-secondary); display:flex; align-items:center; justify-content:center; cursor:pointer;}.copilot-btn .icon{width:15px; height:15px;}.copilot-btn:hover{background:rgba(0,0,0,.06); color:var(--text-primary);}.copilot-btn:disabled{opacity:.4; cursor:default; background:transparent;}.copilot-btn.send{background:var(--accent); color:#fff;}.copilot-btn.send:hover{background:var(--accent-dark);}.copilot-btn.on{color:var(--danger-red); animation:blink 1.4s ease-in-out infinite;}.copilot-attachments{display:flex; flex-wrap:wrap; gap:6px; margin-bottom:8px;}.copilot-attachment{display:inline-flex; align-items:center; gap:4px; max-width:100%; font-size:12px; background:var(--accent-light); color:var(--accent-dark); border-radius:10px; padding:3px 6px 3px 8px;}.copilot-attachment-name{overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:200px;}.copilot-attachment-remove{border:none; background:transparent; color:inherit; cursor:pointer; font-size:14px; line-height:1; padding:0 2px;}.sa-copilot-highlight{position:absolute; z-index:0; pointer-events:none; background:var(--accent-lighter); border-radius:3px; opacity:0; transition:opacity .2s ease, top .15s ease, left .15s ease, width .15s ease, height .15s ease;}.sa-copilot-highlight.on{opacity:1;}@keyframes sa-typing{0%,60%,100%{opacity:.3; transform:translateY(0);}30%{opacity:1; transform:translateY(-3px);}}

/* /smartacus_editor_render/static/src/css/surface.css */
.sa-surface-view{display: flex; justify-content: center;}.sa-surface-pdf-frame{width: 100%; min-height: 80vh; border: none;}

/* /smartacus_editor_ocr/static/src/css/document_surface.css */
.sa-surface-image{max-width: 100%; height: auto;}.doc-card.sa-surface-text{background: transparent; box-shadow: none; padding: 0; width: auto;}