@import"https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap";:root{--primary: #ea2804;--primary-soft: rgba(234, 40, 4, .08);--accent: #4f46e5;--accent-soft: rgba(79, 70, 229, .08);--accent-soft-solid: #f1f0fd;--accent-hover: #4338ca;--green: #16a34a;--green-soft: rgba(22, 163, 74, .08);--amber: #d97706;--amber-soft: rgba(217, 119, 6, .08);--red: #dc2626;--red-soft: rgba(220, 38, 38, .08);--blue: #2563eb;--blue-soft: rgba(37, 99, 235, .08);--canvas: #f8f7f4;--surface: #ffffff;--surface-soft: #f0ede6;--ink: #181818;--body: #4c4c4c;--mute: #7c7c7c;--hairline: rgba(0, 0, 0, .1);--shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);--shadow-md: 0 4px 16px rgba(0, 0, 0, .08);--shadow-lg: 0 12px 36px rgba(0, 0, 0, .12);--radius: 10px;--radius-sm: 6px;--font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;--font-ui: "Inter", system-ui, sans-serif}*{box-sizing:border-box;margin:0}body{min-height:100vh;background:var(--canvas);color:var(--ink);font-family:var(--font-ui);font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(90deg,rgba(0,0,0,.035) 1px,transparent 1px),linear-gradient(rgba(0,0,0,.035) 1px,transparent 1px),var(--canvas);background-size:44px 44px}.status-card{width:min(440px,100%);background:var(--surface);border:1px solid var(--hairline);border-radius:8px;padding:32px;box-shadow:var(--shadow-lg)}.status-card h1{margin:18px 0 0;font-family:var(--font-display);font-size:28px;line-height:1.1}.status-card p{margin:10px 0 0;color:var(--body);line-height:1.6}.status-icon{width:46px;height:46px;border-radius:8px;display:grid;place-items:center}.status-icon.success{background:#e7f8ee;color:#15803d}.status-icon.danger{background:#fff0ee;color:var(--primary)}.layout-wrapper{display:flex;height:100vh;overflow:hidden}.sidebar{width:250px;flex-shrink:0;background:var(--surface);border-right:1px solid var(--hairline);display:flex;flex-direction:column;transition:width .25s ease}.sidebar.collapsed{width:64px}.sidebar-header{height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid var(--hairline)}.sidebar-brand{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-size:18px;font-weight:800;color:var(--primary);overflow:hidden;white-space:nowrap}.sidebar-toggle{width:32px;height:32px;border:none;border-radius:var(--radius-sm);background:transparent;color:var(--mute);display:grid;place-items:center;cursor:pointer;flex-shrink:0;transition:all .15s}.sidebar-toggle:hover{background:var(--surface-soft);color:var(--ink)}.sidebar.collapsed .sidebar-nav{padding:12px 8px}.sidebar.collapsed .sidebar-link{justify-content:center;padding:10px}.sidebar.collapsed .sidebar-link span{display:none}.sidebar-brand-dot{width:10px;height:10px;border-radius:50%;background:var(--primary)}.sidebar-nav{padding:12px;display:flex;flex-direction:column;gap:2px}.sidebar-link{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-sm);text-decoration:none;color:var(--body);font-weight:500;font-size:14px;transition:all .15s ease}.sidebar-link:hover{background:var(--surface-soft);color:var(--ink)}.sidebar-link.active{background:var(--primary-soft);color:var(--primary);font-weight:600}.weekly-page{display:flex;flex-direction:column;gap:12px;min-height:100%}.weekly-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.weekly-toolbar-title{display:flex;align-items:center;gap:12px;min-width:0}.weekly-toolbar-title h1{font-family:var(--font-display);font-size:22px;line-height:1.1}.weekly-toolbar-title p{margin-top:3px;color:var(--mute);font-size:13px}.weekly-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;color:var(--accent);background:var(--accent-soft-solid);flex-shrink:0}.weekly-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.weekly-search{height:40px;min-width:230px;display:flex;align-items:center;gap:8px;padding:0 12px;background:#fff;border:1px solid var(--hairline);border-radius:8px;color:var(--mute)}.weekly-search input{width:100%;border:0;outline:0;background:transparent;color:var(--ink)}.weekly-toolbar select{height:40px;min-width:96px;border:1px solid var(--hairline);border-radius:8px;background:#fff;padding:0 12px;font-weight:700;color:var(--ink)}.weekly-reset-button{height:40px;border:1px solid var(--accent);border-radius:8px;background:#fff;color:var(--accent);display:inline-flex;align-items:center;gap:7px;padding:0 12px;cursor:pointer;font-weight:800}.weekly-reset-button:hover{background:var(--accent-soft)}.weekly-reset-button:disabled{opacity:.45;cursor:not-allowed}.weekly-topbar-controls{display:inline-flex;align-items:center;gap:8px}.weekly-topbar-controls select{height:40px;min-width:92px;border:1px solid var(--hairline);border-radius:8px;background:#fff;padding:0 12px;font-weight:800;color:var(--ink)}.weekly-topbar-controls .weekly-user-select{min-width:210px;max-width:280px}.weekly-status-filter{position:relative;z-index:2;flex:0 0 auto}.weekly-status-filter-trigger{height:40px;min-width:92px;display:inline-flex;align-items:center;justify-content:space-between;gap:7px;padding:0 12px;border:1px solid var(--hairline);border-radius:8px;background:#fff;color:var(--ink);font-size:12px;font-weight:800;cursor:pointer}.weekly-status-filter-trigger.open,.weekly-status-filter-trigger:hover{border-color:#818cf8;color:#4338ca}.weekly-status-filter-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:7000;width:154px;padding:7px;border:1px solid var(--hairline);border-radius:9px;background:#fff;box-shadow:0 12px 28px #0f172a2e}.weekly-status-filter-menu label{display:flex;align-items:center;gap:8px;min-height:32px;padding:6px 8px;border-radius:6px;color:var(--ink);font-size:12px;font-weight:700;cursor:pointer}.weekly-status-filter-menu label:hover{background:#f5f3ff}.weekly-status-filter-menu input{width:14px;height:14px;margin:0;accent-color:#4f46e5}.weekly-reset-button-topbar{white-space:nowrap}.weekly-card{min-height:620px;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.weekly-table-wrap{height:620px;overflow:auto}.weekly-user-summary-wrap{background:#fff}.weekly-user-summary-table{width:3840px;min-width:3840px;table-layout:fixed;border-collapse:separate;border-spacing:0;color:var(--body);font-size:13px}.weekly-summary-month-col{width:320px}.weekly-user-summary-table th,.weekly-user-summary-table td{border-right:1px solid rgba(0,0,0,.07);border-bottom:1px solid rgba(0,0,0,.08);text-align:left;vertical-align:top}.weekly-user-summary-table thead th{position:sticky;top:0;z-index:4;width:320px;padding:11px 12px;background:var(--surface-soft);color:var(--ink);font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.weekly-summary-month-cell{width:320px;padding:8px;background:#f8fafc}.weekly-summary-month-activities{display:flex;flex-direction:column;gap:4px}.weekly-summary-activity-row{position:relative;padding:6px 7px;border:1px solid #dbeafe;border-radius:7px;background:#eff6ff;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease}.weekly-summary-activity-row.weekly-activity-bg-open,.weekly-activity-item.weekly-activity-bg-open{border-color:#bfdbfe;background:#eff6ff}.weekly-summary-activity-row.weekly-activity-bg-reschedule,.weekly-activity-item.weekly-activity-bg-reschedule{border-color:#fcd34d;background:#fffbeb}.weekly-summary-activity-row.weekly-activity-bg-rescheduled-open,.weekly-activity-item.weekly-activity-bg-rescheduled-open{border-color:#60a5fa;background:#fef3c7}.weekly-summary-activity-row.weekly-activity-bg-close,.weekly-activity-item.weekly-activity-bg-close{border-color:#d1d5db;background:#f3f4f6}.weekly-summary-activity-row:hover,.weekly-summary-activity-row:focus-visible{border-color:#60a5fa;outline:none;box-shadow:0 2px 8px #2563eb1f}.weekly-summary-activity-heading{display:block;min-height:17px;padding-right:96px}.weekly-summary-activity-name{min-width:0;color:var(--ink);font-size:14px;font-weight:700;line-height:1.15;overflow-wrap:anywhere}.weekly-summary-activity-name .weekly-quotation-link{font-weight:700}.weekly-summary-activity-status{position:absolute;top:5px;right:6px;display:flex;flex-direction:column;align-items:flex-end;gap:3px}.weekly-summary-activity-status>span{color:var(--mute);font-size:11px;font-weight:700;line-height:1;white-space:nowrap}.weekly-summary-activity-row>span,.weekly-summary-activity-row>p{display:block;margin:2px 0 0;line-height:1.1;overflow-wrap:anywhere}.weekly-summary-activity-row>span{color:var(--mute);font-size:12px;padding-right:88px}.weekly-summary-activity-row>p{color:var(--body);font-size:13px}.weekly-summary-add{width:100%;min-height:32px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px dashed #818cf8;border-radius:7px;background:#fff;color:var(--accent);padding:0 12px;margin-top:8px;font-size:11px;font-weight:800;cursor:pointer;opacity:.45;transition:opacity .15s ease,background .15s ease}.weekly-summary-add:hover,.weekly-summary-add:focus-visible{background:#eef2ff;opacity:1}.weekly-table{table-layout:fixed;border-collapse:separate;border-spacing:0}.weekly-table th,.weekly-table td{border-right:1px solid rgba(0,0,0,.08);border-bottom:1px solid rgba(0,0,0,.08);vertical-align:top}.weekly-table thead th{position:sticky;top:0;z-index:3;min-width:270px;width:270px;max-width:270px;padding:10px 12px;background:var(--surface-soft);color:var(--body);text-align:left;font-size:12px;letter-spacing:.03em;text-transform:uppercase}.weekly-table thead th strong,.weekly-table tbody th strong{display:block;color:var(--ink);font-size:13px;letter-spacing:0;text-transform:none}.weekly-table thead th span,.weekly-table tbody th span{display:block;margin-top:3px;color:var(--mute);font-size:12px;font-weight:600;letter-spacing:0;text-transform:none}.weekly-sticky-col{position:sticky;left:0;z-index:4;min-width:56px;width:56px;max-width:56px;background:#fff;box-shadow:1px 0 #00000014}.weekly-table thead .weekly-sticky-col{z-index:5;background:var(--surface-soft)}.weekly-table tbody th{padding:10px 4px;text-align:center}.weekly-table tbody .weekly-sticky-col span{display:none}.weekly-pic-cell{font-weight:800;box-shadow:inset -1px 0 #0000001a}.weekly-activity-cell{width:270px;min-width:270px;max-width:270px;min-height:76px;padding:6px;background:#fff}.weekly-activity-cell textarea{width:100%;min-height:60px;resize:vertical;border:1px solid transparent;border-radius:7px;padding:7px 8px;outline:none;color:var(--ink);background:#fafafa;line-height:1.35}.weekly-activity-cell textarea:focus{border-color:var(--accent);background:#fff;box-shadow:0 0 0 2px #4f46e51f}.weekly-activity-cell-filled,.weekly-activity-cell-filled textarea{background:#dbeafe}.weekly-activity-cell-filled textarea{border-color:#93c5fd;color:#1e3a8a}.weekly-activity-cell-status-open{background:#dbeafe}.weekly-activity-cell-status-reschedule{background:#fef3c7}.weekly-activity-cell-status-rescheduled-open{background:#dbeafe}.weekly-activity-cell-status-close{background:#e5e7eb}.weekly-activity-cell-current,.weekly-activity-cell-current textarea,.weekly-activity-cell-filled.weekly-activity-cell-current{background:#dcfce7}.weekly-activity-cell-current textarea{border-color:#86efac;color:#14532d}.weekly-activity-cell-filled textarea:focus{background:#eff6ff}.weekly-activity-cell-current textarea:focus{background:#f0fdf4;border-color:#22c55e;box-shadow:0 0 0 2px #22c55e24}.weekly-activity-list{display:flex;flex-direction:column;gap:6px;min-height:64px}.weekly-activity-item{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;padding:7px 8px;border:1px solid rgba(59,130,246,.28);border-radius:7px;background:#ffffffb8;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.weekly-activity-item:hover,.weekly-activity-item:focus-visible{border-color:#60a5fa;outline:none;box-shadow:0 3px 10px #2563eb1f;transform:translateY(-1px)}.weekly-activity-item>div{min-width:0}.weekly-activity-item strong,.weekly-activity-item span,.weekly-activity-item p{display:block;overflow:hidden;text-overflow:ellipsis}.weekly-activity-item strong{color:#1e3a8a;font-size:12px;line-height:1.15;white-space:nowrap}.weekly-activity-item span{margin-top:2px;color:var(--mute);font-size:11px;line-height:1.15;white-space:nowrap}.weekly-activity-item p{margin:4px 0 0;color:var(--body);font-size:12px;line-height:1.2;white-space:normal}.weekly-activity-item>button{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border:0;border-radius:5px;background:#ef44441a;color:#dc2626;cursor:pointer}.weekly-activity-item .weekly-activity-count{width:30px;min-width:30px;height:30px;flex:0 0 30px;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0;border-radius:999px;background:#4f46e5;color:#fff;font-size:11px;line-height:1;font-weight:800;white-space:nowrap}.weekly-activity-item .weekly-activity-item-meta{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;gap:5px}.weekly-activity-item .weekly-activity-preview-status{display:inline-flex;align-items:center;justify-content:center;min-height:20px;margin:0;padding:3px 6px;border-radius:999px;font-size:10px;line-height:1;font-weight:800;white-space:nowrap}.weekly-add-activity{width:100%;flex:1;min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px dashed #818cf8;border-radius:7px;background:#ffffffad;color:var(--accent);cursor:pointer;font-size:11px;font-weight:800;opacity:.3;transition:opacity .15s ease,border-color .15s ease,background .15s ease}.weekly-add-activity:only-child{min-height:64px}.weekly-add-activity:hover,.weekly-add-activity:focus-visible{border-style:solid;background:#fff;opacity:1}.weekly-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1200;display:grid;place-items:center;padding:20px;background:#0f172a80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.weekly-modal{width:min(640px,100%);overflow:hidden;border:1px solid var(--hairline);border-radius:14px;background:#fff;box-shadow:0 24px 64px #0f172a38}.weekly-view-modal-wide{width:min(1080px,100%)}.weekly-modal>header,.weekly-modal>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px}.weekly-modal>header{border-bottom:1px solid var(--hairline)}.weekly-modal>header h2{margin:0;font-size:19px}.weekly-modal>header p{margin:4px 0 0;color:var(--mute);font-size:12px}.weekly-modal>header>button{width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--mute);cursor:pointer}.weekly-modal>header>button:hover{background:var(--surface-soft);color:var(--ink)}.weekly-modal-body{display:flex;flex-direction:column;gap:15px;padding:18px 20px}.weekly-modal-body label{display:flex;flex-direction:column;gap:6px}.weekly-modal-body label>span{color:var(--body);font-size:12px;font-weight:800}.weekly-modal-body input,.weekly-modal-body select,.weekly-modal-body textarea{width:100%;border:1px solid var(--hairline);border-radius:8px;background:#fff;color:var(--ink);outline:none}.weekly-modal-body input,.weekly-modal-body select{height:40px;padding:0 11px}.weekly-modal-body textarea{min-height:100px;padding:10px 11px;resize:vertical}.weekly-modal-body input:focus,.weekly-modal-body select:focus,.weekly-modal-body textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #4f46e51a}.weekly-modal-body input[readonly]{background:var(--surface-soft);color:var(--body)}.weekly-quotation-combobox{position:relative}.weekly-quotation-options{position:absolute;top:calc(100% + 5px);right:0;left:0;z-index:10;max-height:230px;overflow-y:auto;padding:5px;border:1px solid var(--hairline);border-radius:9px;background:#fff;box-shadow:0 14px 34px #0f172a29}.weekly-quotation-options button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border:0;border-radius:7px;background:transparent;text-align:left;cursor:pointer}.weekly-quotation-options button:hover,.weekly-quotation-options button:focus-visible{background:var(--accent-soft);outline:none}.weekly-quotation-options strong{color:var(--ink);font-size:12px}.weekly-quotation-options span{overflow:hidden;color:var(--mute);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.weekly-quotation-options p{margin:0;padding:10px;color:var(--mute);font-size:12px;text-align:center}.weekly-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.weekly-modal-empty{margin:-3px 0 0;color:#b45309;font-size:12px}.weekly-modal>footer{justify-content:flex-end;border-top:1px solid var(--hairline);background:var(--surface-soft)}.weekly-delete-detail{display:inline-flex;align-items:center;gap:6px;margin-right:auto;color:#dc2626}.weekly-view-footer-actions{display:flex;align-items:center;gap:8px;margin-right:auto}.weekly-view-footer-actions .btn{display:inline-flex;align-items:center;gap:6px}.weekly-view-footer-actions .weekly-delete-detail{margin-right:0}.weekly-view-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.weekly-view-grid>div,.weekly-view-description{padding:12px;border:1px solid var(--hairline);border-radius:9px;background:var(--surface-soft)}.weekly-view-grid span,.weekly-view-description>span{display:block;margin-bottom:5px;color:var(--mute);font-size:10px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.weekly-view-grid strong{color:var(--ink);font-size:13px}.weekly-view-grid input,.weekly-view-grid select,.weekly-view-table td input,.weekly-view-table td select{width:100%;min-width:0;min-height:36px;padding:7px 9px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:var(--ink);font:inherit;outline:none}.weekly-view-grid input:focus,.weekly-view-grid select:focus,.weekly-view-table td input:focus,.weekly-view-table td select:focus{border-color:var(--accent);box-shadow:0 0 0 2px #4f46e51a}.weekly-edit-activity-type{display:grid;width:100%;min-width:0;gap:6px}.weekly-view-table .weekly-edit-activity-type.has-quotation{position:relative;padding-bottom:42px}.weekly-edit-quotation-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;gap:5px}.weekly-view-table .weekly-edit-quotation-row{position:absolute;bottom:0;left:0;z-index:2;width:min(230px,30vw)}.weekly-view-table td .weekly-open-quotation-icon,.weekly-view-grid .weekly-open-quotation-icon{display:inline-flex;width:34px;min-height:36px;align-items:center;justify-content:center;padding:0;border:1px solid #c7d2fe;border-radius:7px;background:#eef2ff;color:var(--accent);cursor:pointer}.weekly-quotation-link{padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer}.weekly-quotation-link:hover{color:inherit;text-decoration:none}.weekly-status,.weekly-status-select{border-radius:999px;font-size:11px;font-weight:800}.weekly-status{display:inline-flex;min-height:28px;align-items:center;padding:4px 10px}.weekly-status-editor{display:grid;gap:5px}.weekly-reschedule-week-button{width:100%;padding:2px 4px;border:0;background:transparent;color:#92400e;font-size:10px;font-weight:800;text-align:left;cursor:pointer}.weekly-reschedule-week-button:hover{text-decoration:underline}.weekly-reschedule-week-label{padding:0 4px;color:#92400e;font-size:10px;font-weight:800}.weekly-reschedule-week-link{display:inline-flex;align-items:center;align-self:flex-start;padding:0 4px;border:0;background:none;color:#1d4ed8;font-size:11px;font-weight:800;text-align:left;text-decoration:underline;cursor:pointer}.weekly-reschedule-week-link:hover,.weekly-reschedule-week-link:focus-visible{color:#1e3a8a}@keyframes weekly-highlight-pulse{0%,to{box-shadow:inset 0 0 #2563eb00}50%{box-shadow:inset 0 0 0 3px #2563eb73}}.weekly-activity-cell-highlight,.weekly-summary-activity-row.weekly-summary-activity-highlight{outline:2px solid #2563eb;outline-offset:-2px;animation:weekly-highlight-pulse .9s ease-in-out 3}.weekly-view-grid .weekly-status-select,.weekly-view-table td .weekly-status-select{min-height:32px;padding:5px 24px 5px 9px;border-color:transparent}.weekly-status-open{background:#e0f2fe!important;color:#0369a1!important}.weekly-status-reschedule{background:#fef3c7!important;color:#92400e!important}.weekly-status-close,.weekly-status-close.weekly-status-close-win{background:#dcfce7!important;color:#166534!important}.weekly-status-close.weekly-status-close-loss{background:#fee2e2!important;color:#991b1b!important}.weekly-status-close.weekly-status-close-cancel{background:#e5e7eb!important;color:#4b5563!important}.weekly-reschedule-backdrop{z-index:1300}.weekly-reschedule-delete-backdrop{z-index:1400}.weekly-reschedule-delete-modal{width:min(500px,100%)}.weekly-reschedule-delete-message{padding:14px;border:1px solid #fecaca;border-radius:10px;background:#fff7f7}.weekly-reschedule-delete-message strong{color:#991b1b;line-height:1.45}.weekly-reschedule-delete-message p{margin:8px 0 0;color:var(--body);font-size:13px;line-height:1.5}.weekly-reschedule-delete-message>span{display:inline-flex;margin-top:10px;padding:5px 8px;border-radius:6px;background:#fee2e2;color:#991b1b;font-size:12px;font-weight:800}.weekly-reschedule-modal{width:min(520px,100%);overflow:visible}.weekly-reschedule-body{gap:12px}.weekly-reschedule-body input{height:42px;padding:0 12px}.weekly-reschedule-combobox{position:relative}.weekly-reschedule-options{position:absolute;top:0;left:calc(100% + 10px);z-index:5;width:280px;max-height:390px;overflow-y:auto;padding:5px;border:1px solid var(--hairline);border-radius:9px;background:#fff;box-shadow:0 14px 34px #0f172a2e}.weekly-reschedule-options button{width:100%;display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:10px;padding:9px 10px;border:0;border-radius:7px;background:transparent;color:var(--ink);text-align:left;cursor:pointer}.weekly-reschedule-options button:hover,.weekly-reschedule-options button[aria-selected=true]{background:var(--accent-soft)}.weekly-reschedule-options strong{font-size:13px}.weekly-reschedule-options span{color:var(--mute);font-size:12px}.weekly-reschedule-options p{margin:0;padding:12px;color:var(--mute);font-size:12px;text-align:center}.weekly-reschedule-preview{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:11px 12px;border:1px solid #fde68a;border-radius:8px;background:#fffbeb}.weekly-reschedule-preview span,.weekly-reschedule-hint{color:var(--mute);font-size:12px}.weekly-reschedule-preview strong{color:#92400e;font-size:13px}.weekly-reschedule-hint{margin:0}.weekly-reschedule-actions{display:flex;align-items:center;gap:8px}@media(max-width:900px){.weekly-reschedule-options{top:calc(100% + 5px);right:0;left:auto;width:100%;max-height:230px}}.weekly-view-description p{margin:0;color:var(--body);line-height:1.5;white-space:pre-wrap}.weekly-inline-description-wrap{display:flex;flex-direction:column;gap:4px}.weekly-modal-body .weekly-inline-description{width:100%;min-height:38px;max-height:160px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:var(--ink);field-sizing:content;font:inherit;line-height:1.45;outline:none;overflow-y:auto;resize:none}.weekly-inline-description:focus{border-color:var(--accent);box-shadow:0 0 0 2px #4f46e51a}.weekly-modal-body .weekly-inline-description-table{min-height:38px}.weekly-view-table-wrap{max-height:420px;overflow:auto;border:1px solid var(--hairline);border-radius:9px}.weekly-view-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:12px}.weekly-view-table th:nth-child(1){width:18%}.weekly-view-table th:nth-child(2){width:18%}.weekly-view-table th:nth-child(3){width:16%}.weekly-view-table th:nth-child(4){width:auto}.weekly-view-table th:nth-child(5){width:112px}.weekly-view-table th:nth-child(6){width:70px}.weekly-view-table th,.weekly-view-table td{padding:10px;border-bottom:1px solid var(--hairline);text-align:left;vertical-align:top}.weekly-view-table th{position:sticky;top:0;z-index:1;background:var(--surface-soft);color:var(--mute);font-size:10px;letter-spacing:.03em;text-transform:uppercase}.weekly-view-table tbody tr:last-child td{border-bottom:0}.weekly-view-table td{overflow-wrap:anywhere}.weekly-view-table td:nth-child(4){min-width:320px;line-height:1.45;white-space:pre-wrap}.weekly-view-table td:last-child{width:82px;text-align:center}.weekly-inline-add-row{background:#f8fafc}.weekly-inline-add-row input,.weekly-inline-add-row select{width:100%;min-width:0;height:38px;padding:0 9px;border:1px solid #cbd5e1;border-radius:7px;background:#fff;color:var(--ink);font:inherit;outline:none}.weekly-inline-add-row td:first-child input{margin-top:6px}.weekly-inline-add-row input:focus,.weekly-inline-add-row select:focus{border-color:var(--accent);box-shadow:0 0 0 2px #4f46e51a}.weekly-view-row-actions{display:inline-flex;align-items:center;gap:5px}.weekly-view-row-actions button{width:28px;height:28px;display:inline-grid;place-items:center;border:0;border-radius:6px;background:#fee2e2;color:#dc2626;cursor:pointer}@media(max-width:640px){.weekly-modal-grid,.weekly-view-grid{grid-template-columns:1fr}}.weekly-table thead th.weekly-default-week{background:#dcfce7;color:#166534;box-shadow:inset 0 -2px #22c55e}.weekly-table thead th.weekly-default-week strong,.weekly-table thead th.weekly-default-week span{color:#166534}.weekly-default-week-row th,.weekly-default-week-row td{background:#f5f7ff}.sales-library-page{min-height:100%;color:var(--ink)}.library-toolbar{position:sticky;top:-8px;z-index:20;display:grid;grid-template-columns:minmax(260px,1fr) 210px;align-items:center;gap:10px;margin-bottom:14px;padding:11px 14px;border:1px solid var(--hairline);border-radius:12px;background:#f7f5f0f5;box-shadow:0 5px 18px #1e293b0f;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.library-search{display:flex;align-items:center;gap:9px;min-width:0;height:42px;padding:0 12px;border:1px solid var(--hairline);border-radius:9px;background:#fff;color:var(--mute)}.library-search:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px #4f46e51a}.library-search input{width:100%;min-width:0;border:0;background:transparent;color:var(--ink);font:inherit;outline:0}.library-toolbar>select{width:100%;height:42px;padding:0 11px;border:1px solid var(--hairline);border-radius:9px;background:#fff;color:var(--ink);font:inherit;font-weight:700}.library-upload-button{height:42px;white-space:nowrap}.library-alert{max-width:980px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 auto 12px;padding:10px 13px;border:1px solid #fecaca;border-radius:9px;background:#fff1f2;color:#b91c1c;font-size:13px;font-weight:700}.library-alert button{display:inline-grid;place-items:center;border:0;background:transparent;color:inherit;cursor:pointer}.library-feed{width:min(100%,980px);display:flex;flex-direction:column;gap:16px;margin:0 auto;padding-bottom:24px}.library-empty{min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:32px;border:1px dashed #cbd5e1;border-radius:14px;background:#ffffffb8;color:var(--mute);text-align:center}.library-empty strong{color:var(--ink);font-size:16px}.library-post{overflow:hidden;border:1px solid rgba(30,58,95,.13);border-radius:14px;background:#fff;box-shadow:0 8px 24px #1e293b12}.library-post-header{display:flex;align-items:center;gap:10px;padding:14px 16px 8px}.library-avatar{width:38px;height:38px;flex:0 0 auto;display:inline-grid;place-items:center;border-radius:50%;background:linear-gradient(145deg,#fff1e8,#fee2e2);color:#c2410c;font-size:12px;font-weight:900}.library-avatar.small{width:30px;height:30px;background:#eef2ff;color:#4338ca;font-size:10px}.library-post-author{min-width:0;display:flex;flex:1;flex-direction:column;gap:2px}.library-post-author strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.library-post-author span{color:var(--mute);font-size:11px}.library-category{max-width:180px;overflow:hidden;padding:5px 9px;border-radius:999px;background:#fff7ed;color:#c2410c;font-size:11px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.library-document-actions{display:flex;align-items:center;justify-content:center;gap:3px}.library-edit-document,.library-delete-document,.library-save-document,.library-cancel-edit{width:27px;height:27px;display:inline-grid;place-items:center;border:0;border-radius:6px;background:transparent;color:#94a3b8;cursor:pointer}.library-edit-document:hover{background:#eef2ff;color:#4f46e5}.library-delete-document:hover{background:#fff1f2;color:#dc2626}.library-save-document{background:#e8e7ff;color:#4f46e5}.library-save-document:hover{background:#dcdafe}.library-cancel-edit{background:#f1f1ef;color:#64748b}.library-cancel-edit:hover{background:#e7e7e3;color:#334155}.library-save-document:disabled,.library-cancel-edit:disabled{cursor:not-allowed;opacity:.45}.library-table .library-edit-row td{height:39px;padding:2px 4px;border-top:1px solid #4f46e5;border-bottom:1px solid #4f46e5;background:#f4f4ff}.library-table .library-edit-row:hover td{background:#f4f4ff}.library-inline-edit-field{width:100%;min-width:0;height:35px;min-height:35px;padding:5px 7px;border:1px solid #cbd5e1;border-radius:3px;outline:0;background:#fff;color:var(--ink);font:inherit;font-size:13px;line-height:1.35;box-sizing:border-box}.library-inline-edit-field:focus{border-color:#4f46e5;box-shadow:inset 0 0 0 1px #4f46e5}textarea.library-inline-edit-field{resize:vertical;overflow-wrap:anywhere}.library-inline-file-edit{min-width:0;display:flex;flex-direction:column;gap:2px}.library-inline-file-edit input{width:100%;min-width:0;height:22px;padding:0;overflow:hidden;border:0;background:transparent;color:#475569;font:inherit;font-size:10px}.library-inline-file-edit small{margin:0!important;overflow:hidden;color:#64748b!important;text-overflow:ellipsis;white-space:nowrap}.library-post-copy{padding:2px 16px 13px 64px}.library-post-copy h2{margin:0;color:#172554;font-family:var(--font-display);font-size:19px;line-height:1.25}.library-post-copy p{margin:6px 0 0;color:var(--body);font-size:13px;line-height:1.55;white-space:pre-wrap}.library-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.library-tags span{color:#4f46e5;font-size:11px;font-weight:800}.library-pdf-preview{position:relative;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline);background:#30353d}.library-pdf-preview iframe{display:block;width:100%;height:470px;border:0;background:#e5e7eb}.library-pdf-actions{position:absolute;top:10px;right:12px;z-index:2;display:flex;align-items:center;gap:6px}.library-pdf-actions button,.library-pdf-actions a{min-height:32px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border:1px solid rgba(255,255,255,.35);border-radius:7px;background:#0f172ad1;color:#fff;font:inherit;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.library-pdf-state{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline);background:#f1f5f9;color:var(--mute);font-size:12px}.library-pdf-state.error{color:#b91c1c}.library-discussion{padding:13px 16px 16px}.library-discussion-title{display:flex;align-items:center;gap:7px;margin-bottom:10px;color:#334155;font-size:12px}.library-discussion-title span{min-width:20px;height:20px;display:inline-grid;place-items:center;padding:0 5px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:900}.library-comment-composer,.library-reply-composer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:8px}.library-comment-composer textarea,.library-reply-composer textarea,.library-comment-edit textarea{width:100%;min-height:40px;max-height:140px;resize:vertical;padding:10px 11px;border:1px solid #dbe1ea;border-radius:9px;background:#f8fafc;color:var(--ink);font:inherit;font-size:12px;line-height:1.4;outline:none}.library-comment-composer textarea:focus,.library-reply-composer textarea:focus,.library-comment-edit textarea:focus{border-color:#818cf8;background:#fff;box-shadow:0 0 0 3px #4f46e514}.library-comment-composer>button,.library-reply-composer>button{width:38px;height:38px;display:inline-grid;place-items:center;border:0;border-radius:9px;background:var(--accent);color:#fff;cursor:pointer}.library-comment-composer>button:disabled,.library-reply-composer>button:disabled{opacity:.42;cursor:not-allowed}.library-comments{display:flex;flex-direction:column;gap:11px;margin-top:14px}.library-no-comments{margin:4px 0 0 38px;color:var(--mute);font-size:11px}.library-comment{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.library-comment-content{min-width:0;padding:8px 10px;border-radius:9px;background:#f7f7f8}.library-comment-heading{display:flex;align-items:baseline;gap:8px}.library-comment-heading strong{color:#1e293b;font-size:11px}.library-comment-heading time{color:#94a3b8;font-size:9px}.library-comment-content>p{margin:4px 0 0;color:#334155;font-size:12px;line-height:1.45;white-space:pre-wrap}.library-comment-actions{display:flex;gap:10px;margin-top:5px}.library-comment-actions button{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:#64748b;font-size:9px;font-weight:800;cursor:pointer}.library-comment-actions button:hover{color:var(--accent)}.library-comment-actions button.danger:hover{color:#dc2626}.library-replies{display:flex;flex-direction:column;gap:8px;margin:8px 0 0 38px;padding-left:10px;border-left:2px solid #e2e8f0}.library-reply-composer{grid-template-columns:minmax(0,1fr) auto;margin-top:8px}.library-comment-edit{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.library-comment-edit textarea{flex:1 0 100%}.library-comment-edit button{padding:5px 9px;border:0;border-radius:6px;background:var(--accent);color:#fff;font-size:10px;font-weight:800;cursor:pointer}.library-comment-edit button.plain{background:#e2e8f0;color:#475569}.library-upload-modal{max-width:720px}.library-upload-modal .modal-header>div p{margin:3px 0 0;color:var(--mute);font-size:12px}.library-upload-form{display:grid;grid-template-columns:1fr 1fr;gap:15px}.library-upload-form label{min-width:0;display:flex;flex-direction:column;gap:6px}.library-upload-form label.full,.library-form-error.full{grid-column:1 / -1}.library-upload-form label>span{color:#475569;font-size:11px;font-weight:800}.library-upload-form input,.library-upload-form select,.library-upload-form textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid #d6dce5;border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:12px;outline:none}.library-upload-form input:focus,.library-upload-form select:focus,.library-upload-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #4f46e514}.library-upload-form small{color:var(--mute);font-size:10px}.library-form-error{padding:9px 11px;border-radius:7px;background:#fff1f2;color:#b91c1c;font-size:11px;font-weight:700}.library-confirm-modal{max-width:430px}.library-confirm-modal .modal-body p{margin:0;color:var(--body);font-size:13px}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover:not(:disabled){background:#b91c1c}.spin{animation:library-spin .8s linear infinite}@keyframes library-spin{to{transform:rotate(360deg)}}@media(max-width:760px){.library-toolbar{position:static;grid-template-columns:1fr}.library-post-copy{padding-left:16px}.library-pdf-preview iframe{height:380px}.library-upload-form{grid-template-columns:1fr}.library-upload-form label.full,.library-form-error.full{grid-column:auto}.library-category{display:none}}.library-table-card{min-height:620px;height:calc(100vh - 205px);display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--hairline);border-radius:12px;background:#fff;box-shadow:0 5px 18px #1e293b0d}.library-table-scroll{min-height:0;flex:1;overflow:auto}.library-table{width:100%;min-width:1215px;border-spacing:0;border-collapse:separate;table-layout:fixed;color:#334155;font-size:13px}.library-table .library-col-item{width:220px}.library-table .library-col-category{width:130px}.library-table .library-col-description{width:250px}.library-table .library-col-file{width:190px}.library-table .library-col-owner{width:150px}.library-table .library-col-date{width:140px}.library-table .library-col-comments{width:80px}.library-table .library-col-action{width:62px}.library-table th{position:sticky;top:0;z-index:3;height:40px;padding:0 11px;border-bottom:1px solid #d8d4cb;background:#f2efe9;color:#6b7280;font-size:11px;font-weight:900;letter-spacing:.045em;text-align:left;text-transform:uppercase}.library-table th .col-header-wrap{width:100%}.library-table th .col-header-label{font-size:inherit;font-weight:inherit;letter-spacing:inherit}.library-clear-filters{flex:0 0 auto;min-height:52px;color:var(--danger);border-color:#dc26264d;white-space:nowrap}.library-table td{height:54px;padding:8px 11px;overflow:hidden;border-bottom:1px solid #edf0f4;background:#fff;vertical-align:middle}.library-table tbody tr:hover td{background:#fafbff}.library-item-link{width:100%;min-width:0;display:flex;align-items:center;gap:7px;padding:0;overflow:hidden;border:0;background:transparent;color:#263d66;font:inherit;font-weight:800;text-align:left;cursor:pointer}.library-item-link svg{flex:0 0 auto;color:#4f46e5}.library-item-link span,.library-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.library-item-link:hover span{color:#4338ca;text-decoration:underline}.library-description-cell{line-height:1.4;white-space:normal}.library-file-name{display:block;color:#334155;font-weight:700}.library-table td>small{display:block;margin-top:3px;color:#94a3b8;font-size:10px}.library-owner-cell{min-width:0;display:flex;align-items:center;gap:7px}.library-owner-cell strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.library-comment-count{min-width:42px;height:28px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #dbe3f0;border-radius:999px;background:#f8fafc;color:#475569;font:inherit;font-size:11px;font-weight:900;cursor:pointer}.library-comment-count:hover{border-color:#a5b4fc;background:#eef2ff;color:#4338ca}.library-add-row td{height:39px;padding:2px;border-top:1px solid #4f46e5;border-bottom:1px solid #4f46e5;background:#f4f4ff}.library-table .library-add-row:hover td{background:#f4f4ff}.library-add-row input,.library-add-row select,.library-add-row textarea{width:100%;min-width:0;height:35px;min-height:35px;padding:5px 7px;border:1px solid #cfd6e2;border-radius:3px;background:#fff;color:var(--ink);font:inherit;font-size:13px;line-height:1.35;outline:none;box-sizing:border-box}.library-add-row textarea{max-height:120px;padding-top:8px;padding-bottom:8px;overflow:hidden;resize:none;white-space:pre-wrap;overflow-wrap:anywhere}.library-add-row input:focus,.library-add-row select:focus,.library-add-row textarea:focus{border-color:#6366f1;box-shadow:0 0 0 2px #4f46e517}.library-add-row .library-file-input{padding:5px;font-size:12px}.library-add-hint{color:#6b7280;font-size:11px;text-align:center}.library-row-actions{display:flex;justify-content:center;gap:4px}.library-row-actions button{width:30px;height:30px;display:inline-grid;place-items:center;border:0;border-radius:7px;background:#e5e7eb;color:#64748b;cursor:pointer}.library-row-actions button.save{background:#e8e7ff;color:#4f46e5}.library-row-actions button:disabled{opacity:.4;cursor:not-allowed}.library-add-error td{height:auto;padding:7px 11px;background:#fff1f2;color:#b91c1c;font-size:10px;font-weight:700}.library-table-state{height:300px!important;text-align:center;color:#64748b}.library-table-state svg{margin-right:7px;vertical-align:middle}.library-table-footer{height:42px;display:flex;align-items:center;padding:0 13px;border-top:1px solid var(--hairline);background:#fafafa;color:#7c838f;font-size:10px}.library-detail-modal{width:calc(100vw - 38px);max-width:1500px;height:calc(100vh - 38px);max-height:920px}.sales-library-detail-page{height:calc(100vh - 76px);min-height:560px}.library-detail-page-shell{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--hairline);border-radius:12px;background:#fff;box-shadow:var(--shadow-sm)}.library-detail-page-shell>.library-detail-header{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--hairline)}.library-detail-back{width:36px;height:36px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border:1px solid #dfe3ea;border-radius:9px;background:#fff;color:#475569;cursor:pointer}.library-detail-back:hover{border-color:var(--primary);color:var(--primary)}.library-detail-state{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;border:1px solid var(--hairline);border-radius:12px;background:#fff;color:#64748b}.library-detail-state p{margin:0}.library-detail-header{min-height:70px;flex:0 0 auto;padding:12px 16px}.library-detail-heading,.library-detail-header-actions{min-width:0;display:flex;align-items:center;gap:10px}.library-detail-heading h2{margin:0;overflow:hidden;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.library-detail-heading p{margin:3px 0 0;color:#7c838f;font-size:10px}.library-detail-summary{flex:0 0 auto;display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 16px;border-bottom:1px solid var(--hairline);background:#fafafa}.library-detail-summary>p{flex:1;margin:0;overflow:hidden;color:#475569;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.library-detail-summary .library-tags{flex:0 0 auto;margin:0}.library-detail-layout{min-height:0;flex:1;display:grid;grid-template-columns:minmax(0,1.75fr) minmax(340px,.75fr);overflow:hidden}.library-detail-pdf{min-width:0;min-height:0;overflow:hidden;background:#30353d}.library-detail-pdf .library-pdf-preview,.library-detail-pdf .library-pdf-preview iframe{width:100%;height:100%}.library-detail-pdf .library-pdf-preview{border:0}.library-detail-pdf .library-pdf-state{height:100%;border:0}.library-detail-layout>.library-discussion{min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:13px;border-left:1px solid var(--hairline);background:#fff}.library-detail-layout .library-comments{min-height:0;flex:1;overflow-y:auto;padding-right:4px}@media(max-width:1050px){.library-detail-modal{height:calc(100vh - 24px)}.library-detail-layout{display:block;overflow-y:auto}.library-detail-pdf{height:58vh}.library-detail-layout>.library-discussion{min-height:360px;overflow:visible;border-top:1px solid var(--hairline);border-left:0}}@media(max-width:760px){.library-table-card{height:calc(100vh - 290px);min-height:480px}.library-detail-modal{width:100vw;height:100vh;max-height:none;border-radius:0}.library-detail-summary{align-items:flex-start;flex-direction:column}}.weekly-default-week-row .weekly-sticky-col{background:#e8f0ff}.weekly-empty{min-height:620px;display:grid;place-items:center;color:var(--mute);font-weight:700}.main-area{flex:1;display:flex;flex-direction:column;overflow:hidden;min-width:0}.layout-topbar{position:relative;z-index:1000;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid var(--hairline);background:#ffffffd9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);flex-shrink:0}.layout-topbar-main,.layout-topbar-center,.layout-topbar-right{flex:1;min-width:0}.layout-topbar-main{display:flex;align-items:center;justify-content:flex-start}.layout-topbar-center{display:flex;align-items:center;justify-content:center;padding:0 12px}.layout-topbar-right{display:flex;align-items:center;justify-content:flex-end;gap:10px}.topbar-actions{display:flex;align-items:center;flex:0 0 auto;overflow:visible}.topbar-title{font-size:16px;font-weight:600;color:var(--ink)}.topbar-user{display:flex;align-items:center;justify-content:flex-end;position:relative;flex:0 0 auto}.topbar-avatar{width:34px;height:34px;border-radius:8px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px;overflow:hidden;flex-shrink:0}.topbar-avatar img{width:100%;height:100%;object-fit:cover}.topbar-avatar-lg{width:38px;height:38px;font-size:15px}.topbar-user-info{display:grid;gap:1px}.topbar-user-info strong{font-size:13px;color:var(--ink)}.topbar-user-info span{font-size:12px;color:var(--mute)}.icon-button{width:34px;height:34px;border-radius:999px;border:none;background:var(--surface-soft);color:var(--ink);display:grid;place-items:center;cursor:pointer;transition:background .15s}.icon-button:hover{background:var(--hairline)}.topbar-profile-button{display:inline-flex;align-items:center;gap:8px;padding:4px;border:0;background:transparent;border-radius:var(--radius-sm);cursor:pointer;transition:background .15s ease}.topbar-profile-button:hover{background:var(--surface-soft)}.topbar-profile-chevron{color:var(--mute);transition:transform .18s ease}.topbar-profile-chevron.open{transform:rotate(180deg)}.topbar-profile-menu{position:fixed;width:220px;background:var(--surface);border:1px solid var(--hairline);border-radius:12px;box-shadow:var(--shadow-lg);overflow:hidden;z-index:5000}.topbar-profile-menu-header{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--hairline)}.topbar-profile-link{display:flex;align-items:center;gap:10px;width:100%;padding:12px 16px;border:0;background:transparent;color:var(--ink);font-size:13px;font-weight:600;text-decoration:none;cursor:pointer;transition:background .15s ease,color .15s ease}.topbar-profile-link:hover{background:var(--surface-soft)}.topbar-profile-link-logout{color:var(--red)}.topbar-profile-link-logout:hover{background:var(--red-soft)}.page-content{flex:1;overflow:auto;padding:8px 12px}.page-container{display:flex;flex-direction:column;gap:16px}.page-header{position:relative;z-index:20;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.page-title{font-size:22px;font-weight:700;color:var(--ink);font-family:var(--font-display)}.header-actions{display:flex;gap:8px;flex-wrap:wrap;position:relative;z-index:12}.toolbar-menu{position:relative;z-index:14}.toolbar-menu-trigger{display:inline-flex;align-items:center;gap:8px}.toolbar-menu-chevron{transition:transform .15s ease}.toolbar-menu-chevron.open{transform:rotate(180deg)}.toolbar-menu-dropdown{position:fixed;min-width:190px;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius-sm);box-shadow:var(--shadow-md);padding:6px;z-index:4000}.toolbar-menu-item{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:var(--ink);padding:10px 12px;border-radius:8px;cursor:pointer;text-align:left;font-size:.92rem}.toolbar-menu-item:hover:not(:disabled){background:var(--surface-soft)}.toolbar-menu-item:disabled{opacity:.55;cursor:not-allowed}.toolbar-menu-item-success{color:#15803d}.dashboard-year-filter{display:flex;align-items:center;gap:6px;padding:6px 8px;border:1px solid var(--hairline);border-radius:var(--radius-sm);background:var(--surface)}.dashboard-year-filters{display:flex;align-items:center;gap:6px}.dashboard-year-filter label{font-size:12px;font-weight:700;color:var(--mute);text-transform:uppercase;letter-spacing:.04em}.dashboard-year-filter select{min-width:64px;border:0;background:transparent;color:var(--ink);font-weight:700;outline:none;cursor:pointer}.topbar-inline-note{font-size:13px;color:#000000ad;white-space:nowrap}.topbar-inline-note strong{color:var(--ink)}.btn-topbar-action{min-height:36px;padding:0 12px}.topbar-summary-badge{font-size:.95rem;padding:8px 16px;font-weight:700}.layout-topbar .sales-orders-summary-badge{font-size:.98rem!important;padding:14px 10px!important;line-height:.5!important;border-radius:9px}.dashboard-year-filter-topbar{min-width:116px}.dashboard-year-filter-topbar label{line-height:1.1}.dashboard-quotation-year-filter{min-width:164px}.loading-state{padding:48px;text-align:center;color:var(--mute)}.empty-state{padding:32px!important;text-align:center;color:var(--mute)}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:var(--radius-sm);border:none;font-weight:600;font-size:13px;cursor:pointer;transition:all .15s ease;white-space:nowrap}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-success{background:var(--green);color:#fff}.btn-success:hover:not(:disabled){background:#15803d}.btn-outline{background:#fff;color:var(--accent);border:1px solid var(--accent)}.btn-outline:hover{background:var(--accent-soft)}.gmail-test-button{gap:8px}.gmail-test-button svg{flex-shrink:0}.btn-ghost{background:#fff;color:var(--body);border:1px solid var(--hairline)}.btn-ghost:hover{background:var(--surface-soft)}.btn-link{background:none;border:none;color:var(--accent);font-weight:600;cursor:pointer;padding:4px 8px;border-radius:4px}.btn-link:hover{background:var(--accent-soft)}.btn-icon{width:30px;height:30px;border:none;border-radius:var(--radius-sm);display:inline-grid;place-items:center;cursor:pointer;transition:all .15s}.btn-icon-primary{background:var(--accent-soft);color:var(--accent)}.btn-icon-primary:hover{background:var(--accent);color:#fff}.btn-icon-danger{background:var(--red-soft);color:var(--red)}.btn-icon-danger:hover{background:var(--red);color:#fff}.btn-icon-amber{background:var(--amber-soft);color:var(--amber)}.btn-icon-amber:hover{background:var(--amber);color:#fff}.btn-icon-muted{background:var(--surface-soft);color:var(--mute)}.btn-icon-muted:hover{background:var(--mute);color:#fff}.card{background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden}.card-header{display:flex;align-items:center;gap:8px;padding:16px 20px;border-bottom:1px solid var(--hairline);background:var(--surface-soft)}.card-header h3{font-size:15px;font-weight:600}.card-header-icon{color:var(--accent)}.card-toolbar{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid var(--hairline);background:var(--surface-soft);gap:12px}.card-body-list>div+div{border-top:1px solid rgba(0,0,0,.05)}.search-box{position:relative;width:240px}.search-box .search-icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);color:var(--mute);pointer-events:none}.search-box input{width:100%;padding:8px 12px 8px 36px;border:1px solid var(--hairline);border-radius:var(--radius-sm);font-size:13px;outline:none;background:var(--surface);transition:border-color .15s}.search-box input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.date-popover-input{width:100%;min-width:0}.date-popover-input.is-disabled{opacity:.6}.date-popover-trigger{width:100%;min-width:0;min-height:34px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px;border:1px solid rgba(30,58,95,.14);border-radius:2px;background:#fffffff5;color:var(--body);cursor:pointer;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.date-popover-trigger:hover{border-color:#1e3a5f3d}.date-popover-trigger:focus-visible,.date-popover-trigger.is-open{outline:none;border-color:var(--accent);box-shadow:inset 0 0 0 1px #1e3a5f57}.date-popover-trigger:disabled{cursor:not-allowed}.date-popover-value{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;font-size:13px;line-height:1.25}.date-popover-value.is-placeholder{color:#8a94a6}.date-popover-panel{position:fixed;z-index:2600;padding:12px;border:1px solid rgba(30,58,95,.12);border-radius:14px;background:#fff;box-shadow:0 18px 38px #141f332e}.date-popover-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.date-popover-title{flex:1;text-align:center;font-size:13px;font-weight:700;color:#20344f}.date-popover-nav{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(30,58,95,.12);border-radius:8px;background:#fff;color:#5f6e82;cursor:pointer}.date-popover-nav:hover{background:#f6f8fc;color:#20344f}.date-popover-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.date-popover-grid-head{margin-bottom:6px}.date-popover-weekday{display:inline-flex;align-items:center;justify-content:center;min-height:24px;font-size:11px;font-weight:700;color:#7b8794}.date-popover-day{min-height:32px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid transparent;border-radius:8px;background:#fff;color:#20344f;font-size:12px;cursor:pointer}.date-popover-day:hover{background:#f3f7fb}.date-popover-day.is-outside{color:#b0b8c5}.date-popover-day.is-today{border-color:#4f46e547;color:var(--accent);font-weight:700}.date-popover-day.is-selected{background:var(--accent);color:#fff;font-weight:700}.date-popover-actions{display:flex;justify-content:space-between;gap:8px;margin-top:10px}.date-popover-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:0 10px;border:1px solid rgba(30,58,95,.12);border-radius:8px;background:#fff;color:#5f6e82;font-size:12px;font-weight:700;cursor:pointer}.date-popover-action:hover{background:#f6f8fc;color:#20344f}.date-popover-action-primary{border-color:#4f46e52e;background:#f1f0fd;color:var(--accent)}.date-popover-action-primary:hover{background:#e7e5fd;color:var(--accent-hover)}.dashboard{display:flex;flex-direction:column;gap:20px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}@media(min-width:1200px){.stats-grid{grid-template-columns:repeat(9,1fr)}.stat-card-double{grid-column:span 2}.stat-card-single{grid-column:span 1}}.stat-card{display:flex;align-items:center;gap:14px;padding:18px;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);box-shadow:var(--shadow-sm)}.stat-content{flex:1;min-width:0}.stat-icon{width:44px;height:44px;border-radius:var(--radius-sm);display:grid;place-items:center;color:#fff;flex-shrink:0}.stat-blue{background:var(--blue)}.stat-indigo{background:var(--accent)}.stat-amber{background:var(--amber)}.stat-green{background:var(--green)}.stat-red{background:var(--red)}.stat-label{font-size:12px;color:var(--mute);font-weight:500}.stat-value{font-size:17px;font-weight:700;color:var(--ink);margin-top:2px}.stat-value-rich{margin-top:2px}.stat-header{display:flex;justify-content:space-between;align-items:center;gap:6px;width:100%;margin-bottom:2px}.stat-badge{font-size:12px;font-weight:600;padding:2px 7px;border-radius:999px;white-space:nowrap}.stat-card-double .stat-value{font-size:16px}.badge-indigo{background:var(--accent-soft);color:var(--accent)}.badge-blue{background:var(--blue-soft);color:var(--blue)}.activity-row{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;transition:background .1s}.activity-row:hover{background:var(--surface-soft)}.activity-link{color:var(--accent);font-weight:600;text-decoration:none}.activity-link:hover{text-decoration:underline}.activity-sub{font-size:13px;color:var(--mute);margin-top:2px}.activity-right{text-align:right}.activity-amount{font-weight:700;color:var(--ink)}.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.badge-green{background:var(--green-soft);color:var(--green)}.badge-red{background:var(--red-soft);color:var(--red)}.badge-yellow{background:var(--amber-soft);color:var(--amber)}.table-wrap{position:relative;overflow-x:auto}.customer-table-wrap{min-height:calc(100vh - 220px);max-height:calc(100vh - 200px);overflow-y:auto}.table-pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 4px 0;flex-wrap:wrap}.table-pagination-info{font-size:12px;color:var(--mute)}.table-pagination-actions{display:flex;align-items:center;gap:8px}.table-pagination-page{min-width:96px;text-align:center;font-size:12px;font-weight:600;color:var(--body)}.quotation-table{position:relative;min-height:calc(100vh - 220px);max-height:calc(100vh - 200px);overflow-y:auto}.sales-quotation-card .quotation-table{min-height:calc(100vh - 175px);max-height:calc(100vh - 155px)}.sales-orders-page .quotation-table{min-height:calc(100vh - 165px);max-height:calc(100vh - 150px);overflow-y:auto}.sales-quotation-card{position:relative}.quotation-filter-total{display:inline-flex;align-items:center;gap:8px;min-height:38px;padding:0 12px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;white-space:nowrap}.quotation-filter-total span{font-size:13px;font-weight:700;letter-spacing:0;text-transform:uppercase;color:#c2410c}.quotation-filter-total strong{font-size:16px;font-weight:800;color:#7c2d12}.sales-quotation-card-fullscreen{position:fixed;top:12px;right:12px;bottom:12px;left:12px;z-index:1800;margin:0;display:flex;flex-direction:column;border-radius:16px;box-shadow:0 18px 50px #0f172a38;background:var(--surface)!important}.fullscreen-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a59;z-index:1799}.sales-quotation-card-fullscreen .card-toolbar{position:relative;z-index:2;background:var(--surface);border-top-left-radius:16px;border-top-right-radius:16px}.sales-quotation-card-fullscreen .quotation-table{flex:1;min-height:0;max-height:none;overflow:auto}.sales-quotation-card-fullscreen .table-wrap{height:100%}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table thead{position:sticky;top:0;z-index:40}.data-table th{position:relative;padding:10px 12px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--mute);background:var(--surface-soft);border-bottom:1px solid var(--hairline);white-space:nowrap}.data-table td{padding:10px 12px;font-size:13px;color:var(--body);border-bottom:1px solid rgba(0,0,0,.04);white-space:normal;word-break:break-word}.data-table tbody tr{transition:background .1s}.data-table tbody tr:hover{background:var(--accent-soft)}.data-table.spreadsheet{min-width:max-content;width:max-content;table-layout:fixed}.quotation-table .data-table.spreadsheet th,.quotation-table .data-table.spreadsheet td{box-sizing:border-box;overflow:hidden}.quotation-table .data-table.spreadsheet th{padding:5px 10px;line-height:1.05}.quotation-table .data-table.spreadsheet td{padding:7px 10px;line-height:1.2}.quotation-table .data-table.spreadsheet thead th{overflow:visible}.quotation-table .data-table.spreadsheet td{position:relative}.quotation-list-table{border-collapse:separate;border-spacing:0}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(1),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(1){width:56px;min-width:56px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(2),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(2){width:190px;min-width:190px}.data-table.spreadsheet.sales-orders-table{width:max-content!important;min-width:100%!important}.data-table.resizable-columns col{width:auto}.data-table.resizable-columns th,.data-table.resizable-columns td{min-width:0}.data-table.spreadsheet.resizable-columns th,.data-table.spreadsheet.resizable-columns td{max-width:none}.resizable-th{position:relative}.col-resize-handle{position:absolute;top:0;right:-4px;width:8px;height:100%;cursor:col-resize;z-index:8;opacity:0;transition:opacity .15s ease}.col-resize-handle:before{content:"";position:absolute;top:6px;bottom:6px;left:50%;width:2px;border-radius:999px;background:#4f46e52e;transform:translate(-50%)}.resizable-th:hover .col-resize-handle,.col-resize-handle.is-active{opacity:1}.resizable-th:hover .col-resize-handle:before,.col-resize-handle.is-active:before{background:#4f46e573}.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) th:nth-child(2),.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) td:nth-child(2){width:24px!important;min-width:24px!important;max-width:24px!important;padding-left:2px!important;padding-right:2px!important}.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) th:nth-child(3),.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) td:nth-child(3){width:160px!important;min-width:160px!important}.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) th:nth-child(5),.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) td:nth-child(5){width:185px!important;min-width:185px!important}.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) th:nth-child(7),.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) td:nth-child(7){width:126px!important;min-width:126px!important}.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) th:nth-child(8),.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) td:nth-child(8){width:126px!important;min-width:126px!important}.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) th:nth-child(9),.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) td:nth-child(9){width:148px!important;min-width:148px!important;max-width:148px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(3),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(3){width:126px;min-width:126px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(4),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(4){width:250px;min-width:250px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(5),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(5){width:128px;min-width:128px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(6),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(6){width:190px;min-width:190px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(7),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(7){width:54px;min-width:54px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(8),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(8){width:72px;min-width:72px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(9),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(9){width:74px;min-width:74px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(10),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(10){width:180px;min-width:180px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(11),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(11),.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(12),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(12){width:110px;min-width:110px}.data-table.spreadsheet:not(.resizable-columns) td.col-idr,.data-table.spreadsheet:not(.resizable-columns) th.col-idr{width:132px;min-width:132px;white-space:nowrap}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(14),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(14){width:130px;min-width:130px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(15),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(15){width:130px;min-width:130px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(16),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(16){width:170px;min-width:170px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(17),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(17),.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(18),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(18){width:180px;min-width:180px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(19),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(19){width:96px;min-width:96px}.quotation-table .data-table.spreadsheet:not(.resizable-columns) th:nth-child(20),.quotation-table .data-table.spreadsheet:not(.resizable-columns) td:nth-child(20){width:150px;min-width:150px}.row-alt{background:#00000004}.row-incomplete td,.row-incomplete .col-actions{background:#fff1f5!important}.row-editing td{background:inherit!important;border-top-color:#0000000a;border-bottom-color:#0000000a}.row-editing td:first-child{box-shadow:inset 2px 0 #3b82f673}.row-editing td:last-child,.row-editing .col-actions{border-right-color:#0000000a}.row-editing:hover td{background:inherit!important}.data-table td.cell-overdue-po{background:#7f1d1d!important;color:#fff!important;font-weight:700}.data-table tbody tr:hover td.cell-overdue-po{background:#7f1d1d!important;color:#fff!important}.data-table td.cell-warning-po{background:#facc15!important;color:#422006!important;font-weight:700}.data-table tbody tr:hover td.cell-warning-po{background:#facc15!important;color:#422006!important}.col-highlight{background:var(--accent-soft)!important;color:var(--accent)!important}.col-freeze-row,.col-freeze-company,.col-freeze-contact,.col-freeze-project{position:sticky;z-index:14;background:var(--surface)!important;opacity:1!important;background-image:none!important}thead .col-freeze-row,thead .col-freeze-company,thead .col-freeze-contact,thead .col-freeze-project{background:var(--surface-soft)!important;z-index:24}.col-freeze-row{z-index:18}.col-freeze-company{z-index:17}.col-freeze-contact{z-index:16}.col-freeze-project{z-index:15;box-shadow:2px 0 #1e3a5f14}.row-alt .col-freeze-row,.row-alt .col-freeze-company,.row-alt .col-freeze-contact,.row-alt .col-freeze-project{background:#fbfbfc!important}.row-incomplete .col-freeze-row,.row-incomplete .col-freeze-company,.row-incomplete .col-freeze-contact,.row-incomplete .col-freeze-project{background:#fff1f5!important}.inline-input-row .col-freeze-row,.inline-input-row .col-freeze-company,.inline-input-row .col-freeze-contact,.inline-input-row .col-freeze-project{background:var(--accent-soft-solid)!important;opacity:1!important;z-index:90!important;isolation:isolate}.edit-input-row .col-freeze-row,.edit-input-row .col-freeze-company,.edit-input-row .col-freeze-contact,.edit-input-row .col-freeze-project{background:#fff!important;opacity:1!important;z-index:140!important;isolation:isolate}.col-bold{font-weight:700!important;color:var(--ink)!important}.col-actions{position:sticky;right:0;min-width:72px;width:72px;background:var(--surface)!important;box-shadow:-2px 0 4px #0000000a;text-align:center;white-space:nowrap;vertical-align:middle;z-index:12;overflow:visible!important}.col-actions-wrap{display:flex;gap:4px;justify-content:center;align-items:center;min-height:100%}.col-document{white-space:normal;vertical-align:middle}.document-cell{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.document-item-row{display:flex;align-items:flex-start;gap:6px;width:100%}.document-item-label{display:inline-block;max-width:92px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left}.document-cell-actions{display:flex;flex-wrap:wrap;gap:6px}.document-link-button,.document-mini-button{display:inline-flex;align-items:center;gap:4px;padding:0;font-size:12px}.document-mini-danger{color:var(--red)}.document-add-button{padding:0;font-size:18px;font-weight:700;line-height:1}.document-status-text{font-size:12px;color:var(--mute);font-weight:600}thead .col-actions{background:var(--surface-soft)!important;z-index:20}.quotation-table .data-table.spreadsheet td.col-actions,.quotation-table .data-table.spreadsheet th.col-actions{position:sticky;right:0;overflow:visible!important}.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) th:nth-child(10),.quotation-table .data-table.spreadsheet.sales-orders-table:not(.resizable-columns) td:nth-child(10){width:180px!important;min-width:180px!important;max-width:180px!important}.text-right{text-align:right}.text-center{text-align:center}.cell-bold{font-weight:600;color:var(--ink)}.cell-medium{font-weight:500}.cell-muted{color:var(--mute)}.cell-wrap{white-space:normal!important;min-width:140px;max-width:220px;word-break:break-word}.cell-editable{cursor:cell}.cell-editing{position:relative;z-index:30;overflow:visible!important;background:#3b82f60e!important;box-shadow:inset 0 0 0 1px #3b82f647}.add-row-trigger{cursor:pointer}.add-row-trigger:hover{background:var(--accent-soft)}.add-row-label{display:inline-flex;align-items:center;gap:6px;color:var(--accent);font-weight:600;font-size:13px}.inline-input-row{background:var(--accent-soft-solid)!important;box-shadow:inset 0 0 0 1px var(--accent);position:relative;z-index:20;opacity:1!important}.edit-input-row{background:#fff!important;box-shadow:none;position:relative;z-index:20;opacity:1!important}.inline-input-row td,.edit-input-row td{padding:0;position:relative;overflow:hidden!important}.inline-input-row td{z-index:1}.inline-input-row td{background:var(--accent-soft-solid)!important;opacity:1!important}.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row{height:39px}.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row td{height:39px;padding:2px!important;vertical-align:middle;box-sizing:border-box}.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row input,.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row select,.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row textarea,.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row .qt-no-mode,.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row .qt-no-value-compact,.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row .date-popover-trigger{height:35px;min-height:35px}.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row .company-suggest,.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row .qt-no-input,.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row .date-popover-input,.quotation-table .data-table.spreadsheet.quotation-list-table .inline-input-row .document-cell{height:35px;min-height:35px;justify-content:center;box-sizing:border-box}.edit-input-row td{vertical-align:middle;background:#fff!important;box-shadow:inset 0 0 0 1px #4394ff;opacity:1!important}.inline-input-row td:focus-within,.edit-input-row td:focus-within,.cell-editing{overflow:visible!important}.inline-input-row td>input,.inline-input-row td>select,.inline-input-row td>textarea,.edit-input-row td>input,.edit-input-row td>select,.edit-input-row td>textarea,.inline-input-row td>.company-suggest,.edit-input-row td>.company-suggest,.inline-input-row td>.qt-no-input,.edit-input-row td>.qt-no-input{width:100%;height:100%;min-height:34px}.inline-input-row input,.inline-input-row select,.edit-input-row input,.edit-input-row select{width:100%;min-width:0;padding:4px 6px;border:1px solid rgba(30,58,95,.14);border-radius:2px;font-size:12px;outline:none;background:#fffffff5;transition:border-color .15s;box-sizing:border-box}.inline-input-row input,.inline-input-row select,.inline-input-row textarea,.inline-input-row .qt-no-mode,.inline-input-row .qt-no-value-compact,.inline-input-row .date-popover-trigger{height:34px;min-height:34px}.inline-input-row textarea,.edit-input-row textarea{width:100%;min-width:0;padding:4px 6px;border:1px solid rgba(30,58,95,.14);border-radius:2px;font-size:12px;outline:none;background:#fffffff5;transition:border-color .15s;resize:none;min-height:28px;overflow:hidden;box-sizing:border-box}.edit-input-row input,.edit-input-row select,.edit-input-row textarea{display:block;width:100%;padding:6px 8px;border:0;border-radius:0;font-size:13px;line-height:1.25;min-height:34px;height:100%;background:#fff;box-shadow:none;color:var(--body);font-family:inherit;white-space:nowrap;box-sizing:border-box}.inline-input-row select,.edit-input-row select,.form-field select,.qt-no-mode{appearance:none;-webkit-appearance:none;-moz-appearance:none;background-image:linear-gradient(45deg,transparent 50%,rgba(32,52,79,.72) 50%),linear-gradient(135deg,rgba(32,52,79,.72) 50%,transparent 50%);background-position:calc(100% - 12px) calc(50% - 2px),calc(100% - 8px) calc(50% - 2px);background-size:4px 4px,4px 4px;background-repeat:no-repeat;padding-right:22px!important}.inline-input-row input:focus,.inline-input-row select:focus,.inline-input-row textarea:focus,.edit-input-row input:focus,.edit-input-row select:focus,.edit-input-row textarea:focus{border-color:var(--accent);box-shadow:inset 0 0 0 1px #1e3a5f57}.edit-input-row input:focus,.edit-input-row select:focus,.edit-input-row textarea:focus{border:0;background:#fff;box-shadow:none}.edit-input-row textarea{white-space:pre-wrap;word-wrap:break-word;overflow-wrap:break-word;resize:none;overflow:hidden;min-height:34px}.edit-input-row .col-actions{background:inherit!important}.cell-actions-inline{display:flex;gap:4px;align-items:center;justify-content:center;width:100%;padding-inline:2px;overflow:hidden}.cell-actions-inline .btn-icon{width:24px;height:24px}.cell-actions-inline .btn-icon svg{width:14px;height:14px}.inline-input-row .company-suggest,.edit-input-row .company-suggest,.inline-input-row .qt-no-input,.edit-input-row .qt-no-input{min-width:0;width:100%;max-width:100%;position:relative;z-index:20;overflow:visible}.inline-input-row .company-suggest,.inline-input-row .qt-no-input,.inline-input-row .date-popover-input{width:100%;max-width:100%}.inline-input-row .company-suggest>input,.inline-input-row .company-suggest>textarea,.inline-input-row .company-suggest>select,.inline-input-row .qt-no-value-compact,.inline-input-row .date-popover-trigger{width:100%;max-width:100%;box-sizing:border-box}.edit-input-row .company-suggest>input,.edit-input-row .company-suggest>textarea,.edit-input-row .company-suggest>select{height:100%;min-height:34px}.edit-input-row .company-suggest{display:block}.edit-input-row .company-suggest-menu{min-width:220px}.inline-input-row .company-suggest-menu,.edit-input-row .company-suggest-menu{z-index:320}.edit-input-row .company-suggest-menu,.edit-input-row .qt-no-input,.edit-input-row .qt-no-manual-compact{box-sizing:border-box}.cell-editing input,.cell-editing select,.cell-editing textarea{display:block;width:100%;min-width:0;padding:0;border:0;border-radius:0;font-size:13px;line-height:1.25;min-height:1.25em;background:transparent;box-shadow:none;color:var(--body);font-family:inherit;outline:none;box-sizing:border-box}.cell-editing input:focus,.cell-editing select:focus,.cell-editing textarea:focus{border:0;background:transparent;box-shadow:none}.cell-editing textarea{resize:none;overflow:hidden}.cell-editing .company-suggest,.cell-editing .qt-no-input,.cell-editing .qt-no-manual-compact{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.cell-editing .company-suggest-menu{min-width:220px;z-index:220}.cell-editing .qt-no-mode,.cell-editing .qt-no-value-compact,.cell-editing .qt-no-manual-compact,.cell-editing .qt-no-prefix-compact,.cell-editing .qt-no-suffix-compact{border:0;background:transparent;box-shadow:none}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:2000;padding:16px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.modal{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-lg);width:100%;max-width:860px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--hairline)}.modal-header h2{font-size:18px;font-weight:700;font-family:var(--font-display)}.modal-close{border:none;background:none;color:var(--mute);cursor:pointer;padding:4px;border-radius:4px}.modal-close:hover{background:var(--surface-soft);color:var(--ink)}.modal-body{padding:24px;overflow-y:auto}.modal-footer{padding:16px 24px;border-top:1px solid var(--hairline);background:var(--surface-soft);display:flex;justify-content:flex-end;gap:10px}.table-context-menu{position:fixed;z-index:2400;min-width:168px;padding:6px;border-radius:12px;background:var(--surface);border:1px solid rgba(30,58,95,.12);box-shadow:0 16px 34px #141f332e}.table-context-menu-item{width:100%;display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--body);font-size:13px;font-weight:600;cursor:pointer;text-align:left}.table-context-menu-item:hover{background:#1e3a5f0f}.table-context-menu-item:disabled{color:#1e3a5f6b;cursor:not-allowed}.table-context-menu-item:disabled:hover{background:transparent}.table-context-menu-item-danger{color:#dc2626}.table-context-menu-item-danger:hover{background:#dc262614}.sales-orders-confirm-modal{max-width:640px}.quotation-delete-modal{max-width:760px}.quotation-delete-copy{display:flex;flex-direction:column;gap:16px;color:var(--body);line-height:1.6}.quotation-delete-banner{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,#fff1f2,#fff7ed);border:1px solid rgba(244,63,94,.16)}.quotation-delete-banner p{margin:0;color:#9f1239}.quotation-delete-badge{display:inline-flex;align-items:center;width:fit-content;min-height:28px;padding:0 12px;border-radius:999px;background:#f43f5e1f;color:#be123c;font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.quotation-delete-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quotation-delete-item{display:flex;flex-direction:column;gap:4px;min-height:72px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid rgba(15,23,42,.08)}.quotation-delete-item span{font-size:11px;font-weight:700;color:var(--mute);text-transform:uppercase;letter-spacing:.03em}.quotation-delete-item strong{font-size:14px;line-height:1.3;color:var(--ink);word-break:break-word}.quotation-delete-item-primary{background:linear-gradient(180deg,#fff1f2,#fff);border-color:#f43f5e2e}.quotation-delete-note{padding:16px 18px;border-radius:16px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.quotation-delete-note span{display:block;margin-bottom:8px;font-size:13px;font-weight:800;color:#7c2d12}.quotation-delete-note ul{margin:0;padding-left:18px}.quotation-delete-actions{justify-content:flex-end}.quotation-conflict-modal{max-width:760px}.quotation-conflict-copy{display:flex;flex-direction:column;gap:16px;color:var(--body);line-height:1.6}.quotation-conflict-banner{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,#fff7ed,#fffbeb);border:1px solid #fed7aa}.quotation-conflict-banner p{margin:0;color:#9a3412}.quotation-conflict-badge{display:inline-flex;align-items:center;width:fit-content;min-height:28px;padding:0 12px;border-radius:999px;background:#f9731624;color:#c2410c;font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase}.quotation-conflict-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.quotation-conflict-card{display:flex;flex-direction:column;gap:4px;min-height:72px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid rgba(15,23,42,.08)}.quotation-conflict-card span{font-size:11px;font-weight:700;color:var(--mute);text-transform:uppercase;letter-spacing:.03em}.quotation-conflict-card strong{font-size:14px;line-height:1.3;color:var(--ink);word-break:break-word}.quotation-conflict-card-current{background:linear-gradient(180deg,#fff1f2,#fff);border-color:#f43f5e2e}.quotation-conflict-card-next{background:linear-gradient(180deg,#ecfeff,#fff);border-color:#0891b22e}.quotation-conflict-note{padding:16px 18px;border-radius:16px;background:#f8fafc;border:1px solid rgba(148,163,184,.2);color:#334155}.quotation-conflict-note span{display:block;margin-bottom:8px;font-size:13px;font-weight:800;color:var(--ink)}.quotation-conflict-note ul{margin:0;padding-left:18px}.quotation-conflict-actions{justify-content:flex-end}.reminder-email-modal{max-width:760px}.reminder-email-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.reminder-email-result-card{padding:16px 18px;border-radius:14px;background:var(--surface-soft);border:1px solid rgba(0,0,0,.08)}.reminder-email-result-card span{display:block;font-size:12px;font-weight:700;color:var(--mute);margin-bottom:8px}.reminder-email-result-card strong{display:block;font-size:22px;line-height:1;color:var(--ink)}.reminder-email-result-total{font-size:14px;color:var(--body)}.reminder-email-result-list{display:flex;flex-direction:column;gap:10px;max-height:320px;overflow-y:auto;padding-right:4px}.reminder-email-result-item{padding:12px 14px;border-radius:12px;border:1px solid rgba(0,0,0,.08);background:#fff;color:var(--body);line-height:1.5}.reminder-email-result-item-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.reminder-email-status{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700}.reminder-email-status-sent{background:#16a34a1f;color:#15803d}.reminder-email-status-skipped{background:#d977061f;color:#b45309}.reminder-email-status-failed{background:#dc26261f;color:#b91c1c}.reminder-email-recipients{font-size:12px;color:var(--mute)}.reminder-email-reason{font-size:12px;color:#b91c1c}.sales-orders-confirm-copy{display:flex;flex-direction:column;gap:14px;color:var(--body);line-height:1.6}.sales-orders-confirm-copy p{margin:0}.sales-orders-confirm-note{padding:14px 16px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412}.sales-orders-confirm-note span{display:block;font-weight:700;margin-bottom:6px}.sales-orders-confirm-note ul{margin:0;padding-left:18px}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.form-field label{display:block;font-size:13px;font-weight:600;color:var(--body);margin-bottom:5px}.form-field input,.form-field select,.form-field textarea{width:100%;padding:9px 12px;border:1px solid var(--hairline);border-radius:var(--radius-sm);font-size:14px;outline:none;background:var(--surface);transition:border-color .15s}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.form-field-full{grid-column:1 / -1}@media(max-width:860px){.form-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.sidebar{display:none}.form-grid{grid-template-columns:1fr}.topbar-user-info{display:none}.header-actions{flex-direction:column}}.col-header-wrap{display:block;position:relative;white-space:nowrap;z-index:1;min-height:14px;padding-right:22px;box-sizing:border-box}.col-header-label{display:block;font-weight:600;font-size:.75rem;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.05}.col-header-btn{display:flex;align-items:center;justify-content:center;position:absolute;top:50%;right:-2px;transform:translateY(-50%);width:20px;height:20px;border:1px solid transparent;background:transparent;border-radius:5px;cursor:pointer;color:#7b8794;padding:0;flex-shrink:0;transition:all .15s ease;opacity:0;pointer-events:none}.col-header-wrap:hover .col-header-btn,.col-header-wrap:focus-within .col-header-btn,.col-header-btn-open{opacity:1;pointer-events:auto}.col-header-btn:hover{background:#fff;border-color:#1e3a5f1f;color:var(--ink, #181818)}.col-header-btn-active{opacity:1;pointer-events:auto;color:#fff;background:#2563eb;border-color:#2563eb;box-shadow:0 0 0 1px #2563eb}.col-header-btn-active:after{content:"";position:absolute;top:2px;right:2px;width:5px;height:5px;border-radius:999px;background:#2563eb}.col-header-btn-open.col-header-btn-active{background:#1d4ed8;border-color:#1d4ed8;box-shadow:0 0 0 1px #1d4ed8}.sales-orders-table td:nth-child(8),.sales-orders-table th:nth-child(8),.pic-group-header td:nth-child(8){white-space:nowrap;word-break:normal}.col-dropdown{position:absolute;top:100%;left:0;z-index:1200;min-width:220px;max-width:280px;background:var(--surface, #fff);border:1px solid rgba(30,58,95,.12);border-radius:10px;box-shadow:0 14px 30px #141f3329;padding:8px 0;margin-top:6px}.col-dropdown-section{padding:6px 10px}.col-dropdown-title{font-size:.63rem;font-weight:700;text-transform:uppercase;color:#20344f9e;letter-spacing:.5px;margin-bottom:4px;display:block}.col-dropdown-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}.col-dropdown-clear{display:inline-flex;align-items:center;gap:3px;font-size:.64rem;border:none;background:#dc262614;color:#b91c1c;padding:3px 7px;border-radius:999px;cursor:pointer}.col-dropdown-clear:hover{background:#dc2626;color:#fff}.col-dropdown-divider{height:1px;background:#1e3a5f14;margin:6px 0}.col-dropdown-item{display:flex;align-items:center;gap:6px;width:100%;padding:7px 9px;border:none;background:none;font-size:.75rem;text-align:left;cursor:pointer;border-radius:6px;color:#20344f}.col-dropdown-item:hover{background:#f3f7fb}.col-dropdown-item.active{background:#1e3a5f14;color:var(--accent);font-weight:600}.col-dropdown-search{width:100%;padding:7px 9px;border:1px solid rgba(30,58,95,.12);border-radius:6px;font-size:.72rem;margin-bottom:6px;outline:none;background:#fff}.col-dropdown-search:focus{border-color:var(--accent);box-shadow:0 0 0 3px #1e3a5f14}.col-dropdown-group-switcher{margin-bottom:6px}.col-dropdown-group-buttons{display:flex;gap:6px;flex-wrap:wrap}.col-dropdown-group-btn{padding:5px 10px;border:1px solid rgba(30,58,95,.12);border-radius:999px;background:#fff;font-size:.7rem;font-weight:600;color:#5a6b7f;cursor:pointer}.col-dropdown-group-btn.active{background:#1e3a5f14;border-color:var(--accent);color:var(--accent)}.col-dropdown-list{max-height:180px;overflow-y:auto;padding-right:2px}.col-dropdown-check-select-all{position:sticky;top:0;z-index:1;background:#fff;border-bottom:1px solid rgba(30,58,95,.08);margin-bottom:4px}.col-dropdown-check-select-all:hover,.col-dropdown-check-select-all.active{background:#eef4ff}.col-dropdown-empty{padding:10px 8px 6px;color:#20344f9e;font-size:.72rem;text-align:center}.col-dropdown-list::-webkit-scrollbar{width:4px}.col-dropdown-list::-webkit-scrollbar-thumb{background:#ccc;border-radius:2px}.chart-tabs{display:flex;gap:8px;padding:12px 20px 0;flex-wrap:wrap}.card-header-tabs{padding:12px 20px}.chart-tabs-embedded{width:100%;padding:0}.chart-tab{padding:8px 16px;border:1px solid #e0e0e0;border-radius:6px;background:#fff;font-size:.8rem;font-weight:500;cursor:pointer;color:#555;transition:all .15s}.chart-tab:hover{background:var(--surface-soft);border-color:#ccc}.chart-tab-active{background:var(--primary);color:#fff;border-color:var(--primary)}.chart-tab-active:hover{background:var(--primary);color:#fff}.chart-container{padding:16px 12px 8px}.chart-tooltip{background:#181818eb;border-radius:8px;padding:10px 16px;box-shadow:0 4px 20px #00000040;border:none}.chart-tooltip-label{font-size:.85rem;font-weight:600;color:#fff;margin:0 0 4px}.chart-tooltip-value{font-size:1.05rem;font-weight:800;color:#ffeb3b;text-shadow:0 1px 2px rgba(0,0,0,.8);margin:0 0 4px}.chart-total{padding:8px 20px 0;font-size:.9rem;color:#555}.chart-total strong{color:var(--ink);font-size:1.05rem}.chart-axis-note{padding:0 20px 12px;font-size:.76rem;color:#7a7a7a}.pie-charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:20px}@media(max-width:900px){.pie-charts-grid{grid-template-columns:1fr}}.pie-filter{display:flex;align-items:center;gap:10px;padding:10px 20px}.pie-filter label{font-size:.8rem;font-weight:600;color:#555}.pie-filter select{padding:6px 12px;border:1px solid #e0e0e0;border-radius:6px;font-size:.8rem;background:#fff;cursor:pointer}.pie-filter select:focus{outline:none;border-color:var(--primary)}.pie-container{padding:8px 12px}.pie-3d{display:flex;justify-content:center;overflow:visible}.pie3d-container{position:relative;display:flex;justify-content:center}.pie3d-container svg{overflow:visible}.pie3d-tooltip{position:absolute;top:12px;left:50%;transform:translate(-50%);background:#181818eb;border-radius:8px;padding:8px 14px;box-shadow:0 4px 16px #00000040;display:flex;flex-direction:column;gap:2px;pointer-events:none}.pie3d-tooltip strong{font-size:.95rem;color:#fff;font-weight:700;margin-bottom:4px}.pie3d-tooltip span{font-size:.9rem;font-weight:600;color:#ffeb3b;text-shadow:0 1px 2px rgba(0,0,0,.8)}.pie-stage-chips{display:flex;flex-wrap:wrap;gap:6px}.pie-stage-chip{padding:5px 12px;border:1px solid #e0e0e0;border-radius:20px;background:#fff;font-size:.72rem;font-weight:500;cursor:pointer;color:#555;transition:all .15s}.pie-stage-chip:hover{background:var(--surface-soft);border-color:#bbb}.pie-stage-chip-active{background:var(--primary);color:#fff;border-color:var(--primary)}.pie-stage-chip-active:hover{background:var(--primary);opacity:.9}.pie-stage-chip-clear{background:var(--red-soft);color:var(--red);border-color:transparent}.pie-stage-chip-clear:hover{background:var(--red);color:#fff}.pie-total{padding:0 20px 12px;font-size:.82rem;color:#555}.pie-total strong{color:var(--ink)}.funnel-container{position:relative;display:flex;justify-content:stretch;width:100%;padding:12px 0}.funnel-container svg{display:block;width:100%;overflow:visible}.funnel-tooltip{position:absolute;top:12px;right:20px;background:#181818eb;border-radius:8px;padding:10px 16px;box-shadow:0 4px 16px #00000040;display:flex;flex-direction:column;gap:3px;pointer-events:none}.funnel-tooltip strong{font-size:.82rem;color:#fff}.funnel-tooltip span{font-size:.75rem;color:#fffc}.funnel-tooltip-pct{font-size:.68rem;color:#fff9}.stacked-legend{display:flex;justify-content:center;gap:20px;padding:8px 0 4px}.stacked-legend-item{display:flex;align-items:center;gap:6px;font-size:.78rem;color:#555;font-weight:500}.stacked-dot{width:12px;height:12px;border-radius:3px;display:inline-block}.pic-group-header{cursor:pointer;background:var(--pic-group-bg, var(--surface-soft));transition:background .15s ease,box-shadow .15s ease;position:relative}.pic-group-header:hover{background:var(--pic-group-hover, #e8e4dc);box-shadow:inset 0 0 0 1px var(--pic-group-border, rgba(30, 58, 95, .12))}.pic-group-header td{padding:10px 8px;font-weight:600;color:var(--pic-group-text, var(--ink));background:transparent;border-top:1px solid rgba(255,255,255,.8);border-bottom:1px solid rgba(30,58,95,.04)}.pic-group-header td:first-child{position:relative}.pic-group-header td:first-child:before{content:"";position:absolute;top:6px;bottom:6px;left:0;width:4px;border-radius:999px;background:var(--pic-group-accent, var(--accent))}.pic-group-header td:nth-child(2){width:1px!important;min-width:0!important;max-width:none!important;overflow:visible!important;white-space:nowrap;word-break:normal;position:relative;z-index:2;padding-right:0!important}.pic-group-badge{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;border:1px solid var(--pic-group-pill-border, rgba(30, 58, 95, .12));background:var(--pic-group-pill-bg, #fff);color:var(--pic-group-pill-text, var(--pic-group-accent, var(--accent)));font-weight:700;font-size:12px;letter-spacing:.02em}.sales-orders-table .col-pic-compact{width:24px!important;min-width:24px!important;max-width:24px!important;padding-left:2px!important;padding-right:2px!important;text-align:left}.sales-orders-table th.col-pic-compact .col-header-label{letter-spacing:0}.pic-toggle{text-align:center;color:var(--pic-group-accent, #888)}.pic-detail-row td{border-top:0}.pic-detail-row+.pic-detail-row td{border-top:1px solid color-mix(in srgb,var(--pic-group-accent, #d6dce5) 22%,white)}.btn-toggle-all{background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;color:#888;border-radius:4px;transition:background .15s,color .15s;margin:0 auto}.btn-toggle-all:hover{background:#0000000d;color:#333}.col-dropdown-check{display:flex;align-items:center;gap:6px;width:100%;padding:6px 8px;border-radius:6px;font-size:.75rem;cursor:pointer;color:#20344f}.col-dropdown-check:hover{background:#f3f7fb}.col-dropdown-check.active{background:#1e3a5f14}.col-dropdown-check input[type=checkbox]{width:14px;height:14px;accent-color:var(--primary);cursor:pointer}.col-dropdown-check span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-suggest{position:relative;width:100%;min-width:0}.company-suggest-menu{position:absolute;top:calc(100% + 6px);left:0;right:auto;z-index:140;display:flex;flex-direction:column;width:max-content;min-width:max(100%,120px);max-width:280px;max-height:220px;overflow-y:auto;background:#fff;border:1px solid rgba(30,58,95,.12);border-radius:10px;box-shadow:0 14px 30px #141f3329;padding:4px}.company-suggest-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;padding:9px 10px;border:0;background:#fff;text-align:left;white-space:nowrap;cursor:pointer;border-radius:7px}.company-suggest-item+.company-suggest-item{margin-top:2px}.company-suggest-item:hover,.company-suggest-item-active{background:#f3f7fb}.company-suggest-name{display:block;font-size:.78rem;font-weight:700;color:#20344f;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-suggest-meta{display:block;font-size:.72rem;color:#20344fb8;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-list-cell{display:inline-flex;max-width:100%;min-width:0;align-items:center;gap:8px}.customer-list-cell-text{display:inline-block;max-width:220px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-list-cell-more{display:inline-flex;align-items:center;flex-shrink:0;padding:3px 8px;border-radius:999px;background:#5b47ff1a;color:#5b47ff;font-size:.68rem;font-weight:700;line-height:1.2}.customer-stage-filter{min-width:150px;height:42px;padding:0 14px;border:1px solid rgba(91,71,255,.22);border-radius:12px;background:#fff;color:#20344f;font-size:14px;font-weight:700;outline:none}.customer-stage-filter:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.customer-stage-cell{display:flex;flex-wrap:wrap;gap:6px}.quotation-customer-trigger{display:inline-flex;max-width:100%;padding:0;font-size:13px;font-weight:700;color:#20344f;text-align:left;text-decoration:none}.quotation-customer-trigger:hover{color:#20344f;opacity:.82}.detail-value-box{min-height:42px;display:flex;align-items:center;padding:10px 12px;border:1px solid rgba(0,0,0,.08);border-radius:12px;background:#fff;color:#20344f;font-size:14px}.detail-value-box-multiline{align-items:flex-start;min-height:72px;white-space:pre-wrap}.customer-edit-modal{width:min(1120px,calc(100vw - 48px))}.customer-edit-section+.customer-edit-section{margin-top:14px}.customer-edit-section-title{margin:0 0 10px;color:#20344f;font-size:18px;font-weight:800;line-height:1.2}.customer-edit-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.customer-info-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"company address" "npwp address";align-items:start}.customer-info-company{grid-area:company}.customer-info-npwp{grid-area:npwp}.customer-info-address{grid-area:address}.customer-info-address textarea{min-height:100%}.customer-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.customer-history-summary-card{display:flex;flex-direction:column;gap:6px;padding:14px 16px;border:1px solid rgba(91,71,255,.14);border-radius:14px;background:linear-gradient(180deg,#5b47ff0d,#fffffff5)}.customer-history-summary-label{color:#6a788c;font-size:12px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.customer-history-summary-value{color:#20344f;font-size:19px;font-weight:800;line-height:1.2}.customer-history-stage-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.customer-history-stage-chip{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:999px;background:#20344f12;color:#20344f;font-size:12px;font-weight:700;line-height:1.2}.customer-history-stage-chip-inline{padding:6px 9px;white-space:nowrap}.customer-history-table-wrap{overflow-x:auto}.customer-history-table{min-width:860px}.customer-history-project-name{color:#20344f;font-weight:700}.quotation-history-link{padding:0;border-radius:0;font-size:13px;font-weight:700}.quotation-history-link:hover{background:transparent;text-decoration:underline}.customer-history-project-meta{margin-top:4px;color:#6a788c;font-size:12px;line-height:1.45}@media(max-width:960px){.customer-edit-form-grid{grid-template-columns:1fr}.customer-info-layout{grid-template-areas:"company" "npwp" "address"}.customer-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.customer-history-summary{grid-template-columns:minmax(0,1fr)}}.customer-table{table-layout:fixed;width:max-content;min-width:100%}.customer-table .customer-col-company{width:18%}.customer-table .customer-col-pic{width:8%}.customer-table .customer-col-stage{width:13%}.customer-table .customer-col-value{width:11%}.customer-table .customer-col-address{width:24%}.customer-table .customer-col-contact,.customer-table .customer-col-email{width:15%}.customer-table .customer-col-phone{width:12%}.customer-table .customer-col-actions{width:8%}.customer-table .customer-col-address .customer-list-cell-text{max-width:100%}.customer-table .customer-col-contact .customer-list-cell-text,.customer-table .customer-col-email .customer-list-cell-text,.customer-table .customer-col-phone .customer-list-cell-text{max-width:140px}.qt-no-input{display:flex;flex-direction:column;gap:4px;width:100%;min-width:0}.qt-no-input-compact{flex-direction:row;align-items:center;gap:4px;min-width:0;width:100%}.edit-input-row .qt-no-input-compact{gap:2px;align-items:stretch}.qt-no-tabs{display:flex;gap:2px}.qt-no-tab{padding:3px 8px;border:1px solid var(--hairline);border-radius:4px 4px 0 0;background:var(--surface-soft);font-size:11px;font-weight:600;cursor:pointer;color:var(--mute);transition:all .15s}.qt-no-tab:hover{background:var(--surface);color:var(--ink)}.qt-no-tab.active{background:var(--accent);color:#fff;border-color:var(--accent)}.qt-no-value{width:100%;padding:6px 8px;border:1px solid var(--hairline);border-radius:4px;font-size:13px;background:var(--surface-soft);color:var(--ink);font-weight:600}.qt-no-mode{flex:0 0 48px;width:48px;padding:3px 2px;border:1px solid rgba(30,58,95,.14);border-radius:2px;background:#fffffff5;font-size:11px;font-weight:600;background-position:calc(100% - 9px) calc(50% - 2px),calc(100% - 5px) calc(50% - 2px)}.edit-input-row .qt-no-mode{height:auto;min-height:1.6em;padding:0;border:0;border-radius:0;background:#fff;font-size:12px;color:var(--body)}.qt-no-value-compact{padding:3px 4px;border-radius:2px;font-size:11px;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;letter-spacing:-.02em;min-width:0;display:flex;align-items:center}.edit-input-row .qt-no-value-compact{padding:0;border:0;border-radius:0;background:#fff;font-size:13px;font-family:inherit;height:auto;min-height:1.6em;color:var(--accent);font-weight:700;letter-spacing:0;text-align:left}.edit-input-row .date-popover-trigger{background:#fff}.qt-no-manual{display:flex;align-items:center;border:1px solid var(--hairline);border-radius:4px;overflow:hidden;background:#fff}.qt-no-manual-compact{flex:1;min-width:0;border-radius:2px}.edit-input-row .qt-no-manual-compact{border:0;border-radius:0;background:transparent;min-height:1.6em}.qt-no-prefix{padding:6px 8px;font-size:13px;font-weight:600;color:var(--mute);background:var(--surface-soft);border-right:1px solid var(--hairline);white-space:nowrap}.qt-no-prefix-compact{padding:4px 6px;font-size:12px;max-width:78px;overflow:hidden;text-overflow:ellipsis}.edit-input-row .qt-no-prefix-compact{padding:0;font-size:12px;background:transparent;border-right:0;max-width:72px;color:var(--body)}.qt-no-suffix{flex:1;padding:6px 8px;border:none!important;font-size:13px;outline:none;background:#fff;min-width:60px}.qt-no-suffix-compact{padding:4px 6px;font-size:12px;min-width:0}.edit-input-row .qt-no-suffix-compact{padding:0;font-size:13px;background:transparent;height:auto;min-height:1.4em;color:var(--body)}.qt-no-suffix:focus{box-shadow:none!important}.chart-sub-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 20px 0;margin-top:4px;flex-wrap:wrap}.chart-sub-tabs-left,.chart-sub-tabs-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sub-tab-label{font-size:.78rem;font-weight:600;color:#777;text-transform:uppercase;letter-spacing:.5px}.chart-sub-tab{padding:4px 12px;border:1px solid #e0e0e0;border-radius:16px;background:#f8f9fa;font-size:.75rem;font-weight:500;cursor:pointer;color:#666;transition:all .15s ease-in-out}.chart-sub-tab:hover{background:#eaeaea;color:#333}.chart-sub-tab-active{background:var(--primary);color:#fff;border-color:var(--primary)}.chart-sub-tab-active:hover{background:var(--primary);color:#fff}.test-email-btn{display:inline-flex;align-items:center;gap:6px;font-size:12px;padding:5px 12px;border-radius:6px;font-weight:600;white-space:nowrap;transition:all .2s ease}.test-email-btn:disabled{opacity:.6;cursor:not-allowed}.test-email-result-modal{max-width:780px}.test-email-result-modal .modal-header{display:flex;justify-content:space-between;align-items:center}.test-email-result-modal .modal-header .btn-icon{background:none;border:none;padding:4px;cursor:pointer;color:var(--mute);border-radius:4px;display:flex;align-items:center}.test-email-result-modal .modal-header .btn-icon:hover{background:var(--surface-soft);color:var(--ink)}.test-email-target-info{display:flex;align-items:center;gap:8px;padding:10px 14px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;margin-bottom:16px;font-size:13px;color:#1e40af}.test-email-summary-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:20px}.test-email-summary-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:14px 10px;border-radius:10px;text-align:center}.test-email-card-number{font-size:24px;font-weight:800;line-height:1}.test-email-card-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;opacity:.8}.test-email-card-total{background:#f1f5f9;color:#334155}.test-email-card-success{background:#ecfdf5;color:#065f46}.test-email-card-skip{background:#fffbeb;color:#92400e}.test-email-card-fail{background:#fef2f2;color:#991b1b}.test-email-items-table-wrap{max-height:320px;overflow-y:auto;border:1px solid var(--hairline);border-radius:8px}.test-email-items-table{width:100%;border-collapse:collapse;font-size:12.5px}.test-email-items-table thead{position:sticky;top:0;z-index:1}.test-email-items-table th{background:#f8fafc;padding:8px 12px;text-align:left;font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.4px;color:#64748b;border-bottom:1px solid var(--hairline)}.test-email-items-table td{padding:8px 12px;border-bottom:1px solid #f1f5f9;vertical-align:top;max-width:160px;overflow:hidden;text-overflow:ellipsis}.test-email-items-table tbody tr:last-child td{border-bottom:none}.test-email-row-sent{background:#fafffe}.test-email-row-skipped{background:#fffdf5}.test-email-row-failed{background:#fff8f8}.test-email-status-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:600;white-space:nowrap}.test-email-badge-sent{background:#d1fae5;color:#065f46}.test-email-badge-skipped{background:#fef3c7;color:#92400e}.test-email-badge-failed{background:#fecaca;color:#991b1b}.mom-page{min-width:0;height:100%}.mom-topbar-actions{display:flex;align-items:center;gap:10px}.mom-topbar-actions select{height:38px;min-width:105px;padding:0 34px 0 12px;border:1px solid var(--hairline);border-radius:7px;background:var(--surface);color:var(--ink);font-weight:700}.mom-page-error,.mom-form-error{padding:10px 12px;border:1px solid #fecaca;border-radius:8px;background:#fff1f2;color:#b91c1c;font-size:13px}.mom-page-error{margin-bottom:8px}.mom-table-shell{height:calc(100vh - 86px);min-height:560px;overflow:hidden;border:1px solid var(--hairline);border-radius:10px;background:var(--surface);box-shadow:var(--shadow-sm)}.mom-table-scroll{position:relative;width:100%;height:100%;overflow:auto}.mom-table{min-width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed}.mom-table th{position:sticky;top:0;z-index:4;height:68px;padding:11px 14px;border-right:1px solid var(--hairline);border-bottom:1px solid var(--hairline);background:#f0ede6;text-align:left}.mom-table th.is-current{background:#dcfce7;color:#166534;box-shadow:inset 0 -3px #22c55e}.mom-table th strong,.mom-table th span{display:block}.mom-table th strong{margin-bottom:4px;color:inherit;font-size:15px}.mom-table th span{color:var(--mute);font-size:12px;font-weight:600}.mom-table td{height:calc(100vh - 156px);min-height:480px;padding:8px;border-right:1px solid var(--hairline);vertical-align:top;background:#fff}.mom-table td.is-current{background:#f4fff7}.mom-week-cell{display:flex;min-height:100%;flex-direction:column;gap:7px}.mom-topic-card,.mom-add-topic{width:100%;border-radius:8px;text-align:left;cursor:pointer}.mom-topic-card{display:flex;min-height:82px;padding:10px 11px;flex-direction:column;gap:5px;border:1px solid #bfdbfe;background:#fff;color:#334155}.mom-topic-card:hover{border-color:#60a5fa;box-shadow:0 4px 12px #2563eb1f}.mom-topic-card.is-open{border-color:#fecdd3;background:#fff1f2}.mom-topic-card.is-open:hover{border-color:#fda4af;box-shadow:0 4px 12px #f43f5e1f}.mom-topic-card.is-closed{border-color:#d1d5db;background:#f8fafc}.mom-topic-sales{color:#64748b;font-size:12px}.mom-topic-salesline{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}.mom-topic-description{color:#334155;font-size:13px;font-weight:400;line-height:1.35;overflow-wrap:anywhere;white-space:pre-wrap}.mom-topic-bottomline{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}.mom-topic-status{flex:0 0 auto;padding:2px 7px;border-radius:999px;background:#dbeafe;color:#0369a1;font-size:10px;font-style:normal;font-weight:800;text-transform:uppercase}.mom-topic-card.is-closed .mom-topic-status{background:#e5e7eb;color:#475569}.mom-status-field{display:flex;align-items:stretch}.mom-status-field select{min-width:0;flex:1 1 auto;border-radius:8px 0 0 8px}.mom-status-field select:only-child{border-radius:8px}.mom-status-field span{display:flex;flex:0 0 auto;align-items:center;padding:0 12px;border:1px solid #d9dde5;border-left:0;border-radius:0 8px 8px 0;background:#f8fafc;color:#64748b;font-size:12px;font-weight:700;white-space:nowrap}.mom-topic-attachment{display:flex!important;min-width:0;align-items:center;gap:4px;overflow:hidden;color:#2563eb;font-size:12px;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}.mom-topic-attachment:hover{text-decoration:underline}.mom-add-topic{display:flex;min-height:58px;align-items:center;justify-content:center;gap:6px;border:1px dashed rgba(79,70,229,.4);background:#ffffff59;color:#4f46e58c;font-weight:700}.mom-add-topic:hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.mom-loading{position:sticky;left:0;width:100vw;padding:48px;color:var(--mute);text-align:center}.mom-modal{max-width:1160px;min-height:min(650px,calc(100vh - 64px));max-height:calc(100vh - 48px)}.mom-modal-content{display:grid;min-height:0;flex:1;grid-template-columns:minmax(0,1fr) 340px;overflow:hidden}.mom-modal .modal-header p{margin-top:3px;color:var(--mute);font-size:12px}.mom-modal-body{display:flex;flex:1;padding:16px 18px;flex-direction:column;gap:13px;min-height:0;overflow-y:auto}.mom-discussion-panel{display:flex;min-width:0;min-height:0;flex-direction:column;padding:16px;border-left:1px solid var(--hairline);background:#fff;overflow-y:auto}.mom-discussion-title{display:flex;align-items:center;gap:7px;margin-bottom:12px;color:#334155}.mom-discussion-title strong{font-size:13px}.mom-discussion-title span{display:inline-grid;min-width:21px;height:21px;padding:0 6px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:800;place-items:center}.mom-comment-composer,.mom-reply-composer{display:grid;align-items:end;grid-template-columns:auto minmax(0,1fr) auto;gap:8px}.mom-reply-composer{margin-top:8px;grid-template-columns:minmax(0,1fr) auto}.mom-comment-composer textarea,.mom-reply-composer textarea,.mom-comment-edit textarea{width:100%;min-height:42px;max-height:130px;padding:9px 10px;resize:vertical;border:1px solid #dbe1ea;border-radius:9px;background:#f8fafc;color:var(--ink);font:inherit;font-size:12px;line-height:1.4;outline:none}.mom-comment-composer textarea:focus,.mom-reply-composer textarea:focus,.mom-comment-edit textarea:focus{border-color:#818cf8;background:#fff;box-shadow:0 0 0 3px #4f46e514}.mom-comment-composer>button,.mom-reply-composer>button{display:inline-grid;width:38px;height:38px;padding:0;border:0;border-radius:9px;background:var(--accent);color:#fff;cursor:pointer;place-items:center}.mom-comment-composer>button:disabled,.mom-reply-composer>button:disabled{opacity:.42;cursor:not-allowed}.mom-comment-avatar{display:inline-grid;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:#eef2ff;color:#4f46e5;font-size:10px;font-weight:800;place-items:center}.mom-comments{display:flex;flex-direction:column;gap:11px;margin-top:15px}.mom-no-comments,.mom-discussion-empty{color:var(--mute);font-size:11px}.mom-no-comments{margin:4px 0 0 40px}.mom-discussion-empty{display:grid;min-height:180px;align-content:center;justify-items:center;gap:9px;padding:20px;text-align:center}.mom-discussion-empty p{max-width:230px;line-height:1.5}.mom-comment{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px}.mom-comment-content{min-width:0;padding:8px 10px;border-radius:9px;background:#f7f7f8}.mom-comment-heading{display:flex;align-items:baseline;gap:7px}.mom-comment-heading strong{color:#1e293b;font-size:11px}.mom-comment-heading time{color:#94a3b8;font-size:9px}.mom-comment-content>p{margin:4px 0 0;color:#334155;font-size:12px;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}.mom-comment-actions{display:flex;gap:10px;margin-top:5px}.mom-comment-actions button,.mom-comment-delete-confirm button{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:transparent;color:#64748b;font-size:9px;font-weight:800;cursor:pointer}.mom-comment-actions button:hover,.mom-comment-delete-confirm button:hover{color:var(--accent)}.mom-comment-actions button.danger:hover,.mom-comment-delete-confirm button.danger{color:#dc2626}.mom-comment-replies{display:flex;flex-direction:column;gap:8px;margin:8px 0 0 40px;padding-left:9px;border-left:2px solid #e2e8f0}.mom-comment-edit{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.mom-comment-edit textarea{flex:1 0 100%}.mom-comment-edit button{padding:5px 9px;border:0;border-radius:6px;background:var(--accent);color:#fff;font-size:10px;font-weight:800;cursor:pointer}.mom-comment-edit button.plain{background:#e2e8f0;color:#475569}.mom-comment-delete-confirm{display:flex;align-items:center;gap:9px;margin-top:7px;padding:6px 8px;border-radius:7px;background:#fff1f2;color:#991b1b;font-size:10px}.mom-description-field textarea{min-height:96px;resize:vertical}.mom-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.mom-primary-fields{grid-template-columns:minmax(0,2fr) minmax(150px,1fr);align-items:start}.mom-primary-fields .mom-sales-field{grid-column:1;grid-row:1}.mom-primary-fields>.form-field:not(.mom-sales-field){grid-column:2;grid-row:1}.mom-form-grid small,.mom-file-field small{display:block;margin-top:5px;color:var(--mute);font-size:11px}.mom-sales-field{position:relative}.mom-sales-combobox{display:flex;position:relative;width:100%;min-height:42px;align-items:center;flex-wrap:wrap;gap:5px;padding:5px 38px 5px 7px;border:1px solid var(--hairline);border-radius:var(--radius-sm);background:var(--surface);color:var(--body);cursor:pointer}.mom-sales-combobox.open{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.mom-sales-combobox.open .mom-sales-chevron svg{transform:rotate(180deg)}.mom-sales-combobox>input{min-width:170px;min-height:30px;flex:1 1 180px;padding:3px 4px;border:0;border-radius:0;box-shadow:none}.mom-sales-combobox>input:focus{border:0;box-shadow:none}.mom-sales-chip{display:inline-flex;max-width:220px;min-height:28px;align-items:center;gap:5px;overflow:hidden;padding:3px 5px 3px 9px;border:1px solid #c7d2fe;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:12px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.mom-sales-chip>button,.mom-sales-chevron{display:grid;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;place-items:center}.mom-sales-chip>button{width:20px;height:20px;flex:0 0 20px;border-radius:50%}.mom-sales-chip>button:hover{background:#dbe4ff}.mom-sales-chevron{position:absolute;z-index:1;right:10px;bottom:9px;width:24px;height:24px;color:var(--mute)}.mom-sales-dropdown{position:absolute;z-index:20;top:calc(100% + 6px);right:0;left:0;overflow:hidden;border:1px solid #cbd5e1;border-radius:10px;background:var(--surface);box-shadow:0 16px 34px #141f332e}.mom-sales-field .mom-sales-select-all{display:flex;align-items:center;gap:10px;padding:9px 12px;border-bottom:1px solid var(--hairline);background:var(--surface-soft);cursor:pointer}.mom-sales-field .mom-sales-select-all>input{width:16px;height:16px;flex:0 0 16px;padding:0}.mom-sales-field .mom-sales-select-all strong{line-height:1}.mom-sales-options{display:grid;max-height:210px;overflow-y:auto;padding:6px;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.mom-sales-options label{display:flex;min-width:0;align-items:center;gap:9px;padding:8px;border:1px solid transparent;border-radius:7px;background:transparent;text-align:left;cursor:pointer}.mom-sales-options label:hover,.mom-sales-options label.selected{border-color:#c7d2fe;background:#eef2ff}.mom-sales-options label>input{position:absolute;opacity:0;pointer-events:none}.mom-sales-check{display:grid;width:20px;height:20px;flex:0 0 20px;place-items:center;border:1px solid #cbd5e1;border-radius:5px;color:#fff}.mom-sales-options label.selected .mom-sales-check{border-color:var(--accent);background:var(--accent)}.mom-sales-options label>span:last-child{display:flex;min-width:0;flex-direction:column}.mom-sales-options strong,.mom-sales-options small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mom-sales-empty{padding:14px;color:var(--mute);text-align:center}.mom-sales-options strong{font-size:12px}.mom-sales-options small{color:var(--mute);font-size:10px}.mom-file-field input[type=file]{padding:7px}.mom-document-fields{display:flex;flex-direction:column;gap:12px;padding:12px;border:1px solid var(--hairline);border-radius:8px;background:#fafafa}.mom-library-picker-field{position:relative;z-index:8}.mom-library-combobox{display:flex;min-height:42px;align-items:center;overflow:hidden;border:1px solid var(--hairline);border-radius:var(--radius-sm);background:var(--surface)}.mom-library-combobox.open{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.mom-library-combobox>input{min-width:0;flex:1;padding:9px 12px;border:0;border-radius:0;box-shadow:none}.mom-library-combobox>input:focus{border:0;box-shadow:none}.mom-library-picker-toggle{display:grid;width:40px;align-self:stretch;flex:0 0 40px;padding:0;border:0;background:transparent;color:var(--mute);cursor:pointer;place-items:center}.mom-library-combobox.open .mom-library-picker-toggle svg{transform:rotate(180deg)}.mom-library-dropdown{position:absolute;z-index:30;top:calc(100% + 6px);right:0;left:0;max-height:240px;overflow-y:auto;border:1px solid #cbd5e1;border-radius:9px;background:var(--surface);box-shadow:0 16px 34px #141f332e}.mom-library-option{display:grid;width:100%;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:8px;padding:9px 12px;border:0;border-bottom:1px solid var(--hairline);background:#fff;color:var(--body);text-align:left;cursor:pointer}.mom-library-option:hover,.mom-library-option:focus-visible{background:#eef2ff;outline:0}.mom-library-option:last-child{border-bottom:0}.mom-library-option span,.mom-library-option strong,.mom-library-option small{display:block;min-width:0}.mom-library-option strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mom-library-option small{margin-top:2px;overflow:hidden;color:var(--mute);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.mom-library-empty{margin:0;padding:14px;color:var(--mute);text-align:center}.mom-document-meta{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:12px}.mom-document-description{grid-column:1 / -1}.mom-document-description textarea{min-height:64px;resize:vertical}.mom-document-save-row{display:flex;grid-column:1 / -1;justify-content:flex-end;gap:8px}.mom-document-table-wrap{overflow:hidden;border:1px solid var(--hairline);border-radius:8px;background:#fff}.mom-document-table{width:100%;border-collapse:collapse;table-layout:fixed}.mom-document-table th,.mom-document-table td{padding:8px 10px;border-bottom:1px solid var(--hairline);text-align:left;vertical-align:top;overflow-wrap:anywhere}.mom-document-table th{background:#f3f0ea;color:#64748b;font-size:10px;font-weight:800;text-transform:uppercase}.mom-document-table th:nth-child(1){width:28%}.mom-document-table th:nth-child(2){width:20%}.mom-document-table th:nth-child(3){width:auto}.mom-document-table th:nth-child(4){width:42px}.mom-document-table tbody tr:last-child td{border-bottom:0}.mom-document-table td{color:#475569;font-size:12px}.mom-document-table td input,.mom-document-table td select{width:100%;min-height:32px;padding:5px 7px;border:1px solid var(--hairline);border-radius:5px;background:#fff;color:inherit;font:inherit}.mom-document-table td input:focus,.mom-document-table td select:focus{border-color:var(--accent);outline:0}.mom-document-table td a{display:inline-flex;align-items:flex-start;gap:5px;color:var(--accent);font-weight:700;text-decoration:none}.mom-document-table td a:hover{text-decoration:underline}.mom-document-remove{display:inline-flex;width:26px;height:26px;align-items:center;justify-content:center;border:0;border-radius:6px;background:#fff1f2;color:#dc2626;cursor:pointer}.mom-attachment-existing{padding:12px;border:1px solid var(--hairline);border-radius:8px;background:#fafafa}.mom-attachment-existing>span{display:block;margin-bottom:7px;color:var(--body);font-size:12px;font-weight:700}.mom-attachment-existing>p{color:var(--mute);font-size:12px}.mom-attachment-existing a{display:flex;align-items:center;gap:9px;color:var(--accent);text-decoration:none}.mom-attachment-existing a span{display:flex;flex-direction:column}.mom-attachment-existing a small{color:var(--mute);font-size:10px}.mom-modal-footer{align-items:center;justify-content:space-between}.mom-modal-footer>div{display:flex;align-items:center;gap:8px}.mom-modal-footer-left{min-width:0;flex:1}.mom-footer-error{max-width:min(720px,100%);padding:7px 10px;line-height:1.25}.mom-delete-button{border:1px solid #fecaca;background:#fff1f2;color:#dc2626}.mom-delete-confirm{display:flex;align-items:center;gap:7px}.mom-delete-confirm span{color:#991b1b;font-size:12px;font-weight:700}@media(max-width:720px){.mom-modal-content{display:block;overflow-y:auto}.mom-modal-body{overflow:visible}.mom-discussion-panel{min-height:320px;border-top:1px solid var(--hairline);border-left:0;overflow:visible}.mom-document-meta{grid-template-columns:1fr}.mom-document-description{grid-column:auto}.mom-topbar-actions .btn{padding-inline:10px}.mom-form-grid,.mom-sales-options{grid-template-columns:1fr}.mom-modal-footer,.mom-delete-confirm{align-items:stretch;flex-direction:column}.mom-modal-footer>div{width:100%;justify-content:flex-end}.mom-modal-footer-left{align-items:stretch}.mom-footer-error{max-width:none}}.rich-text-editor{box-sizing:border-box;width:100%;min-height:38px;padding:9px 11px;border:1px solid #d9dde5;border-radius:8px;background:#fff;color:inherit;font:inherit;line-height:1.35;white-space:pre-wrap;overflow-wrap:anywhere;outline:none}.rich-text-editor:focus{border-color:#4f46e5;box-shadow:0 0 0 2px #4f46e51f}.rich-text-editor:empty:before{color:#8a8f99;content:attr(data-placeholder);pointer-events:none}.rich-text-view{white-space:pre-wrap;overflow-wrap:anywhere}.mom-description-field .rich-text-editor{min-height:112px}.mom-comment-composer .rich-text-editor,.mom-reply-composer .rich-text-editor,.library-comment-composer .rich-text-editor,.library-reply-composer .rich-text-editor{flex:1;min-width:0;min-height:54px}.mom-comment-edit .rich-text-editor,.library-comment-edit .rich-text-editor{min-height:64px}.weekly-inline-description.rich-text-editor{min-height:34px;padding:7px 9px}.quotation-table .rich-text-editor,.library-table .rich-text-editor{min-height:35px;padding:7px 9px;border-radius:4px}.whats-new-modal{max-width:720px}.whats-new-cards{display:grid;gap:16px}.whats-new-card{border:1px solid var(--hairline);border-radius:var(--radius);padding:16px 18px;background:var(--surface)}.whats-new-card-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.whats-new-version{font-size:11px;font-weight:700;padding:2px 8px;border:1px solid var(--hairline);border-radius:999px;color:var(--mute)}.whats-new-card-date{font-size:12px;font-weight:600;color:var(--mute)}.whats-new-card h3{margin:10px 0 4px;font-size:15px;font-weight:700}.whats-new-card p{margin:0;font-size:13px;color:var(--mute);line-height:1.55}.whats-new-details{margin:12px 0 0;padding:12px 0 0 18px;border-top:1px solid var(--hairline);display:grid;gap:6px}.whats-new-details li{font-size:13px;color:var(--ink);line-height:1.5}.whats-new-empty{display:grid;justify-items:center;gap:6px;padding:40px 0;color:var(--mute);text-align:center}.whats-new-empty p{margin:0;font-weight:700;color:var(--ink)}.whats-new-empty span{font-size:13px}.whats-new-marquee{display:flex;align-items:stretch;height:34px;flex-shrink:0;border-top:1px solid var(--hairline);background:var(--surface-soft)}.whats-new-marquee-label,.whats-new-marquee-close{display:flex;align-items:center;gap:6px;padding:0 12px;border:0;background:transparent;color:var(--ink);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;cursor:pointer}.whats-new-marquee-label{border-right:1px solid var(--hairline)}.whats-new-marquee-close{border-left:1px solid var(--hairline)}.whats-new-marquee-label:hover,.whats-new-marquee-close:hover{background:var(--surface)}.whats-new-marquee-viewport{flex:1;overflow:hidden;position:relative}.whats-new-marquee-track{display:flex;width:max-content;height:100%;animation:whats-new-scroll var(--marquee-duration, 40s) linear infinite;will-change:transform}.whats-new-marquee:hover .whats-new-marquee-track{animation-play-state:paused}.whats-new-marquee-group{display:flex;flex-shrink:0}.whats-new-marquee-group button{white-space:nowrap;padding:0 24px;border:0;background:transparent;color:var(--ink);font-size:12px;font-weight:600;cursor:pointer}.whats-new-marquee-group button:hover{text-decoration:underline}@keyframes whats-new-scroll{0%{transform:translate(0)}to{transform:translate(-50%)}}@media(prefers-reduced-motion:reduce){.whats-new-marquee-track{animation:none;transform:none}}.topbar-profile-badge{margin-left:auto;min-width:20px;padding:1px 6px;border-radius:999px;background:var(--red, #DC2626);color:#fff;font-size:11px;font-weight:700;text-align:center}
