/* Commercial decisions and the accountant's packet. */
.commerce-page{min-width:0}.commerce-page h3,.commerce-page p{overflow-wrap:anywhere}
.commerce-stats .stat-value{font-size:clamp(28px,3.1vw,42px);font-weight:500;letter-spacing:-1.3px;line-height:1.15;overflow-wrap:anywhere}
.commerce-attention{display:flex;gap:12px 26px;align-items:center;flex-wrap:wrap;margin:6px 0 24px;font-size:12px;color:var(--muted)}.commerce-attention strong{color:var(--text);font-weight:500;font-size:16px;margin-right:4px}.commerce-attention .commerce-alert,.commerce-attention .commerce-alert strong{color:#efbcaa}
.commerce-create{padding:16px 20px;margin-bottom:24px}.commerce-create>summary{cursor:pointer;list-style:none;font-size:13px;color:var(--acid)}.commerce-create>summary::-webkit-details-marker{display:none}.commerce-create[open]>summary{margin-bottom:20px}.commerce-create>summary:focus-visible{outline:2px solid var(--acid);outline-offset:5px}
.commerce-kanban{display:grid;grid-template-columns:repeat(7,minmax(254px,1fr));gap:14px;overflow-x:auto;padding:2px 2px 20px;align-items:start;scroll-snap-type:x proximity;scrollbar-color:#55594a #171816}.commerce-kanban:focus-visible{outline:2px solid var(--acid);outline-offset:4px}.commerce-column{min-width:0;scroll-snap-align:start;background:#141512;border-radius:12px;border:1px solid var(--direction-line);border-top:2px solid #6d7162}.commerce-column-1{border-top-color:#759abe}.commerce-column-2{border-top-color:#9b88c7}.commerce-column-3{border-top-color:var(--acid)}.commerce-column-4{border-top-color:#6cbca9}.commerce-column-5{border-top-color:#93cfa7}.commerce-column-6{border-top-color:#b3828e}
.commerce-column>header{padding:18px 16px 16px;border-bottom:1px solid var(--direction-line)}.commerce-column>header h2{font-size:13px;font-weight:500;margin:0 0 9px;display:flex;justify-content:space-between;align-items:center}.commerce-column>header h2 span{font-size:11px;background:#292c23;color:var(--muted);border-radius:5px;padding:3px 7px}.commerce-column>header p{font-size:14px;font-variant-numeric:tabular-nums;color:var(--text);margin:0}.commerce-column>header small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.commerce-column-cards{display:grid;gap:10px;padding:12px}.commerce-column-empty{padding:14px 2px;color:var(--muted);font-size:11px}
.commerce-opportunity{padding:16px 14px;background:#20221d;border:1px solid #30342a;border-radius:9px;min-width:0}.commerce-opportunity-late{border-color:#765044}.commerce-card-heading{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}.commerce-card-heading h3{margin:0 0 13px;font-size:13px;font-weight:500;line-height:1.5}.commerce-qualified{flex-shrink:0;border:1px solid #5e755c;border-radius:50%;font-size:9px;padding:2px 5px;color:#c5e5bb}.commerce-card-value{display:block;font-size:21px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.6px;overflow-wrap:anywhere}.commerce-opportunity>.note{font-size:10px;margin:6px 0}.commerce-owner{font-size:11px;color:var(--muted);margin:11px 0 15px}.commerce-next-step{padding-top:12px;border-top:1px solid #35392e;display:grid;gap:6px}.commerce-next-step>span{font-size:9px;text-transform:uppercase;letter-spacing:.6px;color:var(--muted)}.commerce-next-step strong{font-size:12px;line-height:1.45;font-weight:400;overflow-wrap:anywhere}.commerce-next-step time{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}.commerce-opportunity-late .commerce-next-step>span,.commerce-opportunity-late .commerce-next-step time{color:#efbcaa}
.commerce-card-edit{margin-top:14px}.commerce-card-edit>summary{font-size:11px;color:var(--acid);cursor:pointer;line-height:1.5}.commerce-card-edit[open]>summary{margin-bottom:16px}.commerce-card-edit .field-grid{grid-template-columns:1fr}.commerce-card-edit .field.full{grid-column:auto}.commerce-card-edit .field label{font-size:11px}.commerce-card-edit input,.commerce-card-edit select,.commerce-card-edit textarea{max-width:100%;min-width:0;font-size:12px}.commerce-card-edit .form-actions .button{width:100%;font-size:11px;padding:10px 8px}.commerce-form .note{font-size:11px;line-height:1.6}.commerce-form-details{margin:18px 0}.commerce-form-details>summary{font-size:12px;cursor:pointer;color:var(--muted)}.commerce-form-details[open]>summary{margin-bottom:18px;color:var(--text)}.commerce-form .field-grid{margin-top:16px}.commerce-fx-choice label{display:flex;gap:8px;align-items:flex-start;line-height:1.5}.commerce-fx-choice input[type=checkbox]{width:16px;min-width:16px;height:16px;margin:1px 0 0}.commerce-fx-choice small{font-size:10px;line-height:1.5;color:var(--muted);display:block;margin-top:7px}
.commerce-explainer{margin:18px 0;color:var(--muted);font-size:12px}.commerce-explainer>summary{cursor:pointer;line-height:1.5}.commerce-explainer .note{max-width:800px;margin-top:12px;line-height:1.7}
.commerce-notion-panel{margin-bottom:24px;padding:18px 20px}.commerce-notion-panel>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;font-size:13px;list-style:none}.commerce-notion-panel>summary::-webkit-details-marker{display:none}.commerce-notion-panel>summary>strong{font-weight:500}.commerce-notion-panel>summary>span{font-size:11px;color:var(--muted)}.commerce-notion-panel[open]>summary{margin-bottom:20px}commerce-notion-leads{display:block;min-width:0}.commerce-notion-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}.commerce-notion-toolbar>label{display:grid;gap:7px;font-size:11px;color:var(--muted);width:min(100%,350px)}.commerce-notion-toolbar input{border:1px solid var(--line);border-radius:7px;padding:10px 12px;color:var(--text);background:#151713;width:100%;font:inherit;font-size:13px}.commerce-notion-toolbar>.note{font-size:10px;line-height:1.5;margin:0 0 9px}.commerce-notion-count{font-size:10px;color:var(--muted);margin:12px 0}.commerce-notion-list{max-height:380px;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#55594a #171816;border-top:1px solid var(--line)}.commerce-notion-lead{padding:15px 4px;border-bottom:1px solid var(--line)}.commerce-notion-lead[hidden],commerce-notion-leads [hidden]{display:none!important}.commerce-notion-lead-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.commerce-notion-lead-head h3{font-size:13px;font-weight:500;margin:0 0 7px}.commerce-notion-lead-head p{font-size:11px;line-height:1.5;color:var(--muted);margin:0}.commerce-source-link{flex-shrink:0;color:var(--muted);font-size:11px;line-height:1.8;text-decoration:underline;text-underline-offset:3px}.commerce-notion-follow{margin-top:10px}.commerce-notion-follow>summary{font-size:11px;color:var(--acid);cursor:pointer;width:fit-content}.commerce-notion-form{padding:8px 12px 12px;margin-top:14px;border:1px solid var(--line);border-radius:8px;background:#181a16}.commerce-notion-form .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.commerce-notion-fx{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted);margin:14px 0}.commerce-notion-fx input{width:16px;height:16px;flex-shrink:0}.commerce-tracked{font-size:10px;color:#93cfa7;margin:11px 0 0}
.commerce-accounting-label{display:flex;justify-content:flex-end;margin-bottom:16px}.commerce-accounting .visual-grid{margin-top:20px}.commerce-accounting .commerce-create{margin-top:24px}.commerce-accounting .data-pairs{margin-bottom:22px}.commerce-accounting .cards-grid{margin-top:16px}.commerce-accounting .cards-grid .panel{padding:20px}.commerce-accounting .cards-grid h3{font-size:15px}.commerce-accounting .cards-grid details>summary,.commerce-invoice details>summary{font-size:12px;cursor:pointer;color:var(--acid)}
.commerce-accounting-preview{max-width:100%;overflow-x:auto;border:1px solid var(--direction-line);border-radius:10px;margin-top:16px}.commerce-table{width:100%;border-collapse:collapse;font-size:12px}.commerce-table th,.commerce-table td{text-align:left;vertical-align:top;padding:16px;border-bottom:1px solid var(--direction-line);min-width:120px;font-variant-numeric:tabular-nums}.commerce-table th{font-weight:500}.commerce-table thead{background:#24271f}.commerce-table td{white-space:nowrap}.commerce-table th:first-child{min-width:180px;max-width:250px}.commerce-table small{color:var(--muted);font-size:10px;display:inline-block;margin-top:6px}.commerce-table tbody tr:last-child td,.commerce-table tbody tr:last-child th{border-bottom:0}.commerce-invoice-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}.commerce-invoice .panel-title{align-items:flex-start;margin-bottom:16px}.commerce-invoice .panel-title h3{font-size:14px;margin-bottom:6px}.commerce-invoice .panel-title p{font-size:11px;color:var(--muted)}.commerce-invoice .panel-title>.badge{flex-shrink:0}.commerce-invoice .field-grid{grid-template-columns:1fr}.commerce-invoice .field.full{grid-column:auto}
@media(max-width:800px){.commerce-stats{grid-template-columns:1fr}.commerce-stats .stat-value{font-size:34px}.commerce-kanban{grid-template-columns:repeat(7,minmax(252px,78vw))}.commerce-attention{gap:10px 18px;font-size:11px}.commerce-create{padding:16px}.commerce-accounting-label{justify-content:flex-start}.commerce-accounting .stats{grid-template-columns:1fr}.commerce-table td,.commerce-table th{padding:13px}.commerce-invoice-list{grid-template-columns:1fr}}
@media(max-width:600px){.commerce-notion-panel{padding:16px}.commerce-notion-panel>summary{align-items:flex-start;flex-direction:column;gap:6px}.commerce-notion-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.commerce-notion-toolbar>label{width:100%}.commerce-notion-toolbar>.note{margin-bottom:0}.commerce-notion-form .field-grid{grid-template-columns:1fr}.commerce-notion-list{max-height:400px}.commerce-notion-lead-head{gap:12px}}
