:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#1e2c42;background:#f4f6fa;font-size:14px;--navy:#14243b;--blue:#2763e7;--muted:#7a879a;--line:#e8edf4;--green:#188b71}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--blue);text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:25px;letter-spacing:-.6px;margin-bottom:8px}h2{font-size:19px;margin-bottom:6px}h3{font-size:15px}p{line-height:1.7}small{color:var(--muted)}button:focus-visible,a:focus-visible{outline:3px solid #91b7ff;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:2px solid #a7c4ff;border-color:#76a4f8}input,select,textarea{width:100%;border:1px solid #dae2ec;border-radius:7px;padding:10px 11px;color:#23334e;background:white;min-height:40px}textarea{resize:vertical;min-height:82px}input[type=checkbox]{width:auto;min-height:auto;accent-color:var(--blue)}.sidebar{width:226px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#d7e1f0;padding:28px 16px 18px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 30px}.brand-mark{width:35px;height:35px;border-radius:10px;display:grid;place-items:center;background:#356ceb;color:white;font-weight:800;font-size:22px}.brand strong{font-size:21px;letter-spacing:2px;color:white}.brand small{font-size:10px;letter-spacing:1.4px;display:block;margin-top:4px;color:#8fa2bd}.nav-label{font-size:10px;letter-spacing:1.4px;color:#8294ad;margin:24px 14px 9px}.nav-item{display:flex;align-items:center;width:100%;gap:11px;border:0;background:transparent;color:#b5c4d8;text-align:left;padding:12px 14px;margin:3px 0;border-radius:8px;font-weight:500}.nav-item:hover{background:#1e3351;color:#fff}.nav-item.active{background:#2b58a8;color:#fff}.nav-icon{width:20px;font-size:18px;text-align:center}.nav-item.sub{font-size:13px;padding-left:45px}.nav-item.sub.active{background:#203c62;color:#a8c9ff}.nav-bottom{margin-top:auto;padding-top:24px}.sidebar-foot{font-size:11px;color:#7186a2;padding:15px 14px 0;border-top:1px solid #2b3c53;margin-top:18px}.shell{margin-left:226px}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px}.crumb{font-size:13px;color:#91a0b4}.crumb b{color:#34445c;font-weight:500}.userbar{display:flex;align-items:center;gap:13px;font-size:12px}.avatar{width:32px;height:32px;background:#eaf0ff;border-radius:50%;display:grid;place-items:center;color:#3867c7;font-weight:600}.main{padding:32px 38px 50px;max-width:1600px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:26px}.page-head p{color:var(--muted);font-size:13px;margin:0}.eyebrow{font-size:10px;letter-spacing:2px;color:#6c86b3;margin-bottom:9px}.btn{border:1px solid #dae3ee;background:white;color:#40516c;padding:10px 17px;border-radius:7px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap;font-size:13px}.btn:hover{background:#f5f8ff;border-color:#b0c5e7}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 3px 8px #2763e71a}.btn.primary:hover{background:#1a54d0}.btn.small{padding:6px 10px;font-size:12px}.btn.danger{color:#c4444d;border-color:#efd4d6}.link-button{border:0;background:none;padding:0;color:var(--blue);text-align:left;font-weight:500}.icon-button{background:transparent;border:0;color:#718197;font-size:26px;line-height:1;padding:4px 7px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.badge{display:inline-block;padding:4px 9px;font-size:11px;line-height:1.3;border-radius:5px;background:#f0f3f8;color:#6f7b91;white-space:nowrap}.badge.pending{background:#fff4dd;color:#b77f1e}.badge.confirmed,.badge.delivered{background:#e6f6ef;color:#1d8765}.badge.cancelled,.badge.rejected{background:#f9e9eb;color:#b45760}.badge.partial{background:#eaf1ff;color:#4674cf}.badge.demo{background:#eef3fc;color:#647da4}.card{background:white;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 20px #18325303;overflow:hidden}.card-title{display:flex;align-items:center;justify-content:space-between;padding:21px 24px;border-bottom:1px solid var(--line)}.card-title h3{margin:0}.card-content{padding:24px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:26px}.stat{padding:22px 24px}.stat p{font-size:12px;color:var(--muted);margin-bottom:16px}.stat strong{font-size:30px;letter-spacing:-1px;font-weight:600}.stat small{display:block;margin-top:9px;font-size:11px}.stat .stat-icon{float:right;border-radius:10px;padding:8px;background:#f0f5fe;color:#6181b9;font-size:16px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:22px}.section-gap{margin-top:24px}.quick-action{display:flex;align-items:center;gap:15px;padding:16px;border:1px solid var(--line);border-radius:9px;margin-bottom:12px;width:100%;background:white;text-align:left}.quick-action:hover{border-color:#aec7ee;background:#fafdff}.quick-action strong{display:block;font-size:13px;margin-bottom:4px}.quick-action small{font-size:11px}.quick-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:#ecf2ff;color:#3876d7;font-size:19px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:11px;font-weight:500;color:#8190a4;background:#fafbfd;padding:13px 19px;border-bottom:1px solid var(--line)}td{padding:17px 19px;border-bottom:1px solid #f0f3f8;font-size:12px}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fafcff}td small{display:block;margin-top:5px;font-size:11px}.numeric{text-align:right;font-variant-numeric:tabular-nums}.table-footer{padding:14px 20px;border-top:1px solid var(--line);font-size:11px;color:#90a0b5}.filterbar{padding:17px 20px;display:flex;gap:12px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.filterbar input{max-width:280px;background:#fafbfd;font-size:12px}.filterbar select{max-width:150px;font-size:12px}.hint{color:var(--muted);font-size:12px}.notice{padding:13px 16px;background:#f0f5fe;border:1px solid #e1eafb;border-radius:8px;color:#647c9c;font-size:12px;line-height:1.7;margin-bottom:20px}.notice.amber{background:#fff8e9;border-color:#f6e7c2;color:#9e7733}.notice.green{background:#edf9f4;border-color:#d6efe3;color:#4d8a71}.empty{padding:55px 24px;text-align:center;color:#8a98ab}.empty>span{font-size:32px;color:#c0ccdb;display:block;margin-bottom:16px}.empty h3{font-size:14px;color:#667b96;margin-bottom:7px}.empty p{font-size:12px;margin:0}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:22px}.tab{border:0;background:none;padding:11px 0 13px;color:#8491a5;font-size:13px}.tab.active{border-bottom:2px solid var(--blue);color:var(--blue);font-weight:600}.chip-switch{display:inline-flex;gap:3px;background:#f0f3f8;padding:3px;border-radius:7px}.chip-switch button{border:0;background:transparent;color:#7b89a1;padding:5px 12px;border-radius:5px;font-size:11px}.chip-switch button.active{background:white;color:#315ea6;box-shadow:0 1px 5px #223b6412}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}.three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;margin-bottom:17px}.field>span{color:#6c7b92}.field small{font-size:11px;margin-top:1px}.form-section{border-top:1px solid var(--line);padding-top:22px;margin-top:8px}.form-section h3{margin-bottom:18px}.checkline{display:flex;align-items:center;gap:8px;font-size:12px;margin:10px 0}.checks{display:flex;gap:22px;margin-bottom:18px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.overlay{position:fixed;inset:0;background:#10233b6b;backdrop-filter:blur(3px);z-index:100;display:flex;align-items:center;justify-content:center;padding:26px}.dialog{background:#fff;width:650px;max-width:100%;max-height:calc(100dvh - 52px);border-radius:14px;box-shadow:0 20px 100px #10213f40;display:flex;flex-direction:column}.dialog.wide{width:1050px}.dialog-head{padding:23px 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;flex-shrink:0}.dialog-head p{font-size:11px;color:var(--muted);margin:4px 0 0}.dialog-body{padding:25px 28px;overflow:auto}.modal-open{overflow:hidden}[hidden]{display:none!important}.edit-table td,.edit-table th{padding:9px 6px;font-size:11px}.edit-table input,.edit-table select{padding:8px 6px;font-size:12px;min-width:65px}.edit-table .product-select{min-width:165px}.edit-table .config-input{min-width:90px}.edit-table input[type=number]{width:90px}.edit-table .price-input{width:110px!important}.edit-table td small{max-width:210px;white-space:normal}.total-line{display:flex;justify-content:flex-end;align-items:baseline;gap:15px;margin:18px 0 8px}.total-line strong{font-size:24px;color:#244979;font-variant-numeric:tabular-nums}.total-line small{font-size:11px}details{margin:16px 0}summary{cursor:pointer;color:#687c97;font-size:12px;padding:8px 0}.detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:9px;overflow:hidden;margin:22px 0}.detail-metrics>div{background:#fafcff;padding:18px}.detail-metrics small{display:block;margin-bottom:8px;font-size:11px}.detail-metrics strong{font-size:20px;font-weight:600}.detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:22px 0}.detail-grid small{display:block;font-size:11px;margin-bottom:7px}.detail-grid p{font-size:13px;margin:0}.timeline{border-left:1px solid #dae4f2;margin-left:6px;padding-left:20px}.timeline-item{position:relative;margin-bottom:22px}.timeline-item:before{content:'';position:absolute;width:7px;height:7px;border:3px solid white;background:#85a5ce;border-radius:50%;left:-27px;top:3px}.timeline-item strong{font-size:12px;font-weight:500}.timeline-item p{font-size:12px;color:#6d7f97;margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.timeline-item small{font-size:10px}.pre{white-space:pre-wrap;overflow-wrap:anywhere}.attachment{display:flex;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid var(--line)}.attachment a{font-size:13px}.attachment small{font-size:11px}.loading{padding:80px;text-align:center;color:#8a9cb4;font-size:13px}.auth-page{min-height:100dvh;display:grid;grid-template-columns:1.05fr 1fr}.auth-brand{background:#14243b;color:white;display:flex;flex-direction:column;justify-content:center;padding:80px}.auth-brand .eyebrow{color:#84a3ce}.auth-brand h1{font-size:42px;font-weight:500;line-height:1.4;letter-spacing:0}.auth-brand p{color:#a4b5cd;font-size:14px;max-width:330px}.auth-form{display:flex;flex-direction:column;justify-content:center;margin:auto;width:380px;max-width:85%;padding:40px 0}.auth-form>p{color:var(--muted);font-size:12px;margin-bottom:26px}.auth-form .btn{width:100%;margin-top:10px}.auth-error{color:#c54f53;font-size:12px;min-height:20px}.auth-brand .brand{padding:0;margin-bottom:50px}.footer-note{font-size:11px;color:#93a0b4;margin-top:26px}.error-box{background:#fff0f0;color:#ad4949;padding:14px;border-radius:8px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.span-all{grid-column:1/-1}#toasts{position:fixed;bottom:25px;right:25px;z-index:1000;display:flex;flex-direction:column;gap:10px;max-width:440px}.toast{background:#213954;color:white;padding:14px 22px;border-radius:9px;box-shadow:0 5px 24px #1c385635;font-size:13px;line-height:1.6}.toast.error{background:#a94750}.compact-list{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.compact-list:last-child{border:0}.compact-list small{font-size:11px}.flow{display:flex;align-items:center;gap:9px;font-size:11px;color:#98a6b8;margin:18px 0}.flow .current{color:#3976d4}.flow span{background:#f3f6fa;border-radius:5px;padding:6px 10px}
@media(max-width:1100px){.main{padding:25px}.topbar{padding:0 25px}.sidebar{width:196px}.shell{margin-left:196px}.dashboard-grid{grid-template-columns:1fr}.stats{gap:10px}.stat{padding:18px}.stat strong{font-size:25px}.auth-brand{padding:45px}.auth-brand h1{font-size:32px}}
@media(max-width:760px){.sidebar{position:relative;width:100%;padding:14px;display:block}.brand{padding:0 8px 12px}.brand small,.sidebar-foot,.nav-label,.nav-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px}.nav-item,.nav-item.sub{width:auto;white-space:nowrap;padding:9px 13px;margin:0}.nav-icon{display:none}.shell{margin:0}.topbar{height:58px;padding:0 16px}.main{padding:22px 15px}.stats{grid-template-columns:1fr 1fr}.page-head{align-items:flex-start;gap:12px}.page-head h1{font-size:22px}.page-head p{font-size:11px}.userbar .user-name{display:none}.two-cols,.three-cols,.settings-grid{grid-template-columns:1fr}.overlay{padding:10px}.dialog{max-height:calc(100dvh - 20px)}.dialog-head,.dialog-body{padding:18px}.detail-metrics{grid-template-columns:1fr 1fr 1fr}.detail-metrics>div{padding:12px}.detail-metrics strong{font-size:16px}.detail-grid{grid-template-columns:1fr 1fr}.tabs{gap:18px;overflow:auto}.auth-page{display:block}.auth-brand{padding:30px}.auth-brand h1{font-size:25px}.auth-brand .brand{margin-bottom:20px}.auth-brand p{display:none}.auth-form{padding:35px 0}.filterbar{gap:10px;padding:14px}.stat strong{font-size:27px}.stat .stat-icon{display:none}.flow{flex-wrap:wrap}.card-content{padding:18px}}
.dashboard-grid>div,.settings-grid>div,.card{min-width:0}
@media(min-width:761px) and (max-width:1000px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-label{font-size:9px;letter-spacing:.7px}.card-title{gap:12px}.card-title .hint{font-size:10px;text-align:right}.page-head p{font-size:12px}}
.profile-heading{display:flex;gap:15px;align-items:center;margin-bottom:20px}.profile-heading h3{margin:0 0 6px}.profile-heading>.badge{margin-left:auto}.profile-symbol{height:46px;width:46px;background:#edf3ff;color:#4772b4;border-radius:12px;display:grid;place-items:center;font-size:18px}.profile-tabs{gap:28px;overflow-x:auto;white-space:nowrap}.repeat-card{padding:20px;border:1px solid var(--line);border-radius:10px;margin-bottom:18px;background:#fcfdff}.repeat-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.repeat-head h3{margin:0}.business-role+.business-role{margin-top:24px;padding-top:15px;border-top:1px solid var(--line)}.business-role h4{font-weight:500;color:#53749c;margin:16px 0}.block{display:block;margin-top:6px}.crm-summary{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.crm-summary button{padding:10px 17px;border:1px solid var(--line);border-radius:8px;background:white;color:#69809e;font-size:12px}.crm-summary button.active{border-color:#9dbbee;background:#edf4ff;color:#2c66ba}.crm-summary strong{font-size:17px;margin-left:9px}.crm-toolbar{display:flex;gap:10px;flex-wrap:wrap;width:100%}.crm-toolbar select{max-width:160px}.followup-content{white-space:pre-wrap;color:#415773;line-height:1.8;font-size:13px}.badge.overdue{background:#fce9e7;color:#c05e4c}.badge.today{background:#fff3d8;color:#ac7b29}.badge.scheduled{background:#ecf3ff;color:#5c7faf}.badge.unscheduled{background:#f0f2f7;color:#8892a3}.crm-next{background:#f4f8fe;padding:18px;border-radius:9px;border:1px solid #e1ebf8;margin:20px 0}.crm-next h3{font-size:13px;margin-bottom:8px}.crm-next p{margin-bottom:0;font-size:13px}.followup-meta{display:flex;gap:8px;align-items:center;margin-bottom:8px}.crm-filter-count{font-size:11px;color:#90a0b5;margin:0 0 16px}
.wrap-cell{white-space:normal;min-width:160px;max-width:260px;line-height:1.6}
@media(max-width:760px){.profile-tabs{gap:20px}.profile-heading{gap:10px}.repeat-card{padding:14px}.crm-toolbar select{max-width:100%;flex:1}.crm-summary{gap:7px}.crm-summary button{padding:9px 11px}.crm-summary strong{font-size:15px}.crm-toolbar input{max-width:none;flex-basis:100%}}

/* Sales statistics */
.report-filters{padding:20px}.report-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.report-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.report-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px;color:var(--muted);font-size:13px}.report-tabs{padding:0 20px}.crm-stage-totals{display:flex;gap:10px;flex-wrap:wrap}.report-stats .stat strong{font-size:27px;overflow-wrap:anywhere}details.notice summary{cursor:pointer}details.notice p{margin:12px 0 0}
@media(max-width:1000px){.report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.report-filter-grid,.report-stats{grid-template-columns:1fr}.report-caption{align-items:flex-start;flex-direction:column}}

