:root{--bg:#f8f5f0;--paper:#fffdfa;--ink:#30241f;--muted:#6d6058;--line:#e8ded4;--accent:#9c492f;--accent-dark:#803a26;--side:#2c211d;--sage:#53674e;--radius:18px;font-family:"Noto Sans KR","Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}[hidden]{display:none!important}:focus-visible{outline:2px solid #a45736;outline-offset:4px}h1,h2,h3,p{margin:0}svg{display:block;width:20px;height:20px;flex:none}.muted{color:var(--muted);line-height:1.65;font-size:13px}
.sidebar{width:226px;position:fixed;inset:0 auto 0 0;background:var(--side);color:#e3d5ca;display:flex;flex-direction:column;padding:34px 18px 22px;z-index:2}.brand{display:flex;align-items:center;gap:11px;padding:0 8px}.brand strong{font-size:20px;color:#fffbf5;letter-spacing:-.055em;display:block;white-space:nowrap}.brand small,.side-bottom small{display:block;margin-top:5px;font-size:9px;color:#cfb8aa;letter-spacing:.09em;white-space:nowrap}.brand-icon,.machine-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#ad6247;color:#fff5e9;flex:none}.sidebar nav{display:grid;gap:7px;margin-top:54px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:9px;font-weight:600;font-size:14px;white-space:nowrap}.sidebar nav a:hover{background:#3b2c26}.sidebar nav a[aria-current]{color:#fff7ef;background:#50372d}.sidebar nav a[aria-current] svg{color:#e5a98d}.sidebar nav svg{width:18px;height:18px}.side-bottom{margin-top:auto;display:flex;align-items:center;padding:19px 2px 0;gap:10px;border-top:1px solid #503e35;font-size:12px}.side-bottom small{letter-spacing:0}.machine-icon{width:34px;height:34px;border-radius:9px;background:#47342b;color:#e4b399}.machine-icon svg{width:17px;height:17px}
main{margin-left:226px}.frame{max-width:1430px;padding:38px clamp(24px,4vw,64px) 14px;margin:auto}.page-head,.section-head,.card-head,.dialog-head{display:flex;align-items:center;gap:12px}.page-head{justify-content:space-between;margin-bottom:24px}.date{font-size:12px;font-weight:700;color:#785a49;letter-spacing:.045em;margin-bottom:7px}h1{font-size:clamp(29px,3.3vw,43px);letter-spacing:-.075em;line-height:1.17}h2{font-size:19px;letter-spacing:-.052em}h3{font-size:15px;letter-spacing:-.04em}.primary,.secondary{border-radius:10px;border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 14px;font-size:13px;font-weight:700;white-space:nowrap}.primary{background:var(--accent);color:#fff}.primary:hover{background:var(--accent-dark)}.secondary{background:var(--paper);border-color:var(--line);color:var(--ink)}.secondary:hover{background:#f4eae1}.primary svg,.secondary svg{width:16px;height:16px}
.hero{position:relative;isolation:isolate;overflow:hidden;border-radius:20px;background:#31201a;color:#fff8ee;min-height:257px}.hero-photo{position:absolute;inset:0 0 0 44%;z-index:-2;background:#513326 url("latte.webp") center 48%/cover no-repeat}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#30201a 29%,#30201a 41%,#30201a1c 67%,transparent 87%);z-index:-1}.hero-content{padding:29px 34px 25px}.hero-kicker{font-size:11px;color:#efc4ad;letter-spacing:.08em;font-weight:700;display:flex;gap:9px;align-items:center}.hero-kicker span{height:3px;width:3px;background:currentColor;border-radius:50%}.hero h2{font-size:clamp(32px,4.4vw,54px);line-height:1.12;margin:12px 0 7px;letter-spacing:-.075em}.hero p{font-size:13px;color:#e9d3c3}.recipe{display:flex;margin-top:23px;gap:22px;width:max-content;border-top:1px solid #ffffff35;padding-top:13px}.recipe div+div{border-left:1px solid #ffffff30;padding-left:20px}.recipe strong{font:500 33px/1 "Iowan Old Style",Georgia,serif;letter-spacing:-.065em;white-space:nowrap}.recipe small{font:600 12px/1.4 sans-serif;letter-spacing:0;color:#e9c4ac}.recipe label{display:block;margin-top:6px;font-size:11px;color:#e9d3c3}
.overview{display:grid;grid-template-columns:1fr 1fr;gap:17px;margin:18px 0}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);min-width:0}.overview-card,.compact,.guidance,.guide-feature,.care-card{padding:19px 22px}.tile{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;flex:none}.rust{background:#f6e6dc;color:#934d35}.sage{background:#e9eee3;color:var(--sage)}.overview-body{min-height:65px;margin:13px 0 10px}.overview-body p{font-size:13px;line-height:1.65;color:var(--muted);margin-top:4px}.text-link{display:inline-flex;align-items:center;gap:7px;color:#914629;font-size:13px;font-weight:700;white-space:nowrap}.text-link:hover{text-decoration:underline}.text-link svg{width:15px;height:15px}.badge{display:inline-block;background:#f1ebe4;color:#6b584a;border-radius:20px;padding:5px 8px;font-size:11px;font-weight:700;white-space:nowrap}.card-head .badge{margin-left:auto}.badge.ok{background:#e9eee3;color:#425b3d}.badge.warn{background:#f6e6dc;color:#88452d}.progress{height:5px;border-radius:20px;background:#eee7dd;overflow:hidden;margin-top:10px}.progress i{height:100%;display:block;background:#7b8c68;border-radius:20px}
.history{padding:18px 22px}.section-head{justify-content:space-between;margin-bottom:10px}.section-head h2{white-space:nowrap}.empty{padding:22px 12px 17px;text-align:center;color:var(--muted);font-size:13px;line-height:1.6}.empty .tile{margin:0 auto 7px;background:#f4eee7;color:#8b6b57}.empty b{display:block;color:var(--ink);font-size:14px;margin-bottom:2px}.search{display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid var(--line);border-radius:9px;color:var(--muted);max-width:45%}.search input{min-width:0;width:100%;border:0;background:none;padding:9px 0;color:var(--ink);font-size:13px}.search svg{width:15px;height:15px}.count{font-size:13px;color:var(--muted);margin-left:3px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left;white-space:nowrap}th{color:var(--muted);font-weight:600;background:#f9f5ef}th,td{padding:11px 10px}td{border-top:1px solid var(--line)}td:first-child{width:100%;min-width:130px;max-width:220px;white-space:normal;overflow-wrap:anywhere}td small{display:block;color:var(--muted);margin-top:3px}.row-button{padding:0;border:0;color:#8d442b;background:none;font-weight:700;text-align:left;font-size:inherit}.row-button:hover{text-decoration:underline}
.guide-feature h3{font-size:29px;margin:15px 0 7px}.guide-feature p{max-width:67ch}.guide-records,.guidance{margin-top:17px}.guide-keys{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0}.guide-keys div{background:#f7f1e9;border-radius:10px;padding:12px}.guide-keys b{font-size:14px;color:var(--accent-dark)}.guide-keys p{font-size:13px;margin-top:5px;line-height:1.5}.guidance>.muted+.muted{margin-top:7px}
.care-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:17px;align-items:start}.care-side{display:grid;gap:17px}.care-intro,.compact>.muted{margin:9px 0}.segmented{display:flex;gap:4px;background:#f4ede5;padding:4px;border-radius:10px;margin:15px 0 5px}.segmented button{flex:1;border:0;padding:8px 3px;border-radius:7px;background:none;color:#66574e;font-weight:700;font-size:12px;white-space:nowrap}.segmented button[aria-pressed="true"]{background:white;color:var(--accent-dark);box-shadow:0 1px 3px #40200b1b}.task{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:10px;align-items:center;justify-content:space-between}.task:last-child{border-bottom:0;padding-bottom:4px}.task div{min-width:0}.task p{font-size:12px;color:var(--muted);line-height:1.55;margin-top:4px}.task strong{font-size:14px}.task-button{min-width:63px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:#faf5f0;color:var(--accent-dark);font-size:12px;font-weight:700;white-space:nowrap}.task-button:hover{background:#f2e3d7}.task .badge{margin-top:6px}.compact label{margin-top:11px}.care-history{margin-top:17px}.care-entry{border-top:1px solid var(--line);padding:12px 0;display:flex;gap:12px;align-items:start;justify-content:space-between}.care-entry:last-child{padding-bottom:3px}.care-entry p{overflow-wrap:anywhere;white-space:pre-wrap}.care-entry .muted{margin-top:3px}.cloth-item{margin-top:13px}.cloth-item+.cloth-item{padding-top:11px;border-top:1px solid var(--line)}.cloth-item .field{margin-top:6px}
footer{display:flex;justify-content:space-between;gap:10px;margin-top:20px;color:#6f6054;font-size:11px;padding:0 0 7px}
dialog{width:min(580px,calc(100% - 24px));padding:0;border:1px solid var(--line);border-radius:18px;background:var(--paper);color:var(--ink);box-shadow:0 18px 70px #1d12126b;max-height:calc(100dvh - 28px)}dialog::backdrop{background:#2419128c}dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 32px)}.dialog-head{justify-content:space-between;padding:17px 21px;border-bottom:1px solid var(--line);flex:none}.dialog-head h2{font-size:23px}.dialog-head .date{margin-bottom:3px}.close{font-size:25px;background:none;border:0;color:var(--muted);width:36px;height:36px;border-radius:8px}.close:hover{background:#f4ede5}.form-content{padding:17px 21px;overflow:auto}.inline-note{font-size:13px;background:#f6e8dd;color:#71462f;padding:10px 12px;border-radius:8px;margin-bottom:14px}.inline-note b{margin-left:5px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;min-width:0}.field small{font-weight:400;color:var(--muted)}.field input,.field select,.field textarea{min-width:0;width:100%;border:1px solid #dfd3c8;border-radius:8px;color:var(--ink);background:#fffefa;padding:8px 9px;min-height:39px;font-size:14px}.field textarea{resize:vertical}.wide{grid-column:1/-1}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding:12px 21px;flex:none}.danger{margin-right:auto;color:#922e24;border:0;background:none;font-size:13px;font-weight:700}.photo-box{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.photo-box img{max-width:100%;max-height:135px;border-radius:8px}.photo-box button{min-height:34px}.photo-box a{font-weight:700;color:var(--accent);font-size:13px}#toast{position:fixed;z-index:4;bottom:20px;right:20px;left:auto;background:#36261e;color:#fff;padding:12px 16px;border-radius:10px;font-size:13px;max-width:calc(100% - 40px)}#toast.error{background:#8d3025}dialog form .form-error{font-size:13px;color:#922e24;padding:0 21px 8px}
@media(max-width:1000px){.sidebar{width:187px;padding-left:12px;padding-right:12px}main{margin-left:187px}.frame{padding-inline:25px}.hero-content{padding-inline:26px}.care-layout{grid-template-columns:1fr}.care-side{grid-template-columns:1fr 1fr}}
@media(max-width:730px){.sidebar{position:sticky;top:0;width:auto;display:block;padding:9px 12px 5px}.brand{gap:8px;padding:0 3px}.brand-icon{width:29px;height:29px;border-radius:8px}.brand-icon svg{width:16px;height:16px}.brand strong{font-size:15px}.brand small{display:none}.sidebar nav{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:7px}.sidebar nav a{justify-content:center;gap:5px;padding:8px 2px;font-size:11px}.sidebar nav svg{width:14px;height:14px}.side-bottom{display:none}main{margin:0}.frame{padding:19px 13px 9px}.page-head{margin-bottom:15px}.page-head .secondary,.page-head .primary{min-height:37px;padding:6px 9px;font-size:12px}.hero{min-height:220px}.hero-content{padding:24px 16px 20px}.hero-photo{left:43%}.hero:after{background:linear-gradient(90deg,#30201a 19%,#30201a 37%,#30201a35 82%,#30201a20)}.recipe{gap:11px;margin-top:18px}.recipe div+div{padding-left:10px}.recipe strong{font-size:27px}.recipe label{font-size:10px}.overview{gap:10px;margin:11px 0}.overview-card,.compact,.guidance,.guide-feature,.care-card,.history{padding:13px}.overview-card h2{font-size:15px}.overview-card .tile{width:27px;height:27px}.overview-card .tile svg{width:15px;height:15px}.overview-card .card-head{gap:6px}.overview-card .badge{font-size:9px;padding:4px 5px}.overview-body{min-height:76px;margin-top:9px}.overview-body p{font-size:12px}.text-link{font-size:12px}.care-layout,.care-side{gap:11px}.guide-keys{gap:6px}.guide-keys div{padding:8px}.guide-keys p{font-size:12px}.field input,.field select,.field textarea{font-size:16px}.field input[type=datetime-local]{padding-inline:3px;font-size:13px}}
@media(max-width:400px){.care-side{grid-template-columns:1fr}.overview-card{padding:10px}.overview-card .card-head .tile{display:none}.fields{gap:9px}.dialog-head,.form-content,.dialog-actions{padding-inline:13px}}
.upcoming-card{margin-bottom:17px}.upcoming-card ul{list-style:none;margin:0;padding:0}.upcoming-card li{padding:9px 0;border-top:1px solid var(--line);display:flex;align-items:center;gap:8px;font-size:13px}.upcoming-card li span:first-child{margin-right:auto;font-weight:700}#care-sync-status:not(:empty){margin:12px 0;background:#f6e6dc;border-radius:8px;padding:9px 12px}.segmented{flex-wrap:wrap}.segmented button{flex:1 0 max(44px,12%)}@media(max-width:730px){footer{flex-wrap:wrap}}
.bean-controls{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:15px 0 10px}.bean-controls .field{flex:1 1 180px;max-width:440px}.bean-controls select{min-width:0}.bean-controls .secondary{min-height:39px}#guide-last-shot:empty{display:none}

.shot-actions{display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.scale-tip{margin:-6px 0 13px}
#brew-change,.brew-empty{margin-top:9px;color:var(--muted);font-size:13px;line-height:1.65}.brew-key{margin:10px 0 2px;display:flex;gap:8px 17px;flex-wrap:wrap}.brew-key span:first-child{color:#914629}.brew-key span+span{color:#435a40}.brew-chart{padding:29px 17px 37px 41px;position:relative}.brew-plot{position:relative;height:clamp(138px,25vw,240px);border-bottom:1px solid #cdb9a8;border-left:1px solid #cdb9a8}.brew-y-label,.brew-x-label,.brew-x-tick,.brew-y-tick{position:absolute;color:var(--muted);font-size:11px;white-space:nowrap}.brew-y-label{top:5px;left:0}.brew-x-label{bottom:2px;left:50%;transform:translateX(-50%)}.brew-x-tick{top:100%;transform:translate(-50%,6px)}.brew-y-tick{right:100%;transform:translate(-6px,-50%)}.brew-gridline{position:absolute;inset-inline:0;border-top:1px solid var(--line);pointer-events:none}.brew-target{position:absolute;background:#dce8d2;border:1px solid #789467;pointer-events:none}.brew-dot{position:absolute;width:23px;height:23px;transform:translate(-50%,-50%);border:0;background:transparent;border-radius:50%;z-index:1}.brew-dot:after{content:"";position:absolute;inset:7px;background:#b27359;border-radius:50%;border:1px solid #fff}.brew-dot.latest{z-index:2}.brew-dot.latest:after{inset:5px;background:var(--accent-dark)}.brew-dot:focus-visible,.brew-dot:hover{z-index:3;outline:2px solid var(--accent);outline-offset:-2px}.brew-readout{margin-top:4px}.brew-chart-card{margin-top:17px}
.entry-card{max-width:460px;margin:clamp(25px,10vh,105px) auto;padding:clamp(20px,5vw,34px);width:min(460px,calc(100% - 28px))}.entry-card h1{margin-bottom:8px}.entry-card form,.member-form{display:grid;gap:12px;margin:14px 0;max-width:510px}.entry-card form .primary,.member-form .primary{justify-self:start}.entry-links,.member-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0}.entry-card #account-status,.members-status{margin-top:9px}.member-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}.member-list{list-style:none;padding:0;margin:10px 0 0}.member-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line);font-size:13px}.member-list p,.community-message{white-space:pre-wrap;overflow-wrap:anywhere}.community-message,.community-recipe{line-height:1.6;margin:10px 0}.machine-filter{max-width:300px}.community-post h2{white-space:normal;overflow-wrap:anywhere}.comments-panel{margin-top:9px}.sidebar{overflow-y:auto}.sidebar nav{margin-bottom:14px}.sidebar nav a{min-height:38px}.sidebar nav{margin-top:34px}.side-bottom{margin-top:auto}.member-form input{width:100%}@media(max-width:730px){.sidebar nav{margin:6px 0 1px;grid-template-columns:repeat(4,1fr)}.sidebar nav a{min-height:29px;line-height:1.2}.member-columns{grid-template-columns:1fr}}
.manual-picker{display:grid;gap:7px}.manual-picker .field{max-width:440px}.manual-heading{display:flex;gap:9px;align-items:center;margin:20px 0 0}.manual-heading h2{font-size:21px}.manual-columns{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.manual-detail h3{font-size:16px;margin-bottom:7px}.manual-detail p,.manual-detail li{font-size:13px;line-height:1.65;color:var(--muted)}.manual-detail ol,.manual-detail ul{margin:0;padding-left:20px}.manual-detail li+li{margin-top:5px}.manual-caution{background:#f9eee6;border-color:#e9cebc}.manual-detail .member-actions{margin-bottom:0}.manual-detail #manual-pdf{white-space:normal;text-align:left}@media(max-width:730px){.manual-columns{grid-template-columns:1fr}.manual-heading{margin-top:15px}}
