html{color-scheme:dark}.app-shell,.content,.project-editor-content,.project-editor-page,body{background-color:#070b0e;color:#f3f7f8}.card,.chat-channels,.chat-composer,.chat-conversation,.chat-messages,.chat-panel-head,.chat-tasks,.customer-card,.customers-empty,.employee-detail,.employee-detail-row,.equipment-empty,.modal,.modal.wide,.panel,.settings-card,.supplier-detail,.supplier-detail-row,.surface-panel,.team-chat,dialog{border-color:rgba(181,205,215,.24)!important;background-color:#0e151a!important;color:#f3f7f8!important}input:not([type=checkbox]):not([type=radio]),select,textarea{border-color:rgba(181,205,215,.28)!important;background-color:#10171d!important;color:#f3f7f8!important;color-scheme:dark}input::placeholder,textarea::placeholder{color:#8497a1!important;opacity:1}select option{background:#10171d;color:#f3f7f8}input[type=checkbox],input[type=radio]{accent-color:#d9ff3f}.chat-attach-button,.chat-mobile-back,.chat-mobile-close-tasks,.chat-mobile-tasks,.chat-push-toggle,.chat-sound-toggle,.ghost,.logout,.mention-button,.secondary,.x-inline{border-color:rgba(181,205,215,.28)!important;background-color:#162127!important;color:#f3f7f8!important}.chat-attach-button:hover,.chat-mobile-back:hover,.chat-mobile-close-tasks:hover,.chat-mobile-tasks:hover,.chat-push-toggle:hover,.chat-sound-toggle:hover,.ghost:hover,.logout:hover,.mention-button:hover,.secondary:hover,.x-inline:hover{border-color:rgba(217,255,63,.5)!important;background-color:#202a2f!important;color:#d9ff3f!important}button:disabled,input:disabled,select:disabled,textarea:disabled{border-color:rgba(181,205,215,.16)!important;background-color:#0b1015!important;color:#71828b!important;opacity:.72}.employee-detail-head,.employee-detail-row,.equipment-empty,.supplier-detail-head,.supplier-detail-row{color:#aabac1!important}.employee-detail h2,.employee-detail-row b,.modal h2,.modal h3,.supplier-detail h2,.supplier-detail-row b{color:#f3f7f8!important}.employee-detail-row small,.equipment-empty,.modal small,.supplier-detail-row small{color:#93a5ae!important}.event-membership,.month-groups summary>b{border:1px solid rgba(217,255,63,.42)!important;background:#162127!important;color:#d9ff3f!important}.event-shell.joined .event-membership{border-color:#d9ff3f!important;background:#d9ff3f!important;color:#060806!important}.chat-push-callout{border-color:rgba(217,255,63,.28)!important;background:#111b20!important;color:#f3f7f8!important}.chat-push-callout b{color:#d9ff3f!important}.chat-push-callout small{color:#9dafb8!important}.chat-avatar{border:1px solid rgba(217,255,63,.24)!important;background:#172127!important;color:#d9ff3f!important}.chat-tasks>.chat-panel-head>button{border-color:#d9ff3f!important;background:#d9ff3f!important;color:#060806!important}.self-membership,.self-membership.joined,.self-membership.not-joined{border-color:rgba(217,255,63,.28)!important;background:#111b20!important;color:#f3f7f8!important}.self-membership b{color:#f3f7f8!important}.self-membership small{color:#9dafb8!important}.work-type-control .check{border-color:rgba(181,205,215,.28)!important;background:#10171d!important;color:#f3f7f8!important}.work-type-control .check:hover{border-color:rgba(217,255,63,.5)!important;background:#172127!important}.work-type-control .check i{border-color:rgba(181,205,215,.42)!important;background:#0a1014!important;color:#d9ff3f!important}.work-type-control .check.checked{border-color:#d9ff3f!important;background:#182313!important;color:#f3f7f8!important}.work-type-control .check.checked i{border-color:#d9ff3f!important;background:#d9ff3f!important;color:#060806!important}.comment-list article,.comment-list>p{border:1px solid rgba(181,205,215,.22)!important;background:#10171d!important;color:#9dafb8!important}.chat-people-popover{border-color:rgba(181,205,215,.3)!important;box-shadow:0 16px 38px rgba(0,0,0,.42)!important}.chat-people-popover,.chat-people-popover button{background:#10171d!important;color:#f3f7f8!important}.chat-people-popover button:focus-visible,.chat-people-popover button:hover{background:#1b271f!important;color:#d9ff3f!important;outline:1px solid rgba(217,255,63,.42)}.modal.fullscreen .empty-state{border:1px dashed rgba(181,205,215,.32)!important;background:#10171d!important;color:#aabac1!important}.modal.fullscreen .employee-estimate{background:transparent!important;color:#f3f7f8!important}.modal.fullscreen .employee-estimate-note{border-color:rgba(217,255,63,.28)!important;background:#111b20!important;color:#aabac1!important}.modal.fullscreen .employee-estimate section{border-color:rgba(181,205,215,.32)!important;background:#0e151a!important;color:#f3f7f8!important}.modal.fullscreen .employee-estimate section>header{border-bottom:1px solid rgba(181,205,215,.24)!important;background:#172127!important;color:#f3f7f8!important}.modal.fullscreen .employee-estimate section>header b{color:#f3f7f8!important}.modal.fullscreen .employee-estimate section>header span{border:1px solid rgba(217,255,63,.28)!important;background:#10171d!important;color:#d9ff3f!important}.modal.fullscreen .employee-estimate-head{border-color:rgba(181,205,215,.24)!important;background:#0b1116!important;color:#aabac1!important}.modal.fullscreen .employee-estimate-row{border-color:rgba(181,205,215,.2)!important;background:#0e151a!important;color:#f3f7f8!important}.modal.fullscreen .employee-estimate-row b{color:#f3f7f8!important}.modal.fullscreen .employee-estimate-row span{color:#93a5ae!important}.modal.fullscreen .employee-estimate-row strong{color:#d9ff3f!important}.user-avatar{width:36px;height:36px;flex:0 0 36px;display:inline-grid;place-items:center;overflow:hidden;border:1px solid rgba(217,255,63,.42);border-radius:50%;background:#172127;color:#d9ff3f;font-size:11px;font-weight:850;line-height:1}.user-avatar img{width:100%;height:100%;display:block;object-fit:cover;object-position:center}.profile .user-avatar{width:34px;height:34px;flex-basis:34px}.profile-page{width:min(880px,100%);padding:28px;border:1px solid rgba(181,205,215,.24);border-radius:18px;background:#0e151a;color:#f3f7f8}.profile-hero{display:flex;align-items:center;gap:18px;margin-bottom:18px}.profile-avatar-large{width:112px;height:112px;flex-basis:112px;font-size:28px}.profile-hero h2{margin:3px 0 6px;color:#f3f7f8;font-size:clamp(24px,4vw,34px)}.profile-hero>div>span,.profile-kicker{color:#9dafb8}.profile-kicker{margin:0;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.profile-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:18px}.profile-summary>div{min-width:0;padding:12px 14px;border:1px solid rgba(181,205,215,.2);border-radius:11px;background:#10171d}.profile-summary b,.profile-summary small{display:block}.profile-summary small{margin-bottom:5px;color:#8497a1;font-size:9px;text-transform:uppercase}.profile-summary b{overflow:hidden;color:#f3f7f8;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.profile-avatar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-bottom:22px}.profile-avatar-actions>small{flex:1 1 250px;color:#8497a1;font-size:10px}.button-like{min-height:38px;padding:9px 14px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;cursor:pointer;font-size:12px;font-weight:800}.profile-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}.profile-form-grid label{min-width:0;display:grid;gap:7px}.profile-form-grid label>span{color:#aabac1;font-size:11px;font-weight:700}.profile-form-grid input,.profile-form-grid textarea{width:100%}.profile-bio{grid-column:1/-1}.profile-save{min-width:220px}.participant .user-avatar,.person-name .user-avatar,.planning-person .user-avatar{width:36px;height:36px;flex-basis:36px}.team-grid .user-avatar.large{width:54px;height:54px;flex-basis:54px;font-size:15px}.comment-avatar{width:25px;height:25px;flex-basis:25px;font-size:8px}.user-avatar.chat-avatar{width:34px;height:34px;flex-basis:34px}.chat-people-popover button{display:flex;align-items:center;gap:8px}.chat-mention-avatar{width:26px;height:26px;flex-basis:26px;font-size:8px}.estimate-action-short,.estimate-mobile-switch{display:none}@media (max-width:760px){.project-editor-top{min-height:0!important;padding:8px!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-areas:"back status delete" "summary summary summary"!important;gap:7px 8px!important;align-items:center!important}.project-editor-top .project-back{grid-area:back}.project-editor-top>div{grid-area:summary;min-width:0}.project-editor-top .project-delete{grid-area:delete;justify-self:end}.project-editor-top .badge{grid-area:status;justify-self:center;max-width:100%;overflow:hidden;text-overflow:ellipsis}.project-editor-top .badge,.project-editor-top .project-back,.project-editor-top .project-delete{min-height:30px!important;padding:6px 8px!important;font-size:9px!important;line-height:1!important;white-space:nowrap}.project-editor-top small{display:block;margin-bottom:2px;color:#9dafb8!important;font-size:7px!important;letter-spacing:.12em}.project-editor-top h1{margin:0 0 2px;color:#f3f7f8!important;font-size:16px!important;line-height:1.15}.project-editor-top h1,.project-editor-top p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-editor-top p{margin:0;color:#9dafb8!important;font-size:8px!important;line-height:1.2}.project-editor-tabs{min-height:38px!important;padding-inline:4px!important;display:flex;overflow-x:auto;scrollbar-width:none}.project-editor-tabs::-webkit-scrollbar{display:none}.project-editor-tabs button{min-height:38px!important;flex:1 0 auto;padding:8px 9px 6px!important;font-size:9px!important;white-space:nowrap}.project-editor-page:has(>.project-estimate){grid-template-rows:auto auto minmax(0,1fr)!important}.project-estimate{margin:4px!important;padding:5px!important;display:grid!important;grid-template-rows:auto auto auto minmax(0,1fr);gap:4px;overflow:hidden!important}.project-estimate>.project-editor-section-head{min-height:28px!important;margin:0!important}.estimate-top-actions{width:100%;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:3px!important}.estimate-top-actions .primary,.estimate-top-actions .secondary{min-width:0;min-height:28px!important;padding:4px 2px!important;border-radius:8px!important;font-size:8px!important;line-height:1.05;white-space:normal}.estimate-action-long{display:none}.estimate-action-short{display:inline}.project-estimate .estimate-sections{min-height:0!important;margin:0!important;padding:3px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important}.project-estimate .estimate-section-actions,.project-estimate .estimate-section-tabs{width:100%;min-width:0;display:flex!important;gap:3px!important;overflow-x:auto;scrollbar-width:none}.project-estimate .estimate-section-actions::-webkit-scrollbar,.project-estimate .estimate-section-tabs::-webkit-scrollbar{display:none}.project-estimate .estimate-section-actions button,.project-estimate .estimate-section-tabs button{min-height:27px!important;flex:0 0 auto;padding:4px 7px!important;border-radius:8px!important;font-size:8px!important}.project-estimate .estimate-section-actions strong{margin-left:auto;padding:5px 7px!important;flex:0 0 auto;font-size:8px!important;white-space:nowrap}.project-estimate .estimate-mobile-switch{min-height:36px;padding:3px;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px;border:1px solid rgba(181,205,215,.22);border-radius:10px;background:#0b1116}.project-estimate .estimate-mobile-switch button{min-width:0;min-height:30px;padding:5px 9px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:8px;background:transparent;color:#9dafb8;font:inherit;font-size:10px;font-weight:800}.project-estimate .estimate-mobile-switch button b{min-width:20px;padding:2px 5px;border-radius:999px;background:#172127;color:#aabac1;font-size:8px}.project-estimate .estimate-mobile-switch button.active{border-color:rgba(217,255,63,.38);background:rgba(217,255,63,.1);color:#d9ff3f}.project-estimate .estimate-mobile-switch button.active b{background:#d9ff3f;color:#07090b}.project-estimate .estimate-workspace{width:100%;min-width:0!important;max-width:none!important;height:100%!important;min-height:0!important;margin:0!important;display:block!important;overflow:hidden!important;border-radius:10px!important}.project-estimate .estimate-mobile-catalog .project-estimate-pane,.project-estimate .estimate-mobile-estimate .catalog-pane{display:none!important}.project-estimate .catalog-pane,.project-estimate .project-estimate-pane{width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;max-height:none!important;border:0!important;overflow:auto!important;overscroll-behavior:contain}.project-estimate .catalog-pane{display:flex!important}.project-estimate .catalog-pane h3{padding:10px 11px 7px!important;font-size:12px!important}.project-estimate .catalog-filters{padding:0 9px 8px!important;grid-template-columns:minmax(0,1fr) minmax(120px,.7fr)!important;gap:5px!important}.project-estimate .catalog-filters input,.project-estimate .catalog-filters select{min-height:36px!important;padding:7px 9px!important;font-size:11px!important}.project-estimate .estimate-category-tree{max-height:142px!important;flex:0 0 auto!important}.project-estimate .estimate-category-title{padding:7px 10px!important}.project-estimate .catalog-manual-top{min-height:34px;margin-top:6px}.project-estimate .catalog-list{min-height:0!important;max-height:none!important;flex:1 1 auto!important;overflow-y:auto!important}.project-estimate .catalog-product{min-height:58px;padding:8px 10px!important}.project-estimate .catalog-product b{font-size:10px!important}.project-estimate .catalog-product small{font-size:8px!important}.project-estimate .catalog-product strong i{width:32px!important;height:32px!important;border-radius:9px!important}.project-estimate .project-estimate-pane{display:block!important;background:#0b1116!important}.project-estimate .project-estimate-table{min-height:0!important;overflow:visible!important}.project-estimate .project-estimate-head{display:none!important}.project-estimate .project-estimate-row{width:auto!important;min-width:0!important;max-width:none!important;margin:7px!important;padding:10px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;border:1px solid rgba(181,205,215,.24)!important;border-radius:12px!important;background:#0e151a!important}.project-estimate .project-estimate-row.stock-shortage{border-color:rgba(239,83,80,.55)!important;background:#1b1214!important;box-shadow:inset 3px 0 #ef5350!important}.project-estimate .project-estimate-row>.estimate-sum-cell,.project-estimate .project-estimate-row>.estimate-supplier-cell,.project-estimate .project-estimate-row>div:first-child,.project-estimate .project-estimate-row>div:nth-child(2){grid-column:1/-1}.project-estimate .project-estimate-row>[data-label]:before{margin-bottom:5px;display:block!important;color:#8497a1!important;font-size:8px!important;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.project-estimate .project-estimate-row input,.project-estimate .project-estimate-row select{min-height:38px!important;padding:8px 9px!important;border-color:rgba(181,205,215,.28)!important;border-radius:9px!important;background:#10171d!important;color:#f3f7f8!important;font-size:12px!important}.project-estimate .project-estimate-row input:focus,.project-estimate .project-estimate-row select:focus{border-color:#d9ff3f!important;outline:2px solid rgba(217,255,63,.16)}.project-estimate .estimate-row-number{display:inline-flex!important;width:fit-content;margin-bottom:2px;color:#d9ff3f!important;font-size:9px!important}.project-estimate .estimate-row-stock{margin-top:3px;padding:6px 8px!important;font-size:9px!important}.project-estimate .qty-input{grid-template-columns:minmax(0,1fr) 72px!important}.project-estimate .estimate-cell{min-width:0}.project-estimate .estimate-cell>small,.project-estimate .estimate-sum-cell>small{display:block!important;margin-bottom:5px;color:#8497a1!important;font-size:8px!important;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.project-estimate .estimate-sum-cell{padding:9px 10px;display:flex;align-items:center;justify-content:space-between;border:1px solid rgba(217,255,63,.24);border-radius:9px;background:rgba(217,255,63,.07)}.project-estimate .estimate-sum-cell>small{margin:0}.project-estimate .estimate-sum-cell b{color:#d9ff3f!important;font-size:14px!important}.project-estimate .project-estimate-row .icon-danger{width:38px!important;height:38px!important;justify-self:end;grid-column:2}.project-estimate .project-empty{min-height:180px;margin:7px}.project-estimate .project-estimate-total{width:auto!important;min-width:0!important;max-width:none!important;margin:7px!important;padding:10px!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;border:1px solid rgba(181,205,215,.24);border-radius:12px;background:#0e151a!important}.project-estimate .estimate-summary-metrics{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}.project-estimate .estimate-section-pricing,.project-estimate .estimate-summary-metrics,.project-estimate .estimate-summary-side{width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}.project-estimate .estimate-section-pricing{grid-template-columns:repeat(2,minmax(0,1fr))!important}.project-estimate .estimate-summary-side{grid-column:auto!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.project-estimate .estimate-summary-side>div{grid-column:1/-1;border-top:1px solid rgba(181,205,215,.2)!important;border-left:0!important;padding:9px 0 0!important;display:flex;align-items:center;justify-content:space-between}.project-estimate .estimate-summary-side strong{margin-left:8px;font-size:17px!important}}@media (max-width:900px){.sidebar .profile .user-avatar{display:none}.chat-channels,.chat-composer,.chat-conversation,.chat-messages,.chat-panel-head,.chat-tasks,.content.chat-content,.team-chat{background-color:#0a1014!important;color:#f3f7f8!important}.profile-page{margin-inline:auto}}@media (max-width:620px){.profile-page{padding:16px;border-radius:14px}.profile-avatar-large{width:86px;height:86px;flex-basis:86px;font-size:22px}.profile-form-grid,.profile-summary{grid-template-columns:1fr}.profile-bio{grid-column:auto}.profile-avatar-actions .button-like,.profile-avatar-actions .danger-button,.profile-save{width:100%}}@media print{body,html{color-scheme:light;background:#fff!important;color:#07090b!important}}.app-shell button{border-radius:6px;transition:background-color .15s,border-color .15s,color .15s}.app-shell button:active,.app-shell button:hover{transform:none}.app-shell button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.modal button:not(.x){border-radius:6px;min-height:34px;padding:7px 10px;font-size:12px}.modal button.secondary{background:var(--surface-raised);border:1px solid var(--border)}.compact-confirm-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.modal.business-detail-modal{max-width:800px}.self-leave-confirm{border:1px solid var(--danger);padding:12px;margin:10px 0;border-radius:8px}.self-leave-confirm button{margin:4px}.app-shell .content>header{min-height:52px;padding:8px 0 12px;margin-bottom:16px;gap:12px}.app-shell .content>header h1{font-size:24px;line-height:1.2;margin:0}.app-shell .content>header p{font-size:10px;line-height:1.3;margin:0 0 4px}.app-shell .header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.app-shell .header-actions button{min-height:36px;padding:8px 12px;width:auto;font-size:12px}.app-shell .sidebar .brand{height:auto;min-height:78px;padding:12px 6px;overflow:visible}.app-shell .sidebar .brand img{width:100%;max-width:190px;height:auto;object-fit:contain}.app-shell .calendar-toolbar{padding:8px 10px;margin-bottom:12px;gap:8px;background:var(--surface-card);border:1px solid var(--border);border-radius:8px}.app-shell .calendar-toolbar button{min-height:32px;padding:5px 10px;border-radius:5px;font-size:12px;font-weight:700}.app-shell .calendar-toolbar .month{gap:6px}.app-shell .calendar-toolbar .month b{font-size:13px}.app-shell .calendar-toolbar .legend{gap:10px;font-size:11px;line-height:1.3}.app-shell .calendar-project-open small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.app-shell :is(.brief-head,.project-editor-section-head,.tasks-page-head,.catalog-toolbar,.customers-toolbar,.estimate-toolbar,.business-finance>.panel-title){min-height:0;padding:10px 0;margin:0 0 10px;gap:10px}.app-shell :is(.brief-head,.project-editor-section-head,.tasks-page-head,.catalog-toolbar,.customers-toolbar,.estimate-toolbar,.business-finance>.panel-title) :is(h2,h3){font-size:18px;line-height:1.25;margin:0}.app-shell :is(.brief-head,.project-editor-section-head,.tasks-page-head,.catalog-toolbar,.customers-toolbar,.estimate-toolbar) p{margin:3px 0 0;font-size:12px;line-height:1.4}.app-shell :is(.project-editor-section-head,.brief-head,.estimate-sections,.calculation-tabs,.estimate-mobile-switch) button{min-height:34px;padding:6px 10px;font-size:12px;font-weight:700;border-radius:6px}.app-shell :is(.project-editor-section-head,.brief-head,.estimate-sections,.calculation-tabs,.estimate-mobile-switch) button:is(:hover,:focus,:active,.active){font-size:12px;font-weight:700}.app-shell .project-editor-section-head{align-items:center;flex-wrap:wrap}.app-shell .project-editor-section-head>div{min-width:0}.app-shell .project-editor-section-head .project-editor-actions{gap:6px}.app-shell .estimate-sections{padding:8px;gap:8px;margin-bottom:8px}.app-shell .estimate-section-tabs{flex-wrap:wrap;gap:5px}.app-shell .estimate-section-actions{gap:5px;flex-wrap:wrap!important;min-width:0}.app-shell .estimate-section-tab{display:inline-flex;align-items:center;border:1px solid var(--border);border-radius:6px}.app-shell .estimate-section-tab.active{border-color:var(--accent)}.app-shell .estimate-section-tab button{border:0;margin:0}.app-shell .estimate-section-tab .section-remove{padding:4px;min-width:28px;color:var(--text-muted)}.app-shell .estimate-section-tab .section-remove:hover{color:var(--danger)}.app-shell .estimate-list-filters{padding:8px;gap:8px;margin-bottom:12px}.app-shell .estimate-list-filters :is(input,select,button){min-height:34px;padding:6px 9px}.app-shell .business-finance{gap:24px}.app-shell .business-finance h3{font-size:19px;margin:0;color:var(--text-primary)}.app-shell .business-section{display:grid;gap:16px;min-width:0;padding:20px;border:1px solid var(--border);border-radius:12px;background:var(--surface-card)}.app-shell .business-section-head{display:flex;gap:12px;align-items:center;justify-content:flex-start;min-height:0;margin:0;padding:0 0 16px;border-bottom:1px solid var(--border)}.app-shell .business-section-head>span{color:var(--accent);background:rgba(217,255,63,.08);border-radius:8px;padding:10px;font-weight:800;font-size:14px}.app-shell .business-section-head p{color:var(--text-secondary);margin:5px 0 0;font-size:13px;letter-spacing:normal;text-transform:none;font-weight:400}.app-shell .business-finance .business-note{color:var(--text-secondary);font-size:13px;line-height:1.65;max-width:100ch}.app-shell .business-finance .business-metric>span{color:var(--text-secondary);font-weight:500}.app-shell .business-finance .business-metric>strong{color:var(--text-primary)}.app-shell .business-finance .business-metric:last-child>strong{color:var(--accent)}.app-shell .business-finance .business-metric>small{color:var(--text-muted)}.app-shell .business-debt-row{display:grid;gap:12px;padding:18px 4px;border-top:1px solid var(--border)}.app-shell .business-debt-person{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.app-shell .business-debt-person>b{font-size:15px}.app-shell .business-debt-person button{color:var(--accent);background:var(--surface-raised);border:1px solid var(--border);padding:6px 10px;font-size:12px;min-height:34px;cursor:pointer}.app-shell .business-debt-row dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}.app-shell .business-debt-row dt{color:var(--text-secondary);font-size:12px;line-height:1.5}.app-shell .business-debt-row dd{margin:5px 0 0;font-size:14px;font-variant-numeric:tabular-nums}.app-shell .business-debt-total{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap}.app-shell .business-debt-total strong{font-size:18px;color:var(--accent)}.business-debt-detail{display:grid;gap:16px;line-height:1.6}.business-debt-detail p{margin:0;color:var(--text-secondary)}.business-debt-equation{display:flex;flex-wrap:wrap;gap:14px;padding:14px;background:var(--surface-raised);border-radius:8px}@media(max-width:700px){.app-shell .business-section{padding:12px}.app-shell .business-debt-row dl,.business-debt-detail .business-line{grid-template-columns:1fr}.business-debt-detail .business-line>:first-child{grid-column:auto}}.app-shell .business-metrics{gap:8px}.app-shell .business-metric{padding:12px;gap:5px;border-radius:8px}.app-shell .business-metric strong{font-size:22px;line-height:1.2}.app-shell .business-metric small{font-size:12px;line-height:1.35}.app-shell .business-metric span{font-size:13px}.app-shell button.business-metric:hover{border-color:var(--accent);background:var(--surface-raised)}.app-shell .business-projects article{padding:12px;gap:12px}.app-shell .business-projects article>div{gap:4px}.app-shell .business-controls button,.app-shell .business-projects article button:not(.business-project-title){padding:6px 10px;min-height:34px;border-radius:6px}.app-shell .business-controls{gap:6px}.app-shell .business-controls :is(select,input){min-height:34px;padding:6px 8px}.app-shell .business-finance details{padding:10px;border-radius:8px}.app-shell .business-line{margin-top:4px;padding:8px 0;gap:8px}.app-shell .crm-task-card{padding:12px;gap:10px;border-radius:8px}.app-shell .crm-task-list{gap:8px}.app-shell .crm-task-card h3{font-size:15px;margin:4px 0}.app-shell .crm-task-card p{margin:3px 0;font-size:13px}.app-shell .stats{gap:8px;margin-bottom:12px}.app-shell .stat{padding:12px;min-height:0;border-radius:8px}.app-shell .stat strong{margin:6px 0;font-size:24px}.app-shell .finance-panel .panel-title{padding:8px 12px;min-height:0;justify-content:flex-end}.app-shell .finance-panel .panel-title button{min-height:34px;padding:6px 12px;border-radius:6px;font-size:12px}.app-shell .finance-fund-summary{padding:8px 12px;gap:12px;font-size:12px}.app-shell .finance-filters{padding:10px 12px;gap:10px}.app-shell .finance-filters :is(select,input){min-height:34px;padding:6px 8px}.app-shell .selected-project{padding:12px;gap:12px}.app-shell .calculation-tabs{display:flex;flex-wrap:wrap;gap:4px;padding:4px;margin-bottom:12px}.app-shell .calculation-tabs button{flex:0 1 auto;white-space:nowrap}.app-shell .calc-toolbar{padding:8px 0;margin:0 0 10px}.app-shell .calc-toolbar select{min-height:34px;padding:6px 9px}.app-shell .balance-summary{margin-bottom:12px}.app-shell .balance-summary>div{padding:12px;min-height:0}.app-shell .balance-summary strong{font-size:24px;margin:5px 0}.app-shell .calc-actions button{min-height:34px;padding:6px 10px;border-radius:6px}.app-shell .settings-card{padding:14px;border-radius:10px}.app-shell .settings-card>header{margin-bottom:10px;padding:0}.app-shell .integration-status{padding:10px;border-radius:8px}.app-shell .chat-panel-head{min-height:54px;padding:10px 12px;gap:8px}.app-shell .chat-panel-head h3{font-size:16px}@media (max-width:1000px){.app-shell .planning-list{min-width:0;overflow:visible}.app-shell .planning-head{display:none}.app-shell .planning-row{min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px}.app-shell .planning-row .planning-person,.app-shell .planning-row .planning-roles{grid-column:1/-1;min-width:0}.app-shell .planning-roles{display:flex;flex-wrap:wrap;gap:6px}.app-shell .planning-row>input{min-width:0;width:100%}.app-shell .planning-row button{min-height:34px}}.app-shell .business-metric{text-align:left;display:grid;justify-content:stretch;align-content:start;gap:8px;white-space:normal}.app-shell .business-detail .business-line{padding:10px 0}.business-detail .business-line{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) auto}.business-detail.count-only .business-line{grid-template-columns:minmax(0,1fr) auto}.business-detail button{text-align:left;justify-content:flex-start}.app-shell .business-detail small{display:block;color:var(--text-secondary)}.app-shell .stat b{font-size:22px}.chat-width-control{display:flex;align-items:center;gap:8px;padding:6px 10px;color:var(--text-secondary);font-size:10px}.chat-width-control input{width:100%;min-width:0;height:20px;padding:0;accent-color:var(--accent)}.chat-forward-form,.disk-connections,.disk-connections form{display:grid;gap:10px;min-width:0}.chat-forward-form label,.disk-connections label{display:grid;gap:5px}.chat-forward-form blockquote{margin:0;padding:10px;border-left:2px solid var(--accent);max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.disk-connection{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px}.disk-connections p{margin:4px 0;font-size:12px;color:var(--text-secondary)}.yandex-token-guide{margin-top:14px;border:1px solid var(--border);border-radius:8px;min-width:0}.yandex-token-guide summary{padding:12px;cursor:pointer;color:var(--accent);font-size:12px;font-weight:700}.yandex-token-guide summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.yandex-token-guide-body{padding:0 14px 14px;color:var(--text-secondary);font-size:13px;line-height:1.65;overflow-wrap:anywhere}.yandex-token-guide-body h3{color:var(--text-primary);font-size:16px;margin:4px 0 12px}.yandex-token-guide-body h4{color:var(--text-primary);font-size:13px;margin:0 0 6px}.yandex-token-guide-body p{margin:8px 0}.yandex-token-guide-body ol{list-style:decimal;padding-left:22px}.yandex-token-guide-body ol>li{padding-left:3px;margin:16px 0}.yandex-token-guide-body ul{list-style:disc;padding-left:18px}.yandex-token-guide-body a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.yandex-token-guide-body code{font-size:12px;white-space:normal;overflow-wrap:anywhere}.yandex-token-guide-url{display:block;padding:10px;background:var(--surface-raised);border:1px solid var(--border);border-radius:6px;user-select:all}.yandex-token-guide-secret{padding:10px;border-left:2px solid var(--accent);background:var(--surface-raised)}.app-shell .disk-connections button{border:1px solid var(--border);padding:7px 10px;min-height:34px;white-space:normal}.app-shell .chat-reactions .chat-forward-button{width:auto;border-radius:5px;padding:2px 6px;gap:3px;font-size:10px}@media (min-width:901px){.app-shell .chat-channels{display:flex;flex-direction:column;min-height:0;height:100%}.app-shell .chat-channels>.chat-panel-head,.app-shell .chat-width-control{flex:0 0 auto}.app-shell .chat-channel-list{height:auto;flex:1 1 0;min-height:0}.app-shell .chat-group-form{max-height:45%;overflow:auto;flex:0 0 auto}.app-shell .chat-room-head{flex-wrap:wrap}.app-shell .chat-room-title{min-width:90px}.app-shell .chat-room-actions{margin-left:auto;flex-wrap:wrap}}@media (min-width:1201px){.app-shell .team-chat{grid-template-columns:clamp(180px,var(--chat-channel-width,260px),calc(100% - 590px)) minmax(0,1fr) 230px}}@media (min-width:901px) and (max-width:1200px){.app-shell .team-chat{grid-template-columns:minmax(180px,min(var(--chat-channel-width,260px),40%)) minmax(0,1fr)}}@media (max-width:900px){.chat-width-control{display:none}}@media (max-width:640px){.app-shell .settings-grid{grid-template-columns:minmax(0,1fr)}.app-shell .settings-card{min-width:0}.app-shell .calc-row b[data-label]:before{content:attr(data-label);display:block;color:var(--text-secondary);font-size:10px;font-weight:500;margin-bottom:3px}.app-shell .content>header{display:flex;flex-wrap:wrap;padding:6px 0 10px;margin-bottom:10px;gap:8px}.app-shell .content>header h1{font-size:21px}.app-shell .header-actions{width:auto;margin-left:auto;flex-wrap:nowrap}.app-shell .header-actions button{min-height:34px;padding:6px 9px}.app-shell .calendar-toolbar{padding:7px}.app-shell .brief-head{display:flex;flex-wrap:wrap;gap:6px}.app-shell .brief-mobile-tools{padding:5px;gap:4px;min-height:0}.app-shell .brief-mobile-tools button{min-width:0;min-height:34px;padding:5px 6px;font-size:12px;border-radius:5px}.app-shell .project-estimate .estimate-mobile-switch{padding:3px;min-height:38px;gap:3px}.app-shell .project-estimate .estimate-mobile-switch button,.app-shell .project-estimate .estimate-mobile-switch button.active{min-height:32px!important;padding:5px 7px!important;font-size:12px!important;font-weight:700!important;line-height:1.2}.app-shell .project-estimate .estimate-mobile-switch button b{font-size:11px}.app-shell .project-estimate .estimate-mobile-switch button span{font-size:12px!important;font-weight:700!important}.app-shell .project-estimate .estimate-section-actions button,.app-shell .project-estimate .estimate-section-tabs button{font-size:12px!important;min-height:32px!important}.app-shell .project-estimate .project-estimate-row{padding:8px!important;margin:5px!important;gap:6px!important;border-radius:8px!important}.app-shell .project-estimate .project-estimate-row>[data-label]:before{grid-column:1/-1;margin-bottom:2px;font-size:10px!important}.app-shell .project-estimate .project-estimate-row :is(input,select){min-width:0!important;width:100%;min-height:34px!important;padding:5px 6px!important}.app-shell .project-estimate .qty-input{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:4px;align-content:start}.app-shell .project-estimate .qty-input:before{grid-column:1/-1}.app-shell .business-metric{padding:10px}.app-shell .business-metric strong{font-size:22px}.app-shell .business-projects article{padding:10px;gap:8px}.app-shell .business-controls>*{flex:1 1 auto}.app-shell .calculation-tabs{display:grid;grid-template-columns:1fr}.app-shell .calculation-tabs button{min-height:34px;text-align:left;justify-content:flex-start}.app-shell .calc-actions button{width:auto;flex:1 1 auto;min-height:34px}.app-shell .crm-task-card{padding:10px}}.project-copy-fields{display:grid;gap:14px;border:0;padding:0;margin:18px 0;min-width:0}.project-copy-fields label{display:grid;gap:6px;min-width:0}.project-copy-fields input{width:100%;min-width:0}.catalog-move-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px;border-bottom:1px solid var(--border,#343b40)}.catalog-move-bar select{max-width:100%;flex:1;min-width:160px}.catalog-clipboard{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%}.catalog-clipboard small{flex-basis:100%;color:var(--muted,#9ba5ad)}.catalog-move-bar p{flex-basis:100%;margin:0}.catalog-table-row[aria-pressed=true]{outline:2px solid #d9ff3f;outline-offset:-2px}.crm-offline-banner{position:fixed;bottom:12px;left:12px;right:12px;z-index:10000;background:#24291b;color:#eff7d9;border:1px solid #d9ff3f;border-radius:10px;padding:12px 16px;max-width:900px;margin:auto;font-size:13px;box-shadow:0 4px 20px #0008}.push-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.push-status small{max-width:340px;color:#e5c77c;font-size:12px}@media(max-width:640px){.tenant-strip{flex-wrap:wrap;gap:6px}.push-status{width:100%}.crm-offline-banner{font-size:12px;bottom:calc(8px + env(safe-area-inset-bottom))}.catalog-move-bar button{min-height:40px}}.project-offline-fields{display:contents;border:0;padding:0;margin:0}.project-offline-fields:disabled input,.project-offline-fields:disabled select,.project-offline-fields:disabled textarea{opacity:1;color:inherit}.ai-project-dialog fieldset{border:0;padding:0;margin:0;min-width:0}.ai-project-dialog input:not([type=checkbox]),.ai-project-dialog select,.ai-project-dialog textarea{max-width:100%;width:100%;box-sizing:border-box}.ai-project-dialog details{margin-bottom:16px}.ai-project-dialog summary{cursor:pointer;padding:10px 0}.ai-estimate-line{border:1px solid var(--border,#394038);border-radius:12px;padding:14px;margin:14px 0;overflow-wrap:anywhere}.ai-line-toggle{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.ai-line-toggle input{width:18px;height:18px;flex-shrink:0}.ai-line-toggle span{font-size:12px;color:var(--muted,#aaa)}.ai-line-price{display:flex;flex-direction:column;justify-content:center;gap:6px}.ai-project-dialog p{overflow-wrap:anywhere}.ai-estimate-questions{border:1px solid var(--border,#394038);border-radius:12px;padding:14px;margin:14px 0}.ai-estimate-questions ul{margin:8px 0 0;padding-left:20px;list-style:disc}@media(max-width:600px){.ai-project-dialog .two{grid-template-columns:minmax(0,1fr)}.ai-estimate-line{padding:10px}.ai-project-dialog .settings-card{padding:12px}}.app-shell .content{padding:12px 20px 16px;max-width:none}.app-shell .content>header{min-height:40px;margin-bottom:8px;padding:0 0 8px}.app-shell .calendar-toolbar .legend{width:auto;flex:1}.app-shell .calendar-toolbar .month{width:auto;grid-template-columns:32px minmax(125px,auto) 32px auto}.app-shell .calendar-toolbar .calendar-content-filter{margin-left:auto}.app-shell .calendar-week-cell.outside{opacity:.7}.estimate-status-row[hidden]{display:none!important}.settings-account{margin-bottom:12px}.settings-account .company-settings{padding:10px 0;max-width:none}.estimate-document-options{margin:6px 0;font-size:12px}.estimate-document-options summary{cursor:pointer;padding:6px 0}.estimate-document-options .document-options-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;padding:8px 0}.estimate-document-options label{display:flex;gap:6px;align-items:center}.estimate-document-options input{width:auto}@media(min-width:901px){.app-shell .chat-content{height:100dvh;display:flex;flex-direction:column;min-height:0;overflow:hidden}.app-shell .chat-content>.team-chat{flex:1;min-height:0;height:auto;margin:0}.app-shell .team-chat.tasks-collapsed{grid-template-columns:minmax(180px,var(--chat-channel-width,260px)) minmax(0,1fr) 92px}.app-shell .tasks-collapsed .chat-panel-head small,.app-shell .tasks-collapsed .chat-panel-head>button,.app-shell .tasks-collapsed .chat-tasks>:not(.chat-panel-head){display:none}.app-shell .tasks-collapsed .chat-tasks .chat-panel-head{padding:8px}.app-shell .tasks-collapsed .chat-tasks-collapse{display:block;margin-top:8px}}@media(max-width:900px){.app-shell .content{padding:10px 12px 80px}.chat-tasks-collapse{display:none}}.app-shell .catalog-photo-gallery{display:grid;grid-template-columns:1fr;gap:8px}.app-shell .catalog-photo-gallery a{display:block;width:100%;height:auto}.app-shell .catalog-photo-gallery img{width:100%;height:210px;max-height:none;object-fit:contain;background:var(--surface-muted)}.app-shell .catalog-photos{padding:10px}.app-shell .catalog-photos :is(h4,p,small){font-size:11px;line-height:1.4}.app-shell .catalog-photos h4{margin:0 0 8px}.app-shell .catalog-content .catalog-layout{gap:10px}.catalog-export,.contractor-list{display:flex;flex-wrap:wrap;gap:6px}.contractor-form,.venue-editor{display:grid;gap:10px}.contractor-form{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.contractor-form label,.venue-editor label{display:grid;gap:5px}.project-contractors{padding:10px;border:1px solid var(--border);margin-bottom:10px}.project-contractors summary{cursor:pointer}.catalog-kit p,.project-contractors p{font-size:12px}.catalog-kit{margin:12px 0;padding:10px;border:1px solid var(--border)}.kit-part{display:grid;grid-template-columns:minmax(0,1fr) 70px 30px;align-items:center;gap:5px;margin:5px 0}.kit-part input{min-width:0;width:100%}.catalog-excel-import{display:grid;gap:10px;margin-bottom:20px}.supplier-invite{width:100%}.supplier-invite form{display:grid;gap:8px;max-width:500px;padding:12px 0}.supplier-portal{padding:16px}.supplier-portal header{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.supplier-portal table{width:100%;margin-top:12px}.supplier-portal td,.supplier-portal th{text-align:left;padding:8px}@media(min-width:901px){.app-shell .catalog-content{height:100dvh;display:flex;flex-direction:column;min-height:0;overflow:hidden}.app-shell .catalog-page{flex:1;display:flex;flex-direction:column;min-height:0}.app-shell .catalog-content .catalog-layout{flex:1;height:auto;min-height:0}}.app-shell .chat-tasks-collapse{font-size:11px;white-space:normal;max-width:100%;padding:5px 3px}.app-shell .tasks-collapsed .chat-tasks-collapse{width:100%}.app-shell .chat-channel.active{box-shadow:none}.portal.company-settings{min-height:0;width:100%;max-width:none;padding:12px 0;display:block}.portal.company-settings>h2{font-size:16px;margin:0 0 12px}.portal.company-settings .member-trash-toggle{display:inline-flex;align-items:center;gap:8px;margin:14px 0 4px;cursor:pointer;width:auto}.portal.company-settings .member-trash-toggle input[type=checkbox]{width:18px;height:18px;min-height:18px;margin:0;padding:0;flex:none;accent-color:#D9FF3F}.settings-heading{display:flex;align-items:baseline;gap:16px;flex-wrap:wrap;padding:10px 0 14px}.settings-heading h2{font-size:22px;line-height:1.2;margin:0}.settings-heading p{margin:0;color:var(--muted,#9baebd);font-size:13px}.legal-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.legal-profile-grid label{display:grid;gap:6px;min-width:0;font-size:13px}.legal-profile-grid input{width:100%;min-width:0;box-sizing:border-box}.company-details-form>details,.legal-wide{grid-column:1/-1}.company-details-form summary,.customer-editor summary{cursor:pointer;font-weight:600}.company-details-form small{color:var(--muted,#9baebd);line-height:1.4}.company-details-form>.portal-actions{align-items:center;justify-content:flex-start}@media(max-width:680px){.legal-profile-grid{grid-template-columns:1fr}.settings-heading{gap:5px}.settings-heading p{width:100%}}.app-shell .project-estimate{container:estimate/inline-size}.app-shell .project-estimate .estimate-heading-layout{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"title actions" "status status";align-items:center;gap:8px 12px;padding:10px 0;margin-bottom:8px}.app-shell .project-estimate .estimate-heading-layout>.project-editor-section-head{display:contents}.app-shell .project-estimate .estimate-heading-layout .project-editor-section-head>div:first-child{grid-area:title}.app-shell .project-estimate .estimate-top-actions{grid-area:actions;justify-self:end;flex-wrap:wrap;gap:6px}.app-shell .project-estimate .estimate-top-actions>button{flex:0 0 auto;white-space:nowrap}.app-shell .project-estimate .estimate-status-row{grid-area:status;display:grid;grid-template-columns:211px minmax(0,401px);align-items:stretch;gap:8px;margin:0;min-width:0}.app-shell .project-estimate .estimate-status-row>div{display:block;grid-column:auto;box-sizing:border-box;min-width:0;height:35px;margin:0;padding:4px 8px;font-size:11px;line-height:15px;white-space:normal;overflow-wrap:anywhere;overflow:auto;scrollbar-gutter:stable}.app-shell .project-estimate .estimate-status-row>.estimate-autosave-status:not(.error){height:37px;padding-top:10px}.app-shell .project-estimate .estimate-save-recovery{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}@container estimate (min-width: 1280px){.app-shell .project-estimate .estimate-heading-layout{grid-template-columns:max-content 211px 401px minmax(0,1fr);grid-template-areas:"title saved pdf actions"}.app-shell .project-estimate .estimate-status-row{display:contents}.app-shell .project-estimate .estimate-status-row>.estimate-autosave-status{grid-area:saved}.app-shell .project-estimate .estimate-status-row>.estimate-pdf-status{grid-area:pdf}}.app-shell .project-estimate .estimate-document-history{padding:0;margin:-1px -1px -1px 0}.app-shell .project-estimate .estimate-document-history>summary{min-height:24px;line-height:24px}.app-shell .project-estimate .estimate-document-history>div{padding:8px}.app-shell .project-estimate .estimate-section-tab{align-items:stretch;overflow:hidden;background:var(--surface-card)}.app-shell .project-estimate .estimate-section-tab.active{background:rgba(217,255,63,.07);border-color:var(--accent)}.app-shell .project-estimate .estimate-section-tab>button{border:0;border-radius:0;box-shadow:none;background:transparent}.app-shell .project-estimate .estimate-section-tab.active>button{color:var(--accent)}.app-shell .project-estimate .estimate-section-tab>.section-remove{align-self:stretch;min-width:28px;padding:4px}.app-shell .project-estimate .estimate-section-tab>.section-remove:hover{color:var(--danger);background:rgba(255,255,255,.05)}.app-shell .project-estimate .estimate-section-tab>button:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}@media (max-width:600px){.app-shell .project-estimate .estimate-heading-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"actions" "status"}.app-shell .project-estimate .estimate-heading-layout .project-editor-section-head>div:first-child{display:none}.app-shell .project-estimate .estimate-status-row{grid-template-columns:minmax(0,1fr);gap:4px}.app-shell .project-estimate .estimate-status-row>.estimate-autosave-status:not(.error){height:24px;padding:3px 8px}}.app-shell>.content,.company-grid>*,.document-designer>*,.portal-form>*,.settings-grid>*{min-width:0}.portal-form input,.portal-form select,.portal-form textarea{max-width:100%;box-sizing:border-box}.portal-card h2,.portal-card p,.settings-card h3,.settings-card p{overflow-wrap:anywhere}.modal,.portal-modal>.portal-card{max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}.portal-modal{overflow:auto;padding:12px;align-items:safe center}.project-picking{border:1px solid var(--border);border-radius:10px;padding:12px;margin:10px 0}.project-picking summary{cursor:pointer;font-weight:700;padding:8px 0}.project-picking progress{accent-color:var(--accent);width:min(300px,100%);margin-right:12px}.picking-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid var(--border)}.picking-row>div:first-child{flex:1 1 220px;min-width:0;overflow-wrap:anywhere}.picking-row small{display:block;color:var(--text-muted)}.picking-row label{display:grid;gap:4px;width:100px}.picking-row input{width:100%;box-sizing:border-box}.ai-document-import>p{max-width:85ch}.ai-document-import>button{margin:8px}.ai-document-import label{display:grid;gap:4px}.ai-document-import input[type=file]{max-width:100%;overflow:hidden}.ai-document-import img{display:block;max-width:100px;max-height:100px;object-fit:contain}.ai-import-table{max-width:100%;overflow:auto;overscroll-behavior-x:contain}.ai-import-table table{border-collapse:collapse;width:100%;min-width:850px}.ai-import-table td,.ai-import-table th{padding:8px;vertical-align:top;border:1px solid var(--border)}.ai-import-table input:not([type=checkbox]),.ai-import-table textarea{width:100%;min-width:90px;box-sizing:border-box}.ai-import-table td:last-child{min-width:200px}.ai-import-table details label{margin-top:8px}.ai-import-table input[type=checkbox]{width:18px;height:18px}.ai-lookup-result{padding:16px;border:1px solid var(--border);margin:12px 0}.ai-lookup-result a{display:block;overflow-wrap:anywhere}.document-designer{display:grid;grid-template-columns:minmax(200px,1fr) minmax(280px,1.3fr);gap:20px;width:100%}.document-design-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-content:start}.document-design-controls label{display:grid;gap:6px}.document-design-controls textarea{min-height:70px;resize:vertical}.document-design-controls input,.document-design-controls select,.document-design-controls textarea{width:100%;box-sizing:border-box}.document-design-page{aspect-ratio:210/297;border:1px solid #777;border-radius:3px;padding:5%;background-size:100% 100%;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.4}.document-design-page h2,.document-design-page h3,.document-design-page h4,.document-design-page p{color:inherit;margin:10px 0}.document-design-page img{max-width:100%;max-height:100px;object-fit:contain}.document-design-page .document-design-logo{max-width:45%}.document-design-page table{width:100%;border-collapse:collapse}.document-design-page td,.document-design-page th{border:1px solid #555;padding:5px}.document-design-page footer{margin-top:30px}@media(max-width:900px){.document-designer{grid-template-columns:1fr}.document-design-page{max-width:600px}.document-design-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.app-shell input:not([type=checkbox]):not([type=radio]),.app-shell select,.app-shell textarea,.portal input:not([type=checkbox]):not([type=radio]),.portal select,.portal textarea{font-size:16px}.app-shell button,.portal button,.project-picking summary{min-height:40px}.document-design-controls{grid-template-columns:1fr}.document-design-page{font-size:12px!important}.ai-import-table table,.ai-import-table tbody,.ai-import-table td,.ai-import-table tr{display:block;min-width:0;width:auto}.ai-import-table thead{display:none}.ai-import-table tr{border:1px solid var(--border);border-radius:8px;margin:12px 0;padding:8px}.ai-import-table td{border:0;padding:6px}.ai-import-table input:not([type=checkbox]),.ai-import-table td:last-child{min-width:0}.picking-row button{flex:1 1 130px}.picking-row>div:first-child{flex-basis:100%}.modal,.portal-modal>.portal-card{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}}@media(prefers-reduced-motion:reduce){.document-designer *,.project-picking *{scroll-behavior:auto;transition:none}}.settings-account .portal-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.settings-account .portal-actions>.push-status>button,.settings-account .portal-actions>a,.settings-account .portal-actions>button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-card);text-decoration:none;line-height:1.3}.settings-account .portal-actions>a:hover,.settings-account .portal-actions>button:hover{border-color:var(--accent)}.settings-grid{align-items:start}.settings-grid>.ai-credit-balance{align-self:start}.ai-credit-inline{display:block;color:var(--text-muted);margin:8px 0}.ai-document-import details{margin:8px 0}.app-shell .settings-calculation-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px;align-items:start}.app-shell .settings-calculation-fields>label{display:grid;grid-template-rows:2.8em 40px auto;gap:6px;min-width:0;margin:0;line-height:1.4}.settings-calculation-fields>label>span{font-size:13px;font-weight:600;display:flex;align-items:end}.settings-calculation-fields input{width:100%;min-width:0;height:40px;box-sizing:border-box}.document-design-controls .member-trash-toggle,.picking-filters .member-trash-toggle{display:flex;align-items:center;gap:8px;line-height:1.4}.document-design-controls input[type=checkbox],.picking-filters input[type=checkbox]{width:18px!important;height:18px!important;min-height:18px!important;flex:0 0 18px;padding:0;accent-color:var(--accent)}.pdf-preview-tools,.picking-filters,.template-variants{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:12px 0}.picking-filters label,.template-variants label{display:grid;gap:6px;flex:1 1 180px;min-width:0}.picking-filters input,.template-variants input,.template-variants select{width:100%;min-width:0;box-sizing:border-box}.pdf-live-preview{position:relative;width:100%;min-width:0;border:1px solid var(--border);border-radius:8px;overflow:hidden;background:#fff}.pdf-live-preview iframe{display:block;width:100%;height:min(820px,80vh);border:0}.pdf-preview-uploads{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:var(--surface-card);border-bottom:1px solid var(--border)}.pdf-preview-uploads label{cursor:pointer;border:1px solid var(--border);border-radius:6px;padding:6px 10px;font-size:12px}.pdf-preview-uploads input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.pdf-preview-uploads label:focus-within{outline:2px solid var(--accent)}.document-design-controls fieldset{grid-column:1/-1;border:1px solid var(--border);border-radius:8px;padding:12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}.document-design-controls legend{padding:0 6px;font-weight:600}.picking-workspace{margin:0;padding:18px;background:var(--surface-card)}.picking-workspace h2{margin:0 0 12px;font-size:20px}.picking-workspace .picking-row{padding:16px 0}.app-shell .project-estimate-pane{container-type:inline-size;container-name:estimate-table;min-width:0}.app-shell .project-estimate .project-estimate-table{min-width:0;max-width:100%;overflow-x:visible}.app-shell .project-estimate .project-estimate-head,.app-shell .project-estimate .project-estimate-row{width:auto!important;min-width:0!important;max-width:100%;grid-template-columns:minmax(110px,1.6fr) minmax(100px,1.1fr) minmax(100px,1.1fr) 72px 75px 45px 48px 88px 28px;gap:6px}.app-shell .project-estimate .project-estimate-row>div{min-width:0}.app-shell .project-estimate .project-estimate-row input,.app-shell .project-estimate .project-estimate-row select{min-width:0;width:100%;box-sizing:border-box;padding:6px;font-size:12px}.app-shell .project-estimate .project-estimate-row .qty-input{display:grid;grid-template-columns:1fr!important;gap:4px}.app-shell .project-estimate .project-estimate-head.no-financials,.app-shell .project-estimate .project-estimate-row.no-financials{grid-template-columns:minmax(120px,2fr) minmax(110px,1.5fr) 90px 30px}@container estimate-table (max-width:900px){.app-shell .project-estimate .project-estimate-head{display:none!important}.app-shell .project-estimate .project-estimate-row,.app-shell .project-estimate .project-estimate-row.no-financials{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))!important;margin:8px 0;padding:12px;gap:10px;border:1px solid var(--border);border-radius:8px}.app-shell .project-estimate .project-estimate-row>*{grid-column:auto;grid-row:auto}.app-shell .project-estimate .project-estimate-row>.estimate-supplier-cell,.app-shell .project-estimate .project-estimate-row>div:first-child,.app-shell .project-estimate .project-estimate-row>div:nth-child(2){grid-column:span 2!important}.app-shell .project-estimate .project-estimate-row>[data-label]:before{content:attr(data-label);display:block!important;font-size:10px;color:var(--text-muted);margin-bottom:5px}.app-shell .project-estimate .project-estimate-row>.estimate-sum-cell{grid-column:auto;overflow-wrap:anywhere}.app-shell .project-estimate .project-estimate-row>button{justify-self:end}}@container estimate-table (max-width:520px){.app-shell .project-estimate .project-estimate-row,.app-shell .project-estimate .project-estimate-row.no-financials{grid-template-columns:repeat(3,minmax(0,1fr))!important}.app-shell .project-estimate .project-estimate-row>*{grid-column:auto;grid-row:auto}.app-shell .project-estimate .project-estimate-row>.estimate-supplier-cell,.app-shell .project-estimate .project-estimate-row>div:first-child,.app-shell .project-estimate .project-estimate-row>div:nth-child(2){grid-column:1/-1!important}}@media(max-width:600px){.template-variants>*{flex-basis:100%}.pdf-preview-uploads label{flex:1 1 40%;text-align:center}.document-design-controls fieldset{grid-template-columns:1fr}.picking-workspace{padding:12px}}.document-block-order>div{display:flex;gap:6px;align-items:center;grid-column:1/-1}.document-block-order span{flex:1}.document-block-order button{border:1px solid var(--border);padding:4px 12px}.pdf-placeholder{min-height:250px;padding:24px;color:#222}.external-crm-import{margin:10px 0;border:1px solid var(--border);border-radius:8px;padding:12px;min-width:0}.external-crm-import summary{cursor:pointer;font-weight:600}.external-crm-import li,.external-crm-import p{overflow-wrap:anywhere}.external-crm-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px;margin:12px 0}.external-crm-fields label{display:grid;gap:5px;min-width:0}.external-crm-fields input,.external-crm-fields select{width:100%;min-width:0;box-sizing:border-box}.external-crm-wide{grid-column:1/-1}.external-crm-fields small{color:var(--text-muted)}.external-crm-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:10px;max-height:480px;overflow:auto;margin:12px 0}.external-crm-preview article{padding:12px;border:1px solid var(--border);border-radius:8px;min-width:0;overflow-wrap:anywhere}.external-crm-preview dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:8px;margin:4px 0}.external-crm-preview dd{margin:0}.external-crm-preview dt{color:var(--text-muted)}.external-crm-import .member-trash-toggle{display:flex;align-items:center;gap:8px;margin:10px 0}.external-crm-import input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;padding:0}.external-crm-import button{margin:6px 0}.external-crm-import button,.template-variants button{border:1px solid var(--border);border-radius:8px;padding:8px 12px;min-height:38px;background:var(--surface-card)}.template-variants button:hover{border-color:var(--accent)}.app-shell .project-estimate .estimate-row-number{position:static!important;margin:0;font-size:10px}@container estimate-table (max-width:900px){.app-shell .project-estimate .project-estimate-row>.estimate-sum-cell{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:center;grid-column:span 2!important;padding:8px}.app-shell .project-estimate .estimate-sum-cell:before{width:100%;white-space:normal}.app-shell .project-estimate .estimate-sum-cell b{font-size:14px;white-space:nowrap}}