.import-upload{padding:20px}.import-counts{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}.import-table{max-height:540px;overflow:auto}.import-table td{vertical-align:top}.import-table .wrap-cell{min-width:130px;max-width:280px}.import-table th{position:sticky;top:0;background:#f7f9fc;z-index:1}.import-table input[type=checkbox]{width:17px;height:17px}#import-preview .card-title p{margin:5px 0 0}#import-confirm-error{margin-bottom:0}
/* Keep every navigation entry reachable in short desktop windows. */
@media(min-width:761px){.sidebar nav{min-height:0;overflow-y:auto;flex:1}.sidebar>.brand,.sidebar>.nav-bottom{flex-shrink:0}}

/* Profile contact details: compact groups with repeatable communication channels. */
.contact-row>summary{display:flex;align-items:center;gap:14px;cursor:pointer;list-style:none;padding:4px 0}.contact-row>summary:before{content:'›';font-size:22px;color:var(--muted)}.contact-row[open]>summary:before{transform:rotate(90deg)}.contact-content{padding-top:18px}.contact-channel{min-width:0;padding:12px 0}.contact-channel h4,.contact-schedule h4{margin:0 0 8px}.channel-line{display:grid;grid-template-columns:minmax(80px,.75fr) minmax(100px,1.6fr) 28px;gap:8px;align-items:end}.channel-line .icon-button{margin-bottom:15px}.channel-line .field{min-width:0}.contact-schedule{border:1px solid #dfe6ee;background:#f7f9fc;border-radius:12px;padding:16px;margin:12px 0}.contact-clock{font-size:13px;color:#205b89;background:#eef5fc;border-radius:8px;padding:10px;line-height:1.8}.contact-days{display:flex;gap:12px;flex-wrap:wrap}.contact-row .two-cols{align-items:start}@media(max-width:600px){.channel-line{grid-template-columns:minmax(75px,.7fr) minmax(110px,1.4fr) 24px}.contact-row>summary{flex-wrap:wrap}.contact-schedule{padding:12px}}
.quick-contact-info{padding:16px 18px;border:1px solid #dce6f1;background:#f4f8fc;border-radius:12px;margin:0 0 18px}.quick-contact-info p{font-size:13px;color:#53667c;margin:8px 0;line-height:1.6}a.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
/* Dashboard contact reminders */
.section-gap-bottom{margin-bottom:24px}.reminder-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.reminder-card{padding:18px;text-align:left;background:#f8fafc;border:1px solid #e1e7f0;border-radius:10px;cursor:pointer;color:#4b607b}.reminder-card span,.reminder-card small{display:block}.reminder-card strong{display:block;font-size:28px;margin:8px 0}.reminder-card small{font-size:11px;color:#75859b}.reminder-card.active{border:2px solid #4272c6;background:#edf4ff;padding:17px}.reminder-card.overdue strong{color:#b84d46}.reminder-card.today strong{color:#a77825}.reminder-status{font-size:13px;line-height:1.7;margin-top:18px}.reminder-status.urgent{color:#b84d46}.reminder-entry{border:1px solid #d5e0f3;border-radius:7px;padding:8px 12px;background:#f3f7fe;color:#40679e;cursor:pointer;font-size:12px;white-space:nowrap}.reminder-entry.urgent{background:#fff0ed;color:#b84d46;border-color:#f2c9c3}.reminder-list .wrap-cell{max-width:330px}.reminder-list .link-button{text-align:left}.reminder-list td{vertical-align:top}
@media(max-width:760px){.reminder-cards{gap:7px}.reminder-card{padding:10px}.reminder-card.active{padding:9px}.reminder-card span{font-size:12px}.reminder-card strong{font-size:23px}.reminder-card small{font-size:10px;line-height:1.5}.userbar{gap:7px}.userbar .badge.demo{display:none}.reminder-entry{padding:7px;font-size:11px}.reminder-list th,.reminder-list td{padding:12px}}
.followup-schedule{border:0;padding:0;margin:0;min-width:0}.followup-schedule:disabled{opacity:.45}.followup-state-fields{margin-top:18px}.followup-state-fields [hidden]{display:none}.followup-state-actions{margin-top:14px}.badge.followup-active{background:#e8f4ed;color:#347b57}.badge.followup-paused{background:#fff3d8;color:#9c7429}.badge.followup-ended{background:#edf0f5;color:#68778d}.profile-heading{flex-wrap:wrap}.profile-heading>.badge{margin-left:0}

/* Shared list and searchable-select components */
.list-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 20px;flex-wrap:wrap}.custom-list{table-layout:fixed;min-width:100%}.custom-list td{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-list th{position:relative;cursor:grab;user-select:none}.column-resizer{position:absolute;right:0;top:0;bottom:0;width:9px;cursor:col-resize;border-right:2px solid #d5dce8;touch-action:none}.column-resizer:focus{outline:2px solid #4263e8}.column-option{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #e5eaf1}.column-option label,.column-option>span:first-child{flex:1}.column-option label input{width:auto;margin-right:8px}.column-option>input[type=number]{width:86px}.column-options{max-height:55vh;overflow:auto}.search-select{display:block;position:relative;min-width:0;width:100%}.search-native{position:absolute!important;opacity:0;width:1px!important;height:1px!important;pointer-events:none;left:0;top:0}.search-trigger{width:100%;min-height:40px;border:1px solid #dbe1e9;border-radius:7px;background:#fff;text-align:left;color:inherit;padding:9px 28px 9px 11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-trigger:after{content:'⌄';position:absolute;right:10px}.search-trigger:disabled{background:#f4f6fa;color:#8a95a6}.search-panel{display:block;padding:10px;margin-top:4px;background:#fff;border:1px solid #c8d2e2;border-radius:8px;box-shadow:0 5px 18px #182f4d18}.search-panel[hidden]{display:none}.search-panel input{width:100%;min-width:120px}.search-results{display:block;max-height:230px;overflow:auto;margin-top:6px}.search-results button{display:block;border:0;background:white;text-align:left;padding:9px;width:100%;color:inherit}.search-results button:hover,.search-results button:focus,.search-results button[aria-selected=true]{background:#edf2ff}.search-results button:disabled{color:#96a0ac}.search-extra{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}.search-extra small{color:#6d7b8e}.filterbar>.search-select,.crm-toolbar>.search-select{width:180px;flex-shrink:0}.filterbar .search-panel{position:absolute;z-index:12;min-width:250px}.edit-table .search-select{min-width:180px}
.custom-list th[data-column],.column-option{touch-action:none;user-select:none;cursor:grab}.column-dragging{opacity:.55;cursor:grabbing}
.text-suggestions{display:block;position:relative}.text-suggestions>input{padding-right:38px;width:100%}.suggestion-toggle{position:absolute;right:4px;top:4px;width:30px;height:32px;border:0;background:transparent;color:var(--muted);cursor:pointer}.suggestion-panel{display:block;border:1px solid #dce2ec;border-radius:8px;background:#fff;padding:8px;margin-top:4px}.suggestion-panel[hidden]{display:none}.suggestion-panel>[role=listbox]{display:block;max-height:220px;overflow:auto}.suggestion-panel [role=option]{display:block;width:100%;border:0;background:transparent;text-align:left;padding:9px;color:inherit;cursor:pointer}.suggestion-panel [role=option]:hover,.suggestion-panel [role=option]:focus{background:#edf2ff}.suggestion-panel small{display:block;color:#697586;padding:6px;font-weight:400}
[data-simple-payment][hidden]{display:none}
.text-suggestions>textarea{padding-right:40px}.suggestion-panel [role=option]{white-space:pre-wrap}.suggestion-panel [data-manage]{margin-left:12px}
/* Shared compact packaging editor: one component per row. */
.packing-grid table{table-layout:fixed;min-width:910px;width:100%;font-size:12px}.packing-grid th,.packing-grid td{padding:7px 4px;white-space:nowrap}.packing-grid input,.packing-grid select{width:100%;min-width:0;padding:8px 5px;font-size:12px}.packing-grid .field{margin:0;display:block}.packing-grid .field>span:first-child{display:none}.packing-grid .search-select{min-width:0}.packing-grid .search-trigger{font-size:12px;padding:8px 5px}.packing-grid .icon-button{width:28px;height:32px}.packing-grid .search-panel{min-width:120px}.packing-grid .search-results button{font-size:12px}

.packing-grid col:nth-child(1){width:22%}.packing-grid col:nth-child(2){width:14%}.packing-grid col:nth-child(3){width:7%}.packing-grid col:nth-child(4),.packing-grid col:nth-child(5),.packing-grid col:nth-child(6){width:9%}.packing-grid col:nth-child(7),.packing-grid col:nth-child(8){width:12%}.packing-grid col:nth-child(9){width:6%}
.document-form-header{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:20px}.document-parties{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start}.document-parties>div{min-width:0}.document-parties .field{margin-bottom:4px}.document-parties #customer-language-hint:empty{display:none}.document-party-details{margin:2px 0 12px}.document-party-details>summary{font-size:11px;padding:6px 0}.document-party-details[open]{padding-bottom:8px}.document-party-details .two-cols,.document-party-details .three-cols{grid-template-columns:1fr}.document-meta-fields{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:end}.document-meta-fields>.field{grid-column:span 2;min-width:0;margin-bottom:0}.document-number{grid-column:span 4;display:flex;align-items:end;gap:6px;min-width:0}.document-number .field{flex:1;min-width:0;margin-bottom:0}.document-number .btn{height:40px;flex-shrink:0}.document-form-header input,.document-form-header select{font-size:12px;padding:9px 8px}.document-number-help{margin:2px 0}.document-number-help summary{font-size:11px;padding:6px 0}.document-subject{margin-top:10px}.document-subject .field{margin-bottom:0}.document-form-header .hint{font-size:11px;margin:6px 0}@media(max-width:760px){.document-parties{grid-template-columns:1fr;gap:4px}.document-meta-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.document-meta-fields>.field{grid-column:span 1}.document-number{grid-column:1/-1}}
.edit-table .line-entry>td{vertical-align:top}.edit-table .line-entry input,.edit-table .line-entry select,.edit-table .line-entry .search-trigger{height:40px;min-height:40px}.edit-table .line-entry .icon-button{height:40px}.edit-table .line-entry [data-reference]{display:block;margin-top:5px}
.payment-compact-row{display:grid;grid-template-columns:minmax(150px,1.2fr) minmax(90px,.7fr) minmax(90px,.65fr) minmax(150px,1.2fr) minmax(140px,1fr);gap:12px;align-items:end;margin-bottom:14px}.payment-compact-row [data-simple-payment]{display:contents}.payment-compact-row .field{min-width:0;margin-bottom:0}.payment-compact-row .checkline{margin:0;min-height:40px;white-space:nowrap}.payment-compact-row:has([name=staged_payment]:checked){grid-template-columns:minmax(150px,1.2fr) minmax(100px,1fr) minmax(150px,1fr)}.payment-compact-row input,.payment-compact-row .search-trigger{font-size:12px}
.trade-clause-list .field{display:grid;grid-template-columns:210px minmax(0,1fr);gap:16px;align-items:center;margin-bottom:10px}.trade-clause-list .field>span:first-child{margin:0;font-size:12px}.trade-clause-list input,.trade-clause-list textarea{font-size:12px;min-height:40px}.trade-clause-list textarea{height:40px;white-space:pre;resize:vertical;overflow:auto}.trade-clause-list .text-suggestions{min-width:0;width:100%}.trade-clause-list [data-trade-preview]{margin:0 0 10px 226px;font-size:11px}@media(max-width:760px){.payment-compact-row,.payment-compact-row:has([name=staged_payment]:checked){grid-template-columns:1fr 1fr}.trade-clause-list .field{grid-template-columns:1fr;gap:5px}.trade-clause-list [data-trade-preview]{margin-left:0}.payment-compact-row .checkline{white-space:normal}}
.document-links{display:flex;gap:16px;flex-wrap:wrap;padding:12px 0;color:var(--muted);font-size:12px}.order-workspace{border:1px solid var(--line);border-radius:10px;padding:16px 18px;margin:18px 0;background:#fafcff}.order-followup-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}.order-followup-grid small{display:block;font-size:11px}.order-followup-grid strong{display:block;font-size:17px;margin:8px 0}.order-followup-grid p{font-size:12px;margin:6px 0}.order-followup-grid .link-button{font-size:12px}.order-followup-actions{display:flex;justify-content:space-between;gap:16px;align-items:center;border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.order-followup-actions p{margin:0;flex:1}.order-followup-actions .actions{flex-shrink:0}@media(max-width:760px){.order-followup-grid{grid-template-columns:1fr}.order-followup-actions{align-items:flex-start;flex-direction:column}}

.product-photo{display:block;max-width:150px;width:auto;height:auto;max-height:110px;object-fit:contain;margin:6px 0;break-inside:avoid}.image-print-toggle{display:inline-flex;align-items:center;gap:6px;margin:6px 12px}.product-image-editor{display:flex;align-items:center;gap:20px;padding:12px 0}.product-image-editor input[type=file]{display:block;max-width:220px;font-size:11px}.product-image-editor .actions{flex-wrap:wrap}@media print{.product-photo{max-width:38mm;max-height:28mm}.image-print-toggle{display:none}}

.product-image-editor label.btn{position:relative}.product-image-editor input[type=file]{position:absolute;inset:0;opacity:0;width:100%;max-width:none;height:100%;cursor:pointer}

.doc-product-card{border:1px solid var(--line);border-radius:10px;margin:0 0 18px;overflow:hidden}.doc-product-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:16px 18px;background:#fafbfd;border-bottom:1px solid var(--line);align-items:center}.doc-product-head h3{margin:0 0 5px;font-size:14px}.doc-product-values{display:grid;grid-template-columns:repeat(4,minmax(64px,auto));gap:22px;margin:0;text-align:right}.doc-product-values dt{color:var(--muted);font-size:11px;margin-bottom:6px}.doc-product-values dd{margin:0;font-size:13px;white-space:nowrap}.doc-product-body{padding:20px 18px;display:grid;gap:24px}.doc-product-body.has-photo{grid-template-columns:180px minmax(0,1fr)}.doc-product-picture{margin:0;align-self:start;text-align:center}.doc-product-picture figcaption{font-size:11px;color:var(--muted);margin-bottom:14px}.doc-product-picture .product-photo{width:100%;max-width:180px;max-height:160px;object-fit:contain;margin:0 auto}.doc-product-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;min-width:0}.doc-product-specs h4{font-size:12px;margin:0 0 12px;color:#526582}.doc-product-specs p{font-size:12px;line-height:1.75;margin:0;overflow-wrap:anywhere}.doc-product-extra{padding:0 18px 16px;font-size:12px}.doc-product-extra>details{margin-top:10px}.doc-product-compliance{display:flex;gap:24px;flex-wrap:wrap;color:#526582}.doc-product-extra .pre{overflow-wrap:anywhere}@media(max-width:760px){.doc-product-head{grid-template-columns:1fr}.doc-product-values{text-align:left;gap:12px}.doc-product-body.has-photo{grid-template-columns:120px minmax(0,1fr);gap:16px}.doc-product-specs{grid-template-columns:1fr}.doc-product-picture .product-photo{max-width:120px}}@media(max-width:440px){.doc-product-body.has-photo{grid-template-columns:1fr}.doc-product-values{grid-template-columns:repeat(2,1fr)}.doc-product-picture{justify-self:start}}

.ce-mark{display:inline-block;font-family:Arial,sans-serif;font-weight:600;letter-spacing:.08em;font-size:1.1em}

/* Keep product copy/edit accessible while the configurable table scrolls. */
.has-copy-action th:last-child,.has-copy-action td:last-child{position:sticky;right:0;background:var(--surface,#fff);box-shadow:-1px 0 0 var(--border,#e5eaf1);white-space:nowrap;z-index:1}
.has-copy-action th:last-child{background:#f8fafc;z-index:2}
.payment-compact-row [hidden]{display:none!important}

.product-interests{border:1px solid #dce4f0;border-radius:10px;padding:14px 16px;margin:16px 0}.product-interests legend{color:#526782;padding:0 6px;font-weight:600}.product-interests .checks{gap:12px 24px;flex-wrap:wrap}.crm-interest-summary{margin:14px 0}.crm-interest-summary .badge,.custom-list td .badge{margin:3px 4px 3px 0;white-space:normal}
/* Export refund ledger: explicit financial stages and compact editable records. */
.tax-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:16px 0}.tax-toolbar .field{flex:1;min-width:180px;margin:0}.tax-toolbar .btn{flex-shrink:0}.tax-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0}.tax-metric{padding:18px;background:#fff;border:1px solid var(--line);border-radius:10px}.tax-metric span{display:block;color:var(--muted);font-size:12px;margin-bottom:12px}.tax-metric strong{display:block;font-size:25px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.tax-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px}.tax-grid .field{margin:0}.tax-grid p{border-bottom:1px solid var(--line);padding:10px 0;overflow-wrap:anywhere}.tax-grid strong{color:var(--muted);font-size:12px;font-weight:500}.dialog fieldset{border:1px solid var(--line);border-radius:8px;margin:16px 0;padding:18px}.dialog fieldset legend{padding:0 8px;font-weight:600}.dialog fieldset .link-button{margin-top:14px}.tax-toolbar .badge{margin-bottom:8px}@media(max-width:900px){.tax-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.tax-metric strong{font-size:22px}}@media(max-width:600px){.tax-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.tax-grid{grid-template-columns:1fr}}
.business-wide{grid-column:1/-1}.business-wide>fieldset{margin:8px 0}.business-wide .tax-grid{align-items:start}.business-wide h3{margin-top:12px}

.export-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:18px;border-bottom:1px solid var(--line)}.stat .export-stat{font-size:22px}

/* Service expenses: one compact line, allocation details on demand. */
.service-lines .service-line{padding:14px;margin:12px 0;background:#fafcff}.service-line-main{display:grid;grid-template-columns:24px minmax(140px,1.5fr) 70px 75px minmax(110px,1fr) 100px 110px 42px;gap:10px;align-items:end}.service-line-main .service-index{padding-bottom:12px;color:var(--muted)}.service-line-main .link-button{margin:0 0 12px!important}.service-line-main output{display:block;padding:12px 0;font-weight:600;font-variant-numeric:tabular-nums}.service-lines [data-custom]:not([hidden]){margin-top:12px}.service-allocations{margin-top:16px;border-top:1px solid var(--line);padding-top:12px}.service-allocations summary{cursor:pointer;color:var(--accent,#2563eb);font-size:13px}.service-allocation-row{display:grid;grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) 150px 70px;gap:12px;align-items:end;margin:12px 0}.service-allocation-row .checkline{padding-bottom:12px}.service-lines .hint{border:0;padding:0;line-height:1.7}@media(max-width:1000px){.service-line-main{grid-template-columns:24px minmax(140px,2fr) 70px 70px minmax(100px,1fr) 90px 100px 42px;gap:6px}.service-lines{overflow-x:auto}.service-line{min-width:800px}.service-allocation-row{grid-template-columns:minmax(220px,2fr) minmax(130px,1fr) 150px 70px}}

.purchase-parties{display:grid;grid-template-columns:1fr 1fr;gap:18px}.purchase-party{border:1px solid var(--line);border-radius:10px;padding:16px;background:#fafcff}.purchase-party h3{margin:0 0 12px}.purchase-party details{margin-top:14px}.purchase-party summary,.purchase-agreement-fields summary{cursor:pointer;color:var(--muted);font-size:13px}.purchase-party [data-detail]{margin-top:12px}.purchase-party [data-main] .field>span:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.purchase-agreement-fields{padding:16px;border:1px solid var(--line);border-radius:8px}.service-line-main{grid-template-columns:20px minmax(140px,1.5fr) 55px 55px minmax(95px,1fr) 70px 75px 85px 95px 36px;gap:7px}.service-line-main .field input,.service-line-main .field select{padding-left:8px;padding-right:6px}.service-line-main .field>span{font-size:11px}.service-lines .service-line{min-width:900px}.service-lines{overflow-x:auto}@media(max-width:600px){.purchase-parties{grid-template-columns:1fr}.purchase-party [data-detail]{grid-template-columns:1fr}}

/* Expense-specific list/detail; warehouse and bank views retain their layouts. */
.cost-list table{min-width:940px}.cost-list td{padding:14px 12px;vertical-align:top;font-size:12px}.cost-list th{padding:12px;font-size:11px}.cost-list small,.cost-lines small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.cost-list strong{font-weight:600}.cost-list .link-button{font-size:12px;text-align:left}.cost-list td:nth-child(2){max-width:220px}.cost-list td:nth-child(3){max-width:230px}.cost-money{white-space:nowrap}.cost-muted{color:var(--muted)}.cost-voided{opacity:.65}.cost-status{display:inline-block;padding:4px 8px;border-radius:5px;font-size:11px;white-space:nowrap}.cost-status.pending{background:#fff2e8;color:#a45520}.cost-status.partial{background:#eef3ff;color:#365b99}.cost-status.complete{background:#eaf7ef;color:#267350}.cost-status.neutral{background:#eef1f6;color:#60718a}.cost-filter .field:first-child{flex:3}.cost-filter .field:nth-child(2){flex:1;max-width:220px}.cost-detail-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.cost-detail-head h2{font-size:20px;margin:0}.cost-detail-head p{font-size:12px;color:var(--muted);margin:8px 0 0}.cost-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.cost-metrics>div{border:1px solid var(--line);border-radius:8px;padding:14px;background:#fafcff}.cost-metrics>div>span:first-child{display:block;font-size:11px;color:var(--muted)}.cost-metrics strong{display:block;font-size:21px;font-variant-numeric:tabular-nums;margin:8px 0}.cost-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0 20px}.cost-actions .btn{font-size:12px;padding:9px 12px}.cost-more{position:relative;font-size:12px;color:var(--muted)}.cost-more summary{cursor:pointer;padding:10px}.cost-more>div{position:absolute;right:0;background:white;box-shadow:0 4px 20px #23344a20;padding:10px;z-index:3;min-width:150px;display:grid;gap:8px}.cost-parties{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0}.cost-parties section>span,.cost-terms>span{display:block;color:var(--muted);font-size:11px}.cost-parties strong{display:block;font-size:14px;margin:6px 0}.cost-parties summary{font-size:11px;cursor:pointer;color:#5675a3}.cost-detail dl,.cost-fold dl{display:grid;gap:8px;margin:12px 0;font-size:12px}.cost-detail dl div,.cost-fold dl div{display:grid;grid-template-columns:70px 1fr;gap:8px}.cost-detail dt,.cost-fold dt{color:var(--muted)}.cost-detail dd,.cost-fold dd{margin:0;overflow-wrap:anywhere}.cost-detail h3{font-size:14px;margin:18px 0 10px}.cost-lines table{min-width:760px}.cost-lines td,.cost-lines th{font-size:11px;padding:12px 8px;vertical-align:top}.cost-lines td:last-child{max-width:230px}.cost-terms{margin:14px 0}.cost-terms p{font-size:12px;margin:5px 0;white-space:pre-wrap}.cost-fold{border-top:1px solid var(--line);padding:12px 0;font-size:12px}.cost-fold summary{cursor:pointer;color:#62748c}.cost-fold p{font-size:12px;line-height:1.7}.cost-fold .link-button{font-size:12px}@media(max-width:650px){.cost-metrics{grid-template-columns:repeat(2,1fr)}.cost-parties{grid-template-columns:1fr}.cost-filter .field:nth-child(2){max-width:none}}
/* Trade ledger columns use the same account-scoped settings as sales lists. */
.trade-ledger{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-top:12px;min-width:0}
.trade-ledger .list-tools{padding:12px 14px;margin:0;border-bottom:1px solid var(--line);gap:12px;flex-wrap:wrap}
.trade-ledger .list-tools .hint{font-size:11px}.trade-ledger .table-wrap{margin:0;max-width:100%;overflow:auto}
.trade-ledger .custom-list{min-width:100%;table-layout:fixed}.trade-ledger .custom-list th{font-size:11px;padding:12px 10px;white-space:normal}
.trade-ledger .custom-list td{font-size:12px;padding:14px 10px;vertical-align:top;white-space:normal;overflow-wrap:anywhere;line-height:1.65}
.trade-ledger td small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.trade-ledger .link-button{font-size:12px;text-align:left;overflow-wrap:anywhere}
.trade-ledger th:last-child,.trade-ledger td:last-child{position:sticky;right:0;background:#fff;border-left:1px solid var(--line);z-index:1}
.trade-ledger th:last-child{background:#f8faff}.ledger-money{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:600}
.ledger-overview{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.ledger-overview section{border:1px solid var(--line);border-radius:12px;background:#fff;padding:12px 18px;min-width:280px}
.ledger-overview section>span{font-size:11px;color:var(--muted)}.ledger-overview section>div{display:flex;gap:30px}.ledger-overview p{font-size:11px;color:var(--muted);margin:7px 0 0}.ledger-overview strong{display:block;color:var(--ink);font-size:18px;margin-top:4px}
.ledger-missing{font-size:11px;margin-top:7px;color:#8c4b15}.ledger-missing summary{cursor:pointer}.ledger-missing div{padding:4px 0}.trade-ledger td small.ledger-warning{color:#a65012}
@media(max-width:650px){.ledger-overview section{min-width:0;width:100%}.trade-ledger .list-tools{align-items:flex-start}.trade-ledger th:last-child,.trade-ledger td:last-child{position:static}}
.purchase-filter .field:first-child{flex:2;min-width:250px}.purchase-filter .field:not(:first-child){flex:1;min-width:150px;max-width:185px}.purchase-section-title{display:flex;align-items:center;gap:10px;margin-top:14px}.purchase-section-title h3{margin-right:auto}.purchase-section-title small{font-size:11px;color:var(--muted)}@media(max-width:650px){.purchase-filter .field{min-width:100%!important;max-width:none!important}.purchase-section-title{flex-wrap:wrap}}
/* Focused certificate and bank workspaces. */
.ledger-workspace .page-head{margin-bottom:18px}.ledger-workspace .page-head p{font-size:13px}.ledger-counts{font-size:13px;color:var(--muted);margin:18px 0}.ledger-status-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:18px 0 12px}.ledger-status-tabs .btn{border-radius:20px;padding:8px 14px;font-size:12px;background:#fff}.ledger-status-tabs .btn span{margin-left:7px;color:var(--muted);font-size:11px}.ledger-status-tabs .active{border-color:#2563eb;color:#2563eb;background:#eff5ff}.ledger-filters{display:grid;grid-template-columns:minmax(230px,2.6fr) repeat(3,minmax(110px,1fr)) auto;gap:12px;align-items:end}.ledger-filters .field{margin:0;min-width:0}.ledger-filters .field>span{font-size:11px}.ledger-filters input,.ledger-filters select,.ledger-filters .select-trigger{font-size:12px;min-height:38px;padding:9px 10px}.ledger-filter-buttons{display:flex;gap:6px;padding-bottom:1px}.ledger-filter-buttons .btn{font-size:12px;padding:9px 13px}.ledger-date-filter{grid-column:1/-1;font-size:12px;color:var(--muted)}.ledger-date-filter summary{cursor:pointer}.ledger-date-filter>div{display:flex;gap:12px;max-width:420px;margin-top:10px}.ledger-date-filter .field{flex:1}.ledger-file-link{display:block;font-size:11px;margin-top:7px}.ledger-detail{font-size:13px}.ledger-detail-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.ledger-detail-head h2{margin:0;font-size:21px}.ledger-detail-head p{color:var(--muted);font-size:12px;margin:8px 0}.ledger-detail-actions{display:flex;align-items:center;gap:8px;margin:18px 0 12px;flex-wrap:wrap}.ledger-detail-actions .btn{font-size:12px;padding:9px 13px}.ledger-state-note{background:#f5f8fc;border-radius:8px;padding:11px 14px;color:#60718a;font-size:12px}.ledger-detail-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.ledger-detail-metrics>div{padding:15px;background:#f8faff;border:1px solid var(--line);border-radius:9px}.ledger-detail-metrics span{display:block;color:var(--muted);font-size:12px}.ledger-detail-metrics strong{display:block;font-size:21px;font-variant-numeric:tabular-nums;margin-top:8px;overflow-wrap:anywhere}.ledger-panel{border:1px solid var(--line);border-radius:10px;padding:18px;margin:16px 0;background:white}.ledger-panel h3{font-size:14px;margin:0 0 16px}.ledger-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;margin:0}.ledger-info dt{font-size:11px;color:var(--muted);margin-bottom:7px}.ledger-info dd{font-size:13px;margin:0;overflow-wrap:anywhere}.ledger-info details{font-size:11px;color:var(--muted);margin-top:7px}.ledger-info summary{cursor:pointer}.ledger-panel td,.ledger-panel th{padding:12px 10px;font-size:12px}.ledger-panel small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.ledger-panel .table-wrap{margin:0}.ledger-file-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 0;border-top:1px solid #edf1f6}.ledger-file-row:first-child{border-top:0}.ledger-file-row>div{min-width:0;overflow-wrap:anywhere}.ledger-file-row a{font-size:12px}.ledger-note{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.ledger-detail .cost-more{margin-left:auto}.ledger-detail .ledger-warning{font-size:12px;line-height:1.7}.ledger-workspace .hint{font-size:11px;line-height:1.7}
@media(max-width:1000px){.ledger-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.ledger-filters>.field:first-child{grid-column:span 2}.ledger-info{grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-detail-metrics strong{font-size:17px}}
@media(max-width:600px){.ledger-filters{grid-template-columns:1fr 1fr}.ledger-filters>.field:first-child{grid-column:1/-1}.ledger-info{grid-template-columns:1fr}.ledger-detail-metrics{grid-template-columns:1fr 1fr}.ledger-panel{padding:13px}}
.ledger-filters.certificate-filter{grid-template-columns:minmax(230px,2.6fr) minmax(140px,1fr) minmax(140px,1fr) auto}@media(max-width:1000px){.ledger-filters.certificate-filter{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Bank receipt entry: compact identity, account and order allocation. */
.receipt-entry{font-size:13px}.receipt-entry>.hint{margin-top:0}.receipt-entry-section{border:1px solid var(--line);border-radius:10px;padding:18px;margin:16px 0;background:#fff}.receipt-entry-section h3{font-size:14px;margin:0 0 14px}.receipt-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}.receipt-entry .field{margin:0;min-width:0}.receipt-entry .field>span{font-size:12px}.receipt-entry input,.receipt-entry select,.receipt-entry .select-trigger{font-size:13px;min-height:40px;padding:10px 12px}.receipt-entry .hint{font-size:12px;line-height:1.7}.receipt-entry details{font-size:12px;color:var(--muted);margin:12px 0 0}.receipt-entry summary{cursor:pointer}.receipt-account-details[open]>.field{margin-top:12px}.receipt-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.receipt-money-grid input{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.receipt-money-grid input[readonly]{background:#f0f6ff;color:#265fbc}.receipt-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.receipt-section-head h3{margin:0}.receipt-order-row{border-top:1px solid var(--line);padding:15px 0}.receipt-order-grid{display:grid;grid-template-columns:minmax(160px,2fr) minmax(130px,1fr) minmax(110px,1fr) auto;gap:12px;align-items:end}.receipt-order-grid>.link-button{align-self:center;font-size:12px}.receipt-existing{background:#f7f9fc;padding:12px;margin-top:12px;border-radius:8px;display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:center}.receipt-existing .hint{margin:0}.receipt-row-foot{display:flex;gap:12px;justify-content:space-between;margin-top:10px;color:var(--muted);font-size:11px}.receipt-row-foot .link-button{font-size:11px;white-space:nowrap}.receipt-allocation-summary{padding:12px;background:#fff5e8;border-radius:8px;font-size:12px;color:#9b581f}.receipt-allocation-summary.matched{background:#edf8f1;color:#28724a}.receipt-entry .form-actions{position:sticky;bottom:-28px;background:white;padding:15px 0;margin-bottom:-15px;border-top:1px solid var(--line);z-index:2}@media(max-width:700px){.receipt-entry-grid,.receipt-order-grid,.receipt-existing{grid-template-columns:1fr 1fr}.receipt-money-grid{grid-template-columns:1fr}.receipt-order-grid>.field:first-child{grid-column:1/-1}.receipt-entry-section{padding:12px}}

.fx-source-head{margin-top:18px}.fx-source-grid{display:grid;grid-template-columns:minmax(200px,2fr) minmax(120px,1fr) auto auto;gap:12px;align-items:end}.fx-source-grid>.link-button{font-size:11px;align-self:center}.fx-cny-grid{grid-template-columns:1fr 1fr;margin:12px 0}.fx-entry details>.field{margin-top:12px}.fx-entry .receipt-entry-section>.field{margin-top:14px}.fx-entry .receipt-order-row:last-child{padding-bottom:0}@media(max-width:700px){.fx-source-grid{grid-template-columns:1fr 1fr}.fx-source-grid>.field:first-child{grid-column:1/-1}}

.business-file-actions{display:inline-flex;align-items:center;gap:16px;flex-wrap:wrap;margin:0 12px}.business-file-actions a{white-space:nowrap}.ledger-file-row>div:first-child{min-width:0;overflow-wrap:anywhere;flex:1}.business-file-actions small{color:var(--muted,#75849b)}

.supplier-payment-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(140px,1fr) auto;gap:12px;align-items:end}.supplier-payment-row>.link-button{margin-bottom:10px}.supplier-payment-invoice{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}.supplier-payment-invoice summary{cursor:pointer;color:var(--muted);margin-bottom:10px}.supplier-payment-entry [data-payee-detail]{margin-top:12px}.supplier-payment-entry .receipt-row-foot{flex-wrap:wrap;gap:8px}@media(max-width:650px){.supplier-payment-row{grid-template-columns:1fr}.supplier-payment-row>.link-button{justify-self:end}}

/* Supplier invoices follow the reading order of the original invoice. */
.invoice-entry-toolbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.invoice-paper{border:1px solid var(--line);border-radius:10px;padding:20px;background:#fff}
.invoice-paper-title{text-align:center;font-size:22px;font-weight:650;color:#354b6b;margin-bottom:20px}
.invoice-meta,.invoice-business{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.invoice-parties{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0}
.invoice-parties>section{padding:16px 20px 6px 0}.invoice-parties>section+section{padding-left:20px;padding-right:0;border-left:1px solid var(--line)}
.invoice-parties h3{margin:0 0 14px}.invoice-entry label{margin-bottom:12px}
.invoice-line-scroll{overflow-x:auto}.invoice-line-table{min-width:940px;width:100%;table-layout:fixed}
.invoice-line-table th,.invoice-line-table td{padding:8px 5px}.invoice-line-table th:nth-child(1){width:6%}.invoice-line-table th:nth-child(2){width:26%}.invoice-line-table th:nth-child(3){width:7%}.invoice-line-table th:nth-child(4){width:11%}.invoice-line-table th:nth-child(5){width:16%}.invoice-line-table th:nth-child(6){width:10%}.invoice-line-table th:nth-child(7){width:16%}.invoice-line-table th:nth-child(8){width:8%}
.invoice-line-table input{width:100%;min-width:0;padding:9px 7px}.invoice-totals{padding:16px;background:#f3f7ff;border-radius:6px;text-align:right;margin:14px 0;font-weight:600}
.invoice-source-details{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:8px}.invoice-source-details summary{cursor:pointer;font-weight:600}
.invoice-link-row{display:grid;grid-template-columns:1fr 2fr 1fr 1fr 1fr auto;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}
.invoice-source-choice{display:flex;gap:10px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.invoice-source-choice input{width:auto}.invoice-source-choice small{display:block;color:var(--muted);margin-top:6px}
@media(max-width:700px){.invoice-meta,.invoice-business,.invoice-parties,.invoice-link-row{grid-template-columns:1fr}.invoice-parties>section+section{border-left:0;border-top:1px solid var(--line);padding-left:0}.invoice-paper{padding:12px}}
.invoice-entry .field{margin:0;min-width:0}.invoice-entry .field>span{font-size:12px}.invoice-entry .invoice-parties{margin:12px 0}.invoice-entry .invoice-parties>section{padding-top:12px;padding-bottom:6px}.invoice-entry .invoice-parties .field{display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:center;margin:8px 0}.invoice-entry .invoice-parties h3{margin-bottom:6px}.invoice-paper-title{font-size:19px;margin-bottom:14px}.invoice-entry .hint{font-size:12px}.invoice-entry .form-actions{position:sticky;bottom:-28px;background:#fff;padding:14px 0;margin-bottom:-14px;border-top:1px solid var(--line);z-index:2}.invoice-entry .receipt-section-head{margin:12px 0}

/* Read-only supplier invoice uses the same reading order as invoice entry. */
.invoice-view .invoice-value{min-width:0;margin:6px 0 12px}.invoice-value>span{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.invoice-value>strong{display:block;font-weight:500;overflow-wrap:anywhere;white-space:pre-wrap}
.invoice-view .invoice-parties{margin:14px 0}.invoice-view .invoice-parties>section{min-width:0;padding-top:14px;padding-bottom:8px}.invoice-view .invoice-parties .invoice-value{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:baseline}.invoice-view .invoice-parties h3{font-size:15px;margin-bottom:12px}
.invoice-view-subtitle{display:flex;align-items:center;justify-content:space-between;margin:12px 0}.invoice-view-subtitle h3{margin:0}.invoice-view-subtitle>span{color:var(--muted);font-size:13px}
.invoice-view-lines{width:100%;min-width:800px}.invoice-view-lines th,.invoice-view-lines td{padding:12px 10px;white-space:nowrap}.invoice-view-lines th:nth-child(2){width:30%}.invoice-view-lines td:nth-child(2){white-space:normal;overflow-wrap:anywhere;min-width:160px}.invoice-view-lines th:nth-child(n+4),.invoice-view-lines td:nth-child(n+4){text-align:right}
.invoice-view-totals{display:flex;justify-content:flex-end;gap:32px;flex-wrap:wrap}.invoice-view-totals .invoice-value{margin:0}.invoice-view-totals strong{font-size:18px;font-weight:650}.invoice-view-totals .invoice-value:last-child strong{color:var(--primary,#2563eb);font-size:21px}.invoice-view-note{border-top:1px solid var(--line);padding-top:10px}

.payment-view-amount{display:flex;gap:24px;align-items:center;justify-content:space-between;padding:20px;background:#f3f7ff;border-radius:10px;margin:16px 0}.payment-view-amount span{color:var(--muted);font-size:13px}.payment-view-amount strong{display:block;font-size:30px;margin-top:8px;color:#2563eb}.payment-view-amount p{font-size:13px;color:var(--muted);max-width:330px}.payment-view-parties>section{min-width:0}.payment-view-parties h3{font-size:15px}.payment-view-lines table{min-width:700px;width:100%}.payment-view-lines td{vertical-align:top;padding:14px 10px}.payment-view-lines th:last-child,.payment-view-lines td:last-child{text-align:right;white-space:nowrap}.payment-view-lines small{display:block;color:var(--muted);margin-top:7px}.payment-view-lines .link-button{text-align:left;overflow-wrap:anywhere}.payment-view-lines td:nth-child(2){max-width:300px;overflow-wrap:anywhere}.payment-view .invoice-value{margin:12px 0}.payment-view .cost-detail-head h2{margin:0}@media(max-width:700px){.payment-view-amount{align-items:flex-start;flex-direction:column;gap:6px}}

/* Compact purchase document view; all procurement actions and quantities retained. */
.purchase-view .cost-detail-head{align-items:flex-start;margin-bottom:12px}.purchase-view .cost-detail-head h2{font-size:21px}.purchase-view .cost-detail-head p{margin:5px 0 0}.purchase-view .cost-actions{margin:12px 0;gap:7px}.purchase-view>.hint{margin:8px 0 14px;font-size:12px}
.purchase-view-paper{border:1px solid var(--line);border-radius:10px;padding:16px 18px;background:#fff}.purchase-view .cost-parties{padding:0 0 14px;border-top:0;gap:0}.purchase-view .cost-parties section{min-width:0;padding-right:20px}.purchase-view .cost-parties section+section{border-left:1px solid var(--line);padding-left:20px;padding-right:0}.purchase-view .cost-parties strong{font-size:15px;margin:6px 0 8px;overflow-wrap:anywhere}.purchase-view .cost-parties details{margin:0}.purchase-view .purchase-section-title{margin:12px 0 8px}.purchase-view .purchase-section-title h3{margin:0 auto 0 0;font-size:15px}
.purchase-view .cost-lines table{width:100%;min-width:850px}.purchase-view .cost-lines td{padding:11px 8px}.purchase-view .cost-lines th{padding:10px 8px;white-space:nowrap}.purchase-view .cost-lines th:first-child{width:24%}.purchase-view .cost-lines td:first-child{min-width:170px;overflow-wrap:anywhere}.purchase-view .cost-lines td:not(:first-child){white-space:nowrap}.purchase-view .cost-lines th:nth-child(n+3),.purchase-view .cost-lines td:nth-child(n+3){text-align:right}
.purchase-view .cost-metrics{gap:0;background:#f3f7ff;border-radius:8px;margin:14px 0 10px;padding:14px 0}.purchase-view .cost-metrics>div{border:0;border-radius:0;border-right:1px solid #dfe7f3;background:transparent;padding:0 16px}.purchase-view .cost-metrics>div:last-child{border:0}.purchase-view .cost-metrics strong{font-size:20px;margin:7px 0 0}.purchase-view .cost-metrics>div:first-child strong{color:#2563eb}.purchase-view .cost-terms{border-top:1px solid var(--line);padding-top:12px;margin:12px 0 0}.purchase-view-paper>.hint{font-size:11px;margin:8px 0}.purchase-view .cost-fold{padding:11px 0}.purchase-view .cost-parties dl{margin-bottom:0}@media(max-width:650px){.purchase-view-paper{padding:12px}.purchase-view .cost-parties section+section{border-left:0;border-top:1px solid var(--line);padding:12px 0 0;margin-top:12px}.purchase-view .cost-metrics{row-gap:16px}.purchase-view .cost-metrics>div:nth-child(2){border:0}}

.purchase-stat-summary{border:1px solid var(--border,#e1e7ef);border-radius:10px;padding:14px 16px;margin-bottom:12px}.purchase-stat-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:10px}.purchase-stat-metrics>div{padding-right:12px;border-right:1px solid #e6ebf2}.purchase-stat-metrics>div:last-child{border:0}.purchase-stat-metrics span{display:block;font-size:12px;color:#718096}.purchase-stat-metrics strong{display:block;font-size:18px;margin-top:4px;overflow-wrap:anywhere}[data-purchase-statistics] table td,[data-purchase-statistics] table th{padding:12px 9px}[data-purchase-statistics] table td:nth-child(n+6){white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}[data-purchase-statistics] summary{font-size:12px;color:#60758f;margin-top:6px}@media(max-width:650px){.purchase-stat-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Receipt ledger: one product per row, independent single-line columns. */
.receipt-item-list table th,.receipt-item-list table td{white-space:nowrap}

.refund-heading,.refund-next,.refund-task-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.refund-heading h3{margin:0}.refund-heading p,.refund-next p,.refund-tasks p{color:var(--muted);font-size:13px;margin:8px 0;line-height:1.6}.refund-steps{display:flex;gap:8px;padding:0;list-style:none;margin:20px 0}.refund-steps li{flex:1;padding:10px;border-bottom:3px solid var(--line);color:var(--muted);font-size:13px}.refund-steps .current{border-color:var(--brand,#2563eb);color:#2154ac;font-weight:600}.refund-next{background:#f0f5ff;border:1px solid #dbe6fb;padding:18px;border-radius:10px;margin-bottom:18px}.refund-next .btn{flex-shrink:0}.refund-tasks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.refund-tasks section{border:1px solid var(--line);border-radius:10px;padding:18px}.refund-tasks h4{margin:0;font-size:15px}.refund-tasks ul{padding-left:20px;line-height:1.7;font-size:13px;color:#99500e}.refund-task-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.refund-task-actions .btn{padding:8px 12px;font-size:13px}.refund-records,.refund-editor-section{margin:18px 0;border-top:1px solid var(--line);padding-top:14px}.refund-records>summary,.refund-editor-section>summary{cursor:pointer;color:#41618a;font-weight:600;padding:8px 0}.refund-editor-section[open]>summary{margin-bottom:14px}@media(max-width:700px){.refund-tasks{grid-template-columns:1fr}.refund-next{align-items:flex-start;flex-direction:column}.refund-steps{flex-wrap:wrap}.refund-steps li{min-width:90px}}

.refund-source-box{border:1px solid var(--line);background:#f8faff;border-radius:10px;padding:14px 16px;margin:12px 0}.refund-source-box p{font-size:13px;line-height:1.6;margin:8px 0}.refund-source-box .btn{margin:4px 8px 4px 0}.refund-source-box .tax-toolbar{gap:24px;margin:14px 0}.refund-source-box table{background:white}

/* Customer/supplier profile: compact aligned rows without overflowing narrow dialogs. */
.party-profile-compact .two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
.party-profile-compact .three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}
.party-profile-compact .two-cols>*,.party-profile-compact .three-cols>*{min-width:0}
.party-profile-compact .field{margin-bottom:12px}
.party-profile-compact .hint{margin-bottom:10px}
.party-profile-compact .form-section{margin-top:16px;padding-top:16px}
.party-industry-block{padding:12px 14px;margin-bottom:16px;background:#f7f9fc;border:1px solid var(--line);border-radius:8px}
.party-industry-block [data-selected]{margin:8px 0}
.party-profile-compact .search-trigger{min-width:0;white-space:normal;text-align:left}
@media(max-width:680px){.party-profile-compact .two-cols,.party-profile-compact .three-cols{grid-template-columns:1fr}}

.party-industry-block>div>button.link-button{float:right;margin-left:12px}

.party-toprow{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(180px,1.2fr) repeat(2,minmax(140px,1fr));gap:16px;align-items:start}
.party-toprow>*{min-width:0}
@media(max-width:760px){.party-toprow{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.party-toprow{grid-template-columns:1fr}}

.party-industry-block .product-interests{margin:16px 0 0;padding:14px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent}
.party-industry-block .product-interests legend{padding:0 8px 0 0;font-size:13px}
.party-industry-block .product-interests .hint{margin-bottom:0}

.party-interest-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.party-interest-columns>div{min-width:0}
.party-interest-columns .product-interests{margin:0;min-width:0;border-top:0;border-left:1px solid var(--line);padding:0 0 0 24px}
.party-interest-columns .product-interests legend{padding:0;font-size:13px}
.party-interest-columns .product-interests .checks{display:grid;grid-template-columns:1fr;gap:12px;margin:12px 0}
.party-interest-columns .product-interests .hint{margin-top:12px}
@media(max-width:680px){.party-interest-columns{grid-template-columns:1fr;gap:16px}.party-interest-columns .product-interests{border-left:0;border-top:1px solid var(--line);padding:14px 0 0}}

.party-classification-block{padding:16px;margin:0 0 18px;border:1px solid var(--line);border-radius:8px;background:#f7f9fc}
.party-profile-compact .party-classification-block .form-section{margin:0;padding:0;border:0}
.party-classification-block h4{margin:0 0 14px;font-size:14px}
.party-classification-block .party-status{margin-top:2px}
.party-classification-block>details{margin-top:10px;border-top:1px solid var(--line);padding-top:8px}
.party-classification-block>.hint{margin:10px 0 0}
/* Seller profile settings: keep company details and contacts in separate panels. */
.seller-settings-form .field{margin-bottom:14px;min-width:0}
.seller-settings-form .two-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
.seller-settings-form .three-cols{grid-template-columns:repeat(3,minmax(0,1fr))}
.seller-settings-tabs{margin-bottom:20px}
.seller-settings-section{border-top:1px solid var(--line);padding-top:16px;margin-top:4px}
.seller-settings-section h3{margin-bottom:12px}
.seller-settings-section textarea{min-height:68px;height:68px}
.seller-settings-section .card-title{padding:0;border:0;margin-bottom:10px}
.seller-settings-section .card-title h3{margin:0}
.seller-contact-card{padding:16px;background:#f8faff;border:1px solid var(--line);border-radius:8px;margin:12px 0}
.seller-settings-form .form-actions{align-items:center;justify-content:space-between;gap:16px}
.seller-settings-form .form-actions .hint{margin:0}
@media(max-width:680px){.seller-settings-form .two-cols,.seller-settings-form .three-cols{grid-template-columns:1fr}.seller-settings-form .form-actions{flex-wrap:wrap}}

.seller-address-row{margin:12px 0;padding:14px 16px;background:#f8faff}
.seller-address-row summary{cursor:pointer;color:#405978;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.seller-address-row summary .hint{font-weight:400}
.seller-address-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px}
.seller-address-head .field{flex:1;max-width:360px}
.seller-address-head .link-button{white-space:nowrap}

/* Site filing: public shell only, never inserted into business print templates. */
.site-filing{position:relative;padding:12px 20px 18px;text-align:center;font-size:12px;color:#7d8ba0;line-height:1.6;background:var(--bg,#f3f6fa)}
.site-filing a{color:inherit;text-decoration:none}.site-filing a:hover{text-decoration:underline;color:#345a81}.site-filing a:focus-visible{outline:2px solid #2f62d6;outline-offset:4px}
.auth-page{min-height:calc(100dvh - 50px)}
@media(min-width:761px){body:has(.sidebar)>.site-filing{margin-left:226px}}
@media(min-width:761px) and (max-width:1100px){body:has(.sidebar)>.site-filing{margin-left:196px}}
@media print{.site-filing{display:none}}
