/* The sales workspace keeps the existing VIA type and palette. */
.document-files{max-height:310px;overflow:auto}.document-file{padding:12px 0;border-bottom:1px solid var(--line)}.document-file a{font-size:13px;overflow-wrap:anywhere}.document-file small,.artwork-version small,.proposal-row small{display:block;font-size:11px;color:#66776b;margin-top:5px}.sales-section h3 small{color:#66776b;font-weight:400;font-size:12px}.artwork-card{border:1px solid var(--line);border-radius:6px;padding:17px 18px;margin-top:15px}.artwork-card>.sales-section-heading{margin:0}.artwork-version{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:15px;font-size:13px}.artwork-version>div{min-width:0}.artwork-version>div>strong{margin-right:8px}.artwork-version>div>span:last-of-type{display:block;margin-top:8px;overflow-wrap:anywhere}.artwork-version p{margin:8px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.artwork-evidence{color:#4e6357}.artwork-version>.text-button{font-size:12px;flex:none}.document-status{display:inline-block;font-size:11px;padding:4px 8px;border-radius:4px;background:#eff2ef;color:#66776b;white-space:nowrap}.document-status.approved,.document-status.accepted{color:#174b40;background:#e1eee5}.document-status.review,.document-status.issued{color:#78612e;background:#f5efdf}.document-status.rejected{background:#fff0eb;color:#9b4636}.proposal-row{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line)}.proposal-row>div{min-width:0}.proposal-row .text-button{text-align:left;overflow-wrap:anywhere}.proposal-line{padding:20px;border:1px solid var(--line);border-radius:6px;margin:18px 0}.proposal-line .form-grid{grid-template-columns:2fr 1fr}.proposal-line-bottom{display:flex;gap:15px;justify-content:space-between;font-size:12px;align-items:center}.proposal-line-bottom>span{color:#66776b}.proposal-line-bottom button{font-size:12px}.proposal-preview-lines{margin-top:20px}.proposal-preview-lines>div{display:flex;justify-content:space-between;gap:25px;padding:18px 0;border-bottom:1px solid var(--line)}.proposal-preview-lines small{display:block;color:#66776b;font-size:12px;margin-top:5px}.proposal-preview-lines>div>strong{white-space:nowrap}.proposal-terms dt{font-size:12px;color:#66776b;margin-top:18px}.proposal-terms dd{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.sales-form input[type=file]{padding:12px;width:100%;font-size:12px}.sales-form input[type=file]::file-selector-button{background:#edf4ef;border:1px solid #cad9ce;border-radius:4px;padding:7px;color:#174b40;margin-right:10px}
@media(max-width:600px){.artwork-card{padding:15px 12px}.artwork-version{flex-wrap:wrap;gap:9px}.artwork-version>.text-button{margin-left:auto}.proposal-line{padding:15px 12px}.proposal-line .form-grid{grid-template-columns:1fr}.proposal-line-bottom{flex-wrap:wrap}.proposal-row{align-items:flex-start}.proposal-row .text-button{font-size:13px}.proposal-preview-lines>div{gap:12px;font-size:12px}.sales-section-heading>h3{font-size:15px}.sales-section-heading>button{font-size:12px}}
.sales-summary{display:flex;align-items:baseline;gap:8px;font-size:14px;margin:-10px 0 25px}.sales-summary strong{font-size:24px;color:var(--green)}.sales-summary>span{margin-left:16px;color:#66776b;font-size:13px}
.sales-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:22px}.sales-filters{display:flex;gap:12px;flex-wrap:wrap}.sales-filters select{background:#fff;border:1px solid var(--line);border-radius:6px;padding:10px 12px;font-size:13px;color:var(--green);max-width:240px}.sales-filters .search{background:#fff}.sales-filters .search input{width:190px;font-size:13px}
.sales-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:start}.sales-column{min-width:0}.sales-column-heading{display:flex;justify-content:space-between;gap:8px;padding:0 2px 14px;border-bottom:2px solid #c8d9ce;margin-bottom:14px;align-items:center}.sales-column-heading h2{font-size:14px;letter-spacing:0}.sales-column-heading>span{font-size:12px;color:#66776b}.sales-column:nth-child(2) .sales-column-heading{border-color:#adccd1}.sales-column:nth-child(3) .sales-column-heading{border-color:#d4c59f}.sales-column:nth-child(4) .sales-column-heading{border-color:#639e82}
.sales-deal{display:block;width:100%;text-align:left;padding:17px 15px 0;background:#fff;border:1px solid #dce4de;border-radius:7px;margin-bottom:13px;overflow:hidden;color:#24362f}.sales-deal-client{display:block;color:#66776b;font-size:12px;margin-bottom:8px;overflow-wrap:anywhere}.sales-deal>strong{display:block;font-size:15px;line-height:1.5;overflow-wrap:anywhere}.sales-deal-amount{display:block;font-size:15px;font-weight:600;margin:13px 0 6px}.sales-deal-owner{display:block;font-size:12px;color:#66776b;margin-bottom:15px}.sales-next{display:block;background:#eff5f1;margin:0 -15px;padding:11px 15px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.sales-next b{display:block;font-weight:600;margin-bottom:3px}.sales-next.overdue{background:#fff2ed;color:#8e402d}.sales-next.empty-next{color:#66776b;background:#f6f8f6}.sales-empty-column{padding:16px 2px;color:#66776b;font-size:13px;line-height:1.7;max-width:240px}
.sales-client-table td{padding-top:20px;padding-bottom:20px;font-size:13px}.sales-client-table .text-button{font-size:14px;text-align:left}.sales-client-table .cell-sub{max-width:280px;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.sales-client-table{min-width:640px}
.sales-task{display:flex;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.sales-task:last-child{border-bottom:0}.sales-task-list{padding:0 22px}.sales-task-date{width:125px;flex:none;font-size:12px}.sales-task-date strong,.sales-task-date span{display:block;line-height:1.7}.sales-task-date span{color:#66776b}.sales-task-date.overdue strong{color:#9b4636}.sales-task-copy{flex:1;min-width:0}.sales-task-copy>strong{display:block;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.sales-task-copy>span,.sales-task-copy>small{display:block;color:#66776b;font-size:12px;margin-top:5px;line-height:1.5}.sales-task-copy .text-button{font-size:12px;text-align:left}.sales-task-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.sales-task.is-done .sales-task-copy>strong{color:#66776b}.sales-task.is-done .sales-task-date strong{color:var(--green)}
.sales-detail{padding:24px 32px 30px;font-size:14px;line-height:1.6}.sales-detail-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 25px}.sales-detail-actions .button{font-size:12px}.sales-description{white-space:pre-wrap;overflow-wrap:anywhere;margin:16px 0;max-width:75ch;color:#4e6357}.sales-section{margin-top:27px;padding-top:20px;border-top:1px solid var(--line)}.sales-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.sales-section h3,.sales-history h3{font-size:16px}.sales-contact{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0}.sales-contact strong,.sales-contact span{display:block;overflow-wrap:anywhere}.sales-contact span{font-size:13px;color:#66776b;line-height:1.65}.sales-linked{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line)}.sales-linked:last-child{border-bottom:0}.sales-linked .text-button{text-align:left;font-size:14px}.sales-linked>span{font-size:12px;color:#66776b;flex:none}.sales-stage-strip{display:flex;gap:6px;margin-bottom:20px;flex-wrap:wrap}.sales-stage-strip>span{padding:7px 12px;background:#f0f3f0;font-size:12px;border-radius:4px;color:#66776b}.sales-stage-strip>span.current{background:#dce9df;color:#174b40;font-weight:600}.sales-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;padding-bottom:20px;border-bottom:1px solid var(--line)}.sales-facts dt{font-size:12px;color:#66776b}.sales-facts dd{margin:7px 0 0;font-size:14px;overflow-wrap:anywhere}.sales-facts small{display:block;margin-top:4px;font-size:12px;color:#66776b}.sales-history{margin-top:30px}.sales-history article{border-left:2px solid #d6e3d9;padding:0 0 22px 17px;margin:20px 0 0 2px}.sales-history article>div{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.sales-history article strong{font-size:13px}.sales-history article span{font-size:11px;color:#66776b}.sales-history article p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;margin-top:8px;line-height:1.7}
.sales-form .field{font-size:13px}.sales-form input,.sales-form select,.sales-form textarea{font-size:14px}.sales-form textarea{font:inherit;line-height:1.6;padding:11px 12px;border:1px solid #dce4de;border-radius:5px;resize:vertical;width:100%;color:#24362f;background:#fff;margin-top:8px}.sales-form textarea:focus-visible{outline:3px solid #78a69a;outline-offset:3px}.sales-form .field-hint{line-height:1.7;font-size:12px}
.sidebar{overflow-y:auto}.sidebar-bottom{padding-top:26px}.sidebar-bottom .paper-stack,.sidebar-bottom>p{display:none}
@media(max-width:1200px){.sales-board{gap:10px}.sales-deal{padding-top:13px}.sales-deal>strong{font-size:14px}.sales-column-heading h2{font-size:13px}}
@media(max-width:760px){.sales-board{grid-template-columns:1fr 1fr;gap:24px 14px}.sales-toolbar .tabs{overflow-x:auto;justify-content:flex-start;gap:9px}.sales-toolbar .tab{font-size:12px;white-space:nowrap}.sales-filters{width:100%;flex-wrap:nowrap}.sales-filters .search{flex:1;min-width:100px}.sales-filters .search input{width:100%}.sales-filters select{max-width:45%}.sales-summary{flex-wrap:wrap;font-size:13px}.sales-summary>span{width:100%;margin:0;font-size:12px}.sales-detail{padding:20px 18px}.sales-facts{grid-template-columns:1fr 1fr}.sales-task{gap:12px;flex-wrap:wrap}.sales-task-date{width:103px}.sales-task-actions{width:100%;justify-content:flex-end}.sales-task-list{padding:0 16px}.sales-task-copy>strong{font-size:13px}.sales-linked{align-items:flex-start}.sales-linked>span{max-width:100px;text-align:right}.sales-detail-actions .button{flex-grow:1}.sidebar{overflow:visible}.sidebar nav{scrollbar-width:thin}.nav-item:focus-visible{outline-offset:-3px}}
@media(max-width:460px){.sales-board{grid-template-columns:1fr}.sales-column-heading h2{font-size:15px}.sales-deal>strong{font-size:15px}.sales-empty-column{padding:0 2px 12px}.sales-facts{grid-template-columns:1fr}.sales-contact{align-items:flex-start}.sales-contact .text-button{font-size:12px}}
