.business-hub{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:1050px;margin:8px auto 0;display:grid}.business-tile{border:1px solid var(--border);background:var(--surface);min-width:0;color:var(--text);cursor:pointer;border-radius:20px;flex-direction:column;align-items:center;gap:8px;padding:14px;transition:transform .15s,border-color .15s;display:flex}.business-tile:hover{border-color:var(--green);transform:translateY(-3px)}.business-tile:focus-visible{outline:3px solid var(--green);outline-offset:3px}.business-tile-art{background:var(--soft);border-radius:14px;place-items:center;width:100%;height:158px;display:grid}.business-tile-art img{object-fit:contain;width:144px;height:144px}.business-tile-name{justify-content:space-between;align-items:center;gap:8px;width:100%;padding:5px 2px;font-size:15px;font-weight:700;display:flex}.business-back{align-items:center;gap:4px;margin-bottom:8px;font-size:13px;display:inline-flex}.business-tile-name svg{color:var(--muted);flex-shrink:0}@media (width<=640px){.business-hub{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.business-tile{border-radius:15px;gap:5px;padding:9px}.business-tile-art{border-radius:10px;height:116px}.business-tile-art img{width:112px;height:112px}.business-tile-name{min-height:34px;font-size:13px;line-height:1.4}}@media (prefers-reduced-motion:reduce){.business-tile{transition:none}.business-tile:hover{transform:none}}.payment-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;display:flex}.payment-toolbar input[type=search]{flex:1;min-width:150px}.payment-settings{border:1px solid var(--border);border-radius:12px;margin:12px 0;padding:12px}.payment-settings summary{cursor:pointer}.payment-connection-status{color:var(--muted);font-size:13px}.payment-supplier{background:var(--surface);border:1px solid var(--border);color:inherit;border-radius:9px;flex-direction:column;gap:3px;margin:6px;padding:8px 12px;display:inline-flex}.payment-supplier small{opacity:.7}.payment-list{gap:8px;display:grid}.payment-card{text-align:right;border:1px solid var(--border);background:var(--surface);color:inherit;border-radius:12px;justify-content:space-between;gap:12px;padding:12px;display:flex}.payment-card>div{flex-direction:column;gap:4px;display:flex}.payment-card small{opacity:.7}.modal-backdrop:has(>.payment-editor){padding:6px}.payment-editor.modal{flex-direction:column;width:850px;max-height:calc(100dvh - 12px);display:flex;overflow:visible}.payment-editor>header{border-radius:12px 12px 0 0;min-height:42px;padding:6px 12px;position:static}.payment-editor>header h2{font-size:16px}.payment-editor .modal-body{min-height:0;padding:8px 12px;overflow:visible}.payment-editor .modal-footer{border-radius:0 0 12px 12px;flex-wrap:nowrap;gap:6px;padding:7px 12px;position:static}.payment-editor .modal-footer .button{flex:1;padding:7px 10px;font-size:12px}.payment-feedback{min-height:18px;color:var(--muted);margin-bottom:4px;font-size:12px;line-height:1.35}.payment-feedback.is-error{color:#ad3939}.payment-form{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:stretch;gap:14px;display:grid}.payment-source{flex-direction:column;gap:6px;min-width:0;display:flex;position:relative}.payment-photo{border:1px dashed var(--border);background:var(--soft);width:100%;min-height:0;max-height:300px;color:var(--muted);border-radius:10px;flex:1;justify-content:center;align-items:center;padding:6px;display:flex;position:relative;overflow:hidden}.payment-photo.is-empty{gap:8px;font-size:13px}.payment-photo img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:270px}.payment-photo-caption{background:var(--surface);border-radius:5px;align-items:center;gap:3px;padding:2px 5px;font-size:10px;display:flex;position:absolute;bottom:4px;left:4px}.payment-photo-actions{gap:4px;display:flex}.payment-photo-actions .button{flex:1;gap:4px;padding:6px;font-size:12px}.payment-fields{border:0;min-width:0;margin:0;padding:0}.payment-fields .segmented{height:30px;margin:0 0 5px;display:flex}.payment-fields .segmented button{flex:1;padding:3px 8px;font-size:13px}.payment-fields .form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 8px;display:grid}.payment-fields .field{gap:2px;min-width:0;margin:0}.payment-fields .field>label{font-size:11px;line-height:14px}.payment-fields input,.payment-fields .search-select-trigger{width:100%;height:34px;min-height:34px;padding:4px 7px;font-size:16px;line-height:1.2}.payment-fields .search-select-trigger span:first-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.payment-fields .full{grid-column:1/-1}.payment-supplier-field{min-width:0;position:relative}.payment-add-supplier{color:var(--green);background:0 0;border:0;padding:1px 3px;font-size:10px;position:absolute;top:-2px;left:0}.payment-fields .search-select-popover{z-index:10;min-width:min(260px,70vw)}.payment-status{color:var(--muted);justify-content:space-between;align-items:center;gap:6px;margin-top:5px;font-size:10px;line-height:16px;display:flex}.payment-status small{font-size:10px}.payment-confirm{align-items:center;gap:7px;min-height:26px;margin:4px 0 0;font-size:12px;line-height:1.35;display:flex}.payment-confirm input{flex-shrink:0;width:17px;height:17px;margin:0}.payment-warning{color:var(--muted);font-size:10px;line-height:14px;display:block}.payment-scan{z-index:3;background:var(--surface);border:1px solid var(--border);text-align:center;border-radius:10px;flex-direction:column;justify-content:center;align-items:center;gap:8px;padding:10px;display:flex;position:absolute;inset:0}.payment-scan b{font-size:13px}.payment-spinner{color:var(--green);animation:1s linear infinite payment-spin}.payment-scan-track{background:var(--border);border-radius:4px;width:min(170px,65%);height:4px;overflow:hidden}.payment-scan-track i{background:var(--green);max-width:100%;height:100%;transition:width .2s;display:block}.payment-scan-track.is-indeterminate i{width:35%;animation:1.2s ease-in-out infinite payment-sweep}.payment-scan .text-button{padding:0;font-size:11px}.payment-image-viewer{overflow:hidden}.payment-image-viewer>img{object-fit:contain;width:100%;height:calc(90dvh - 70px);display:block}.payment-image-viewer>header{padding:8px 12px}@keyframes payment-spin{to{transform:rotate(360deg)}}@keyframes payment-sweep{50%{transform:translate(-180%)}}@media (prefers-reduced-motion:reduce){.payment-spinner,.payment-scan-track.is-indeterminate i{animation:none}.payment-scan-track i{transition:none}}@media (width<=650px) and (height>=451px){.payment-editor.modal{width:440px}.payment-form{grid-template-columns:1fr;gap:7px}.payment-source{grid-template-columns:minmax(0,1fr) auto;gap:6px;height:86px;display:grid}.payment-source:has(.is-empty){height:54px;display:flex}.payment-photo,.payment-photo img{height:100%;max-height:100%}.payment-photo-actions{flex-direction:column;gap:3px}.payment-photo-actions .button{min-height:26px;padding:3px 7px;font-size:11px}.payment-scan{grid-template-columns:24px minmax(0,1fr) auto;gap:5px 8px;padding:8px;display:grid}.payment-scan .payment-scan-track{grid-area:2/2;width:100%}.payment-scan .text-button{grid-area:1/3/3}.payment-scan .payment-spinner{grid-row:1/3}.payment-scan b{text-align:right;font-size:12px}.payment-card{font-size:13px}.payment-toolbar .button{padding:8px;font-size:12px}}@media (height<=650px){.payment-editor>header{min-height:36px;padding:3px 10px}.payment-editor .modal-body,.payment-editor .modal-footer{padding:5px 10px}.payment-editor .modal-footer .button{padding:5px 7px;font-size:11px}.payment-feedback{min-height:15px;margin-bottom:3px;font-size:11px}.payment-fields .form-grid{gap:3px 6px}.payment-fields input,.payment-fields .search-select-trigger{height:31px;min-height:31px}.payment-fields .field{gap:0}.payment-fields .segmented{height:26px;margin-bottom:3px}.payment-status{margin-top:3px}.payment-confirm{min-height:23px;margin-top:2px;font-size:11px}}@media (width<=650px) and (height>=451px) and (height<=650px){.payment-source{height:72px}.payment-photo-actions .button{min-height:22px;padding:1px 6px}.payment-form{gap:5px}}@media (height<=450px){.payment-editor .modal-body{overflow:auto}.payment-form{grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr);gap:8px}.payment-photo-actions{flex-wrap:wrap}.payment-fields .field>label{font-size:10px;line-height:12px}.payment-fields input,.payment-fields .search-select-trigger{height:28px;min-height:28px;font-size:14px}.payment-fields .segmented{height:24px}.payment-source{max-height:180px}.payment-fields .form-grid{gap:2px 6px}.payment-editor>header{padding:1px 10px}.payment-editor .modal-footer{padding:3px 10px}}.payment-sheet-indicator{color:var(--muted);margin-inline-start:10px;font-size:11px;display:inline-block}.payment-page-wait{color:var(--muted);align-items:center;gap:7px;font-size:13px;display:flex}.payment-source.is-preparing .payment-photo{width:35%}.payment-source.is-preparing .payment-photo-actions{visibility:hidden}.payment-source.is-preparing .payment-scan{right:38%}.payment-source.is-preparing .payment-photo-caption{display:none}.payment-progress-detail{color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.payment-scan{background:color-mix(in srgb,var(--surface) 94%,transparent)}@media (width<=650px) and (height>=451px){.payment-scan{grid-template-rows:auto auto 4px;gap:2px 7px;padding:5px 8px}.payment-scan b{grid-area:1/2;line-height:15px}.payment-scan .payment-progress-detail{text-align:right;grid-area:2/2;font-size:10px;line-height:13px}.payment-scan .payment-scan-track{grid-row:3}.payment-scan .payment-spinner,.payment-scan .text-button{grid-row:1/4}}.google-settings{align-content:start;gap:12px;display:grid}.google-settings .inline{flex-wrap:wrap}.google-settings input{max-width:100%}.google-settings details{font-size:13px}.google-settings form{gap:10px;min-width:0;display:grid}.google-conflict{border:1px solid var(--border);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;padding:9px;display:flex}.guide-content{gap:16px;min-width:0;padding:20px;display:grid}.guide-content h2{font-size:24px}.guide-content .inline{flex-wrap:wrap;gap:8px}.guide-content p{font-size:15px}.guide-dots{gap:8px;display:flex}.guide-dots button{background:var(--border);border:0;border-radius:50%;width:14px;height:14px}.guide-dots .active{background:var(--green)}@media (width<=430px){.guide-content{gap:12px;padding:14px}.guide-content h2{font-size:21px}.guide-content .form-grid{grid-template-columns:1fr 1fr}.guide-content input{min-width:0;max-width:100%}.google-settings .button{white-space:normal}}.ws-space{gap:12px;min-width:0;display:grid}.ws-toolbar{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ws-space label{gap:3px;font-size:12px;display:grid}.ws-space label:has(input[type=checkbox]){align-items:center;gap:5px;display:flex}.ws-space input,.ws-space select{min-width:0;max-width:100%;padding:7px 9px;font-size:13px}.ws-space input[type=checkbox]{width:16px;height:16px}.ws-space input[type=color]{width:50px;padding:2px}.ws-space .button{min-height:36px;padding:8px 11px;font-size:12px}.ws-space h3{margin:0 0 10px}.ws-fields{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.ws-fields>label{flex:110px;min-width:0}.ws-fields input[type=number]{width:100%}.ws-settings,.ws-settings-list{gap:10px;display:grid}.ws-hours{gap:8px;margin:10px 0;display:grid}.ws-hours-day{border-bottom:1px solid var(--border,#dde3dd);padding:8px 0}.ws-hours-day>b{margin-inline-end:10px}.ws-board{border:1px solid var(--border,#dde3dd);background:var(--surface,#fff);border-radius:12px;overflow:auto}.ws-board table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:1000px}.ws-board th,.ws-board td{border:1px solid var(--border,#dde3dd);vertical-align:top;text-align:right;overflow-wrap:anywhere;padding:8px}.ws-board th{background:var(--soft,#eef2ec);font-size:12px}.ws-board small{font-size:10px;font-weight:400;line-height:1.5;display:block}.ws-board th:first-child{width:130px}.ws-day table{min-width:0}.ws-day th:first-child{width:115px}.ws-shift{border:1px solid var(--border,#dce4dc);text-align:right;width:100%;color:inherit;background:var(--surface,#fff);cursor:pointer;border-inline-start:4px solid;border-radius:7px;margin-bottom:5px;padding:7px 5px;font-size:12px;display:block}.ws-shift b{text-align:right;display:block}.ws-shift.ws-conflict{color:#653500;background:#fff0df}.ws-add{width:100%;color:inherit;background:0 0;border:1px dashed #a6b4a4;border-radius:5px;min-height:28px}.ws-space details ul{padding-inline-start:20px;font-size:12px}.ws-note{max-width:700px}.ws-preview img{width:100%;height:auto;margin:10px 0;display:block}.ws-shift-editor{border:2px solid #5c7969;gap:10px;display:grid}.ws-space .muted{font-size:12px}.ws-save{padding-block:10px}.ws-space .panel.padded{padding:14px}@media (width<=700px){.ws-space{gap:10px}.ws-toolbar{gap:6px}.ws-space .button{padding:8px;font-size:11px}.ws-board td,.ws-board th{padding:6px}.ws-fields>label{flex-basis:100px}.ws-space .panel.padded{padding:10px}}.note-grid{align-items:start}.record-card.compact-note{min-height:0;padding:11px 13px}.note-heading{align-items:center;gap:6px;display:flex}.note-heading .card-title{overflow-wrap:anywhere;text-align:right;flex:1;min-width:0;margin:0;font-size:16px;line-height:1.35}.note-heading .icon{width:30px;height:30px}.note-content{color:var(--text);overflow-wrap:anywhere;-webkit-user-select:text;user-select:text;margin:5px 0 0;line-height:1.4}.note-content p{font-size:inherit;line-height:inherit;white-space:pre-wrap;margin:0}.note-check{font-size:inherit;line-height:inherit;white-space:pre-wrap;align-items:flex-start;gap:6px;margin:3px 0;display:flex}.note-check input{flex:none;width:14px;height:14px;margin:1px 0}.note-tools{border-top:1px solid var(--border);color:var(--muted);flex-wrap:wrap;gap:6px 14px;margin-top:8px;padding-top:5px;font-size:11px;display:flex}.note-tools summary{cursor:pointer;align-items:center;min-height:26px;display:flex}.note-tools details[open]{flex-basis:100%}.note-display-options{flex-wrap:wrap;align-items:center;gap:8px;margin:3px 0;display:flex}.note-display-options label{align-items:center;gap:7px;display:flex}.note-display-options select{padding:5px 8px;font-size:12px}.note-display-options .segmented button{padding:6px 9px;font-size:12px}.note-meta .record-origin{margin:3px 0;font-size:10px}.note-content{column-rule:1px solid var(--border);column-gap:16px}.note-check{break-inside:avoid}.counter-space{max-width:1200px;margin:auto}.counter-toolbar{flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;display:flex}.counter-toolbar h2{flex:1;margin:0}.counter-toolbar input:not([type=checkbox]){max-width:220px}.counter-totals{gap:10px;display:flex}.counter-totals>div{flex:1}.counter-totals strong{font-size:28px;display:block}.counter-layout{grid-template-columns:minmax(230px,.8fr) minmax(300px,1.2fr);align-items:start;gap:12px;display:grid}.counter-account{text-align:right;border:0;border-bottom:1px solid var(--border);width:100%;color:inherit;font:inherit;background:0 0;justify-content:space-between;align-items:center;gap:10px;padding:13px 8px;display:flex}.counter-account.selected{background:var(--soft);border-radius:8px}.counter-account small,.counter-history small{color:var(--muted);font-size:11px;display:block}.counter-form label{margin:8px 0;font-size:12px;display:block}.counter-form input:not([type=checkbox]){width:100%;min-width:0;padding:8px;display:block}.counter-pair{grid-template-columns:1fr 1fr;gap:8px;display:grid}.counter-form .segmented{flex-wrap:wrap}.counter-form .segmented button{font-size:12px}.counter-denominations>div{grid-template-columns:60px 34px minmax(45px,70px) 34px 1fr;align-items:center;gap:6px;margin:5px 0;display:grid}.counter-denominations input{text-align:center;padding:6px!important}.counter-sum{margin:8px 0;font-size:21px;display:block}.counter-history>div{border-top:1px solid var(--border);justify-content:space-between;gap:12px;padding:10px 0;display:flex}.counter-history p{overflow-wrap:anywhere;margin:4px 0;font-size:12px}.counter-history>div>span:last-child{white-space:nowrap;text-align:left}.counter-history{max-height:450px;overflow:auto}@media (width<=750px){.counter-layout{grid-template-columns:1fr}.counter-space .padded{padding:12px}.counter-toolbar{gap:6px}.counter-totals strong{font-size:24px}}.counter-account>span{overflow-wrap:anywhere;min-width:0}.counter-account>strong{white-space:nowrap}.counter-history>div>span:first-child{min-width:0}.content{padding:20px 24px}.page-heading{margin-bottom:14px}h1{font-size:26px}.page-heading p{margin-top:5px}.stats{gap:10px;margin-bottom:14px}.stat{padding:12px 16px}.stat>strong{font-size:28px}.panel-heading{padding:13px 16px}.task-row{padding:10px 14px}.card-grid{gap:12px}.record-card{padding:16px}.padded{padding:18px}.button{padding:8px 12px;font-size:13px}.field{gap:4px;min-width:0;margin-bottom:8px}.field>label{color:var(--muted);font-size:11px;font-weight:600}.field input,.field textarea{padding:8px 10px;font-size:14px}.field textarea{resize:vertical;min-height:58px;max-height:100px}.form-grid{gap:10px}.modal>header{padding:12px 16px}.modal>header h2{font-size:17px}.modal-body{padding:12px 16px}.modal-footer{gap:8px;padding:10px 14px}.modal-footer>div{flex-wrap:wrap;gap:6px}.modal-footer .button{padding:7px 10px;font-size:12px}.modal .notice{padding:9px;font-size:12px}.modal .attachments,.modal .history{margin-top:6px;font-size:12px}.modal .history[open],.modal .attachments[open]{max-height:170px;overflow:auto}.modal .record-origin{font-size:10px}.editor-fields{border:0;min-width:0;margin:0;padding:0}.choice-buttons{flex-wrap:wrap;gap:5px;display:flex}.choice-buttons button{border:1px solid var(--border);background:var(--input);color:var(--text);min-height:32px;font:inherit;border-radius:7px;padding:6px 10px;font-size:12px}.choice-buttons button[aria-pressed=true]{background:var(--green);color:#fff;border-color:var(--green)}.choice-buttons button:focus-visible,.date-grid button:focus-visible{outline-offset:2px;outline:2px solid #b88b2a}.quick-select{min-width:0}.quick-select>input{margin-bottom:5px}.quick-select>small{color:var(--muted);font-size:10px;display:block}.choice-pages,.quick-date-heading,.quick-date-actions{justify-content:space-between;align-items:center;gap:6px;display:flex}.choice-pages button,.quick-date-heading button,.quick-date-actions button{color:var(--green);font:inherit;background:0 0;border:0;min-height:28px;padding:3px 6px;font-size:11px}.quick-date{border:1px solid var(--border);background:var(--surface);border-radius:9px;padding:5px 7px;position:relative}.quick-date-heading small{font-size:10px}.quick-date-heading button{font-size:20px}.date-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:3px;display:grid}.date-grid small{color:var(--muted);font-size:10px}.date-grid button{font:inherit;background:var(--input);color:var(--text);border:1px solid #0000;border-radius:5px;height:28px;padding:0;font-size:12px}.date-grid button.is-today{border-color:var(--green)}.date-grid button[aria-pressed=true]{background:var(--green);color:#fff}.date-validation{opacity:0;pointer-events:none;border:0!important;width:1px!important;height:1px!important;padding:0!important;position:absolute!important}.report-page{max-width:900px;padding:12px}.report-brand{margin-bottom:10px;padding:8px 0}.report-brand h1{font-size:22px}.report-brand img{max-height:70px}.compact-report-form>.button{margin-top:12px}.compact-report-form>p{font-size:11px}.links-filter{align-items:center;gap:12px;margin-bottom:12px;display:flex}.links-filter input{max-width:360px}.link-card{padding:14px}.link-card-main{color:var(--text);align-items:center;gap:12px;min-height:50px;text-decoration:none;display:flex}.link-card-main small{color:var(--muted);margin-top:3px;font-size:11px;display:block}.link-credentials{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.link-credentials span{text-overflow:ellipsis;max-width:190px;overflow:hidden}.links-hub h2{margin:0;font-size:21px}.links-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.document.mary-document{--doc-olive:#495544;--doc-gold:#bc913d;border-top:8px solid var(--doc-olive);color:#273024;background:#fff;padding:32px 40px;line-height:1.6}.mary-document header{border-bottom:2px solid var(--doc-gold);align-items:center;gap:20px;padding-bottom:20px;display:flex}.mary-document .doc-mark{background:#fff;border-radius:0;flex:0 0 185px;width:185px;height:135px;display:block}.mary-document .doc-mark img{object-fit:contain;width:100%;height:100%}.mary-document header h2{color:var(--doc-olive);font-size:22px}.mary-document .doc-number{color:var(--doc-olive);margin-inline-start:auto}.mary-document .doc-title>span{color:var(--doc-gold);letter-spacing:.04em;font-weight:700}.mary-document .doc-title h1{color:var(--doc-olive);margin:6px 0;font-size:29px}.mary-document table th{background:var(--doc-olive);color:#fff;text-align:right;padding:11px}.mary-document table td{border-bottom:1px solid #e1e5db;padding:12px 11px}.mary-document table tr:nth-child(2n) td{background:#f5f6f1}.mary-document .doc-totals{background:#f5f6f1;border-radius:10px;margin-top:18px;padding:12px 18px}.mary-document .doc-totals .total{border-top:2px solid var(--doc-gold);color:var(--doc-olive);padding-top:10px;font-size:21px}.mary-document .doc-terms{border-inline-start:3px solid var(--doc-gold);background:#faf9f5;margin-top:24px;padding:10px 16px}.mary-document footer{color:#64705e;border-top:1px solid #ddd7c7;margin-top:30px;padding-top:14px;font-size:11px}.mary-document .signed{color:var(--doc-olive);background:#eff3e8}@media (width<=600px){.content{padding:14px 12px}.page-heading{margin-bottom:12px}.heading-actions{margin-top:10px}.topbar{height:52px}.stats{gap:7px}.stat{padding:10px}.stat>strong{font-size:24px}h1{font-size:23px}.modal-backdrop{padding:6px}.modal{max-height:calc(100dvh - 12px)}.modal-body{padding:9px 12px}.modal>header{padding:10px 12px}.modal-footer{padding:8px 12px}.field input,.field textarea{padding:7px 9px;font-size:16px}.choice-buttons button{min-height:32px;padding:6px 8px;font-size:11px}.links-hub .list-toolbar{gap:10px}.links-hub .inline{flex-wrap:wrap}.report-brand h1{font-size:18px}.report-brand img{max-width:70px}.mary-document.document{padding:16px}.mary-document header{flex-wrap:wrap;gap:8px}.mary-document .doc-mark{flex-basis:140px;width:140px;height:103px;display:block}.mary-document header h2{font-size:17px}.mary-document .doc-number{font-size:12px}.mary-document .doc-title h1{font-size:23px}.mary-document table td,.mary-document table th{padding:7px 4px}.links-grid{grid-template-columns:1fr}}@media print{.mary-document.document{-webkit-print-color-adjust:exact;print-color-adjust:exact;border-top:8px solid #495544;padding:18mm 12mm}.mary-document .doc-mark{display:block!important}.mary-document thead{display:table-header-group}.mary-document tr,.mary-document .doc-totals,.mary-document .doc-terms{break-inside:avoid}}.item-row input,.check-line input{width:100%;min-width:0}.check-line input[type=checkbox]{width:auto}.item-row{width:100%;min-width:0}@media print{html,body,#root,.modal,.modal-backdrop{background:#fff!important}.modal{height:auto;min-height:0}.mary-document.document{width:100%;margin:0}}@media (width<=600px){.auth-art{padding:15px 24px}.auth-art h1{margin:8px 0;font-size:21px}.auth-art p,.auth-art .art-orbits{display:none}.auth-card{padding:12px 0}.auth-card .auth-date{margin:4px 0;font-size:11px}.auth-card h2{font-size:21px}.auth-card>p{margin-bottom:8px;font-size:12px}.auth-card .field{margin-bottom:9px}.auth-card .button{margin-top:5px}}.link-card-main>div{min-width:0}.link-card-main b{overflow-wrap:anywhere}.link-card-main small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.choice-buttons button{overflow-wrap:anywhere;max-width:100%}.record-editor.wide{flex-direction:column;width:min(1240px,100vw - 40px);max-width:none;max-height:calc(100dvh - 32px);display:flex;overflow:hidden}.record-editor>form{flex-direction:column;min-height:0;display:flex;overflow:hidden}.record-editor .modal-body{min-height:0;overflow:auto}.record-editor .modal-footer{flex-shrink:0}.record-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:10px 14px;display:grid}.record-form-grid>.form-grid{display:contents}.record-form-grid .field{margin:0}.record-form-grid>.full{grid-column:span 2}.record-form-grid>.title-field{grid-column:1/-1}.record-form-grid>.checklist-editor,.record-form-grid>.items-editor{grid-column:1/-1;margin:0}.record-form-grid>.muted{grid-column:1/-1;font-size:11px}.record-form-grid .field textarea{min-height:54px}.record-form-grid .section-label{margin:0}.record-form-grid .checklist-editor .section-label{margin-inline-end:12px;display:inline}.record-form-grid .checklist-editor>.text-button{display:inline-flex}.scheduled-editor .schedule-date-field{grid-area:1/4/span 3}.scheduled-editor .reminders-field{grid-column:span 2}.search-select{min-width:0;position:relative}.search-select-trigger{border:1px solid var(--border);background:var(--input);width:100%;min-height:36px;color:var(--text);font:inherit;text-align:start;border-radius:8px;justify-content:space-between;align-items:center;padding:7px 10px;font-size:13px;display:flex}.search-select-trigger>span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.search-select-popover{inset-inline:0;z-index:30;background:var(--surface);border:1px solid var(--border);border-radius:9px;padding:7px;position:absolute;top:calc(100% + 4px);box-shadow:0 8px 28px #0002}.search-select-popover input{width:100%;margin-bottom:5px}.search-select-popover [role=listbox]{max-height:180px;overflow:auto}.search-select-popover [role=option]{width:100%;color:var(--text);text-align:start;font:inherit;overflow-wrap:anywhere;background:0 0;border:0;padding:9px;font-size:13px;display:block}.search-select-popover [role=option]:hover,.search-select-popover .highlighted{background:var(--input)}.search-select-popover [aria-selected=true]{color:var(--green);font-weight:700}.report-fields>.form-grid{gap:10px}.report-fields h2{margin:14px 0 8px;font-size:17px}@media (width>=901px){.scheduled-editor .choice-buttons{gap:4px}.scheduled-editor .choice-buttons button{padding:6px 7px;font-size:11px}}@media (width<=900px){.record-editor.wide{width:calc(100vw - 24px)}.record-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduled-editor .schedule-date-field{grid-area:2/2/span 3}.scheduled-editor .title-field,.scheduled-editor .body-field,.record-form-grid>.full{grid-column:1/-1}}@media (width<=600px){.record-editor.wide{width:100%;max-height:calc(100dvh - 12px)}.record-form-grid{gap:10px}.scheduled-editor .schedule-date-field{grid-area:auto/1/auto/-1}.record-form-grid .status-field,.record-form-grid .rollover-field,.scheduled-editor .reminders-field{grid-column:1/-1}.search-select-trigger{min-height:40px;font-size:16px}.choice-buttons button{min-height:36px}.record-editor .modal-footer{background:var(--surface)}}.record-editor>header{flex-shrink:0}.search-select-popover.above{top:auto;bottom:calc(100% + 4px)}@media (width>=901px){.scheduled-editor .record-form-grid>.checklist-editor{grid-column:span 2;align-self:center}.scheduled-editor .record-form-grid{gap:8px 14px}}.record-editor .modal-body{padding:10px 14px}.record-editor>header{padding:8px 14px}.record-editor>header h2{font-size:16px}.record-editor .modal-footer{padding:8px 12px}.record-editor .record-form-grid{gap:7px 12px}.record-editor .field{gap:3px}.record-editor .field>label{color:var(--text);opacity:.8;font-size:11px;line-height:1.35}.record-editor .field input,.record-editor .field textarea{padding:6px 8px;font-size:13px}.record-editor .field textarea{min-height:42px;line-height:1.35}.record-editor .choice-buttons{gap:4px}.record-editor .choice-buttons button{min-height:30px;padding:4px 7px;font-size:11px;line-height:1.35}.record-editor .search-select-trigger{min-height:32px;padding:5px 8px;font-size:13px}.record-editor .quick-date{padding:3px 6px}.record-editor .date-grid{gap:2px}.record-editor .date-grid button{height:25px}.record-editor .quick-date-heading button,.record-editor .quick-date-actions button{min-height:24px;padding:2px 5px}.record-editor .section-label,.record-editor .text-button{font-size:12px}.record-editor .record-form-grid>.muted{font-size:10px;line-height:1.3}@media (width<=600px){.record-editor .modal-body{padding:8px 10px}.record-editor .record-form-grid{gap:7px 10px}.record-editor .assignee-field,.record-editor .business-field{grid-column:span 1}.record-editor .field input,.record-editor .field textarea{padding:5px 7px;font-size:16px;line-height:1.2}.record-editor .search-select-trigger{min-height:32px;font-size:14px}.record-editor .choice-buttons button{min-height:30px;padding:5px 6px;font-size:11px}.record-editor .status-field .choice-buttons{flex-wrap:nowrap}.record-editor .status-field .choice-buttons button{flex:1;padding-inline:3px}.record-editor .rollover-field .choice-buttons{flex-wrap:nowrap}.record-editor .rollover-field .choice-buttons button{flex:1;padding-inline:3px}.record-editor .quick-date-heading small{font-size:10px}.record-editor .quick-date-actions button{font-size:11px}.record-editor .checklist-editor .text-button{padding:3px 0}.record-editor .modal-footer .button{padding:6px 9px}.record-editor .reminders-field{grid-column:span 1}.record-editor .repeat-field .choice-buttons{grid-template-columns:1fr 1fr;display:grid}.record-editor .repeat-field .choice-buttons button{padding-inline:3px}.record-editor .date-grid button{height:24px}.record-editor .quick-date-heading button,.record-editor .quick-date-actions button{min-height:22px}.record-editor .reminders-field>label{font-size:11px}.record-editor .record-form-grid>.muted{font-size:10px}}.contact-shortcuts{flex-wrap:wrap;gap:12px;display:flex}.contact-shortcuts .text-button{padding:3px 0;font-size:11px}.linked-contact{min-width:0}.linked-contact>.muted{font-size:10px;display:block}.contact-import-list,.catalog-admin-list{max-height:260px;margin-top:10px;overflow:auto}.contact-import-list>label{border-bottom:1px solid var(--border);padding:7px}.document-items,.document-upload{grid-column:1/-1!important}.document-upload{border:1px dashed var(--border);background:var(--soft);border-radius:8px;padding:10px}.document-upload>small{font-size:11px}.document-upload input{max-width:100%}.catalog-search{margin:8px 0;position:relative}.catalog-search>input{border:1px solid var(--border);background:var(--input);width:100%;color:var(--text);border-radius:8px;padding:8px}.catalog-results{top:100%;z-index:5;background:var(--surface);border:1px solid var(--border);max-height:210px;position:absolute;inset-inline:0;overflow:auto;box-shadow:0 5px 20px #0002}.catalog-results button{text-align:start;border:0;border-bottom:1px solid var(--border);width:100%;font:inherit;background:0 0;justify-content:space-between;gap:12px;padding:10px;font-size:13px;display:flex}.catalog-results button:hover{background:var(--soft)}.item-columns{color:var(--muted);grid-template-columns:1fr 80px 100px 30px;gap:8px;font-size:11px;display:grid}.order-items .item-row{margin:5px 0}.order-items input{background:var(--input);color:var(--text);border:1px solid var(--border);border-radius:7px;padding:7px}.order-items .item-row>div{min-width:0}.order-items .muted{font-size:11px}.order-total{padding:8px 0;font-size:14px}.commerce-panel{margin-bottom:14px}.commerce-panel>.inline,.commerce-panel .inline{flex-wrap:wrap;margin-bottom:12px}.commerce-panel>input{width:100%;margin-top:10px}.commerce-panel h3{margin-top:16px}.order-portal{max-width:850px;margin:0 auto;padding:20px}.portal-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.order-portal .panel{margin-bottom:16px}.order-portal h2{margin-bottom:12px}.order-portal details{border-bottom:1px solid var(--border);padding:10px 0}.order-portal summary{cursor:pointer;font-size:13px}.task-pin.is-pinned{background:var(--soft);color:var(--green);border:1px solid var(--green)}.task-row>.check-circle{flex-shrink:0;margin-inline-start:7px}.task-row>.check-circle:not(.checked){color:var(--muted)}@media (width<=600px){.order-portal{padding:12px}.order-portal h1{font-size:21px}.order-portal .padded{padding:12px}.item-columns{grid-template-columns:1fr 56px 72px 26px;gap:4px}.commerce-panel .sharing-row{flex-wrap:wrap}.linked-contact{grid-column:span 1}.contact-shortcuts{gap:3px}.task-row{gap:7px}.order-items .item-row input{font-size:16px}.order-items .item-row{grid-template-columns:minmax(0,1fr) 50px 65px 24px}}.document.mary-document{border-top-width:4px;padding:18px 28px}.mary-document header{grid-template-columns:minmax(0,1fr) 125px minmax(0,1fr);align-items:center;gap:12px;min-height:82px;padding-bottom:8px;display:grid}.mary-document .doc-mark{grid-area:1/2;width:125px;height:78px;margin:auto}.mary-document .doc-business-details{grid-area:1/1;font-size:11px}.mary-document .doc-number{text-align:left;grid-area:1/3;align-self:start;margin:0;padding-top:5px;font-size:12px}.mary-document .doc-number small{font-size:10px;display:block}.mary-document .doc-title{padding:10px 0 8px}.mary-document .doc-title h1{margin:3px 0;font-size:24px}.mary-document .doc-title p{font-size:13px}.mary-document .doc-title>span{font-size:12px}@media print{.mary-document.document{border-top-width:3px;padding:5mm 9mm}.mary-document header{min-height:23mm}.mary-document .doc-mark{width:30mm;height:21mm}.mary-document .doc-title{padding:3mm 0}.mary-document .doc-title h1{font-size:22px}}@media (width<=600px){.mary-document header{grid-template-columns:minmax(0,1fr) 95px minmax(0,1fr);gap:5px}.mary-document .doc-mark{width:95px;height:65px}.document.mary-document{padding:12px}.mary-document .doc-number{font-size:10px}.mary-document .doc-number small,.mary-document .doc-business-details{font-size:9px}}.catalog-filters{gap:8px;margin:8px 0;display:flex}.catalog-filters select{border:1px solid var(--border);background:var(--input);min-width:0;color:var(--text);border-radius:7px;flex:1;padding:6px;font-size:12px}.catalog-results small{color:var(--muted);font-size:11px;display:block}.order-items .item-row,.order-items .item-columns{grid-template-columns:minmax(0,1fr) 112px 80px 26px;align-items:start;gap:7px}.order-items .item-row input{height:34px;min-height:0;margin:0;padding:5px 7px;line-height:1.2}.order-items .quantity-stepper{border:1px solid var(--border);border-radius:7px;grid-template-columns:28px minmax(0,1fr) 28px;align-items:center;gap:0;height:34px;display:grid;overflow:hidden}.order-items .quantity-stepper input{text-align:center;-moz-appearance:textfield;border:0;border-radius:0;width:100%;height:32px;padding:2px}.quantity-stepper input::-webkit-inner-spin-button{-webkit-appearance:none}.item-price::-webkit-inner-spin-button{-webkit-appearance:none}.quantity-stepper button{background:var(--soft);height:32px;color:var(--text);border:0;font-size:18px}.order-items .item-price{text-align:center;height:34px}.pack-suggestion{background:var(--soft);color:var(--green);border:0;border-radius:5px;margin-top:4px;padding:3px 6px;font-size:10px}.order-items.purchase-items .item-row,.order-items.purchase-items .item-columns{grid-template-columns:minmax(0,1fr) 112px 26px}.order-total small{font-size:12px;font-weight:400}.reminder-picker{border:1px solid var(--border);border-radius:8px;padding:6px}.reminder-presets,.reminder-selected,.reminder-custom{flex-wrap:wrap;gap:4px;display:flex}.reminder-presets button,.reminder-selected button,.reminder-custom button{font:inherit;border:1px solid var(--border);background:var(--input);color:var(--text);border-radius:5px;padding:4px;font-size:10px}.reminder-presets button[aria-pressed=true]{background:var(--green);color:#fff}.reminder-custom{flex-wrap:nowrap;margin-top:5px}.record-editor .reminder-custom input{width:60px;min-width:0;padding:3px;font-size:12px}.reminder-custom select{background:var(--input);min-width:0;color:var(--text);border:1px solid var(--border);border-radius:5px;font-size:11px}.notification-center{grid-template-columns:1fr 1fr;gap:14px;display:grid}.notification-center>section:first-of-type{grid-row:span 2}.notification-center h2{margin-bottom:10px}.notification-center .inline{flex-wrap:wrap;gap:10px;margin:10px 0}.notification-types>div{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 65px 45px;align-items:center;padding:7px;font-size:12px;display:grid}.notification-types input{justify-self:center}.notification-item{border-bottom:1px solid var(--border);padding:12px 0}.notification-item.read{opacity:.65}.notification-item small{color:var(--muted)}@media (width<=600px){.order-items .item-row,.order-items .item-columns{grid-template-columns:minmax(0,1fr) 96px 62px 22px;gap:4px}.order-items .quantity-stepper{grid-template-columns:25px minmax(0,1fr) 25px}.order-items .item-row input{padding:3px;font-size:16px}.notification-center{grid-template-columns:1fr}.notification-center>section:first-of-type{grid-row:auto}.record-editor .reminders-field{grid-column:1/-1}.reminder-presets button{padding:5px;font-size:11px}.record-editor .reminder-custom input{font-size:16px}.reminder-custom select,.catalog-filters select{font-size:13px}}.contact-card{gap:5px!important;padding:12px!important}.contact-card-heading{justify-content:space-between;align-items:center;gap:8px;display:flex}.contact-card-heading .card-title{margin:0;font-size:16px}.contact-card-info{color:var(--muted);flex-wrap:wrap;gap:3px 10px;font-size:12px;display:flex}.contact-quick-actions{flex-wrap:wrap;align-items:center;gap:5px;margin-top:7px;display:flex}.contact-quick-actions .button{min-height:32px;padding:6px 8px;font-size:11px}.contact-quick-actions .text-button{font-size:11px}.contact-origin{color:var(--muted);margin-top:6px;font-size:10px}.contact-card .card-excerpt{-webkit-line-clamp:2;margin:5px 0;font-size:12px}.contact-card .record-origin{margin:4px 0}.mary-document .doc-title{margin:8px 0;padding:4px 0}.mary-document table{margin-top:8px}.mary-document .doc-business-details p:empty,.mary-document>.preserve:empty{display:none}.catalog-product-editor .modal-body{grid-template-columns:1fr 1fr;gap:8px;display:grid}.catalog-product-editor .modal-body>.error{grid-column:1/-1}.catalog-product-editor .field{margin:0}.catalog-product-editor .field label{font-size:11px}.catalog-product-editor .field input{width:100%;min-width:0;padding:6px}.holiday-labels{flex-direction:column;gap:2px;margin:3px 0;display:flex}.holiday-labels>span,.day-holidays>span{color:#725317;white-space:normal;background:#f6edce;border-radius:4px;padding:2px 5px;font-size:10px;line-height:1.3}.day-holidays{flex-wrap:wrap;gap:5px;padding:4px 16px;display:flex}.day-holidays>span{font-size:13px}.holiday-picker{border:1px solid var(--border);border-radius:8px;padding:7px;font-size:11px}.holiday-picker b{font-size:11px;display:block}.holiday-picker .muted{margin:5px 0;font-size:10px}.holiday-selected{flex-wrap:wrap;gap:4px;margin:5px 0;display:flex}.holiday-selected button{background:var(--soft);color:var(--text);border:0;border-radius:5px;padding:4px;font-size:11px}.holiday-offset{align-items:center;gap:8px;margin:6px 0;display:flex}.record-editor .holiday-offset input{width:60px;min-width:0}.holiday-picker small{display:block}[data-theme=dark] .holiday-labels>span,[data-theme=dark] .day-holidays>span{color:#f5dfa4;background:#4b422b}@media (width<=600px){.holiday-labels>span{padding:2px;font-size:9px}.holiday-labels{gap:1px}.month-day{min-height:100px}}.task-order-buttons{flex-direction:column;flex-shrink:0;gap:0;display:flex}.task-order-buttons .icon{width:28px;height:27px;padding:3px}.task-order-buttons button:disabled{opacity:.25}.task-day-group>h3{background:var(--bg);border-block:1px solid var(--border);align-items:center;gap:8px;margin:0;padding:10px 14px;font-size:14px;display:flex}.task-day-group>h3 small{color:var(--muted);font-weight:400}.task-board-entry{border-bottom:1px solid var(--border);align-items:center;padding-inline:4px;display:flex}.task-board-entry .task-row{border:0;flex:1;gap:7px;min-width:0;padding:10px 4px}.task-board-entry .row-main{min-width:0}.task-board-entry .row-main b{overflow-wrap:anywhere}.task-drag{touch-action:none;-webkit-user-select:none;user-select:none;cursor:grab;width:23px;color:var(--muted);flex-shrink:0;padding:2px}.task-date-action{flex-shrink:0}.task-board-entry.dragging{opacity:.45}.task-board-entry.drop-target{box-shadow:inset 0 3px var(--green);background:var(--bg)}.scheduled-editor .record-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scheduled-editor .title-field,.scheduled-editor .body-field{grid-column:1/-1}.task-schedule-pack{border-bottom:1px solid var(--border);grid-column:1/-1;grid-template-columns:1fr 1fr;gap:10px;padding-bottom:8px;display:grid}.scheduled-editor .task-schedule-pack .schedule-date-field{grid-area:auto}.task-time-pack{grid-template-columns:1fr 1fr;align-content:start;gap:8px;display:grid}.task-time-pack>.field:last-child{grid-column:1/-1}.task-assignee{align-self:center;font-size:12px}.task-assignee summary,.task-advanced summary,.record-origin-details summary{cursor:pointer;padding:6px 0;font-size:12px}.task-assignee .field{margin-top:5px}.task-advanced{border-block:1px solid var(--border);grid-column:1/-1}.task-advanced>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px 0;display:grid}.record-origin-details{margin-bottom:5px}.scheduled-editor .record-form-grid>.reminders-field,.scheduled-editor .record-form-grid>.checklist-editor{grid-column:1/-1}@media (width<=600px){.task-schedule-pack{grid-template-columns:1fr}.task-time-pack{grid-template-columns:1fr 1fr 1.5fr}.task-time-pack>.field:last-child{grid-column:auto}.task-board-entry .task-row{flex-wrap:nowrap}.task-board-entry .task-row>.badge,.task-board-entry .task-row>.icon{display:none}.task-board-entry .task-row .row-main span{font-size:11px}.task-board-entry .row-main b{font-size:14px}.task-board-entry .task-date-action{width:29px;padding:4px}.task-board-entry .task-drag{width:19px}}.record-editor.scheduled-editor.wide{width:min(940px,100vw - 24px)}@media (width<=600px){.record-editor.scheduled-editor.wide{width:100%}}
