/* A common invoice structure with five deliberately different brand treatments. */
.brand-invoice{--ink:#20241f;--accent:#ad8f59;--light:#f6f3ec;box-sizing:border-box;width:100%;max-width:794px;min-height:1080px;margin:0 auto;background:white;color:var(--ink);padding:52px 50px 32px;font:12px/1.8 -apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN',sans-serif;display:flex;flex-direction:column;position:relative;overflow-wrap:anywhere}.brand-invoice *{box-sizing:border-box}.brand-invoice p,.brand-invoice h2,.brand-invoice h3,.brand-invoice dl,.brand-invoice dd{margin:0}.inv-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:28px;border-bottom:2px solid var(--accent)}.inv-brand{display:flex;align-items:center;gap:13px;flex-shrink:0}.inv-brand img{width:44px;height:auto;object-fit:contain}.inv-brand strong{font:600 23px/1.4 'Hiragino Mincho ProN','Yu Mincho',serif;letter-spacing:.12em;display:block}.inv-brand span{display:block;font:10px/2 Georgia,serif;letter-spacing:.19em;color:var(--accent)}.inv-brand small{display:block;font-size:7px;letter-spacing:.14em;color:#76736c}.inv-heading{text-align:right}.inv-kicker{font:10px/1.5 Georgia,serif;letter-spacing:.3em;color:var(--accent)}.brand-invoice .inv-heading h2{font:500 27px/1.8 'Hiragino Mincho ProN','Yu Mincho',serif;letter-spacing:.3em}.inv-sample{display:block;font-size:7px;letter-spacing:.1em;color:#68675f}.inv-address-row{display:flex;justify-content:space-between;gap:25px;padding:30px 0 26px}.inv-label{display:block;font-size:9px;letter-spacing:.1em;color:#6d6c63}.brand-invoice .inv-recipient h3{font-size:17px;font-weight:500;margin:10px 0 12px}.inv-recipient{max-width:62%}.inv-recipient p{font-size:10px;color:#595b55}.inv-meta{min-width:185px;font-size:10px;padding-top:3px}.inv-meta div{display:flex;justify-content:space-between;gap:18px;padding:3px 0}.inv-meta dt{color:#73756f}.inv-amount{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid var(--accent);border-bottom:1px solid var(--accent);padding:17px 0;margin-bottom:23px}.inv-amount>div>strong{display:block;font:400 38px/1.3 Georgia,'Times New Roman',serif;letter-spacing:.02em;font-variant-numeric:tabular-nums}.inv-due{text-align:right}.inv-due span{font-size:10px;color:#66685e}.inv-amount .inv-due strong{font:500 17px/1.8 -apple-system,sans-serif}.brand-invoice .inv-greeting{font-size:10px;margin:0 0 20px;color:#65675f}.brand-invoice .inv-table{border-collapse:collapse;width:100%;table-layout:fixed;font-size:11px;color:var(--ink)}.brand-invoice .inv-table th{background:var(--light);font-weight:500;font-size:9px;padding:11px 9px;border-bottom:1px solid var(--accent);color:var(--ink);text-align:left;white-space:normal}.brand-invoice .inv-table td{padding:14px 9px;border-bottom:1px solid #deded8;vertical-align:top;white-space:normal}.brand-invoice .inv-table th:first-child{width:48%}.brand-invoice .inv-table th:nth-child(2){width:10%;text-align:right}.brand-invoice .inv-table th:nth-child(3){width:21%;text-align:right}.brand-invoice .inv-table th:nth-child(4){width:21%;text-align:right}.inv-table td:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}.inv-table tr{break-inside:avoid}.inv-calculation{display:flex;justify-content:space-between;gap:24px;padding:18px 0 26px}.inv-calculation>p{font-size:9px;color:#777971}.inv-calculation dl{width:260px}.inv-calculation dl>div{display:flex;justify-content:space-between;padding:4px 0;font-size:11px}.inv-calculation .inv-grand-total{border-top:1px solid var(--accent);margin-top:7px;padding-top:10px;font-weight:600}.inv-calculation dd{font-variant-numeric:tabular-nums}.inv-bottom{display:grid;grid-template-columns:1.05fr 1fr;gap:28px;padding-top:22px;border-top:1px solid #deded8;margin-top:auto;break-inside:avoid}.brand-invoice .inv-bottom h3{font-size:12px;font-weight:600;margin:0 0 9px}.inv-bottom p{white-space:pre-line;font-size:10px}.inv-payment-note{margin-top:12px!important;color:#737269;font-size:9px!important}.inv-footer{display:flex;justify-content:space-between;gap:20px;font-size:8px;letter-spacing:.07em;color:#85847a;padding-top:32px;margin-top:18px}.invoice-theme-sumi{border-top:7px solid #242720}.invoice-theme-sumi .inv-amount{background:#f6f3ec;padding:20px 22px}.invoice-theme-sumi .inv-heading h2{color:#292d25}.invoice-theme-navy{--ink:#17354b;--accent:#8d9fad;--light:#edf2f6;padding-top:0;border-bottom:8px solid #17354b}.invoice-theme-navy .inv-header{margin:0 -50px;padding:38px 50px;background:#17354b;color:#fff;border:0;min-height:155px}.invoice-theme-navy .inv-brand img{background:#fff;border-radius:6px;padding:5px;width:48px}.invoice-theme-navy .inv-brand span,.invoice-theme-navy .inv-brand small,.invoice-theme-navy .inv-kicker,.invoice-theme-navy .inv-sample{color:#c4d1d9}.invoice-theme-navy .inv-heading h2{font-family:inherit;letter-spacing:.25em}.invoice-theme-navy .inv-amount{background:#edf2f6;border-left:5px solid #17354b;border-top:0;border-bottom:0;padding:20px 20px}.invoice-theme-navy .inv-amount>div>strong{font-family:inherit;font-weight:600;font-size:34px}.invoice-theme-navy .inv-table th{background:#17354b;color:white}.invoice-theme-navy .inv-bottom{border-top:2px solid #17354b}.invoice-theme-white{--ink:#2c3439;--accent:#a59a82;--light:white;padding-left:66px;border-left:10px solid #d2c8b6}.invoice-theme-white .inv-header{border:0;padding-bottom:10px;align-items:flex-start}.invoice-theme-white .inv-kicker{font:300 38px/1.2 -apple-system,sans-serif;letter-spacing:.05em;color:#9ba0a1}.invoice-theme-white .inv-heading h2{font-family:inherit;font-size:17px;margin-top:10px}.invoice-theme-white .inv-brand img{width:34px}.invoice-theme-white .inv-brand strong{font-size:21px}.invoice-theme-white .inv-amount{border-top:0;border-bottom:2px solid #2c3439;padding:10px 0 25px}.invoice-theme-white .inv-amount>div>strong{font:300 46px/1.4 -apple-system,sans-serif}.invoice-theme-white .inv-amount .inv-due strong{font-size:18px;font-weight:400}.invoice-theme-white .inv-table th{border-bottom:2px solid #2c3439}.invoice-theme-white .inv-footer{letter-spacing:.02em}.invoice-theme-wa{--ink:#4a4234;--accent:#aa8a5e;--light:#f7f4ec;border:1px solid #b09b77;outline:1px solid #b09b77;outline-offset:-9px;padding:38px 45px 32px}.invoice-theme-wa .inv-header{display:block;text-align:center;border:0;padding-bottom:14px}.invoice-theme-wa .inv-brand{justify-content:center}.invoice-theme-wa .inv-brand img{width:35px}.invoice-theme-wa .inv-brand strong{font-size:23px}.invoice-theme-wa .inv-brand small{display:none}.invoice-theme-wa .inv-heading{text-align:center;margin-top:22px}.invoice-theme-wa .inv-kicker{display:none}.invoice-theme-wa .inv-heading h2{font-size:30px;letter-spacing:.55em;margin-left:.55em}.invoice-theme-wa .inv-address-row{padding-top:16px}.invoice-theme-wa .inv-amount{border-top:3px double var(--accent);border-bottom:3px double var(--accent);padding:12px 0}.invoice-theme-wa .inv-amount>div>strong{font-size:33px}.invoice-theme-wa .inv-table td{padding:11px 8px}.invoice-theme-wa .inv-recipient h3{font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:18px}.invoice-theme-wa .inv-footer{padding-top:15px}.invoice-theme-sun{--ink:#4b3d25;--accent:#c49c36;--light:#fff8dd;padding-top:42px}.invoice-theme-sun .inv-header{border:0;background:#fff8dd;border-radius:18px;padding:22px;margin:0 -10px 0}.invoice-theme-sun .inv-brand img{width:56px}.invoice-theme-sun .inv-brand strong{font-size:22px}.invoice-theme-sun .inv-heading h2{font-family:inherit;font-size:25px;letter-spacing:.18em}.invoice-theme-sun .inv-amount{border:0;background:#f7df83;border-radius:12px;padding:19px 22px}.invoice-theme-sun .inv-amount>div>strong{font-size:38px}.invoice-theme-sun .inv-table th{border-bottom-color:#e8cc6c}.invoice-theme-sun .inv-bottom{border:0;background:#fffbeb;padding:20px;border-radius:12px;gap:18px}.invoice-theme-sun .inv-footer span:first-child{color:#8b701f}
/* The business app retains a neutral layout until an option is selected. */
.invoice-theme-base{min-height:0;padding:10px;max-width:none}.invoice-theme-base .inv-brand img{width:36px}.invoice-theme-base .inv-brand strong{font-size:20px}.invoice-theme-base .inv-heading h2{font-size:24px}.invoice-theme-base .inv-bottom{margin-top:15px}.invoice-theme-base .inv-footer{margin-top:10px}
/* Gallery */
.design-gallery{margin:0;background:#eae9e4;color:#262b28;font:15px/1.7 -apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN',sans-serif}.design-gallery *{box-sizing:border-box}.gallery-header{max-width:1240px;padding:45px 40px 28px;margin:auto}.gallery-header a{color:#51574d;font-size:12px;text-decoration:none}.gallery-eyebrow{font-size:10px;letter-spacing:.19em;color:#8e774b;margin:40px 0 15px}.gallery-header h1{font:500 39px/1.5 'Hiragino Mincho ProN','Yu Mincho',serif;letter-spacing:.07em;margin:15px 0}.gallery-header>p:not(.gallery-eyebrow){max-width:690px;font-size:13px;color:#65685f}.gallery-header .gallery-note{font-size:11px!important}.design-gallery main{max-width:1240px;margin:auto;padding:0 40px}.design-gallery button{cursor:pointer;font:inherit}.design-gallery button:focus-visible,.design-gallery a:focus-visible{outline:3px solid #a78952;outline-offset:4px}#design-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}#design-tabs button{display:flex;align-items:center;gap:10px;text-align:left;background:#f6f5f1;border:1px solid #d6d6ce;border-radius:6px;padding:16px 12px;font-size:14px;color:#4c534b;min-height:76px}#design-tabs button[aria-pressed=true]{border-color:#8a754a;background:#fff;box-shadow:inset 0 -3px #a58b53}#design-tabs small{display:block;font-size:10px;color:#7b8177}#design-tabs i{width:13px;height:33px;border-radius:2px;background:var(--swatch);flex:none}.gallery-tools{display:flex;justify-content:space-between;align-items:center;gap:25px;margin:30px 0 25px}.gallery-tools h2{font:500 25px 'Hiragino Mincho ProN','Yu Mincho',serif;margin:0 0 10px}.gallery-tools p{font-size:12px;color:#666d63;margin:0;max-width:560px}.gallery-tools>div:last-child{display:flex;gap:8px;flex-shrink:0}.gallery-tools button{background:#fff;border:1px solid #c8cbbf;border-radius:4px;color:#515a4c;min-height:44px;padding:10px 13px;font-size:11px}#print-design{background:#2c352b;color:white;border-color:#2c352b}.proposal{min-width:0}.proposal-label{text-align:center;font-size:12px;font-weight:500;color:#656e62;display:none}.sheet-wrap{filter:drop-shadow(0 8px 22px #252c261c)}#design-stage{padding:0 0 35px}.compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}.compare .proposal-label{display:block}.compare .sheet-wrap{width:100%;overflow:hidden;aspect-ratio:794/1080}.compare .brand-invoice{width:794px;max-width:none;transform-origin:top left;zoom:.67;min-height:1080px}.gallery-end{text-align:center;padding:30px;font-size:11px;color:#72796c}
@media(max-width:1000px){.gallery-header,.design-gallery main{padding-left:20px;padding-right:20px}.gallery-tools{align-items:flex-start;flex-direction:column}.compare{grid-template-columns:1fr}.compare .sheet-wrap{aspect-ratio:auto;overflow:visible}.compare .brand-invoice{zoom:1;width:100%;max-width:794px}#design-tabs{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.gallery-header{padding-top:22px}.gallery-header h1{font-size:29px}.gallery-eyebrow{margin-top:30px;font-size:8px}#design-tabs{grid-template-columns:repeat(2,1fr);gap:7px}#design-tabs button{padding:10px;font-size:13px;min-height:60px}.gallery-tools>div:last-child{flex-wrap:wrap}.brand-invoice{padding:25px 20px;min-height:840px;font-size:10px}.inv-header{gap:10px}.inv-brand{gap:6px}.inv-brand img{width:28px!important}.inv-brand strong{font-size:16px!important}.inv-brand span{font-size:7px;letter-spacing:.1em}.inv-brand small{font-size:6px}.brand-invoice .inv-heading h2{font-size:21px}.inv-kicker{font-size:8px}.inv-sample{font-size:6px}.inv-address-row{gap:12px;padding:22px 0;flex-wrap:wrap}.inv-recipient{max-width:100%}.brand-invoice .inv-recipient h3{font-size:14px}.inv-meta{min-width:0;width:100%;display:flex;gap:14px;flex-wrap:wrap}.inv-meta div{gap:6px;font-size:8px}.inv-amount{gap:10px}.inv-amount>div>strong{font-size:28px!important}.inv-amount .inv-due strong{font-size:12px!important}.inv-due span{font-size:8px}.inv-label{font-size:8px}.brand-invoice .inv-table{font-size:9px}.brand-invoice .inv-table th{font-size:8px}.brand-invoice .inv-table th,.brand-invoice .inv-table td{padding:10px 4px}.inv-calculation{gap:10px}.inv-calculation>p{font-size:8px}.inv-calculation dl{width:190px}.inv-calculation dl>div{font-size:9px}.inv-bottom{gap:14px}.inv-bottom p{font-size:9px}.brand-invoice .inv-bottom h3{font-size:10px}.inv-footer{font-size:6px;gap:10px}.invoice-theme-navy .inv-header{margin:-25px -20px 0;padding:25px 20px;min-height:120px}.invoice-theme-white{padding-left:24px}.invoice-theme-white .inv-kicker{font-size:24px}.invoice-theme-sun .inv-header{padding:14px;margin:0}.invoice-theme-wa{padding:26px}.invoice-theme-sun .inv-amount{padding:16px}.invoice-theme-sun .inv-bottom{padding:14px}.invoice-theme-base{padding:0;min-height:0}}
@media print{@page{size:A4;margin:16mm}.design-gallery{background:#fff}.gallery-header,#design-tabs,.gallery-tools,.gallery-end,.proposal-label{display:none!important}.design-gallery main,#design-stage{max-width:none;padding:0;margin:0;display:block}.proposal{break-after:page}.proposal:last-child{break-after:auto}.sheet-wrap{filter:none;aspect-ratio:auto!important;overflow:visible!important}.brand-invoice,.compare .brand-invoice{width:178mm;max-width:none;min-height:265mm;height:auto;padding:9mm 8mm 6mm;margin:0;zoom:1;transform:none;font-size:10px;print-color-adjust:exact;-webkit-print-color-adjust:exact}.inv-brand strong{font-size:22px}.inv-header{padding-bottom:20px}.inv-address-row{padding:22px 0}.brand-invoice .inv-table td{padding:11px 8px}.brand-invoice .inv-table{font-size:10px}.inv-amount>div>strong{font-size:33px}.inv-bottom p{font-size:9px}.inv-footer{padding-top:20px}.invoice-theme-navy{padding-top:0}.invoice-theme-navy .inv-header{margin:0 -8mm;padding:8mm;min-height:35mm}.invoice-theme-white{padding-left:11mm}.invoice-theme-wa{padding:8mm}.invoice-theme-wa .inv-header{padding-bottom:8px}.invoice-theme-wa .inv-heading{margin-top:15px}.invoice-theme-sun .inv-header{margin:0;padding:18px}.invoice-theme-base{min-height:0;width:100%;padding:8mm}.inv-calculation,.inv-bottom{break-inside:avoid}.inv-table thead{display:table-header-group}.inv-table td{overflow-wrap:anywhere}}
@media print{.brand-invoice{line-height:1.55}.brand-invoice .inv-header{padding-bottom:14px}.brand-invoice .inv-address-row{padding:18px 0}.brand-invoice .inv-recipient h3{margin:7px 0 9px}.brand-invoice .inv-amount{padding-top:14px;padding-bottom:14px;margin-bottom:16px}.brand-invoice .inv-greeting{margin-bottom:13px}.brand-invoice .inv-table td{padding:8px 7px}.brand-invoice .inv-table th{padding:9px 7px}.brand-invoice .inv-calculation{padding:13px 0 19px}.brand-invoice .inv-bottom{padding-top:16px}.brand-invoice .inv-footer{padding-top:16px;margin-top:12px}.invoice-theme-navy .inv-header{padding:7mm 8mm;min-height:29mm}.invoice-theme-wa .inv-heading{margin-top:12px}.invoice-theme-wa .inv-heading h2{font-size:26px}.invoice-theme-wa .inv-header{padding-bottom:0}.invoice-theme-sun .inv-header{padding:14px}.invoice-theme-sun .inv-bottom{padding:15px}.invoice-theme-white .inv-amount>div>strong{font-size:37px}}

.brand-invoice .inv-amount .inv-due strong{font-size:17px;font-family:-apple-system,sans-serif;font-weight:500;line-height:1.8}@media(max-width:650px){.brand-invoice .inv-amount .inv-due strong{font-size:12px!important}}

/* Adopted yellow invoice: lining, tabular numerals instead of old-style serif figures. */
.invoice-theme-sun .inv-amount>div:first-child>strong{font-family:Arial,'Helvetica Neue','Hiragino Kaku Gothic ProN',sans-serif;font-weight:600;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"lnum" 1,"tnum" 1;letter-spacing:0;line-height:1.3}
.invoice-theme-sun .inv-table td:not(:first-child),.invoice-theme-sun .inv-calculation dd,.invoice-theme-sun .inv-meta dd,.invoice-theme-sun .inv-due strong{font-family:Arial,'Helvetica Neue','Hiragino Kaku Gothic ProN',sans-serif;font-variant-numeric:lining-nums tabular-nums}
