:root{--bg:#f7f7f2;--paper:#fff;--green:#285c4b;--green-soft:#e8efe7;--ink:#24372f;--muted:#788278;--line:#e5e8df;--gold:#ac8348;--warm:#fbf1de;--orange:#98642c;--red:#a4483d;--nav-height:77px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--ink);font:15px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #c3a264;outline-offset:3px}button svg{pointer-events:none}a{color:inherit;text-decoration:none}input,textarea,select{font-size:16px;color:var(--ink)}input,textarea,select{border:1px solid #dfe5d9;background:#fcfcf9;border-radius:12px;padding:12px;width:100%;min-width:0;outline:none}input:focus,textarea:focus,select:focus{border-color:#79957d;box-shadow:0 0 0 3px #e9efe5}textarea{resize:vertical;min-height:90px}input::placeholder,textarea::placeholder{color:#9aa391}input[type=date]{display:block;min-height:49px;max-width:100%;appearance:none;-webkit-appearance:none}svg{display:block;width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{max-width:760px;margin:0 auto;padding:0 26px calc(110px + env(safe-area-inset-bottom))}.topbar{height:94px;display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:650;line-height:1.4}.brand small{display:block;font-weight:400;font-size:10px;letter-spacing:1px;color:var(--muted);margin-top:3px}.brand-icon{display:grid;place-items:center;background:var(--green);color:white;border-radius:12px;width:38px;height:41px}.brand-icon svg{width:23px;height:23px}.top-actions{display:flex;gap:2px}.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;padding:8px;background:transparent;border-radius:12px;color:var(--muted);font-size:12px}.demo-banner{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;background:#edeedb;color:#687443;padding:9px 12px;border-radius:10px;font-size:11px;line-height:1.5;margin-bottom:14px;text-align:left}.demo-banner span:last-child{white-space:nowrap}.trip-switch{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:13px 14px;text-align:left}.trip-left{display:flex;align-items:center;gap:10px;min-width:0}.trip-left>span:last-child{overflow-wrap:anywhere;font-size:13px;font-weight:500}.trip-left svg{color:#7c8d73;width:18px}.trip-change{display:flex;align-items:center;gap:4px;white-space:nowrap;color:var(--muted);font-size:11px}.trip-change svg{width:14px}.hero{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:26px 0 24px}.eyebrow{margin:0 0 10px;font-size:9px;letter-spacing:1.5px;color:#87947d;font-weight:600}h1{font-size:38px;font-weight:650;line-height:1.45;letter-spacing:1px;margin:0}h1 span{color:var(--green)}.subtitle{margin:9px 0 0;font-size:13px;color:var(--muted)}.note-art{position:relative;width:145px;height:145px;flex-shrink:0}.note-paper{position:absolute;width:99px;height:121px;right:14px;top:11px;border-radius:11px;background:#fdfdf9;border:1px solid #dbe1d3;transform:rotate(9deg);box-shadow:8px 8px 0 #e6ebdc;padding:17px 14px}.paper-heading{font-size:7px;letter-spacing:1px;color:#9b9b7a}.note-paper i{display:block;width:63px;height:5px;border-radius:4px;background:#e6eada;margin-top:13px}.note-paper i:nth-of-type(2){width:40px}.note-paper i:nth-of-type(3){width:48px}.paper-check{position:absolute;bottom:9px;right:9px;background:var(--green);color:#fff;border-radius:50%;width:27px;height:27px;font-size:18px;text-align:center;line-height:27px}.art-spark{position:absolute;top:1px;left:4px;color:#c0a364;font-size:24px}.art-pen{position:absolute;height:91px;width:9px;background:#bda272;bottom:4px;left:25px;border-radius:5px;transform:rotate(28deg);border-bottom:9px solid #385d4a}.composer{background:var(--paper);border:1px solid #dce4d5;border-radius:21px;padding:17px;box-shadow:0 5px 18px #233c2205}.composer textarea{background:none;border:0;padding:0;min-height:80px;resize:none;line-height:1.85;box-shadow:none}.composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:5px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 19px;border-radius:12px;font-size:14px;font-weight:500}.primary{background:var(--green);color:#fff}.primary:hover{background:#214e40}.secondary{background:#eef0e7;color:var(--green);border:1px solid #dfe5d7}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;background:transparent;color:var(--green);font-size:12px;min-height:44px;padding:7px 0}.text-button svg{width:16px;height:16px}.full{width:100%}.field-tip{font-size:11px;color:var(--muted);line-height:1.8;margin:10px 2px 12px}.example-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:24px;font-size:10px;color:var(--muted)}.example{background:#eeeee5;padding:7px 9px;color:#7f886e;border-radius:7px;font-size:10px;min-height:34px}.overview{display:grid;grid-template-columns:repeat(3,1fr);padding:20px 4px;background:#eeefe5;border-radius:17px;margin:21px 0}.overview>div{padding:0 16px;border-right:1px solid #dde2d1}.overview>div:last-child{border:0}.overview span{display:block;font-size:11px;color:#7c8872}.overview strong{display:block;font-size:25px;font-weight:600;color:var(--green);margin-top:3px;font-variant-numeric:tabular-nums}.overview small{font-size:11px;margin-left:4px;font-weight:400}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:24px 0 12px}h2{font-size:17px;font-weight:600;margin:0}h3{font-size:14px;font-weight:600;margin:0}.section-heading>.muted{font-size:11px}.card-list{display:grid;gap:11px}.order-card,.product-card,.bill-card,.customer-stat,.trip-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:16px;min-width:0}.order-card{display:flex;gap:12px;align-items:flex-start}.avatar{width:35px;height:35px;border-radius:12px;display:grid;place-items:center;background:#edf1e7;color:#667b5d;flex-shrink:0;font-size:14px;font-weight:500}.order-body{flex:1;min-width:0}.order-top,.row,.card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.order-top strong{font-size:13px;overflow-wrap:anywhere}.order-card h3{font-weight:400;font-size:13px;margin:3px 0 2px;overflow-wrap:anywhere}.muted{color:var(--muted);font-size:12px;line-height:1.8}.badge{display:inline-flex;align-items:center;gap:4px;font-size:10px;line-height:1.5;color:#677e59;background:#edf3e7;padding:5px 8px;border-radius:7px;white-space:nowrap;flex-shrink:0}.badge.warm{color:var(--orange);background:var(--warm)}.badge.danger{color:var(--red);background:#f8e9e4}.badge.soft{background:#f0f0ea;color:#8a907b}.order-tail{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#8d9587}.order-tail .text-button{min-height:25px;font-size:10px;padding:0}.bottom-note{display:flex;align-items:flex-start;justify-content:center;gap:7px;color:#8c9784;font-size:10px;line-height:1.8;margin:23px 0 0}.bottom-note svg{width:14px;height:14px;margin-top:2px}.bottom-nav{position:fixed;z-index:20;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:9px 24px calc(10px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(3,1fr);background:#fdfdf8f5;backdrop-filter:blur(18px);border-top:1px solid #e2e7dc}.nav-item{position:relative;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;border-radius:12px;color:#939d8b;background:transparent;font-size:11px;min-height:48px}.nav-item svg{width:22px;height:22px}.nav-item.active{color:var(--green);background:#eef2e7}.nav-dot{position:absolute;top:7px;left:calc(50% + 12px);width:6px;height:6px;background:#b99053;border-radius:50%}.page-eyebrow{margin-top:28px}.page-title{font-size:29px;line-height:1.65}.page-title span{display:block}.search-field{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:12px;background:#fff;padding:0 13px;margin:20px 0 15px}.search-field svg{width:17px;color:#97a28d}.search-field input{border:0;background:transparent;padding:13px 0;font-size:13px;box-shadow:none}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.chip{min-height:39px;padding:8px 14px;border-radius:10px;background:#eeefe7;color:#87927b;font-size:12px}.chip.active{background:var(--green);color:#fff}.product-card h3{font-size:15px;overflow-wrap:anywhere}.product-meta{color:#87927d;font-size:11px;margin:6px 0 13px}.product-amount{font-size:20px;font-weight:600;color:var(--green)}.product-amount small{font-size:11px;font-weight:400;margin-left:3px}.product-card .primary,.product-card .secondary{min-height:42px;padding:9px 15px;font-size:12px}.product-card details{border-top:1px solid var(--line);margin-top:14px;padding-top:9px}.product-card summary{font-size:11px;color:#859078;cursor:pointer;min-height:34px;padding:5px 0}.person-allocation{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:7px 0;gap:8px}.person-allocation button{background:transparent;font-size:11px;color:var(--green);text-align:left;min-height:35px;padding:0}.small-actions{display:flex;justify-content:space-between;align-items:center;margin-top:8px;gap:8px}.small-actions .text-button{font-size:11px;min-height:36px}.check-trip{margin-top:23px}.money-overview{padding:20px 22px;background:var(--green-soft);border-radius:18px;margin-top:21px}.money-overview .label{font-size:11px;color:#73846b}.money-overview strong{font-size:34px;letter-spacing:-1px;font-weight:600;display:block;color:var(--green);line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.money-overview p{font-size:11px;margin:3px 0 0;color:#7c8c73}.bill-card{padding:17px}.bill-customer{display:flex;align-items:center;gap:10px}.bill-customer strong{font-size:14px;overflow-wrap:anywhere}.bill-trip{font-size:10px;color:#8b9581;margin:11px 0}.bill-products{font-size:12px;color:#7c8874;line-height:1.9;overflow-wrap:anywhere;margin:10px 0}.bill-bottom{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--line);padding-top:12px}.bill-amount{font-size:19px;color:var(--green);font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.bill-amount small{font-size:10px;color:#8c977f;font-weight:400;display:block;line-height:1.5}.bill-bottom button{min-height:42px;font-size:12px;padding:9px 14px;flex-shrink:0}.empty-state{text-align:center;padding:40px 20px;color:#8c977e;font-size:13px;line-height:1.9}.empty-state svg{width:35px;height:35px;margin:0 auto 15px;color:#acb69d}.empty-state h3{font-size:15px;color:#62785b;margin-bottom:7px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;background:#edf0e6;padding:7px 20px;border-radius:19px;gap:0 12px;margin-top:17px}.stats-grid>div{padding:17px 0;min-width:0}.stats-grid span{font-size:11px;color:#7c8b70;display:block}.stats-grid strong{display:block;color:var(--green);font-size:26px;font-weight:600;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.stats-grid small{font-size:10px;font-weight:400;margin-left:3px}.customer-stat .ranking{font-size:11px;color:#a4ad96;width:15px}.customer-stat .customer-info{display:flex;align-items:center;gap:11px;min-width:0}.customer-stat .customer-info strong{font-size:13px;overflow-wrap:anywhere}.customer-stat .customer-money{font-size:19px;font-weight:600;color:var(--green);white-space:nowrap;font-variant-numeric:tabular-nums}.customer-stat p{margin:8px 0 0;font-size:11px;color:#8a967e}.customer-stat button{background:none;color:var(--green);font-size:11px;min-height:36px;margin-top:5px;padding:0}.back-main{margin:17px 0 0}.sheet{position:fixed;inset:auto 0 0;margin:0 auto;padding:0;width:100%;max-width:640px;max-height:92dvh;border:0;border-radius:26px 26px 0 0;background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #1c382933;overflow:hidden}.sheet::backdrop{background:#172e2559;backdrop-filter:blur(3px)}.sheet-inner{display:flex;flex-direction:column;max-height:92dvh;margin:0}.sheet-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:22px 23px 16px;border-bottom:1px solid var(--line);flex-shrink:0}.sheet-heading h2{font-size:21px;overflow-wrap:anywhere}.sheet-heading .eyebrow{font-size:8px;margin-bottom:7px}.sheet-heading p.muted{font-size:11px;margin:5px 0 0}.sheet-heading .icon-button{margin-top:-5px;margin-right:-7px;flex-shrink:0}.sheet-content{overflow:auto;padding:18px 23px 24px;overscroll-behavior:contain}.sheet-footer{padding:15px 23px calc(18px + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--paper);flex-shrink:0}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#6d7b65;margin-bottom:17px;min-width:0}.field input,.field select,.field textarea{color:var(--ink)}.field small{font-size:10px;color:#a0a78f}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:13px}.draft-card{padding:16px;background:#f8f9f3;border:1px solid var(--line);border-radius:15px;margin-bottom:14px}.draft-card .field:last-child{margin-bottom:0}.draft-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:11px;color:#8f997f}.draft-heading button{border:0;background:transparent;color:#997b65;font-size:11px;min-height:32px}.notice{background:#eef3e7;color:#657b58;border-radius:11px;padding:12px 13px;font-size:12px;line-height:1.9;margin:0 0 16px;overflow-wrap:anywhere}.notice.warm{background:var(--warm);color:#916b36}.notice.danger{background:#f9e7e1;color:#9d5043}.error{color:var(--red);font-size:12px;line-height:1.8;white-space:pre-line;margin:12px 0 0}.bill-line{padding:14px 0;border-bottom:1px solid var(--line)}.bill-line h3{font-size:13px;overflow-wrap:anywhere}.bill-line .muted{font-size:11px}.bill-line .line-edit{display:grid;grid-template-columns:1fr 105px;align-items:end;gap:12px;margin-top:10px}.bill-line .field{margin:0;font-size:10px}.bill-line .field input{padding:9px 10px;min-height:43px}.bill-line .text-button{font-size:11px;min-height:33px;justify-content:flex-start}.billing-shipping{max-width:210px;margin-top:18px}.bill-totals{padding:16px;background:#f0f3e9;border-radius:13px;margin:19px 0}.bill-totals .row{font-size:12px;margin:3px 0}.bill-totals .due{font-size:17px;color:var(--green);font-weight:600;margin-top:10px}.bill-actions{display:grid;gap:10px}.payment-history{margin-top:22px}.payment-history h3{margin-bottom:10px}.payment-history .row{font-size:11px;padding:10px 0;border-bottom:1px solid var(--line)}.payment-history .text-button{font-size:11px}.payment-value{font-size:13px;color:var(--green);white-space:nowrap}.payment-history .row>div{min-width:0}.trip-card{width:100%;text-align:left;display:flex;justify-content:space-between;gap:10px;align-items:center}.trip-card.active{border-color:#8caa7e;background:#f1f5e9}.trip-card h3{overflow-wrap:anywhere}.trip-card p{margin:4px 0 0;font-size:11px;color:#8b977e}.new-trip{margin-top:25px;border-top:1px solid var(--line);padding-top:20px}.new-trip h3{margin-bottom:17px}.help-card{border-bottom:1px solid var(--line);padding:0 0 20px;margin:0 0 22px}.help-card h3{font-size:15px}.help-card p,.help-card li{font-size:12px;color:#819076;line-height:1.9}.help-card ol{padding-left:20px}.help-card button+button{margin-top:10px}.settings-content>.muted{font-size:11px}.toast{position:fixed;z-index:150;bottom:calc(95px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:#263f34;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 18px;border-radius:13px;font-size:12px;box-shadow:0 7px 25px #213b2925;max-width:calc(100% - 28px);width:max-content;line-height:1.8}.toast button{color:#e2d8ac;background:transparent;font-size:12px;white-space:nowrap;min-height:36px;padding:0 3px}.inline-actions{display:flex;gap:13px;flex-wrap:wrap}.inline-actions .text-button{font-size:11px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#share-text{width:100%;font-size:14px;line-height:1.9;background:#fafbf6}body:has(dialog[open]){overflow:hidden}
@media(min-width:620px){.hero{padding:32px 10px}.note-art{margin-right:55px}.sheet{inset:50% 0 auto;transform:translateY(-50%);border-radius:24px;max-height:90dvh}.sheet-inner{max-height:90dvh}.small-sheet{max-width:440px}.app-shell{padding-left:36px;padding-right:36px}.overview{margin-top:27px}.card-list{gap:13px}}
@media(max-width:619px){.app-shell{padding-left:20px;padding-right:20px}.topbar{height:79px}.brand{font-size:17px}.brand-icon{width:34px;height:37px}.hero{padding-top:25px}h1{font-size:32px}.eyebrow{font-size:8px;letter-spacing:1px}.note-art{width:120px;height:137px;transform:scale(.94);transform-origin:right center}.subtitle{font-size:12px}.page-title{font-size:27px}.overview>div{padding-left:13px;padding-right:8px}.overview strong{font-size:25px}.bottom-nav{padding-left:20px;padding-right:20px}}
@media(max-width:360px){.app-shell{padding-left:15px;padding-right:15px}.brand{font-size:15px;gap:7px}.brand small{font-size:9px}.brand-icon{width:30px;height:34px}.icon-button{min-width:38px}.top-actions{gap:0}.hero h1{font-size:29px}.note-art{width:91px;transform:scale(.78);margin-right:-5px}.eyebrow{font-size:7px;letter-spacing:.6px}.page-title{font-size:25px}.trip-switch{padding:11px}.trip-left{gap:7px}.trip-left>span:last-child{font-size:12px}.trip-change{font-size:10px}.composer{padding:14px}.composer-bottom .primary{padding:11px 14px}.demo-banner{font-size:10px;padding:9px 10px}.overview>div{padding-left:9px}.overview span{font-size:10px}.overview strong{font-size:23px}.sheet-heading{padding:20px 17px 15px}.sheet-content{padding:17px}.sheet-footer{padding-left:17px;padding-right:17px}.bill-line .line-edit{grid-template-columns:1fr 93px}.field-row{gap:10px}.chip{padding:8px 12px}.stats-grid{padding-left:16px;padding-right:16px}.stats-grid strong{font-size:23px}.bill-card{padding:14px}.example-row{gap:5px}.example{padding:7px;font-size:9px}}
.japanese-tagline{font-size:11px;letter-spacing:.7px;color:#8b967f;margin-top:12px}.paper-check{font-size:13px;font-weight:600;background:#b58d4b;color:#fff7d5}.lucky-coin{position:absolute;bottom:0;right:0;width:34px;height:34px;background:#d4b675;border:4px solid #ebd6a0;border-radius:50%;box-shadow:0 3px 0 #bda16a}.lucky-coin:after{content:"";position:absolute;inset:8px;background:var(--bg);border-radius:2px}.brand-family{display:flex;align-items:center;gap:15px}.family-mark{display:grid;place-items:center;background:#efe6c9;color:#a88240;width:45px;height:45px;border-radius:13px;font-size:20px;flex-shrink:0}.customer-stat button{display:inline-flex;align-items:center;gap:5px}.customer-stat button svg{width:14px;height:14px}.raw-note{font-size:11px;color:#819077;margin-bottom:13px}.raw-note summary{min-height:32px;cursor:pointer}.raw-note p{padding:10px;background:#eef1e5;border-radius:8px;overflow-wrap:anywhere}.product-suggestions{margin:-3px 0 16px;font-size:10px;color:#8b946f}.product-suggestions>span{display:block;margin-bottom:5px}.product-suggestions button{display:block;background:#eaf0df;color:#60764a;text-align:left;min-height:40px;border-radius:9px;font-size:11px;padding:8px 10px;margin:6px 0;width:100%}
.listening{color:var(--red);font-weight:600}.chip{min-height:44px}.small-actions .text-button{min-height:44px}.order-tail .text-button{min-height:36px;min-width:44px}.example{min-height:40px}.person-allocation button{min-height:40px}
.quick-customer-label{display:flex;align-items:center;gap:6px;font-size:12px;color:#738468;margin-bottom:8px;flex-wrap:wrap}.quick-customer-label svg{width:16px;height:16px}.quick-customer-label small{font-size:10px;font-weight:400;color:var(--muted)}#quick-customer{background:#f8f9f2;border:1px solid #e0e6d7;padding:10px 12px;font-size:14px;min-height:45px;margin-bottom:15px}.customer-field-box{background:#f4efdf;border-left:3px solid #c3a16b;padding:12px;border-radius:10px;margin-bottom:17px}.customer-field-box .field{margin:0;font-size:12px;color:#8a744e}.customer-field-box .error{font-size:11px;margin-top:8px}.customer-field-box input{background:#fffdf7}.customer-choices{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.customer-choices button{background:#ece3cc;color:#7d6848;padding:8px 10px;border-radius:8px;min-height:40px;font-size:12px}.product-field-label{font-weight:500;color:var(--green)}.product-field-label input{font-weight:400}.batch-open{margin-top:3px;min-height:52px}.purchase-draft h3{margin-bottom:13px}.purchase-preview{font-size:11px;margin-bottom:0}.today-editor{background:#f5f7ef;padding:12px;border-radius:12px;margin-top:14px}.today-editor>label{display:block;font-size:12px;color:#637c58;margin-bottom:8px}.today-editor>label span{font-size:10px;color:#8b967e;margin-left:5px}.today-editor-controls{display:flex;gap:5px;align-items:center}.today-editor-controls input{flex:1;min-width:0;width:65px;min-height:44px;padding:8px;text-align:center;background:#fff;font-variant-numeric:tabular-nums}.today-editor-controls .quantity-adjust{min-width:40px;min-height:44px;flex-shrink:0;border-radius:9px;background:#e7eddc;color:#5c7751;font-size:20px}.today-editor-controls .primary{padding:10px 14px;min-height:44px}.photo-strip{display:flex;gap:10px;flex-wrap:wrap;margin:9px 0}.photo-strip:empty{display:none}.photo-thumb{position:relative;display:inline-flex;flex-shrink:0}.photo-thumb>button:first-child{width:66px;height:66px;border-radius:11px;padding:0;overflow:hidden;background:#e9eddf;border:1px solid #dce4d1}.photo-thumb img{display:block;width:100%;height:100%;object-fit:cover;font-size:10px;color:#7e8e70}.photo-thumb .photo-remove{position:absolute;right:-5px;top:-7px;border-radius:50%;background:#526c54;color:#fff;min-width:27px;min-height:27px;border:2px solid var(--paper);font-size:15px;padding:0}.photo-large{display:block;width:100%;max-height:65dvh;object-fit:contain;border-radius:12px;background:#f4f5ee}.composer-photo-action .text-button{font-size:11px;min-height:35px}.payment-modes{display:flex;gap:8px;margin-bottom:18px}.payment-modes button{flex:1;background:#edf0e4;color:#7f8e71;border-radius:10px;padding:11px 8px;min-height:46px;font-size:13px}.payment-modes button.active{color:#fff;background:var(--green)}.payment-item{border-bottom:1px solid var(--line);padding:9px 0}.payment-item-check{display:flex;align-items:center;gap:10px;min-height:52px;font-size:12px;cursor:pointer}.payment-item-check>input{width:22px;height:22px;min-width:22px;padding:0;accent-color:var(--green)}.payment-item-check>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.payment-item-check strong{display:block;font-size:12px;font-weight:500}.payment-item-check small{display:block;font-size:10px;color:var(--muted);margin-top:3px}.payment-item-check>span:last-child{font-size:12px;flex-shrink:0;font-variant-numeric:tabular-nums}.payment-item-qty{display:flex;gap:7px;align-items:center;font-size:11px;color:#7c8c6c;padding:4px 0 8px 32px}.payment-item-qty input{width:70px;min-height:43px;padding:8px;text-align:center}.shipping-check{margin:10px 0}.item-paid-status{font-size:11px;color:#9b7e4f;margin-top:8px}.item-paid-status.paid{color:#608451}.payment-history .row>div{display:flex;flex-direction:column;align-items:flex-start}.payment-history .text-button{min-height:34px}.draft-card .field small{display:inline}.bill-line .photo-strip{margin-top:12px}
@media(prefers-reduced-motion:no-preference){button{transition:background .15s ease,color .15s ease}.view{animation:slide-in .2s ease-out}@keyframes slide-in{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
.bill-item-details{margin-top:20px;border-top:1px solid var(--line);padding-top:10px}.bill-item-details>summary{min-height:48px;padding:10px 0;color:var(--green);font-size:13px;cursor:pointer}.bill-item-details[open]>summary{margin-bottom:7px}.bill-item-details .billing-shipping{margin-bottom:0}.bill-totals{margin-top:10px}.bill-actions{margin-top:12px}
.draft-group{border:1px solid #dce3d1;border-radius:17px;padding:12px;margin-bottom:18px;background:#fffef9}.draft-group>.customer-field-box{margin-bottom:13px}.draft-group>.customer-field-box .field-tip{margin-bottom:0}.draft-group-products{min-width:0}.draft-group-products>.draft-card{background:#f8f9f3;padding:13px;margin-bottom:12px}.draft-heading{gap:10px;align-items:flex-start}.draft-heading>span{flex:1;min-width:0}.draft-heading>button{flex-shrink:0;min-height:40px}.add-group-product{border-style:dashed;min-height:48px}.composer-photo-action{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.composer-photo-action .text-button{min-height:44px}.delete-purchase{color:var(--red)}.small-actions{flex-wrap:wrap}.small-actions .delete-purchase{margin-left:auto}.remove-purchase-draft{display:flex;margin:-6px 0 3px auto;min-height:44px;padding:6px}.purchase-draft h3{margin-top:-4px}
