:root{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#edf0e9;background:#101411;font-synthesis:none;font-size:16px;--muted:#909b91;--line:#2b332c;--accent:#c2e5a3;--panel:#1b211c;--gold:#dfb67a;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;transition:background .18s,color .18s,border-color .18s}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #98ba80;outline-offset:1px}a{color:inherit;text-decoration:none}button{border:1px solid transparent;background:none;color:inherit}h1,h2,h3,p{margin:0}h2{font-size:1.18rem;font-weight:700}h3{font-size:1.12rem}p{line-height:1.65}small{font-size:.8rem}svg{flex-shrink:0}input,select,textarea{min-width:0;color:#eef2e9;background:#141a15;border:1px solid #354036;border-radius:9px;padding:11px 13px;width:100%}input::placeholder,textarea::placeholder{color:#778279}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:32px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m4 5 3 3 3-3' fill='none' stroke='%23949f95' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}label{display:flex;flex-direction:column;gap:9px;font-size:.88rem;color:#b7c1b6}fieldset{padding:0;border:0;margin:0}legend{font-size:.88rem;color:#b7c1b6;margin-bottom:10px}input[type=range]{padding:0;accent-color:var(--accent);border:none}input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}textarea{resize:vertical;min-height:85px}button.primary,.primary{background:var(--accent);color:#1c2a16;border-color:var(--accent);font-weight:700}.primary:hover:not(:disabled){background:#d2f1b9;border-color:#d2f1b9}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 17px;border-radius:9px;font-size:.88rem;white-space:nowrap;min-height:44px}.secondary{background:#202820;border-color:#394437;color:#dce5d7;font-weight:600}.secondary:hover:not(:disabled){background:#2d382b;border-color:#66775e}.danger{background:#8d3b38;color:#fff}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:5px;color:#9aa597;border-radius:7px}.icon-button:hover{color:#e6efdf;background:#30392f}.danger-hover:hover{color:#f5aaa0;background:#4a2927}.text-button{color:var(--accent);font-weight:600;padding:9px 0;font-size:.88rem}.text-button:hover{color:#e3ffd0}.muted{color:var(--muted);font-size:.82rem}.app-shell{min-height:100vh}.sidebar{width:240px;position:fixed;inset:0 auto 0 0;background:#151b16;border-right:1px solid var(--line);padding:34px 20px 0;display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:11px;align-items:center;padding:0 9px;font-size:1.47rem;font-weight:800;letter-spacing:-1.1px}.brand-light{font-weight:500;color:var(--accent)}.brand small{font-size:.51rem;letter-spacing:1.55px;display:block;color:#7e8c7c;margin-top:6px;font-weight:600}.brand-mark{width:37px;height:43px;display:flex;align-items:center;justify-content:center;color:var(--accent);background:#253122;border-radius:12px 12px 17px 5px}.nav-caption{font-size:.62rem;letter-spacing:1.3px;color:#70806e;margin:49px 13px 16px}nav{display:flex;flex-direction:column;gap:8px}.nav-item{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:14px 13px;color:#a1aea0;border-radius:8px;font-size:.9rem;font-weight:500}.nav-item:hover{background:#222d22}.nav-item.active{color:var(--accent);background:#2b3927}.nav-count{margin-left:auto;font-size:.75rem;background:#43533b;border-radius:5px;padding:2px 7px}.sidebar-bottom{margin-top:auto}.local-note{display:flex;align-items:flex-start;gap:8px;margin:25px 8px 16px;font-size:.72rem;color:#b9c6b3}.local-note small{display:block;color:#74836f;font-size:.62rem;margin-top:6px}.local-dot{height:6px;width:6px;flex-shrink:0;background:#a2ca83;display:inline-block;border-radius:50%;margin-top:5px}.backup-actions{display:flex;gap:8px;padding:0 7px 20px}.backup-actions button{display:flex;align-items:center;gap:7px;font-size:.75rem;color:#9aa994;padding:7px}.backup-actions button:hover{color:var(--accent)}.profile{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:23px 5px;font-size:.8rem}.profile small{display:block;color:#768672;margin-top:5px;font-size:.65rem}.avatar{width:34px;height:34px;background:#313e2d;border:1px solid #4c5f43;border-radius:50%;display:grid;place-items:center;color:#cce4bb;font-weight:700}.version{margin-left:auto;font-size:.57rem;border:1px solid #394533;padding:3px 5px;border-radius:4px;color:#8c9b84}.workspace{margin-left:240px}.topbar{height:73px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{display:flex;align-items:center;gap:14px;font-size:.75rem;color:#7f8c7b}.breadcrumb strong{font-weight:500;color:#cad4c3}.top-note{display:flex;gap:7px;font-size:.68rem;color:#8f9c88}.main-content{max-width:1600px;margin:auto;padding:38px 42px 20px}.eyebrow{font-size:.63rem;letter-spacing:1.7px;font-weight:600;color:#92a484;margin-bottom:11px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:31px}h1{font-size:2.45rem;letter-spacing:-1.5px;line-height:1.25;font-weight:600}.heading-dot{color:var(--accent)}.page-heading p{font-size:.84rem;color:var(--muted);margin-top:12px}.page-heading>.primary{margin-top:20px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:30px}.stat{border:1px solid var(--line);background:linear-gradient(120deg,#20271f,#1a211b);border-radius:12px;padding:19px 20px}.stat-title{font-size:.75rem;color:#a0ae98;display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-title svg{width:17px;height:17px;color:#7f9174}.stat-value{font-size:2rem;font-weight:500;letter-spacing:-.7px;margin:11px 0 8px}.stat-value small{font-size:1rem;color:#9ba991;margin-left:7px}.stat-note{font-size:.65rem;color:#7e8e76;display:flex;align-items:center;gap:6px}.stat-warning .stat-title svg,.stat-warning .stat-value{color:var(--gold)}.amber-dot{width:5px;height:5px;border-radius:50%;background:var(--gold)}.toolbar-main{display:flex;gap:10px}.search{flex:1;display:flex;align-items:center;border:1px solid #343d32;background:#1b221c;border-radius:8px;padding-left:14px;color:#87967e;gap:7px}.search input{border:none;background:transparent;outline:none;font-size:.82rem;padding:12px 6px}.search:focus-within{outline:2px solid #8fa87c}.search input:focus{outline:none}.toolbar-main select{width:165px;font-size:.8rem;background-color:#1b221c;border-color:#343d32}.toolbar-main .secondary{font-size:.79rem;padding:10px 14px}.chips{display:flex;gap:8px;flex-wrap:wrap}.profile-chips{margin-top:18px;padding-bottom:23px;border-bottom:1px solid var(--line);gap:7px}.chip{font-size:.74rem;padding:8px 12px;border-radius:7px;color:#9fac97;border:1px solid #2d372b;background:#192019;display:inline-flex;gap:7px;align-items:center}.chip:hover{background:#303e2b}.chip.selected{background:#35472b;border-color:#536e41;color:#d3edbd}.chip span{font-size:.9rem;color:#8a9f7a}.chip.selected span{color:#c3e4a5}.filter-panel{display:flex;align-items:flex-end;gap:16px;margin-top:16px;padding:16px;background:#1a221b;border-radius:9px}.filter-panel label{flex:1;font-size:.75rem}.filter-panel .checkbox{flex-direction:row;align-items:center;flex:initial;white-space:nowrap;padding-bottom:10px}.is-active{border-color:#b3d09d}.section-line{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0 18px}.section-line h2{font-size:1rem;font-weight:600}.section-line h2 span{font-size:.7rem;background:#283224;padding:2px 7px;border-radius:5px;margin-left:7px;color:#9ab08b}.section-line>span{font-size:.66rem;color:#6f8068}.tobacco-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.tobacco-card{background:var(--panel);border:1px solid #30392e;border-radius:12px;padding:20px;transition:border-color .2s,transform .2s;overflow:hidden}.tobacco-card:hover{border-color:#536248;transform:translateY(-2px)}.card-top{display:flex;align-items:center;gap:10px;margin-bottom:15px}.flavor-art{width:43px;height:43px;border-radius:12px;display:grid;place-items:center;overflow:hidden;position:relative;background:#303d27;color:#c2db9d}.flavor-art:before{content:"";position:absolute;width:44px;height:44px;border-radius:50%;background:currentColor;opacity:.1;top:-21px;right:-12px}.flavor-art span{font-size:1.9rem;font-family:Georgia,serif;line-height:1}.tone-0{background:#3e2938;color:#e1a8c2}.tone-1{background:#4a4027;color:#e4c57b}.tone-2{background:#3e4324;color:#d0d67b}.tone-3{background:#294238;color:#a7d8c4}.tone-4{background:#48372c;color:#d9b28c}.tone-5{background:#442e26;color:#d8a184}.tone-6{background:#3f3145;color:#c7a6d6}.tone-7{background:#303c2a;color:#bed194}.brand-tag{font-size:.6rem;font-weight:700;color:#9eac95;letter-spacing:1.1px;max-width:150px;overflow-wrap:anywhere}.card-actions{display:flex;margin-left:auto;gap:0}.card-actions .icon-button{width:28px;height:32px;color:#70816a}.tobacco-card h3{font-size:1.1rem;font-weight:600;letter-spacing:-.3px;overflow-wrap:anywhere}.flavor-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px;min-height:23px}.flavor-tags span{font-size:.62rem;padding:3px 7px;color:#a0b18f;border-radius:4px;background:#293124}.strength{display:flex;gap:6px;align-items:center;font-size:.67rem;color:#819276;margin:22px 0 16px}.strength svg{color:#839674}.strength-bars{display:flex;gap:3px;margin-left:auto}.strength-bars i{width:12px;height:4px;border-radius:2px;background:#35402e}.strength-bars i.filled{background:#91a97a}.stock-line{display:flex;justify-content:space-between;align-items:baseline;font-size:.69rem;color:#8b9a80}.stock-line strong{font-size:1.06rem;color:#d9e6cd;font-weight:600}.stock-line strong small{font-size:.7rem;font-weight:400;color:#74876a}.progress{background:#2c3626;border-radius:5px;height:4px;margin-top:11px;overflow:hidden}.progress span{height:100%;background:#a0bb87;display:block;border-radius:5px}.progress.low span{background:#cfa76f}.card-footer{border-top:1px solid #2a3527;margin-top:19px;padding-top:12px;display:flex;justify-content:space-between;align-items:center;font-size:.64rem}.card-footer button{display:flex;align-items:center;gap:5px;font-size:.69rem;color:#c1d9ad;padding:4px 0 4px 8px}.available{color:#a4c58b}.warning-text,.stock-line strong.warning-text{color:var(--gold)}.inspiration{display:flex;gap:18px;align-items:center;border:1px solid #394831;background:linear-gradient(110deg,#273321,#1c251b);padding:24px;border-radius:12px;margin-top:28px}.inspiration-icon{width:48px;height:48px;display:grid;place-items:center;background:#35482a;border-radius:12px;color:#b5d397}.inspiration h3{font-size:.95rem;font-weight:600}.inspiration p{font-size:.73rem;color:#8ea17f;margin-top:6px}.inspiration button{margin-left:auto;font-size:.73rem;background:#34432c;border-color:#4b6040}.page-footer{display:flex;justify-content:space-between;gap:20px;margin-top:43px;border-top:1px solid #273122;padding-top:20px;color:#7c8c72;font-size:.62rem}.page-footer .muted{font-size:inherit;color:#586b50}.panel{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:24px}.builder-layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(280px,1fr);gap:22px;align-items:start}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;gap:10px}.panel-heading h2{display:flex;gap:10px;align-items:center}.panel-heading h2 svg{color:var(--accent)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-stack{display:flex;flex-direction:column;gap:20px}.form-stack>.primary{margin-top:5px}.ingredient-list{margin:25px 0}.ingredient{display:flex;align-items:center;gap:10px;padding:16px 0;border-bottom:1px solid var(--line)}.mini-flavor{width:36px;height:40px;display:grid;place-items:center;border-radius:9px;font-size:1.6rem;flex-shrink:0}.ingredient-name{min-width:0;flex:1}.ingredient-name strong{display:block;font-size:.86rem;overflow-wrap:anywhere}.ingredient-name small{font-size:.65rem;display:block;margin-top:5px;color:var(--muted)}.percent-input{display:flex;flex-direction:row;align-items:center;gap:4px;width:85px;flex-shrink:0}.percent-input input{padding:8px;width:63px}.percent-input>span{font-size:.75rem}.gram-value{font-size:.78rem;min-width:42px;text-align:right;color:#b4c6a5}.mix-total{display:flex;justify-content:space-between;margin-top:25px;font-size:.85rem;padding:18px 0 8px;border-top:1px solid var(--line)}.mix-summary{text-align:center}.mix-orb{margin:20px auto;width:155px;height:155px;border-radius:50%;background:radial-gradient(circle,#354a29,#222e1d);border:1px solid #465d37;display:flex;align-items:center;justify-content:center;gap:6px;color:#b7d49f}.mix-orb strong{font-size:1.9rem;font-weight:500;line-height:1}.mix-orb strong small{display:block;font-size:.65rem;margin-top:10px;color:#8da77b}.mix-orb svg{opacity:.6}.mix-summary h2{margin:20px 0}.summary-line{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:11px 0;font-size:.82rem;border-bottom:1px solid var(--line);text-align:left}.summary-line>span{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere;min-width:0}.summary-line strong{white-space:nowrap;font-weight:500;color:#d2e0c7}.summary-line i{width:7px;height:7px;border-radius:50%;flex-shrink:0}.mix-status{font-size:.78rem;background:#352e23;padding:12px;border-radius:7px;color:#e0c293;margin:20px 0}.mix-status.success{color:#b7d59b;background:#2a3824}.mix-summary button{width:100%;margin-bottom:10px}.helper{font-size:.72rem;color:#89977e;margin-top:10px}.recipe-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.recipe-card-head{display:flex;align-items:center;justify-content:space-between;color:var(--accent);margin-bottom:15px}.recipe-card h3{margin-bottom:10px}.recipe-card p{font-size:.78rem;color:var(--muted);min-height:48px;overflow-wrap:anywhere}.recipe-footer{border-top:1px solid var(--line);margin-top:17px;padding-top:8px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.8rem}.recipe-footer .text-button{font-size:.73rem}.history-overview{display:flex;gap:30px;margin-bottom:22px;color:var(--muted);font-size:.85rem}.history-overview span{display:flex;align-items:center;gap:9px}.history-overview strong{color:var(--accent);font-size:1.25rem}.history-overview svg{color:var(--accent)}.history-list{display:flex;flex-direction:column;gap:20px;max-width:1000px}.history-header{display:flex;gap:15px;align-items:center}.history-icon{width:48px;height:48px;background:#303e27;color:#b8d79b;display:grid;place-items:center;border-radius:12px}.history-header h2{margin-top:6px;overflow-wrap:anywhere}.history-header .secondary{margin-left:auto;font-size:.78rem}.weight-badge{font-size:.8rem;background:#293324;padding:5px 10px;border-radius:5px;margin-left:8px;white-space:nowrap}.history-ingredients{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.history-ingredients>span{padding:8px 11px;border:1px solid #34412c;border-radius:7px;font-size:.73rem;color:#9caa90}.history-ingredients strong{font-weight:500;color:#c1d1b4;margin-left:8px}.rating-buttons{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:20px}.rating-buttons button{display:flex;align-items:center;gap:7px;border:1px solid #394332;border-radius:7px;padding:9px 13px;font-size:.78rem;color:#96a58c}.rating-buttons button.selected{background:#34452b;color:#c2e5a3;border-color:#6a8656}.rating-buttons button.rating-dislike{background:#45302b;border-color:#8c6152;color:#e1aa96}.comment-label{font-size:.78rem}.comment-label textarea{font-size:.8rem}.history-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:10px;gap:10px}.history-bottom .muted{font-size:.68rem}.recommendation-intro{display:flex;gap:18px;padding:23px;background:#263321;border:1px solid #3a4c30;border-radius:12px;margin-bottom:25px;color:#c2dba9}.recommendation-intro p{font-size:.8rem;color:#9fb090;margin-top:7px;max-width:850px}.recommendation-intro strong{font-size:.95rem}.ideas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.idea-card{padding:0;overflow:hidden}.idea-art{height:150px;position:relative;display:flex;align-items:center;justify-content:center;gap:24px;background:radial-gradient(ellipse at 15% 80%,#694532,#293c2b 75%);color:#d8db9a}.idea-art>span:not(.idea-badge){font-family:Georgia,serif;font-size:4.2rem;text-shadow:0 8px 25px #0004}.idea-1{background:radial-gradient(ellipse at 25% 80%,#623d4a,#3b352a 75%);color:#e9b8bb}.idea-2{background:radial-gradient(ellipse at 30% 80%,#3e5341,#25383b 75%);color:#b8d8c0}.idea-badge{position:absolute;top:13px;right:13px;background:#142316b8;border:1px solid #97b98352;padding:5px 8px;border-radius:5px;font-size:.62rem;color:#d6e8ca}.idea-body{padding:23px}.idea-body p{font-size:.8rem;color:var(--muted);margin:12px 0;min-height:65px}.idea-body .secondary{margin-top:22px;width:100%;font-size:.8rem}.empty{padding:60px 20px;text-align:center;border:1px dashed #3b4933;border-radius:12px;background:#192018}.empty>div{color:#a8c38f;margin-bottom:16px}.empty svg{width:38px;height:38px}.empty h2{font-size:1.18rem}.empty p{font-size:.87rem;color:var(--muted);max-width:540px;margin:10px auto 0}dialog{width:min(550px,calc(100% - 32px));max-height:calc(100dvh - 50px);overflow:auto;background:#1c241d;border:1px solid #46553d;border-radius:16px;padding:27px;color:#ecf1e6;box-shadow:0 30px 100px #0007}dialog::backdrop{background:#070d09ba;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}dialog p{font-size:.88rem;color:#adbba1}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:20px}.modal-head h2{font-size:1.25rem}.modal-buttons{display:flex;gap:12px;justify-content:flex-end;margin-top:25px;flex-wrap:wrap}.error{font-size:.85rem;padding:14px 17px;background:#432c27;border:1px solid #805245;color:#f5c3b3;border-radius:8px;line-height:1.5;margin-bottom:16px}.error button:not(.icon-button){text-decoration:underline}.alert{display:flex;align-items:center;justify-content:space-between}.toast{position:fixed;bottom:26px;left:calc(50% + 120px);transform:translate(-50%);background:#c7e6b2;color:#24391c;z-index:100;padding:14px 20px;border-radius:10px;box-shadow:0 8px 40px #0005;display:flex;align-items:center;gap:9px;font-size:.85rem;max-width:calc(100% - 30px)}.boot{max-width:600px;padding:70px 25px;margin:auto;display:flex;flex-direction:column;gap:22px}.boot svg{color:var(--accent)}.boot h1{font-size:1.6rem}.boot button{padding:12px;border:1px solid #859d73;border-radius:8px}.mobile-menu,.menu-overlay{display:none}@media(min-width:1500px){.main-content{padding:45px 55px 25px}.topbar{padding:0 55px}.tobacco-card{padding:23px}.stats,.tobacco-grid{gap:20px}.card-top{margin-bottom:20px}}@media(max-width:1200px){.sidebar{width:215px;padding-left:14px;padding-right:14px}.workspace{margin-left:215px}.main-content{padding:30px 26px 20px}.topbar{padding:0 26px}.tobacco-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{padding:16px 14px}.stats{gap:11px}.stat-title{font-size:.68rem}.stat-note{font-size:.6rem}.stat-value{font-size:1.8rem}.inspiration{padding:20px;gap:12px}.inspiration button{white-space:normal;max-width:155px}.inspiration h3{font-size:.86rem}.inspiration p{font-size:.7rem}.builder-layout{grid-template-columns:1fr}.mix-summary{text-align:left;display:block}.mix-orb{float:right;width:100px;height:100px;margin:5px 0 15px 20px}.mix-orb svg{width:32px}.mix-orb strong{font-size:1.4rem}.mix-summary .eyebrow{margin-top:5px}.mix-summary h2{padding:5px 0}.mix-summary .summary-line{max-width:65%}.mix-status{clear:both}.recipe-grid,.ideas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.toast{left:calc(50% + 107px)}h1{font-size:2.1rem}.page-heading p{max-width:480px}.page-heading>.primary{font-size:.78rem}.filter-panel{flex-wrap:wrap}.filter-panel label{min-width:150px}.page-footer>span:last-child{display:none}}@media(max-width:850px){.sidebar{width:190px;padding-left:10px;padding-right:10px}.brand{font-size:1.25rem;padding:0 6px;gap:7px}.brand small{font-size:.44rem}.brand-mark{width:32px}.workspace{margin-left:190px}.nav-item{font-size:.8rem;gap:8px}.nav-caption{font-size:.55rem}.main-content{padding:26px 22px 20px}.topbar{padding:0 22px}.stats{grid-template-columns:repeat(2,1fr)}.stat-note{font-size:.65rem}.stat-title{font-size:.75rem}.page-heading{align-items:flex-start}.page-heading>.primary{margin-top:26px;font-size:0;padding:10px;width:43px;height:43px}.page-heading>.primary svg{width:21px}.page-heading p{font-size:.8rem}.tobacco-card{padding:16px}.card-top{gap:8px}.brand-tag{font-size:.54rem;letter-spacing:.7px}.card-actions .icon-button{width:24px}.card-actions{gap:0}.flavor-art{width:35px;height:38px;border-radius:9px}.section-line>span{display:none}.profile-chips{gap:6px}.chip{padding:7px 10px;font-size:.7rem}.inspiration{flex-wrap:wrap}.inspiration>div:nth-child(2){flex:1}.inspiration button{max-width:none;margin-left:60px}.toolbar-main select{width:140px;font-size:.73rem}.toolbar-main .secondary{font-size:0;padding:10px}.search input{font-size:.75rem}.recipe-grid,.ideas-grid{grid-template-columns:1fr}.history-card{padding:20px}.history-header .secondary{padding:8px 10px;font-size:.7rem}.history-header h2{font-size:1rem}.weight-badge{display:none}.history-icon{width:40px;height:43px}.history-header .muted{font-size:.65rem}.history-bottom{align-items:flex-start;flex-direction:column}.toast{left:calc(50% + 95px)}}@media(max-width:640px){.sidebar{transform:translate(-100%);width:260px;transition:transform .2s;padding:30px 20px 0}.sidebar.open{transform:translate(0)}.brand{font-size:1.5rem;gap:12px}.brand small{font-size:.52rem}.brand-mark{width:38px}.nav-item{font-size:.95rem;padding:15px 13px;gap:13px}.nav-caption{font-size:.62rem}.workspace{margin-left:0}.mobile-menu{display:inline-flex;margin-right:1px}.menu-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;background:#0009;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.topbar{height:62px;padding:0 14px}.breadcrumb{gap:8px;font-size:.7rem}.top-note{font-size:.57rem}.top-note .local-dot{width:5px;height:5px;margin-top:3px}.main-content{padding:26px 16px 18px}.page-heading{gap:15px;margin-bottom:23px}h1{font-size:2.15rem}.eyebrow{font-size:.56rem;letter-spacing:1.4px;margin-bottom:9px}.page-heading p{font-size:.8rem;line-height:1.65;margin-top:10px}.page-heading>.primary{font-size:0;margin-top:27px;flex-shrink:0}.page-heading>.secondary{font-size:.72rem;padding:9px;min-height:39px;margin-top:24px}.stats{gap:10px;margin-bottom:23px}.stat{padding:16px}.stat-title{font-size:.7rem}.stat-note{font-size:.58rem}.stat-value{font-size:1.8rem;margin:10px 0 7px}.toolbar-main{flex-wrap:wrap;gap:8px}.search{flex-basis:calc(100% - 54px)}.toolbar-main .secondary{width:44px}.toolbar-main select{width:100%;font-size:.8rem}.search input{font-size:.8rem}.profile-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:15px;margin-top:15px;scrollbar-width:thin}.profile-chips .chip{flex-shrink:0;font-size:.75rem;padding:8px 11px}.section-line{margin-top:20px}.tobacco-grid{gap:12px}.tobacco-card{padding:15px}.card-top{gap:7px;flex-wrap:wrap;margin-bottom:12px}.flavor-art{width:33px;height:36px;border-radius:8px}.flavor-art span{font-size:1.5rem}.brand-tag{font-size:.48rem;letter-spacing:.5px;max-width:calc(100% - 42px)}.card-actions{width:100%;justify-content:flex-end;margin-top:-1px;margin-bottom:-11px}.card-actions .icon-button{width:28px;height:30px}.tobacco-card h3{font-size:.94rem;line-height:1.4;min-height:42px;display:flex;align-items:center}.flavor-tags{margin-top:6px;min-height:22px;gap:4px}.flavor-tags span{font-size:.57rem;padding:3px 5px}.strength{font-size:.6rem;margin-top:15px;gap:4px}.strength svg{width:12px}.strength-bars{gap:2px}.strength-bars i{width:8px;height:4px}.stock-line{font-size:.6rem}.stock-line strong{font-size:.95rem}.stock-line strong small{font-size:.61rem}.card-footer{font-size:.57rem;margin-top:14px;padding-top:10px;gap:4px;align-items:flex-start}.card-footer button{font-size:.61rem;padding-top:0;white-space:nowrap}.card-footer button svg{width:11px}.card-footer>span{max-width:70px}.inspiration{padding:19px;gap:12px}.inspiration-icon{width:38px;height:42px}.inspiration-icon svg{width:23px}.inspiration h3{font-size:.85rem}.inspiration p{font-size:.72rem}.inspiration button{margin-left:50px;font-size:.7rem}.page-footer{margin-top:30px;font-size:.55rem}.panel{padding:19px}.builder-layout{gap:16px}.builder .form-grid{grid-template-columns:1fr 105px;gap:10px}.builder label{font-size:.76rem}.builder input{padding:11px 9px;font-size:.9rem}.panel-heading{margin-bottom:23px}.panel-heading h2{font-size:1rem}.panel-heading .muted{font-size:.68rem}.ingredient{gap:7px;flex-wrap:wrap}.mini-flavor{width:30px;height:34px}.ingredient-name{flex-basis:calc(100% - 40px)}.ingredient-name strong{font-size:.85rem}.ingredient-name small{font-size:.63rem}.percent-input{margin-left:37px}.gram-value{margin-left:auto}.ingredient>.icon-button{margin-left:6px}.ingredient-list{margin:12px 0 22px}.mix-total{font-size:.8rem}.mix-summary .summary-line{max-width:none;clear:both}.mix-summary h2{font-size:1.12rem}.history-overview{gap:18px;font-size:.7rem;flex-wrap:wrap}.history-overview strong{font-size:1.1rem}.history-header{gap:10px}.history-header h2{font-size:.97rem}.history-header .secondary{margin-left:auto;padding:7px;font-size:.66rem}.history-icon{width:34px;height:40px;flex-shrink:0}.history-icon svg{width:19px}.history-header .muted{font-size:.6rem}.rating-buttons{gap:6px}.rating-buttons button{font-size:.67rem;padding:9px 8px;gap:5px}.rating-buttons svg{width:14px}.history-ingredients>span{font-size:.66rem;line-height:1.7}.history-ingredients strong{display:block;margin-left:0}.history-bottom .text-button{font-size:.79rem}.recommendation-intro{padding:19px;gap:12px}.recommendation-intro strong{font-size:.84rem}.recommendation-intro p{font-size:.75rem}.recommendation-intro svg{width:21px}.idea-art{height:140px}.idea-body{padding:20px}.idea-body p{min-height:0}.toast{left:50%;bottom:18px;font-size:.78rem;width:max-content;max-width:calc(100% - 28px)}.filter-panel{padding:14px;gap:13px}.filter-panel label{min-width:100%}.filter-panel .checkbox{min-width:0;padding-bottom:0}.filter-panel .text-button{margin-left:auto}.modal-head h2{font-size:1.1rem}dialog{padding:22px;max-height:calc(100dvh - 30px)}.form-grid{gap:10px}.form-stack label{font-size:.82rem}.modal-buttons button{flex:1}.empty{padding:45px 20px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media(max-width:420px){.tobacco-grid{grid-template-columns:1fr}.tobacco-card{padding:20px}.card-top{flex-wrap:nowrap;margin-bottom:13px;gap:10px}.flavor-art{width:43px;height:43px;border-radius:12px}.flavor-art span{font-size:1.9rem}.brand-tag{font-size:.7rem;letter-spacing:.8px}.card-actions{width:auto;margin:0 0 0 auto}.card-actions .icon-button{width:38px;height:44px}.tobacco-card h3{font-size:1.2rem;min-height:0}.flavor-tags{margin-top:10px}.flavor-tags span{font-size:.8rem;padding:4px 8px}.strength{font-size:.85rem;margin:21px 0 17px}.strength-bars i{width:17px;height:5px}.stock-line{font-size:.85rem}.stock-line strong{font-size:1.2rem}.stock-line strong small{font-size:.85rem}.card-footer{font-size:.8rem;align-items:center;padding-top:6px}.card-footer>span{max-width:none}.card-footer button{font-size:.9rem;min-height:44px}.card-footer button svg{width:16px}.chip{min-height:40px}.stat-title{font-size:.8rem}.stat-note{font-size:.65rem}.search input,.form-stack input,.builder input,.builder select{font-size:1rem}.form-stack label,.builder label{font-size:.88rem}.history-header .secondary{min-height:44px}.page-footer{font-size:.65rem}}.sync-nav{display:flex;align-items:center;gap:8px;color:#bfd6aa;font-size:.78rem;padding:10px 8px;text-align:left;width:100%;border:1px solid #3d4e32;border-radius:8px;margin:14px 0}.sync-nav:hover{background:#2a3824}.smart-add-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;border:1px solid #3a4a31;background:#202c1d;border-radius:11px;margin-bottom:22px}.smart-add-bar strong{font-size:.95rem}.smart-add-bar p{font-size:.8rem;color:#a4b497;margin-top:5px}.capture-actions{display:flex;flex-wrap:wrap;gap:10px}.capture-actions button{flex:1;font-size:.85rem}.capture-photo{display:flex;gap:18px;align-items:center}.capture-photo img{max-width:170px;max-height:170px;border-radius:10px;object-fit:contain;background:#111713}.recognition-preview{border:1px solid #4c663c;border-radius:10px;padding:18px;background:#273321}.recognition-preview dl>div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;border-bottom:1px solid #3c4a33;font-size:.88rem}.recognition-preview dt{color:#a5b399}.recognition-preview dd{margin:0;text-align:right;overflow-wrap:anywhere}.recognition-preview p{margin:15px 0}.recognition-preview button{width:100%}.sync-connected{background:#2f4425;border:1px solid #597b42;color:#d5e9c4;padding:14px;border-radius:8px}.sync-panel p,.capture-panel p{font-size:.9rem}.mcp-url{display:block;overflow-wrap:anywhere;padding:12px;border:1px solid #3b4d31;border-radius:7px;background:#131c12;font-size:.85rem}.migration{border:1px solid #60774c;padding:15px;border-radius:9px}.migration button{margin-top:14px;white-space:normal}.capture-panel input,.capture-panel textarea,.sync-panel input{font-size:1rem}.capture-panel .helper{font-size:.8rem}.top-note{align-items:center}.top-note .local-dot{margin-top:0}@media(max-width:640px){.smart-add-bar{padding:15px;gap:10px;flex-wrap:wrap}.smart-add-bar p{font-size:.85rem}.smart-add-bar>.secondary{width:100%;font-size:.9rem}.capture-actions button{flex-basis:100%;font-size:.95rem}.sync-panel .primary,.sync-panel .secondary{white-space:normal}.local-note small{line-height:1.6}.sync-nav{font-size:.85rem}}
