.parent-company-settings{padding-bottom:36px}.company-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0;display:grid}.company-cards>button{border:1px solid var(--border);text-align:left;background:#fff;border-radius:8px;grid-template-columns:24px 1fr;gap:5px 9px;padding:14px;display:grid}.company-cards>button small,.company-cards>button span{color:var(--muted);grid-column:2;font-size:11px}.company-cards>button.active{border-color:var(--blue);background:var(--blue-soft)}.company-tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:4px;margin-bottom:18px;display:flex}.company-tabs button{background:0 0;border-bottom:2px solid #0000;padding:10px 12px}.company-tabs button.active{color:var(--blue);border-color:var(--blue)}.company-form fieldset,.purchase-composer fieldset{border:0;min-width:0;margin:0;padding:0}.company-form label,.purchase-composer label{color:var(--muted);flex-direction:column;gap:7px;margin:0 0 14px;font-size:12px;display:flex}.company-form input,.company-form select,.company-form textarea,.purchase-composer input,.purchase-composer select,.purchase-composer textarea{border:1px solid var(--border);width:100%;min-width:0;color:var(--text);font:inherit;background:#fff;border-radius:5px;padding:9px 10px}.company-form textarea,.purchase-composer textarea{resize:vertical;line-height:1.7}.company-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px;display:grid}.company-form .company-check{color:var(--text);flex-direction:row;align-items:center}.company-check input{width:auto}.company-muted{color:var(--muted);font-size:12px;line-height:1.7}.company-template-source{min-height:260px;font-family:monospace!important}.company-template-owner{border:1px solid var(--border);background:var(--blue-soft);border-radius:8px;gap:10px;margin-bottom:18px;padding:14px;display:flex}.company-template-owner p{color:var(--muted);margin:6px 0 0;font-size:12px;line-height:1.7}.company-template-tools{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}.company-template-variables{margin:12px 0 18px;font-size:12px}.company-template-variables p{flex-wrap:wrap;gap:8px;display:flex}.company-purchase-template>.secondary-button{margin-top:12px}.purchase-template-editor .purchase-template-import{margin-left:auto}.purchase-template-editor .template-visual-editor{overflow-wrap:anywhere;overflow:auto}.purchase-template-editor .template-visual-editor img{max-width:100%}.purchase-template-editor button:disabled{opacity:.5;cursor:not-allowed}.company-template-preview{border:1px solid var(--border);background:#fff;border-radius:6px;width:100%;height:370px;margin-top:12px}.company-mailbox{border:1px solid var(--border);border-radius:7px;align-items:center;gap:12px;margin:12px 0;padding:14px;display:flex}.company-mailbox>div{flex:1;min-width:0}.company-mailbox strong{overflow-wrap:anywhere}.company-mailbox p{color:var(--muted);margin:5px 0;font-size:11px}.company-mailbox>span{gap:6px;display:flex}.company-mailbox-actions{flex-wrap:wrap;gap:8px;display:flex}.company-inline-editor{border:1px solid var(--blue);border-radius:8px;margin-top:16px;padding:18px}.company-inline-editor>header{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.company-project-links{max-height:420px;margin-bottom:14px;overflow:auto}.company-project-links>label{border-bottom:1px solid var(--border);grid-template-columns:1fr 1fr;gap:12px;padding:10px 0;display:grid}.company-project-links small{color:var(--muted);margin-top:4px;font-size:11px;display:block}.company-project-links select{border:1px solid var(--border);background:#fff;border-radius:4px;min-width:0;max-width:100%;padding:7px}.purchase-layer{z-index:70;border:1px solid var(--border);background:var(--surface);border-radius:12px;flex-direction:column;display:flex;position:fixed;inset:16px;overflow:hidden;box-shadow:0 0 0 100vmax #10182866,0 16px 70px #0003}.purchase-top{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;min-height:48px;padding:10px 16px;display:flex}.purchase-top>div{align-items:center;gap:10px;display:flex}.purchase-top span{color:var(--muted);font-size:12px}.purchase-layout{flex:1;grid-template-columns:200px 320px minmax(0,1fr);min-height:0;display:grid}.purchase-nav{background:var(--surface-soft);border-right:1px solid var(--border);padding:10px 8px;overflow:auto}.purchase-nav>.primary-button{justify-content:center;width:100%;margin-bottom:10px}.purchase-company{text-align:left;background:0 0;border-radius:5px;gap:9px;width:100%;padding:9px 8px;display:flex}.purchase-company>span{min-width:0;font-weight:650}.purchase-company.active{color:var(--blue);background:var(--blue-soft)}.purchase-nav nav{padding:6px 0 10px 14px}.purchase-nav nav button{text-align:left;background:0 0;border-radius:4px;align-items:center;gap:7px;width:100%;padding:7px 8px;font-size:12px;display:flex}.purchase-nav nav button.active{color:var(--blue);background:#e5ecfa}.purchase-mailbox-select{border:1px solid var(--border);background:var(--surface);width:100%;min-width:0;color:var(--muted);text-overflow:ellipsis;border-radius:5px;margin:0 0 6px;padding:6px;font-size:11px}.purchase-inbox{border-right:1px solid var(--border);flex-direction:column;min-width:0;min-height:0;display:flex}.purchase-list-toolbar{flex-shrink:0;position:relative}.purchase-list-toolbar>header{justify-content:space-between;align-items:center;gap:6px;padding:10px 12px;display:flex}.purchase-list-toolbar>header>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;overflow:hidden}.purchase-sync-controls{flex-shrink:0;align-items:center;gap:3px;display:flex}.purchase-sync-trigger{position:relative}.purchase-sync-trigger.has-error{color:#b42318;border-color:#e19b94}.purchase-sync-trigger.has-error i{background:#d92d20;border-radius:50%;width:5px;height:5px;position:absolute;top:2px;right:2px}.purchase-sync-announcement{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.purchase-filters{border-bottom:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 12px 10px;display:grid}.purchase-filters>label{order:-1;grid-column:1/-1}.purchase-filters>select:last-child:nth-of-type(3){grid-column:1/-1}.purchase-sync-status{background:#f3f7ff;border:1px solid #cbdcf5;border-radius:6px;flex-shrink:0;max-height:190px;margin:0 12px 12px;padding:10px;font-size:11px;overflow:auto}.purchase-sync-status>strong,.purchase-sync-status small{display:block}.purchase-sync-status small{color:var(--muted);margin-top:4px}.purchase-sync-status>div{overflow-wrap:anywhere;margin-top:8px}.purchase-sync-status p{overflow-wrap:anywhere;color:#b42318;margin:6px 0 0}.purchase-sync-status.has-error{background:#fff5f4;border-color:#f5b6b0}.purchase-filters>select,.purchase-thread-meta select{border:1px solid var(--border);background:#fff;border-radius:5px;min-width:0;max-width:100%;padding:7px;font-size:12px}.purchase-filters>label{border:1px solid var(--border);border-radius:5px;align-items:center;gap:6px;width:100%;padding:7px;display:flex}.purchase-filters input{border:0;outline:none;width:100%;min-width:0;font-size:12px}.purchase-thread-list{flex:1;min-height:0;overflow:auto}.purchase-thread-list>button{border-bottom:1px solid var(--border);text-align:left;background:#fff;width:100%;padding:11px 12px;display:block}.purchase-thread-list>button.active{background:var(--blue-soft);box-shadow:inset 3px 0 var(--blue)}.purchase-thread-list>button strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.purchase-thread-list>button small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.purchase-thread-list>button p{-webkit-line-clamp:2;color:var(--muted);-webkit-box-orient:vertical;margin:6px 0;font-size:11px;line-height:1.6;display:-webkit-box;overflow:hidden}.purchase-thread-list>footer{color:var(--muted);justify-content:space-between;padding:12px;font-size:11px;display:flex}.purchase-reader{background:#fafbfc;min-width:0;padding:20px;overflow:auto}.purchase-reader>header h2{overflow-wrap:anywhere;margin-top:0;font-size:19px}.purchase-reader-actions{flex-wrap:wrap;gap:8px;display:flex}.purchase-thread-meta{flex-wrap:wrap;gap:12px;margin:18px 0;display:flex}.purchase-thread-meta label{color:var(--muted);flex-direction:column;gap:5px;font-size:11px;display:flex}.purchase-messages article{border:1px solid var(--border);background:#fff;border-radius:8px;margin-bottom:12px;padding:16px}.purchase-messages article header{overflow-wrap:anywhere;flex-wrap:wrap;gap:6px;font-size:12px;display:flex}.purchase-messages article header small{width:100%;color:var(--muted);font-size:10px}.purchase-messages iframe{border:0;width:100%;height:360px}.purchase-messages pre{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.8 inherit}.purchase-notes h3{font-size:14px}.purchase-notes p{overflow-wrap:anywhere;font-size:12px}.purchase-notes form{gap:7px;display:flex}.purchase-notes input{border:1px solid var(--border);border-radius:5px;flex:1;min-width:0;padding:9px}.purchase-composer-layer{z-index:75;background:#17202a70;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.purchase-composer{background:#fff;border-radius:10px;flex-direction:column;width:min(780px,100%);max-height:94dvh;display:flex;box-shadow:0 16px 60px #0003}.purchase-composer>header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.purchase-composer>header small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.purchase-composer>form{padding:18px 22px;overflow:auto}.purchase-composer footer,.purchase-compose-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.purchase-compose-tools{gap:10px 12px;padding:14px 0 6px}.purchase-composer footer{border-top:1px solid var(--border);justify-content:flex-end;margin-top:18px;padding-top:14px}.purchase-compose-tools small{color:var(--muted);font-size:11px}.purchase-layer button:disabled,.company-form button:disabled{opacity:.5;cursor:not-allowed}@media (max-width:1050px){.purchase-layout{grid-template-columns:175px 260px minmax(0,1fr)}.purchase-reader{padding:12px}.purchase-top span{display:none}}@media (max-width:760px){.purchase-layer{border-radius:0;inset:0}.purchase-layout{grid-template-columns:150px minmax(0,1fr);overflow:auto}.purchase-reader{grid-column:1/-1;min-height:400px;overflow:visible}.purchase-nav,.purchase-inbox{max-height:48dvh}.company-form-grid{grid-template-columns:1fr}.company-mailbox{flex-wrap:wrap}.company-project-links>label,.company-cards{grid-template-columns:1fr}}.purchase-sync-status>.secondary-button{margin-top:8px}.purchase-sync-history-backdrop{z-index:300;background:#10182866;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.purchase-sync-history{background:var(--surface,#fff);border-radius:12px;width:min(640px,100%);max-height:85dvh;padding:20px;overflow:auto;box-shadow:0 12px 40px #10182833}.purchase-sync-history>header,.purchase-sync-history>footer{justify-content:space-between;align-items:center;gap:12px;display:flex}.purchase-sync-history .purchase-sync-status{max-height:none;margin:12px 0;font-size:13px}.purchase-sync-popover.purchase-sync-status{z-index:5;background:var(--surface);max-height:min(380px,60dvh);margin:0;position:absolute;top:calc(100% - 4px);left:8px;right:8px;box-shadow:0 8px 24px #10182826}.purchase-sync-popover>header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.purchase-sync-popover>header .icon-button{width:24px;height:24px;padding:3px}.searchable-select{min-width:0;position:relative}.searchable-select-trigger{border:1px solid var(--border);width:100%;color:var(--text);text-align:left;background:#fff;border-radius:5px;justify-content:space-between;align-items:center;gap:6px;padding:7px;font-size:12px;display:flex}.searchable-select-trigger>span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.searchable-select-trigger>svg{flex-shrink:0}.searchable-select-popup{z-index:25;border:1px solid var(--border);background:#fff;border-radius:7px;width:max(100%,230px);max-width:calc(100vw - 40px);padding:5px;position:absolute;top:calc(100% + 5px);left:0;box-shadow:0 8px 24px #10182826}.searchable-select-search{border-bottom:1px solid var(--border);align-items:center;gap:5px;padding:5px;display:flex}.searchable-select .searchable-select-search input{border:0;border-radius:0;outline:none;width:100%;min-width:0;margin:0;padding:3px;font-size:12px}.searchable-select [role=listbox]{max-height:240px;padding-top:4px;overflow:auto}.searchable-select [role=option]{text-align:left;width:100%;color:var(--text);background:#fff;border-radius:4px;justify-content:space-between;align-items:center;gap:8px;padding:8px;font-size:12px;display:flex}.searchable-select [role=option] span{overflow-wrap:anywhere}.searchable-select [role=option].active{background:var(--blue-soft);color:var(--blue)}.searchable-select [role=listbox] p{color:var(--muted);padding:8px;font-size:12px}.purchase-reader{padding:12px 16px}.purchase-reader>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;display:flex}.purchase-reader>header h2{flex:1;min-width:160px;margin:0;font-size:17px;line-height:1.4}.purchase-reader-actions .primary-button,.purchase-reader-actions .secondary-button{padding:6px 9px;font-size:12px}.purchase-thread-meta{gap:8px 14px;margin:10px 0}.purchase-thread-meta label{flex-direction:row;align-items:center;gap:6px}.purchase-thread-meta .searchable-select{width:180px}.purchase-thread-meta select,.purchase-thread-meta .searchable-select-trigger{padding:5px 7px}.purchase-messages article{padding:12px}.purchase-messages article header{align-items:center}.purchase-messages article header small{width:auto;margin-left:auto}.purchase-messages article>.company-muted{margin:5px 0 8px}.purchase-composer{width:min(900px,100%)}.purchase-composer>header{padding:12px 16px}.purchase-composer>header>div{flex-wrap:wrap;align-items:baseline;gap:6px 12px;display:flex}.purchase-composer>header small{margin:0;font-size:11px}.purchase-composer>form{padding:12px 16px}.purchase-compose-fields{gap:6px 16px}.purchase-composer .purchase-compose-fields label,.purchase-composer .purchase-compose-line{white-space:nowrap;flex-direction:row;align-items:center;gap:8px;margin-bottom:6px}.purchase-compose-fields label>input,.purchase-compose-fields label>select,.purchase-compose-fields label>.searchable-select{flex:1;width:0;min-width:0}.purchase-compose-fields input,.purchase-compose-fields select,.purchase-compose-line input,.purchase-compose-fields .searchable-select-trigger{padding:6px 8px}.purchase-composer .purchase-compose-line>input{flex:1;min-width:0}.purchase-cc-toggle,.purchase-body-heading button{color:var(--blue);background:0 0;padding:4px 0;font-size:11px}.purchase-cc-toggle{margin:0 0 4px auto;display:block}.purchase-body-heading{color:var(--muted);justify-content:space-between;align-items:center;margin:4px 0;font-size:12px;display:flex}.purchase-html-editor{white-space:normal;overflow-wrap:anywhere;outline:none;min-height:230px;max-height:42dvh;padding:12px;font:13px/1.7 Arial,sans-serif;overflow:auto}.purchase-html-editor:empty:before{content:attr(data-placeholder);color:var(--muted);pointer-events:none}.purchase-html-editor img{max-width:100%}.purchase-html-editor p{margin:0 0 8px}.purchase-composer .rich-mail-toolbar{padding:5px 8px}.purchase-composer .rich-mail-toolbar .icon-button{width:28px;height:28px}.purchase-composer .purchase-plain-editor{min-height:230px;max-height:42dvh}.purchase-composer footer{margin-top:10px;padding-top:10px}@media (max-width:760px){.purchase-thread-meta .searchable-select{width:150px}.purchase-reader{padding:10px}.purchase-compose-fields{grid-template-columns:1fr}.purchase-html-editor{min-height:180px}}.purchase-composer .rich-mail-editor{border:1px solid var(--border);border-radius:6px;overflow:hidden}.purchase-filters>.purchase-filter-toggle{border:1px solid var(--border);color:var(--muted);background:#fff;border-radius:5px;justify-content:center;align-items:center;gap:5px;padding:6px 8px;font-size:12px;display:flex}.purchase-filter-toggle.active{color:var(--blue)}.purchase-advanced-filters,.purchase-batch{border-bottom:1px solid var(--border);background:#f8faff;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px 12px;font-size:11px;display:grid}.purchase-advanced-filters label{align-items:center;gap:4px;min-width:0;display:flex}.purchase-advanced-filters input[type=date]{width:100%;min-width:0}.purchase-advanced-filters select,.purchase-advanced-filters input[type=date],.purchase-batch select{border:1px solid var(--border);background:#fff;border-radius:4px;min-width:0;padding:6px;font-size:11px}.purchase-advanced-filters button,.purchase-batch>button,.purchase-thread-list>footer button{color:var(--blue);background:0 0;font-size:11px}.purchase-list-row,.purchase-draft-row{border-bottom:1px solid var(--border);background:#fff;align-items:flex-start;gap:5px;padding:10px 8px;display:flex}.purchase-list-row.active{background:var(--blue-soft);box-shadow:inset 3px 0 var(--blue)}.purchase-list-row.is-new .purchase-row-sender strong{color:var(--blue)}.purchase-list-row>input{width:12px;margin:4px 0}.purchase-list-row>.icon-button,.purchase-draft-row>.icon-button{flex-shrink:0;width:22px;height:24px;padding:3px}.purchase-row-main,.purchase-draft-row>button:first-child{text-align:left;min-width:0;color:var(--text);background:0 0;flex:1;padding:0 2px}.purchase-row-main>strong,.purchase-draft-row strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;display:block;overflow:hidden}.purchase-row-main p,.purchase-draft-row p{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;margin:5px 0;font-size:11px;overflow:hidden}.purchase-row-main small,.purchase-draft-row small{color:var(--muted);margin-top:4px;font-size:10px;display:block}.purchase-row-sender{justify-content:space-between;align-items:center;gap:6px;margin-bottom:5px;display:flex}.purchase-row-sender strong{white-space:nowrap;text-overflow:ellipsis;min-width:0;font-size:12px;overflow:hidden}.purchase-row-sender time{color:var(--muted);flex-shrink:0;font-size:9px}.purchase-row-badges{color:var(--muted);align-items:center;gap:7px;margin-top:5px;font-size:10px;display:flex}.purchase-row-badges em{color:var(--blue);font-style:normal}.purchase-row-badges>span{align-items:center;gap:3px;display:inline-flex}.is-starred{color:#b67e00}.purchase-message-content{margin-top:10px}.purchase-quote-toggle{color:var(--muted);background:#f4f6f8;border-radius:4px;margin:8px 0;padding:5px 8px;font-size:11px}.purchase-notes p small{color:var(--muted);margin-left:10px;font-size:10px}.purchase-inline-composer{margin-top:14px}.purchase-inline-composer .purchase-composer{border:1px solid var(--border);width:100%;max-height:none;box-shadow:none}.purchase-inline-composer .purchase-compose-fields{grid-template-columns:1fr}.purchase-editor-actions{gap:5px;display:flex}.purchase-recipient-source{color:var(--muted);overflow-wrap:anywhere;margin:4px 0;font-size:11px}.purchase-thread-list>footer{align-items:center;gap:8px}.purchase-sync-spin{animation:1s linear infinite purchase-sync-spin}@keyframes purchase-sync-spin{to{transform:rotate(360deg)}}.purchase-history-modal{width:min(760px,100vw - 40px);max-height:min(720px,100dvh - 64px)}.purchase-history-caption,.purchase-history-pagination{color:var(--muted);background:var(--surface);justify-content:space-between;align-items:center;gap:12px;padding:10px 16px;font-size:10px;display:flex}.purchase-history-caption{border-bottom:1px solid var(--border)}.purchase-history-pagination{border-top:1px solid var(--border);flex-shrink:0}.purchase-history-pagination>div{gap:6px;display:flex}.purchase-history-pagination .secondary-button{min-height:28px;padding:4px 9px;font-size:10px}.purchase-history-row-summary{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-top:9px;font-size:10px;display:flex}.purchase-history-row-summary>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.purchase-history-row-summary b{color:var(--text)}.purchase-history-row-summary em{color:var(--red);font-style:normal}.purchase-history-row-summary button{color:var(--blue);background:0 0;flex-shrink:0;align-items:center;gap:3px;padding:3px 0 3px 6px;font-size:10px;display:inline-flex}.purchase-history-row-summary .is-expanded{transform:rotate(180deg)}.purchase-history-modal .sync-history-mailboxes{margin-top:8px}.purchase-history-row-actions{gap:8px;margin-top:8px;display:flex}.purchase-history-row-actions .sync-retry-failed{margin-top:0}.purchase-history-row-actions .secondary-button{gap:5px;min-height:28px;padding:4px 8px;font-size:10px}.purchase-progress-popover{z-index:5;width:min(420px,100vw - 48px);max-height:65dvh;position:absolute;top:calc(100% - 2px);right:8px;overflow:auto}.purchase-progress-mailboxes{max-height:260px;margin-top:8px;overflow-y:auto}.purchase-progress-footnote{color:var(--muted);margin:8px 0 0;font-size:9px;line-height:1.5}.purchase-sync-error{color:var(--red);overflow-wrap:anywhere;margin:10px 16px;font-size:11px}.purchase-progress-popover .purchase-sync-error{margin:8px 0 0}.purchase-progress-popover .sync-history-mailbox em,.purchase-history-modal .sync-history-mailbox em{white-space:normal;overflow-wrap:anywhere}@media (max-width:600px){.purchase-history-modal .sync-history-run-head{flex-wrap:wrap;gap:6px}.purchase-history-row-summary{flex-wrap:wrap;gap:4px}.purchase-history-modal .sync-history-mailbox{flex-wrap:wrap}.purchase-history-modal .sync-history-mailbox-state{min-width:80px}}.purchase-company .purchase-unread-count,.purchase-nav nav .purchase-unread-count{min-width:17px;color:var(--blue);text-align:center;background:#dce8ff;border-radius:9px;margin-left:auto;padding:1px 5px;font-size:10px;line-height:16px}.purchase-filter-anchor{z-index:4;flex-shrink:0;position:relative}.purchase-filters{grid-template-columns:minmax(0,1fr) 32px}.purchase-filters>.purchase-filter-toggle{padding:5px;position:relative}.purchase-filter-toggle b{background:var(--blue);color:#fff;border-radius:8px;min-width:14px;font-size:9px;position:absolute;top:-5px;right:-4px}.purchase-filter-anchor .purchase-advanced-filters{border:1px solid var(--border);background:var(--surface);border-radius:7px;gap:10px;width:min(370px,100vw - 40px);max-height:65dvh;padding:12px;position:absolute;top:calc(100% - 3px);left:10px;overflow:auto;box-shadow:0 8px 28px #1018282b}.purchase-advanced-filters>header,.purchase-advanced-filters>footer{grid-column:1/-1;justify-content:space-between;align-items:center;display:flex}.purchase-advanced-filters>header{margin-bottom:2px}.purchase-advanced-filters>footer{border-top:1px solid var(--border);padding-top:10px}.purchase-advanced-filters>footer .primary-button{color:#fff;background:var(--blue);min-height:28px;padding:5px 14px}.purchase-advanced-filters .purchase-date-filter{flex-direction:column;align-items:stretch;gap:5px;display:flex}.purchase-date-filter>span{white-space:nowrap;color:var(--muted);font-size:10px}.purchase-filter-chips{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:5px;padding:7px 12px;display:flex}.purchase-filter-chips button{color:var(--blue);background:var(--blue-soft);border-radius:4px;align-items:center;gap:4px;padding:3px 5px;font-size:10px;display:inline-flex}.purchase-list-meta{border-bottom:1px solid var(--border);min-height:34px;color:var(--muted);flex-shrink:0;justify-content:space-between;align-items:center;padding:4px 10px;font-size:10px;display:flex}.purchase-list-meta>span{white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.purchase-list-meta input{width:13px;height:13px;accent-color:var(--blue);margin:0}.purchase-selection-actions{align-items:center;gap:2px;display:flex}.purchase-selection-actions .icon-button{width:25px;height:25px;padding:4px}.purchase-list-row{padding-right:29px;position:relative}.purchase-list-row.is-selected{background:#edf3ff}.purchase-list-row.is-read .purchase-row-main>strong,.purchase-list-row.is-read .purchase-row-sender strong{font-weight:500}.purchase-list-row.is-new .purchase-row-main>strong{font-weight:700}.purchase-unread-dot{background:var(--blue);vertical-align:middle;border-radius:50%;width:6px;height:6px;margin-right:5px;display:inline-block}.purchase-list-row>.icon-button:not(.purchase-row-more){position:absolute;top:8px;right:5px}.purchase-list-row>.purchase-row-more{opacity:0;position:absolute;bottom:7px;right:5px}.purchase-list-row:hover>.purchase-row-more,.purchase-list-row:focus-within>.purchase-row-more{opacity:1}.purchase-loading{color:var(--muted);justify-content:center;align-items:center;gap:6px;padding:16px;font-size:11px;display:flex}.purchase-load-error{color:var(--red);padding:12px;font-size:11px}.purchase-load-error button{color:var(--blue);background:0 0;margin-left:8px}.purchase-thread-list>footer{gap:6px;font-size:10px}.purchase-thread-list>footer .secondary-button{white-space:nowrap;align-items:center;gap:4px;padding:5px 7px;font-size:10px;display:inline-flex}.purchase-action-menu{z-index:350;background:var(--surface,white);border:1px solid var(--border);border-radius:7px;width:244px;max-height:calc(100dvh - 24px);padding:5px;position:fixed;overflow-y:auto;box-shadow:0 10px 32px #10182833}.purchase-action-menu>header{color:var(--muted);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding:4px 7px 7px;font-size:10px;display:flex}.purchase-action-menu>header button{color:var(--muted);background:0 0;padding:2px}.purchase-action-menu>button{width:100%;color:var(--text);text-align:left;background:0 0;border-radius:4px;align-items:center;gap:8px;padding:8px 9px;font-size:11px;display:flex}.purchase-action-menu>button:hover,.purchase-action-menu>button:focus-visible{background:var(--blue-soft);color:var(--blue)}.purchase-action-menu>button.danger{color:var(--red)}.purchase-menu-fields{background:var(--surface-soft);gap:8px;padding:8px;display:grid}.purchase-menu-fields>label{color:var(--muted);justify-content:space-between;align-items:center;gap:5px;font-size:10px;display:flex}.purchase-menu-fields select{border:1px solid var(--border);background:var(--surface);border-radius:4px;min-width:0;padding:5px;font-size:11px}.purchase-menu-fields .searchable-select-popup{max-height:180px;position:relative;top:auto}@media (hover:none){.purchase-list-row>.purchase-row-more{opacity:1}}.purchase-date-range{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.purchase-advanced-filters>select{align-self:center}.purchase-company-row{align-items:center;gap:3px;display:flex}.purchase-company-row .purchase-company{flex:1;min-width:0}.purchase-company-row>.purchase-unread-count{color:#fff;background:var(--blue);border-radius:4px;min-width:19px;margin-right:5px;padding:1px 5px;font-size:10px;line-height:17px}.purchase-company-row>.purchase-unread-count:hover{background:#194ddb}.purchase-composer{container-type:inline-size}.purchase-compose-context{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px 16px;margin-bottom:10px;padding-bottom:8px;display:grid}.purchase-composer .purchase-compose-context>label{flex-direction:row;align-items:center;gap:8px;min-width:0;margin:0;font-size:11px;display:flex}.purchase-compose-context>label>span{white-space:nowrap;flex-shrink:0}.purchase-compose-context .purchase-context-value{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-size:11px;font-weight:500;overflow:hidden}.purchase-compose-context .searchable-select,.purchase-compose-context select{flex:1;width:0;min-width:0}.purchase-compose-context select,.purchase-compose-context .searchable-select-trigger{padding:5px 7px;font-size:11px}.purchase-recipient-row{align-items:center;gap:10px;margin-bottom:7px;display:flex}.purchase-recipient-row>label{flex:1;min-width:0}.purchase-recipient-row .purchase-cc-toggle{white-space:nowrap;flex-shrink:0;margin:0;padding:5px 0}.purchase-composer .purchase-recipient-row>label{margin-bottom:0}.purchase-composer .purchase-compose-line>span{flex:0 0 42px;width:42px}.purchase-composer .purchase-subject-line{margin-bottom:7px}@container (max-width:520px){.purchase-compose-context{grid-template-columns:minmax(0,1fr);gap:7px}.purchase-recipient-row{flex-wrap:wrap;gap:2px}.purchase-recipient-row>label{flex-basis:100%}.purchase-recipient-row .purchase-cc-toggle{margin-left:auto}}.purchase-conversation{margin:12px 0 18px;container-type:inline-size}.purchase-conversation-toolbar{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.purchase-conversation-toolbar strong{font-size:12px}.purchase-conversation-toolbar small{color:var(--muted);margin-left:6px;font-weight:400}.purchase-conversation .message-inbox{margin-right:24px}.purchase-conversation .message-sent{margin-left:24px}.purchase-conversation-head{text-align:left;cursor:pointer;grid-template-columns:32px minmax(0,1fr) auto auto 15px;align-items:center;gap:5px 9px;width:100%;min-height:62px;padding:10px 12px;display:grid}.purchase-conversation-head:hover{filter:brightness(.985)}.purchase-conversation-head:focus-visible{outline:2px solid var(--blue);outline-offset:-3px}.purchase-conversation .message-head .avatar{color:#fff;width:32px;height:32px;font-size:10px}.purchase-conversation-sender{flex-direction:column;gap:2px;min-width:0;display:flex}.purchase-conversation-sender strong{color:var(--text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.purchase-conversation-head>svg{color:var(--muted)}.purchase-conversation .message-head .purchase-conversation-preview{grid-column:2/-1;align-items:center;gap:5px;margin-top:3px;font-size:12px;display:flex}.purchase-conversation-preview svg{flex-shrink:0}.purchase-conversation .is-collapsed .message-head{border-bottom:0}.purchase-conversation-meta{color:var(--muted);overflow-wrap:anywhere;flex-wrap:wrap;gap:4px 14px;padding:9px 14px 0;font-size:11px;display:flex}.purchase-conversation-meta .message-operator{color:#1756ca;margin-left:auto}.purchase-conversation-meta details{width:100%}.purchase-conversation-meta summary{cursor:pointer;width:fit-content}.purchase-conversation-meta details div{margin-top:4px}.purchase-conversation .purchase-message-content{margin:0;padding:12px 14px 14px}.purchase-conversation .purchase-message-content pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-family:Arial,PingFang SC,sans-serif;font-size:13px;line-height:1.7}@container (max-width:580px){.purchase-conversation .message-inbox{margin-right:10px}.purchase-conversation .message-sent{margin-left:10px}.purchase-conversation-head{grid-template-columns:28px minmax(0,1fr) auto 15px;gap:5px 7px}.purchase-conversation .message-head .avatar{width:28px;height:28px}.purchase-conversation-head time{grid-area:2/2/auto/4;margin:0}.purchase-conversation-head>svg{grid-area:1/4}}.purchase-template-actions{align-items:center;gap:12px;display:flex}.purchase-template-actions .switch{flex:0 0 32px;margin:0}.purchase-single-message>.message{background:0 0;border:0;border-radius:0}.purchase-single-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:5px 14px;padding:10px 0 0;display:flex}.purchase-single-head>div{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:4px 9px;min-width:0;display:flex}.purchase-single-head strong{font-size:13px}.purchase-single-head span,.purchase-single-head time{color:var(--muted);font-size:11px}.purchase-single-message .purchase-conversation-meta{border-bottom:1px solid var(--border);padding:5px 0 12px}.purchase-single-message .purchase-message-content{padding:14px 0}.purchase-list-tags.thread-tags{flex-wrap:wrap;gap:5px;height:auto;margin-top:7px;overflow:visible}.purchase-list-tags.thread-tags em{border-style:solid;border-width:1px;gap:4px;height:21px;padding:0 6px;font-size:10px;line-height:19px}.purchase-list-tags em>svg{flex-shrink:0}.purchase-list-tags em>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.purchase-list-tags .purchase-project-tag{color:#5b3695;background:#f0e7ff;border-color:#d8c5f4;max-width:125px}.purchase-list-tags .purchase-project-tag.unassigned{color:#805215;background:#fff4dd;border-style:dashed;border-color:#eacb8b}.purchase-list-tags .purchase-assignee-tag{color:#475569;background:#eef1f5;border-color:#cfd6e0;max-width:100px}.purchase-list-tags.thread-tags .status.pending,.purchase-list-tags.thread-tags .high{color:#8b4d09;background:#fff0cb;border-color:#e8c478}.purchase-list-tags.thread-tags .status.progress{color:#194fb5;background:#dce9ff;border-color:#9bbcf3}.purchase-list-tags.thread-tags .status.done{color:#086748;background:#dff5e9;border-color:#9bd3b7}.purchase-list-tags.thread-tags .urgent{color:#af2525;background:#ffe3e3;border-color:#eeacac}.purchase-list-tags.thread-tags .low{color:#526071;background:#eef1f5;border-color:#cfd6e0}.purchase-list-tags .status>i{background:currentColor;border-radius:50%;width:5px;height:5px}.purchase-row-badges:empty{display:none}.workbench{flex-direction:column;width:100%;height:100dvh;display:flex;overflow:hidden}.workspace-mode-bar{border-bottom:1px solid var(--border);background:var(--surface);z-index:25;flex:0 0 44px;align-items:center;gap:8px;padding:0 12px;display:flex}.workspace-mode-bar nav{align-items:center;gap:3px;min-width:0;display:flex;overflow-x:auto}.workspace-mode-bar nav button{white-space:nowrap;color:var(--muted);background:0 0;border-radius:5px;flex-shrink:0;align-items:center;gap:6px;padding:6px 12px;font-size:12px;font-weight:650;display:flex}.workspace-mode-bar nav button[aria-disabled=true]{cursor:default}.workspace-mode-bar nav button[aria-current=page]{color:#1756ca;background:#e3edff}.workspace-mode-tools{flex-shrink:0;gap:5px;display:flex}.workspace-current-project{color:#1756ca;background:#e3edff;border:0;border-radius:5px;flex-shrink:1;align-items:center;gap:8px;min-width:0;max-width:340px;margin-left:auto;padding:6px 12px;display:flex}.workspace-current-project>svg{flex-shrink:0}.workspace-current-project>span{color:#526988;white-space:nowrap;font-size:11px}.workspace-current-project>strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:700;line-height:20px;overflow:hidden}.workspace-return-project{color:var(--muted);background:0 0;align-items:center;gap:4px;min-width:0;font-size:11px;display:flex}.workspace-return-project span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.workspace-surface{flex:1;min-height:0;overflow:hidden}.workspace-surface[hidden]{display:none!important}.workspace-surface>.workspace-shell{width:100%;height:100%}.purchase-workbench.purchase-layer{z-index:auto;width:100%;height:100%;box-shadow:none;border:0;border-radius:0;position:relative;inset:auto}.purchase-workbench .purchase-layout{grid-template-columns:220px 360px minmax(0,1fr)}.workspace-surface.navigation-collapsed .workspace-shell{grid-template-columns:390px minmax(0,1fr)}.workspace-surface.navigation-collapsed .workspace-shell>.sidebar,.workspace-surface.navigation-collapsed .purchase-nav{display:none}.workspace-surface.navigation-collapsed .purchase-layout{grid-template-columns:360px minmax(0,1fr)}.workspace-surface.reader-focused .workspace-shell,.workspace-surface.reader-focused .purchase-layout{grid-template-columns:minmax(0,1fr)}.workspace-surface.reader-focused .workspace-shell>.sidebar,.workspace-surface.reader-focused .workspace-shell>.mail-list-panel,.workspace-surface.reader-focused .purchase-nav,.workspace-surface.reader-focused .purchase-inbox{display:none}.workspace-surface.reader-focused .reader-panel,.workspace-surface.reader-focused .purchase-reader{grid-column:1;min-width:0}.workbench .purchase-composer-layer{top:44px}@media (max-width:1100px){.purchase-workbench .purchase-layout{grid-template-columns:180px 300px minmax(0,1fr)}.workspace-surface.navigation-collapsed .purchase-layout{grid-template-columns:300px minmax(0,1fr)}.workspace-surface>.workspace-shell{grid-template-columns:200px 320px minmax(0,1fr)}}@media (max-width:760px){.workspace-mode-bar{gap:4px;padding:0 6px}.workspace-mode-bar nav{flex:1;min-width:0;overflow-x:auto}.workspace-mode-bar nav button{flex-shrink:0}.workspace-current-project{flex-shrink:0;gap:5px;max-width:145px;padding:5px 7px}.workspace-current-project>span{display:none}.workspace-current-project>strong{font-size:12px}.workspace-mode-bar nav button{padding:6px 8px}.workspace-return-project span{display:none}.purchase-workbench .purchase-layout{grid-template-columns:140px minmax(0,1fr)}.workspace-surface.navigation-collapsed .purchase-layout,.workspace-surface.reader-focused .purchase-layout{grid-template-columns:minmax(0,1fr)}.workspace-surface.reader-focused .purchase-reader{height:100%;min-height:0;overflow:auto}.workspace-surface>.workspace-shell,.workspace-surface.navigation-collapsed .workspace-shell{grid-template-columns:minmax(0,1fr)}.workspace-surface.reader-focused .reader-panel{width:100%;height:100%;display:flex;position:relative;inset:auto}}.workbench .reply-composer-expanded,.workbench .compose-modal-layer{top:44px}.workbench .reply-composer-expanded{height:calc(100dvh - 44px)}.purchase-mobile-back{display:none}@media (max-width:920px){.workspace-surface .workspace-shell>.sidebar{width:auto;box-shadow:none;position:relative;top:auto;bottom:auto;left:auto;transform:none}.workspace-surface .mobile-topbar,.workspace-surface .mobile-close{display:none}}@media (max-width:760px){.workspace-surface>.workspace-shell{grid-template-columns:150px minmax(0,1fr);display:grid}.workspace-surface .workspace-shell>.reader-panel{display:none;position:absolute;inset:44px 0 0;transform:none}.workspace-surface .workspace-shell>.reader-panel.mobile-open,.workspace-surface.reader-focused .workspace-shell>.reader-panel{display:flex}.purchase-workbench .purchase-layout{overflow:hidden}.purchase-workbench .purchase-nav,.purchase-workbench .purchase-inbox{max-height:none}.purchase-workbench:not(.has-detail) .purchase-reader{display:none}.purchase-workbench.has-detail .purchase-layout{grid-template-columns:minmax(0,1fr)}.purchase-workbench.has-detail .purchase-nav,.purchase-workbench.has-detail .purchase-inbox{display:none}.purchase-workbench.has-detail .purchase-reader{grid-column:1;height:100%;min-height:0;overflow:auto}.purchase-mobile-back{color:var(--blue);background:0 0;align-items:center;gap:5px;margin-bottom:12px;font-size:12px;display:flex}}.workspace-project-context{align-items:center;gap:4px;min-width:0;display:flex}.workspace-clear-project.icon-button{flex:0 0 24px;width:24px;height:24px}.workspace-clear-project:hover{color:var(--blue);background:var(--blue-soft)}.workbench .sidebar>.compose-button{flex-shrink:0;margin-top:12px}.purchase-reader>.purchase-detail-header{background:var(--surface);flex-direction:column;align-items:stretch;gap:0;margin:-12px -16px 0;display:flex}.purchase-detail-header .purchase-reader-actions{border-bottom:1px solid var(--border);order:-1;align-items:center;gap:4px;min-height:44px;padding:5px 16px}.purchase-detail-header .purchase-reader-actions .icon-button{width:28px;height:28px}.purchase-detail-header .purchase-reader-actions .toolbar-command{gap:6px;height:30px;margin-left:0;padding:0 7px;font-size:12px;font-weight:400}.purchase-detail-header .purchase-reader-actions .purchase-reply-command{color:var(--muted);box-shadow:none;background:0 0}.purchase-detail-header .purchase-reader-actions .purchase-reply-command:hover:not(:disabled){color:var(--text);background:var(--surface-soft)}.purchase-detail-header .purchase-reader-actions .quote-toolbar-command{color:#1d4ed8;background:0 0;border:0}.purchase-detail-header .purchase-reader-actions .quote-toolbar-command:hover{background:var(--blue-soft);border-color:var(--blue)}.purchase-detail-header .purchase-reader-actions .toolbar-command>svg{width:15px;height:15px}.purchase-detail-header .purchase-reader-actions>button:first-child{order:3;margin-left:0}.purchase-detail-header .purchase-reader-actions>button[aria-label=删除采购邮件]{color:var(--muted);order:4}.purchase-detail-header .purchase-reader-actions>button[aria-label=删除采购邮件]:hover{color:var(--red);background:var(--red-soft)}.workbench .purchase-reader>.purchase-detail-header h2{min-width:0;margin:0;padding:12px 16px 8px;line-height:1.35}.purchase-detail-header+.purchase-thread-meta{background:var(--surface);border-bottom:1px solid var(--border);gap:6px 8px;margin:0 -16px;padding:0 16px 8px}.purchase-detail-header+.purchase-thread-meta>label{border:1px solid var(--border);background:var(--surface);border-radius:5px;gap:4px;padding:2px 5px 2px 8px}.purchase-meta-label{white-space:nowrap;color:var(--muted);align-items:center;gap:4px;font-size:10px;display:inline-flex}.purchase-detail-header+.purchase-thread-meta .searchable-select{width:150px}.purchase-detail-header+.purchase-thread-meta :is(select,.searchable-select-trigger){background:0 0;border:0;padding:4px 5px;font-size:11px}.purchase-detail-header+.purchase-thread-meta .status-pending select{color:var(--amber)}.purchase-detail-header+.purchase-thread-meta .status-in_progress select{color:var(--blue)}.purchase-detail-header+.purchase-thread-meta .status-done select{color:var(--green)}.purchase-thread-meta+.purchase-single-message{margin-top:0}.purchase-single-head{align-items:center;gap:4px 12px;padding:12px 0 0}.purchase-single-message .purchase-conversation-meta{padding-top:4px;padding-bottom:10px}@media (max-width:760px){.purchase-reader>.purchase-detail-header{margin:-10px -10px 0}.purchase-detail-header+.purchase-thread-meta{margin:0 -10px;padding:0 10px 10px}.purchase-detail-header .purchase-reader-actions{padding:5px 10px}.workbench .purchase-reader>.purchase-detail-header h2{padding:12px 10px 8px}}.purchase-project-conversation .purchase-project-message-head{align-items:flex-start;gap:10px;min-height:66px;padding:13px 14px;display:flex}.purchase-project-conversation .purchase-project-message-head>div{flex:1;min-width:0}.purchase-project-conversation .purchase-project-message-head .avatar{flex:0 0 32px;width:32px;height:32px}.purchase-project-conversation .purchase-extra-addresses:empty{display:none}.purchase-project-conversation .purchase-extra-addresses{padding-top:6px}.purchase-project-conversation .message-inbox{margin-right:clamp(20px,3vw,48px)}.purchase-project-conversation .message-sent{margin-left:clamp(20px,3vw,48px)}.purchase-project-reply.reply-composer{margin:0 0 20px;overflow:hidden}.purchase-project-reply>fieldset{border:0;min-width:0;margin:0;padding:0}.purchase-project-reply .reply-head{gap:7px}.purchase-project-reply .reply-head>small{flex:0 auto}.purchase-project-reply .purchase-cc-toggle{margin:0;font-size:10px}.purchase-reply-template{color:var(--muted);font-size:10px}.purchase-project-reply .reply-html-editor,.purchase-project-reply textarea{min-height:150px}.purchase-project-reply .reply-footer{flex-wrap:wrap;gap:8px}.purchase-project-reply .reply-footer>div{flex-wrap:wrap;flex:1;min-width:0}.purchase-project-reply .reply-footer>.send-button{margin-left:auto}.purchase-project-reply.reply-composer-expanded{margin:0}.purchase-project-reply.reply-composer-expanded>fieldset{flex-direction:column;flex:1;min-height:0;display:flex;overflow:auto}.purchase-project-reply.reply-composer-expanded .rich-mail-editor{flex:1;min-height:180px}.purchase-project-reply.reply-composer-expanded .reply-html-editor{min-height:150px}.purchase-project-reply.reply-composer-expanded .reply-footer{margin-top:auto}@container (max-width:560px){.purchase-project-conversation .purchase-project-message-head{flex-wrap:wrap;gap:6px}.purchase-project-conversation .purchase-project-message-head>div{flex-basis:calc(100% - 50px)}.purchase-project-conversation .purchase-project-message-head .message-direction{margin-left:38px}.purchase-project-conversation .purchase-project-message-head>.icon-button{margin-left:auto}}.purchase-draft-row.active{background:#edf3ff;box-shadow:inset 3px 0 #2563eb}.purchase-file-section{border-top:1px solid #eef0f3;padding:12px 14px}.purchase-single-message .purchase-file-section{padding-inline:0}.purchase-file-heading{color:var(--muted);align-items:center;gap:6px;margin-bottom:8px;font-size:11px;font-weight:500;display:flex}.purchase-file-count{background:#edf1f6;border-radius:5px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:10px;display:grid}.purchase-file-grid{flex-wrap:wrap;gap:8px;display:flex}.purchase-file-card{border:1px solid var(--border);background:#fff;border-radius:7px;align-items:center;width:276px;min-width:0;max-width:100%;transition:border-color .15s,background .15s;display:flex}.purchase-file-card:hover,.purchase-file-card:focus-within{background:#f8faff;border-color:#a9c2fa}.purchase-file-download{min-width:0;color:var(--text);border-radius:6px;flex:1;align-items:center;gap:9px;padding:9px 10px;text-decoration:none;display:flex}.purchase-file-icon{color:#64748b;background:#f1f4f8;border-radius:6px;flex:0 0 34px;place-items:center;width:34px;height:38px;display:grid}.type-document .purchase-file-icon{color:#2563eb;background:#eaf1ff}.type-pdf .purchase-file-icon{color:#d34545;background:#fff0ef}.type-image .purchase-file-icon{color:#8057c8;background:#f3edff}.type-sheet .purchase-file-icon{color:#168567;background:#e8f7ef}.type-archive .purchase-file-icon{color:#aa7316;background:#fff5df}.purchase-file-info{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.purchase-file-info strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;line-height:1.3;display:block;overflow:hidden}.purchase-file-info small{color:var(--muted);align-items:center;gap:5px;font-size:10px;line-height:1.3;display:flex}.purchase-file-action{color:var(--muted);flex-shrink:0}.purchase-file-download:hover .purchase-file-action{color:var(--blue)}.purchase-file-remove{width:26px;height:26px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:4px;flex:0 0 26px;place-items:center;margin-right:6px;padding:0;display:grid}.purchase-file-remove:hover:not(:disabled){color:#d34545;background:#fff0ef}.purchase-file-remove:disabled{opacity:.45;cursor:default}.purchase-file-download:focus-visible,.purchase-file-remove:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.purchase-file-section.is-draft{background:#fafbfc;margin-top:8px;padding:10px 12px}.purchase-file-section.is-draft .purchase-file-card{width:260px}.purchase-file-section.is-draft .purchase-file-download{gap:7px;padding:7px 8px}.purchase-file-section.is-draft .purchase-file-icon{flex-basis:28px;width:28px;height:32px}@media (max-width:600px){.purchase-file-card,.purchase-file-section.is-draft .purchase-file-card{width:100%}}.searchable-select-portal{padding:6px;overflow:hidden}.searchable-select-portal [role=option]{white-space:normal;line-height:1.5}.searchable-select-portal [role=option] small{color:var(--muted);margin-top:2px;font-size:11px;display:block}.searchable-select-portal mark{color:inherit;background:#ffebac;border-radius:2px}.searchable-select-search>button{color:var(--muted);background:0 0;flex-shrink:0;padding:3px}.searchable-select-portal [aria-disabled=true]{opacity:.5;cursor:not-allowed}.compose-fields label>.searchable-select{flex:1;min-width:0}.compose-template-row>.searchable-select{flex:1;min-width:180px;max-width:380px}.service-settings-card{border:1px solid var(--border);background:var(--surface);border-radius:12px;max-width:720px;padding:20px}.service-settings-heading{align-items:center;gap:12px;margin-bottom:22px;display:flex}.service-settings-icon{color:#3264dc;background:#eef3ff;border-radius:10px;flex:none;place-items:center;width:42px;height:42px;display:grid}.service-settings-heading h4{margin:0;font-size:15px}.service-settings-heading p{color:var(--muted);margin:4px 0 0;font-size:12px}.service-settings-status{color:var(--muted);white-space:nowrap;background:#f1f4f8;border-radius:6px;align-items:center;gap:4px;margin-left:auto;padding:4px 8px;font-size:12px;display:flex}.service-settings-status.configured{color:#257751;background:#eaf7f0}.service-settings-label{align-items:center;gap:6px;margin-bottom:8px;font-size:13px;font-weight:500;display:flex}.service-settings-card input{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:100%;height:40px;color:var(--text);border-radius:8px;padding:0 12px;font-size:14px}.service-settings-card input:focus{outline-offset:1px;outline:2px solid #b7ccff}.service-settings-card input[aria-invalid=true]{border-color:#dc3545}.service-settings-hint{color:var(--muted);margin:8px 0 0;font-size:12px;line-height:1.6}.service-settings-actions{flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px;display:flex}.service-settings-actions .primary-button,.service-settings-actions .secondary-button{gap:6px;min-height:36px;padding:7px 12px;font-size:13px;text-decoration:none}.service-settings-actions .service-settings-hint{margin:0}.service-settings-note{border-top:1px solid var(--border);color:var(--muted);margin-top:20px;padding-top:14px;font-size:12px;line-height:1.7}@media (max-width:600px){.service-settings-card{padding:16px}.service-settings-heading{gap:8px}}.service-settings-card+.service-settings-card{margin-top:16px}.purchase-body-actions{align-items:center;gap:14px;display:flex}.purchase-reload-template{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.purchase-file-download{text-align:left;cursor:pointer;background:0 0;border:0}.purchase-file-save{color:#64748b;border-radius:5px;flex-shrink:0;place-items:center;width:28px;height:28px;margin-right:6px;display:grid}.purchase-file-save:hover{color:#2563eb;background:#eaf1ff}.purchase-file-save:focus-visible{outline-offset:2px;outline:2px solid #2563eb}.procurement-product-images{border-top:1px solid var(--line,#dfe6f0);margin-top:16px;padding-top:16px}.procurement-image-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.procurement-image-card{background:#fff;border:1px solid #dce3ef;border-radius:10px;min-width:0;padding:8px}.procurement-image-card.is-selected{background:#f3f7ff;border-color:#6794f8}.procurement-image-preview{color:#64748b;cursor:zoom-in;background:#fff;border:0;border-radius:6px;justify-content:center;align-items:center;width:100%;height:104px;font-size:11px;display:flex;position:relative;overflow:hidden}.procurement-image-preview img{object-fit:contain;width:100%;height:100%}.procurement-image-preview svg{background:#fff;border-radius:4px;position:absolute;bottom:5px;right:5px}.procurement-image-card label{flex-direction:row;align-items:center;gap:6px;margin-top:8px;font-size:12px;display:flex}.procurement-image-card input{flex-shrink:0;width:16px;height:16px}.procurement-image-card small{color:#718096;font-size:10px;font-weight:400;display:block}.procurement-image-card p{color:#718096;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:6px 0 0;font-size:10px;display:-webkit-box;overflow:hidden}.workspace-context-status{align-items:center;gap:12px;min-width:0;margin-left:auto;display:flex}.workspace-context-status .workspace-current-project{margin-left:0}.receive-plan-status{flex-shrink:0;position:relative}.receive-plan-trigger{color:#27765d;text-align:left;background:0 0;border-radius:7px;align-items:center;gap:8px;padding:3px 8px;display:flex}.receive-plan-trigger:hover,.receive-plan-trigger[aria-expanded=true]{background:#eef8f3}.receive-plan-trigger:focus-visible{outline-offset:2px;outline:2px solid #378f72}.receive-plan-trigger>span{gap:1px;display:grid}.receive-plan-trigger strong{font-size:11px;font-weight:650;line-height:16px}.receive-plan-trigger small{color:#64748b;white-space:nowrap;font-size:10px;line-height:14px}.receive-plan-details{border:1px solid var(--border);background:var(--surface);z-index:40;width:min(360px,100vw - 24px);color:var(--text);border-radius:12px;padding:15px;position:absolute;top:calc(100% + 9px);right:0;box-shadow:0 12px 36px #20355224}.receive-plan-details header{justify-content:space-between;align-items:center;font-size:14px;display:flex}.receive-plan-details>p{color:var(--muted);margin:4px 0 12px;font-size:11px}.receive-plan-detail-list{max-height:min(420px,55vh);overflow-y:auto}.receive-plan-detail-list article{overflow-wrap:anywhere;background:#f7fbf9;border:1px solid #e3eee8;border-radius:8px;gap:5px;margin-bottom:8px;padding:12px;font-size:11px;line-height:1.6;display:grid}.receive-plan-detail-list article>strong{color:#254f42;font-size:13px}.receive-plan-detail-list article>span{color:#64748b}.receive-plan-detail-list article>b{color:#27765d;margin-top:3px;font-weight:600}.receive-plan-details footer{color:var(--muted);border-top:1px solid var(--border);padding-top:10px;font-size:10px;line-height:1.7}.receive-plan-unavailable{color:var(--muted);font-size:11px}@media (max-width:1100px){.workspace-mode-bar{flex-wrap:wrap;flex-basis:auto;min-height:44px;padding-top:4px;padding-bottom:4px}.workspace-context-status{gap:5px}}@media (max-width:760px){.workspace-context-status{flex-basis:100%;order:3;justify-content:flex-end}.receive-plan-status{margin-right:auto}.receive-plan-details{left:0;right:auto}}.purchase-list-tags .supplier-reply-tag,.purchase-reply-state .supplier-reply-tag{color:#6d28d9;background:#ede9fe;border:1px solid #c4b5fd;border-radius:5px;flex-shrink:0;align-items:center;gap:4px;padding:3px 7px;font-size:11px;font-weight:700;line-height:1.4;display:inline-flex}.purchase-list-tags .supplier-reply-tag.unread,.purchase-reply-state .supplier-reply-tag.unread{color:#fff;background:#6d28d9;border-color:#6d28d9}.supplier-reply-tag .reply-unread-dot{background:currentColor;border-radius:50%;width:5px;height:5px}.purchase-reply-state{color:#64748b;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;font-size:12px;display:flex}
:root{--mail-ui-font:Inter, "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;--mail-body-font:Arial, "PingFang SC", "Microsoft YaHei", sans-serif;--mail-nav-size:14px;--mail-heading-size:18px;--mail-subject-size:19px;--mail-list-size:12px;--mail-preview-size:11px;--mail-meta-size:10px;--mail-tag-size:9px;--mail-body-size:13px;--mail-body-leading:1.65;--mail-read-weight:500;--mail-unread-weight:700;--mail-read-color:#596574}.workbench{font-family:var(--mail-ui-font)}.workbench .nav-item,.workbench .project-button,.workbench .purchase-company,.workbench .purchase-nav nav button{font-size:var(--mail-nav-size);line-height:1.4}.workbench .project-button,.workbench .purchase-company>span{font-weight:630}.workbench .compose-button,.workbench .purchase-nav>.primary-button{height:40px;font-size:var(--mail-nav-size);font-weight:680;line-height:1.4}.workbench .title-row h1,.workbench .purchase-list-toolbar>header>strong{font-size:var(--mail-heading-size);font-weight:700;line-height:1.3}.workbench .subject-title-row h2,.workbench .purchase-reader>header h2{font-size:var(--mail-subject-size);font-weight:700;line-height:1.35}.workbench .thread-sender-row strong,.workbench .thread-subject,.workbench .purchase-list-row .purchase-row-sender strong,.workbench .purchase-list-row .purchase-row-main>strong{color:var(--mail-read-color);font-size:var(--mail-list-size);font-weight:var(--mail-read-weight);line-height:1.4}.workbench .thread-item:is(.unread,.newly-synced) .thread-sender-row strong,.workbench .thread-item:is(.unread,.newly-synced) .thread-subject,.workbench .purchase-list-row.is-new .purchase-row-sender strong,.workbench .purchase-list-row.is-new .purchase-row-main>strong{color:var(--text);font-weight:var(--mail-unread-weight)}.workbench .thread-snippet,.workbench .purchase-row-main p,.workbench .purchase-draft-row p{font-size:var(--mail-preview-size);color:var(--muted);line-height:1.4}.workbench .thread-sender-row time,.workbench .purchase-row-sender time{font-size:var(--mail-meta-size);color:var(--subtle);line-height:1.4}.workbench .thread-tags em,.workbench .purchase-list-tags.thread-tags em{height:18px;font-size:var(--mail-tag-size);font-weight:650;line-height:16px}.workbench .purchase-list-tags.thread-tags em{border-color:#0000}.workbench .purchase-list-tags.thread-tags .purchase-project-tag.unassigned{border-color:#eacb8b}.workbench .purchase-list-tags.thread-tags .status.pending{color:var(--amber);background:var(--amber-soft)}.workbench .purchase-list-tags.thread-tags .status.progress{color:var(--blue);background:var(--blue-soft)}.workbench .purchase-list-tags.thread-tags .status.done{color:var(--green);background:var(--green-soft)}.workbench .message-head strong,.workbench .purchase-single-head strong{font-size:var(--mail-list-size);font-weight:650;line-height:1.4}.workbench .message-head :is(span,small,time),.workbench .purchase-single-head :is(span,time),.workbench .purchase-conversation-meta{font-size:var(--mail-meta-size);line-height:1.4}.workbench .purchase-conversation .message-head .purchase-conversation-preview{font-size:var(--mail-list-size)}.workbench .toolbar-command,.workbench .purchase-reader-actions :is(.primary-button,.secondary-button){font-size:var(--mail-list-size);line-height:1.4}.message-body,.compose-html-body,.compose-body,.reply-html-editor,.reply-composer textarea,.purchase-html-editor,.purchase-composer .purchase-plain-editor,.purchase-conversation .purchase-message-content pre{font-family:var(--mail-body-font);font-size:var(--mail-body-size);line-height:var(--mail-body-leading);color:#35404c}
.crm-workspace{--crm-line:#e5eaf1;--crm-muted:#778397;color:#243247;background:#f4f6fa;flex-direction:column;gap:14px;height:100%;min-height:0;padding:18px 24px;font-size:14px;display:flex;overflow:auto}.crm-page-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:20px;min-height:38px;display:flex}.crm-page-title{align-items:center;gap:10px;min-width:0;display:flex}.crm-page-symbol{color:#3569d9;background:#e9f0ff;border-radius:9px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.crm-page-title h1{letter-spacing:-.4px;white-space:nowrap;margin:0;font-size:20px;font-weight:650;line-height:1.4}.crm-header-actions{align-items:center;gap:10px;display:flex}.crm-header-actions>.searchable-select{width:200px}.crm-workspace button,.crm-dialog button,.crm-context-menu button{font:inherit;cursor:pointer}.crm-workspace button:disabled,.crm-dialog button:disabled{cursor:not-allowed;opacity:.5}.crm-button{color:#42516a;white-space:nowrap;background:#fff;border:1px solid #dde4ed;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-height:36px;padding:8px 13px;font-size:13px;transition:background .15s,border-color .15s;display:inline-flex}.crm-button:hover:not(:disabled){background:#f3f6fb;border-color:#bfcbdf}.crm-button.primary{color:#fff;background:#3267df;border-color:#3267df;box-shadow:0 2px 3px #3267df16}.crm-button.primary:hover:not(:disabled){background:#2558ce}.crm-button.selected{color:#3267df;background:#eef3ff;border-color:#bed0fa}.crm-icon{color:#7d8b9e;background:0 0;border:0;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;padding:7px;display:inline-flex}.crm-icon:hover:not(:disabled){color:#3267df;background:#edf3ff}.crm-text-button{color:#3267df;background:0 0;border:0;align-items:center;gap:5px;padding:4px 0;font-size:13px;display:inline-flex}.crm-icon.danger,.crm-context-menu .danger{color:#c65555}.crm-workspace :is(input,select,textarea),.crm-dialog :is(input,select,textarea){font:inherit;color:#35455c;background:#fff;border:1px solid #dfe5ed;border-radius:7px;outline:none;min-width:0;padding:9px 11px}.crm-workspace :is(input,select,textarea):focus,.crm-dialog :is(input,select,textarea):focus{border-color:#82a4f5;box-shadow:0 0 0 3px #3267df12}.crm-workspace input[type=checkbox],.crm-dialog input[type=checkbox]{accent-color:#3267df;cursor:pointer;flex-shrink:0;width:15px;height:15px}.crm-workspace :focus-visible,.crm-dialog :focus-visible,.crm-context-menu :focus-visible{outline-offset:2px;outline:2px solid #81a5f8}.crm-workspace .searchable-select-trigger,.crm-dialog .searchable-select-trigger{border-color:#dfe5ed;border-radius:7px;min-height:36px;padding:8px 10px;font-size:13px}.crm-metrics{border-bottom:1px solid var(--crm-line);flex-shrink:0;gap:8px;padding:0 16px;display:flex}.crm-metric{text-align:left;color:#7b889c;white-space:nowrap;background:0 0;border:0;align-items:center;gap:7px;min-height:48px;padding:0 12px;display:flex;position:relative}.crm-metric:after{content:"";background:0 0;border-radius:2px;height:2px;position:absolute;bottom:-1px;left:12px;right:12px}.crm-metric:hover{color:#3267df;background:#f8faff}.crm-metric.active{color:#3267df}.crm-metric.active:after{background:#3267df}.crm-metric-icon{flex-shrink:0;justify-content:center;align-items:center;display:flex}.crm-metric-icon svg{width:16px;height:16px}.crm-metric>span:last-child{align-items:center;gap:8px;display:flex}.crm-metric small{color:inherit;font-size:13px}.crm-metric strong{color:#66758b;font-variant-numeric:tabular-nums;text-align:center;background:#f0f3f8;border-radius:5px;min-width:24px;padding:2px 6px;font-size:13px;font-weight:600;line-height:1.4}.crm-metric.active strong{color:#3267df;background:#eaf1ff}.crm-metric.overdue:not(.active) .crm-metric-icon{color:#bf894d}.crm-table-card{border:1px solid var(--crm-line);background:#fff;border-radius:12px;flex-direction:column;flex:1;min-height:330px;display:flex;overflow:hidden;box-shadow:0 3px 10px #1f355004}.crm-toolbar{flex-shrink:0;align-items:center;gap:10px;padding:12px 16px;display:flex}.crm-toolbar>.searchable-select{width:165px}.crm-toolbar>select{max-width:155px;font-size:13px}.crm-search{color:#91a0b2;background:#fff;border:1px solid #dfe5ed;border-radius:8px;align-items:center;gap:9px;min-height:38px;padding:0 10px;display:flex}.crm-toolbar .crm-search{flex:1;max-width:470px;margin-right:auto}.crm-search input{flex:1;width:100%;font-size:13px;box-shadow:none!important;background:0 0!important;border:0!important;outline:none!important;padding:9px 0!important}.crm-search input::placeholder{color:#9ba5b4}.crm-toolbar>select,.crm-toolbar>.searchable-select>.searchable-select-trigger,.crm-toolbar>.crm-button,.crm-toolbar>.crm-icon,.crm-toolbar>.crm-search{box-sizing:border-box;color:#42516a;border:1px solid #dfe5ed;border-radius:8px;height:38px;min-height:38px;font-size:13px;font-weight:400;line-height:20px}.crm-toolbar>select,.crm-toolbar>.searchable-select{flex-shrink:0;width:144px}.crm-toolbar>select,.crm-toolbar>.searchable-select>.searchable-select-trigger,.crm-toolbar>.crm-button{padding:0 12px}.crm-toolbar>select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2342516a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-position:right 12px center;background-repeat:no-repeat;padding-right:34px}.crm-toolbar>.crm-icon{width:38px;padding:0}.crm-toolbar>.crm-search input{height:100%;font-size:13px;line-height:20px;padding:0!important}.crm-toolbar>.crm-button svg,.crm-toolbar>.crm-icon svg,.crm-toolbar>.crm-search>svg,.crm-toolbar .searchable-select-trigger>svg{flex-shrink:0;width:16px;height:16px}.crm-toolbar>.crm-button.selected{color:#3267df;border-color:#bed0fa}.crm-advanced{background:#fff;flex-wrap:wrap;align-items:end;gap:14px;padding:0 20px 16px;display:flex}.crm-advanced label{color:#7b8799;flex-direction:column;gap:6px;width:190px;font-size:12px;display:flex}.crm-advanced select{font-size:13px}.crm-filter-chips,.crm-chips{flex-wrap:wrap;align-items:center;gap:7px;display:flex}.crm-filter-chips{color:#8a96a9;padding:0 20px 14px}.crm-filter-chips>button:not(.crm-text-button),.crm-chips>button,.crm-chips>span{color:#5577af;overflow-wrap:anywhere;background:#f2f6ff;border:1px solid #e0e8f6;border-radius:5px;align-items:center;gap:7px;max-width:100%;padding:4px 7px;font-size:12px;display:inline-flex}.crm-chips{margin:10px 0}.crm-table-scroll{flex:1;min-height:0;position:relative;overflow:auto}.crm-table{border-collapse:separate;border-spacing:0;text-align:left;width:100%;font-size:13px}.crm-table th{z-index:2;color:#7f8b9e;white-space:nowrap;background:#f8fafd;border-top:1px solid #edf0f5;border-bottom:1px solid #e7edf5;height:43px;padding:10px 14px;font-size:12px;font-weight:500;position:sticky;top:0}.crm-table td{vertical-align:middle;white-space:nowrap;background:#fff;border-bottom:1px solid #edf1f6;height:76px;padding:14px}.crm-table tr:hover td{background:#fafcff}.crm-table tr.is-selected td{background:#f0f5ff}.crm-table th.crm-check,.crm-table td.crm-check{width:42px;min-width:42px;padding:12px 8px 12px 18px}.crm-table th.crm-name-cell,.crm-table td.crm-name-cell{z-index:1;min-width:230px;max-width:300px;position:sticky;left:0;box-shadow:2px 0 #f0f3f7}.crm-table th.crm-name-cell{z-index:3}.crm-sort{color:inherit;white-space:nowrap;background:0 0;align-items:center;gap:6px;padding:0;display:flex}.crm-sort svg{color:#a6b2c4}.crm-name-button{text-align:left;color:#30415b;background:0 0;align-items:center;gap:11px;max-width:100%;padding:0;display:flex}.crm-name-button>span:last-child{min-width:0}.crm-name-button strong{text-overflow:ellipsis;max-width:220px;font-size:14px;font-weight:600;display:block;overflow:hidden}.crm-name-button small,.crm-cell-sub{color:#8b97a8;text-overflow:ellipsis;max-width:220px;margin-top:4px;font-size:12px;line-height:1.5;display:block;overflow:hidden}.crm-cell-main{text-overflow:ellipsis;max-width:190px;display:block;overflow:hidden}.crm-avatar{color:#5e7fb9;background:#eaf0fc;border:1px solid #dfe7f7;border-radius:12px;flex-shrink:0;place-items:center;width:48px;height:48px;font-size:22px;font-weight:600;display:grid}.crm-avatar.small{border-radius:9px;width:34px;height:34px;font-size:14px}.crm-table .searchable-select{min-width:112px;max-width:160px}.crm-table .searchable-select-trigger{background:0 0;border-color:#0000;min-height:29px;padding:5px 3px;font-size:12px}.crm-table .searchable-select-trigger:hover:not(:disabled){background:#fff;border-color:#dfe5ed}.crm-table .searchable-select-trigger:disabled{opacity:1}.crm-date{color:#8a96a8;font-size:12px}.crm-overdue{color:#c47b30!important}.crm-row-actions{gap:2px;display:flex}.crm-stage,.crm-workspace .crm-stage-select{color:#527ab7;background:#edf2fa;border:0;border-radius:5px;padding:4px 8px;font-size:12px;line-height:1.5;display:inline-flex}.crm-workspace .crm-stage-select{max-width:100px;padding-right:5px}.crm-stage.stage-active,.crm-stage.stage-won,.crm-stage-select.stage-active,.crm-stage-select.stage-won{color:#338565;background:#e9f6ee}.crm-stage.stage-quoted,.crm-stage-select.stage-quoted{color:#b4832c;background:#fff4e1}.crm-stage.stage-paused,.crm-stage.stage-inactive,.crm-stage-select.stage-paused,.crm-stage-select.stage-inactive{color:#8690a0;background:#f0f1f4}.crm-pagination{color:#8b96a8;border-top:1px solid #e9eef5;justify-content:space-between;align-items:center;gap:15px;padding:12px 20px;font-size:12px;display:flex}.crm-pagination>div{align-items:center;gap:12px;display:flex}.crm-pagination select{padding:6px 9px;font-size:12px}.crm-loading{color:#7b8ba1;background:#ffffffeb;justify-content:center;align-items:center;gap:8px;padding:15px;display:flex;position:sticky;bottom:0}.crm-empty{text-align:center;color:#91a0b4;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:42px 24px;display:flex}.crm-empty h2{color:#4b5d77;margin:2px 0;font-size:18px;font-weight:600}.crm-empty h3{color:#526780;margin:0;font-size:16px}.crm-empty p{max-width:390px;margin:0 0 9px;font-size:13px;line-height:1.8}.crm-empty-symbol{color:#99afd6;background:#f2f5fb;border:1px solid #e9eef9;border-radius:24px;place-items:center;width:78px;height:78px;margin-bottom:4px;display:grid}.crm-table-empty{min-height:340px}.crm-notice{color:#5175a6;background:#f0f5ff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:12px 18px;font-size:13px;display:flex}.crm-selection{background:#edf4ff;border-top:1px solid #dce8fc;align-items:center;gap:12px;padding:10px 20px;font-size:13px;display:flex}.crm-selection>span{color:#3267df;align-items:center;gap:6px;margin-right:auto;display:flex}.crm-error{color:#b84646;background:#fff0ef;padding:12px 16px;font-size:13px;line-height:1.7}.crm-error button{margin-left:10px}.crm-modal-layer{z-index:160;color:#30415b;background:#17263a55;justify-content:center;align-items:center;padding:24px;font-size:14px;display:flex;position:fixed;inset:0}.crm-modal-layer:has(+.crm-modal-layer){pointer-events:none}.crm-dialog{background:#fff;border:1px solid #e2e8f1;border-radius:14px;outline:none;flex-direction:column;width:min(540px,100%);max-height:calc(100dvh - 48px);display:flex;overflow:hidden;box-shadow:0 18px 80px #17263a2b}.crm-dialog-wide{width:min(1060px,100%)}.crm-drawer-layer{background:#17263a25;justify-content:flex-end;padding:0}.crm-drawer{border-radius:14px 0 0 14px;width:min(640px,100%);height:100dvh;max-height:100dvh}.crm-dialog>header{border-bottom:1px solid #edf0f5;flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;padding:20px 24px;display:flex}.crm-dialog>header h2{overflow-wrap:anywhere;margin:0;font-size:16px;font-weight:600}.crm-dialog .crm-panel-body{flex:1;min-height:0;padding:24px;overflow:auto}.crm-dialog footer{background:#fff;border-top:1px solid #e7edf5;flex-shrink:0;justify-content:flex-end;align-items:center;gap:10px;padding:16px 24px;display:flex}.crm-dialog footer .crm-muted{margin-right:auto}.crm-editor-form{flex-direction:column;flex:1;min-height:0;display:flex}.crm-editor-form fieldset{border:0;min-width:0;margin:0;padding:0}.crm-dialog label:not(.crm-search):not(.crm-recipient-option){color:#708096;flex-direction:column;gap:7px;margin-bottom:16px;font-size:13px;display:flex}.crm-form-grid{grid-template-columns:1fr 1fr;gap:0 16px;display:grid}.crm-form-grid .crm-wide{grid-column:1/-1}.crm-dialog input,.crm-dialog textarea{width:100%;font-size:14px}.crm-dialog textarea{resize:vertical;line-height:1.6}.crm-hint{color:#9da8b7;font-size:11px}.crm-field-error{color:#c24d4d;font-size:12px}.crm-dialog [aria-invalid=true]{border-color:#df9090}.crm-section-heading{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.crm-section-heading h3{color:#4c5f7a;align-items:center;gap:7px;margin:0;font-size:14px;display:flex}.crm-contact-editor{background:#f8fafc;border:1px solid #e5eaf2;border-radius:10px;margin:16px 0;padding:16px 18px}.crm-contact-editor label{margin-bottom:12px}.crm-form-section{border-top:1px solid #e6ecf3;padding:16px 0}.crm-form-section>summary{cursor:pointer;color:#576d8a;align-items:center;gap:9px;font-size:14px;list-style:none;display:flex}.crm-form-section>summary:after{content:"＋";color:#9eaabe;margin-left:auto}.crm-form-section[open]>summary{margin-bottom:18px}.crm-form-section[open]>summary:after{content:"−"}.crm-form-section>summary span{color:#9eaabe;font-size:12px}.crm-tag-input{gap:8px;display:flex}.crm-muted{color:#8b98aa;align-items:center;gap:6px;font-size:12px;line-height:1.7;display:flex}.crm-profile{align-items:flex-start;gap:14px;padding:24px 24px 16px;display:flex}.crm-profile h2{overflow-wrap:anywhere;margin:0 0 8px;font-size:22px;line-height:1.4}.crm-profile p{color:#8b98aa;margin:0 0 10px;font-size:12px}.crm-profile .crm-stage{margin-right:7px}.crm-profile-actions{align-items:center;gap:8px;padding:0 24px 20px;display:flex}.crm-tabs{border-bottom:1px solid #e7edf5;flex-shrink:0;gap:6px;padding:0 24px;display:flex}.crm-tabs button{color:#8a98ac;white-space:nowrap;background:0 0;border-bottom:2px solid #0000;align-items:center;gap:6px;padding:13px 10px;font-size:13px;display:flex}.crm-tabs button[aria-current=page]{color:#3267df;border-bottom-color:#3267df}.crm-overview{grid-template-columns:1fr 1fr;gap:24px;padding:6px 0 20px;display:grid}.crm-overview small{color:#8b98aa;margin-bottom:7px;font-size:12px;display:block}.crm-overview strong{font-size:14px;font-weight:500}.crm-facts{border-top:1px solid #edf0f5;grid-template-columns:100px minmax(0,1fr);gap:20px 12px;padding-top:18px;font-size:13px;line-height:1.7;display:grid}.crm-facts dt{color:#8b98aa}.crm-facts dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.crm-facts a{color:#3267df}.crm-contact-card{border:1px solid #e5ebf4;border-radius:10px;margin-bottom:14px;padding:18px}.crm-contact-card p{color:#7f8da2;font-size:13px}.crm-contact-line{color:#5577a2;align-items:center;gap:8px;margin:7px 0;display:flex}.crm-contact-line>span{overflow-wrap:anywhere;flex:1;font-size:13px}.crm-followup-form{background:#fafcff;border:1px solid #e4ebf5;border-radius:10px;margin-bottom:28px;padding:16px}.crm-time-shortcuts{flex-wrap:wrap;gap:7px;margin:-3px 0 15px;display:flex}.crm-time-shortcuts .crm-button{min-height:30px;padding:5px 10px;font-size:12px}.crm-timeline{border-left:1px solid #e4eaf2;margin-left:7px;padding-left:22px}.crm-timeline article{padding:0 0 27px;position:relative}.crm-timeline-dot{background:#7d9bd4;border:3px solid #e8f0ff;border-radius:50%;width:11px;height:11px;position:absolute;top:3px;left:-28px}.crm-timeline-dot.done{background:#5eac88;border-color:#e3f5ec}.crm-timeline article>small{color:#97a3b4;font-size:12px}.crm-timeline article>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}.crm-timeline-task{background:#f7f9fc;border:1px solid #eaf0f7;border-radius:7px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;font-size:12px;display:flex}.crm-timeline .crm-empty{padding-left:0}.crm-thread-row{text-align:left;color:#526985;background:#fff;border-bottom:1px solid #eaf0f7;align-items:center;gap:12px;width:100%;padding:18px 0;font-size:14px;display:flex}.crm-thread-row>span{overflow-wrap:anywhere;min-width:0}.crm-thread-row small{color:#94a1b5;margin-top:6px;font-size:12px;display:block}.crm-dialog .crm-recipient-option{color:#42516a;border-bottom:1px solid #edf0f5;flex-direction:row;align-items:center;gap:12px;margin:0;padding:14px 0;font-size:14px;display:flex}.crm-recipient-option small{color:#94a1b5;overflow-wrap:anywhere;margin-top:5px;font-size:12px;display:block}.crm-recipient-tools{justify-content:space-between;margin-top:12px;display:flex}.crm-dialog .crm-search{box-sizing:border-box;flex-direction:row;gap:9px;height:38px;min-height:38px;margin:0;padding:0 10px}.crm-dialog .crm-search>svg{flex-shrink:0;width:16px;height:16px}.crm-dialog .crm-search input{width:0;min-width:0;height:100%;font-size:13px;line-height:20px;padding:0!important}.crm-dialog .crm-search:focus-within{border-color:#82a4f5;box-shadow:0 0 0 3px #3267df12}.crm-recipient-body>.crm-muted:first-child{margin:0 0 12px}.crm-recipient-option>span{overflow-wrap:anywhere;min-width:0}.crm-dialog .crm-recipient-tools button{font-size:13px}.crm-context-menu{z-index:180;color:#4d607c;background:#fff;border:1px solid #dfe6f0;border-radius:10px;width:250px;max-height:calc(100dvh - 16px);padding:6px;font-size:13px;position:fixed;overflow:auto;box-shadow:0 12px 40px #22365129}.crm-context-menu>small{color:#97a4b7;padding:8px 10px;font-size:11px;display:block}.crm-context-menu>button{text-align:left;background:#fff;border-radius:6px;align-items:center;gap:10px;width:100%;padding:10px;display:flex}.crm-context-menu>button:hover,.crm-context-menu>button:focus-visible{background:#f0f5ff}.crm-context-menu [aria-disabled=true]{color:#9da8b7;cursor:not-allowed}.crm-context-menu button small{color:#a3adba;margin-top:3px;font-size:11px;display:block}.crm-context-menu button svg{flex-shrink:0}.crm-thread-card{border:1px solid var(--border);background:#f8fafc;border-radius:6px;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0;padding:9px 12px;font-size:12px;display:flex}.crm-thread-card>span{color:var(--muted)}.crm-thread-card button{color:var(--blue);background:0 0;padding:3px;font-size:12px}@media (max-width:1200px){.crm-workspace{gap:12px;padding:16px 20px}.crm-header-actions>.searchable-select{width:180px}.crm-table td{padding:12px}}@media (max-width:760px){.crm-workspace{gap:12px;padding:12px}.crm-page-header{flex-direction:column;align-items:stretch;gap:10px}.crm-page-title h1{font-size:18px}.crm-header-actions>.searchable-select{flex:1;width:auto}.crm-metrics{grid-template-columns:1fr 1fr;gap:0;padding:4px 8px;display:grid}.crm-metric{min-height:38px;padding:0 8px}.crm-metric.active{background:#f4f7ff;border-radius:6px}.crm-metric:after{display:none}.crm-metric>span:last-child{flex:1;justify-content:space-between}.crm-toolbar{flex-wrap:wrap;gap:8px;padding:14px 12px}.crm-toolbar .crm-search{flex-basis:100%;max-width:none}.crm-toolbar>.searchable-select{flex:1;width:auto;min-width:120px}.crm-toolbar>select{max-width:120px}.crm-table-card{min-height:440px}.crm-table th.crm-name-cell,.crm-table td.crm-name-cell{min-width:170px;max-width:190px}.crm-name-button strong{max-width:135px}.crm-avatar.small{display:none}.crm-pagination{padding:12px;font-size:11px}.crm-pagination>div{gap:5px}.crm-pagination>span{white-space:nowrap}.crm-drawer{border-radius:0;width:100%}.crm-modal-layer:not(.crm-drawer-layer){padding:12px}.crm-dialog>header,.crm-dialog .crm-panel-body{padding:18px}.crm-form-grid{grid-template-columns:1fr}.crm-tabs{gap:0;padding:0 12px}.crm-tabs button{padding:12px 9px;font-size:12px}.crm-profile{padding:20px 18px 16px}.crm-profile-actions{padding-left:18px}.crm-dialog footer{padding:14px 18px}.crm-dialog footer .crm-muted{display:none}.crm-filter-chips,.crm-advanced{padding-left:12px;padding-right:12px}.crm-selection{flex-wrap:wrap;gap:6px;padding:10px}.workspace-mode-bar nav{overflow:auto}.workspace-mode-bar nav button{white-space:nowrap}}.crm-table th:last-child,.crm-table td:last-child{z-index:2;position:sticky;right:0;box-shadow:-1px 0 #e8edf5}.crm-table th:last-child{z-index:4}@media (max-width:760px){.crm-table th:last-child,.crm-table td:last-child{padding-left:6px;padding-right:6px}.crm-row-actions>button:not(:last-child){display:none}}.crm-editor-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;display:grid}.crm-span-3{grid-column:span 3}.crm-span-4{grid-column:span 4}.crm-span-6{grid-column:span 6}.crm-span-8{grid-column:span 8}.crm-span-12{grid-column:1/-1}.crm-dialog .crm-editor-form label:not(.crm-search):not(.crm-recipient-option){gap:6px;margin-bottom:0;font-size:12px;line-height:18px}.crm-editor-form .crm-field-label{align-items:center;gap:6px;min-width:0;display:flex}.crm-field-label svg{color:#8a9bb2;flex-shrink:0}.crm-dialog .crm-editor-form :is(input,select),.crm-dialog .crm-editor-form .searchable-select-trigger{box-sizing:border-box;border-radius:7px;height:36px;min-height:36px;padding:0 10px;font-size:13px;font-weight:400;line-height:20px}.crm-dialog .crm-editor-form textarea{padding:8px 10px;font-size:13px;line-height:20px}.crm-editor-form input::placeholder,.crm-editor-form textarea::placeholder{color:#9ba7b7}.crm-editor-form .crm-contact-editor{margin:16px 0 12px;padding:14px}.crm-editor-form .crm-section-heading{margin-bottom:12px}.crm-editor-form .crm-section-heading h3{font-size:13px}.crm-editor-form .crm-form-section{padding:13px 0}.crm-editor-form .crm-form-section>summary{font-size:13px}.crm-editor-form .crm-form-section[open]>summary{margin-bottom:14px}.crm-editor-form .crm-tag-input{gap:6px;margin-top:6px}.crm-editor-form .crm-tag-input input{flex:1;width:0}.crm-editor-form .crm-tag-input .crm-button{min-width:36px;height:36px;padding:0}@media (max-width:520px){.crm-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.crm-editor-grid>:is(.crm-span-3,.crm-span-4,.crm-span-6){grid-column:span 1}.crm-editor-grid>:is(.crm-span-8,.crm-span-12),.crm-editor-grid>[data-field=projectId]{grid-column:1/-1}}.crm-thread-card{box-sizing:border-box;border-radius:7px;gap:6px;height:auto;min-height:40px;margin:6px 0;padding:5px 10px;font-size:12px;line-height:20px}.crm-thread-card>svg{flex:none;width:16px;height:16px}.crm-thread-card>span{color:#66758b;white-space:nowrap}.crm-thread-card button{border-radius:5px;min-height:28px;padding:3px 6px;font-size:12px;line-height:20px}.crm-thread-card button:hover{background:#eaf1ff}.crm-thread-card small{color:#8b98aa;font-size:11px}.reader-toolbar{gap:3px;min-height:44px;padding:5px 16px}.reader-toolbar .toolbar-command{height:30px;padding:0 7px;font-size:12px}.reader-toolbar .toolbar-command>svg{width:15px;height:15px}.reader-header .reader-toolbar{flex-wrap:wrap;gap:4px}.reader-toolbar>.crm-thread-card{border:0;border-left:1px solid var(--border);background:0 0;border-radius:0;max-width:100%;min-height:30px;margin:0 0 0 auto;padding:0 0 0 10px}.reader-toolbar>.crm-thread-card>span{display:none}.reader-toolbar>.crm-thread-card>svg{color:var(--muted)}.reader-toolbar>.crm-thread-card button{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}@media (max-width:760px){.reader-toolbar>.crm-thread-card{border-left:0;margin-left:0;padding-left:0}}.purchase-reader-actions>.crm-thread-card{border:0;border-left:1px solid var(--border);background:0 0;border-radius:0;order:2;max-width:100%;min-height:30px;margin:0 0 0 auto;padding:0 0 0 10px}.purchase-reader-actions>.crm-thread-card>span{display:none}.purchase-reader-actions>.crm-thread-card>svg{color:var(--muted)}.purchase-reader-actions>.crm-thread-card button{text-overflow:ellipsis;white-space:nowrap;max-width:180px;overflow:hidden}@media (max-width:760px){.purchase-reader-actions>.crm-thread-card{border-left:0;margin-left:0;padding-left:0}}.crm-row-actions{align-items:center;gap:4px}.crm-row-actions .crm-mail-history{white-space:nowrap;color:#2c62d6;background:#f1f5ff;border:1px solid #dce6fb;border-radius:6px;flex-shrink:0;align-items:center;gap:5px;padding:6px 8px;font-size:12px;font-weight:600;display:inline-flex}.crm-row-actions .crm-mail-history:hover{background:#e5edff;border-color:#b5cafa}.crm-row-actions .crm-mail-history:focus-visible{outline-offset:2px;outline:2px solid #3267df}@media (max-width:760px){.crm-row-actions>button.crm-mail-history:not(:last-child){display:inline-flex}}.crm-row-actions .crm-file-shortcut{color:#087b70;background:#effaf7;border-color:#d3ece5}.crm-row-actions .crm-file-shortcut:hover{background:#e1f4ed;border-color:#a9d9cb}.crm-files-tools{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.crm-files-tools .crm-search{flex:1;min-width:180px}.crm-files-tools select{color:#40516a;background:#fff;border:1px solid #dce3ee;border-radius:8px;padding:8px}.crm-file-card{background:#fff;border:1px solid #e0e7f0;border-radius:10px;margin:12px 0;padding:16px}.crm-file-top{color:#4772bc;align-items:center;gap:10px;display:flex}.crm-file-name{overflow-wrap:anywhere;text-align:left;color:#263d5d;background:0 0;flex:1;min-width:0;padding:0;font-weight:600}.crm-file-name:hover{color:#2563eb}.crm-file-direction{white-space:nowrap;border-radius:5px;align-items:center;padding:4px 6px;font-size:11px;display:inline-flex}.crm-file-direction.sent{color:#285dc1;background:#edf3ff}.crm-file-direction.received{color:#078268;background:#eaf8f2}.crm-file-meta,.crm-file-counterpart,.crm-file-subject{color:#7c8ba1;overflow-wrap:anywhere;margin:8px 0;font-size:12px}.crm-file-subject{color:#50617a;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.crm-file-actions{border-top:1px solid #edf1f5;gap:18px;margin-top:12px;padding-top:12px;display:flex}.crm-file-actions a{text-decoration:none}.crm-tabs{overflow-x:auto}.crm-tabs button{white-space:nowrap}@media (max-width:760px){.crm-row-actions .crm-mail-history{padding:6px}.crm-row-actions .crm-mail-history span{display:none}.crm-files-tools .crm-search{flex-basis:100%}}
.announcement-entry{color:var(--text-muted,#65748b);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:7px 9px;display:flex}.announcement-entry:hover{color:#2563eb;background:#edf3ff}.announcement-entry b{color:#fff;background:#2563eb;border-radius:10px;min-width:18px;padding:1px 5px;font-size:11px}.announcement-banner{color:#245ab1;background:#f0f6ff;border-bottom:1px solid #dbe7ff;flex-shrink:0;align-items:center;gap:10px;padding:8px 20px;font-size:13px;display:flex}.announcement-banner.important{color:#956119;background:#fff8e8;border-color:#f4e4c3}.announcement-banner>button{text-align:left;text-overflow:ellipsis;white-space:nowrap;color:inherit;cursor:pointer;background:0 0;border:0;overflow:hidden}.announcement-banner>button:first-of-type{flex:1}.announcement-banner>span{white-space:nowrap;font-size:12px}.announcement-banner-open{align-items:center;gap:4px;font-weight:600;display:flex}.announcement-meta{color:#77859b;align-items:center;gap:10px;font-size:12px;display:flex}.announcement-label{color:#2563eb;background:#edf3ff;border-radius:5px;padding:4px 8px;font-size:12px;display:inline-block}.announcement-label.important{color:#985e14;background:#fff3d6}.announcement-title{overflow-wrap:anywhere;margin:16px 0 8px;font-size:23px;line-height:1.5}.announcement-body{color:#344256;overflow-wrap:anywhere;font-size:15px;line-height:1.85}.announcement-body p{white-space:pre-wrap;margin:12px 0}.announcement-body h3{margin:24px 0 10px;font-size:17px}.announcement-body ul{margin:12px 0;padding-left:24px}.announcement-body a{color:#2563eb;text-decoration:underline}.announcement-list-item{text-align:left;cursor:pointer;color:#263750;background:#f7faff;border:1px solid #dce6f8;border-radius:10px;flex-direction:column;align-items:flex-start;gap:10px;width:100%;margin-bottom:12px;padding:18px 36px 18px 16px;display:flex;position:relative}.announcement-list-item:hover{border-color:#8caaf0}.announcement-list-item strong{overflow-wrap:anywhere;font-size:15px}.announcement-list-item small{color:#768499}.announcement-list-item>svg{position:absolute;top:50%;right:12px}.announcement-list-item.is-read{background:#fff;border-color:#e5e9f0}.announcement-management{padding:24px}.announcement-management-heading{justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px;display:flex}.announcement-management-heading h2{align-items:center;gap:10px;margin:0;display:flex}.announcement-management-heading p{margin:10px 0 0}.announcement-manage-item{border:1px solid #e0e6ef;border-radius:12px;justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;padding:20px;display:flex}.announcement-manage-item h3{overflow-wrap:anywhere;margin:12px 0;font-size:16px}.announcement-manage-item p{margin:0;font-size:12px}.announcement-manage-actions{flex-shrink:0;gap:8px;display:flex}.announcement-editor>label,.announcement-fields>label{color:#52647e;flex-direction:column;gap:8px;font-size:13px;font-weight:600;display:flex}.announcement-editor input:not([type=checkbox]),.announcement-editor select,.announcement-editor textarea{color:#28364a;width:100%;font:inherit;background:#fff;border:1px solid #d9e1ed;border-radius:8px;padding:10px 12px}.announcement-editor textarea{resize:vertical;min-height:230px;font-size:14px;line-height:1.8}.announcement-fields{grid-template-columns:1fr 1.5fr auto;align-items:end;gap:16px;margin:18px 0;display:grid}.announcement-fields>.announcement-check{white-space:nowrap;flex-direction:row;align-items:center;height:42px}.announcement-editor-tools{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:10px;display:flex}.announcement-editor-tools strong{margin-right:auto}.announcement-editor-tools button{color:#405d87;cursor:pointer;background:#f8faff;border:1px solid #dce4ef;border-radius:6px;align-items:center;gap:5px;padding:6px 10px;display:flex}.announcement-preview{border:1px solid #e0e6ef;border-radius:10px;min-height:230px;padding:20px}.announcement-reader{border-bottom:1px solid #e8ecf2;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;font-size:14px;display:flex}.announcement-reader span{color:#748297}@media (max-width:700px){.announcement-entry>span{display:none}.announcement-banner{padding:8px 12px}.announcement-banner>span{display:none}.announcement-fields{grid-template-columns:1fr}.announcement-management{padding:16px}.announcement-manage-item{flex-direction:column;align-items:stretch}.announcement-manage-actions{flex-wrap:wrap}.announcement-management-heading{align-items:flex-start}}.crm-dialog:has(.announcement-editor){width:min(860px,100%)}.crm-dialog:has(.announcement-editor) footer{flex-wrap:wrap}.crm-dialog .announcement-fields>label{margin-bottom:0}.crm-dialog .announcement-fields>label.announcement-check{flex-direction:row}.crm-dialog .announcement-check input{width:auto}.announcement-management-heading>.crm-button{white-space:nowrap}
