@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--font-sans:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.fixed{position:fixed}.container{width:100%}@media(min-width:40rem){.container{max-width:40rem}}@media(min-width:48rem){.container{max-width:48rem}}@media(min-width:64rem){.container{max-width:64rem}}@media(min-width:80rem){.container{max-width:80rem}}@media(min-width:96rem){.container{max-width:96rem}}.my-4{margin-block:calc(var(--spacing) * 4)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.table{display:table}.w-full{width:100%}.resize{resize:both}.flex-wrap{flex-wrap:wrap}.justify-end{justify-content:flex-end}.gap-3{gap:calc(var(--spacing) * 3)}.\!filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)!important}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}@media(min-width:48rem){.md\:col-span-2{grid-column:span 2/span 2}}}:root{--sidebar-bg:#0b1220;--sidebar-hover:#131c2e;--sidebar-border:#1e293b;--sidebar-text:#cbd5e1;--sidebar-muted:#64748b;--accent:#22d3ee;--bg:#f4f6fa;--surface:#fff;--border:#e3e8ef;--text:#0f172a;--text-2:#475569;--text-3:#64748b;--primary:#2563eb;--primary-hover:#1d4ed8;--primary-soft:#eff6ff;--accent-text:#0e7490;--table-head-bg:#eef2f7;--table-head-text:#475569;--status-new:#be123c;--status-new-bg:#fff1f2;--status-new-dot:#e11d48;--status-negotiation:#1d4ed8;--status-negotiation-bg:#eff6ff;--status-negotiation-dot:#2563eb;--status-working:#92400e;--status-working-bg:#fffbeb;--status-working-dot:#d97706;--status-ready:#6d28d9;--status-ready-bg:#f5f3ff;--status-ready-dot:#7c3aed;--status-done:#15803d;--status-done-bg:#f0fdf4;--status-done-dot:#16a34a;--status-muted:#475569;--status-muted-bg:#f1f5f9;--status-muted-dot:#64748b;--warn:#b45309;--warn-bg:#fffbeb;--danger:#b91c1c;--danger-bg:#fef2f2;color:var(--text);background:var(--bg);font-synthesis:none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-width:320px}body{background:var(--bg);min-width:320px;min-height:100vh;margin:0;font-size:13px;line-height:1.45}h1,h2,h3,p{margin-top:0}h1{letter-spacing:-.035em;margin-bottom:0;font-size:24px;font-weight:700;line-height:1.2}h2{margin-bottom:14px;font-size:16px;font-weight:650}h3{font-size:14px;font-weight:650}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}svg{flex:none}::selection{background:#bae6fd}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[role=switch]:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.app-shell{min-height:100dvh}.sidebar{z-index:40;background:var(--sidebar-bg);width:248px;color:var(--sidebar-text);border-right:1px solid var(--sidebar-border);flex-direction:column;gap:14px;padding:18px 14px 12px;display:flex;position:fixed;inset:0 auto 0 0}.sidebar-brand{color:#fff;align-items:center;gap:11px;min-height:54px;padding:0 7px;display:flex}.sidebar-brand>span:nth-child(2){gap:2px;min-width:0;display:grid}.sidebar-brand strong{letter-spacing:.08em;font-size:13px}.sidebar-brand small{color:var(--sidebar-muted);letter-spacing:.08em;font-size:10px}.brand-logo{background:#111d2d;border:1px solid #263950;border-radius:10px;flex:none;place-items:center;width:42px;height:42px;display:grid;overflow:hidden;box-shadow:0 0 16px #22d3ee26}.brand-logo img{object-fit:contain;width:100%;height:100%;padding:4px;display:block}.sidebar-nav{flex-direction:column;flex:1;gap:20px;padding:8px 0;display:flex;overflow:auto}.sidebar-group{gap:3px;display:grid}.sidebar-section-label{color:var(--sidebar-muted);letter-spacing:.1em;margin:0 8px 5px;font-size:10px;font-weight:700}.sidebar-link{min-height:40px;color:var(--sidebar-text);border-radius:8px;align-items:center;gap:11px;padding:0 10px;font-size:12.5px;font-weight:550;transition:background .15s,color .15s;display:flex;position:relative}.sidebar-link svg{color:#94a3b8}.sidebar-link:hover,.sidebar-link.is-active{background:var(--sidebar-hover);color:#fff}.sidebar-link.is-active:before{content:"";background:var(--accent);border-radius:0 3px 3px 0;width:3px;position:absolute;top:7px;bottom:7px;left:-14px}.sidebar-link.is-active svg{color:var(--accent)}.sidebar-link span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar-count{color:#fff;background:#e11d48;border-radius:99px;place-items:center;min-width:20px;height:20px;margin-left:auto;font-size:10px;display:grid}.urgent-link{color:#fecaca;background:#450a0a;border:1px solid #7f1d1d;border-radius:8px;align-items:center;gap:8px;min-height:34px;padding:0 10px;font-size:11px;font-weight:650;display:flex}.sidebar-quick-task{width:100%;color:#dbeafe!important;background:#121e31!important;border-color:#26364d!important;justify-content:flex-start!important}.sidebar-quick-task:hover{background:#1a2a42!important}.quick-plus{color:#7dd3fc;background:#1e3a5f;border-radius:6px;place-items:center;width:22px;height:22px;font-size:18px;display:inline-grid}.user-card{border-top:1px solid var(--sidebar-border);border-bottom:1px solid var(--sidebar-border);align-items:center;gap:9px;padding:11px 8px;display:flex}.user-card-copy{flex:1;gap:2px;min-width:0;display:grid}.user-card-copy strong{text-overflow:ellipsis;white-space:nowrap;color:#f8fafc;font-size:12px;overflow:hidden}.user-card-copy small{color:var(--sidebar-muted);font-size:10px}.user-signout{color:#94a3b8;background:0 0;border:0;border-radius:7px;place-items:center;width:34px;height:34px;display:grid}.user-signout:hover{background:var(--sidebar-hover);color:#fff}.sidebar-footer{justify-content:space-between;align-items:center;gap:10px;padding:0 4px;display:flex}.locale-switch{border:1px solid var(--sidebar-border);background:#111a29;border-radius:8px;align-items:center;gap:2px;padding:3px;display:flex}.locale-switch button{color:#94a3b8;background:0 0;border:0;border-radius:5px;min-width:31px;min-height:27px;padding:3px 7px;font-size:10px;font-weight:750}.locale-switch button[aria-pressed=true]{color:#fff;background:#26384f}.site-link{color:#9fb0c5;align-items:center;gap:6px;font-size:11px;display:flex}.site-link:hover{color:#fff}.mobile-close,.mobile-menu{display:none}.app-main{min-height:100dvh;margin-left:248px}.topbar{z-index:20;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffffed;justify-content:space-between;align-items:center;height:58px;padding:0 26px;display:flex;position:sticky;top:0}.breadcrumbs{color:var(--text-3);align-items:center;gap:8px;font-size:12px;display:flex}.breadcrumbs strong{color:var(--text);font-weight:650}.topbar-tools{min-width:80px}.workspace{width:100%;max-width:1650px;margin:0 auto;padding:26px}.sidebar-scrim{display:none}.page-heading,.ui-page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:18px;margin-bottom:22px;display:flex}.page-heading h1{margin:0}.eyebrow{color:var(--primary);letter-spacing:.08em;text-transform:uppercase;margin:0 0 7px;font-size:10px;font-weight:750}.muted{color:var(--text-2)}.page-heading .muted,.ui-page-header .muted{color:var(--text-2);margin:7px 0 0}.ui-page-actions{align-items:center;gap:8px;display:flex}.action-row,.toolbar{flex-wrap:wrap;align-items:center;gap:9px;margin:0 0 16px;display:flex}.toolbar input{flex:1;min-width:180px}.toolbar select{width:auto;min-width:150px;max-width:100%}.check{align-items:center;gap:8px;display:flex}.records,.panel,.stat,.ui-kpi{background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 1px 2px #0f172a0d}.panel{padding:20px}.records{overflow:auto}.records table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;font-size:12.5px}.records th{z-index:2;background:var(--table-head-bg);color:var(--table-head-text);letter-spacing:.055em;text-transform:uppercase;white-space:nowrap;padding:11px 13px;font-size:10px;font-weight:700;position:sticky;top:0}.records th:first-child{border-radius:9px 0 0}.records th:last-child{border-radius:0 9px 0 0}.records td{border-bottom:1px solid var(--scroll-track);vertical-align:middle;padding:10px 13px}.records tbody tr{transition:background .12s}.records tbody tr:hover{background:var(--surface-2)}.new-row{background:#fff7f8}.new-unassigned{box-shadow:inset 3px 0 var(--warn);background:#fff8ee!important}.low-stock{background:var(--danger-bg)}.table-link{color:var(--primary);text-underline-offset:2px;background:0 0;border:0;padding:0;font-weight:650;text-decoration:underline}.badge{background:var(--status-muted-bg);color:var(--status-muted);white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:4px 9px;font-size:10px;font-weight:650;display:inline-flex}.danger{color:var(--danger)}.error{background:var(--danger-bg);color:var(--danger);border:1px solid #fecaca;border-radius:8px;margin:12px 0;padding:11px 13px;font-size:12px}.empty{text-align:center;color:var(--text-3);padding:28px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px;display:grid}.stat,.ui-kpi{text-align:left;flex-direction:column;gap:8px;min-width:0;padding:16px;display:flex}.stat span,.ui-kpi-top{color:var(--text-2);font-size:11px;font-weight:600}.stat strong,.ui-kpi>strong{letter-spacing:-.035em;font-size:25px;line-height:1.1}.stat small,.ui-kpi small{color:var(--text-3);font-size:10px}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.status-line,.related{border-bottom:1px solid #eef1f6;justify-content:space-between;align-items:center;gap:12px;min-height:42px;padding:10px 0;font-size:12px;display:flex}.status-line:last-child,.related:last-child{border:0}.kanban{gap:12px;min-height:360px;padding-bottom:14px;display:flex;overflow:auto}.kanban-column{border:1px solid var(--border);background:#edf1f7;border-radius:11px;flex:none;width:260px;padding:12px}.kanban-column h3{font-size:11px}.kanban-card{text-align:left;border:1px solid var(--border);background:var(--surface);border-radius:10px;width:100%;margin-bottom:9px;padding:14px}.kanban-card p{color:var(--text-3);margin:8px 0 0;font-size:11px}input,select,textarea{border:1px solid var(--border-2);background:var(--surface);width:100%;min-height:40px;color:var(--text);border-radius:8px;padding:9px 11px;font-size:13px}textarea{resize:vertical;min-height:96px}input::placeholder,textarea::placeholder{color:#64748b}input:focus,select:focus,textarea:focus{outline-offset:1px;border-color:var(--primary);outline:2px solid #93c5fd}label{color:var(--text-2);font-size:11px;font-weight:600;display:block}label input,label select,label textarea{margin-top:5px}input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--primary)}button,.ui-button{border:1px solid var(--border-2);background:var(--surface);min-height:38px;color:var(--text);border-radius:8px;padding:8px 13px;font-size:12px;font-weight:650;transition:background .14s,border-color .14s,transform .14s}button:hover{background:var(--surface-2);border-color:#94a3b8}button:disabled{opacity:.55;cursor:wait}button.primary,.ui-button--primary{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:0 1px 2px #1d4ed833}button.primary:hover,.ui-button--primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}button.danger,.ui-button--danger{color:var(--danger)}button:active{transform:translateY(1px)}.request-clamp{text-align:left;-webkit-line-clamp:2;white-space:normal;-webkit-box-orient:vertical;max-width:260px;display:-webkit-box;overflow:hidden}.contact-icons{gap:6px;margin:4px 0;display:flex}.contact-icons a{background:var(--primary-soft);width:30px;height:30px;color:var(--primary);border-radius:50%;place-items:center;font-size:11px;font-weight:700;display:inline-grid}.record-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:10px;padding:14px;display:grid;box-shadow:0 1px 2px #0f172a0d}.modal-backdrop,.ui-overlay{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a80;justify-content:center;align-items:center;padding:18px;display:flex;position:fixed;inset:0}.modal,.ui-modal{border:1px solid var(--border);background:var(--surface);border-radius:14px;width:min(900px,100%);max-height:min(92dvh,900px);padding:22px;overflow:auto;box-shadow:0 24px 80px #0f172a33}.modal>header,.ui-modal>header,.ui-drawer>header{z-index:2;border-bottom:1px solid var(--border);background:var(--surface);justify-content:space-between;align-items:center;gap:14px;margin:-22px -22px 16px;padding:16px 20px;display:flex;position:sticky;top:-22px}.modal>header h2,.ui-modal>header h2,.ui-drawer>header h2{margin:0;font-size:16px}.form-grid,.details{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px;display:grid}.details dt{color:var(--text-3);margin-bottom:3px;font-size:10px}.details dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.login{background:radial-gradient(ellipse at top,#dff4ff,transparent 60%),var(--sidebar-bg);place-items:center;min-height:100dvh;padding:20px;display:grid}.login-card{color:#e2e8f0;background:#111b2a;border:1px solid #26364d;border-radius:16px;width:min(430px,100%);padding:34px;position:relative;box-shadow:0 20px 80px #02061780}.login-card label{color:var(--border-2)}.login-card input{color:#fff;background:#0f1724;border-color:#34445b}.login-card .muted{color:#94a3b8}.login-card button:not(.locale-switch button){min-height:44px}.login-card .brand-mark{margin-bottom:20px}.login-card form{gap:16px;margin-top:24px;display:grid}.login-card .locale-switch{position:absolute;top:18px;right:18px}.login-card button.primary{background:var(--primary);color:#fff}.ui-button{justify-content:center;align-items:center;gap:7px;display:inline-flex}.ui-button--secondary{background:var(--surface)}.ui-button--ghost{background:0 0;border-color:#0000}.ui-icon-button{place-items:center;width:36px;min-width:36px;height:36px;padding:0;display:inline-grid}.ui-input,.ui-select{font-size:13px}.ui-badge{background:var(--status-muted-bg);color:var(--status-muted);border-radius:999px;align-items:center;gap:6px;padding:4px 9px;font-size:10px;font-weight:650;display:inline-flex}.ui-badge--new{background:var(--status-new-bg);color:var(--status-new)}.ui-badge--negotiation{background:var(--status-negotiation-bg);color:var(--status-negotiation)}.ui-badge--working{background:var(--status-working-bg);color:var(--status-working)}.ui-badge--ready{background:var(--status-ready-bg);color:var(--status-ready)}.ui-badge--done{background:var(--status-done-bg);color:var(--status-done)}.ui-avatar{color:#1d4ed8;background:#eaf2ff;border:1px solid #dbeafe;border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:11px;font-weight:750;display:grid}.ui-switch-row{align-items:center;gap:9px;display:inline-flex}.ui-switch{background:var(--border-2);border:1px solid #94a3b8;border-radius:999px;width:40px;height:22px;min-height:22px;padding:2px;position:relative}.ui-switch>span{background:var(--surface);border-radius:50%;width:16px;height:16px;transition:transform .15s;display:block;box-shadow:0 1px 2px #0f172a40}.ui-switch.is-on{border-color:var(--primary);background:var(--primary)}.ui-switch.is-on>span{transform:translate(18px)}.ui-segmented{border:1px solid var(--border);background:var(--surface-2);border-radius:10px;align-items:center;gap:3px;padding:4px;display:flex;overflow-x:auto}.ui-segmented button{min-height:34px;color:var(--text-2);background:0 0;border:0;flex:none;align-items:center;gap:7px;font-size:11px;display:inline-flex}.ui-segmented button.is-active{background:var(--surface);color:var(--primary);box-shadow:0 1px 3px #0f172a1a}.ui-count{min-width:19px;height:19px;color:var(--text-2);background:#e2e8f0;border-radius:99px;place-items:center;font-size:10px;display:grid}.ui-status-wrap{display:inline-block;position:relative}.ui-status{border:0;border-radius:99px;align-items:center;gap:7px;min-height:28px;padding:4px 9px;font-size:10px;display:inline-flex}.ui-status i,.ui-dot{background:currentColor;border-radius:50%;width:7px;height:7px;display:inline-block}.ui-status--new{background:var(--status-new-bg);color:var(--status-new)}.ui-status--negotiation{background:var(--status-negotiation-bg);color:var(--status-negotiation)}.ui-status--working{background:var(--status-working-bg);color:var(--status-working)}.ui-status--ready{background:var(--status-ready-bg);color:var(--status-ready)}.ui-status--done{background:var(--status-done-bg);color:var(--status-done)}.ui-status--muted{background:var(--status-muted-bg);color:var(--status-muted)}.ui-status-menu{z-index:12;border:1px solid var(--border);background:var(--surface);border-radius:10px;min-width:190px;padding:4px;position:absolute;top:calc(100% + 4px);left:0;box-shadow:0 12px 28px #0f172a1a}.ui-status-menu button{text-align:left;border:0;align-items:center;gap:9px;width:100%;min-height:34px;display:flex}.ui-status-menu button svg{margin-left:auto}.ui-kpi{border:1px solid var(--border);color:var(--text)}.ui-kpi.is-clickable{cursor:pointer;width:100%}.ui-kpi.is-active{background:var(--primary-soft);border-color:#93c5fd}.ui-kpi-top{justify-content:space-between;gap:8px;display:flex}.ui-kpi-icon{color:var(--primary)}.ui-table-wrap{border:1px solid var(--border);background:var(--surface);border-radius:11px;overflow:auto}.ui-table{border-collapse:collapse;width:100%;font-size:12.5px}.ui-table th{background:var(--table-head-bg);color:var(--table-head-text);letter-spacing:.05em;text-transform:uppercase;text-align:left;padding:11px 12px;font-size:10px;position:sticky;top:0}.ui-table td{border-bottom:1px solid #eef1f5;padding:10px 12px}.ui-table tbody tr:hover{background:var(--surface-2)}.ui-page-header>div:first-child{min-width:0}.ui-page-header h1{margin:0}.ui-page-header .eyebrow{margin-bottom:7px}.ui-overlay .ui-modal>header{top:-22px}.ui-modal-body{padding:0}.ui-modal>footer{border-top:1px solid var(--border);background:var(--surface);margin:16px -22px -22px;padding:14px 20px;position:sticky;bottom:-22px}.ui-dialog-actions{justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.ui-drawer-overlay{justify-content:flex-end;padding:0}.ui-drawer{background:var(--surface);width:min(520px,100%);height:100%;overflow:auto;box-shadow:-18px 0 50px #0f172a22}.ui-drawer>header{margin:0;padding:16px 20px;top:0}.ui-toast{z-index:100;border:1px solid var(--border);border-left:4px solid var(--status-done-dot);background:var(--surface);border-radius:10px;justify-content:space-between;align-items:center;gap:12px;width:min(380px,100vw - 32px);padding:9px 12px 9px 16px;display:flex;position:fixed;top:18px;right:20px;box-shadow:0 10px 35px #0f172a20}.ui-toast--error{border-left-color:var(--danger)}.ui-toast--info{border-left-color:var(--primary)}.ui-empty-state{text-align:center;justify-items:center;gap:7px;padding:40px 20px;display:grid}.ui-empty-state h2{margin:0}.ui-empty-state p{max-width:440px;color:var(--text-2);margin:0}.ui-empty-icon{color:#94a3b8}.ui-skeleton-list{gap:9px;padding:12px;display:grid}.ui-skeleton-list i{background:linear-gradient(90deg,#eef2f7,#f8fafc,#eef2f7) 0 0/200% 100%;border-radius:7px;height:38px;animation:1.4s infinite shimmer}.ui-empty-table{padding:20px}.ui-kit-section{gap:18px;margin-top:18px;display:grid}.ui-kit-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.ui-kit-row .ui-kpi{min-width:170px}.ui-kit-row .ui-page-header{flex:1;min-width:260px;margin:0}.ui-kit-toast{border:1px solid var(--border);background:var(--surface);border-radius:9px;justify-content:space-between;align-items:center;padding:10px 14px;display:flex}.quick-task-form{gap:15px;padding:20px;display:grid}.area-preview{background:#eff6ff;border:1px solid #bfdbfe;border-radius:10px;margin-top:16px;padding:16px}.area-preview strong{font-size:20px}.area-preview p{color:#92400e;margin:7px 0 0;font-size:11px}.unparsed{background:#fffbeb;border-color:#d97706}.warning{background:var(--warn-bg);border:1px solid #fcd34d;border-radius:9px;margin-top:12px;padding:12px;font-size:12px}.chart{align-items:end;gap:14px;min-height:200px;padding:14px;display:flex;overflow-x:auto}.chart-column{flex-direction:column;justify-content:end;align-items:center;gap:8px;min-width:72px;font-size:10px;display:flex}.chart-bar{background:var(--primary);border-radius:6px 6px 0 0;width:38px}.chart-bar.negative{background:#e11d48}.quote-grid{grid-template-columns:minmax(0,1.4fr) minmax(290px,.8fr);gap:18px;display:grid}.quote-summary{background:var(--surface-2);border:1px solid var(--border);border-radius:12px;align-self:start;gap:10px;padding:18px;display:grid;position:sticky;top:76px}.quote-summary hr{border:0;border-top:1px solid var(--border);width:100%}.field-lock{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;display:grid}.field-lock button{white-space:nowrap}.spec-editor{gap:9px;margin:10px 0;display:grid}.spec-row{grid-template-columns:1fr 1.2fr auto;align-items:center;gap:8px;display:grid}.notice{background:var(--warn-bg);color:#854d0e;border-radius:9px;gap:8px;padding:11px;display:grid}.share-actions{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px;margin-top:16px;display:grid}.quote-panel details{border:1px solid var(--border);border-radius:9px;padding:11px}.quote-panel details summary{cursor:pointer;font-weight:700}.quote-panel .records{margin-top:12px}@keyframes shimmer{to{background-position:-200% 0}}@media(min-width:768px)and (max-width:1100px){.sidebar{width:74px;padding:16px 9px}.sidebar-brand{justify-content:center;padding:0}.sidebar-brand>span:nth-child(2),.sidebar-section-label,.sidebar-link span,.urgent-link,.sidebar-quick-task:not(.quick-icon),.user-card-copy,.site-link{display:none}.sidebar-nav{align-items:center}.sidebar-group{justify-items:center;width:100%}.sidebar-link{justify-content:center;width:48px;padding:0}.sidebar-link.is-active:before{left:-9px}.user-card{justify-content:center;padding:10px 0}.user-signout{width:30px}.sidebar-footer{justify-content:center}.app-main{margin-left:74px}.workspace{padding:22px}.site-link{display:none}}@media(max-width:767px){body{font-size:13px}.workspace input,.workspace select,.workspace textarea,.ui-drawer input,.ui-drawer select,.ui-drawer textarea{font-size:16px}.sidebar{width:min(300px,86vw);transition:transform .2s;transform:translate(-102%);box-shadow:15px 0 40px #02061745}.sidebar.is-open{transform:translate(0)}.sidebar-scrim{z-index:35;background:#02061780;border:0;border-radius:0;display:block;position:fixed;inset:0}.mobile-close{color:#94a3b8;background:0 0;border:0;place-items:center;width:34px;height:34px;margin-left:auto;display:grid}.app-main{margin:0}.topbar{gap:12px;height:54px;padding:0 14px}.mobile-menu{background:0 0;border:0;place-items:center;width:38px;height:38px;min-height:38px;padding:0;display:grid}.breadcrumbs{flex:1}.topbar-tools{min-width:20px}.workspace{padding:20px 14px 88px}.page-heading,.ui-page-header{align-items:flex-start}.page-heading>div:first-child,.ui-page-header>div:first-child{width:100%}.page-heading h1,.ui-page-header h1{font-size:22px}.ui-page-actions{width:100%;overflow:auto}.ui-page-actions>*{flex:none}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat,.ui-kpi{padding:13px}.stat strong,.ui-kpi>strong{font-size:21px}.dashboard-grid{grid-template-columns:1fr}.panel{padding:15px}.records-panel{box-shadow:none;background:0 0;border:0;padding:0}.records-panel .records>table,.records>table{display:none}.mobile-record-cards{gap:10px;display:grid}.record-card button,.record-card select{min-height:44px}.toolbar{flex-wrap:nowrap;padding:0 0 5px;overflow-x:auto}.toolbar>*{flex:none}.toolbar input{min-width:180px}.lead-filters,.client-filters{grid-template-columns:1fr 1fr}.records td{overflow-wrap:anywhere;border:0;justify-content:space-between;gap:12px;padding:9px 0;display:flex}.records td:before{content:attr(data-label);max-width:44%;color:var(--text-3);flex-shrink:0;font-size:10px}.records tr{border:1px solid var(--border);background:var(--surface);border-radius:11px;margin:0 0 10px;padding:10px 13px;display:block;box-shadow:0 1px 2px #0f172a0d}.records td:last-child{justify-content:flex-end}.form-grid,.details{grid-template-columns:1fr;gap:12px}.form-grid label.md\:col-span-2{grid-column:auto}.modal-backdrop,.ui-overlay{align-items:flex-end;padding:0}.modal,.ui-modal{border-radius:16px 16px 0 0;width:100%;max-height:93dvh;padding:18px}.modal>header,.ui-modal>header{margin:-18px -18px 14px;padding:15px 17px;top:-18px}.ui-modal>footer{margin:16px -18px -18px;padding:12px 17px;bottom:-18px}.quote-grid{grid-template-columns:1fr}.quote-summary{order:-1;padding:14px;position:static}.spec-row,.share-actions{grid-template-columns:1fr}.share-actions button,.page-heading>button{min-height:46px}.purchase-line{grid-template-columns:1fr 1fr}.purchase-line label:first-child{grid-column:1/-1}.area-preview strong{font-size:17px}.login-card{padding:28px 22px}.ui-segmented{max-width:100%}.ui-segmented button{min-height:40px}.ui-kpi{min-width:0}.ui-kit-row .ui-page-header{min-width:100%}.ui-drawer-overlay{align-items:flex-end}.ui-drawer{border-radius:16px 16px 0 0;width:100%;height:min(90dvh,800px)}.ui-drawer>header{border-radius:16px 16px 0 0}.ui-icon-button{width:42px;min-width:42px;height:42px}.ui-table-wrap{background:0 0;border:0;overflow:visible}.ui-table,.ui-table tbody,.ui-table tr,.ui-table td{display:block}.ui-table thead{display:none}.ui-table tr{border:1px solid var(--border);background:var(--surface);border-radius:11px;margin:0 0 10px;padding:10px 13px}.ui-table td{border:0;justify-content:space-between;gap:12px;padding:8px 0;display:flex}.ui-table td:before{content:attr(data-label);color:var(--text-3);flex:none;font-size:10px}.ui-skeleton-list{padding:0}}@media(min-width:768px)and (max-width:1100px){.quote-grid{grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr)}}@media(max-width:380px){.workspace{padding-left:11px;padding-right:11px}.stats{gap:7px}.stat,.ui-kpi{padding:11px}.lead-filters,.client-filters{grid-template-columns:1fr}.breadcrumbs{font-size:11px}}:root{--bg:#f5f6f7;--surface:#fff;--surface-2:#f8fafc;--border:#d9dde2;--border-2:#cbd5e1;--scroll-track:#edf0f5;--text-3:#64748b}.records,.panel,.stat,.ui-kpi,.quote-summary,.kanban-column,.kanban-card,.records tr,.ui-table-wrap,.ui-table tr,.ui-modal,.modal,.ui-drawer{box-shadow:none!important;border-radius:8px!important}input,select,textarea,.ui-button,.ui-select,.ui-input{box-shadow:none!important;border-radius:6px!important}.ui-button--primary,.primary{background:var(--primary);color:#fff;border-color:var(--primary)}.urgent-link{border:1px solid var(--border)!important;color:var(--text-2)!important;background:#f3f4f6!important}.urgent-link.has-tasks{background:var(--danger-bg)!important;color:var(--danger)!important;border-color:#fecaca!important}.ui-status{border:1px solid var(--border);height:32px;min-height:32px;color:var(--text);white-space:nowrap;padding:3px 7px;font-size:12px;background:var(--surface)!important;border-radius:6px!important}.ui-status i{color:var(--status-muted-dot)}.ui-status--new i{color:var(--status-new-dot)}.ui-status--negotiation i{color:var(--status-negotiation-dot)}.ui-status--working i{color:var(--status-working-dot)}.ui-status--ready i{color:var(--status-ready-dot)}.ui-status--done i{color:var(--status-done-dot)}.ui-status-menu{border-radius:6px;min-width:max-content;box-shadow:0 6px 18px #0f172a18}.ui-status-menu button{white-space:nowrap}.ui-action-select{white-space:nowrap;background:var(--surface);width:max-content;min-width:max-content;max-width:none;height:32px;min-height:32px;padding:3px 28px 3px 9px;font-size:12px}.toolbar,.lead-filters,.client-filters{flex-wrap:nowrap;align-items:center;gap:8px;min-width:0;display:flex}.toolbar>*{flex:0 auto;min-width:132px}.toolbar>input:first-child{flex:220px;min-width:190px}.toolbar label{min-width:0}.period-filter{grid-template-columns:auto minmax(120px,1fr) auto minmax(120px,1fr);align-items:center;gap:6px;display:grid}.records{border:1px solid var(--border);background:var(--surface);max-width:100%;overflow:auto}.records>table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:max-content;min-width:100%}.records th,.records td{white-space:nowrap}.records td{overflow:visible}.records th:first-child,.records td:first-child{z-index:4;background:var(--surface);min-width:110px;position:sticky;left:0}.records th:last-child,.records td:last-child{z-index:4;background:var(--surface);min-width:174px;position:sticky;right:0}.records th:last-child{z-index:6;background:var(--table-head-bg)}.records td .request-clamp{white-space:nowrap;text-overflow:ellipsis;max-width:260px;overflow:hidden}.records select{white-space:nowrap;width:max-content;min-width:max-content;max-width:none}.records .action-row{flex-wrap:nowrap}.records tr.new-unassigned>td:first-child{background:#fff8ee}.comment-cell{gap:5px;min-width:120px;display:grid}.comment-cell .request-clamp:empty{display:none}.comment-cell select{margin:0}.ui-modal{border:1px solid var(--border)}@media(max-width:1280px){.toolbar,.lead-filters,.client-filters{flex-wrap:wrap}.toolbar>*{flex:180px}.toolbar>input:first-child{flex:240px}.period-filter{flex:420px}}@media(max-width:767px){.records-panel .records>table,.records>table{display:table!important}.records{border-radius:8px!important;overflow:auto!important}.records tr{background:var(--surface);border:0;margin:0;padding:0;display:table-row!important}.records td{border-bottom:1px solid var(--border)!important;padding:9px 12px!important;display:table-cell!important}.records td:before{display:none!important}.records th{display:table-cell!important}.records th:first-child,.records td:first-child{left:0}.records th:last-child,.records td:last-child{right:0}.toolbar,.lead-filters,.client-filters{flex-wrap:wrap;overflow:visible}.toolbar>*{flex:calc(50% - 8px);min-width:0}.toolbar>input:first-child{flex:100%}.period-filter{flex:100%;grid-template-columns:auto minmax(90px,1fr) auto minmax(90px,1fr)}.ui-status-menu{z-index:50}.ui-action-select{font-size:12px}.comment-cell{min-width:140px}.period-filter{grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);gap:4px}.period-filter input{width:100%;min-width:0;padding-inline:5px}.breadcrumbs{min-width:0}.breadcrumbs strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mobile-record-cards{display:none!important}}@media(max-width:1280px){.lead-filters,.client-filters,.quote-panel>.toolbar{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));align-items:end;display:grid}.lead-filters>*,.client-filters>*,.quote-panel>.toolbar>*{width:100%;min-width:0;max-width:100%}.lead-filters .period-filter,.client-filters .period-filter,.quote-panel>.toolbar .period-filter{grid-column:span 2}}@media(max-width:767px){.lead-filters,.client-filters,.quote-panel>.toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-filters>input:first-child,.client-filters>input:first-child,.quote-panel>.toolbar>input:first-child,.lead-filters .period-filter,.client-filters .period-filter,.quote-panel>.toolbar .period-filter{grid-column:1/-1}}@media(max-width:1280px){.lead-filters,.client-filters,.quote-panel>.toolbar{gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))!important;display:grid!important}.lead-filters>*,.client-filters>*,.quote-panel>.toolbar>*{grid-column:auto;flex:none!important;width:100%!important;min-width:0!important;max-width:100%!important}.lead-filters>input:first-child,.client-filters>input:first-child,.quote-panel>.toolbar>input:first-child,.lead-filters .period-filter,.client-filters .period-filter,.quote-panel>.toolbar .period-filter{grid-column:span 2}}@media(max-width:767px){.lead-filters>input:first-child,.client-filters>input:first-child,.quote-panel>.toolbar>input:first-child,.lead-filters .period-filter,.client-filters .period-filter,.quote-panel>.toolbar .period-filter{grid-column:1/-1}.lead-filters,.client-filters,.quote-panel>.toolbar{grid-template-columns:minmax(0,1fr)!important}.lead-filters>*,.client-filters>*,.quote-panel>.toolbar>*{grid-column:1/-1!important}.lead-filters select,.client-filters select,.quote-panel>.toolbar select{width:100%!important;min-width:0!important}.period-filter{grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr)!important}}.sidebar{gap:0;overflow:hidden}.sidebar-head .user-card{margin:0}.sidebar-head .urgent-link{margin:0 2px}.sidebar-nav{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#334155 transparent;flex:auto;min-height:0;overflow-y:auto}.sidebar-bottom{background:var(--sidebar-bg);flex:none;gap:10px;padding-top:10px;display:grid}.sidebar-bottom .sidebar-quick-task{min-height:36px}.sidebar-bottom .sidebar-footer{padding:0 4px 2px}.sidebar-section-label{padding-top:3px}.urgent-link{box-shadow:none!important}.ui-portal-menu{z-index:1200;border:1px solid var(--border);background:var(--surface);color:var(--text);border-radius:6px;padding:4px;overflow:auto;box-shadow:0 8px 24px #0f172a26!important}.ui-portal-menu button{background:var(--surface);text-align:left;white-space:nowrap;border:0;border-radius:4px;align-items:center;gap:8px;width:100%;min-height:36px;padding:7px 10px;font-size:12px;display:flex}.ui-portal-menu button:hover,.ui-portal-menu button[aria-selected=true]{background:#f1f5f9}.ui-portal-menu button svg{margin-left:auto}.ui-inline-select{border:1px solid var(--border);background:var(--surface);white-space:nowrap;border-radius:6px;align-items:center;gap:6px;width:auto;min-width:0;max-width:100%;height:32px;min-height:32px;padding:4px 7px;font-size:12px;display:inline-flex}.ui-status-label{white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:inline-flex}.ui-status-label .ui-dot{width:8px;height:8px}.ui-status-label .ui-dot--new{background:var(--status-new-dot)}.ui-status-label .ui-dot--negotiation{background:var(--status-negotiation-dot)}.ui-status-label .ui-dot--working{background:var(--status-working-dot)}.ui-status-label .ui-dot--ready{background:var(--status-ready-dot)}.ui-status-label .ui-dot--done{background:var(--status-done-dot)}.ui-status-label .ui-dot--muted{background:var(--status-muted-dot)}.records{scrollbar-width:auto;scrollbar-color:#94a3b8 var(--scroll-track);overflow:auto!important}.records::-webkit-scrollbar{height:12px}.ui-table-wrap::-webkit-scrollbar{height:12px}.records::-webkit-scrollbar-track{background:var(--scroll-track)}.ui-table-wrap::-webkit-scrollbar-track{background:var(--scroll-track)}.records::-webkit-scrollbar-thumb{border:3px solid var(--scroll-track);background:#94a3b8;border-radius:8px}.ui-table-wrap::-webkit-scrollbar-thumb{border:3px solid var(--scroll-track);background:#94a3b8;border-radius:8px}.records>table,.records-table,.clients-table,.leads-table,.quotes-table{table-layout:fixed;width:100%;min-width:0}.records th:first-child,.records td:first-child{z-index:4;background:var(--surface);position:sticky;left:0}.records th:first-child{z-index:6;background:var(--table-head-bg)}.records td:last-child,.records th:last-child{z-index:auto;background:inherit;min-width:0;position:static;right:auto}.records th:last-child{background:var(--table-head-bg)}.records tbody tr:hover td:first-child{background:var(--surface-2)}.records tbody tr.new-unassigned td:first-child{background:#fff8ee}.records td{min-width:0}.records td .ui-status-wrap,.records td .ui-action-select{max-width:none}.records-table th,.records-table td,.clients-table th,.clients-table td,.leads-table th,.leads-table td,.quotes-table th,.quotes-table td{overflow:visible}.ui-action-select{justify-content:space-between;align-items:center;gap:7px;padding-right:8px;display:inline-flex;position:relative}.ui-action-select option{white-space:nowrap}.source-admin{gap:10px;display:grid}.source-admin-list{gap:7px;padding-top:8px;display:grid}.source-admin-list span{border:1px solid var(--border);border-radius:5px;padding:7px 9px}.toolbar,.lead-filters,.client-filters,.quote-panel>.toolbar{align-items:center;gap:8px}.toolbar input,.toolbar select,.toolbar button,.toolbar .ui-select,.toolbar .ui-input,.toolbar .period-filter{height:36px;min-height:36px}.toolbar input,.toolbar select{padding-top:6px;padding-bottom:6px}.period-filter{border:1px solid var(--border-2);background:var(--surface);border-radius:6px;height:36px;min-height:36px;padding:0 7px}.period-filter input{border:0;height:30px;min-height:30px;margin:0;padding:3px}.period-filter span{white-space:nowrap;color:var(--text-2)}@media(max-width:767px){.records-panel .records>table,.records>table{display:none!important}.mobile-record-cards{gap:9px;display:grid!important}.record-card{padding:12px;border-radius:7px!important}.record-card-row{border-bottom:1px solid #eef0f2;justify-content:space-between;align-items:center;gap:12px;min-height:30px;display:flex}.record-card-row small{color:var(--text-2)}.record-card-row>span{text-align:right}.records{background:0 0!important;border:0!important;overflow:visible!important}.toolbar,.lead-filters,.client-filters,.quote-panel>.toolbar{grid-template-columns:minmax(0,1fr)!important}.toolbar>*,.lead-filters>*,.client-filters>*,.quote-panel>.toolbar>*{grid-column:1/-1!important;width:100%!important;min-width:0!important}.period-filter{grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr)!important}.sidebar{gap:0}.sidebar-nav{min-height:0}.sidebar-bottom{padding-bottom:max(4px,env(safe-area-inset-bottom))}}*,:before,:after{box-shadow:none!important;text-shadow:none!important}.brand-logo{border-radius:8px;box-shadow:none!important}.ui-badge,.badge,.contact-icons a{border-radius:6px!important}@media(min-width:1280px){.lead-filters,.client-filters{grid-template-columns:minmax(140px,1.5fr) repeat(4,minmax(95px,1fr)) minmax(245px,2fr);display:grid}.quote-panel>.toolbar{grid-template-columns:minmax(160px,1.5fr) repeat(3,minmax(100px,1fr)) minmax(245px,2fr);display:grid}.lead-filters>*,.client-filters>*,.quote-panel>.toolbar>*{width:100%;min-width:0}}@media(max-width:1279px)and (min-width:768px){.lead-filters,.client-filters,.quote-panel>.toolbar{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.lead-filters>*,.client-filters>*,.quote-panel>.toolbar>*{width:100%;min-width:0}.lead-filters>input:first-child,.client-filters>input:first-child,.quote-panel>.toolbar>input:first-child,.lead-filters .period-filter,.client-filters .period-filter,.quote-panel>.toolbar .period-filter{grid-column:span 2}}@media(min-width:768px)and (max-width:1100px){.urgent-link{justify-content:center;gap:3px;padding-inline:2px;font-size:9px}.urgent-link span{display:none}.urgent-link b{font-size:10px}.sidebar-brand{justify-content:center;padding:0}.sidebar-head .user-card{justify-content:center;padding:7px 0}.sidebar-head .urgent-link{width:42px;margin-inline:auto}.sidebar-nav{align-items:center}.sidebar-group{justify-items:center;width:100%}.sidebar-link{justify-content:center;width:48px;padding:0}.sidebar-link.is-active:before{left:-9px}.sidebar-quick-task{margin-inline:auto;justify-content:center!important;width:42px!important;min-width:42px!important;padding:4px!important}.sidebar-quick-task:not(.quick-icon){font-size:0}.sidebar-bottom .sidebar-footer{justify-content:center}.sidebar-bottom .site-link{display:none}}.ui-table-wrap{scrollbar-width:auto;scrollbar-color:#94a3b8 var(--scroll-track);overflow:auto}.ui-table-wrap .ui-table{table-layout:fixed;width:100%;min-width:0}.ui-table th:first-child,.ui-table td:first-child{z-index:3;background:var(--surface);position:sticky;left:0}.ui-table th:first-child{z-index:5;background:var(--table-head-bg)}.date-period-input{align-items:center;gap:2px;min-width:0;display:inline-flex}.date-period-input input{width:118px;min-width:0}.date-period-clear{width:24px;height:24px;color:var(--text-2);cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0;font-size:18px;line-height:1;display:inline-flex}.date-period-clear:hover{color:var(--text)}.date-period-clear:focus-visible{outline:2px solid var(--primary);outline-offset:1px}html,body,#root{width:100%;height:100%;min-height:0;overflow:hidden}.app-shell{height:100dvh;min-height:0;overflow:hidden}.sidebar{gap:7px;width:208px;padding:10px 9px 8px}.sidebar-head{flex:none;gap:6px;display:grid}.sidebar-brand{gap:8px;min-height:40px;padding:0 4px}.brand-logo{width:32px;height:32px;box-shadow:none;border-radius:6px}.sidebar-brand strong{font-size:11px}.sidebar-collapse{border:1px solid var(--sidebar-border);width:26px;height:26px;color:var(--sidebar-text);background:0 0;border-radius:5px;place-items:center;margin-left:auto;display:grid}.sidebar-nav{scrollbar-width:thin;scrollbar-color:#475569 transparent;flex:auto;gap:9px;min-height:0;padding:2px 0;overflow:hidden auto}.sidebar-group{gap:1px}.sidebar-section-label{margin:0 8px 2px;font-size:9px}.sidebar-link{border-radius:5px;gap:8px;height:36px;min-height:36px;padding:0 8px;font-size:11px}.sidebar-link.is-active:before{top:5px;bottom:5px;left:-9px}.urgent-link{border-radius:5px;height:29px;min-height:29px;padding:0 8px;font-size:11px}.sidebar-quick-task{height:34px;min-height:34px!important;padding:4px 7px!important;font-size:11px!important}.quick-plus{border-radius:4px;width:20px;height:20px}.user-card{gap:7px;padding:5px 3px}.user-signout{width:28px;height:28px}.sidebar-bottom{flex:none;gap:6px;display:grid}.sidebar-footer{min-height:30px}.locale-switch{border-radius:5px;padding:1px}.locale-switch button{min-height:23px}.site-link{font-size:10px}.app-main{flex-direction:column;height:100dvh;min-height:0;margin-left:208px;display:flex;overflow:hidden}.topbar{-webkit-backdrop-filter:none;backdrop-filter:none;flex:none;height:42px;min-height:42px;padding:0 16px;position:relative}.workspace{flex:1;width:100%;max-width:none;height:calc(100dvh - 42px);min-height:0;padding:12px 14px;overflow:hidden}.workspace>.panel,.workspace>.records-panel{flex-direction:column;height:100%;min-height:0;padding:12px;display:flex;overflow:hidden}.workspace>.module-section{flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.page-heading,.ui-page-header{gap:8px;margin-bottom:9px}.page-heading h1,.ui-page-header h1{font-size:20px}.page-heading .muted,.ui-page-header .muted{margin-top:3px}.toolbar,.action-row{gap:6px;margin-bottom:8px}.toolbar input,.toolbar select,.toolbar button,.toolbar .ui-select,.toolbar .ui-input{height:36px;min-height:36px;font-size:12px}.records,.ui-table-wrap{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#94a3b8 var(--scroll-track);flex:auto;min-height:0;overflow:auto hidden}.records table,.ui-table-wrap table{table-layout:fixed;border-collapse:collapse;width:100%;min-width:0}.records th,.ui-table th{z-index:4;white-space:nowrap;text-overflow:ellipsis;border-right:1px solid var(--border);border-bottom:1px solid var(--border);height:34px;padding:6px 7px;font-size:9px;position:sticky;top:0;overflow:hidden}.records td,.ui-table td{white-space:nowrap;text-overflow:ellipsis;border-right:1px solid var(--border);border-bottom:1px solid var(--border);height:40px;max-height:40px;padding:4px 7px;font-size:11px;line-height:1.2;overflow:hidden}.records th:last-child,.records td:last-child,.ui-table th:last-child,.ui-table td:last-child{border-right:0}.records td .ui-status,.records td .ui-inline-select,.records td .ui-action-select{white-space:nowrap;text-overflow:ellipsis;min-width:0;max-width:100%;overflow:hidden}.records .contact-icons{vertical-align:middle;gap:3px;margin-left:3px;display:inline-flex}.records-panel>.table-pagination,.table-pagination{flex:none;margin-top:6px}.table-pagination{min-height:28px;color:var(--text-2);justify-content:flex-end;align-items:center;gap:8px;font-size:10px;display:flex}.table-pagination label{align-items:center;gap:5px;display:flex}.table-pagination select,.table-pagination button{border:1px solid var(--border);background:var(--surface);border-radius:4px;height:26px;min-height:26px;padding:2px 6px;font-size:10px}.table-pagination button:disabled{opacity:.45;cursor:default}.records-table--projects col:first-child{width:31%!important}.records-table--projects col:nth-child(2){width:15%!important}.records-table--projects col:nth-child(3){width:14%!important}.records-table--projects col:nth-child(4){width:12%!important}.records-table--projects col:nth-child(5){width:13%!important}.records-table--projects col:nth-child(6){width:15%!important}.quotes-table col:nth-child(2){width:22%!important}.quotes-table col:nth-child(3){width:20%!important}.quotes-table col:nth-child(4){width:18%!important}.project-name,.comment-cell,.request-clamp,.records td>a,.records td>button{text-overflow:ellipsis;white-space:nowrap;vertical-align:middle;max-width:100%;display:inline-block;overflow:hidden}.stats{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:7px;margin:0 0 8px;display:grid}.stat{min-height:60px;box-shadow:none;border-radius:6px;padding:8px 10px}.stat strong{font-size:18px}.stat span{font-size:10px}.stat small{font-size:9px;line-height:1.1}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-height:0;display:grid}.dashboard-grid>.panel{box-shadow:none;border-radius:6px;min-width:0;padding:10px}.dashboard-grid h2{margin-bottom:6px;font-size:12px}.dashboard-grid .related,.dashboard-grid .status-line{min-height:26px;padding:4px 7px;font-size:10px}.quote-panel .stats{grid-template-columns:repeat(3,minmax(0,1fr))}.quote-panel>.toolbar{grid-template-columns:minmax(130px,1.3fr) repeat(3,minmax(90px,1fr)) minmax(220px,1.8fr);gap:5px;margin-bottom:7px;display:grid}.quote-panel>.toolbar>*{width:100%;min-width:0}.sidebar.is-collapsed{width:64px;padding:8px 6px}.sidebar.is-collapsed .sidebar-brand{justify-content:center;padding:0}.sidebar.is-collapsed .sidebar-brand>span:nth-child(2),.sidebar.is-collapsed .sidebar-section-label,.sidebar.is-collapsed .sidebar-link span,.sidebar.is-collapsed .user-card-copy,.sidebar.is-collapsed .sidebar-quick-task:not(.quick-icon),.sidebar.is-collapsed .site-link{display:none}.sidebar.is-collapsed .sidebar-collapse{width:22px;height:22px;position:absolute;top:12px;right:4px}.sidebar.is-collapsed .user-card,.sidebar.is-collapsed .sidebar-group,.sidebar.is-collapsed .sidebar-link{justify-content:center}.sidebar.is-collapsed .urgent-link{background:0 0;border:0;justify-content:center;padding:0}.sidebar.is-collapsed .urgent-link span{font-size:0;display:block}.sidebar.is-collapsed .sidebar-quick-task{margin:auto;justify-content:center!important;width:34px!important;min-width:34px!important;padding:4px!important}.sidebar.is-collapsed .sidebar-bottom .sidebar-footer{justify-content:center}.mobile-close{display:none}@media(max-width:1279px){.sidebar:not(.is-expanded){width:64px}.sidebar:not(.is-expanded) .sidebar-brand{justify-content:center;padding:0}.sidebar:not(.is-expanded) .sidebar-brand>span:nth-child(2),.sidebar:not(.is-expanded) .sidebar-section-label,.sidebar:not(.is-expanded) .sidebar-link span,.sidebar:not(.is-expanded) .user-card-copy,.sidebar:not(.is-expanded) .sidebar-quick-task:not(.quick-icon),.sidebar:not(.is-expanded) .site-link{display:none}.sidebar:not(.is-expanded) .sidebar-collapse{width:22px;height:22px;position:absolute;top:12px;right:4px}.sidebar:not(.is-expanded) .user-card,.sidebar:not(.is-expanded) .sidebar-group,.sidebar:not(.is-expanded) .sidebar-link{justify-content:center}.sidebar:not(.is-expanded) .urgent-link{background:0 0;border:0;justify-content:center;padding:0}.sidebar:not(.is-expanded) .urgent-link span{font-size:0}.sidebar:not(.is-expanded) .sidebar-quick-task{margin:auto;justify-content:center!important;width:34px!important;min-width:34px!important;padding:4px!important}.sidebar:not(.is-expanded) .sidebar-footer{justify-content:center}.sidebar:not(.is-expanded) .site-link{display:none}.sidebar.is-expanded{width:208px}.app-main{margin-left:64px}}@media(max-width:767px){.app-main{margin-left:0}.sidebar{transition:left .18s;left:-208px;width:208px!important}.sidebar.is-open{left:0}.sidebar.is-collapsed{left:-208px}.sidebar.is-open .sidebar-brand>span:nth-child(2),.sidebar.is-open .sidebar-section-label,.sidebar.is-open .sidebar-link span,.sidebar.is-open .user-card-copy,.sidebar.is-open .site-link{display:grid}.sidebar.is-open .sidebar-link{justify-content:flex-start}.sidebar.is-open .sidebar-collapse{display:none}.sidebar-scrim{z-index:39;background:#0b122080;border:0;display:block;position:fixed;inset:0}.mobile-menu{background:0 0;border:0;place-items:center;width:32px;height:32px;display:grid}.workspace,.workspace>.panel,.workspace>.records-panel{padding:8px}.dashboard-grid,.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.records-panel>.table-pagination{background:var(--surface);position:sticky;bottom:0}.leads-table col,.clients-table col,.quotes-table col{width:auto!important}}.date-range-filter{width:100%;min-width:110px;height:36px;position:relative}.date-range-filter>summary{border:1px solid var(--border-2);background:var(--surface);white-space:nowrap;text-overflow:ellipsis;cursor:pointer;border-radius:5px;justify-content:space-between;align-items:center;gap:8px;height:36px;padding:0 9px;list-style:none;display:flex;overflow:hidden}.date-range-filter>summary::-webkit-details-marker{display:none}.date-range-filter>summary:after{content:"⌄";color:var(--text-2)}.date-range-popover{z-index:30;border:1px solid var(--border);background:var(--surface);border-radius:6px;grid-template-columns:1fr 1fr;gap:8px;min-width:330px;padding:10px;display:grid;position:absolute;top:calc(100% + 4px);right:0;box-shadow:0 5px 15px #0f172a1a}.date-range-popover label{color:var(--text-2);gap:4px;font-size:10px;display:grid}.date-range-popover .date-period-input input{border:1px solid var(--border);border-radius:4px;width:100%;height:32px;padding:4px 6px}.app-main,.sidebar.is-expanded+.app-main{margin-left:208px}.sidebar.is-collapsed+.app-main{margin-left:64px}.project-name,.records td{text-overflow:ellipsis;overflow:hidden}@media(min-width:768px)and (max-width:1279px){.lead-filters,.client-filters{gap:5px;grid-template-columns:repeat(7,minmax(0,1fr))!important;display:grid!important}.lead-filters>input:first-child,.client-filters>input:first-child,.lead-filters .date-range-filter,.client-filters .date-range-filter{grid-column:span 2}.quote-panel>.toolbar{gap:5px;grid-template-columns:repeat(7,minmax(0,1fr))!important;display:grid!important}.quote-panel>.toolbar>input:first-child,.quote-panel>.toolbar .date-range-filter{grid-column:span 2}.lead-filters>*,.client-filters>*,.quote-panel>.toolbar>*{width:100%;min-width:0;max-width:100%}}.date-range-filter>summary{font-size:11px}.records td .table-link,.records td .request-clamp{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.leads-table td:nth-child(7){font-size:10px}.leads-table td:nth-child(4){white-space:nowrap}.sidebar .sidebar-brand{position:relative}.sidebar.is-expanded .sidebar-collapse{margin-left:auto}@media(max-width:767px){.records{flex:auto;min-height:0;overflow:auto!important}.records-panel .records>table{display:table!important}.records .mobile-record-cards{display:none!important}.records td,.records th{padding:4px 3px;font-size:9px}.records .ui-status,.records .ui-action-select,.records .ui-inline-select{padding-inline:3px!important;font-size:9px!important}.leads-table td:nth-child(4) small{display:none}.leads-table td:nth-child(4){font-size:9px}}@media(min-width:768px){.records-panel .mobile-record-cards{display:none!important}}@media(max-width:767px){.sidebar.is-open{width:208px!important;left:0!important}.sidebar.is-collapsed+.app-main{margin-left:0!important}.quote-grid{grid-template-columns:minmax(0,1fr)!important}.quote-summary{order:-1;position:relative!important}.date-range-popover{grid-template-columns:1fr;min-width:min(330px,100vw - 32px);left:auto;right:0}.table-pagination{flex-wrap:wrap;justify-content:space-between;gap:4px}}@media(min-width:768px){.quote-grid{grid-template-columns:minmax(0,1fr) 300px;min-height:0}.quote-panel>.quote-grid{overscroll-behavior:contain;flex:1;overflow:auto}}.records,.ui-table-wrap{width:100%;min-width:0;box-shadow:none;border-radius:8px;overflow:auto}.records table,.ui-table{table-layout:fixed;border-collapse:collapse;width:100%}.records th,.ui-table th{white-space:nowrap;text-overflow:ellipsis;height:40px;padding:7px 8px;overflow:hidden}.records td,.ui-table td{white-space:nowrap;text-overflow:ellipsis;border-right:1px solid var(--border);border-bottom:1px solid var(--border);height:44px;padding:5px 8px;overflow:hidden}.records th:not(:last-child),.ui-table th:not(:last-child){border-right:1px solid var(--border)}.records td:last-child,.ui-table td:last-child,.records th:last-child,.ui-table th:last-child{border-right:0}.data-table col:last-child,.records-table col:last-child,.leads-table col:last-child,.clients-table col:last-child,.quotes-table col:last-child{width:140px!important}.ui-status-wrap,.ui-action-select,.ui-inline-select{vertical-align:middle;white-space:nowrap;align-items:center;min-width:0;max-width:100%;height:32px;min-height:32px;display:inline-flex;overflow:hidden}.ui-status{white-space:nowrap;text-overflow:ellipsis;border:1px solid var(--border);background:var(--surface);border-radius:6px;flex:0 auto;max-width:100%;height:32px;min-height:32px;padding:0 7px;font-size:11px;display:inline-flex;overflow:hidden}.ui-status>span,.ui-inline-select>span,.ui-action-select>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ui-status-wrap{width:auto}.ui-inline-select,.ui-action-select{border:1px solid var(--border);background:var(--surface);border-radius:6px;gap:5px;height:32px;padding:0 7px;font-size:11px;line-height:1}.ui-action-select{justify-content:space-between;width:140px}.ui-status svg,.ui-inline-select svg,.ui-action-select svg{flex:none;margin-left:auto}.ui-status-label{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:6px;max-width:100%;display:inline-flex;overflow:hidden}.ui-status-label .ui-dot{flex:none}.records td .request-clamp,.records td button:not(.ui-inline-select):not(.ui-status):not(.ui-action-select){min-height:0;box-shadow:none;text-align:left;background:0 0;border:0;padding:0}.records td .request-clamp{color:var(--text-2)}.records-panel,.panel,.stat,.ui-kpi{box-shadow:none;border-radius:8px}.records-panel{min-width:0}.records td .block{white-space:nowrap;display:inline}.records .contact-icons a{width:26px;height:26px}.ui-segmented{border-radius:6px;width:max-content;max-width:100%;padding:2px}.ui-segmented button{min-height:30px;padding:4px 9px}.chart{height:200px;min-height:0;max-height:200px;overflow:hidden}.date-range-filter{width:auto;min-width:130px}.date-range-filter>summary{border-radius:6px}.purchase-status-filter{width:220px!important;min-width:220px!important;max-width:220px!important}.company-settings-numbers{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.simple-empty-value{color:var(--text-3);cursor:pointer;background:0 0;border:0;padding:0}.overhead-page>.module-section>.page-heading h2{display:none}.overhead-totals{gap:8px;margin:0 0 8px;padding:4px 0;display:flex;overflow:auto}.overhead-totals>div{border:1px solid var(--border);background:var(--surface);border-radius:6px;grid-template-columns:1fr auto;align-items:center;gap:2px 8px;min-width:128px;padding:6px 9px;display:grid}.overhead-totals span{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text-2);font-size:10px;overflow:hidden}.overhead-totals strong{font-size:11px}.overhead-totals small{color:var(--text-3);grid-column:1/-1;font-size:10px}.finance-page{flex-direction:column;flex:auto;gap:8px;min-width:0;min-height:0;display:flex;overflow:hidden}.finance-heading{flex:none;justify-content:space-between;align-items:center;gap:8px;display:flex}.finance-heading h1{font-size:20px}.finance-secondary-actions{align-items:center;gap:6px;display:flex}.finance-secondary-actions button{border:1px solid var(--border);background:var(--surface);white-space:nowrap;border-radius:6px;height:32px;padding:4px 9px;font-size:11px}.finance-page>.toolbar{flex:none;margin:0}.finance-page>.finance-total{flex:none;min-height:48px;margin:0;padding:6px 10px}.finance-report-grid{flex:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-height:0;display:grid;overflow:hidden}.finance-report-panel,.finance-cashflow-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden;height:100%!important;padding:9px!important}.finance-report-panel h2{flex:none;margin:0 0 5px;font-size:13px}.finance-report-panel .chart{flex:none;height:130px;min-height:130px;max-height:130px}.finance-report-panel>.records{flex:auto;min-height:0;overflow:auto}.finance-report-panel>.table-pagination,.finance-payment-filters{flex:none}.finance-page>.toolbar>label{white-space:nowrap;align-items:center;gap:4px;min-width:0;display:flex}.finance-page>.toolbar .date-period-input input{flex:none;width:118px;min-width:118px;max-width:118px}.finance-page>.toolbar .ui-segmented{flex:none;margin-left:auto}.finance-cashflow-panel>.module-section,.finance-cashflow-panel .records{flex:auto;min-height:0}.company-settings-page{flex:auto;grid-template-rows:auto minmax(0,.88fr) minmax(0,1.12fr);gap:6px;min-width:0;min-height:0;display:grid;overflow:hidden}.company-settings-heading{justify-content:space-between;align-items:center;min-height:0;display:flex}.company-settings-heading .eyebrow{margin:0;font-size:9px}.company-settings-heading h1{font-size:20px}.company-settings-page>.panel{min-height:0;overflow:hidden;height:auto!important;padding:8px!important}.company-settings-page>.panel:not(.company-settings-panel){padding:5px!important}.company-settings-page>.panel h2{margin:0 0 5px;font-size:13px}.company-settings-panel form{gap:4px}.company-settings-panel form>.form-grid{gap:3px 8px;margin-top:5px}.company-settings-page>.panel:not(.company-settings-panel) form>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.company-settings-page label{gap:2px;font-size:10px;margin-bottom:4px!important}.company-settings-page input:not([type=checkbox]),.company-settings-page textarea{height:30px;min-height:30px;padding:4px 7px;font-size:11px}.company-settings-page textarea{height:48px;min-height:48px}.company-settings-page form>div:last-child{margin-top:2px}.company-settings-page form>footer{gap:6px;margin-top:0!important}.company-settings-page form>footer button{height:28px;min-height:28px;padding:3px 9px;font-size:10px}.company-settings-page>.panel:not(.company-settings-panel) form>.form-grid{gap:3px 8px;margin-top:5px}.company-settings-page>.panel:not(.company-settings-panel) label{gap:1px;font-size:9px;line-height:1.1;margin-bottom:1px!important}.company-settings-page>.panel:not(.company-settings-panel) input:not([type=checkbox]),.company-settings-page>.panel:not(.company-settings-panel) textarea{height:25px;min-height:25px;padding:2px 6px;font-size:10px;line-height:1.1}.company-settings-page>.panel:not(.company-settings-panel) textarea{height:34px;min-height:34px}.company-settings-page>.panel:not(.company-settings-panel) form>div:last-child{margin-top:0}.company-settings-page>.panel:not(.company-settings-panel) form>.form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px 12px}.company-settings-page>.panel:not(.company-settings-panel) form>.form-grid label:has(input[type=color]){grid-template-columns:40px 1fr;align-items:center;gap:6px;display:grid}.company-settings-page input[type=color],.color-input-swatch{width:40px;height:32px;min-height:32px;padding:2px}.company-settings-page>.panel:not(.company-settings-panel) form>footer{background:var(--surface);padding:5px 0;position:sticky;bottom:0}.company-settings-page>.panel:not(.company-settings-panel) form>footer button{height:28px;min-height:28px;padding:3px 9px}.color-input-pair{align-items:center;gap:8px;min-width:0;display:flex}.color-input-hex{width:96px;min-width:96px;font-family:ui-monospace,monospace}.company-logo-picker{align-items:center;gap:8px;margin:0 0 8px;display:flex}.company-logo-picker input[type=file]{display:none!important}.company-logo-picker-button{border:1px solid var(--border);background:var(--surface);min-height:32px;color:var(--text);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;padding:4px 10px;font-size:11px;display:inline-flex}.company-logo-picker-button:hover{border-color:var(--primary);color:var(--primary)}.company-logo-preview{object-fit:contain;border:1px solid var(--border);background:var(--surface);border-radius:6px;width:40px;height:40px}.ui-status-wrap{vertical-align:middle;max-width:100%;display:inline-flex}.ui-status,.ui-inline-select,.ui-action-select{white-space:nowrap;text-align:left;flex-flow:row;justify-content:flex-start;align-items:center;gap:6px;height:30px;min-height:30px;padding:3px 7px;font-size:12.5px;line-height:1;display:inline-flex;overflow:visible}.ui-status{min-width:150px}.ui-inline-select{min-width:130px}.ui-action-select{justify-content:space-between;width:100%;min-width:100px;max-width:100%;padding-inline:7px}.ui-status>span,.ui-inline-select>span,.ui-action-select>span{text-align:left;white-space:nowrap;text-overflow:clip;flex:none;min-width:max-content;overflow:visible}.ui-status>i,.ui-status>svg,.ui-inline-select>svg,.ui-action-select>svg{flex:none}.records th,.ui-table th{overflow-wrap:anywhere;max-width:none;height:44px;line-height:1.15;white-space:normal!important;text-overflow:clip!important;overflow-wrap:normal!important;word-break:normal!important;-webkit-hyphens:none!important;hyphens:none!important;overflow:visible!important}.clients-table th:nth-child(7),.clients-table th:nth-child(8){white-space:nowrap!important}.records td,.ui-table td{height:44px;padding-inline:6px}.contact-phone{white-space:nowrap;-webkit-user-select:text;user-select:text;font-variant-numeric:tabular-nums;max-width:100%;display:inline-block}.records .contact-icons{vertical-align:middle;gap:4px;margin:0 0 0 4px;display:inline-flex}.records .contact-icons a{place-items:center;width:24px;height:24px;display:inline-grid}.date-range-filter{flex:none;width:150px;min-width:150px;max-width:100%;height:36px;box-shadow:none!important;background:0 0!important;border:0!important}.date-range-filter>summary{white-space:nowrap;align-items:center;width:100%;height:36px;display:flex;border:1px solid var(--border-2)!important;background:var(--surface)!important;box-shadow:none!important}.toolbar{flex-flow:row;align-items:center;gap:8px;min-width:0;display:flex}.toolbar>*{flex:0 auto;height:36px;min-height:36px}@media(min-width:1100px){.lead-filters,.client-filters,.quote-panel>.toolbar{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;align-items:center;gap:8px;flex-wrap:nowrap!important;grid-template-columns:minmax(150px,2fr) repeat(3,minmax(110px,1fr)) minmax(100px,1fr) 150px!important;display:grid!important}.lead-filters>*,.client-filters>*,.quote-panel>.toolbar>*{width:100%;min-width:0;max-width:100%}.lead-filters input:first-child,.client-filters input:first-child,.quote-panel>.toolbar>input:first-child{grid-column:auto}}.records,.ui-table-wrap{width:100%;min-width:0;max-width:100%;overflow-y:auto;overflow-x:hidden!important}.records>table,.records-table,.clients-table,.leads-table,.quotes-table,.ui-table-wrap .ui-table{table-layout:fixed;max-width:100%;width:100%!important;min-width:0!important}.records td,.records th,.ui-table td,.ui-table th{min-width:0}.leads-table col:nth-child(6),.leads-table col:nth-child(7){width:9%!important}.clients-table col:first-child,.clients-table col:nth-child(2){width:7.5%!important}.clients-table col:nth-child(10){width:16%!important}.quotes-table col:first-child,.quotes-table col:nth-child(2),.quotes-table col:nth-child(3),.quotes-table col:nth-child(4){width:21%!important}.quotes-table col:nth-child(5),.records-table col:last-child,.leads-table col:last-child,.clients-table col:last-child,.quotes-table col:last-child{width:16%!important}.ui-kpi{min-width:0}.stock-warning-dot{vertical-align:middle;background:#dc2626;border-radius:50%;width:8px;height:8px;margin-left:6px;display:inline-block}.finance-report-panel .chart{height:160px!important;min-height:100px!important;max-height:160px!important}.finance-report-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}.finance-cashflow-panel{min-height:0;height:max-content!important}.catalog-page-heading,.company-settings-heading,.finance-heading{flex:0 0 64px;align-items:center;width:100%;height:64px;min-height:64px;margin:0;display:flex}.catalog-page-heading,.company-settings-heading,.finance-heading,.workspace>.ui-page-header,.workspace>.page-heading,.workspace .records-panel>.ui-page-header,.workspace .records-panel>.page-heading,.workspace .module-section>.page-heading,.workspace .overhead-page>.page-heading{flex-wrap:nowrap}.catalog-page-heading>div,.company-settings-heading>div,.ui-page-header>div{min-width:0}.ui-page-header,.workspace>.page-heading,.workspace .records-panel>.ui-page-header,.workspace .records-panel>.page-heading,.workspace .module-section>.page-heading,.workspace .overhead-page>.page-heading{flex:0 0 64px;align-items:center;height:64px;min-height:64px;margin:0}.ui-page-actions{white-space:nowrap;flex:none;justify-content:flex-end;align-items:center;margin-left:auto!important}.ui-page-actions>.action-row{flex-wrap:nowrap;margin:0}.catalog-model-list>.page-heading,.catalog-model-list>.page-heading h2{display:none}.company-settings-panel .page-heading{margin-bottom:3px}.company-settings-panel .page-heading h2{font-size:13px}.table-open-button{min-height:26px;color:var(--text-2);white-space:nowrap;border-radius:4px;justify-content:center;align-items:center;font-size:10px;display:inline-flex;border:1px solid var(--border)!important;background:var(--surface)!important;padding:3px 8px!important}.table-open-button:hover{color:var(--primary);border-color:var(--primary)!important}@media(max-width:1220px){.records th:last-child,.records td:last-child{width:48px!important;min-width:48px!important;max-width:48px!important}.records .ui-action-select{width:40px;min-width:40px;max-width:40px;padding:3px 5px}.records .ui-action-select>span,.records .ui-action-select>svg{display:none}.records .ui-action-select:after{content:"⋯";font-size:20px;line-height:1}.records th:last-child{font-size:0!important}.records th:last-child:after{content:"⋯";font-size:16px;line-height:1}}@media(max-width:767px){.finance-report-grid{grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr)}.finance-secondary-actions{overflow-x:auto}.company-settings-page{grid-template-rows:auto minmax(0,.9fr) minmax(0,1.1fr)}.records-panel .records>table{display:none}.mobile-record-cards{gap:10px;display:grid}.records td,.records th{height:44px;padding:4px 3px}.records .ui-status,.records .ui-action-select,.records .ui-inline-select{font-size:10px!important}}.resource-toolbar{flex-wrap:nowrap;align-items:center;gap:8px;width:100%;min-width:0;display:flex}.resource-toolbar>input{flex:auto;width:auto;min-width:160px}.resource-toolbar>select,.resource-toolbar>.portal-select-trigger{flex:0 0 240px;width:240px;min-width:0}.portal-select-trigger{border:1px solid var(--border-2);background:var(--surface);width:100%;min-width:0;height:36px;min-height:36px;color:var(--text);text-align:left;white-space:nowrap;border-radius:5px;justify-content:space-between;align-items:center;gap:8px;padding:0 10px;font-size:12px;display:inline-flex}.portal-select-trigger>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.ui-portal-select-menu{overscroll-behavior:contain;scrollbar-width:thin;max-height:min(40vh,360px);overflow:hidden auto}.ui-portal-select-menu button{min-height:36px}.module-section>.records{flex:1 1 0;min-height:0}.records-count{min-height:26px;color:var(--text-2);flex:none;justify-content:flex-end;align-items:center;padding:4px 8px;font-size:10px;display:flex}.inventory-data-table{table-layout:fixed;width:100%;min-width:0}.inventory-data-table th,.inventory-data-table td{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.inventory-data-table td[title]{cursor:default}.material-category-add{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-bottom:14px;display:grid}.material-category-list{gap:8px;max-height:min(60vh,560px);display:grid;overflow:auto}.material-category-row{border:1px solid var(--border);border-radius:6px;grid-template-columns:minmax(0,1fr) auto auto auto auto;align-items:center;gap:8px;padding:8px;display:grid}.material-category-row>strong,.material-category-row>input{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.material-category-row>small{white-space:nowrap;color:var(--text-3);font-size:11px}.material-category-row button{white-space:nowrap;min-height:30px;padding:4px 8px}.material-category-in-use{grid-column:1/-1;font-size:11px}.inventory-data-table col:first-child{width:17%!important}.inventory-data-table col:nth-child(2),.inventory-data-table col:nth-child(3){width:8%!important}.inventory-data-table col:nth-child(4){width:14%!important}.inventory-data-table col:nth-child(5){width:9%!important}.inventory-data-table col:nth-child(6),.inventory-data-table col:nth-child(7){width:7%!important}.inventory-data-table col:nth-child(8){width:12%!important}.inventory-data-table col:nth-child(9){width:8%!important}.inventory-data-table col:nth-child(10){width:10%!important}.inventory-installer-table col:first-child{width:25%!important}.inventory-installer-table col:nth-child(2){width:11%!important}.inventory-installer-table col:nth-child(3){width:12%!important}.inventory-installer-table col:nth-child(4){width:20%!important}.inventory-installer-table col:nth-child(5){width:10%!important}.inventory-installer-table col:nth-child(6){width:7%!important}.inventory-installer-table col:nth-child(7){width:5%!important}.inventory-installer-table col:nth-child(8){width:10%!important}@media(max-width:767px){.resource-toolbar{flex-wrap:wrap}.resource-toolbar>input,.resource-toolbar>select,.resource-toolbar>.portal-select-trigger{flex:100%;width:100%}.material-category-row{grid-template-columns:minmax(0,1fr) auto;align-items:start}.material-category-row button{grid-column:auto}.material-category-in-use{grid-column:1/-1}}.workspace>.ui-page-header,.workspace>.page-heading,.workspace>.records-panel>.ui-page-header,.workspace>.records-panel>.page-heading,.workspace>.module-section>.page-heading,.workspace>.overhead-page>.page-heading,.workspace>.finance-page>.finance-heading,.workspace>.catalog-page>.catalog-page-heading,.workspace>.company-settings-page>.company-settings-heading,.workspace .module-section>.ui-page-header{flex-wrap:nowrap;flex:0 0 64px;align-items:center;width:100%;height:64px;min-height:64px;margin:0;position:relative}.workspace>.records-panel{padding-top:0!important}.ui-page-header>div:first-child,.catalog-page-heading>div:first-child,.company-settings-heading>div:first-child{flex:auto;min-width:0;height:64px;position:relative}.ui-page-header .eyebrow,.catalog-page-heading .eyebrow,.company-settings-heading .eyebrow{margin:0;line-height:12px;position:absolute;top:1px;left:0}.ui-page-header h1,.catalog-page-heading h1,.company-settings-heading h1{white-space:nowrap;margin:0;line-height:24px;position:absolute;top:16px;left:0}.ui-page-header .muted{white-space:nowrap;line-height:14px;position:absolute;top:42px;left:0;margin:0!important}.ui-page-header>.ui-page-actions,.catalog-page-heading>.ui-page-actions{white-space:nowrap;margin-left:auto}.workspace>.page-heading>h1,.workspace>.page-heading>h2,.workspace>.module-section>.page-heading>h1,.workspace>.module-section>.page-heading>h2,.workspace>.overhead-page>.page-heading>h1,.workspace>.finance-page>.finance-heading>h1{white-space:nowrap;margin:0;line-height:24px;position:absolute;top:16px;left:0}.workspace>.page-heading>.action-row,.workspace>.module-section>.page-heading>.action-row,.workspace>.overhead-page>.page-heading>.action-row{white-space:nowrap;flex-wrap:nowrap;align-items:center;margin:0 0 0 auto}.workspace>.finance-page>.finance-heading>.finance-secondary-actions{margin-left:auto}.workspace>.records-panel>.ui-page-header{padding-top:0}.quotes-page,.catalog-page{flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.quotes-page>.ui-page-header,.catalog-page>.catalog-page-heading,.quotes-page>.stats{flex:none}.quotes-list-area{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:hidden}.quotes-list-area>.quote-list-panel,.quotes-list-area>.quote-panel{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.quote-list-panel>.records{flex:auto;min-height:0;overflow:auto}.catalog-page>.catalog-model-list{flex-direction:column;flex:auto;min-width:0;min-height:0;display:flex;overflow:hidden;height:auto!important}.catalog-model-list>.ui-table-wrap{flex:auto;min-height:0;overflow:auto}.company-settings-page{grid-template-rows:64px minmax(0,.95fr) minmax(0,1.05fr);height:100%}.company-settings-panel form>.form-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.overhead-page>.page-heading{gap:8px}.overhead-page{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex;overflow:hidden}.overhead-page>.overhead-totals{flex:none;min-width:0;overflow:hidden}.overhead-page>.module-section{flex-direction:column;flex:1 1 0;min-height:0;display:flex;overflow:hidden;height:auto!important}.overhead-page>.page-heading>.action-row{gap:5px}.overhead-page>.page-heading>.action-row>*{flex:none}.overhead-page>.page-heading .date-period-input input{width:82px;min-width:82px}.overhead-page>.page-heading>.action-row button{padding-inline:7px;font-size:10px}.clients-table col:first-child{width:110px!important}.clients-table col:nth-child(2){width:135px!important}.clients-table col:nth-child(3){width:130px!important}.clients-table col:nth-child(4){width:105px!important}.clients-table col:nth-child(5){width:120px!important}.clients-table col:nth-child(6){width:34px!important}.clients-table col:nth-child(7){width:88px!important}.clients-table col:nth-child(8){width:92px!important}.clients-table col:nth-child(9){width:70px!important}.clients-table td:nth-child(5) .contact-icons,.leads-table td:nth-child(4) .contact-icons{vertical-align:middle;margin:0 0 0 4px;display:inline-flex}.clients-table td:nth-child(5),.leads-table td:nth-child(4){white-space:nowrap}.leads-table td:nth-child(4) small{white-space:normal;display:block}.clients-table td:nth-child(5) .contact-phone,.leads-table td:nth-child(4) .contact-phone{font-size:9px}.leads-table td:nth-child(3) .ui-inline-select,.clients-table td:nth-child(3) .ui-inline-select{max-width:none;min-width:130px!important}.leads-table td:nth-child(6) .ui-inline-select,.clients-table td:nth-child(7) .ui-inline-select{max-width:none;min-width:90px!important}.leads-table td:nth-child(8) .ui-status,.clients-table td:nth-child(2) .ui-status{width:150px;max-width:150px;min-width:150px!important}.leads-table td:nth-child(4),.clients-table td:nth-child(5){font-size:10px}.leads-table td:nth-child(4) .contact-icons a,.clients-table td:nth-child(5) .contact-icons a{width:24px;height:24px}.leads-table td:nth-child(2),.clients-table td:nth-child(6),.leads-table td:nth-child(7),.clients-table td:nth-child(9){font-size:10px}.records td[title],.records td button[title]{cursor:default}.records td .request-clamp{cursor:pointer}@media(min-width:1221px){.leads-table col:last-child,.clients-table col:last-child{width:100px!important}}@media(max-width:1220px){.leads-table col:last-child,.clients-table col:last-child{width:48px!important}.records .ui-action-select{min-width:40px!important}.clients-table col:first-child{width:11.3%!important}.clients-table col:nth-child(2){width:15.3%!important}.clients-table col:nth-child(3){width:13.3%!important}.clients-table col:nth-child(4){width:12%!important}.clients-table col:nth-child(5){width:9.5%!important}.clients-table col:nth-child(6){width:5.9%!important}.clients-table col:nth-child(7){width:10.1%!important}.clients-table col:nth-child(8){width:10%!important}.clients-table col:nth-child(9){width:7.7%!important}.clients-table col:nth-child(10){width:4.9%!important}}.clients-table th:nth-child(6){white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important}.company-settings-page{grid-template-rows:64px auto minmax(0,1fr)}.company-settings-page>.company-settings-panel{align-self:start}.company-settings-page>.panel:not(.company-settings-panel) form>.form-grid label:has(input[type=color]){flex-direction:column;align-items:flex-start;gap:4px;display:flex}@media(min-width:1221px){.clients-table col:nth-child(6){width:64px!important}}@media(max-width:767px){.records-panel .records>table{display:none!important}.records-panel .mobile-record-cards{display:grid!important}.workspace .records-panel>.ui-page-header{flex-wrap:wrap;flex:none;align-items:flex-start;height:auto;min-height:64px}.workspace .records-panel>.ui-page-header>.ui-page-actions{justify-content:flex-end;width:100%;overflow:visible}.workspace .records-panel>.ui-page-header>.ui-page-actions>.action-row{margin:0}}.ui-modal:has(.quote-share-dialog){width:min(520px,100%);max-width:520px;overflow:auto}.ui-modal:has(.quote-share-dialog) .ui-modal-body{min-width:0;overflow-x:hidden}.quote-share-dialog{gap:10px;width:100%;min-width:0;display:grid}.quote-share-field{min-width:0;color:var(--text-2);gap:5px;font-size:12px;display:grid}.quote-share-field select,.quote-share-field textarea{width:100%;min-width:0;max-width:100%}.quote-share-field textarea{resize:vertical;min-height:76px}.quote-share-actions{grid-template-columns:minmax(0,1fr);gap:7px;width:100%;min-width:0;margin-top:2px;display:grid}.quote-share-actions button{white-space:normal;overflow-wrap:anywhere;width:100%;min-width:0;min-height:38px}.quote-share-channel{min-width:0}.quote-share-hint{color:var(--text-2);margin:3px 2px 1px;font-size:11px;line-height:1.35}.quote-share-copied{color:var(--status-done);margin:0;font-size:12px}@media(max-width:767px){.ui-modal:has(.quote-share-dialog){width:100%;max-width:100%;max-height:94dvh}.quote-share-actions button{min-height:44px}}.quote-builder-panel{flex-direction:column;min-height:0;display:flex;overflow:hidden}.quote-panel>.quote-grid{overscroll-behavior:contain;flex:auto;min-height:0;padding-bottom:12px;overflow:auto}.quote-panel>.quote-builder-actions{z-index:1;border-top:1px solid var(--border);background:var(--surface);flex:none;justify-content:flex-end;gap:8px;margin:10px 0 0;padding:8px 0 0;position:relative}.quote-panel>.quote-builder-actions button{flex:none}@media(max-width:767px){.quote-panel>.quote-grid{overflow:auto}.quote-panel>.quote-builder-actions{flex-wrap:wrap}.quote-panel>.quote-builder-actions button{flex:140px;min-height:44px}}@media(min-width:1100px){.lead-filters .date-range-filter,.client-filters .date-range-filter,.quote-panel>.toolbar .date-range-filter,.lead-filters .period-filter,.client-filters .period-filter,.quote-panel>.toolbar .period-filter{grid-column:auto!important}}.quote-panel details.date-range-filter{border:0;border-radius:0;padding:0}.quote-panel details.date-range-filter>summary{font-weight:400}@media(min-width:1100px){.lead-filters,.client-filters{grid-template-columns:minmax(150px,2fr) repeat(4,minmax(0,1fr)) 150px!important}.quote-panel>.toolbar{grid-template-columns:minmax(150px,2fr) repeat(3,minmax(0,1fr)) 150px!important}.lead-filters>*,.client-filters>*,.quote-panel>.toolbar>*{width:100%;min-width:0!important}.lead-filters>.date-range-filter,.client-filters>.date-range-filter,.quote-panel>.toolbar>.date-range-filter{width:150px}}.quote-summary .spec-row{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:6px 8px;padding-bottom:8px}.quote-summary .spec-row input:not([type=checkbox]){text-overflow:ellipsis;width:100%;min-width:0;padding-inline:8px;font-size:12px}.quote-summary .spec-row>label.check,.quote-summary .spec-row>button{grid-column:1/-1;font-size:11px}.quote-builder-panel>h2{margin:0 0 4px;font-size:18px}.quote-builder-panel .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:min-content;align-content:start;align-items:end;gap:8px 12px;margin-top:4px}.quote-builder-panel .quote-grid{align-items:start;gap:14px}.quote-builder-panel .form-grid>label,.quote-builder-panel .field-lock label{gap:3px;font-size:11px}.quote-builder-panel .form-grid>.spec-editor,.quote-builder-panel .form-grid>.notice,.quote-builder-panel .form-grid>.area-preview,.quote-builder-panel .form-grid>.panel{grid-column:1/-1}.quote-builder-panel .form-grid input[type=range]{align-self:center;height:20px;min-height:0;padding:0}.quote-builder-panel .form-grid .toolbar{gap:6px;height:auto}.quote-builder-panel .form-grid .toolbar button{height:34px;min-height:34px;padding:0 10px;font-size:12px}.quote-builder-panel .form-grid input:not([type=checkbox]):not([type=range]),.quote-builder-panel .form-grid select{height:34px;min-height:34px;padding-top:4px;padding-bottom:4px}.quote-summary{gap:6px;padding:12px}.quote-summary p{margin:0}.quote-summary .spec-row{border:0;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) auto;gap:6px;padding:0}.quote-summary .spec-row>label.check.pdf-toggle{grid-column:auto;gap:0;font-size:0}.quote-summary .spec-row>label.check.pdf-toggle:after{content:"PDF";color:var(--text-2);margin-left:4px;font-size:10px}.quote-summary .spec-row input:not([type=checkbox]){height:30px;min-height:30px}@media(min-width:1400px){.quote-builder-panel .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.quote-builder-panel .quote-grid{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:767px){.quote-builder-panel .form-grid{grid-template-columns:1fr}}.quotes-list-area>button{height:32px;min-height:32px;margin-bottom:6px;font-size:12px}.finance-report-panel .chart{align-items:flex-end;padding:26px 14px 14px;overflow-y:visible;height:auto!important;min-height:190px!important;max-height:none!important}.finance-report-panel .chart-column>span{white-space:nowrap;font-size:11px;font-weight:600}.finance-report-panel .year-chart-head{justify-content:space-between;align-items:center;gap:12px;margin:2px 0 4px;display:flex}.finance-report-panel .year-chart-head label{align-items:center;gap:8px;font-size:12px;display:flex}.finance-report-panel .year-chart-head select{width:auto;height:32px;min-height:32px;padding:2px 26px 2px 8px}.year-chart-hint{color:var(--text-2);text-align:right;font-size:11px}.finance-report-panel .year-chart{grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:6px;padding:24px 4px 8px;display:grid;overflow-x:auto;height:auto!important;min-height:230px!important}.year-chart .chart-column{text-align:center;justify-content:flex-end;align-items:center;gap:4px;min-width:0}.year-chart .chart-column>span{white-space:nowrap;font-size:10px;font-weight:600}.year-chart .chart-bar{width:60%;max-width:34px}.year-chart .chart-column>small{text-transform:capitalize;font-size:11px;font-weight:600}.year-chart .chart-detail{color:var(--text-2);white-space:nowrap;font-size:9px;font-style:normal;line-height:1.3}.year-chart .chart-delta{white-space:nowrap;font-size:10px;font-weight:600}.year-chart .chart-delta.up{color:#15803d}.year-chart .chart-delta.down{color:#e11d48}.year-chart .chart-column.is-empty{opacity:.45}@media(max-width:767px){.finance-report-panel .year-chart{grid-template-columns:repeat(12,64px)}}:root{--bg:#f2f5f9;--surface:#fff;--surface-2:#f6f8fc;--border:#e0e6ef;--border-2:#cdd6e3;--scroll-track:#e9eef5;--text:#1b2638;--text-2:#51607a;--text-3:#6b7a93;--table-head-bg:#edf1f8;--table-head-text:#4a5873;--primary-soft:#e8f0fe}html[data-theme=dark]{color-scheme:dark;--bg:#1a2234;--surface:#242f45;--surface-2:#2d3a54;--border:#3b496a;--border-2:#4a5a7f;--scroll-track:#2d3a54;--text:#f0f3f9;--text-2:#bac5d9;--text-3:#9aa8c2;--table-head-bg:#2a3650;--table-head-text:#bac5d9;--sidebar-bg:#131a2b;--sidebar-border:#2a3652;--sidebar-hover:#1e2840;--primary-soft:#172a57;--danger-bg:#3b1620;--danger:#fca5a5;--warn-bg:#3a2b0d;--warn:#fcd34d;--accent-text:#67e8f9;--status-done-bg:#0f2f1e;--status-done:#86efac;--status-muted-bg:#222d44;--status-muted:#b7c2d6;--status-negotiation-bg:#172a57;--status-negotiation:#93c5fd;--status-new-bg:#3b1620;--status-new:#fda4af;--status-ready-bg:#2a1f4d;--status-ready:#c4b5fd;--status-working-bg:#3a2b0d;--status-working:#fcd34d}html[data-theme=dark] body,html[data-theme=dark] .app-main,html[data-theme=dark] .workspace{background:var(--bg);color:var(--text)}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:var(--surface-2);color:var(--text);border-color:var(--border-2)}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:var(--text-3)}html[data-theme=dark] .topbar,html[data-theme=dark] .records th,html[data-theme=dark] .ui-table th{background:var(--table-head-bg);color:var(--table-head-text)}html[data-theme=dark] .topbar{background:var(--surface);border-color:var(--border)}html[data-theme=dark] .records td,html[data-theme=dark] .records tr,html[data-theme=dark] .ui-table td{border-color:var(--border)}html[data-theme=dark] .records tbody tr:hover td:first-child{background:var(--surface-2)}html[data-theme=dark] .records tr.new-unassigned>td:first-child,html[data-theme=dark] .records tbody tr.new-unassigned td:first-child{background:#3a2b0d}html[data-theme=dark] button:not(.primary):not(.ui-button--primary):not(.sidebar-link):not(.is-active):not([class*=sidebar]){background-color:var(--surface-2);color:var(--text);border-color:var(--border-2)}html[data-theme=dark] .primary,html[data-theme=dark] .ui-button--primary{background:var(--primary);color:#fff}html[data-theme=dark] .ui-segmented button.is-active,html[data-theme=dark] [aria-pressed=true]{background:var(--primary-soft);color:#93c5fd}html[data-theme=dark] .table-link,html[data-theme=dark] a:not(.sidebar-link):not(.site-link){color:#93c5fd}html[data-theme=dark] .quote-summary,html[data-theme=dark] .panel,html[data-theme=dark] .stat,html[data-theme=dark] .records,html[data-theme=dark] .ui-modal,html[data-theme=dark] .modal{background:var(--surface);border-color:var(--border);color:var(--text)}html[data-theme=dark] .quote-summary{background:var(--surface-2)}html[data-theme=dark] .chart-bar{background:#60a5fa}html[data-theme=dark] .chart-bar.negative{background:#f43f5e}html[data-theme=dark] .login-card,html[data-theme=dark] .ui-portal-menu{background:var(--surface);color:var(--text);border-color:var(--border)}html[data-theme=dark] .ui-portal-menu button:hover,html[data-theme=dark] .ui-portal-menu button[aria-selected=true]{background:var(--surface-2)}html[data-theme=dark] .ui-modal>header,html[data-theme=dark] .modal>header,html[data-theme=dark] .ui-modal>footer{background:var(--surface);border-color:var(--border)}.theme-toggle{border:1px solid var(--sidebar-border);height:28px;color:var(--sidebar-text);cursor:pointer;background:0 0;border-radius:6px;align-items:center;gap:6px;padding:0 9px;font-size:11px;display:inline-flex}.theme-toggle:hover{background:var(--sidebar-hover)}html[data-theme=dark] .status-line,html[data-theme=dark] .related{border-bottom-color:var(--border)}html[data-theme=dark] .urgent-link{color:#9fb0c8!important;background:#121e31!important;border-color:#26364d!important}html[data-theme=dark] .urgent-link.has-tasks{background:var(--danger-bg)!important;color:var(--danger)!important;border-color:#7f1d1d!important}.theme-toggle{justify-content:center;width:30px;padding:0;font-size:14px}.theme-toggle span{display:none}.ui-modal:has(.project-modal-grid){width:min(1240px,96vw)!important;max-width:none!important}.project-modal-grid{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:18px;display:grid}.project-modal-grid .form-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:8px 12px;margin-top:6px}.project-modal-grid .form-grid>label{gap:3px;font-size:11px}.project-modal-grid .form-grid>label.md\:col-span-2{grid-column:1/-1}.project-modal-grid textarea{resize:vertical;height:64px;min-height:0}.project-modal-grid .area-preview{padding:8px 12px}.project-modal-grid .area-preview strong{font-size:14px}.project-modal-grid .form-grid input,.project-modal-grid .form-grid select{height:34px;min-height:34px}.client-history{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;align-content:start;gap:8px;max-height:min(520px,70vh);padding:12px;display:grid;overflow:auto}.client-history>header{justify-content:space-between;align-items:center;gap:8px;display:flex}.client-history h3{margin:0;font-size:14px}.client-history .history-add{border:1px solid var(--primary);background:var(--primary);color:#fff;cursor:pointer;border-radius:50%;width:30px;height:30px;min-height:30px;padding:0;font-size:20px;line-height:1}.history-form{border:1px solid var(--border);background:var(--surface);border-radius:8px;gap:6px;padding:8px;display:grid}.history-kind{gap:6px;display:flex}.history-kind button{flex:1;height:30px;min-height:30px;font-size:12px}.history-kind button.is-active{background:var(--primary-soft);border-color:var(--primary);color:var(--primary)}.history-form input[type=date]{height:34px}.history-form textarea{resize:vertical;height:70px}.history-actions{justify-content:flex-end;gap:6px;display:flex}.history-actions button{height:32px;min-height:32px}.history-list{gap:6px;margin:0;padding:0;list-style:none;display:grid}.history-list li{border:1px solid var(--border);background:var(--surface);border-radius:6px;grid-template-columns:auto auto 1fr;align-items:start;gap:8px;padding:7px 8px;font-size:12px;display:grid}.history-list li:not(:has(input)){grid-template-columns:auto 1fr}.history-list time{color:var(--text-2);white-space:nowrap;font-weight:600}.history-list li.is-done span{opacity:.6;text-decoration:line-through}.history-list small{color:var(--text-3)}@media(max-width:1000px){.project-modal-grid{grid-template-columns:1fr}.project-modal-grid .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.project-modal-grid .form-grid{grid-template-columns:1fr}}.contact-icons a[aria-label=Telegram],.records .contact-icons a[aria-label=Telegram]{width:26px;height:26px;padding:0;background:0 0!important}.contact-icons a[aria-label=Telegram] svg,.records .contact-icons a[aria-label=Telegram] svg{width:24px;height:24px}.contact-icons a[aria-label=Telegram]:hover{filter:brightness(1.1)}.records .row-open{white-space:nowrap;height:32px;min-height:32px;padding:0 14px;font-size:12px;font-weight:600}.danger-zone{border-top:1px dashed var(--border-2);align-items:center;gap:12px;margin-top:12px;padding-top:12px;display:flex}.danger-zone .danger{color:#e11d48;background:0 0;border:1px solid #e11d48;height:34px;min-height:34px}.danger-zone .danger:hover{color:#fff;background:#e11d48}.danger-zone .muted{font-size:11px}.records-table--projects td:first-child{height:auto;line-height:1.3;white-space:normal!important;text-overflow:clip!important;overflow:visible!important}.records-table--projects td{height:auto;min-height:44px}.records-table--projects td:nth-child(4),.records-table--projects th:nth-child(4){white-space:nowrap}.ui-modal:has(.project-details-grid){width:min(1280px,96vw)!important;max-width:none!important}.project-details-grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:start;gap:14px;display:grid}.project-details-col{align-content:start;gap:10px;min-width:0;display:grid}.project-details-grid .panel,.project-details-grid section{margin:0}.project-details-grid .panel{padding:12px 14px}.project-details-grid .area-preview{margin:0;padding:8px 12px}.project-details-grid .area-preview strong{font-size:14px}.project-details-grid .action-row{margin-top:0}@media(max-width:1000px){.project-details-grid{grid-template-columns:1fr}}.ui-modal:has(.project-details-grid) dl.details{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 16px}.ui-modal:has(.project-details-grid) dl.details dt{font-size:11px}.ui-modal:has(.project-details-grid) dl.details dd{margin:0;font-size:13px}.ui-modal:has(.project-details-grid) footer.mt-6{margin-top:8px}.records td .ui-inline-select svg,.records td .ui-action-select svg,.records td .ui-status svg,.ui-table td .ui-inline-select svg,.ui-table td .ui-action-select svg{display:none!important}.records td .ui-inline-select,.records td .ui-action-select,.records td .ui-status{background-image:none!important;padding-right:9px!important}.records td select{appearance:none;background-image:none!important;padding-right:9px!important}.sidebar-collapse{width:24px;height:24px;background:0 0!important;border:0!important}.sidebar-collapse:hover{background:#ffffff14!important}.sidebar.is-expanded .brand-logo{flex:0 0 48px;width:48px;height:48px}.sidebar.is-expanded .brand-logo img{object-fit:contain;width:100%;height:100%}.section-head{justify-content:space-between;align-items:center;gap:8px;display:flex}.section-head h3{margin:0}.plus-btn{place-items:center;width:30px;height:30px;font-size:20px;line-height:1;display:inline-grid;background:var(--primary,#2563eb)!important;color:#fff!important;border:0!important;border-radius:50%!important;min-height:30px!important;padding:0!important}.spec-editor .form-grid label.check{white-space:nowrap;align-self:end;align-items:center;gap:6px;min-height:34px;display:inline-flex;position:static}.spec-editor .form-grid label.check input[type=checkbox]{flex:none;width:16px;height:16px;min-height:0;margin:0;position:static}.cal-picker{min-width:0;display:block;position:relative}.cal-trigger{border:1px solid var(--border);background:var(--surface);width:100%;min-height:36px;color:var(--text);text-align:left;border-radius:10px;align-items:center;gap:8px;padding:6px 10px;font-size:13px;display:flex}.cal-trigger span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.cal-pop{z-index:120;border:1px solid var(--border);background:var(--surface);border-radius:16px;width:300px;max-width:92vw;padding:12px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 12px 32px #0f172a40!important}.cal-head{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.cal-head strong{text-transform:capitalize;font-size:15px}.cal-head span{gap:2px;display:flex}.cal-head button{width:32px;height:32px;color:var(--primary,#2563eb);background:0 0;border:0;border-radius:50%;place-items:center;display:grid}.cal-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.cal-week span{color:var(--text-2);text-transform:uppercase;padding:4px 0;font-size:11px}.cal-day{height:36px;color:var(--text);background:0 0;border:0;border-radius:50%;min-height:0;padding:0;font-size:14px}.cal-day.is-out{color:var(--text-2);opacity:.45}.cal-day.is-today{color:#ef4444;font-weight:700}.cal-day.is-selected{background:var(--primary,#2563eb);color:#fff;font-weight:700}.cal-time{border-top:1px solid var(--border);gap:8px;margin-top:10px;padding-top:10px;display:flex}.cal-time input{flex:1;height:36px}.cal-head strong{text-transform:none!important}.cal-head strong:first-letter{text-transform:uppercase}.cal-day,.cal-head button{box-shadow:none!important;background:0 0!important;border:0!important}.cal-day:hover{background:var(--surface-2)!important}.cal-day.is-selected{background:var(--primary,#2563eb)!important;color:#fff!important}.cal-day.is-today:not(.is-selected){color:#ef4444!important}.material-entries{gap:6px;margin:10px 0;display:grid}.material-entries h3{margin:0;font-size:14px}.material-entry{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;grid-template-columns:minmax(0,1fr) 96px 36px auto auto;align-items:center;gap:8px;padding:6px 8px;display:grid}.material-entry-name{text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.material-entry input{height:34px;min-height:34px}@media(max-width:600px){.material-entry{grid-template-columns:1fr 90px auto}}.leads-table col:nth-child(5),.leads-table col:nth-child(6){width:14%!important}.leads-table col:nth-child(10){width:7%!important}.leads-table td.lead-name{font-weight:600}.leads-table td:first-child .table-link{white-space:nowrap;font-size:13px}.leads-table th:first-child,.leads-table td:first-child{padding-left:8px;padding-right:4px}.cal-pop{margin:0;z-index:300!important;position:fixed!important}.cal-inline{border:1px solid var(--border);background:var(--surface);border-radius:16px;width:100%;max-width:340px;padding:12px}.cal-quick{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.cal-quick button{border:1px solid var(--border);background:var(--surface-2);border-radius:15px;height:30px;min-height:30px;padding:0 12px;font-size:12px}.reminder-layout{grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:16px;display:grid}.reminder-layout textarea{height:100%;min-height:220px}.reminder-summary{color:var(--text-2);margin:10px 0 0;font-size:13px}@media(max-width:760px){.reminder-layout{grid-template-columns:1fr}.cal-inline{max-width:none}}.visuals-editor .visual-add{border:1px solid var(--primary);background:var(--primary);color:#fff;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;min-height:38px;padding:8px 14px;font-size:12px;font-weight:650;display:inline-flex}.visual-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin:10px 0;display:grid}.visual-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;gap:8px;padding:10px;display:grid}.visual-card img{aspect-ratio:16/10;object-fit:cover;background:var(--surface-2);border-radius:8px;width:100%}.records-table--projects.has-no col:first-child{width:9%!important}.records-table--projects.has-no col:nth-child(2){width:33%!important}.records-table--projects.has-no col:nth-child(3){width:14%!important}.records-table--projects.has-no col:nth-child(4){width:15%!important}.records-table--projects.has-no col:nth-child(5){width:9%!important}.records-table--projects.has-no col:nth-child(6),.records-table--projects.has-no col:nth-child(7){width:10%!important}.records-table--projects.has-no td:first-child{font-weight:650;line-height:1.2;white-space:nowrap!important}.records-table--projects.has-no td:nth-child(2){line-height:1.3;white-space:normal!important;text-overflow:clip!important;overflow:visible!important}.records-table--projects.has-no td:nth-child(4),.records-table--projects.has-no th:nth-child(4){white-space:normal}.records-table--projects.has-no td:nth-child(5),.records-table--projects.has-no th:nth-child(5){white-space:nowrap}.mt-4{margin-top:16px}.mt-5{margin-top:22px}@media(max-width:767px){.quotes-page .records>table{display:none!important}.quotes-page .records .mobile-record-cards{gap:9px;display:grid!important}.quotes-page>.ui-page-header,.catalog-page>.catalog-page-heading{min-height:64px;height:auto!important}}.records .contact-phone{vertical-align:middle}.records .contact-icons{vertical-align:middle;align-items:center;gap:4px;margin:0 0 0 6px!important;display:inline-flex!important}.records .contact-icons a{min-height:0;padding:0;border-radius:50%!important;width:20px!important;height:20px!important}.records .contact-icons svg{width:11px!important;height:11px!important}.reminder-left{align-content:start;gap:12px;display:grid}.reminder-left textarea{min-height:150px}.history-edit{width:26px;height:26px;min-height:26px;color:var(--text-2);background:0 0;border-radius:6px;margin-left:auto;padding:0;font-size:13px;line-height:1}.leads-table td,.clients-table td,.records-table--projects td,.quotes-table td{line-height:1.25;font-size:12.5px!important;font-weight:500!important}.leads-table td.lead-name,.clients-table td:nth-child(4){font-weight:500!important}.leads-table td .contact-phone,.clients-table td .contact-phone,.leads-table td:nth-child(5),.clients-table td:nth-child(5){font-size:12.5px!important;font-weight:500!important}.leads-table td:nth-child(4),.clients-table td:nth-child(5),.leads-table td:nth-child(2),.clients-table td:nth-child(6),.leads-table td:nth-child(7),.clients-table td:nth-child(9){font-size:12.5px!important}.leads-table td .ui-inline-select,.clients-table td .ui-inline-select,.leads-table td .ui-status,.clients-table td .ui-status,.leads-table td:nth-child(3) .ui-inline-select,.clients-table td:nth-child(3) .ui-inline-select,.leads-table td:nth-child(6) .ui-inline-select,.clients-table td:nth-child(7) .ui-inline-select{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;font-size:12.5px!important;font-weight:600!important}.leads-table td .ui-status,.clients-table td .ui-status{width:100%!important}.leads-table td:first-child .table-link,.clients-table td:first-child .table-link,.quotes-table td:first-child .table-link,.records-table--projects td:first-child{white-space:nowrap;font-size:12.5px!important;font-weight:700!important;text-decoration:none!important}.leads-table th:first-child,.leads-table td:first-child,.clients-table th:first-child,.clients-table td:first-child,.records-table--projects.has-no th:first-child,.records-table--projects.has-no td:first-child{padding-left:10px!important;padding-right:6px!important}@media(min-width:768px){.leads-table col:first-child{width:78px!important}.leads-table col:nth-child(2){width:64px!important}.leads-table col:nth-child(3){width:112px!important}.leads-table col:nth-child(4){width:118px!important}.leads-table col:nth-child(5){width:152px!important}.leads-table col:nth-child(6){width:auto!important}.leads-table col:nth-child(7){width:90px!important}.leads-table col:nth-child(8){width:86px!important}.leads-table col:nth-child(9){width:112px!important}.clients-table col:first-child{width:78px!important}.clients-table col:nth-child(3){width:104px!important}.clients-table col:nth-child(5){width:156px!important}.clients-table col:nth-child(6){width:66px!important}.clients-table col:nth-child(7){width:96px!important}.clients-table col:nth-child(8){width:auto!important}.clients-table col:nth-child(9){width:88px!important}.records-table--projects.has-no col:first-child{width:78px!important}.records-table--projects.has-no col:nth-child(2){width:auto!important}.records-table--projects.has-no col:nth-child(3){width:16%!important}.records-table--projects.has-no col:nth-child(4){width:116px!important}.records-table--projects.has-no col:nth-child(5),.records-table--projects.has-no col:nth-child(6),.records-table--projects.has-no col:nth-child(7){width:96px!important}.records-table--projects.has-no col:nth-child(8){width:90px!important}.quotes-table col:first-child{width:118px!important}.quotes-table col:nth-child(2){width:auto!important}.quotes-table col:nth-child(3){width:140px!important}.quotes-table col:nth-child(4){width:120px!important}.records-table--projects td:nth-child(5),.records-table--projects td:nth-child(6),.records-table--projects td:nth-child(7){white-space:nowrap;font-variant-numeric:tabular-nums}.records-table--projects th:nth-child(5),.records-table--projects th:nth-child(6),.records-table--projects th:nth-child(7){white-space:nowrap}.records table.clients-table td:nth-child(2) .ui-status,.records table.leads-table td:nth-child(9) .ui-status,.records table.leads-table td:nth-child(8) .ui-status{box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important}.clients-table col:nth-child(2){width:140px!important}.clients-table col:nth-child(4){width:116px!important}}.leads-table td:first-child .table-link,.clients-table td:first-child .table-link,.quotes-table td:first-child .table-link,.records-table--projects td:first-child,.records-table--projects td:first-child .table-link{color:var(--text,#0f172a)!important;font-weight:700!important;text-decoration:none!important}.leads-table td:first-child .table-link:hover,.clients-table td:first-child .table-link:hover,.quotes-table td:first-child .table-link:hover{text-decoration:underline!important}@media(min-width:768px){.clients-table col:nth-child(4){width:auto!important}.clients-table col:first-child{width:72px!important}.clients-table col:nth-child(2){width:124px!important}.clients-table col:nth-child(3){width:92px!important}.clients-table col:nth-child(5){width:140px!important}.clients-table col:nth-child(6){width:58px!important}.clients-table col:nth-child(7){width:84px!important}.clients-table col:nth-child(8){width:112px!important}.clients-table col:nth-child(9){width:80px!important}}.quote-builder-panel .form-grid.qb-form{flex-direction:column;gap:10px;grid-template-columns:none!important;display:flex!important}.qb-group{border:1px solid var(--border);background:var(--surface);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:8px 12px;padding:10px 12px 12px;display:grid}.qb-group>h4{letter-spacing:.06em;text-transform:uppercase;color:var(--text-2,#475569);grid-column:1/-1;margin:0;font-size:12px}.qb-group>label,.qb-group .field-lock{min-width:0}.qb-group .field-lock{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px;display:grid}.qb-group .field-lock button{white-space:nowrap;height:34px;padding:0 10px;font-size:12px}.qb-group input[type=range]{align-self:center;width:100%;margin:0}.qb-group>.notice,.qb-group>.area-preview,.qb-group>.spec-editor{grid-column:1/-1}.qb-g-main{grid-template-columns:repeat(3,minmax(0,1fr))}.qb-g-main>label.check{order:9;grid-column:1/-1}.qb-g-main>.area-preview{order:10}.qb-g-terms>label.check{grid-column:span 2}.qb-g-terms>label.check input{margin-right:8px}.qb-g-price>.spec-editor{border:0;margin:0;padding:0}.qb-g-price>.spec-editor .section-head{margin:0}@media(min-width:1101px){.qb-g-screen>:nth-child(2){grid-area:2/1/auto/3}.qb-g-screen>:nth-child(3){grid-area:2/3/auto/5}.qb-g-screen>:nth-child(4){grid-area:3/1/auto/-1}.qb-g-screen>:nth-child(5){grid-area:4/1}.qb-g-screen>:nth-child(9){grid-area:4/2}.qb-g-screen>:nth-child(7){grid-area:4/3}.qb-g-screen>:nth-child(10){grid-area:4/4}.qb-g-screen>:nth-child(6){grid-area:5/1/auto/3}.qb-g-screen>:nth-child(8){grid-area:5/3/auto/5}.qb-g-screen>:nth-child(11){grid-area:6/1/auto/3}.qb-g-screen>:nth-child(12){grid-area:6/3/auto/5}}.qb-g-screen .toolbar{grid-template-columns:1fr 1fr;gap:6px;display:grid}.qb-g-screen .toolbar button{white-space:nowrap;padding:0 6px;font-size:12px}@media(max-width:1100px){.qb-group,.qb-g-main{grid-template-columns:repeat(2,minmax(0,1fr))}.qb-g-screen>input[type=range],.qb-g-screen>:nth-child(4){grid-column:1/-1}}@media(max-width:767px){.qb-group,.qb-g-main{grid-template-columns:1fr}.qb-g-terms>label.check{grid-column:auto}}html[data-theme=dark] .qb-group{background:var(--surface-2)}.task-day-bar{border:1px solid var(--border);background:var(--surface);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;padding:8px 10px;display:flex}.task-day-bar>button{border:1px solid var(--border);background:var(--surface);height:36px;min-height:36px;color:var(--text);cursor:pointer;border-radius:8px;padding:0 12px;font-weight:600}.task-day-bar .cal-picker{width:240px}.task-day-count{color:var(--text-2);margin-left:auto;font-size:13px}.task-day-count strong{color:var(--text)}.task-day-bar .task-day-exit{margin-left:0}.cal-day.has-mark{position:relative}.cal-day.has-mark:after{content:"";background:var(--primary,#2563eb);border-radius:50%;width:5px;height:5px;margin-left:-2.5px;position:absolute;bottom:3px;left:50%}.cal-day.is-selected.has-mark:after{background:#fff}.quote-client-cell strong{text-overflow:ellipsis;white-space:nowrap;font-size:12.5px;font-weight:600;display:block;overflow:hidden}.quote-client-cell small{color:var(--text-2);margin-top:1px;font-size:11.5px;font-weight:500;display:block}@media(min-width:768px){.leads-table col:first-child,.clients-table col:first-child,.records-table--projects.has-no col:first-child{width:52px!important}.quotes-table col:first-child{width:70px!important}.leads-table th:first-child,.leads-table td:first-child,.clients-table th:first-child,.clients-table td:first-child,.records-table--projects.has-no th:first-child,.records-table--projects.has-no td:first-child,.quotes-table th:first-child,.quotes-table td:first-child{white-space:nowrap;padding-left:8px!important;padding-right:4px!important}.leads-table td:first-child .table-link,.clients-table td:first-child .table-link,.quotes-table td:first-child .table-link{font-variant-numeric:tabular-nums;letter-spacing:.02em}.clients-table col:nth-child(5),.leads-table col:nth-child(5){width:166px!important}}.src-icons{align-items:center;gap:4px;display:inline-flex}.src-ico{width:18px;height:18px;display:inline-flex}.src-ico svg{width:18px;height:18px;display:block}.src-web img{object-fit:cover;border-radius:4px;width:18px;height:18px;display:block}.records table .ui-inline-select .inline-select-icon{flex:auto;align-items:center;min-width:0;display:inline-flex}.ui-portal-menu button .menu-icon{vertical-align:middle;margin-right:8px;display:inline-flex}.leads-table td:nth-child(7) .ui-inline-select,.clients-table td:nth-child(7) .ui-inline-select{justify-content:space-between}.records td .ui-inline-select .src-ico svg{margin:0!important;display:block!important}.records td .ui-inline-select .inline-select-icon{justify-content:center}.client-docs{border-top:1px solid var(--line,#e5e7eb);margin-top:16px;padding-top:12px}.client-docs h3{margin:0;font-size:15px}.client-docs-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.client-docs-head .action-row{flex-wrap:wrap;gap:6px;margin:0;display:flex}.doc-list{gap:4px;max-height:140px;display:grid;overflow:auto}.doc-row{grid-template-columns:130px 80px 90px 1fr auto;align-items:center;gap:8px;font-size:13px;display:grid}.doc-row.is-void{opacity:.55;text-decoration:line-through}.doc-sum{text-align:right}.doc-actions{align-items:center;gap:4px;display:flex}.doc-lines{gap:4px;margin:10px 0;display:grid}.doc-line{grid-template-columns:minmax(160px,1fr) 56px 64px 90px 100px 28px;align-items:center;gap:4px;display:grid}.doc-line--head{opacity:.7;font-size:12px}.doc-amount{text-align:right;font-variant-numeric:tabular-nums}.doc-totals{flex-wrap:wrap;justify-content:flex-end;gap:16px;display:flex}.doc-tabs{gap:6px;margin-bottom:8px;display:flex}.doc-entity-form,.doc-form{grid-template-columns:repeat(2,minmax(0,1fr))}.doc-note{margin-top:6px;display:block}@media(max-width:700px){.doc-line,.doc-row{grid-template-columns:1fr 1fr}}.records table.clients-table.clients-nine col:first-child{width:6%!important}.records table.clients-table.clients-nine col:nth-child(2){width:15%!important}.records table.clients-table.clients-nine col:nth-child(3){width:12%!important}.records table.clients-table.clients-nine col:nth-child(4){width:16%!important}.records table.clients-table.clients-nine col:nth-child(5){width:14%!important}.records table.clients-table.clients-nine col:nth-child(6){width:8%!important}.records table.clients-table.clients-nine col:nth-child(7){width:9%!important}.records table.clients-table.clients-nine col:nth-child(8){width:12%!important}.records table.clients-table.clients-nine col:nth-child(9){width:8%!important}.records table.clients-table.clients-nine td:nth-child(2) .ui-status{width:100%!important;min-width:0!important;max-width:none!important}.project-from-client{grid-template-columns:repeat(2,minmax(0,1fr))}.project-from-client .span-all{grid-column:1/-1}.client-form{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:20px;display:grid}.client-form-main{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}.client-form .span-all{grid-column:1/-1}.client-form-main textarea{min-height:96px}.client-form-reminder{gap:8px;display:grid}.client-form-reminder textarea{min-height:52px;max-height:64px}@media(max-width:820px){.client-form{grid-template-columns:1fr}}.doc-buyer .span-all{grid-column:1/-1}.project-from-client{grid-template-columns:150px minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px 16px;display:grid}.project-from-client .pfc-name,.project-from-client .pfc-note{grid-column:1/-1}.project-from-client .pfc-money,.project-from-client .pfc-people,.project-from-client .pfc-where{gap:12px;display:grid}.project-from-client .pfc-money input{text-align:right;font-variant-numeric:tabular-nums;width:100%}@media(max-width:720px){.project-from-client{grid-template-columns:1fr}}.pfc-area{color:var(--muted,#64748b);margin-top:4px;font-size:12px;display:block}.pfc-area.is-missing{color:#b45309}.records table.records-table--projects.proj-ten col:first-child{width:5%!important}.records table.records-table--projects.proj-ten col:nth-child(2){width:23%!important}.records table.records-table--projects.proj-ten col:nth-child(3){width:11%!important}.records table.records-table--projects.proj-ten col:nth-child(4){width:10%!important}.records table.records-table--projects.proj-ten col:nth-child(5),.records table.records-table--projects.proj-ten col:nth-child(6),.records table.records-table--projects.proj-ten col:nth-child(7),.records table.records-table--projects.proj-ten col:nth-child(8){width:8%!important}.records table.records-table--projects.proj-ten col:nth-child(9){width:7%!important}.records table.records-table--projects.proj-ten col:nth-child(10){width:12%!important}.records table.records-table--projects.proj-ten td:nth-child(10){white-space:nowrap}.records table.records-table--projects.proj-ten td:nth-child(4),.records table.records-table--projects.proj-ten th:nth-child(4){white-space:normal}@media(max-width:1220px){.records table.proj-ten th:last-child{font-size:10px!important}.records table.proj-ten th:last-child:after{content:none!important}.records table.proj-ten td:last-child,.records table.proj-ten th:last-child{width:auto!important;min-width:0!important;max-width:none!important}.records table.proj-ten th:nth-child(9){font-size:10px!important}.records table.proj-ten th:nth-child(9):after{content:none!important}.records table.proj-ten td:nth-child(9),.records table.proj-ten th:nth-child(9){width:auto!important;min-width:0!important;max-width:none!important}.records table.proj-ten td:nth-child(9) .ui-action-select{width:100%!important;min-width:0!important;max-width:none!important}}.src-select{border:1px solid var(--border-2);background:var(--surface);width:auto;min-width:150px;min-height:40px;color:var(--text);cursor:pointer;border-radius:6px;justify-content:space-between;align-items:center;gap:6px;padding:6px 10px;font-size:13px;display:flex}.src-select .src-select-value{white-space:nowrap;flex:auto;justify-content:center;align-items:center;min-width:0;display:flex}label .src-select{width:100%;margin-top:5px}.src-select>svg:last-child{opacity:.6;flex:none}.src-icons{justify-content:center;gap:8px!important}.src-ico{justify-content:center;align-items:center}.records td .src-icons{width:100%;display:flex}.ui-portal-menu button .menu-icon{align-items:center;margin-right:10px;display:inline-flex}.records td .ui-inline-select:has(.inline-select-icon){justify-content:center!important}.records td .ui-inline-select .inline-select-icon{width:auto;flex:none!important;min-width:0!important}.records td .ui-inline-select .src-icons{width:auto}.src-select{font-size:13px!important;font-weight:400!important}.records td .ui-inline-select .inline-select-icon{margin-inline:auto!important}.records td .ui-inline-select:has(.inline-select-icon){justify-content:center!important;align-items:center!important;display:flex!important}.leads-table col:first-child{width:78px!important}.leads-table col:nth-child(2){width:128px!important}.leads-table col:nth-child(3){width:130px!important}.leads-table col:nth-child(4){width:166px!important}.leads-table col:nth-child(5){width:70px!important}.leads-table col:nth-child(6){width:auto!important}.leads-table col:nth-child(7){width:90px!important}.leads-table col:nth-child(8){width:86px!important}.leads-table col:nth-child(9){width:112px!important}.leads-table td:nth-child(2) .ui-inline-select{width:100%!important;min-width:0!important}.leads-table td:nth-child(5){font-size:12.5px!important;font-weight:400!important}.leads-table td:nth-child(3){white-space:normal}.modal:has(.project-from-client),.ui-modal:has(.project-from-client){width:100%;max-width:780px!important}.project-from-client{gap:8px 14px!important}.project-from-client label{font-size:12px}.project-from-client input,.project-from-client select{min-height:34px!important;padding-block:6px!important}.project-from-client .pfc-money,.project-from-client .pfc-people,.project-from-client .pfc-where{gap:8px!important}.project-from-client .pfc-note textarea{min-height:44px!important;max-height:70px!important}.modal:has(.project-from-client) .action-row,.ui-modal:has(.project-from-client) .action-row{margin-top:14px!important}.modal .form-grid+.action-row,.ui-modal .form-grid+.action-row{margin-top:18px!important}.reminder-left label+label{margin-top:16px;display:block}.reminder-left textarea{margin-bottom:0;display:block}.expenses-compact{padding:14px 16px}.expenses-compact h2{margin:0 0 10px;font-size:15px}.expense-row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.expense-row select{width:130px;min-width:0;min-height:34px;padding-block:5px}.expense-row input{width:150px;min-height:34px;padding-block:5px}.expense-row input.money-input{text-align:right;font-variant-numeric:tabular-nums;width:110px}.expense-row button{min-height:34px;padding:0 14px}.expense-list{gap:4px;margin:10px 0 0;padding:0;font-size:13px;list-style:none;display:grid}.expense-list li{border-top:1px solid var(--border);grid-template-columns:90px 1fr auto 28px;align-items:center;gap:10px;padding:5px 0;display:grid}.expense-list li button{width:26px;min-height:26px;color:var(--muted,#64748b);cursor:pointer;background:0 0;border:0;padding:0;font-size:16px}.leads-table th:is(:first-child,:nth-child(2),:nth-child(4),:nth-child(5),:nth-child(7),:nth-child(8),:nth-child(9),:nth-child(10)),.leads-table td:is(:first-child,:nth-child(2),:nth-child(4),:nth-child(5),:nth-child(7),:nth-child(8),:nth-child(9),:nth-child(10)),.clients-table th:is(:first-child,:nth-child(2),:nth-child(3),:nth-child(5),:nth-child(6),:nth-child(7),:nth-child(8),:nth-child(9)),.clients-table td:is(:first-child,:nth-child(2),:nth-child(3),:nth-child(5),:nth-child(6),:nth-child(7),:nth-child(8),:nth-child(9)),.leads-table td:nth-child(4),.clients-table td:nth-child(5){text-align:center}.leads-table td:nth-child(4) .contact-phone,.clients-table td:nth-child(5) .contact-phone,.leads-table td:nth-child(4) .contact-icons,.clients-table td:nth-child(5) .contact-icons{vertical-align:middle;align-items:center;display:inline-flex}.leads-table td:is(:nth-child(2),:nth-child(9),:nth-child(10)) :is(.ui-inline-select,.ui-status,.ui-action-select),.clients-table td:is(:nth-child(2),:nth-child(3)) :is(.ui-inline-select,.ui-status,.ui-action-select){justify-content:center;margin-inline:auto}.leads-table td:nth-child(2) button:not(.ui-inline-select){text-align:center;text-overflow:clip;width:100%;margin-top:4px;display:block;overflow:visible}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}.action-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px}.action-row input{width:auto;max-width:240px}.module-section{margin-top:24px}main.workspace>.module-section{margin-top:0}.module-section .page-heading{margin-bottom:14px}.purchase-line{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:9px;align-items:end;margin:12px 0}.lead-filters,.client-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px}.mobile-record-cards{display:none}.new-unassigned{background:#fffbeb!important;box-shadow:inset 3px 0 #b45309}.contact-icons{display:flex;gap:6px;margin:4px 0}.contact-icons a{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:700;text-decoration:none}.record-card{display:grid;gap:9px;padding:13px;border:1px solid var(--border);border-radius:11px;background:var(--surface);box-shadow:0 1px 2px #0f172a0d}.records-panel .records{box-shadow:none}.modal .panel{padding:14px}.modal .records{margin-top:14px}.quote-panel{margin:16px 0}.quote-panel .records{margin-top:10px}.quote-summary>strong{font-size:20px}.field-lock{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.spec-editor{display:grid;gap:9px;margin:10px 0}.spec-row{display:grid;grid-template-columns:1fr 1.2fr auto;gap:8px;align-items:center}.spec-row input{min-width:0}.share-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:8px;margin-top:16px}.check{display:flex;align-items:center;gap:7px}.purchase-line label:first-child{min-width:0}@media(max-width:767px){.records-panel .records>table{display:none}.mobile-record-cards{display:grid;gap:10px}.mobile-record-cards button,.mobile-record-cards select{min-height:44px}.lead-filters,.client-filters,.purchase-line{grid-template-columns:1fr 1fr}.purchase-line label:first-child{grid-column:1/-1}.spec-row{grid-template-columns:1fr}.action-row>button{flex-grow:1}}.login-logo{width:142px;height:94px;margin:0 0 16px;border-color:#26364d;background:#0b1220}.login-logo img{padding:0}.check input[type=checkbox]{position:relative;appearance:none;width:40px;height:22px;min-height:22px;padding:0;border:1px solid #94a3b8;border-radius:999px;background:var(--border-2);cursor:pointer;transition:background .15s,border-color .15s}.check input[type=checkbox]:before{position:absolute;content:"";left:2px;top:2px;width:16px;height:16px;border-radius:50%;background:var(--surface);box-shadow:0 1px 2px #0f172a40;transition:transform .15s}.check input[type=checkbox]:checked{border-color:#2563eb;background:#2563eb}.check input[type=checkbox]:checked:before{transform:translate(18px)}@media(min-width:768px)and (max-width:1100px){.sidebar-quick-task{width:48px!important;min-width:48px;padding:0;justify-content:center!important;font-size:0}.sidebar-quick-task .quick-plus{font-size:18px}}.quote-variant-prices{display:grid;gap:5px;margin-top:10px}.quote-variant-prices p{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;margin:0;padding:7px 0;border-bottom:1px solid var(--border)}.quote-variant-prices small{grid-column:1/-1;color:var(--text-2);font-size:10px}
