/* MBSC Invoice Studio — scoped styles for public pages, shortcodes and wp-admin. */
.mbsc-tax-public-page{margin:0!important;background:#f7f8fc!important;color:#24283d}.mbsc-tax-access{max-width:680px;margin:100px auto;padding:48px;background:white;border:1px solid #e5e6ef;border-radius:22px;font:16px/1.8 -apple-system,BlinkMacSystemFont,"Microsoft JhengHei",sans-serif}.mbsc-tax-access h2{font-size:25px}.mbsc-tax-access a{color:#6654d9}
.mbsc-tax.tax-studio{--tax-ink:#24283d;--tax-muted:#83869a;--tax-line:#e8e9f1;--tax-accent:#6a58d9;--tax-paper:#fff;--tax-navy:#20253e;--tax-lime:#dbf5a3;--tax-gold:#edcb86;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;font-size:14px;line-height:1.65;color:var(--tax-ink);background:#f7f8fc;box-sizing:border-box;text-align:left;font-weight:400;isolation:isolate;-webkit-font-smoothing:antialiased}.mbsc-tax.tax-studio *{box-sizing:border-box}.mbsc-tax.tax-studio [hidden]{display:none!important}.mbsc-tax.tax-studio a{text-decoration:none;color:var(--tax-accent)}.mbsc-tax.tax-studio button,.mbsc-tax.tax-studio input,.mbsc-tax.tax-studio select{font-family:inherit}.mbsc-tax.tax-studio button{letter-spacing:normal;text-transform:none}.mbsc-tax.tax-studio svg{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.mbsc-tax.tax-studio h1,.mbsc-tax.tax-studio h2,.mbsc-tax.tax-studio h3,.mbsc-tax.tax-studio p{padding:0;letter-spacing:normal;font-family:inherit}.mbsc-tax.tax-studio p{margin:0;line-height:1.85}.mbsc-tax.tax-studio h1,.mbsc-tax.tax-studio h2,.mbsc-tax.tax-studio h3{color:var(--tax-ink);font-weight:650}.mbsc-tax.tax-studio button:focus-visible,.mbsc-tax.tax-studio a:focus-visible,.mbsc-tax.tax-studio summary:focus-visible{outline:3px solid #b2a9f2;outline-offset:4px}.mbsc-tax.tax-studio button{cursor:pointer}.mbsc-tax.tax-studio button:disabled{opacity:.45;cursor:not-allowed}.tax-admin{padding:0 18px 0 0;margin-top:10px}.tax-front{min-height:100vh}.tax-shell{max-width:1336px;margin:0 auto;padding:0 32px}.tax-nav{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:1336px;margin:auto;padding:25px 32px;background:#fff}.tax-front>.tax-nav{max-width:none;padding-left:max(32px,calc((100vw - 1272px)/2));padding-right:max(32px,calc((100vw - 1272px)/2));border-bottom:1px solid #eeeff5}.tax-brand{display:flex;align-items:center;gap:11px!important;color:#252840!important;font-weight:750;font-size:20px;letter-spacing:1px}.tax-brand-icon{display:grid;place-items:center;background:#6956d8;width:42px;height:44px;border-radius:12px;color:white}.tax-brand-icon svg{width:25px!important;height:25px!important}.tax-brand-sub{display:block;font-size:10px;line-height:1.3;letter-spacing:2px;color:#777c90;font-weight:500;margin-top:2px}.tax-nav-links{display:flex;gap:32px;font-size:13px}.tax-nav-links a{color:#74788e!important}.tax-nav-links a:hover{color:var(--tax-accent)!important}.tax-home-link{display:flex;align-items:center;gap:18px;color:#373b51!important;font-size:12px;border:1px solid #e3e5ef;border-radius:8px;padding:9px 14px}.tax-home-link span{font-size:18px;line-height:1}
.tax-hero{display:flex;justify-content:space-between;align-items:center;gap:40px;min-height:344px;padding:52px 0 44px}.tax-eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:650;letter-spacing:2.2px;color:#79748c;line-height:1.5}.tax-eyebrow>span{width:6px;height:6px;border-radius:50%;background:#8a77df}.mbsc-tax .tax-hero h1{font-size:clamp(32px,3.4vw,48px)!important;line-height:1.4!important;font-weight:650!important;letter-spacing:-1.5px;margin:16px 0 14px}.mbsc-tax .tax-hero h1 em{color:#7360cf;font-style:normal}.mbsc-tax .tax-hero p{font-size:14px;color:#85869b;line-height:1.9}.tax-hero-badges{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.tax-hero-badges span{font-size:10px;color:#79758d;padding:4px 10px;border:1px solid #e4e1f0;border-radius:20px;background:#ffffff8a}.tax-hero-art{position:relative;flex:0 0 400px;height:286px;margin-right:38px}.tax-art-orbit{position:absolute;inset:10px 5px -8px 20px;border-radius:50%;background:radial-gradient(ellipse,#eeebfb 0,#efedf8 55%,transparent 70%)}.tax-art-orbit:after{content:"";position:absolute;inset:16px;border:1px solid #ded9ef;border-radius:50%;transform:rotate(-28deg) scaleX(1.25)}.tax-art-note{position:absolute;left:73px;top:4px;width:220px;background:#fff;box-shadow:0 14px 32px #625a8b10;padding:20px 22px 18px;border-radius:5px;transform:rotate(-6deg);border:1px solid #eeeaf7}.tax-art-note:after{content:"";position:absolute;bottom:-6px;left:0;right:0;height:8px;background:linear-gradient(135deg,white 25%,transparent 25%) -4px 0/8px 8px,linear-gradient(225deg,white 25%,transparent 25%) -4px 0/8px 8px}.tax-art-note-back{left:103px;top:10px;height:245px;transform:rotate(8deg);background:#e8e3f7;border-color:#e8e3f7;box-shadow:none}.tax-art-note-back:after{display:none}.tax-art-note-top{display:flex;justify-content:space-between;align-items:center;font-size:13px;font-weight:750;letter-spacing:1px;color:#6b5ac7}.tax-art-note-top svg{width:18px!important}.tax-art-caption{display:block;color:#a2a2b3;font-size:7px;letter-spacing:1.4px;margin-top:20px}.tax-art-note>strong{display:block;font-size:24px;line-height:1.55;letter-spacing:1px;margin:6px 0 15px;color:#39344c;font-weight:600}.tax-art-lines{display:grid;gap:6px;margin-bottom:13px}.tax-art-lines i{height:3px;background:#f0edf7;border-radius:3px}.tax-art-lines i:nth-child(2){width:65%}.tax-art-lines i:nth-child(3){width:83%}.tax-art-sum{display:flex;align-items:center;justify-content:space-between;border-top:1px dashed #ddd7ed;padding-top:10px;gap:9px}.tax-art-sum span{font-size:7px;color:#9790a6}.tax-art-sum b{font-size:11px;color:#7664b9;font-weight:500}.tax-art-float{position:absolute;right:13px;top:52px;width:93px;height:97px;border:1px solid #ede7ce;border-radius:19px;background:#f8f4df;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(8deg);box-shadow:0 9px 22px #c0b78315}.tax-art-float>b{font-size:36px;font-weight:650;line-height:1.15;color:#7b7244;letter-spacing:-2px}.tax-art-float b span{font-size:20px;letter-spacing:0}.tax-art-float small{font-size:9px;color:#9a9064;letter-spacing:1px;margin-top:6px}.tax-art-check{position:absolute;bottom:1px;left:32px;display:flex;gap:7px;align-items:center;padding:10px 15px;background:#fff;border:1px solid #e8e6f0;border-radius:10px;font-size:10px;color:#85809b;box-shadow:0 9px 20px #625a8b08;transform:rotate(-3deg)}.tax-art-check svg{color:#9c8ae0;width:16px!important;height:16px!important}
.tax-workspace-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0 22px;border-top:1px solid #e9e9f2;scroll-margin-top:24px}.tax-workspace-bar>div:first-child{display:flex;align-items:center;gap:15px}.mbsc-tax .tax-workspace-bar h2{font-size:17px;margin:0}.tax-workspace-bar>div>span{font-size:11px;color:#9a9bac}.tax-draft-tools{display:flex;gap:14px;align-items:center}.mbsc-tax .tax-quiet{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:#858299;font-size:11px;min-height:32px;box-shadow:none}.tax-quiet svg{width:15px!important;height:15px!important}.mbsc-tax .tax-quiet:hover{color:#6d56ca}.tax-draft-status{max-width:220px;font-size:10px;color:#7b7495}.tax-layout{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(0,1fr);gap:24px;align-items:start}.tax-card{background:#fff;border:1px solid var(--tax-line);border-radius:17px;padding:27px 28px;margin:0 0 20px;box-shadow:0 4px 14px #31315402}.tax-section-title{display:flex;align-items:center;gap:12px;margin-bottom:24px}.tax-step{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #e4dff4;border-radius:10px;background:#f7f5fc;color:#8a77c2;font-size:12px;letter-spacing:.5px}.mbsc-tax .tax-section-title h2{font-size:17px;margin:0 0 2px;line-height:1.5}.mbsc-tax .tax-section-title p{font-size:10px;color:#9b9aab;line-height:1.5}.tax-section-label{font-size:8px;letter-spacing:1.7px;color:#b5b1c4;margin-left:auto}.tax-segment{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:24px}.tax-segment>label{position:relative;border:1px solid #e9e8ef;border-radius:11px;display:flex;align-items:center;gap:10px;padding:14px;cursor:pointer;transition:.15s;background:#fff}.tax-segment label:has(input:checked){border-color:#b5a7e5;background:#f7f4fd}.tax-segment input{appearance:none!important;-webkit-appearance:none!important;width:17px;height:17px;border-radius:50%;border:1px solid #d3cedf;margin:0!important;position:relative;background:#fff!important;box-shadow:none!important;flex-shrink:0}.tax-segment input:checked{border:5px solid #8a74d5;background:white!important}.tax-segment input:before{display:none!important}.tax-segment b{display:block;font-size:12px;font-weight:600;color:#625973}.tax-segment small{display:block;color:#aaa3b7;font-size:9px;margin-top:1px}.tax-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 16px}.tax-buyer-fields{grid-template-columns:1.6fr 1fr}.mbsc-tax .tax-fields>label{display:block;position:relative;color:#66657b;font-size:11px;font-weight:550;line-height:1.6}.tax-label-note{display:block;font-size:8px;font-weight:400;color:#aeabba;line-height:1.6;height:14px}.mbsc-tax .tax-fields>label:has(input[type=date]){padding-top:0}.mbsc-tax .tax-fields>label:has(input[type=date]):before{content:" ";display:block;height:14px;position:absolute;top:18px;left:0}.mbsc-tax.tax-studio input:not([type=radio]):not([type=checkbox]),.mbsc-tax.tax-studio select{box-sizing:border-box;display:block;width:100%;max-width:none;min-width:0;height:44px;min-height:44px;line-height:1.5;padding:10px 12px;margin:7px 0 0;border:1px solid #e1dfeb;border-radius:8px;background-color:#fff;color:#555469;font-size:12px;font-weight:400;box-shadow:0 1px 3px #352d5a02;outline:none;transition:border-color .15s,box-shadow .15s}.mbsc-tax.tax-studio input::placeholder{color:#bab5c5;opacity:1}.mbsc-tax.tax-studio input:not([type=radio]):not([type=checkbox]):focus,.mbsc-tax.tax-studio select:focus{border-color:#a18cd9;box-shadow:0 0 0 3px #ece6fb!important;outline:0}.mbsc-tax.tax-studio select{appearance:auto;background-image:none!important;background-repeat:no-repeat!important;padding-right:10px}.mbsc-tax.tax-studio input:disabled,.mbsc-tax.tax-studio select:disabled{background:#faf9fc;color:#bbb6c7}.tax-input-icon{display:block;position:relative}.tax-input-icon>svg{position:absolute;top:14px;left:12px;width:15px!important;height:15px!important;color:#b5aacb}.mbsc-tax.tax-studio .tax-input-icon>input{padding-left:34px!important}.tax-fields label>input[type=date]{margin-top:21px!important}.tax-lookup-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.tax-lookup-actions>span{font-size:8px;color:#b5aebf}.tax-tools{display:flex;gap:8px;flex-wrap:wrap}.mbsc-tax.tax-studio .button{display:inline-flex;align-items:center;justify-content:center;gap:7px;text-decoration:none;text-align:center;box-shadow:none;min-height:36px;line-height:1.5;border:1px solid #e7e1f2;border-radius:7px;background:#f7f3fc;color:#9b83c4;padding:8px 10px;font-size:10px;font-weight:500;white-space:normal;margin:0;outline-offset:3px}.mbsc-tax .button svg{width:13px;height:13px}.mbsc-tax.tax-studio .button:hover{background:#ede7f8;border-color:#cfc1e8;color:#73579c}.tax-lookup-status,.tax-id-status{font-size:10px!important;margin-top:12px!important;color:#8c849d;line-height:1.7!important;overflow-wrap:anywhere}.tax-lookup-status:empty,.tax-id-status:empty{display:none}.tax-id-status{font-size:9px!important;color:#aaa2b5;margin-top:10px!important}.mbsc-tax .tax-error{color:#bb525a!important}.tax-candidates{list-style:none!important;padding:0!important;margin:12px 0 0!important;max-height:254px;overflow:auto;border:1px solid #ded5ef;border-radius:11px;box-shadow:0 8px 20px #5d43731a}.tax-candidates li{margin:0!important;padding:0!important;list-style:none!important}.tax-candidates button{display:block;width:100%;border:0;border-bottom:1px solid #efebf7;background:#fff;text-align:left;padding:14px;color:#65517c;font-size:12px;line-height:1.6}.tax-candidates button:hover,.tax-candidates button:focus{background:#f8f4ff}.tax-candidates small{display:block;font-size:9px;color:#a09aaf;margin-top:4px;font-weight:400}.tax-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tax-mode-switch button{display:flex;align-items:center;gap:10px;border:1px solid #e6e3ed;border-radius:10px;background:#fff;padding:12px 13px;text-align:left;box-shadow:none;color:#858097;min-height:70px;transition:.15s}.tax-mode-switch button[aria-pressed=true]{border-color:#9e8cda;background:#f6f2fd;color:#7861bf;box-shadow:inset 0 0 0 1px #b5a5e02b}.tax-mode-icon{width:28px;height:28px;display:grid;place-items:center;font-size:22px;font-weight:400;background:#eeebf6;border-radius:7px;flex-shrink:0}.tax-mode-switch b{font-size:12px;display:block;font-weight:600}.tax-mode-switch small{font-size:8px;color:#a69db9;display:block;margin-top:3px}.tax-mode-switch i{font-style:normal;border-radius:50%;width:15px;height:15px;background:#9680d2;color:#fff;font-size:9px;display:grid;place-items:center;margin-left:auto;visibility:hidden}.tax-mode-switch button[aria-pressed=true] i{visibility:visible}.tax-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}.tax-price-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 0 20px}.mbsc-tax .tax-price-caption{font-size:8px;color:#a59bae;margin:0;flex:1;line-height:1.7}.tax-price-bar>label{display:flex;align-items:center;gap:7px;white-space:nowrap;font-size:9px;color:#a29aae}.mbsc-tax.tax-studio .tax-price-bar select{width:104px;height:30px;min-height:30px;margin:0;padding:4px 7px;font-size:9px;border-color:#e7e3ee;border-radius:6px;color:#837391;background:#fbf9fe}.tax-item{display:grid;grid-template-columns:minmax(100px,1.75fr) minmax(43px,.56fr) minmax(75px,1fr) 22px;gap:8px;margin-bottom:12px;align-items:end;counter-increment:tax-item}.tax-items{counter-reset:tax-item}.tax-item label{font-size:9px;color:#a59bac;font-weight:400}.mbsc-tax.tax-studio .tax-item input:not([type=checkbox]){height:40px;min-height:40px;font-size:11px;padding:9px 10px}.tax-item input[data-item=quantity],.tax-item input[data-item=unit_price]{font-variant-numeric:tabular-nums;text-align:right}.tax-item .tax-remove{align-self:end;height:40px;padding:0 2px;background:none;color:#beb4cc;font-size:22px;font-weight:300;border:0;box-shadow:none}.tax-item .tax-remove:hover{color:#bc6c75}.tax-add-row{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:14px}.tax-add-button{display:flex;gap:6px;align-items:center;background:none;border:0;color:#9b80c2;font-size:10px;padding:4px 0;box-shadow:none;min-height:30px}.tax-add-button svg{width:13px!important;height:13px!important}.tax-add-row>span{font-size:8px;color:#b9b0c4}.mbsc-tax .tax-small{margin-top:15px;font-size:8px;color:#b7aebf;padding-top:13px;border-top:1px dashed #ece6f3}.tax-check-label{display:flex;gap:10px;align-items:center;cursor:pointer}.tax-check-label>span>b{display:block;font-size:11px;font-weight:550;color:#82728e}.tax-check-label small{display:block;color:#bbb0c5;font-size:8px;margin-top:2px}.mbsc-tax.tax-studio input[type=checkbox]{width:16px;height:16px;min-width:16px;min-height:16px;accent-color:#8e74c5;margin:0}.tax-shipping{padding-top:17px;border-top:1px solid #f0eaf4;margin-top:20px}.tax-shipping>.tax-fields{margin:14px 0 0;padding-left:26px}.tax-editor-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding-top:12px;border-top:1px dashed #ede6f5}.tax-editor-bottom>span{display:flex;gap:4px;align-items:center;color:#b9acc4;font-size:8px}.tax-editor-bottom>span svg{width:12px!important;height:12px!important}.mbsc-tax .tax-clear{font-size:9px;color:#b59cc2}
.tax-output{min-width:0;position:sticky;top:20px}.tax-summary{padding:25px 28px 24px;border-radius:17px;background:linear-gradient(125deg,#232840,#292c4a 75%,#333251);color:white;margin-bottom:20px;box-shadow:0 12px 25px #25254010;overflow:hidden}.tax-live{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:450;color:#c7c9dd}.tax-live>span:first-child{width:5px;height:5px;border-radius:50%;background:#c3df96;box-shadow:0 0 0 3px #bcd89013}.tax-currency-tag{margin-left:auto;font-size:8px;letter-spacing:.7px;color:#8e93af}.mbsc-tax .tax-total-label{font-size:11px;color:#aeb1ca;margin:25px 0 0}.tax-total-label>span{font-size:8px;padding:1px 5px;color:#b0b5cb;background:#ffffff0a;border:1px solid #ffffff10;border-radius:4px;margin-left:4px}.tax-total{display:block;font-size:43px;font-weight:500;line-height:1.5;letter-spacing:-1.2px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#f9fbff}.mbsc-tax .tax-uppercase{font-size:10px;color:#8e94b3;margin:2px 0 23px}.tax-distribution{height:4px;display:flex;border-radius:4px;overflow:hidden;background:#474a63;margin:0 0 15px}.tax-distribution>span:first-child{background:#acaae6;width:95.24%;transition:width .2s}.tax-distribution>span:last-child{background:#d6bf82;width:4.76%;transition:width .2s}.tax-summary dl{margin:0;padding:0 0 17px;border-bottom:1px solid #ffffff12}.tax-summary dl>div{display:flex;justify-content:space-between;gap:10px;margin:8px 0}.tax-summary dt{display:flex;gap:5px;align-items:center;color:#9499b5;font-size:10px;font-weight:400}.tax-summary dt i{width:5px;height:5px;border-radius:2px;background:#acaae6;margin-right:3px}.tax-summary dl>div:nth-child(2) dt i{background:#d6bf82}.tax-summary dd{margin:0;color:#d2d5e8;font-size:12px;font-weight:500;font-variant-numeric:tabular-nums}.mbsc-tax .tax-calc-status{font-size:9px;color:#737b9b;margin:12px 0 16px;min-height:17px;line-height:1.5}.tax-calc-status[aria-busy=true]{color:#d6c99b!important}.tax-summary-actions{display:grid;grid-template-columns:1.1fr 1fr;gap:9px}.mbsc-tax.tax-studio .tax-button-print{background:#dcefa9;color:#4a5830;border:1px solid #dcefa9;border-radius:8px;min-height:40px;font-size:10px;font-weight:600;box-shadow:0 1px 3px #0002}.mbsc-tax.tax-studio .tax-button-print:hover{background:#e5f8b5;border-color:#e5f8b5;color:#4a5830}.mbsc-tax.tax-studio .tax-button-copy{background:#ffffff08;color:#b2b7d0;border:1px solid #ffffff18;border-radius:8px;min-height:40px;font-size:10px}.mbsc-tax.tax-studio .tax-button-copy:hover{background:#ffffff12;color:#eee;border-color:#ffffff30}.tax-share-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;border:0;background:transparent;box-shadow:none;color:#878fb0;font-size:9px;min-height:30px;margin-top:14px}.tax-share-button svg{width:12px!important;height:12px!important}.tax-share-button>span{margin-left:4px}.tax-share-button:hover{color:#dce2f7}.mbsc-tax .tax-share-note{text-align:center;font-size:7px;color:#636d8d;margin-top:1px;line-height:1.7}.tax-preview{padding:24px}.tax-preview-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.tax-mini-eyebrow{display:block;font-size:7px;letter-spacing:1.7px;color:#b7a7cc;margin-bottom:5px}.mbsc-tax .tax-preview-header h2{font-size:15px;line-height:1.5;margin:0}.tax-preview-tag{font-size:7px;padding:5px 8px;border-radius:4px;border:1px solid #ede5cf;background:#fcf8ec;color:#b0a078;white-space:nowrap}.tax-paper{background:#fffefa;border:1px solid #e9e4d9;border-radius:2px;padding:19px 18px 16px;color:#797369;font-size:10px;box-shadow:0 4px 8px #655c3c04}.tax-paper-top{display:flex;justify-content:space-between;gap:10px;color:#b9af9b;font-size:6px;letter-spacing:1.2px;margin-bottom:18px}.tax-paper-top>span:last-child{font-size:7px;letter-spacing:0}.mbsc-tax .tax-paper h3{text-align:center;font-size:13px;line-height:1.65;letter-spacing:1px;font-weight:500;color:#70675d;margin:0 0 4px}.mbsc-tax .tax-paper-date{text-align:center;font-size:8px;color:#aaa08d;margin-bottom:17px;line-height:1.5}.tax-paper-buyer{display:grid;gap:4px;margin-bottom:12px}.mbsc-tax .tax-paper-buyer p{display:grid;grid-template-columns:46px 1fr;gap:6px;font-size:8px;color:#b2a58f;line-height:1.6}.tax-paper-buyer b{font-weight:500;color:#8c806a;overflow-wrap:anywhere}.tax-paper table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:8px;margin:0;border:0}.tax-paper th,.tax-paper td{border:1px solid #e1d9c8;padding:7px 5px;overflow-wrap:anywhere;color:#958a76;line-height:1.65;text-align:left;font-size:8px}.tax-paper th{font-weight:400;background:#f7f4ec;color:#ac9d80;text-align:center}.tax-paper th:first-child{width:39%}.tax-paper th:nth-child(2){width:12%}.tax-paper th:nth-child(3){width:23%}.tax-paper th:nth-child(4){width:26%}.tax-paper small{font-size:7px;font-weight:400}.tax-paper td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.tax-paper-totals{margin:0;border:1px solid #e1d9c8;border-top:0}.tax-paper-totals>div{display:flex;justify-content:space-between;gap:8px;border-bottom:1px solid #e1d9c8;padding:6px 7px;line-height:1.7;font-size:8px;color:#a1937c}.tax-paper-totals>div:last-child{border-bottom:0;font-weight:600;background:#f8f5ed}.tax-paper-totals dd{margin:0;font-variant-numeric:tabular-nums;color:#96866d;white-space:nowrap}.tax-paper-totals dt{font-size:8px;font-weight:400;letter-spacing:0}.mbsc-tax .tax-paper-upper{margin:0;padding:8px;border:1px solid #e1d9c8;border-top:0}.tax-paper-upper span{display:block;font-size:7px;color:#b6a68b;margin-bottom:3px}.tax-paper-upper b{display:block;font-size:10px;color:#99856a;font-weight:500}.tax-paper footer{font-size:7px;line-height:1.85;color:#bdb09a;margin-top:14px;padding-top:10px;border-top:1px dashed #e8dfcf;text-align:center}.mbsc-tax .tax-paper-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:8px;margin-top:10px;color:#a09278}.tax-paper-notes:empty{display:none}.mbsc-tax .tax-rounding{font-size:8px;color:#b29266;margin-top:8px}.tax-preview:focus{outline:2px solid #b9a9dc;outline-offset:4px}.tax-guide{display:grid;grid-template-columns:.95fr 1.5fr;gap:60px;border-top:1px solid #e4e2ec;padding:44px 0 40px;margin-top:26px;scroll-margin-top:30px}.tax-guide-title .tax-eyebrow{font-size:8px;color:#b1a4c1}.mbsc-tax .tax-guide h2{font-size:21px;margin:10px 0 8px;font-weight:500}.mbsc-tax .tax-guide-title p{font-size:11px;color:#aaa1b2}.tax-faq details{border-bottom:1px solid #e6dfec;padding:0;margin:0}.tax-faq summary{list-style:none;display:flex;justify-content:space-between;gap:12px;padding:15px 0;font-size:11px;color:#8e809d;cursor:pointer;font-weight:500;line-height:1.8}.tax-faq summary::-webkit-details-marker{display:none}.tax-faq summary>span{color:#baa6ce;font-size:18px;line-height:1}.tax-faq details[open] summary>span{transform:rotate(45deg)}.mbsc-tax .tax-faq p{font-size:10px;color:#a194ae;line-height:1.9;margin:0 24px 17px 0}.tax-app-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #e6e0ec;padding:23px 0 30px;color:#b5a8be;font-size:9px}.tax-app-footer b{font-size:12px;letter-spacing:1px;font-weight:650;color:#9785aa;margin-right:6px}.tax-app-footer small{font-size:8px;color:#c1b2ca}.tax-mobile-dock{display:none}
@media(min-width:1500px){.tax-layout{grid-template-columns:minmax(0,1.38fr) minmax(0,1fr)}}
@media(max-width:1100px){.tax-shell{padding:0 24px}.tax-hero-art{flex-basis:340px;margin-right:0}.tax-hero{gap:20px}.tax-card{padding:22px}.tax-layout{gap:18px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.tax-summary{padding:24px}.tax-lookup-actions{align-items:start;flex-direction:column}.tax-mode-switch button{padding:11px 10px;gap:7px}.tax-mode-switch small{font-size:7px}.tax-mode-icon{width:23px;height:25px;font-size:18px}.tax-section-label{display:none}.tax-price-bar{flex-wrap:wrap}.tax-price-bar .tax-price-caption{min-width:140px}.tax-total{font-size:36px}.tax-paper{padding:17px 12px}.tax-workspace-bar>div:first-child>span{display:none}.tax-draft-status{max-width:170px}.tax-guide{gap:35px}.tax-guide-title h2{font-size:18px!important}}
@media(max-width:850px){.tax-layout{grid-template-columns:1fr}.tax-output{position:static;display:grid;grid-template-columns:1fr 1.1fr;gap:18px;align-items:start}.tax-output>.tax-summary,.tax-output>.tax-preview{margin:0}.tax-hero{min-height:300px;padding:36px 0}.tax-hero-art{transform:scale(.85);transform-origin:right center;margin-left:-30px;flex-basis:300px}.tax-front>.tax-nav{padding:18px 24px}.tax-card{padding:24px}.tax-lookup-actions{flex-direction:row;align-items:center}.tax-draft-status{display:none}.tax-item{grid-template-columns:minmax(120px,1.75fr) minmax(60px,.6fr) minmax(100px,1fr) 26px;gap:10px}.tax-fields>label{font-size:12px!important}.tax-item label{font-size:11px}.mbsc-tax.tax-studio input:not([type=radio]):not([type=checkbox]),.mbsc-tax.tax-studio select{font-size:14px}.tax-guide{grid-template-columns:1fr;gap:18px}.mbsc-tax .tax-hero h1{font-size:35px!important}.tax-total{font-size:32px}.tax-nav-links{gap:20px}}
@media(max-width:600px){.tax-front{padding-bottom:calc(88px + env(safe-area-inset-bottom))}.tax-admin{padding-right:8px;padding-bottom:90px}.tax-shell{padding:0 16px}.tax-front>.tax-nav{padding:15px 18px}.tax-brand{font-size:18px;gap:9px!important}.tax-brand-icon{width:34px;height:36px;border-radius:10px}.tax-brand-icon svg{width:21px!important;height:21px!important}.tax-brand-sub{font-size:8px}.tax-nav-links{display:none}.tax-home-link{padding:7px 11px;font-size:10px;gap:11px}.tax-hero{padding:30px 4px 26px;min-height:0;display:block;position:relative;overflow:hidden}.tax-hero-copy{position:relative;z-index:1}.tax-eyebrow{font-size:8px;letter-spacing:1.5px}.mbsc-tax .tax-hero h1{font-size:32px!important;letter-spacing:-1.3px;margin:13px 0 13px;line-height:1.5!important;max-width:270px}.mbsc-tax .tax-hero p{font-size:11px;line-height:1.9;max-width:245px}.tax-hero-art{position:absolute;right:-22px;top:16px;width:240px;height:286px;transform:scale(.62);transform-origin:right top;margin:0;opacity:.55;pointer-events:none}.tax-art-note{left:20px}.tax-art-note-back{left:40px}.tax-art-float{right:-28px;top:80px}.tax-art-check{left:30px}.tax-art-orbit{inset:0 -5px 0 -25px}.tax-hero-badges{gap:5px;margin-top:18px}.tax-hero-badges span{font-size:8px;padding:3px 8px;background:#fff9}.tax-workspace-bar{padding:16px 4px;gap:7px}.mbsc-tax .tax-workspace-bar h2{font-size:15px}.tax-draft-tools{gap:12px}.mbsc-tax .tax-draft-tools button{font-size:9px;min-height:30px}.tax-draft-tools .tax-quiet svg{width:12px!important}.tax-card{padding:20px 18px;border-radius:14px;margin-bottom:16px}.tax-section-title{margin-bottom:20px;gap:10px}.tax-step{width:30px;height:30px;flex-basis:30px;font-size:11px;border-radius:9px}.mbsc-tax .tax-section-title h2{font-size:16px}.mbsc-tax .tax-section-title p{font-size:9px}.tax-segment{gap:8px;margin-bottom:20px}.tax-segment>label{padding:13px 10px;gap:8px}.tax-segment b{font-size:11px}.tax-segment small{font-size:8px}.tax-segment input{width:16px;height:16px}.tax-fields,.tax-buyer-fields{grid-template-columns:1fr;gap:14px;margin-bottom:16px}.tax-fields>label{font-size:11px!important}.tax-label-note{display:inline;font-size:8px;margin-left:7px;height:auto}.mbsc-tax.tax-studio input:not([type=radio]):not([type=checkbox]),.mbsc-tax.tax-studio select{height:46px;min-height:46px;font-size:14px;padding:11px 12px}.tax-fields label>input[type=date]{margin-top:7px!important}.tax-lookup-actions{display:block}.tax-lookup-actions>span{display:block;font-size:8px;margin-top:8px}.mbsc-tax.tax-studio .tax-lookup-actions .button{min-height:34px;padding:7px 10px;font-size:10px}.tax-lookup-status{font-size:10px!important}.tax-id-status{font-size:9px!important}.tax-candidates button{font-size:12px;min-height:54px}.tax-mode-switch{gap:8px}.tax-mode-switch button{padding:12px 9px;gap:7px;min-height:70px}.tax-mode-switch b{font-size:11px}.tax-mode-switch small{font-size:7px}.tax-mode-switch i{width:13px;height:13px;font-size:8px}.tax-mode-icon{width:22px;height:26px;font-size:19px}.tax-price-bar{padding:15px 0;align-items:center;gap:10px;flex-wrap:nowrap}.tax-price-bar .tax-price-caption{font-size:8px;min-width:0;max-width:170px}.tax-price-bar>label{font-size:8px;gap:4px}.mbsc-tax.tax-studio .tax-price-bar select{width:86px;font-size:9px;height:32px;min-height:32px;padding:4px}.tax-item{grid-template-columns:minmax(80px,1.55fr) minmax(42px,.55fr) minmax(69px,.9fr) 18px;gap:6px;margin-bottom:12px}.tax-item label{font-size:9px}.mbsc-tax.tax-studio .tax-item input:not([type=checkbox]){min-height:42px;height:42px;font-size:12px;padding:9px 7px}.tax-item .tax-remove{height:42px;font-size:21px;padding:0}.tax-add-button{min-height:34px;font-size:11px}.tax-add-row>span{font-size:9px}.mbsc-tax .tax-small{font-size:9px;line-height:1.9}.tax-shipping{padding-top:16px;margin-top:18px}.tax-check-label small{font-size:8px}.tax-shipping>.tax-fields{grid-template-columns:.9fr 1.1fr;gap:12px;padding-left:0}.tax-editor-bottom>span{font-size:8px;max-width:145px}.mbsc-tax .tax-clear{font-size:10px}.tax-output{display:block}.tax-output>.tax-summary{margin-bottom:16px;border-radius:14px;padding:24px}.tax-output>.tax-preview{padding:22px 18px}.tax-live{font-size:11px}.tax-currency-tag{font-size:9px}.tax-total{font-size:42px}.mbsc-tax .tax-total-label{font-size:12px}.mbsc-tax .tax-uppercase{font-size:11px}.tax-summary dt{font-size:11px}.tax-summary dd{font-size:13px}.mbsc-tax .tax-calc-status{font-size:10px}.mbsc-tax.tax-studio .tax-summary .button{font-size:11px;min-height:44px}.tax-share-button{font-size:10px;min-height:34px}.mbsc-tax .tax-share-note{font-size:8px}.tax-preview-tag{font-size:8px}.tax-mini-eyebrow{font-size:8px}.mbsc-tax .tax-preview-header h2{font-size:16px}.tax-paper{padding:20px 14px}.tax-paper-top{font-size:7px}.mbsc-tax .tax-paper h3{font-size:14px}.mbsc-tax .tax-paper-date{font-size:9px}.mbsc-tax .tax-paper-buyer p{font-size:9px;grid-template-columns:52px 1fr}.tax-paper th,.tax-paper td{font-size:9px;padding:8px 4px}.tax-paper small{font-size:8px}.tax-paper-totals>div,.tax-paper-totals dt{font-size:9px}.tax-paper-totals>div{padding:8px 6px}.tax-paper-upper b{font-size:11px}.tax-paper-upper span{font-size:8px}.tax-paper footer{font-size:8px}.tax-guide{margin-top:32px;padding:30px 4px;gap:16px}.tax-guide-title .tax-eyebrow{font-size:8px}.mbsc-tax .tax-guide h2{font-size:19px!important}.mbsc-tax .tax-guide-title p{font-size:10px}.tax-faq summary{font-size:12px;padding:17px 0}.mbsc-tax .tax-faq p{font-size:11px}.tax-app-footer{padding:20px 4px;display:grid;gap:7px;font-size:10px}.tax-app-footer small{font-size:8px}.tax-mobile-dock{position:fixed;left:0;right:0;bottom:0;z-index:9991;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e1deed;background:#fffffff5;backdrop-filter:blur(14px);box-shadow:0 -5px 20px #4d3b6d08;font-family:inherit}.tax-mobile-dock small{display:block;font-size:9px;color:#a298b2;line-height:1.5}.tax-mobile-dock strong{display:block;font-size:22px;font-weight:600;letter-spacing:-.6px;color:#4c4162;line-height:1.5}.mbsc-tax.tax-studio .tax-mobile-dock button{display:flex;gap:9px;align-items:center;justify-content:center;min-height:44px;padding:10px 13px;background:#7961c5;border:1px solid #7961c5;color:#fff;border-radius:9px;font-size:11px;box-shadow:none}.tax-mobile-dock svg{width:16px!important;height:16px!important}}
@media(prefers-reduced-motion:reduce){.mbsc-tax *{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:#fff!important}body *{visibility:hidden!important}.mbsc-tax .tax-preview,.mbsc-tax .tax-preview *{visibility:visible!important}.mbsc-tax .tax-preview{display:block!important;position:absolute!important;left:0;top:0;width:100%;max-width:none;border:0;box-shadow:none;padding:12mm!important;margin:0;background:#fff}.mbsc-tax .tax-preview-header{display:flex;margin-bottom:8mm}.tax-preview-header h2{font-size:17px!important}.tax-preview-tag{font-size:10px!important}.tax-mini-eyebrow{font-size:8px!important}.mbsc-tax .tax-paper{padding:8mm;border:1px solid #999;font-size:12px;color:#222;background:#fff}.mbsc-tax .tax-paper h3{font-size:20px!important;color:#222}.mbsc-tax .tax-paper-date,.mbsc-tax .tax-paper-buyer p{font-size:12px!important;color:#444}.mbsc-tax .tax-paper-buyer b{color:#222}.tax-paper-top{font-size:8px!important}.mbsc-tax .tax-paper th,.mbsc-tax .tax-paper td{font-size:11px;border-color:#bbb;color:#333;padding:9px 7px}.tax-paper-totals>div,.tax-paper-totals dt{font-size:11px!important;color:#333!important}.tax-paper-totals dd{color:#222}.tax-paper-upper b{font-size:14px!important;color:#222}.tax-paper-upper span{font-size:10px}.tax-paper footer{font-size:10px;color:#666}.tax-paper-notes{font-size:11px!important}.tax-rounding{font-size:10px!important}#wpadminbar,#adminmenumain,#wpfooter,.tax-mobile-dock{display:none!important}#wpcontent{margin:0!important}}
/* Comfortable text sizes and contrast for everyday work. */
@media(min-width:601px){.mbsc-tax.tax-studio input:not([type=radio]):not([type=checkbox]),.mbsc-tax.tax-studio select{font-size:14px}.mbsc-tax .tax-fields>label{font-size:12px}.tax-label-note{font-size:10px;height:16px;color:#8f879e}.mbsc-tax .tax-section-title p{font-size:11px;color:#91899e}.tax-segment b,.tax-mode-switch b{font-size:13px}.tax-segment small,.tax-mode-switch small{font-size:10px;color:#8e829e}.tax-mode-switch button{min-height:77px}.tax-mode-switch{gap:12px}.tax-mode-switch button{gap:10px}.mbsc-tax .tax-price-caption{font-size:10px;color:#8e7e9d}.tax-price-bar>label{font-size:10px}.mbsc-tax.tax-studio .tax-price-bar select{font-size:11px;width:110px}.tax-item label{font-size:10px;color:#92839f}.mbsc-tax.tax-studio .tax-item input:not([type=checkbox]){font-size:13px;height:44px;min-height:44px}.tax-item .tax-remove{height:44px}.tax-lookup-actions>span{font-size:9px}.mbsc-tax.tax-studio .tax-lookup-actions .button{font-size:11px;min-height:37px}.tax-lookup-status{font-size:11px!important}.tax-id-status{font-size:10px!important;color:#8d809c}.tax-check-label>span>b{font-size:12px}.tax-check-label small{font-size:10px;color:#92829e}.tax-live,.tax-summary dt{font-size:12px}.tax-summary dd{font-size:14px}.mbsc-tax .tax-total-label{font-size:12px}.mbsc-tax .tax-uppercase{font-size:12px;color:#a1a7c6}.mbsc-tax .tax-calc-status{font-size:10px;color:#949bbb}.mbsc-tax.tax-studio .tax-summary .button{font-size:12px;min-height:44px}.tax-share-button{font-size:11px}.mbsc-tax .tax-share-note{font-size:9px;color:#939bbd}.tax-summary .button svg{width:15px;height:15px}.tax-paper th,.tax-paper td,.tax-paper-totals>div,.tax-paper-totals dt{font-size:10px}.tax-paper small{font-size:8px}.mbsc-tax .tax-paper h3{font-size:15px}.mbsc-tax .tax-paper-buyer p{font-size:10px;grid-template-columns:54px 1fr}.mbsc-tax .tax-paper-date{font-size:10px}.tax-paper-upper b{font-size:12px}.tax-paper-upper span{font-size:9px}.tax-paper footer{font-size:8px}.mbsc-tax .tax-small{font-size:10px;color:#9988a6}.tax-preview-tag{font-size:9px}.tax-guide summary{font-size:13px}.mbsc-tax .tax-faq p{font-size:12px}.tax-editor-bottom>span{font-size:9px}.tax-draft-tools .tax-quiet{font-size:12px}.tax-add-button{font-size:12px}.tax-add-row>span{font-size:10px}}
.mbsc-tax .tax-price-caption,.tax-id-status,.tax-label-note,.tax-check-label small,.tax-editor-bottom>span{color:#83748f}.tax-lookup-status{color:#7d6d8b}.tax-faq summary{color:#766584}.mbsc-tax .tax-faq p{color:#807288}.mbsc-tax .tax-paper h3{color:#62543f}.tax-paper th,.tax-paper td,.tax-paper-totals>div,.tax-paper-totals dt,.tax-paper-totals dd,.tax-paper-buyer b,.tax-paper-upper b{color:#887450}.tax-paper footer{color:#a18a69}.tax-output{scroll-margin-top:20px}
@media print{.mbsc-tax .tax-paper h3{font-size:20px!important;color:#222!important}.mbsc-tax .tax-paper th,.mbsc-tax .tax-paper td,.tax-paper-totals>div,.tax-paper-totals dt{font-size:11px!important;color:#333!important}.mbsc-tax .tax-paper-date,.mbsc-tax .tax-paper-buyer p{font-size:12px!important}.tax-paper-upper b{font-size:14px!important;color:#222!important}.tax-paper footer{font-size:10px!important;color:#666!important}}
.tax-toast{position:fixed;z-index:9992;left:50%;bottom:24px;transform:translateX(-50%);max-width:calc(100vw - 40px);padding:12px 20px;border-radius:11px;background:#302c46;color:#f4eefc;font-size:12px;line-height:1.7;box-shadow:0 8px 30px #30244226}.tax-embed{container-type:inline-size}.tax-embed .tax-shell{max-width:100%;padding:0 18px}.tax-embed .tax-mobile-dock{display:none}.tax-embed .tax-hero{min-height:0;padding:32px 0}
@container(max-width:800px){.tax-embed .tax-layout,.tax-embed .tax-output,.tax-embed .tax-guide{display:block}.tax-embed .tax-output{position:static}.tax-embed .tax-hero-art{display:none}.tax-embed .tax-hero h1{font-size:32px!important}.tax-embed .tax-output>.tax-summary{margin-bottom:20px}.tax-embed .tax-card{padding:20px}.tax-embed .tax-guide{padding:28px 0}.tax-embed .tax-guide-title{margin-bottom:20px}.tax-embed .tax-workspace-bar{flex-wrap:wrap}.tax-embed .tax-workspace-bar>div:first-child>span{display:none}.tax-embed .tax-draft-status{display:none}.tax-embed .tax-lookup-actions{display:block}.tax-embed .tax-lookup-actions>span{display:block;margin-top:8px}.tax-embed .tax-buyer-fields{grid-template-columns:1fr}.tax-embed .tax-fields{gap:12px}.tax-embed .tax-section-label{display:none}.tax-embed .tax-mode-switch button{gap:6px;padding:12px 8px}.tax-embed .tax-mode-switch small{font-size:8px}.tax-embed .tax-item{grid-template-columns:minmax(80px,1.5fr) minmax(42px,.55fr) minmax(65px,.9fr) 18px;gap:6px}.tax-embed .tax-app-footer{flex-wrap:wrap}}
@media(max-width:600px){.tax-toast{bottom:calc(104px + env(safe-area-inset-bottom));font-size:12px}.mbsc-tax.tax-studio .tax-lookup-actions .button{min-height:42px}.mbsc-tax .tax-add-button{min-height:40px}}
@media print{.tax-toast{display:none!important}.tax-embed .tax-preview{display:block!important}}
.tax-hero{overflow:hidden}
.tax-summary-amount,.tax-summary-tools{display:contents}
.mbsc-tax[data-invoice-kind=two] .tax-segment{margin-bottom:0}
.mbsc-tax .tax-desktop-preview{display:none}
/* Wide screens follow the same reading order as the form. Container width also
   protects shortcodes inside narrow theme columns and the WordPress sidebar. */
.mbsc-tax.tax-studio{container-type:inline-size;container-name:mbsc-tax}
@media screen{
 @container mbsc-tax (min-width:851px){
  .tax-shell{max-width:1160px;padding:0 32px}
  .tax-front>.tax-nav{padding-left:max(32px,calc((100vw - 1096px)/2));padding-right:max(32px,calc((100vw - 1096px)/2))}
  .tax-layout{display:block}
  .tax-output{position:static;display:block}
  .tax-card{padding:36px 40px;margin-bottom:32px;border-radius:20px}
  .tax-section-title{gap:16px;margin-bottom:28px}
  .tax-step{width:42px;height:42px;flex-basis:42px;font-size:15px}
  .mbsc-tax .tax-section-title h2{font-size:22px;margin-bottom:4px}
  .mbsc-tax .tax-section-title p{font-size:13px}
  .tax-section-label{display:none}
  .tax-segment{gap:24px;margin-bottom:28px}
  .tax-segment>label{padding:20px 22px;gap:14px;min-height:92px}
  .tax-segment b,.tax-mode-switch b{font-size:17px}
  .tax-segment small,.tax-mode-switch small{font-size:12px;margin-top:4px}
  .tax-segment input{width:21px;height:21px}
  .tax-fields{gap:28px;margin-bottom:24px}
  .tax-buyer-fields{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
  .mbsc-tax .tax-fields>label{font-size:15px!important}
  .tax-label-note{font-size:12px;height:20px}
  .mbsc-tax.tax-studio input:not([type=radio]):not([type=checkbox]),.mbsc-tax.tax-studio select{height:54px;min-height:54px;font-size:17px;padding:12px 16px;border-radius:10px}
  .tax-fields label>input[type=date]{margin-top:27px!important}
  .tax-input-icon>svg{top:17px;left:16px;width:20px!important;height:20px!important}
  .mbsc-tax.tax-studio .tax-input-icon>input{padding-left:46px!important}
  .tax-lookup-actions{flex-direction:row;align-items:center;gap:20px;flex-wrap:wrap}
  .tax-tools{gap:12px}
  .mbsc-tax.tax-studio .tax-lookup-actions .button{min-height:46px;font-size:14px;padding:11px 16px}
  .tax-lookup-actions>span{font-size:12px}
  .tax-lookup-status{font-size:13px!important;margin-top:18px!important}
  .tax-id-status{font-size:12px!important}
  .tax-candidates button{font-size:16px;padding:16px 20px}
  .tax-candidates small{font-size:12px}
  .tax-mode-switch{gap:24px}
  .tax-mode-switch button{padding:20px 22px;gap:16px;min-height:96px}
  .tax-mode-icon{width:36px;height:36px;font-size:27px}
  .tax-mode-switch i{width:20px;height:20px;font-size:12px}
  .tax-price-bar{padding:24px 0;gap:24px}
  .mbsc-tax .tax-price-caption{font-size:13px}
  .tax-price-bar>label{font-size:13px;gap:12px}
  .mbsc-tax.tax-studio .tax-price-bar select{height:42px;min-height:42px;width:140px;font-size:14px;padding:8px 10px}
  .tax-item{grid-template-columns:minmax(180px,2.3fr) minmax(100px,.65fr) minmax(140px,1fr) 36px;gap:16px;margin-bottom:20px}
  .tax-item label{font-size:13px}
  .mbsc-tax.tax-studio .tax-item input:not([type=checkbox]){height:54px;min-height:54px;font-size:17px;padding:12px 16px}
  .tax-item .tax-remove{height:54px;font-size:28px}
  .tax-add-row{margin-top:20px}
  .tax-add-button{font-size:15px;min-height:44px;gap:10px}
  .tax-add-row>span{font-size:12px}
  .mbsc-tax .tax-small{font-size:12px;margin-top:20px;padding-top:18px}
  .tax-check-label>span>b{font-size:15px}
  .tax-check-label small{font-size:12px}
  .tax-shipping{padding-top:24px;margin-top:28px}
  .tax-shipping>.tax-fields{padding-left:26px;margin-top:20px}
  .tax-editor-bottom{margin-top:26px;padding-top:18px}
  .mbsc-tax .tax-clear,.tax-editor-bottom>span{font-size:12px}
  .tax-workspace-bar{padding:24px 0 28px;gap:24px;flex-wrap:wrap}
  .mbsc-tax .tax-workspace-bar h2{font-size:21px}
  .tax-workspace-bar>div>span{font-size:13px}
  .tax-draft-tools{gap:20px;flex-wrap:wrap}
  .mbsc-tax .tax-draft-tools .tax-quiet{font-size:13px;min-height:40px}
  .mbsc-tax .tax-desktop-preview{display:inline-flex;color:#6a58d9}
  .tax-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:48px;padding:36px 40px;border-radius:20px;margin-bottom:32px}
  .tax-summary-amount,.tax-summary-tools{display:block;min-width:0}
  .tax-live{font-size:14px}
  .tax-currency-tag{font-size:11px}
  .mbsc-tax .tax-total-label{font-size:15px;margin-top:24px}
  .tax-total-label>span{font-size:11px}
  .tax-total{font-size:clamp(34px,3.5vw,52px)}
  .mbsc-tax .tax-uppercase{font-size:14px;margin:8px 0 24px}
  .tax-distribution{height:6px;margin-bottom:0}
  .tax-summary dl{padding-bottom:18px}
  .tax-summary dl>div{margin:12px 0;gap:20px}
  .tax-summary dt{font-size:14px}
  .tax-summary dd{font-size:18px}
  .mbsc-tax .tax-calc-status{font-size:12px;margin:16px 0}
  .tax-summary-actions{gap:12px}
  .mbsc-tax.tax-studio .tax-summary .button{min-height:48px;font-size:14px;padding:12px}
  .tax-share-button{font-size:13px;min-height:36px;margin-top:16px}
  .mbsc-tax .tax-share-note{font-size:11px}
  .tax-preview-header{margin-bottom:28px}
  .mbsc-tax .tax-preview-header h2{font-size:22px}
  .tax-mini-eyebrow{font-size:10px}
  .tax-preview-tag{font-size:12px;padding:7px 12px}
  .tax-paper{max-width:900px;margin:0 auto;padding:36px 40px;font-size:14px}
  .tax-paper-top{font-size:10px;margin-bottom:24px}
  .tax-paper-top>span:last-child{font-size:10px;margin:0}
  .mbsc-tax .tax-paper h3{font-size:22px}
  .mbsc-tax .tax-paper-date{font-size:13px;margin-bottom:28px}
  .tax-paper-buyer{gap:8px;margin-bottom:22px}
  .mbsc-tax .tax-paper-buyer p{font-size:14px;grid-template-columns:78px 1fr}
  .tax-paper th,.tax-paper td{font-size:14px;padding:13px 14px}
  .tax-paper small{font-size:12px}
  .tax-paper-totals>div{padding:12px 14px}
  .tax-paper-totals>div,.tax-paper-totals dt{font-size:14px}
  .mbsc-tax.tax-studio .tax-paper-upper{padding:14px}
  .tax-paper-upper span{font-size:12px}
  .tax-paper-upper b{font-size:17px}
  .tax-paper footer{font-size:12px;margin-top:24px;padding-top:20px}
  .mbsc-tax .tax-paper-notes,.mbsc-tax .tax-rounding{font-size:13px}
  .tax-preview{scroll-margin-top:28px}
  .tax-guide{margin-top:40px;padding:48px 0;gap:48px}
  .tax-faq summary{font-size:15px;padding:20px 0}
  .mbsc-tax .tax-faq p{font-size:14px}
 }
}
@media print{.tax-nav,.tax-hero,.tax-workspace-bar,.tax-editor,.tax-summary,.tax-guide,.tax-app-footer,.tax-mobile-dock{display:none!important}.mbsc-tax.tax-studio,.tax-shell,.tax-layout,.tax-output{display:block!important;position:static!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}.mbsc-tax .tax-preview{position:static!important;width:100%!important;margin:0!important;padding:0!important;border:0!important}.tax-paper tr{break-inside:avoid}.mbsc-tax-public-page{margin:0!important;padding:0!important;min-height:0!important}@page{margin:12mm}}
@media print{.mbsc-tax.tax-studio,.tax-shell,.tax-layout,.tax-output,.tax-preview{background:#fff!important}.tax-preview:focus{outline:none!important}}
/* 1.2: the default task is invoice type -> amount -> preview. Extra tools stay
   in a native disclosure, so desktop, phone and embedded pages share one flow. */
.mbsc-tax.tax-simple-studio .tax-shell{max-width:1064px;padding:0 24px}
.tax-front.tax-simple-studio>.tax-nav{padding-left:max(24px,calc((100vw - 1016px)/2));padding-right:max(24px,calc((100vw - 1016px)/2))}
.tax-simple-studio .tax-hero{display:block;min-height:0;padding:36px 0 28px;text-align:center}
.mbsc-tax.tax-simple-studio .tax-hero h1{font-size:32px!important;line-height:1.4!important;letter-spacing:.2px;margin:0 0 10px;max-width:none}
.mbsc-tax.tax-simple-studio .tax-hero p{font-size:14px;color:#7c788e;max-width:none;line-height:1.7}
.tax-simple-studio .tax-layout,.tax-simple-studio .tax-output{display:block;position:static}
.tax-simple-studio .tax-card{padding:28px 32px;margin-bottom:24px;border-radius:18px}
.tax-simple-studio .tax-section-title{margin-bottom:18px}
.mbsc-tax.tax-simple-studio .tax-section-title h2,.mbsc-tax.tax-simple-studio .tax-preview-header h2{font-size:21px;margin:0 0 4px}
.mbsc-tax.tax-simple-studio .tax-section-title p{font-size:13px;line-height:1.7;color:#8a8196}
.tax-simple-studio .tax-segment{gap:18px;margin-bottom:24px}
.tax-simple-studio .tax-segment>label{padding:17px 20px;min-height:80px;gap:12px}
.tax-simple-studio .tax-segment b{font-size:17px}
.tax-simple-studio .tax-segment small{font-size:12px;margin-top:3px}
.tax-simple-studio[data-invoice-kind=two] .tax-segment{margin-bottom:0}
.tax-simple-studio .tax-buyer-fields{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:24px;margin-bottom:0}
.mbsc-tax.tax-simple-studio .tax-fields>label{font-size:14px!important}
.tax-simple-studio .tax-lookup-status{font-size:12px!important;margin-top:14px!important}
.tax-simple-studio .tax-id-status{font-size:11px!important;margin-top:6px!important}
.tax-simple-amounts{display:grid;grid-template-columns:1.12fr .9fr .9fr 1.12fr;grid-template-areas:"gross tax rate net";gap:20px}
.tax-simple-amounts>label{display:block;min-width:0;font-size:14px;color:#6a607a;font-weight:550}
.tax-amount-gross{grid-area:gross}.tax-amount-tax{grid-area:tax}.tax-amount-rate{grid-area:rate}.tax-amount-net{grid-area:net}
.mbsc-tax.tax-studio.tax-simple-studio .tax-simple-amounts input{height:58px;min-height:58px;font-size:22px;padding:12px 14px;text-align:right;font-variant-numeric:tabular-nums;border-color:#cfc5ea}
.mbsc-tax.tax-simple-studio .tax-simple-amounts input[readonly]{background:#f5f3f8;border-color:#e2ddea;color:#80758d}
.mbsc-tax.tax-simple-studio .tax-simple-amounts select{height:58px;min-height:58px;font-size:17px;padding:12px}
.tax-calc-feedback{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;justify-content:space-between;padding-top:16px}
.mbsc-tax.tax-simple-studio .tax-uppercase{font-size:13px;color:#827391;margin:0;line-height:1.7}
.tax-simple-studio .tax-uppercase strong{font-weight:500;color:#665278}
.mbsc-tax.tax-simple-studio .tax-calc-status{font-size:11px;color:#a096ad;margin:0;min-height:0;line-height:1.7}
.tax-simple-studio .tax-more{border:1px solid #e5dfed;border-radius:14px;background:#fff;margin-bottom:24px}
.tax-simple-studio .tax-more>summary{display:flex;align-items:center;gap:16px;list-style:none;cursor:pointer;padding:18px 24px;color:#77608e;font-size:14px;line-height:1.6}
.tax-simple-studio .tax-more>summary::-webkit-details-marker{display:none}
.tax-more>summary>span{font-size:12px;font-weight:400;color:#a094ab}
.tax-more>summary>i{font-style:normal;font-size:20px;margin-left:auto;line-height:1}
.tax-more[open]>summary>i{transform:rotate(45deg)}
.tax-more[open]>summary{border-bottom:1px solid #eee9f3}
.tax-more-content{padding:0 28px}
.tax-more-group{padding:24px 0;border-bottom:1px solid #eee9f3}
.tax-more-group:last-child{border-bottom:0}
.mbsc-tax.tax-simple-studio .tax-more-group>h2{font-size:16px;margin:0 0 18px}
.tax-simple-studio .tax-mode-switch{display:flex;gap:10px;margin-bottom:12px}
.tax-simple-studio .tax-mode-switch button{padding:9px 18px;min-height:40px;border-radius:8px}
.tax-simple-studio .tax-mode-switch b{font-size:13px}
.mbsc-tax.tax-simple-studio .tax-price-caption{font-size:12px;margin:0 0 16px;line-height:1.7}
.tax-simple-studio .tax-fields label>input[type=date]{margin-top:7px!important}
.tax-simple-studio .tax-shipping{padding-top:18px;margin-top:18px}
.tax-simple-studio .tax-draft-tools{gap:10px;flex-wrap:wrap}
.mbsc-tax.tax-simple-studio .tax-draft-tools .button{min-height:40px;padding:9px 13px;font-size:12px}
.tax-simple-studio .tax-draft-status{max-width:none;display:block;font-size:12px;color:#82718f;margin-top:12px}
.mbsc-tax.tax-simple-studio .tax-local-note{font-size:11px;color:#9b8ea6;margin-top:10px}
.tax-simple-studio .tax-preview-header{margin-bottom:24px}
.mbsc-tax.tax-simple-studio .tax-preview-header .button{background:#7b65c6;border-color:#7b65c6;color:white;min-height:40px;padding:9px 14px;font-size:13px}
.tax-simple-studio .tax-main-actions{display:flex;justify-content:center;gap:18px;margin:28px 0}
.mbsc-tax.tax-studio .tax-main-actions .button{width:auto;min-width:170px;min-height:48px;margin:0;padding:12px 22px;background:#fff;border:1px solid #dad1e8;border-radius:10px;color:#7f659c;font-size:14px}
.mbsc-tax.tax-studio .tax-main-actions .tax-share-button{background:#7b65c6;border-color:#7b65c6;color:#fff}
.tax-main-actions .button svg{width:16px!important;height:16px!important}
.tax-simple-studio .tax-help{border-top:1px solid #e6e0ed;padding:20px 0}
.tax-help>summary{font-size:12px;color:#9a8aa6;cursor:pointer}
.tax-help-content{padding:14px 0}
.mbsc-tax.tax-simple-studio .tax-help-content p{font-size:12px;color:#8e7e9b;margin:0 0 12px;line-height:1.9}
.tax-simple-studio .tax-app-footer{justify-content:center;border:0;padding:14px 0 24px}
@media(max-width:850px){.tax-simple-amounts{grid-template-columns:1fr 1fr;grid-template-areas:"gross net" "rate tax";gap:20px}.tax-simple-studio .tax-buyer-fields{gap:18px}}
@media(max-width:600px){
 .mbsc-tax.tax-simple-studio .tax-shell{padding:0 16px}
 .tax-simple-studio .tax-hero{padding:26px 0 24px}
 .mbsc-tax.tax-simple-studio .tax-hero h1{font-size:27px!important}
 .mbsc-tax.tax-simple-studio .tax-hero p{font-size:12px}
 .tax-simple-studio .tax-card{padding:22px 18px;margin-bottom:18px;border-radius:14px}
 .mbsc-tax.tax-simple-studio .tax-section-title h2,.mbsc-tax.tax-simple-studio .tax-preview-header h2{font-size:18px}
 .mbsc-tax.tax-simple-studio .tax-section-title p{font-size:11px}
 .tax-simple-studio .tax-segment{gap:10px;margin-bottom:20px}
 .tax-simple-studio .tax-segment>label{padding:13px 10px;min-height:72px;gap:8px}
 .tax-simple-studio .tax-segment b{font-size:13px}
 .tax-simple-studio .tax-segment small{font-size:10px}
 .tax-simple-studio .tax-buyer-fields{grid-template-columns:1fr;gap:16px}
 .mbsc-tax.tax-simple-studio .tax-fields>label{font-size:12px!important}
 .tax-simple-studio .tax-lookup-status{font-size:11px!important}
 .tax-simple-studio .tax-id-status{font-size:10px!important}
 .tax-simple-amounts{gap:16px 12px}
 .tax-simple-amounts>label{font-size:12px}
 .mbsc-tax.tax-studio.tax-simple-studio .tax-simple-amounts input{height:52px;min-height:52px;font-size:20px;padding:10px}
 .mbsc-tax.tax-simple-studio .tax-simple-amounts select{height:52px;min-height:52px;font-size:14px;padding:10px}
 .tax-calc-feedback{display:block;padding-top:14px}
 .mbsc-tax.tax-simple-studio .tax-uppercase{font-size:12px}
 .mbsc-tax.tax-simple-studio .tax-calc-status{font-size:10px;margin-top:5px}
 .tax-simple-studio .tax-more{margin-bottom:18px}
 .tax-simple-studio .tax-more>summary{padding:16px 18px;gap:10px;font-size:13px}
 .tax-more>summary>span{font-size:10px}
 .tax-more-content{padding:0 18px}
 .tax-more-group{padding:20px 0}
 .mbsc-tax.tax-simple-studio .tax-more-group>h2{font-size:15px}
 .tax-simple-studio .tax-main-actions{gap:10px;margin:22px 0}
 .mbsc-tax.tax-studio .tax-main-actions .button{min-width:0;flex:1;font-size:12px;padding:10px 8px}
 .mbsc-tax.tax-simple-studio .tax-preview-header .button{font-size:11px;padding:8px 10px;min-height:38px}
}
@container mbsc-tax (max-width:600px){.tax-embed.tax-simple-studio .tax-simple-amounts{grid-template-columns:1fr 1fr;grid-template-areas:"gross net" "rate tax";gap:14px}.tax-embed.tax-simple-studio .tax-simple-amounts>label{font-size:12px}.tax-embed.tax-simple-studio .tax-simple-amounts input{font-size:19px;padding:10px}.tax-embed.tax-simple-studio .tax-simple-amounts select{font-size:14px;padding:10px}.tax-embed.tax-simple-studio .tax-more>summary>span{display:none}.tax-embed.tax-simple-studio .tax-more-content{padding:0 16px}.tax-embed.tax-simple-studio .tax-main-actions{gap:10px}.tax-embed.tax-simple-studio .tax-main-actions .button{min-width:0;flex:1;font-size:12px;padding:10px 8px}}
@media print{.tax-more,.tax-main-actions,.tax-help,.tax-calc-feedback{display:none!important}.mbsc-tax.tax-simple-studio .tax-shell{max-width:none!important;padding:0!important}}
