/* Shared account shell. Scoped to the portal so public pages stay independent. */
.trade-portal{--portal-line:#e0e8ed;--portal-muted:#657e8e;--portal-soft:#eef5f9;background:#f5f8fa;min-height:100svh;color:var(--ink);font-size:14px;line-height:1.6}
.trade-portal *{box-sizing:border-box}
.trade-portal h1,.trade-portal h2,.trade-portal h3{color:var(--ink);letter-spacing:-.025em;line-height:1.25}
.trade-portal p{color:var(--portal-muted)}
.trade-portal a,.trade-portal button,.trade-portal input,.trade-portal select,.trade-portal textarea{-webkit-tap-highlight-color:transparent}
.trade-portal button,.trade-portal input,.trade-portal select,.trade-portal textarea{font-family:var(--font)}
.trade-portal button{cursor:pointer}
.trade-portal button:disabled{cursor:default;opacity:.5}
.trade-portal :is(a,button,input,select,textarea):focus-visible{outline:3px solid #2581b580;outline-offset:3px}
.trade-portal [tabindex="-1"]:focus{outline:none}
.portal-icon{width:20px;height:20px;flex:none;display:block}
.portal-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.portal-header{min-height:92px;padding:15px 34px;background:#fff;border-bottom:1px solid var(--portal-line);display:flex;align-items:center;justify-content:space-between;gap:24px}
.portal-brand-group,.portal-header-actions{display:flex;align-items:center;gap:28px}
.portal-header .brand{width:196px;gap:9px}
.portal-header .brand-mark{width:49px;height:56px}
.portal-header .brand-name{font-size:18px}
.portal-header .brand-name>span{font-size:10px;letter-spacing:.36em}
.portal-trade-label{border-left:1px solid var(--portal-line);padding-left:27px;color:#557487;font-size:12px;font-weight:600}
.portal-header-actions{gap:27px}
.portal-help-link{display:flex;gap:10px;align-items:center;font-size:10px;color:var(--portal-muted);line-height:1.7}
.portal-help-link .portal-icon{width:22px;height:22px;color:#7895a6}
.portal-help-link strong{font-size:13px;display:block;color:var(--ink);font-weight:700}
.portal-quiet-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:0;padding:9px 0;color:var(--portal-muted);font-size:11px;font-weight:600;min-height:38px;white-space:nowrap}
.portal-quiet-button .portal-icon{width:16px;height:16px}
.portal-quiet-button:hover{color:var(--blue)}
.portal-main{max-width:1600px;margin-inline:auto}
.portal-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:calc(100svh - 92px)}
.portal-sidebar{border-right:1px solid var(--portal-line);padding:33px 22px 24px;display:flex;flex-direction:column;gap:0;background:#fff}
.portal-workspace-label{font-size:9px;color:#8a9eaa;text-transform:uppercase;letter-spacing:.13em;font-weight:700;padding:0 13px;margin-bottom:17px}
.portal-nav{display:flex;flex-direction:column;align-items:stretch;gap:5px;font-size:12px;white-space:normal}
.portal-nav .portal-nav-link{position:relative;display:flex;align-items:center;gap:12px;min-height:45px;padding:11px 13px;border-radius:6px;color:#627b8a;font-weight:600;line-height:1.5}
.portal-nav .portal-nav-link:after{display:none}
.portal-nav-link>.portal-icon{width:19px;height:19px}
.portal-nav .portal-nav-link:hover{background:#f4f8fb;color:var(--blue)}
.portal-nav .portal-nav-link[aria-current="page"]{background:#eaf3f9;color:var(--blue);font-weight:800}
.portal-nav-link .portal-nav-arrow{width:13px;height:13px;margin-left:auto;opacity:0}
.portal-nav-link[aria-current="page"] .portal-nav-arrow{opacity:1}
.portal-sidebar-help{margin:58px 4px 25px;padding-top:23px;border-top:1px solid var(--portal-line)}
.portal-sidebar-help-icon{display:inline-flex;color:var(--blue);background:#f0f6fa;border-radius:50%;padding:8px;margin-bottom:13px}
.portal-sidebar-help h2{font-size:14px;font-weight:700;margin-bottom:9px}
.portal-sidebar-help p{font-size:11px;line-height:1.85;margin-bottom:14px}
.portal-sidebar-help a{font-size:11px;font-weight:700;color:var(--blue);display:flex;align-items:center;gap:8px}
.portal-sidebar-help a>.portal-icon{width:13px;height:13px}
.portal-back-link{margin-top:auto;padding:35px 4px 0;color:#6e8796;font-size:10px}
.portal-back-link:hover{text-decoration:underline;text-underline-offset:4px}
.portal-workspace{min-width:0;padding:22px 38px 0}
.portal-workspace-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px;min-height:38px}
.portal-company{margin:0!important;font-size:10px;letter-spacing:.02em;overflow-wrap:anywhere;color:#78909e!important}
.portal-kicker{font-size:9px;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:var(--blue)!important;margin:0 0 10px}
.portal-welcome{position:relative;display:flex;align-items:center;justify-content:space-between;gap:20px;background:linear-gradient(105deg,#e9f3f9 0%,#f0f7fb 64%,#e7f2f8 100%);border:1px solid #dce9f1;border-radius:8px;padding:30px 34px;margin-bottom:22px;overflow:hidden}
.portal-welcome h1{font-size:clamp(25px,2.25vw,36px);font-weight:650;line-height:1.25;margin:0 0 11px}
.portal-welcome p:not(.portal-kicker){font-size:12px;margin:0;line-height:1.8}
.portal-welcome-actions{display:flex;align-items:center;gap:23px;margin-top:23px}
.portal-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:43px;border:1px solid var(--blue);border-radius:5px;background:var(--blue);color:#fff;padding:10px 17px;font-size:11px;font-weight:750;line-height:1.7;white-space:nowrap;text-decoration:none}
.portal-button .portal-icon{width:16px;height:16px}
.portal-button:hover:not(:disabled){background:var(--blue-dark);border-color:var(--blue-dark)}
.portal-button-secondary{background:#fff;color:var(--ink);border-color:#d3e0e8}
.portal-button-secondary:hover:not(:disabled){background:#f1f6f9;border-color:#b2c9d8}
.portal-text-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:35px;font-size:11px;font-weight:700;color:var(--blue);padding:3px 0;background:none;border:0;line-height:1.6;text-decoration:none}
.portal-text-button .portal-icon{width:14px;height:14px}
.portal-text-button:hover{text-decoration:underline;text-underline-offset:4px}
.portal-welcome-art{width:143px;height:146px;flex:none;margin-right:15px;color:#438bb3}
.portal-welcome-art svg{width:100%;height:100%}
.portal-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:25px}
.portal-stat{min-width:0;background:#fff;border:1px solid var(--portal-line);border-radius:7px;display:flex;align-items:center;gap:15px;padding:20px 21px;transition:border-color .15s,box-shadow .15s}
.portal-stat:hover{border-color:#afcbdc;box-shadow:0 4px 14px #18364705}
.portal-stat-icon{display:grid;place-items:center;flex:none;width:39px;height:42px;border-radius:7px;background:#f0f6fa;color:var(--blue)}
.portal-stat-icon>.portal-icon{width:22px;height:22px}
.portal-stat-label{font-size:10px;color:var(--portal-muted);display:block;margin:0 0 3px;white-space:nowrap}
.portal-stat strong{font-size:27px;line-height:1.2;font-weight:650;letter-spacing:-.04em}
.portal-stat>.portal-stat-arrow{margin-left:auto;width:15px;height:15px;color:#9ab0bd}
.portal-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:21px}
.portal-panel{min-width:0;border:1px solid var(--portal-line);border-radius:7px;background:#fff;overflow:hidden}
.portal-panel-heading{min-height:65px;padding:16px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #eaf0f4}
.portal-panel-heading h2{font-size:15px;font-weight:750;margin:0}
.portal-panel-heading .portal-text-button{font-size:10px}
.portal-panel-heading .portal-icon{width:13px;height:13px}
.portal-empty{min-height:205px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:32px 22px}
.portal-empty-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#f4f8fb;color:#a2bac8;margin-bottom:14px}
.portal-empty-icon>.portal-icon{width:21px;height:21px}
.portal-empty p{font-size:12px;font-weight:650;color:#567082;margin:0 0 6px;line-height:1.7}
.portal-empty>span:not(.portal-empty-icon){font-size:10px;color:#90a2ad;line-height:1.8}
.portal-empty .portal-text-button{margin-top:12px}
.portal-support-strip{display:flex;align-items:center;gap:13px;margin-top:24px;padding:17px 21px;border:1px solid #e2eaf0;border-radius:6px;background:#eff5f9}
.portal-support-strip>.portal-icon{color:#7294a9;width:20px;height:20px}
.portal-support-strip p{font-size:10px;margin:0;flex:1;line-height:1.8}
.portal-support-strip p strong{color:#4b6b7d;font-weight:700;margin-right:6px}
.portal-support-strip>a{display:inline-flex;align-items:center;gap:10px;font-size:11px;font-weight:700;color:var(--blue);white-space:nowrap}
.portal-support-strip>a>.portal-icon{width:13px;height:13px}
.portal-page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:10px 0 25px}
.portal-page-heading h1{font-size:30px;font-weight:650;margin:0 0 10px}
.portal-page-heading p:not(.portal-kicker){font-size:12px;margin:0;line-height:1.85}
.portal-toolbar{padding:19px 22px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--portal-line)}
.portal-search{position:relative;flex:1;max-width:360px;margin:0!important}
.portal-search>.portal-icon{position:absolute;left:12px;top:12px;width:17px;height:17px;color:#8ca2b0;pointer-events:none}
.trade-portal .portal-search input{padding-left:38px;margin:0;min-height:41px;background:#fcfdfe;font-size:11px}
.portal-filter{margin:0!important;width:170px;flex:none}
.trade-portal .portal-filter select{margin:0;min-height:41px;font-size:11px;padding:9px 28px 9px 12px}
.portal-result-count{font-size:10px;color:#8ca0ad;margin-left:auto;white-space:nowrap}
.portal-register .portal-empty{min-height:330px}
.portal-record-list{list-style:none;padding:0;margin:0}
.portal-record-row{display:flex;align-items:center;gap:13px;padding:18px 22px;border-bottom:1px solid #edf2f5;width:100%;text-align:left;background:#fff;font-size:12px;color:var(--ink)}
button.portal-record-row{border-width:0 0 1px;border-style:solid;border-color:#edf2f5}
.portal-record-row:last-child{border-bottom:0}
a.portal-record-row:hover,button.portal-record-row:hover{background:#f8fbfd}
.portal-record-icon{display:grid;place-items:center;width:34px;height:38px;border:1px solid #e4edf2;border-radius:5px;color:#6898b3;flex:none}
.portal-record-icon .portal-icon{width:18px;height:18px}
.portal-record-content{min-width:0;flex:1}
.portal-record-title{font-size:12px;font-weight:750;display:block;color:var(--ink);overflow-wrap:anywhere}
.portal-record-meta{display:block;font-size:10px;color:#8a9da9;margin-top:4px;overflow-wrap:anywhere}
.portal-record-end{margin-left:auto;display:flex;align-items:flex-end;flex-direction:column;gap:6px;text-align:right;flex:none}
.portal-record-amount{font-size:12px;font-weight:700}
.portal-record-date{font-size:9px;color:#91a3ae}
.portal-status{display:inline-flex;align-items:center;gap:5px;border-radius:4px;padding:4px 7px;font-size:9px;font-weight:700;background:#eff4f7;color:#6c8492;line-height:1.6;white-space:nowrap}
.portal-status[data-tone="blue"]{background:#eaf4fb;color:#33789f}
.portal-status[data-tone="green"]{background:#eaf5ee;color:#497c5f}
.portal-status[data-tone="amber"]{background:#fff5e5;color:#98723f}
.portal-status[data-tone="red"]{background:#fcefed;color:#a4685d}
.portal-table-wrap{width:100%;overflow-x:auto}
.portal-table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}
.portal-table th{font-size:9px;font-weight:750;color:#8399a6;background:#f9fbfc;white-space:nowrap;padding:13px 20px;border-bottom:1px solid var(--portal-line)}
.portal-table td{padding:17px 20px;border-bottom:1px solid #edf2f5;color:#627c8d;vertical-align:middle}
.portal-table tbody tr:last-child td{border-bottom:0}
.portal-table .portal-text-button{font-size:10px}
.portal-table td strong{font-weight:700;color:var(--ink)}
.portal-document-row{display:flex;align-items:center;gap:14px;padding:19px 22px;border-bottom:1px solid #edf2f5}
.portal-document-row:last-child{border-bottom:0}
.portal-document-row .portal-text-button{margin-left:auto;flex:none}
.portal-account-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:22px}
.portal-soft-icon{color:#8eabbc}
.portal-account-details{padding:2px 22px 0;margin:0}
.portal-account-details>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:16px;border-bottom:1px solid #edf2f5;padding:18px 0;align-items:start}
.portal-account-details>div:last-child{border-bottom:0}
.portal-account-details dt{font-size:10px;color:#8ca0ad}
.portal-account-details dd{margin:0;font-size:12px;color:#4e6c7d;font-weight:650;overflow-wrap:anywhere}
.portal-panel-footnote{border-top:1px solid #edf2f5;padding:18px 22px;margin:0;font-size:10px;line-height:1.8;background:#fcfdfe}
.portal-contact-card{padding:28px}
.portal-contact-icon{color:var(--blue);background:#eff6fa;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin-bottom:22px}
.portal-contact-card h2{font-size:22px;font-weight:650;margin-bottom:13px}
.portal-contact-card p{font-size:12px;line-height:1.85;max-width:300px;margin-bottom:21px}
.portal-contact-phone{display:block;font-size:23px;font-weight:650;color:var(--blue);letter-spacing:-.025em}
.portal-contact-email{display:block;font-size:11px;color:#7b95a5;margin:5px 0 25px;overflow-wrap:anywhere}
.portal-notice{border:1px solid #cedfe9;border-left:3px solid var(--blue);border-radius:4px;background:#edf5fa;padding:13px 16px;font-size:12px;line-height:1.8;color:#4c6c7f;margin-bottom:19px;overflow-wrap:anywhere}
.portal-notice[data-tone="error"]{background:#fff4f2;border-color:#efcec8;border-left-color:#ba6759;color:#8d584f}
.portal-notice[data-tone="success"]{background:#eff8f1;border-color:#cee5d5;border-left-color:#5e9870;color:#4e795b}
.portal-notice a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.portal-pending{display:flex;align-items:flex-start;gap:15px;padding:20px 23px;border:1px solid #eadbc4;background:#fffaf1;border-radius:6px;margin-bottom:18px}
.portal-pending>.portal-icon{color:#a68a5d;margin-top:2px}
.portal-pending h2{font-size:15px;font-weight:700;margin:0 0 7px}
.portal-pending p{font-size:11px;line-height:1.85;margin:0 0 9px;color:#8d7d64}
.portal-pending a{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#8b734e}
.portal-pending a>.portal-icon{width:13px;height:13px}
.portal-gate{max-width:530px;margin:65px auto 90px;padding:43px 38px;background:#fff;border:1px solid var(--portal-line);border-radius:8px;text-align:center;box-shadow:0 12px 36px #13394f05}
.portal-gate-icon{margin:0 auto 22px;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#edf5fa;color:var(--blue)}
.portal-gate h1{font-size:28px;font-weight:650;margin:0 0 16px}
.portal-gate p:not(.portal-kicker){font-size:13px;line-height:1.85;overflow-wrap:anywhere}
.portal-gate .portal-notice{text-align:left}
.portal-gate #account-identity:empty{display:none}
.portal-gate #account-signin-link{margin:20px 0 0}
.portal-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:9px;color:#91a4af;background:none;border-top:1px solid #e1e9ee;margin-top:35px;padding:20px 0 23px;line-height:1.8}
.portal-footer a:hover{color:var(--blue)}
.portal-dialog{color:var(--ink);background:#fff;padding:0;border:1px solid #dce7ee;border-radius:10px;box-shadow:0 25px 90px #0a2a4050;max-width:calc(100% - 40px);width:710px;max-height:calc(100svh - 50px);overflow:auto}
.portal-dialog::backdrop{background:#16334780;backdrop-filter:blur(3px)}
.portal-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 28px 22px;border-bottom:1px solid var(--portal-line)}
.portal-dialog-heading h2{font-size:25px;font-weight:650;margin:0;overflow-wrap:anywhere}
.portal-dialog-heading .portal-kicker{margin-bottom:7px}
.portal-icon-button{width:34px;height:34px;flex:none;display:grid;place-items:center;background:#f3f7f9;border:1px solid #e5edf2;border-radius:5px;padding:5px;color:#7d97a7;min-height:34px}
.portal-icon-button .portal-icon{width:16px;height:16px}
.portal-icon-button:hover{background:#eaf3f8;color:var(--blue)}
.portal-dialog-content{padding:24px 28px}
.portal-dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;background:#f8fbfc;border-top:1px solid var(--portal-line);padding:18px 28px}
.portal-dialog-footer p{margin:0 auto 0 0;font-size:10px;line-height:1.8;max-width:280px}
.portal-dialog-footer p:empty{display:none}
.portal-quote-dialog{width:1040px}
.portal-form-intro{font-size:12px;line-height:1.85;margin-bottom:24px}
.portal-field-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:20px}
.trade-portal label{font-size:11px;font-weight:700;letter-spacing:0}
.trade-portal label>span[aria-hidden="true"]{color:var(--blue)}
.trade-portal input,.trade-portal select,.trade-portal textarea{border:1px solid #d3e0e8;border-radius:4px;color:var(--ink);font-size:12px;min-height:43px;padding:10px 12px;margin-top:8px;line-height:1.6;box-shadow:none}
.trade-portal input::placeholder,.trade-portal textarea::placeholder{color:#98a9b3;opacity:1}
.trade-portal input:focus,.trade-portal select:focus,.trade-portal textarea:focus{border-color:#669dbd}
.trade-portal input:user-invalid,.trade-portal select:user-invalid{border-color:#ba6759}
.portal-form-section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:14px 0 13px}
.portal-form-section-heading h3{font-size:14px;font-weight:750;margin:0 0 5px}
.portal-form-section-heading p{font-size:10px;margin:0}
.portal-item-table-wrap{border:1px solid var(--portal-line);border-radius:5px;margin-bottom:22px;overflow:hidden}
.portal-item-table{width:100%;border-collapse:collapse;table-layout:fixed}
.portal-item-table th{text-align:left;padding:10px 8px;font-size:9px;font-weight:700;color:#8099a8;background:#f5f9fb;border-bottom:1px solid var(--portal-line);white-space:nowrap}
.portal-item-table th:first-child{width:61px;padding-left:12px}
.portal-item-table th:nth-child(2){width:22%}
.portal-item-table th:nth-child(3){width:18%}
.portal-item-table th:nth-child(4),.portal-item-table th:nth-child(5){width:12%}
.portal-item-table th:last-child{width:41px}
.portal-item-table td{padding:11px 5px;border-bottom:1px solid #eaf0f4;vertical-align:top}
.portal-item-table td:first-child{padding-left:10px}
.portal-item-table td:last-child{padding-right:10px;vertical-align:middle}
.portal-item-table tr:last-child td{border-bottom:0}
.portal-item-table label{margin:0}
.trade-portal .portal-item-table input,.trade-portal .portal-item-table select{width:100%;margin:0;min-height:39px;padding:8px 7px;font-size:10px}
.trade-portal .portal-item-table select{padding-right:16px}
.portal-item-table input[type="number"]{-moz-appearance:textfield;appearance:textfield}
.portal-item-table input[type="number"]::-webkit-inner-spin-button,.portal-item-table input[type="number"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.portal-remove-item{width:26px;height:32px;min-height:32px;background:none;border:0;padding:5px}
.portal-notes-label{margin:0 0 22px}
.portal-notes-label textarea{min-height:89px}
.portal-pricing-note{display:flex;align-items:flex-start;gap:12px;border:1px solid #e7edf1;border-radius:5px;background:#f8fbfd;padding:13px 15px}
.portal-pricing-note>.portal-icon{width:18px;height:18px;color:#7d9aab;margin-top:2px}
.portal-pricing-note strong{font-size:11px;color:#617f91}
.portal-pricing-note p{font-size:10px;margin:3px 0 0;line-height:1.8}
.portal-detail-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}
.portal-detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:17px 24px;margin:20px 0}
.portal-detail-fields dt{font-size:10px;color:#8aa0ad;margin-bottom:5px}
.portal-detail-fields dd{font-size:12px;font-weight:650;margin:0;overflow-wrap:anywhere}
.portal-detail-notes{font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;padding:15px;background:#f6f9fb;border-radius:5px;margin-top:20px}
.portal-detail-section-heading{font-size:14px!important;font-weight:750!important;margin:25px 0 12px!important}
@media(min-width:1500px){.portal-workspace{padding-inline:47px}.portal-welcome{padding:34px 38px}.portal-welcome-art{margin-right:55px}}
@media(max-width:1199px){.portal-layout{grid-template-columns:196px minmax(0,1fr)}.portal-sidebar{padding-inline:15px}.portal-workspace{padding-inline:25px}.portal-stat{padding:18px 16px;gap:11px}.portal-stat-icon{width:34px;height:39px}.portal-stat>.portal-stat-arrow{display:none}.portal-welcome{padding:28px}.portal-welcome-art{width:124px;margin-right:0}.portal-panel-heading{padding-inline:18px}.portal-support-strip p strong{display:block}.portal-account-grid{grid-template-columns:1.2fr 1fr}.portal-account-details>div{grid-template-columns:100px minmax(0,1fr)}}
@media(max-width:950px){.portal-header{padding-inline:24px}.portal-trade-label{font-size:10px;padding-left:22px}.portal-brand-group{gap:20px}.portal-layout{grid-template-columns:172px minmax(0,1fr)}.portal-sidebar{padding:29px 12px 22px}.portal-nav .portal-nav-link{padding-inline:10px;gap:9px;font-size:11px}.portal-nav-link .portal-nav-arrow{display:none}.portal-workspace-label{padding-inline:10px;font-size:8px}.portal-workspace{padding-inline:21px}.portal-welcome{padding:25px}.portal-welcome h1{font-size:27px}.portal-welcome-art{width:99px;height:115px}.portal-welcome p:not(.portal-kicker){font-size:11px}.portal-welcome-actions{gap:17px}.portal-welcome-actions>.portal-text-button{font-size:10px}.portal-stats{gap:12px}.portal-stat{padding:17px 13px;gap:10px}.portal-stat-icon{width:30px;height:35px}.portal-stat-icon>.portal-icon{width:18px;height:18px}.portal-stat-label{font-size:9px}.portal-stat strong{font-size:25px}.portal-dashboard-grid{gap:15px}.portal-panel-heading{padding-inline:16px;gap:8px}.portal-panel-heading h2{font-size:13px}.portal-panel-heading .portal-text-button{font-size:9px;gap:6px}.portal-support-strip{padding:14px 16px}.portal-account-grid{grid-template-columns:1fr}.portal-contact-card{padding:25px}.portal-toolbar{padding:17px}.portal-filter{width:145px}.portal-result-count{display:none}}
@media(max-width:760px){.portal-header{padding:12px 21px;min-height:78px;gap:16px}.portal-header .brand{width:170px;gap:7px}.portal-header .brand-mark{width:43px;height:49px}.portal-header .brand-name{font-size:16px}.portal-header .brand-name>span{font-size:9px}.portal-trade-label{display:none}.portal-header-actions{gap:15px}.portal-help-link{display:none}.portal-header-actions>.portal-quiet-button{font-size:10px}.portal-layout{display:block;min-height:calc(100svh - 78px)}.portal-sidebar{padding:0 18px;border-right:0;border-bottom:1px solid var(--portal-line);background:#fff;position:sticky;top:0;z-index:10}.portal-workspace-label,.portal-sidebar-help,.portal-back-link{display:none}.portal-nav{flex-direction:row;align-items:stretch;gap:5px;justify-content:space-between}.portal-nav .portal-nav-link{flex:1;flex-direction:column;gap:4px;font-size:9px;padding:11px 6px 10px;min-height:65px;border-radius:0;text-align:center}.portal-nav-link>.portal-icon{width:18px;height:18px}.portal-nav .portal-nav-link[aria-current="page"]{background:#f3f8fc;box-shadow:inset 0 -2px var(--blue)}.portal-nav .portal-nav-link:hover{background:#f3f8fc}.portal-workspace{padding:13px 21px 0}.portal-workspace-top{margin-bottom:12px}.portal-company{font-size:9px}.portal-workspace-top .portal-quiet-button{font-size:10px}.portal-welcome{padding:25px;margin-bottom:17px}.portal-welcome h1{font-size:29px}.portal-welcome-art{width:116px;height:128px}.portal-welcome p:not(.portal-kicker){font-size:12px}.portal-stats{margin-bottom:20px}.portal-stat{padding:17px;gap:12px}.portal-stat-icon{width:34px;height:40px}.portal-stat-label{font-size:10px}.portal-stat strong{font-size:27px}.portal-dashboard-grid{gap:18px}.portal-panel-heading h2{font-size:14px}.portal-panel-heading .portal-text-button{font-size:10px}.portal-empty{min-height:195px}.portal-page-heading{margin:13px 0 23px}.portal-page-heading h1{font-size:29px}.portal-account-grid{grid-template-columns:1fr 1fr;gap:17px}.portal-account-details>div{grid-template-columns:1fr;gap:4px;padding:14px 0}.portal-contact-card{padding:23px}.portal-contact-card h2{font-size:20px}.portal-contact-phone{font-size:20px}.portal-footer{margin-top:27px;font-size:8px;padding-block:18px}.portal-dialog{max-width:calc(100% - 26px);max-height:calc(100svh - 26px)}.portal-dialog-heading{padding:22px}.portal-dialog-content{padding:22px}.portal-dialog-footer{padding:17px 22px}.portal-item-table,.portal-item-table tbody{display:block}.portal-item-table thead{display:none}.portal-item-row{display:grid;position:relative;grid-template-columns:1fr 1fr 1fr;gap:12px 10px;padding:17px 14px;border-bottom:1px solid var(--portal-line)}.portal-item-row:last-child{border-bottom:0}.portal-item-table .portal-item-row td{display:block;padding:0;border:0;min-width:0}.portal-item-table .portal-item-row td:nth-child(2){grid-column:span 2;margin-right:25px}.portal-item-table .portal-item-row td:nth-child(3){grid-column:span 3}.portal-item-table .portal-item-row td:last-child{position:absolute;right:7px;top:16px}.trade-portal .portal-item-table .portal-mobile-label{position:static!important;width:auto!important;height:auto!important;margin:0 0 5px!important;padding:0!important;clip:auto!important;white-space:normal!important;overflow:visible!important;display:block;font-size:9px;color:#8299a8;font-weight:650}.trade-portal .portal-item-table input,.trade-portal .portal-item-table select{font-size:12px;padding:9px 10px;min-height:41px}.portal-gate{max-width:calc(100% - 42px);margin-block:38px;padding:35px 28px}}
@media(max-width:540px){.portal-header{padding-inline:18px}.portal-sidebar{padding-inline:9px}.portal-workspace{padding:11px 17px 0}.portal-welcome{padding:24px 21px}.portal-welcome h1{font-size:28px;max-width:300px}.portal-welcome-art{position:absolute;right:-29px;top:6px;width:102px;height:111px;opacity:.2;pointer-events:none}.portal-welcome>div:first-child{position:relative;z-index:1}.portal-welcome p:not(.portal-kicker){font-size:11px;max-width:285px}.portal-welcome-actions{gap:17px;margin-top:20px;flex-wrap:wrap}.portal-welcome-actions .portal-button{min-height:42px}.portal-stats{gap:8px}.portal-stat{padding:15px 11px;gap:0;align-items:flex-start;flex-direction:column}.portal-stat-icon{background:none;width:21px;height:22px;display:block;margin-bottom:12px}.portal-stat-icon>.portal-icon{width:20px;height:20px}.portal-stat-label{font-size:9px;margin-bottom:4px}.portal-stat strong{font-size:26px}.portal-dashboard-grid{grid-template-columns:1fr;gap:18px}.portal-panel-heading{padding-inline:19px;min-height:62px}.portal-empty{min-height:182px}.portal-support-strip{align-items:flex-start;gap:12px;flex-wrap:wrap;padding:17px}.portal-support-strip>p{font-size:10px;flex:1;min-width:170px}.portal-support-strip>a{margin-left:32px;margin-top:-3px;font-size:10px}.portal-support-strip p strong{display:block}.portal-page-heading{align-items:flex-start;flex-direction:column;gap:18px;margin-top:12px}.portal-page-heading h1{font-size:29px}.portal-page-heading p:not(.portal-kicker){font-size:11px}.portal-page-heading>.portal-button{width:100%;min-height:43px}.portal-toolbar{flex-wrap:wrap;padding:16px;gap:10px}.portal-search{max-width:none;flex-basis:100%}.portal-filter{width:100%}.trade-portal .portal-search input,.trade-portal .portal-filter select{font-size:12px;min-height:42px}.portal-register .portal-empty{min-height:265px}.portal-account-grid{grid-template-columns:1fr}.portal-account-details>div{grid-template-columns:115px minmax(0,1fr);gap:12px;padding:18px 0}.portal-contact-card{padding:25px}.portal-contact-card h2{font-size:22px}.portal-contact-phone{font-size:24px}.portal-footer{flex-direction:column;gap:5px;align-items:flex-start;font-size:8px;padding-block:19px}.portal-pending{padding:17px;gap:12px}.portal-pending h2{font-size:14px}.portal-dialog{max-width:calc(100% - 20px);max-height:calc(100svh - 20px);border-radius:8px}.portal-dialog-heading{padding:20px 18px}.portal-dialog-heading h2{font-size:24px}.portal-dialog-content{padding:20px 18px}.portal-dialog-footer{padding:16px 18px;gap:9px;flex-wrap:wrap}.portal-dialog-footer p{flex-basis:100%;max-width:none;margin:0 0 5px}.portal-dialog-footer .portal-button{flex:1;font-size:11px;min-height:43px}.portal-field-grid{grid-template-columns:1fr;gap:0}.portal-field-grid label{margin-bottom:18px}.trade-portal .portal-quote-dialog input,.trade-portal .portal-quote-dialog select,.trade-portal .portal-quote-dialog textarea{font-size:16px}.trade-portal .portal-item-table input,.trade-portal .portal-item-table select{font-size:16px}.portal-form-intro{font-size:11px;margin-bottom:20px}.portal-form-section-heading{margin-top:8px}.portal-form-section-heading .portal-text-button{font-size:10px}.portal-form-section-heading p{font-size:9px}.portal-item-row{grid-template-columns:1fr 1fr;gap:13px 10px;padding:17px 12px}.portal-item-table .portal-item-row td:nth-child(1){grid-column:1}.portal-item-table .portal-item-row td:nth-child(2){grid-column:1/-1;margin-right:0;grid-row:2}.portal-item-table .portal-item-row td:nth-child(3){grid-column:1/-1;grid-row:3}.portal-item-table .portal-item-row td:nth-child(6){grid-column:1/-1}.portal-item-table .portal-item-row td:last-child{right:10px;top:21px}.portal-pricing-note{padding:13px 12px}.portal-pricing-note p{font-size:10px}.portal-detail-fields{gap:17px}.portal-detail-fields dd{font-size:11px}.portal-record-row,.portal-document-row{padding:17px 18px;gap:11px}.portal-record-title{font-size:11px}.portal-record-meta{font-size:9px}.portal-record-end{max-width:100px}.portal-status{font-size:8px;padding:4px 6px;white-space:normal}.portal-table th,.portal-table td{padding:13px 14px}.portal-document-row{flex-wrap:wrap}.portal-document-row .portal-text-button{margin-left:45px;min-height:29px}.portal-gate{max-width:calc(100% - 34px);padding:32px 24px}.portal-gate h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){.trade-portal *{scroll-behavior:auto;transition:none!important}}
.portal-design-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 20px}.portal-design-actions .portal-button{font-size:11px;min-height:40px;padding:10px 15px}.portal-items-empty{margin:0 0 24px;border:1px dashed #bdcede;padding:28px;text-align:center;color:#5c6d82;border-radius:8px;font-size:12px}.portal-designed-items thead{display:none}.portal-designed-items .portal-item-row{display:grid;grid-template-columns:72px minmax(150px,1fr) minmax(150px,1fr) 110px 110px;gap:12px;padding:20px 42px 20px 188px;position:relative;min-height:200px;border:1px solid #e1e8ef;border-radius:8px;margin-bottom:14px;background:#fff}.portal-designed-items .portal-item-row td{display:block;padding:0;border:0;min-width:0;grid-column:auto;grid-row:auto}.portal-designed-items .portal-item-row td:nth-child(3){grid-column:3/-1}.portal-designed-items .portal-item-row td:nth-child(4){grid-column:1/3}.portal-designed-items .portal-item-row td:nth-child(5){grid-column:3}.portal-designed-items .portal-item-row td:nth-child(6){grid-column:4/-1}.portal-designed-items .portal-mobile-label{position:static;width:auto;height:auto;margin:0 0 6px;overflow:visible;clip:auto;white-space:normal;display:block;font-size:10px;color:#62758b;font-weight:700}.portal-designed-items .portal-item-row td.portal-item-design{position:absolute;left:12px;top:10px;width:156px;bottom:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px}.portal-item-drawing{height:130px;width:100%;display:flex;align-items:center;justify-content:center;background:#f5f8fb;border-radius:5px}.portal-item-drawing svg,.portal-saved-drawing svg{display:block;width:100%;height:100%}.portal-no-design{font-size:10px;color:#6c7f92;padding:16px;text-align:center}.portal-designed-items .portal-item-row td:last-child{position:absolute;right:7px;top:13px}.portal-designed-items input[readonly],.portal-designed-items select:disabled{background:#f4f7fa;color:#475d77}.portal-design-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.portal-design-card{border:1px solid #e0e8ef;border-radius:8px;overflow:hidden}.portal-saved-drawing{height:190px;background:#f4f7fb;padding:12px}.portal-design-card>div+div{padding:18px}.portal-design-card h3{font-size:15px;margin:8px 0}.portal-design-card p{font-size:11px;color:#62748a;margin:5px 0}.portal-designed-items{display:block;width:100%}.portal-designed-items tbody{display:block}
@media(max-width:850px){.portal-designed-items .portal-item-row{grid-template-columns:72px 1fr 1fr;padding-left:155px}.portal-designed-items .portal-item-row td.portal-item-design{width:128px}.portal-designed-items .portal-item-row td:nth-child(2){grid-column:2/-1}.portal-designed-items .portal-item-row td:nth-child(3){grid-column:1/-1}.portal-designed-items .portal-item-row td:nth-child(4){grid-column:1/3}.portal-designed-items .portal-item-row td:nth-child(5){grid-column:3}.portal-designed-items .portal-item-row td:nth-child(6){grid-column:1/-1}}
@media(max-width:550px){.portal-design-actions{gap:8px}.portal-design-actions>.portal-button{flex:1 1 45%;font-size:10px}.portal-designed-items .portal-item-row{grid-template-columns:1fr 1fr;padding:180px 14px 18px}.portal-designed-items .portal-item-row td.portal-item-design{left:15px;right:15px;top:10px;bottom:auto;width:auto;height:158px;flex-direction:row}.portal-item-drawing{width:70%;height:155px}.portal-designed-items .portal-item-row td:nth-child(1){grid-column:1}.portal-designed-items .portal-item-row td:nth-child(2){grid-column:2}.portal-designed-items .portal-item-row td:nth-child(3),.portal-designed-items .portal-item-row td:nth-child(6){grid-column:1/-1}.portal-designed-items .portal-item-row td:nth-child(4){grid-column:1}.portal-designed-items .portal-item-row td:nth-child(5){grid-column:2}.portal-design-cards{grid-template-columns:1fr}}
