.invoice-page-stack{display:grid;gap:1.25rem}.invoice-create-card{width:100%}.invoice-create-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.invoice-create-header h2{margin-bottom:.15rem}.invoice-create-toggle{flex:0 0 auto;min-width:13rem}.invoice-form-compact{margin-top:1rem;gap:.75rem}.invoice-main-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.65rem;align-items:end}.invoice-notes-row textarea{min-height:44px;resize:vertical}.invoice-positions-header,.invoice-form-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.invoice-positions-header h3{margin:0}.invoice-items-compact{display:grid;gap:.5rem}.invoice-item-row{display:grid;grid-template-columns:minmax(220px,2fr) .65fr .65fr .85fr .75fr .75fr auto auto;gap:.5rem;align-items:end;padding:.6rem;border:1px solid #e2e8f0;border-radius:14px;background:#f8fafc}.invoice-item-row label{gap:.25rem}.invoice-line-total{min-width:5.5rem;padding:.62rem .35rem;font-weight:800;text-align:right;white-space:nowrap}.invoice-remove-item{min-width:2.4rem;padding-left:.6rem;padding-right:.6rem}.invoice-summary-inline{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;margin:0;padding:.75rem 1rem}@media (max-width: 1100px){.invoice-main-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.invoice-item-row{grid-template-columns:minmax(220px,2fr) repeat(3,minmax(90px,1fr))}.invoice-line-total{text-align:left}}@media (max-width: 760px){.invoice-create-header,.invoice-form-footer,.invoice-positions-header{align-items:stretch;flex-direction:column}.invoice-create-toggle,.invoice-create-header button,.invoice-form-footer button,.invoice-positions-header button{width:100%}.invoice-main-grid,.invoice-item-row{grid-template-columns:1fr}.invoice-summary-inline{align-items:flex-start;flex-direction:column;gap:.35rem}}.invoice-list-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr)) minmax(170px,auto);gap:.65rem;align-items:end;margin-bottom:1rem}.invoice-list-filter-grid label{min-width:0}.invoice-list-filter-grid select,.invoice-list-filter-grid button{width:100%;min-width:0}.invoice-list-table{table-layout:auto;width:100%}.invoice-list-table th,.invoice-list-table td{vertical-align:top;overflow-wrap:anywhere}.invoice-list-actions{flex-wrap:wrap;min-width:180px}@media (max-width: 1180px){.invoice-list-filter-grid{grid-template-columns:repeat(3,minmax(160px,1fr))}}@media (max-width: 860px){.invoice-list-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 760px){.invoice-list-filter-grid{grid-template-columns:1fr}.invoice-list-table .invoice-list-actions-cell{display:block}.invoice-list-table .invoice-list-actions-cell:before{display:block;margin-bottom:.5rem}.invoice-list-actions{display:grid;grid-template-columns:1fr;min-width:0;width:100%}.invoice-list-actions button{width:100%;min-width:0;white-space:normal}}@media (min-width: 761px){.invoice-list-actions-cell{white-space:nowrap}.invoice-list-actions{display:flex;flex-wrap:nowrap;gap:.35rem;min-width:max-content}.invoice-list-actions button{flex:0 0 auto;min-width:0;padding:.42rem .55rem;font-size:.78rem;line-height:1.15;white-space:nowrap}}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#eef2f7}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}a{color:inherit;text-decoration:none}button,.button-like{border:0;border-radius:12px;padding:.75rem 1rem;background:#1d4ed8;color:#fff;font-weight:700;cursor:pointer;display:inline-block;text-align:center}button:disabled{opacity:.65;cursor:not-allowed}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:.75rem;font:inherit;background:#fff}textarea{min-height:90px;resize:vertical}label{display:grid;gap:.35rem;font-weight:700}table{width:100%;border-collapse:collapse}th,td{padding:.75rem;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}th{color:#475569;font-size:.9rem}code{background:#e2e8f0;border-radius:8px;padding:.2rem .4rem}.app-shell{min-height:100vh}.topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem clamp(1rem,4vw,2.5rem);background:#ffffffeb;border-bottom:1px solid #dbe3ef;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.top-menu{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.75rem;min-width:0;flex:1}.menu-title{font-weight:900;color:#334155;white-space:nowrap}.nav-links{display:flex;align-items:center;gap:.75rem;flex-wrap:nowrap}.nav-scroll{overflow-x:auto;overflow-y:hidden;min-width:0;max-width:100%;padding:.25rem 0 .45rem;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.nav-scroll::-webkit-scrollbar{height:8px}.nav-scroll::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:999px}.nav-links a,.link-button{border:1px solid #cbd5e1;border-radius:999px;padding:.5rem .8rem;background:#fff;color:#172033;font-weight:700;white-space:nowrap;flex:0 0 auto}.content{padding:clamp(1rem,4vw,2.5rem)}.card{background:#fff;border:1px solid #dbe3ef;border-radius:22px;padding:clamp(1rem,3vw,1.5rem);box-shadow:0 12px 40px #0f172a14}.login-page{min-height:100vh;display:grid;place-items:center;padding:1rem}.login-card{width:min(460px,100%)}.grid{display:grid;gap:1.25rem}.two-columns{grid-template-columns:minmax(280px,420px) 1fr}.form-stack{display:grid;gap:1rem}.muted{color:#64748b}.hint{color:#64748b;font-size:.9rem;line-height:1.5}.alert{border-radius:14px;padding:.75rem 1rem;font-weight:700}.alert.error{background:#fee2e2;color:#991b1b}.alert.success{background:#dcfce7;color:#166534}.table-wrapper{overflow-x:auto}.hero-card{margin-bottom:1.25rem}@media (max-width: 900px){.two-columns{grid-template-columns:1fr}.topbar{align-items:stretch;flex-direction:column}.top-menu{grid-template-columns:1fr;gap:.35rem}}.badge{display:inline-block;padding:.2rem .55rem;border-radius:999px;background:#e0e7ff;color:#1e3a8a;font-size:.8rem;font-weight:800}button.small{padding:.45rem .7rem;border-radius:9px;font-size:.85rem}button.danger{background:#b91c1c}input[type=checkbox]{width:auto;transform:scale(1.25)}.three-columns{grid-template-columns:repeat(3,minmax(220px,1fr))}.four-columns{grid-template-columns:repeat(4,minmax(160px,1fr))}.metric{font-size:2rem;font-weight:900;margin:.25rem 0 0}.permission-group{border-top:1px solid #e2e8f0;margin-top:1rem;padding-top:.75rem}.checkbox-row{align-items:center;display:flex;gap:.75rem;margin:.55rem 0}.checkbox-row small{color:#64748b;font-weight:500}.pre-wrap{white-space:pre-wrap;word-break:break-word;margin:0;font-size:.8rem}@media (max-width: 1100px){.three-columns,.four-columns{grid-template-columns:1fr}}.button-row{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.inline-form{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:.75rem;align-items:end;margin-top:1rem}.link-inline{background:transparent;color:#1d4ed8;padding:0;border-radius:0;font-weight:800}@media (max-width: 700px){.inline-form{grid-template-columns:1fr}}.error-details{max-height:220px;overflow:auto;white-space:pre-wrap;background:#0f172a;color:#f8fafc;border-radius:12px;padding:1rem;font-size:.85rem}button.secondary{background:#64748b}.row-danger{background:#fff1f2}.task-chat-panel{margin-top:1.25rem}.chat-list{display:grid;gap:.75rem;margin:1rem 0;max-height:440px;overflow:auto;padding-right:.25rem}.chat-message{background:#f8fafc;border:1px solid #e2e8f0;border-radius:16px;padding:.85rem 1rem}.chat-meta{color:#64748b;font-size:.85rem;margin-bottom:.35rem}.attachment-chip{display:inline-block;margin:.5rem .5rem 0 0;padding:.45rem .65rem;border-radius:999px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-weight:800}.chat-upload-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.75rem;margin-top:1rem}@media (max-width: 900px){.chat-upload-grid{grid-template-columns:1fr}}.nav-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.2rem;height:1.2rem;margin-left:.35rem;padding:0 .3rem;border-radius:999px;background:#dc2626;color:#fff;font-size:.75rem;font-weight:900}.notification-list{display:grid;gap:1rem;margin-top:1rem}.notification-item{border:1px solid #dbe3ef;border-radius:18px;padding:1rem;background:#f8fafc}.notification-item.unread{border-color:#93c5fd;background:#eff6ff}.notification-item.read{opacity:.82}.notification-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.button-like.secondary,button.secondary{background:#e2e8f0;color:#172033}.compact-grid{gap:.75rem}.setting-preview{display:grid;gap:.5rem;padding:.9rem;border-radius:14px;background:#f8fafc;border:1px solid #e2e8f0;margin-bottom:1rem}.item-card{border:1px solid #dbe3ef;border-radius:16px;padding:1rem;background:#f8fafc;display:grid;gap:.75rem}.summary-box{border:1px solid #dbe3ef;border-radius:16px;padding:1rem;background:#f8fafc;display:grid;gap:.35rem}.summary-box.align-right{justify-items:end;margin-top:1rem}.detail-card{margin-top:1.5rem}button.danger{background:#dc2626;color:#fff}.password-field{display:grid;grid-template-columns:1fr auto;gap:.5rem;align-items:center}.password-toggle{height:100%;white-space:nowrap}.role-list{display:grid;gap:.6rem}.role-button{text-align:left;width:100%}.role-button.active{outline:3px solid #93c5fd}.role-button span{font-size:.8rem;color:#64748b}.role-create-form{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #e2e8f0}.wide-table{margin-top:1.25rem}.brand-area{display:flex;align-items:center;gap:.85rem;min-width:260px}.company-logo{width:52px;height:52px;object-fit:contain;border-radius:14px;border:1px solid #dbe3ef;background:#fff;padding:.25rem;box-shadow:0 8px 24px #0f172a14}.brand-text{display:grid;gap:.2rem}.logged-in-user{color:#64748b;font-size:.88rem}.menu-toggle{display:none;width:max-content;background:#1d4ed8;color:#fff;border-radius:999px}.nav-accordion{display:flex;align-items:flex-start;justify-content:flex-end;gap:.55rem;min-width:0;flex-wrap:wrap}.nav-group{position:relative;flex:0 0 auto}.nav-group-button,.direct-nav-link,.logout-button{border:1px solid #cbd5e1;border-radius:999px;padding:.62rem .9rem;background:#fff;color:#172033;font-weight:800;white-space:nowrap;display:inline-flex;align-items:center;gap:.35rem}.nav-group-button.active{background:#1d4ed8;border-color:#1d4ed8;color:#fff}.nav-group-panel{position:absolute;z-index:50;top:calc(100% + .45rem);left:0;min-width:240px;display:grid;gap:.35rem;padding:.65rem;background:#fff;border:1px solid rgba(148,163,184,.35);border-radius:1rem;box-shadow:0 18px 45px #0f172a2e}.nav-group-panel a{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.68rem .8rem;border-radius:.75rem;background:transparent;color:#0f172a;font-weight:800}.nav-group-panel a:hover{background:#eff6ff;color:#1d4ed8}.notification-dashboard-card{margin-bottom:1.25rem}.notification-preview-list{display:grid;gap:.75rem;margin-top:1rem}.notification-preview-item{border:1px solid #dbe3ef;background:#f8fafc;border-radius:14px;padding:.85rem}.notification-preview-item.unread{border-color:#93c5fd;background:#eff6ff}.notification-preview-title{font-weight:900;margin-bottom:.25rem}@media (max-width: 1000px){.topbar{align-items:stretch;flex-direction:column}.brand-area{min-width:0}.top-menu{display:block}.menu-toggle{display:inline-flex;align-items:center;justify-content:center}.nav-accordion{display:none;margin-top:.75rem;width:100%;align-items:stretch;justify-content:stretch;flex-direction:column}.nav-accordion.open{display:flex}.nav-group,.nav-group-button,.direct-nav-link,.logout-button{width:100%}.nav-group-button,.direct-nav-link,.logout-button{justify-content:space-between;border-radius:14px}.nav-group-panel{position:static;min-width:0;margin:.45rem 0 .65rem;box-shadow:none}}.top-menu{display:flex;justify-content:flex-end;align-items:flex-start;min-width:0;flex:1}@media (max-width: 1000px){.top-menu{display:block}}html,body,#root{max-width:100%;overflow-x:hidden}.content,.card,.topbar,.app-shell{max-width:100%}.compact-hero{margin-bottom:.85rem}.dashboard-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.mini-metric-card{display:grid;gap:.25rem;min-width:0;border:1px solid #dbe3ef;border-radius:18px;padding:.9rem 1rem;background:#fff;box-shadow:0 10px 30px #0f172a12}.mini-metric-card span{color:#64748b;font-size:.86rem;font-weight:800}.mini-metric-card strong{font-size:1.7rem;line-height:1}.dashboard-second-row{align-items:start}.form-grid-2,.form-grid-3{display:grid;gap:.75rem}.form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.entity-card-list{display:grid;gap:.85rem}.entity-card{display:grid;gap:.75rem;border:1px solid #dbe3ef;border-radius:18px;background:#f8fafc;padding:1rem}.entity-card.inactive{background:#fff1f2;border-color:#fecdd3}.entity-card-main{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.entity-card h3{margin:0;overflow-wrap:anywhere}.entity-details-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.entity-details-grid div{display:grid;gap:.15rem;border-radius:12px;background:#fff;padding:.65rem;min-width:0}.entity-details-grid span{color:#64748b;font-size:.78rem;font-weight:900}.entity-details-grid strong{overflow-wrap:anywhere}.compact-actions{display:flex;flex-wrap:wrap;gap:.4rem}.status-stack{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-end}@media (max-width: 900px){.dashboard-metrics-grid{grid-template-columns:repeat(4,minmax(68px,1fr));gap:.45rem}.mini-metric-card{padding:.65rem .5rem;border-radius:14px}.mini-metric-card span{font-size:.68rem;line-height:1.15}.mini-metric-card strong{font-size:1.25rem}.form-grid-2,.form-grid-3,.entity-details-grid{grid-template-columns:1fr}.entity-card-main{flex-direction:column}.status-stack{justify-content:flex-start}}@media (max-width: 760px){.content{padding:.75rem}.card{border-radius:16px;padding:.9rem}.brand-area{align-items:flex-start}.company-logo{width:42px;height:42px}.button-row,.compact-actions{width:100%}.button-row button,.button-row .button-like,.compact-actions button,.compact-actions .button-like{flex:1 1 auto;min-width:0}.table-wrapper{overflow-x:visible}.responsive-table,.responsive-table thead,.responsive-table tbody,.responsive-table th,.responsive-table td,.responsive-table tr{display:block;width:100%}.responsive-table thead{display:none}.responsive-table tr{border:1px solid #dbe3ef;border-radius:14px;padding:.75rem;margin-bottom:.75rem;background:#f8fafc}.responsive-table td{border:0;padding:.35rem 0;display:grid;grid-template-columns:minmax(96px,38%) minmax(0,1fr);gap:.5rem;align-items:start;overflow-wrap:anywhere}.responsive-table td:before{content:attr(data-label);color:#64748b;font-weight:900}}@media (max-width: 420px){.dashboard-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.desktop-balanced-grid{grid-template-columns:minmax(280px,380px) minmax(0,1fr);align-items:start}.compact-list{gap:.65rem}.compact-entity-card{padding:.85rem;border-radius:16px;gap:.55rem}.compact-entity-card h3{font-size:1rem}.compact-entity-card .muted{margin:.15rem 0 0}.compact-details-grid{grid-template-columns:minmax(0,1.4fr) minmax(90px,.55fr) minmax(120px,.7fr);gap:.45rem}.compact-details-grid div{padding:.55rem}.compact-form-card textarea{min-height:74px}.admin-data-grid{align-items:start}.import-textarea{min-height:220px;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.9rem}@media (min-width: 901px){.entity-card-list.compact-list{max-width:100%}.entity-card.compact-entity-card .entity-card-main{align-items:center}.entity-card.compact-entity-card .compact-actions button{padding:.42rem .62rem;border-radius:9px;font-size:.82rem}}@media (max-width: 900px){.desktop-balanced-grid,.admin-data-grid,.compact-details-grid{grid-template-columns:1fr}}.compact-card{padding:1rem}.compact-page-header{gap:.75rem;margin-bottom:1rem}.break-word{overflow-wrap:anywhere;word-break:break-word}.responsive-no-overflow,.responsive-no-overflow *{min-width:0}.compact-status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.6rem}.status-pill{display:flex;flex-direction:column;gap:.2rem;border:1px solid var(--border-color, #e5e7eb);border-radius:14px;padding:.75rem;background:#f8fafc}.status-pill.ok{border-color:#bbf7d0;background:#f0fdf4}.status-pill.bad{border-color:#fecaca;background:#fef2f2}.data-action-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.65rem}.data-action-card{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-width:0;border:1px solid var(--border-color, #e5e7eb);border-radius:14px;padding:.75rem;background:#fff}.data-action-card p{margin:.2rem 0 0}.mini-button-row,.compact-button-row{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.compact-import-form{gap:.75rem}.responsive-form-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.compact-textarea{min-height:150px;max-height:320px;resize:vertical}.preview-box{margin-top:1rem;border-top:1px solid var(--border-color, #e5e7eb);padding-top:1rem}.mobile-table-scroll{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.compact-table{width:100%;border-collapse:collapse;font-size:.88rem}.compact-table th,.compact-table td{border-bottom:1px solid var(--border-color, #e5e7eb);padding:.45rem .5rem;text-align:left;vertical-align:top}.alert.info{background:#eff6ff;border-color:#bfdbfe;color:#1e3a8a}@media (max-width: 700px){.compact-card{padding:.8rem}.data-action-card{align-items:flex-start;flex-direction:column}.mini-button-row,.compact-button-row{justify-content:flex-start;width:100%}.mini-button-row button,.compact-button-row button{flex:1 1 130px}.compact-textarea{min-height:130px}}.task-page-stack{display:grid;gap:1.25rem}.task-create-card,.task-edit-card{width:100%}.task-create-toggle{width:100%;justify-content:center}.task-create-form{margin-top:1rem}.task-action-menu{position:relative;display:inline-flex;justify-content:flex-end}.task-action-popover{position:absolute;right:0;top:calc(100% + .4rem);z-index:20;display:grid;min-width:170px;gap:.35rem;padding:.45rem;border:1px solid #dbe3ef;border-radius:14px;background:#fff;box-shadow:0 16px 38px #0f172a29}.task-action-popover button{width:100%;text-align:left}.task-table td:last-child{width:1%;white-space:nowrap}@media (max-width: 760px){.task-action-menu{width:100%;justify-content:flex-start}.task-action-popover{position:static;width:100%;margin-left:.45rem;box-shadow:none}}.task-status-menu{display:flex;flex-direction:column;gap:.25rem;width:100%}.task-status-menu label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;font-weight:600}.task-status-menu select{width:100%;min-width:9rem;padding:.4rem .5rem}:root{--topbar-height: 92px}.topbar{position:fixed;top:0;left:0;right:0;z-index:1000}.content{padding-top:calc(var(--topbar-height) + clamp(1rem,4vw,2.5rem))}.nav-group-panel{z-index:1100}@media (max-width: 1000px){:root{--topbar-height: 118px}.content{padding-top:calc(var(--topbar-height) + .75rem)}}.full-width-card{width:100%}.collapsible-create-card{margin-bottom:1rem}.full-width-toggle{width:100%;justify-content:space-between;font-size:1rem;padding:.9rem 1rem}.create-form-expanded{margin-top:1rem}.offer-compact-create-form{display:flex;flex-direction:column;gap:10px;margin-top:12px}.offer-compact-row,.offer-compact-main-fields,.offer-compact-item-row,.offer-compact-footer{min-width:0}.offer-compact-main-fields{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;align-items:start}.offer-compact-notes-row label{width:100%}.offer-compact-notes-row textarea{min-height:48px;resize:vertical}.offer-compact-positions-header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:2px}.offer-compact-positions-header h3{margin:0;font-size:1rem}.offer-compact-items{display:flex;flex-direction:column;gap:8px}.offer-compact-item-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(240px,2fr) minmax(70px,.7fr) minmax(70px,.7fr) minmax(95px,.9fr) minmax(80px,.75fr) minmax(80px,.75fr) minmax(85px,.75fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb}.offer-compact-item-row label,.offer-compact-main-fields label,.offer-compact-notes-row label{gap:4px;font-size:.84rem;font-weight:600}.offer-compact-item-row input,.offer-compact-main-fields input,.offer-compact-main-fields select,.offer-compact-notes-row textarea{padding:8px 9px;min-height:38px}.offer-line-total{font-size:.8rem;color:#4b5563;line-height:1.15;white-space:nowrap}.compact-small-button{padding:8px 12px;min-height:34px}.compact-icon-button{width:34px;height:34px;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:1.2rem;line-height:1}.offer-compact-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.offer-compact-summary{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:0;padding:10px 12px}.offer-compact-actions{margin-left:auto}@media (max-width: 1100px){.offer-compact-main-fields{grid-template-columns:repeat(3,minmax(140px,1fr))}.offer-compact-item-row{grid-template-columns:minmax(120px,1fr) minmax(240px,2fr) repeat(3,minmax(80px,1fr))}.offer-line-total,.compact-icon-button{align-self:end}}@media (max-width: 700px){.offer-compact-main-fields,.offer-compact-item-row{grid-template-columns:1fr}.offer-compact-footer,.offer-compact-summary,.offer-compact-actions{width:100%}.offer-compact-actions{margin-left:0}.offer-compact-summary{display:grid;grid-template-columns:1fr}}.section-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}.maintenance-status-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.maintenance-error-list{margin-top:12px}.maintenance-info-list{display:grid;gap:8px;margin-bottom:12px}.maintenance-backup-list,.maintenance-log-list{display:grid;gap:8px}.compact-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--border-color, #e2e8f0);border-radius:12px;background:#fff}.compact-list-main{display:grid;gap:3px;min-width:0}.compact-json{max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:6px 8px}button.danger,.danger{background:#b91c1c;color:#fff;border-color:#991b1b}button.danger:hover,.danger:hover{background:#991b1b}@media (max-width: 760px){.compact-list-row{align-items:stretch;flex-direction:column}.compact-json{max-width:100%;white-space:normal;overflow-wrap:anywhere}.section-title-row{display:grid}}.settings-title-card{margin-bottom:1rem}.settings-title-card h1,.settings-section-card h2{margin-top:0}.settings-title-card h1{margin-bottom:.75rem}.settings-vertical-form{display:grid;gap:1rem}.settings-section-card,.settings-actions-card{width:100%}.settings-section-card{padding:1rem}.settings-section-card h2{margin-bottom:.75rem;font-size:1.1rem}.settings-grid{display:grid;gap:.7rem}.settings-grid label,.settings-logo-upload label{display:grid;gap:.35rem;font-size:.9rem}.settings-grid input,.settings-grid textarea,.settings-logo-upload input{min-width:0}.settings-grid textarea{min-height:74px;resize:vertical}.settings-logo-row{display:grid;gap:.75rem}.settings-logo-preview{display:flex;align-items:center;gap:.5rem;min-width:0;flex-wrap:wrap}.settings-logo-preview code{max-width:100%;overflow-wrap:anywhere}.settings-logo-upload{display:grid;grid-template-columns:minmax(220px,1fr) auto;align-items:end;gap:.75rem;min-width:0}.settings-logo-upload button{min-height:40px;align-self:end;white-space:nowrap}.settings-actions-row{justify-content:flex-end}@media (min-width: 980px){.settings-section-card{padding:.95rem 1.1rem}.settings-company-grid{grid-template-columns:1.4fr 1.5fr .55fr 1fr}.settings-tax-bank-grid{grid-template-columns:repeat(4,minmax(120px,1fr))}.settings-number-grid{grid-template-columns:repeat(4,minmax(130px,1fr))}.settings-number-grid label:nth-last-child(-n+2){grid-column:span 2}.settings-template-grid{grid-template-columns:repeat(4,minmax(160px,1fr))}.settings-mail-grid{grid-template-columns:minmax(220px,.7fr) minmax(320px,1.3fr)}.settings-logo-row{grid-template-columns:minmax(280px,1fr) minmax(360px,1fr);align-items:stretch}.settings-logo-preview,.settings-logo-upload{min-height:64px}.settings-logo-preview{margin-bottom:0;align-content:center}.settings-logo-upload{align-items:end}}@media (max-width: 760px){.settings-logo-upload{grid-template-columns:1fr;min-height:0}.settings-logo-preview{min-height:0}.settings-logo-upload button{width:100%}.settings-actions-row{justify-content:stretch}.settings-actions-row button{width:100%}}.settings-smtp-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-testmail-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:end;margin-top:.75rem}.calendar-filter-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;align-items:end}.today-for-me-card{margin-top:1rem}.today-for-me-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.compact-list-item{border:1px solid #dbe3f0;border-radius:.9rem;padding:.65rem .75rem;margin-bottom:.5rem;background:#f8fafc;display:grid;gap:.2rem}.compact-list-item span{color:#667085;font-size:.88rem}@media (max-width: 900px){.settings-smtp-grid,.settings-testmail-row,.calendar-filter-row,.today-for-me-grid{grid-template-columns:1fr}}.page-title-row{display:flex;justify-content:space-between;gap:1rem;align-items:end}.page-title-row select{max-width:280px}.compact-page{gap:1rem}.compact-form-card{padding:1rem}.compact-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;align-items:end}.compact-form-grid .span-2{grid-column:span 2}.responsive-card-grid.compact-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:.75rem}.data-card.compact-data-card{border:1px solid #dbe3f0;border-radius:.9rem;padding:.85rem;background:#fff;display:grid;gap:.65rem}.data-card-header{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.data-card-header>div{display:grid;gap:.15rem}.compact-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem .75rem;font-size:.9rem;color:#52637a}.status-badge{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;padding:.22rem .55rem;background:#eef2ff;color:#1d4ed8;font-size:.78rem;font-weight:700}.status-badge.warning{background:#fff7ed;color:#c2410c}.status-badge.success{background:#ecfdf3;color:#027a48}@media (max-width: 760px){.page-title-row,.compact-form-grid,.compact-form-grid .span-2,.compact-meta-grid{display:grid;grid-template-columns:1fr}.page-title-row select{max-width:none}.data-card-header{flex-direction:column}}.planning-page-stack{display:flex;flex-direction:column;gap:1rem}.planning-page-stack h1{margin:0}.planning-filter-card,.planning-create-card,.planning-timeline-card,.planning-list-card{width:100%}.compact-form-grid{gap:.7rem;align-items:end}.form-grid-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.compact-form-stack textarea{min-height:56px}.section-heading-row{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.section-heading-row h2{margin:0}.planning-timeline{display:flex;flex-direction:column;gap:.55rem}.timeline-row{display:grid;grid-template-columns:minmax(180px,260px) minmax(0,1fr);gap:.75rem;align-items:center}.timeline-label{display:flex;flex-direction:column;gap:.15rem;min-width:0}.timeline-label strong,.timeline-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.timeline-label span{color:var(--muted-text, #6b7280);font-size:.85rem}.timeline-track{position:relative;min-height:30px;border-radius:999px;background:#eef2f7;overflow:hidden}.timeline-bar{position:absolute;top:4px;bottom:4px;min-width:54px;border-radius:999px;background:#2563eb;color:#fff;display:flex;align-items:center;justify-content:center;padding:0 .6rem;font-size:.78rem;font-weight:700;white-space:nowrap}.timeline-bar.status-offen{background:#dc2626}.timeline-bar.status-in-arbeit{background:#facc15;color:#1f2937}.timeline-bar.status-angehalten{background:#f97316}.timeline-bar.status-fertig{background:#16a34a}.timeline-today-marker{position:absolute;top:0;bottom:0;width:2px;border-radius:999px;background:#111827;z-index:3;transform:translate(-1px);pointer-events:none}.timeline-today-marker:before{content:"Heute";position:absolute;top:-1.1rem;left:50%;transform:translate(-50%);padding:.05rem .3rem;border-radius:999px;background:#111827;color:#fff;font-size:.6rem;font-weight:700;line-height:1;white-space:nowrap}.planning-table td{vertical-align:top}.compact-actions{gap:.35rem;flex-wrap:wrap}@media (max-width: 900px){.form-grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.timeline-row{grid-template-columns:1fr;align-items:stretch}}@media (max-width: 640px){.form-grid-4{grid-template-columns:1fr}.section-heading-row{flex-direction:column;align-items:flex-start}}.planning-timeline-groups{display:grid;grid-template-columns:1fr;gap:.65rem}.planning-heading-inline{margin-bottom:0}.compact-timeline-card{padding:.55rem .75rem}.timeline-group-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.3rem}.timeline-group-header h3{margin:0;font-size:.95rem;line-height:1.12}.compact-planning-timeline{gap:.22rem}.compact-timeline-row{grid-template-columns:minmax(240px,320px) minmax(0,1fr);gap:.42rem}.compact-timeline-label{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:.5rem}.compact-timeline-label strong{flex:1 1 auto;min-width:0;font-size:.82rem;line-height:1.15}.compact-timeline-label span,.compact-timeline-user{flex:0 0 auto;max-width:120px;text-align:right;font-size:.72rem;line-height:1.15}.compact-timeline-track{min-height:18px;overflow:visible}.compact-timeline-track .timeline-bar{top:2px;bottom:2px;min-width:42px;padding:0 .35rem;font-size:.66rem}.planning-create-card{order:20}@media (min-width: 901px){.planning-list-card{margin-bottom:.25rem}}@media (max-width: 900px){.timeline-group-header{align-items:flex-start;flex-direction:column}.compact-timeline-row{grid-template-columns:1fr}}.shared-timeline-card{overflow:hidden;padding:.65rem}.shared-timeline-board{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);align-items:start;border:1px solid var(--border-color, #e5e7eb);border-radius:14px;overflow:hidden;background:#fff}.shared-timeline-left{position:sticky;left:0;z-index:5;background:#fff;border-right:1px solid var(--border-color, #e5e7eb);box-shadow:8px 0 14px #0f172a0a}.shared-timeline-left-head,.shared-axis-header{height:86px;min-height:86px}.shared-timeline-left-head{display:flex;align-items:center;padding:0 .7rem;font-weight:800;font-size:.78rem;color:#334155;background:#f8fafc;border-bottom:1px solid var(--border-color, #e5e7eb)}.shared-timeline-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;background:linear-gradient(90deg,#f8fafc 0,#fff 18px)}.shared-timeline-canvas{position:relative;min-width:100%}.shared-axis-header{position:sticky;top:0;z-index:4;display:flex;flex-direction:column;background:#f8fafc;border-bottom:1px solid var(--border-color, #e5e7eb)}.shared-axis-group-row,.shared-axis-day-row{display:flex;min-width:100%}.shared-axis-group-row{height:18px;min-height:18px}.shared-axis-day-row{height:38px;min-height:38px}.shared-axis-group-cell,.shared-axis-day{display:flex;align-items:center;justify-content:center;border-right:1px solid #e8edf4;border-bottom:1px solid #edf2f7;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shared-axis-group-cell{flex:0 0 auto;padding:0 .25rem;font-size:.62rem;font-weight:800;line-height:1}.shared-axis-year-row .shared-axis-group-cell{font-size:.66rem;font-weight:900}.shared-axis-week-row .shared-axis-group-cell{font-size:.58rem;color:#64748b}.shared-axis-day{flex:0 0 74px;width:74px;flex-direction:column;gap:.12rem;font-size:.66rem;line-height:1}.shared-axis-day strong{text-transform:uppercase;letter-spacing:.02em;font-size:.62rem}.shared-axis-day span{font-size:.68rem;font-weight:850;color:#0f172a}.shared-axis-day-row .shared-axis-day{border-bottom:0}.shared-group-left,.shared-group-right{border-bottom:1px solid var(--border-color, #e5e7eb)}.shared-group-left:last-child,.shared-group-right:last-child{border-bottom:0}.shared-group-title,.shared-group-title-spacer{height:34px;min-height:34px;background:#f9fafb;border-bottom:1px solid #edf1f7}.shared-group-title{display:flex;flex-direction:column;justify-content:center;padding:0 .7rem;gap:.08rem}.shared-group-title strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.84rem;line-height:1.05;color:#111827}.shared-group-title span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted-text, #6b7280);font-size:.66rem;line-height:1.05}.shared-task-label,.shared-task-track{height:26px;min-height:26px;border-bottom:1px solid #f1f5f9}.shared-task-label:last-child,.shared-task-track:last-child{border-bottom:0}.shared-task-label{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.55rem;padding:0 .7rem}.shared-task-label strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:.76rem;line-height:1}.shared-task-label span{max-width:126px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;color:var(--muted-text, #6b7280);font-size:.68rem;line-height:1}.shared-task-track{position:relative;background-image:linear-gradient(to right,rgba(226,232,240,.7) 1px,transparent 1px);background-size:74px 100%}.shared-task-bar{position:absolute;top:4px;bottom:4px;height:auto;min-width:42px;padding:0 .35rem;justify-content:center;font-size:.63rem;z-index:2}.shared-today-line{position:absolute;top:0;bottom:0;width:2px;transform:translate(-1px);background:#111827;z-index:3;pointer-events:none}.shared-today-marker{position:absolute;top:2px;transform:translate(-50%);z-index:6;display:inline-flex;align-items:center;justify-content:center;height:16px;padding:0 .35rem;border-radius:999px;background:#111827;color:#fff;font-size:.58rem;font-weight:800;line-height:1;pointer-events:none}@media (max-width: 900px){.shared-timeline-board{grid-template-columns:1fr}.shared-timeline-left{position:relative;border-right:0;box-shadow:none}.shared-timeline-scroll,.shared-timeline-left-head{display:none}.shared-group-left{border:1px solid var(--border-color, #e5e7eb);border-radius:12px;overflow:hidden;margin-bottom:.65rem}.shared-group-left:last-child{margin-bottom:0}.shared-group-title{height:auto;min-height:38px;padding:.55rem .7rem}.shared-task-label{height:auto;min-height:36px;grid-template-columns:1fr;align-items:start;gap:.2rem;padding:.5rem .7rem}.shared-task-label span{max-width:none;text-align:left}}.dashboard-lower-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem;align-items:start;margin-bottom:1rem}.dashboard-lower-grid>.card{min-width:0;width:100%;align-self:start;margin-top:0}.dashboard-lower-grid .today-for-me-card{margin-top:0}.dashboard-equal-card{display:flex;flex-direction:column;height:390px;min-height:390px;overflow:hidden}.dashboard-equal-card .dashboard-card-header{flex:0 0 auto;align-items:flex-start;gap:.65rem}.dashboard-equal-card .dashboard-card-header h2{font-size:1rem;line-height:1.15}.dashboard-equal-card .dashboard-card-header .hint{font-size:.78rem;margin-top:.15rem}.dashboard-equal-card .button-like.secondary{white-space:nowrap;padding:.42rem .55rem;font-size:.78rem}.dashboard-card-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;padding-right:.15rem}.dashboard-horizontal-scroll{overflow-x:auto;overflow-y:auto;scrollbar-width:thin}.open-tasks-dashboard-card{margin-top:0}.open-tasks-dashboard-card .dashboard-card-header{min-height:48px}.open-task-card-list{display:grid;gap:.45rem;align-content:start}.open-task-dashboard-item{width:100%;display:grid;gap:.25rem;padding:.52rem .6rem;border:1px solid #e5e7eb;border-radius:.8rem;background:#fff;text-align:left;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.open-task-dashboard-item:hover,.open-task-dashboard-item:focus-visible{border-color:#bfdbfe;box-shadow:0 8px 18px #0f172a14;transform:translateY(-1px);outline:none}.open-task-dashboard-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#0f172a;font-size:.82rem;line-height:1.22;overflow-wrap:break-word}.open-task-dashboard-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .4rem;min-width:0;color:#64748b;font-size:.72rem;line-height:1.2}.open-task-dashboard-project{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.open-tasks-dashboard-card .dashboard-task-status-badge{flex:0 0 auto;max-width:100%;padding:.14rem .42rem;font-size:.66rem;line-height:1.15;white-space:nowrap}.open-tasks-dashboard-card .dashboard-task-due-date{flex:0 0 auto;white-space:nowrap;color:#334155;font-weight:800}.dashboard-equal-card .compact-list-item{padding:.5rem .55rem;border-radius:.75rem}.dashboard-equal-card h3{margin:.45rem 0 .35rem;font-size:.9rem}.dashboard-timeline-card{margin-top:1rem;overflow:hidden}.dashboard-shared-timeline-board{display:grid;grid-template-columns:minmax(220px,320px) minmax(0,1fr);border:1px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff}.dashboard-shared-timeline-left{position:sticky;left:0;z-index:5;background:#fff;border-right:1px solid #e5e7eb;box-shadow:8px 0 14px #0f172a0a}.dashboard-timeline-left-head,.dashboard-axis-header{height:78px;min-height:78px}.dashboard-timeline-left-head{display:flex;align-items:center;padding:0 .7rem;font-size:.76rem;font-weight:900;color:#334155;background:#f8fafc;border-bottom:1px solid #e5e7eb}.dashboard-shared-timeline-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;background:#fff}.dashboard-shared-timeline-canvas{position:relative;min-width:100%}.dashboard-axis-header{position:sticky;top:0;z-index:4;display:flex;flex-direction:column;background:#f8fafc;border-bottom:1px solid #e5e7eb}.dashboard-axis-group-row,.dashboard-axis-day-row{display:flex;min-width:100%}.dashboard-axis-group-row{height:17px;min-height:17px}.dashboard-axis-day-row{height:34px;min-height:34px}.dashboard-axis-group-cell,.dashboard-axis-day{display:flex;align-items:center;justify-content:center;border-right:1px solid #e8edf4;border-bottom:1px solid #edf2f7;color:#334155;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-axis-group-cell{flex:0 0 auto;padding:0 .18rem;font-size:.55rem;font-weight:850;line-height:1}.dashboard-axis-year-row .dashboard-axis-group-cell{font-size:.6rem;font-weight:900}.dashboard-axis-week-row .dashboard-axis-group-cell{font-size:.52rem;color:#64748b}.dashboard-axis-day{flex:0 0 54px;width:54px;flex-direction:column;gap:.1rem;font-size:.6rem;line-height:1}.dashboard-axis-day strong{text-transform:uppercase;font-size:.56rem}.dashboard-axis-day span{font-size:.62rem;font-weight:850;color:#0f172a}.dashboard-axis-day-row .dashboard-axis-day{border-bottom:0}.dashboard-timeline-left-row,.dashboard-timeline-track-row{height:42px;min-height:42px;border-bottom:1px solid #eef2f7}.dashboard-timeline-left-row:last-child,.dashboard-timeline-track-row:last-child{border-bottom:0}.dashboard-timeline-left-row{display:grid;gap:.05rem;align-content:center;padding:0 .7rem}.dashboard-timeline-left-row strong,.dashboard-timeline-left-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-timeline-left-row strong{font-size:.8rem;line-height:1.05}.dashboard-timeline-left-row span{color:#64748b;font-size:.68rem;line-height:1.05}.dashboard-timeline-track-row{position:relative;background-image:linear-gradient(to right,rgba(226,232,240,.7) 1px,transparent 1px);background-size:54px 100%}.dashboard-task-bar{position:absolute;top:14px;height:14px;min-width:30px;border-radius:999px;padding:0 .35rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#111827;font-size:.58rem;font-weight:900;line-height:14px;box-shadow:0 5px 10px #0f172a1f;z-index:2}.dashboard-task-bar.status-offen{background:#dc2626;color:#fff}.dashboard-task-bar.status-in-arbeit{background:#facc15}.dashboard-task-bar.status-angehalten{background:#f97316;color:#111827}.dashboard-task-bar.status-fertig{background:#16a34a;color:#fff}.dashboard-today-line{position:absolute;top:0;bottom:0;width:2px;transform:translate(-1px);background:#111827;z-index:3;pointer-events:none}.dashboard-today-marker{position:absolute;top:2px;transform:translate(-50%);z-index:6;display:inline-flex;align-items:center;justify-content:center;height:15px;padding:0 .32rem;border-radius:999px;background:#111827;color:#fff;font-size:.55rem;font-weight:900;line-height:1;pointer-events:none}@media (max-width: 1200px){.dashboard-lower-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 900px){.dashboard-lower-grid{grid-template-columns:1fr}.dashboard-equal-card{height:auto;min-height:0}.dashboard-card-scroll{max-height:none;overflow:visible}.dashboard-horizontal-scroll{overflow-x:auto;overflow-y:visible}.open-task-dashboard-item{padding:.5rem .55rem}.open-task-dashboard-meta{gap:.22rem .35rem}.dashboard-shared-timeline-board{grid-template-columns:1fr}.dashboard-shared-timeline-scroll,.dashboard-timeline-left-head{display:none}.dashboard-shared-timeline-left{position:relative;border-right:0;box-shadow:none}.dashboard-timeline-left-row{height:auto;min-height:44px;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:.5rem;padding:.55rem .7rem}}.dashboard-card-header-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:.5rem;flex-wrap:wrap}.dashboard-chat-reply-item{display:grid;gap:.45rem}.dashboard-chat-reply-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.5rem;align-items:center;margin-top:.35rem}.dashboard-chat-reply-form input{min-width:0}.dashboard-chat-image-preview{width:100%;max-height:120px;object-fit:cover;border-radius:12px;border:1px solid #e2e8f0;background:#f8fafc}.modern-chat-list{align-items:stretch}.modern-chat-message{width:min(78%,720px);box-shadow:0 8px 18px #0f172a0d}.modern-chat-message.own{justify-self:end;background:#eff6ff;border-color:#bfdbfe}.modern-chat-message.other{justify-self:start;background:#f8fafc}.chat-message-text{white-space:pre-wrap;line-height:1.45}.chat-attachment-grid{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:.55rem}.chat-image-preview{width:min(220px,100%);border:1px solid #dbeafe;border-radius:14px;overflow:hidden;background:#fff}.chat-image-button{display:block;width:100%;padding:0;border:0;border-radius:0;background:transparent;cursor:zoom-in}.chat-image-button img{display:block;width:100%;height:150px;object-fit:cover}.chat-image-caption{display:grid;gap:.45rem;padding:.55rem;font-size:.82rem}.chat-image-caption span{overflow-wrap:anywhere;color:#334155;font-weight:700}.image-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem;background:#0f172ac7}.image-lightbox-content{position:relative;width:min(980px,96vw);max-height:92vh;overflow:auto;border-radius:18px;background:#fff;padding:1rem;box-shadow:0 24px 60px #00000047}.image-lightbox-content img{display:block;width:100%;max-height:76vh;object-fit:contain;border-radius:12px;background:#0f172a}.image-lightbox-close{position:absolute;top:.75rem;right:.75rem;width:2.2rem;height:2.2rem;border-radius:999px;padding:0;font-size:1.35rem;line-height:1;background:#0f172a;color:#fff}@media (max-width: 700px){.dashboard-chat-reply-form{grid-template-columns:1fr}.modern-chat-message,.chat-image-preview{width:100%}}.cost-forms-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:14px}.compact-cost-card{padding:12px}.compact-cost-form{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;align-items:end;margin-top:10px}.compact-cost-form label,.compact-cost-filter-row label{display:flex;flex-direction:column;gap:4px;min-width:0}.compact-cost-form label span,.compact-cost-filter-row label span{font-size:.78rem;color:#64748b}.compact-cost-form input,.compact-cost-form select,.compact-cost-filter-row select{width:100%;min-width:0;padding:8px 9px}.cost-form-wide{grid-column:span 2}.compact-cost-filter-row{display:grid;grid-template-columns:repeat(2,minmax(180px,260px));gap:10px;align-items:end;margin-bottom:12px}.cost-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:10px;margin-bottom:12px}.cost-summary-grid>div{border:1px solid #e2e8f0;border-radius:12px;padding:10px;background:#f8fafc;min-width:0}.cost-summary-grid span{display:block;color:#64748b;font-size:.78rem;margin-bottom:4px}.cost-summary-grid strong{font-size:1rem}.cost-history-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}.compact-entry-list{display:grid;gap:8px}.small-button{padding:5px 8px;font-size:.8rem;align-self:flex-start}.today-tracked-inline{display:flex;align-items:center;justify-content:space-between;gap:8px;border:1px solid #e2e8f0;border-radius:12px;padding:8px 10px;margin-bottom:10px;background:#f8fafc}.today-tracked-inline span{color:#64748b;font-size:.85rem}.today-tracked-inline strong{margin-left:auto}@media (max-width: 1100px){.compact-cost-form{grid-template-columns:repeat(3,minmax(120px,1fr))}.cost-summary-grid{grid-template-columns:repeat(2,minmax(130px,1fr))}.cost-history-grid{grid-template-columns:1fr}}@media (max-width: 720px){.compact-cost-form,.compact-cost-filter-row,.cost-summary-grid{grid-template-columns:1fr}.cost-form-wide{grid-column:auto}}.employee-billing-create-card{padding:16px}.employee-billing-compact-form{display:grid;grid-template-columns:minmax(180px,1.2fr) repeat(4,minmax(130px,.8fr)) minmax(180px,1.2fr) auto;gap:10px;align-items:end}.employee-billing-compact-form label{display:flex;flex-direction:column;gap:4px;min-width:0}.employee-billing-compact-form label span{font-size:.82rem;font-weight:700}.employee-billing-compact-form input,.employee-billing-compact-form select{min-width:0;min-height:44px;height:auto;line-height:1.35;padding-top:9px;padding-bottom:9px}.employee-billing-actions{display:flex;gap:8px;align-items:end;justify-content:flex-end;flex-wrap:wrap}.employee-billing-layout{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(420px,1.6fr);gap:16px;align-items:start}.employee-billing-list-card,.employee-billing-detail-card{min-width:0}.employee-billing-list-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.compact-link-button{color:inherit;text-align:left;padding:0;background:transparent;border:0;display:flex;flex-direction:column;gap:3px;min-width:0}.compact-link-button:hover{text-decoration:underline}.employee-billing-summary-grid{margin-bottom:12px}.employee-billing-status-row{margin-bottom:12px;justify-content:flex-start}@media (max-width: 1100px){.employee-billing-compact-form{grid-template-columns:repeat(2,minmax(0,1fr))}.employee-billing-actions{justify-content:flex-start}.employee-billing-layout{grid-template-columns:1fr}}@media (max-width: 720px){.employee-billing-compact-form{grid-template-columns:1fr}.employee-billing-actions,.employee-billing-status-row{flex-direction:column;align-items:stretch}.employee-billing-actions button,.employee-billing-status-row button,.employee-billing-status-row .button-like{width:100%}}.my-work-top-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.my-work-info-card{min-height:92px;display:flex;flex-direction:column;justify-content:center;gap:4px}.my-work-info-card h2,.my-work-section h2,.my-work-stop-card h2,.my-work-events-card h2,.my-work-chat-card h2,.my-work-quick-card h2{margin:0}.my-work-section{margin-bottom:14px}.my-work-section>h2{margin:0 0 8px;font-size:1.05rem}.my-work-task-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px}.my-work-task-card{background:var(--card-bg, #fff);border:1px solid var(--border-color, #d9dde6);border-left:5px solid #dc2626;border-radius:14px;padding:10px;box-shadow:0 6px 16px #0f172a0f}.my-work-task-card.status-in-arbeit{border-left-color:#facc15}.my-work-task-card.status-angehalten{border-left-color:#f97316}.my-work-task-card.status-fertig{border-left-color:#16a34a}.my-work-task-head,.my-work-action-row{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.my-work-task-head h3{margin:0 0 3px;font-size:1rem}.my-work-task-meta{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0;color:var(--muted-color, #64748b);font-size:.85rem}.my-work-action-row select{min-width:125px}.my-work-stop-card,.my-work-events-card,.my-work-chat-card,.my-work-quick-card{margin-bottom:14px}.compact-list-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px}.my-work-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mini-form-card{border:1px solid var(--border-color, #d9dde6);border-radius:12px;padding:10px;display:flex;flex-direction:column;gap:8px;background:#f8fafcb3}.mini-form-card h3{margin:0;font-size:.95rem}@media (max-width: 900px){.my-work-top-grid,.my-work-quick-grid{grid-template-columns:1fr}.my-work-task-head,.my-work-action-row{flex-direction:column;align-items:stretch}.my-work-action-row>*{width:100%}}.work-report-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:1rem;align-items:start}.work-report-form,.work-report-sign-card{min-width:0}.full-width-label{display:grid;gap:.35rem;margin-top:.85rem}.full-width-label textarea{width:100%;resize:vertical}.signature-pad-wrapper{display:grid;gap:.65rem;margin-top:.75rem}.signature-pad{width:100%;max-width:100%;height:180px;border:1px dashed rgba(15,23,42,.35);border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc);touch-action:none}.filter-grid{margin-bottom:1rem}.badge.success{background:#dcfce7;color:#166534}@media (max-width: 980px){.work-report-grid{grid-template-columns:1fr}}.dashboard-grid{display:grid;gap:1rem;margin-bottom:1rem}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;box-shadow:0 10px 30px #0f172a0f;padding:1rem}.stat-card span{color:#64748b;display:block;font-size:.9rem;font-weight:700;margin-bottom:.4rem}.stat-card strong{display:block;font-size:1.7rem}.warning-card strong{color:#b45309}.section-header-row{align-items:center;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}.compact-filter-row{align-items:center;display:flex;gap:.65rem;flex-wrap:wrap}.compact-filter-row input,.compact-filter-row select{min-width:180px}.inline-checkbox-label{align-items:center;display:inline-flex;gap:.5rem;margin:0;white-space:nowrap}.danger-row{background:#fff7ed}.table-actions{display:flex;flex-wrap:wrap;gap:.4rem}.info-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:.8rem 1rem;color:#0f172a}.table-actions button{white-space:nowrap}.status-badge.danger-badge{background:#fef2f2;color:#b91c1c}.status-badge.warning-badge{background:#fff7ed;color:#c2410c}.status-badge.success-badge{background:#ecfdf3;color:#027a48}.equipment-thumb{width:64px;height:48px;object-fit:cover;border-radius:8px;border:1px solid #d5dbe5;background:#f7f8fb}.photo-upload-box,.signature-box{border:1px solid #d5dbe5;border-radius:12px;padding:12px;background:#f8fafc;margin:10px 0}.signature-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;font-weight:700}.signature-canvas{width:100%;max-width:520px;height:150px;display:block;border:1px solid #cbd5e1;border-radius:10px;background:#fff;touch-action:none}.compact-card{margin-top:14px}.employee-billing-month-card{margin-bottom:1rem}.month-picker-label{min-width:190px}.employee-billing-month-table{margin-top:.75rem}.employee-billing-selected-hint{margin-bottom:.9rem}.employee-billing-checkbox{align-items:center;display:flex;flex-direction:row;gap:.5rem;min-height:42px;padding-top:1.15rem}.employee-billing-checkbox input{min-height:auto;width:auto}.soft-badge{background:#0f172a14;color:#334155}.search-target-highlight{outline:3px solid #2563eb;outline-offset:3px;background:#eff6ff;transition:outline-color .2s ease,background .2s ease}.button-like.small{padding:.45rem .7rem;border-radius:9px;font-size:.85rem}.search-result-action{width:1%;white-space:nowrap;text-align:right}.dashboard-card-title-row{display:inline-flex;align-items:center;gap:.45rem}.dashboard-card-title-row h2{margin:0}.dashboard-notify-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.35rem;height:1.35rem;padding:0 .38rem;border-radius:999px;background:#dc2626;color:#fff;font-size:.75rem;font-weight:900;line-height:1}.dashboard-info-button,.dashboard-chat-message-button{width:100%;border:0;text-align:left;color:inherit;font:inherit;cursor:pointer}.dashboard-info-button:hover,.dashboard-chat-message-button:hover,.dashboard-clickable-row:hover{filter:brightness(.985);outline:2px solid #bfdbfe;outline-offset:1px}.dashboard-chat-message-button{display:block;padding:0;background:transparent}.dashboard-clickable-row{cursor:pointer}.pro-chat-page{display:flex;flex-direction:column;width:min(1180px,100%);height:calc(100dvh - var(--topbar-height, 92px) - clamp(2rem,8vw,5rem));min-height:480px;margin:0 auto;overflow:hidden}.pro-chat-page-actions{display:flex;flex:0 0 auto;justify-content:flex-start;margin-bottom:.75rem}.pro-chat-shell{display:flex;flex:1 1 0;flex-direction:column;min-height:0;overflow:hidden;border:1px solid #dbe3ee;border-radius:22px;background:#fff;box-shadow:0 18px 48px #0f172a14}.pro-chat-page>.pro-chat-shell{flex:1 1 0!important;height:auto!important;min-height:0!important}.pro-chat-header{display:flex;flex:0 0 auto;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.2rem;border-bottom:1px solid #e2e8f0;background:linear-gradient(135deg,#fff,#f8fbff)}.pro-chat-header-copy{min-width:0}.pro-chat-header h1{margin:0;color:#0f172a;font-size:clamp(1.15rem,2vw,1.45rem)}.pro-chat-header p{margin:.22rem 0 0;overflow:hidden;color:#64748b;font-size:.86rem;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.pro-chat-alert{flex:0 0 auto;margin:.8rem 1rem 0}.pro-chat-timeline{display:flex;flex:1 1 0;flex-direction:column;gap:.45rem;min-height:0;padding:1rem clamp(.7rem,2vw,1.35rem);overflow-y:auto;overscroll-behavior:contain;background:radial-gradient(circle at 15% 10%,rgba(219,234,254,.48),transparent 26%),radial-gradient(circle at 85% 80%,rgba(224,242,254,.38),transparent 24%),#f8fafc;scroll-behavior:smooth}.pro-chat-empty{align-self:center;margin:auto;padding:1rem 1.2rem;border:1px dashed #cbd5e1;border-radius:16px;color:#64748b;background:#ffffffd1;text-align:center}.pro-chat-date-separator{display:flex;align-items:center;justify-content:center;margin:.45rem 0 .25rem}.pro-chat-date-separator span{padding:.28rem .72rem;border:1px solid rgba(203,213,225,.9);border-radius:999px;background:#ffffffeb;color:#64748b;font-size:.73rem;font-weight:800;box-shadow:0 4px 12px #0f172a0a}.pro-chat-bubble{width:fit-content;max-width:min(76%,760px);padding:.58rem .72rem .68rem;border:1px solid #dbe3ee;border-radius:16px;box-shadow:0 7px 18px #0f172a0e}.pro-chat-bubble.own{align-self:flex-end;border-bottom-right-radius:5px;border-color:#bfdbfe;background:#eaf4ff}.pro-chat-bubble.other{align-self:flex-start;border-bottom-left-radius:5px;background:#fff}.pro-chat-meta{display:flex;align-items:center;gap:.28rem;min-width:0;margin-bottom:.28rem;color:#64748b;font-size:.7rem;line-height:1.2;white-space:nowrap}.pro-chat-meta strong{max-width:220px;overflow:hidden;color:#475569;font-weight:850;text-overflow:ellipsis}.pro-chat-message-text{color:#172033;font-size:.93rem;line-height:1.42;overflow-wrap:anywhere;white-space:pre-wrap}.pro-chat-attachments{display:grid;gap:.5rem;margin-top:.52rem}.pro-chat-image-card{width:min(330px,62vw);overflow:hidden;border:1px solid #dbe3ee;border-radius:13px;background:#fff}.pro-chat-image-button{display:block;width:100%;padding:0;overflow:hidden;border:0;border-radius:0;background:transparent;cursor:zoom-in}.pro-chat-image-button img{display:block;width:100%;max-height:320px;object-fit:cover}.pro-chat-attachment-caption{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.46rem .58rem;color:#475569;font-size:.75rem}.pro-chat-attachment-caption span{min-width:0;overflow:hidden;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.pro-chat-download-link{flex:0 0 auto;padding:0;border:0;background:transparent;color:#1d4ed8;font-size:.74rem;font-weight:850}.pro-chat-file-card{display:flex;align-items:center;gap:.58rem;width:min(390px,66vw);padding:.58rem .66rem;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#1e293b;text-align:left}.pro-chat-file-card:hover{border-color:#93c5fd;background:#f8fbff}.pro-chat-file-icon{font-size:1.2rem}.pro-chat-file-copy{display:grid;min-width:0;flex:1}.pro-chat-file-copy strong,.pro-chat-file-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pro-chat-file-copy strong{font-size:.79rem}.pro-chat-file-copy small{color:#64748b;font-size:.68rem}.pro-chat-jump-button{justify-self:center;z-index:2;margin-top:-2.6rem;margin-bottom:.45rem;padding:.42rem .72rem;border:1px solid #bfdbfe;border-radius:999px;background:#fffffff5;color:#1d4ed8;font-size:.73rem;box-shadow:0 8px 20px #0f172a1f}.pro-chat-composer{display:grid;flex:0 0 auto;gap:.45rem;padding:.72rem .8rem .62rem;border-top:1px solid #e2e8f0;background:#fff}.pro-chat-selected-file{display:flex;align-items:center;justify-content:space-between;gap:.8rem;min-width:0;padding:.42rem .6rem;border:1px solid #bfdbfe;border-radius:11px;background:#eff6ff;color:#334155;font-size:.76rem}.pro-chat-selected-file span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pro-chat-upload-progress{height:5px;overflow:hidden;border-radius:999px;background:#e2e8f0}.pro-chat-upload-progress span{display:block;height:100%;border-radius:inherit;background:#2563eb;transition:width .16s ease}.pro-chat-composer-row{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;gap:.45rem;align-items:end}.pro-chat-composer-row textarea{min-height:42px;max-height:132px;resize:vertical;padding:.64rem .72rem;border-radius:14px;line-height:1.35}.pro-chat-icon-button,.pro-chat-send-button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border-radius:13px}.pro-chat-icon-button{border:1px solid #cbd5e1;background:#f8fafc;color:#334155}.pro-chat-icon-button:hover{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.pro-chat-send-button{background:#2563eb;color:#fff}.pro-chat-icon-button svg,.pro-chat-send-button svg{width:21px;height:21px}.pro-chat-composer-hint{padding-left:5.85rem;color:#94a3b8;font-size:.66rem}.visually-hidden-file-input{position:fixed;width:1px;height:1px;opacity:0;pointer-events:none}.pro-chat-readonly{flex:0 0 auto;padding:.85rem 1rem;border-top:1px solid #e2e8f0;background:#f8fafc;color:#64748b;text-align:center;font-size:.82rem}.pro-chat-page>.pro-chat-shell>.pro-chat-timeline{flex:1 1 0!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;scrollbar-gutter:stable}.pro-chat-page>.pro-chat-shell>.pro-chat-composer,.pro-chat-page>.pro-chat-shell>.pro-chat-readonly{flex:0 0 auto!important}.pro-chat-lightbox-name{padding:.7rem .25rem .1rem;color:#334155;font-weight:750}.task-clickable-row{cursor:pointer}.task-clickable-row:hover,.task-clickable-row:focus-visible{background:#f0f7ff;outline:none}.task-detail-card{scroll-margin-top:calc(var(--topbar-height, 92px) + 1rem)}.task-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.task-detail-header h2{margin:.15rem 0 0}.task-detail-path{margin:0;color:#64748b;font-size:.78rem;font-weight:750}.task-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.65rem;margin-top:1rem}.task-detail-grid>div{display:grid;gap:.2rem;padding:.66rem .72rem;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.task-detail-grid span{color:#64748b;font-size:.7rem;font-weight:750}.task-detail-grid strong{color:#1e293b;font-size:.88rem;overflow-wrap:anywhere}.task-detail-description{margin:.85rem 0 0;padding:.75rem;border-left:4px solid #bfdbfe;border-radius:0 10px 10px 0;background:#f8fbff;color:#334155;white-space:pre-wrap}.task-detail-actions{display:flex;align-items:end;flex-wrap:wrap;gap:.65rem;margin-top:.9rem}.task-detail-status-control{min-width:180px}@media (max-width: 760px){.pro-chat-page{width:100%;height:calc(100dvh - var(--topbar-height, 118px) - 1.75rem);min-height:360px}.pro-chat-shell{min-height:0;border-radius:16px}.pro-chat-header{align-items:flex-start;padding:.78rem .82rem}.pro-chat-header p{max-width:70vw}.pro-chat-bubble{max-width:88%}.pro-chat-image-card,.pro-chat-file-card{width:min(100%,76vw)}.pro-chat-composer{padding:.58rem}.pro-chat-composer-row{gap:.34rem}.pro-chat-icon-button,.pro-chat-send-button{width:39px;height:39px;border-radius:12px}.pro-chat-composer-row textarea{min-height:39px;padding:.58rem .62rem}.pro-chat-composer-hint{display:none}.task-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 470px){.pro-chat-header .secondary{padding:.42rem .55rem;font-size:.72rem}.pro-chat-header p{max-width:62vw}.pro-chat-bubble{max-width:94%}.pro-chat-composer-row{grid-template-columns:auto auto minmax(0,1fr) auto}.task-detail-grid{grid-template-columns:1fr}}.help-nav-button{background:#eff6ff;border-color:#93c5fd;color:#1d4ed8}.help-page{width:min(1500px,100%);margin:0 auto}.help-hero{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin-bottom:1.25rem}.help-hero h1{margin:.2rem 0 .65rem}.help-hero p:last-child{max-width:900px;margin-bottom:0;line-height:1.65}.help-kicker{margin:0;color:#1d4ed8;font-weight:900;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.help-toc-toggle{display:none;flex:0 0 auto}.help-system-note{margin-bottom:1.25rem;background:#fff7ed;color:#9a3412}.help-layout{display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:1.25rem;align-items:start}.help-toc{position:sticky;top:calc(var(--topbar-height, 100px) + 1rem);max-height:calc(100vh - var(--topbar-height, 100px) - 2rem);overflow:auto;padding:1rem}.help-toc h2{margin:0 0 .8rem;font-size:1.05rem}.help-toc nav{display:grid;gap:.25rem}.help-toc-link{width:100%;padding:.55rem .65rem;border-radius:10px;background:transparent;color:#334155;text-align:left;font-size:.88rem;font-weight:700}.help-toc-link:hover{background:#eff6ff;color:#1d4ed8}.help-content{min-width:0;display:grid;gap:1.25rem}.help-section{scroll-margin-top:calc(var(--topbar-height, 100px) + 1rem)}.help-section h2{margin-top:0;color:#0f172a}.help-section h3{margin-top:0}.help-section p,.help-section li,.help-section td{line-height:1.65}.help-feature-grid,.help-admin-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin:1rem 0}.help-feature-grid>div,.help-admin-list>div{display:grid;gap:.3rem;padding:1rem;border:1px solid #dbe3ef;border-radius:14px;background:#f8fafc}.help-feature-grid span{color:#475569;line-height:1.5}.help-admin-list p{margin:0}.help-steps,.help-bullets{padding-left:1.4rem}.help-steps li,.help-bullets li{margin:.42rem 0;padding-left:.2rem}.help-permission-note,.help-tip,.help-warning{padding:.8rem .95rem;border-radius:12px;margin:.85rem 0}.help-permission-note.available,.help-tip{background:#ecfdf5;color:#166534;border:1px solid #a7f3d0}.help-permission-note.restricted{background:#f8fafc;color:#475569;border:1px solid #cbd5e1}.help-warning{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.help-direct-link{display:inline-flex;margin-top:.45rem;padding:.65rem .85rem;border-radius:10px;background:#1d4ed8;color:#fff;font-weight:800}.help-menu-table-wrapper{overflow-x:auto}.help-menu-table td:first-child{width:190px;font-weight:800;white-space:nowrap}.help-workflow{list-style:none;padding:0;display:grid;gap:.75rem}.help-workflow li{display:flex;gap:.85rem;align-items:flex-start;padding:.85rem;border:1px solid #dbe3ef;border-radius:14px;background:#f8fafc}.help-workflow li>span{display:grid;place-items:center;width:2rem;height:2rem;flex:0 0 2rem;border-radius:999px;background:#1d4ed8;color:#fff;font-weight:900}.help-workflow p{margin:.2rem 0 0}.help-back-to-top{position:sticky;bottom:1rem;justify-self:end;display:inline-flex;padding:.7rem .9rem;border-radius:999px;background:#0f172a;color:#fff;font-weight:800;box-shadow:0 8px 24px #0f172a40}@media (max-width: 1000px){.nav-group,.nav-group-button,.direct-nav-link,.logout-button,.help-nav-button{width:100%}.help-hero{align-items:stretch;flex-direction:column}.help-toc-toggle{display:inline-flex;justify-content:center}.help-layout{display:block}.help-toc{display:none;position:static;max-height:none;margin-bottom:1.25rem}.help-toc.open{display:block}}@media (max-width: 680px){.help-feature-grid,.help-admin-list{grid-template-columns:1fr}.help-menu-table td:first-child{width:auto;white-space:normal}}.offer-compact-item-row .offer-group-field{min-width:120px}.offer-compact-item-row .offer-description-field{min-width:240px}@media (max-width: 700px){.offer-compact-item-row .offer-group-field,.offer-compact-item-row .offer-description-field{min-width:0;width:100%}}.shared-task-label-button{width:100%;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}.shared-task-label-button:hover:not(:disabled),.shared-task-label-button:focus-visible:not(:disabled){background:#0000000d}.shared-task-label-button:disabled{cursor:default;opacity:1}.chat-dashboard-card .notification-preview-list{gap:.45rem;margin-top:.65rem}.compact-chat-item{padding:.52rem .6rem;border-radius:12px}.compact-chat-item .dashboard-chat-message-button{display:grid;gap:.14rem}.compact-chat-topline{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;min-width:0}.compact-chat-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:0;font-size:.9rem;line-height:1.2}.compact-chat-time{flex:0 0 auto;white-space:nowrap;font-size:.76rem;line-height:1.1}.compact-chat-meta{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;line-height:1.2}.compact-chat-text{margin:.1rem 0 0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;font-size:.86rem;line-height:1.25}.compact-chat-attachment-row{display:flex;align-items:center;gap:.35rem;min-width:0}.compact-chat-attachment-count{font-size:.76rem;line-height:1.15}.compact-chat-item .dashboard-chat-image-preview{width:42px;height:32px;max-height:32px;border-radius:8px;flex:0 0 auto}.pro-chat-bubble-focus{outline:2px solid rgba(37,99,235,.45);outline-offset:2px}.pro-chat-reply-preview{display:grid;width:100%;max-width:100%;gap:.12rem;margin:.18rem 0 .42rem;padding:.42rem .52rem;border:0;border-left:3px solid rgba(37,99,235,.55);border-radius:10px;background:#f1f5f9c7;color:#334155;text-align:left;cursor:pointer}.pro-chat-reply-preview:hover{background:#dbeafed1}.pro-chat-reply-preview strong{overflow:hidden;color:#1d4ed8;font-size:.72rem;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.pro-chat-reply-preview span{display:-webkit-box;overflow:hidden;color:#475569;font-size:.76rem;line-height:1.25;-webkit-box-orient:vertical;-webkit-line-clamp:2}.pro-chat-replying-to{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-width:0;padding:.48rem .64rem;border:1px solid #bfdbfe;border-left:4px solid #2563eb;border-radius:12px;background:#eff6ff;color:#334155}.pro-chat-replying-to div{display:grid;min-width:0;gap:.12rem}.pro-chat-replying-to strong,.pro-chat-replying-to span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pro-chat-replying-to strong{color:#1d4ed8;font-size:.76rem;font-weight:850}.pro-chat-replying-to span{color:#475569;font-size:.78rem}.pro-chat-context-menu{position:fixed;z-index:9999;min-width:190px;padding:.28rem;border:1px solid #cbd5e1;border-radius:12px;background:#fff;box-shadow:0 14px 34px #0f172a38}.pro-chat-context-menu button{display:block;width:100%;padding:.58rem .72rem;border:0;border-radius:9px;background:transparent;color:#1e293b;font-size:.86rem;font-weight:800;text-align:left}.pro-chat-context-menu button:hover{background:#eff6ff;color:#1d4ed8}.pro-chat-timeline{gap:.28rem;padding:.62rem clamp(.48rem,1.4vw,.9rem)}.pro-chat-date-separator{margin:.2rem 0 .12rem}.pro-chat-date-separator span{padding:.18rem .52rem;font-size:.66rem;box-shadow:none}.pro-chat-bubble{max-width:min(82%,680px);padding:.38rem .52rem .44rem;border-radius:12px;box-shadow:0 4px 12px #0f172a0b}.pro-chat-bubble.own{border-bottom-right-radius:4px}.pro-chat-bubble.other{border-bottom-left-radius:4px}.pro-chat-meta{gap:.2rem;margin-bottom:.16rem;font-size:.64rem;line-height:1.1}.pro-chat-meta strong{max-width:170px}.pro-chat-message-text{font-size:.84rem;line-height:1.28}.pro-chat-attachments{gap:.32rem;margin-top:.34rem}.pro-chat-image-card{width:min(260px,56vw);border-radius:10px}.pro-chat-image-button img{max-height:230px}.pro-chat-attachment-caption{gap:.42rem;padding:.3rem .42rem;font-size:.68rem}.pro-chat-download-link{font-size:.67rem}.pro-chat-file-card{gap:.42rem;width:min(310px,60vw);padding:.38rem .48rem;border-radius:10px}.pro-chat-file-icon{font-size:1rem}.pro-chat-file-copy strong{font-size:.72rem}.pro-chat-file-copy small{font-size:.62rem}.pro-chat-reply-preview{gap:.06rem;margin:.12rem 0 .28rem;padding:.3rem .4rem;border-radius:8px}.pro-chat-reply-preview strong{font-size:.65rem}.pro-chat-reply-preview span{font-size:.69rem;line-height:1.16;-webkit-line-clamp:1}.pro-chat-replying-to{padding:.34rem .5rem;border-radius:10px}.pro-chat-replying-to strong{font-size:.68rem}.pro-chat-replying-to span{font-size:.7rem}.pro-chat-composer{gap:.32rem;padding:.5rem .62rem .42rem}.pro-chat-composer-row{gap:.32rem}.pro-chat-composer-row textarea{min-height:36px;max-height:112px;padding:.48rem .58rem;border-radius:12px;font-size:.86rem}.pro-chat-icon-button,.pro-chat-send-button{width:36px;height:36px;border-radius:11px}.pro-chat-icon-button svg,.pro-chat-send-button svg{width:18px;height:18px}.pro-chat-composer-hint{padding-left:5.05rem;font-size:.6rem}.pro-chat-bubble-focus{outline:2px solid rgba(37,99,235,.65);outline-offset:2px;animation:proChatFocusPulse 1.4s ease-out 1}@keyframes proChatFocusPulse{0%{box-shadow:0 0 #2563eb52}to{box-shadow:0 0 0 10px #2563eb00}}@media (max-width: 760px){.pro-chat-bubble{max-width:88%}.pro-chat-meta strong{max-width:135px}.pro-chat-message-text{font-size:.82rem}.pro-chat-file-card,.pro-chat-image-card{width:min(250px,72vw)}}.entity-card.archived{border-style:dashed;background:linear-gradient(180deg,#f8fafcfa,#f1f5f9eb)}.archive-hint{border-left:3px solid rgba(100,116,139,.35);padding-left:.7rem}.project-list-header-row{margin-bottom:.75rem}.project-list-header-row h2{margin-bottom:.25rem}.project-filter-summary{background:#eef4ff;border:1px solid #dbe7ff;border-radius:999px;color:#1e3a8a;font-size:.85rem;font-weight:800;padding:.4rem .7rem;white-space:nowrap}.project-filter-panel{align-items:center;background:#f8fafc;border:1px solid #dbe3f0;border-radius:16px;display:flex;gap:.75rem;justify-content:space-between;margin:.75rem 0 1rem;padding:.65rem;flex-wrap:wrap}.project-filter-tabs{display:flex;gap:.45rem;flex-wrap:wrap}.project-filter-tabs button{align-items:center;background:#fff;border:1px solid #dbe3f0;border-radius:999px;color:#334155;cursor:pointer;display:inline-flex;font-size:.86rem;font-weight:800;gap:.4rem;padding:.45rem .7rem}.project-filter-tabs button.active{background:#1d4ed8;border-color:#1d4ed8;color:#fff}.project-filter-tabs button span{background:#0f172a14;border-radius:999px;min-width:1.35rem;padding:.1rem .35rem;text-align:center}.project-filter-tabs button.active span{background:#ffffff38}.project-filter-fields{display:flex;gap:.55rem;flex:1;justify-content:flex-end;min-width:280px}.project-filter-fields input{max-width:360px;min-width:220px}.project-filter-fields select{max-width:180px}@media (max-width: 760px){.project-filter-panel,.project-filter-fields{align-items:stretch;flex-direction:column}.project-filter-fields,.project-filter-fields input,.project-filter-fields select{max-width:none;min-width:0;width:100%}}.checkbox-label{display:flex;align-items:center;gap:.55rem;font-weight:700;color:var(--text-main, #0f172a)}.checkbox-label input{width:auto;min-width:1rem}.billing-address-fields{border:1px solid rgba(37,99,235,.18);background:#2563eb0a;border-radius:16px;padding:1rem;display:grid;gap:.9rem}.billing-address-fields h3{margin:0;font-size:1rem}.language-switcher{position:fixed;right:12px;bottom:12px;z-index:10000;display:flex;align-items:center;gap:8px;padding:7px 9px;border:1px solid rgba(0,0,0,.18);border-radius:8px;background:#fffffff5;box-shadow:0 2px 10px #00000029;color:#222;font-size:.85rem}.language-switcher select{min-width:125px;padding:5px 7px;border:1px solid #aaa;border-radius:5px;background:#fff;color:#111}@media (max-width: 600px){.language-switcher-label{display:none}.language-switcher{right:8px;bottom:8px}.language-switcher select{min-width:108px}}
