/* Shared customer portal presentation. Ordering and pricing stay in the pages. */
:root{--bg:#f6f5f1;--ink:#22342d;--muted:#737b73;--line:#e3e6df;--green:#244f3e;--green2:#edf3ed;color-scheme:light}
html{-webkit-text-size-adjust:100%;scroll-padding-bottom:110px}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif;font-size:15px;line-height:1.6;letter-spacing:-.025em}
button,input,textarea,select{font:inherit;color:inherit;min-width:0}
button{-webkit-appearance:none;appearance:none;touch-action:manipulation}
input:not([type=checkbox]),textarea{-webkit-appearance:none;appearance:none;background:#fff;color:var(--ink);font-size:16px}
button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a0bca9;outline-offset:3px}
button:disabled{opacity:.5;cursor:wait}
.btn{min-height:46px;padding:12px 20px;border-radius:10px;font-size:14px;font-weight:650;transition:background .15s,transform .15s}
.btn:active{transform:translateY(1px)}.btn.secondary,.secondary{background:#eef1eb;color:#345041}
.eyebrow{display:block;font-size:10px;font-weight:700;letter-spacing:.16em;color:#728a75;line-height:1.5}
.brand{font-size:17px;letter-spacing:.015em;font-weight:800;line-height:1.25}.brand small{font-size:9px;letter-spacing:.18em;margin-top:5px}
.login{padding:40px 24px;min-height:100vh;min-height:100svh;background:#f0f0e9}
.login-shell{display:grid;grid-template-columns:1fr 1fr;width:min(960px,100%);overflow:hidden;border-radius:22px;box-shadow:0 25px 80px #20372912;border:1px solid #dce1d6;background:#fff}
.login-story{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;min-height:590px;padding:46px;background:#213e32;color:#fff}
.login-story:after{content:"";position:absolute;right:-110px;bottom:70px;width:320px;height:320px;border:1px solid #aabca32b;border-radius:50%;box-shadow:0 0 0 36px #aabca30b,0 0 0 74px #aabca308;pointer-events:none}
.story-copy{position:relative;z-index:1}.story-copy .eyebrow{color:#b3c5ab;font-size:9px}.story-copy h1{font-size:40px;font-weight:500;line-height:1.5;letter-spacing:-.055em;margin:22px 0}.story-copy p{font-size:14px;color:#c8d2c5;line-height:1.85}.story-bottom{font-size:9px;letter-spacing:.1em;color:#adbfae}.story-bottom span{display:block;margin-top:4px;letter-spacing:0}
.loginbox{width:auto;border:0;border-radius:0;padding:58px 46px;background:#fff;align-self:center}.loginbox h2{font-size:27px;letter-spacing:-.055em;margin:12px 0;font-weight:700}.login-description{color:var(--muted);font-size:14px;margin:0 0 28px;line-height:1.7}.loginbox>label{display:block;font-size:12px;font-weight:650;margin-top:17px}.loginbox input:not([type=checkbox]){height:52px;padding:13px 15px;border:1px solid #dfe4da;border-radius:9px;margin:8px 0 0;background:#fcfcfa}.loginbox input::placeholder{color:#9da59d}.remember-row{gap:9px;margin:20px 0 25px;font-size:12px}.remember-row input{height:18px;width:18px;accent-color:var(--green);flex:none}.loginbox .block{display:flex;align-items:center;justify-content:space-between;min-height:52px}.login-help{font-size:11px;color:#8a9188;border-top:1px solid var(--line);margin-top:28px;padding-top:18px;line-height:1.8}
.topbar{padding:19px max(24px,calc((100vw - 840px)/2));align-items:center;background:#213e32;box-shadow:0 2px 10px #20372908}.topbar #logoutBtn{min-height:40px;font-size:12px;padding:8px 10px;border:1px solid #ffffff26!important;border-radius:8px}
.wrap{max-width:840px;padding:32px 24px calc(120px + env(safe-area-inset-bottom))}.card{border:1px solid var(--line);border-radius:16px;padding:26px;margin-bottom:18px;box-shadow:0 3px 14px #22342d03}.card h3{font-size:17px;letter-spacing:-.04em;margin:0 0 18px;font-weight:700}.customer-card{border:0;background:transparent;box-shadow:none;padding:2px 0 23px;margin:0}.customer-card .h1{font-size:29px;font-weight:700;letter-spacing:-.045em;margin-top:7px}.customer-card .sub{font-size:13px;margin-top:4px}.sub{line-height:1.65}
.notice-card{background:#eeefe5;border-color:#e2e5d6;padding:19px 22px;box-shadow:none}.notice-kicker{font-size:9px;letter-spacing:.12em;color:#7a825c;margin-bottom:7px}.notice-title{font-size:15px;font-weight:650;margin-bottom:5px}.notice-content{font-size:13px;color:#626d5f}.arbox{background:#faf5e9}
.tabs{background:#e9ece5;padding:5px;border-radius:12px;gap:4px;margin:24px 0}.tabs button{color:#657568;background:transparent;font-size:14px;font-weight:650;padding:12px 4px;border-radius:9px;min-height:46px;white-space:nowrap}.tabs button.active{background:#fff;color:#234b3b;box-shadow:0 2px 6px #2037290c}
.order-guide{padding:20px 22px;background:#edf2eb;border:1px solid #dfe8dc;border-radius:15px;margin-bottom:18px}.order-guide-title{font-size:14px;font-weight:700}.order-guide-text{font-size:12px;line-height:1.85}.order-target{min-height:40px;font-size:12px;padding:8px 15px;color:var(--green)}.order-progress{font-size:12px;font-weight:600}.notice{font-size:13px;line-height:1.8;padding:18px;background:#edf2eb;border-radius:12px;margin-bottom:18px}
.prod{grid-template-columns:minmax(0,1fr) auto auto;gap:18px;padding:22px 0}.prod:last-child{border-bottom:0;padding-bottom:4px}.prod>div{min-width:0}.name{font-size:15px;font-weight:650;overflow-wrap:anywhere;word-break:keep-all}.unit{font-size:12px;margin-top:4px}.price{font-size:15px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}.qty{gap:0;border:1px solid #dfe4db;background:#f7f8f3;border-radius:9px;overflow:hidden;flex-wrap:nowrap}.qty button{width:40px;height:42px;background:transparent;font-size:19px;color:#345041;border-radius:0}.qty input{width:46px;height:42px;border:0;border-inline:1px solid #e4e8df;border-radius:0;background:#fff;font-size:16px}
textarea,.search{border:1px solid #dfe4db;border-radius:9px;padding:12px 14px;min-height:46px;max-width:100%}textarea{min-height:90px;resize:vertical;margin-bottom:12px}.summary{font-size:13px;color:#68766c;margin:12px 0}.summary b{color:var(--ink);font-weight:600}.summary.total{color:var(--ink);font-size:18px;font-weight:700;padding-top:19px;margin-top:18px}.summary.total span:last-child{font-size:23px;color:var(--green)}
.history-filter{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:14px 0 8px}.history-filter>div{min-width:0}.history-filter label{font-size:11px;margin-bottom:7px}.history-filter input[type=date]{display:block;width:100%;min-width:0;max-width:100%;height:46px;box-sizing:border-box;font-size:16px;line-height:22px;padding:11px 10px;-webkit-appearance:none;appearance:none;color:var(--ink)}
input[type=date]::-webkit-date-and-time-value{text-align:left;min-width:0}input[type=date]::-webkit-datetime-edit{min-width:0;padding:0}.history-filter .filter-reset{grid-column:1/-1;display:flex;gap:8px;justify-content:flex-end;margin:1px 0 8px}.filter-reset .btn{font-size:12px;min-height:38px;padding:8px 14px}
.history{padding:24px 0;border-bottom:1px solid var(--line)}.history:last-child{border-bottom:0;padding-bottom:0}.history-top{font-size:13px}.history-top b{font-weight:600;color:#657369}.badge{font-size:10px;font-weight:650;padding:5px 10px;background:#edf3ec;white-space:nowrap}.history-items{font-size:15px;font-weight:600;line-height:1.65;margin:12px 0;overflow-wrap:anywhere}.history-bottom{margin-top:16px;flex-wrap:wrap}.history-bottom .money{font-size:21px;font-weight:700;letter-spacing:-.04em}.history-bottom .btn{font-size:12px;min-height:40px;padding:10px 14px}.tracking{line-height:1.7;overflow-wrap:anywhere}.empty{font-size:14px;padding:42px 12px;line-height:1.8}
.footerbar{z-index:8;background:#ffffffed;backdrop-filter:blur(16px);padding:13px 24px calc(13px + env(safe-area-inset-bottom));box-shadow:0 -5px 24px #20372905}.footerinner{max-width:792px;grid-template-columns:minmax(0,1fr) minmax(150px,1fr);align-items:center;gap:16px}.footerinner .sub{font-size:11px;margin:0}.footerinner .money{font-size:21px;font-weight:750;line-height:1.5}.footerinner .btn{min-height:50px}
.complete-card{border-radius:18px;padding:30px 24px}.complete-icon{width:60px;height:60px;font-weight:400}.complete-title{font-weight:700;font-size:23px}.complete-sub{line-height:1.8}.payment-card{padding:20px;border-radius:12px}.payment-row{font-size:13px}.payment-row strong{overflow-wrap:anywhere;min-width:0}.payment-row span:first-child{flex-shrink:0}.payment-total strong{font-size:22px}.complete-actions{margin-top:20px}
@media(max-width:600px){
 .login{padding:0;align-items:flex-start;background:#fff}.login-shell{grid-template-columns:1fr;border:0;border-radius:0;box-shadow:none;min-height:100svh}.login-story{min-height:0;padding:28px 26px 32px;gap:32px}.login-story .brand{font-size:16px}.story-copy .eyebrow{font-size:8px}.story-copy h1{font-size:31px;line-height:1.45;margin:13px 0 0}.story-copy p,.story-bottom{display:none}.login-story:after{width:210px;height:210px;right:-80px;bottom:-45px}.loginbox{padding:30px 26px 28px;align-self:start}.loginbox h2{font-size:23px;margin:8px 0}.login-description{font-size:13px;margin-bottom:23px}.login-description br{display:none}.loginbox>.eyebrow{display:none}.login-help{margin-top:24px}
 .topbar{padding:15px 20px}.topbar .brand{font-size:15px}.topbar .brand small{font-size:8px}.topbar #logoutBtn{font-size:11px;min-height:36px}.wrap{padding:25px 16px calc(118px + env(safe-area-inset-bottom))}.customer-card{padding:0 4px 20px}.customer-card .h1{font-size:26px}.customer-card .sub{font-size:12px}.card{padding:20px;border-radius:14px;margin-bottom:15px}.customer-card{background:transparent;margin-bottom:0;padding:0 4px 20px}.notice-card{padding:16px 19px}.tabs{margin:19px 0;padding:4px}.tabs button{font-size:13px;min-height:44px}.order-guide{padding:18px}.card h3{font-size:16px;margin-bottom:14px}
 .prod{grid-template-columns:minmax(0,1fr) auto;gap:13px 12px;padding:20px 0}.prod>.price{align-self:start}.qty{grid-column:2;justify-self:end;justify-content:flex-end}.prod>.qty{margin-top:0}.prod>div:first-child{grid-row:1 / span 2}.qty button{width:34px}.qty input{width:40px}.name{font-size:14px;line-height:1.7}.price{font-size:14px}.history-filter{gap:10px}.history-filter input[type=date]{font-size:16px;padding:10px 8px}.footerbar{padding-left:20px;padding-right:20px}.footerinner .money{font-size:20px}.footerinner .btn{font-size:14px}.complete-card{padding:26px 18px}.payment-card{padding:16px}.complete-actions{grid-template-columns:1fr}
}
@media(max-width:359px){.wrap{padding-left:12px;padding-right:12px}.card{padding:16px}.history-filter{grid-template-columns:minmax(0,1fr)}.tabs button{font-size:12px}.prod{gap:10px}.qty button{width:30px}.footerbar{padding-left:16px;padding-right:16px}.footerinner{grid-template-columns:1fr 1fr;gap:10px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
