:root{--bg:#f4f1eb;--ink:#171717;--muted:#77736d;--card:#fff;--line:#ded9d0;--accent:#171717;--radius:20px}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--ink)}a{color:inherit;text-decoration:none}header{height:70px;padding:0 max(20px,calc((100vw - 1180px)/2));display:flex;align-items:center;justify-content:space-between;background:#171717;color:#fff}header div{display:flex;gap:14px;align-items:baseline}header small{opacity:.55}main{max-width:1180px;margin:auto;padding:24px 20px 80px}nav{display:flex;gap:8px;overflow:auto;margin-bottom:28px}nav a{padding:10px 14px;border-radius:999px;color:var(--muted);white-space:nowrap}nav a.on{background:#171717;color:#fff}.grid{display:grid;grid-template-columns:1fr 440px;gap:28px}.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}h1{font-size:32px;letter-spacing:-.04em;margin:0 0 6px}h2{margin-top:0}.muted{color:var(--muted);margin:0}.panel,.card,.cut{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 30px rgba(0,0,0,.035)}.panel{padding:22px}.sticky{position:sticky;top:18px;align-self:start}.cards{display:grid;gap:10px}.card{padding:17px 18px;display:flex;justify-content:space-between;align-items:center}.card:hover{transform:translateY(-1px)}.card small{display:block;color:var(--muted);margin-top:5px}.search input{margin-bottom:14px}label{display:block;font-size:13px;font-weight:650;margin:14px 0 6px}input,textarea,select{width:100%;font:inherit;border:1px solid var(--line);background:#faf9f7;border-radius:12px;padding:12px 13px;outline:none}input:focus,textarea:focus,select:focus{border-color:#888}textarea{min-height:90px;resize:vertical}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.color-row{display:grid;grid-template-columns:1fr 1fr 38px;gap:8px;margin:8px 0}.btn,.ghost,.icon{border:0;font:inherit;cursor:pointer}.btn{display:inline-flex;justify-content:center;align-items:center;background:#171717;color:#fff;padding:12px 16px;border-radius:12px;font-weight:700}.btn.small{padding:10px 13px;font-size:14px}.ghost{background:#eeeae3;border-radius:10px;padding:9px 11px}.icon{width:38px;border-radius:10px;background:#eeeae3;font-size:20px}.timerline{display:grid;grid-template-columns:1fr auto;gap:8px}.timer{margin:10px 0;padding:14px 16px;border-radius:14px;background:#171717;color:white;display:flex;justify-content:space-between;align-items:center}.timer strong{font-size:28px;font-variant-numeric:tabular-nums}.timer .icon{background:#333;color:#fff}.hidden{display:none}.cutgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cut{overflow:hidden}.cut img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.cut>div{padding:16px}.cut h3{margin:10px 0 6px}.cut p{color:var(--muted);font-size:14px}.badge{display:inline-block;background:#171717;color:#fff;border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.soon{text-align:center;padding:70px 20px}.soon span{font-size:70px;font-weight:900;opacity:.08}.auth{min-height:100vh;display:grid;place-items:center;padding:20px}.auth .panel{width:min(420px,100%)}.mark{width:48px;height:48px;border-radius:14px;background:#171717;color:#fff;display:grid;place-items:center;font-weight:900;margin-bottom:20px}.auth .btn{width:100%;margin:12px 0}.error,.success{padding:12px 14px;border-radius:12px;margin:12px 0}.error{background:#ffe4e1}.success{background:#e5f5e9}.empty{text-align:center;color:var(--muted)}@media(max-width:850px){.grid,.admin-grid{grid-template-columns:1fr}.sticky{position:static}.cutgrid{grid-template-columns:1fr 1fr}}@media(max-width:560px){header{padding:0 16px}header small{display:none}main{padding:18px 14px 90px}nav{margin:0 -14px 24px;padding:0 14px}.section-head{align-items:center}h1{font-size:27px}.cutgrid{grid-template-columns:1fr}.panel{padding:18px}.grid{gap:16px}.two{grid-template-columns:1fr 1fr}}

/* iPad-first photo workflow */
.search input{min-height:52px;font-size:16px;background:#fff}.card-meta{white-space:nowrap;color:var(--muted);font-size:14px}.photos-section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line)}.photos-section h2{font-size:20px;margin:0 0 5px}.photos-section .section-head{margin-bottom:14px}.photo-actions{display:flex;gap:10px;flex-wrap:wrap}.photo-pick{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin:0;background:#171717;color:#fff;border-radius:12px;padding:12px 18px;cursor:pointer;font-size:15px;font-weight:700;touch-action:manipulation}.photo-pick.secondary{background:#efede8;color:#171717}.photo-pick input{display:none}.photo-note{font-size:12px;margin:10px 0!important}.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.photo-tile{position:relative;overflow:hidden;border-radius:13px;background:#eee}.photo-tile img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.remove-photo{position:absolute;top:7px;right:7px;border:0;border-radius:50%;background:#191919da;color:white;font-size:23px;width:38px;height:38px;cursor:pointer}#photoStatus{font-size:13px;margin:8px 0}#photoStatus:empty{display:none}@media (min-width:1000px) and (max-width:1400px){main{max-width:1400px}.grid{grid-template-columns:minmax(0,1fr) minmax(440px, .95fr)}}@media (min-width:700px) and (max-width:999px){main{padding:24px 28px 70px}.grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px}.panel{padding:18px}.photo-pick{flex:1}}@media(max-width:699px){.photo-pick{flex:1 1 100%}}

/* Product inventory – iPad touch-first */
.inventory-layout{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:22px;align-items:start}.inventory-layout:has(>div:only-child){grid-template-columns:1fr}.inventory-tools{display:flex;gap:16px;align-items:center;margin-bottom:16px}.inventory-tools input{min-height:52px;background:white;font-size:16px;max-width:560px}.inventory-tools span{white-space:nowrap}.inventory-list{display:grid;gap:10px}.inventory-item{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:18px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:15px 18px}.inventory-item[hidden]{display:none}.inventory-info{min-width:0}.inventory-info strong,.inventory-info small{display:block}.inventory-info strong{font-size:16px;overflow-wrap:anywhere}.inventory-info small{font-size:12px;color:var(--muted);margin-top:4px}.inventory-stock{text-align:right;min-width:110px}.inventory-stock strong{font-variant-numeric:tabular-nums;font-size:20px}.inventory-stock span{font-size:13px;font-weight:500;color:var(--muted)}.inventory-stock small{display:block}.low-stock{color:#ac570b;font-weight:700}.inventory-adjust{display:flex;gap:5px}.inventory-adjust input{width:95px;height:48px;padding:8px;font-size:16px}.inventory-adjust button{width:44px;height:48px;font-size:23px;font-weight:600}.inventory-edit{font-size:13px;text-decoration:underline;color:var(--muted)}.inventory-editor{position:sticky;top:16px}.delete-product{margin-top:20px}.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}@media(max-width:1100px){.inventory-layout{grid-template-columns:1fr}.inventory-editor{position:static}}@media(max-width:740px){.inventory-item{grid-template-columns:minmax(0,1fr) auto;gap:10px}.inventory-adjust{grid-column:1/3}.inventory-adjust input{flex:1}.inventory-edit{grid-column:1/3}.inventory-tools{flex-wrap:wrap}.inventory-tools input{max-width:none}}

/* iPad additions v4 */
.color-row{display:grid;grid-template-columns:minmax(90px,1fr) 100px minmax(145px,1.4fr) 42px;gap:8px;align-items:center}.color-row select{min-width:0}.usagebox{margin:18px 0;padding:16px;border:1px solid var(--line,#ddd);border-radius:16px}.cut{cursor:pointer;text-decoration:none;color:inherit}.cut-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:100;display:grid;place-items:center;padding:30px}.cut-detail{width:min(1080px,95vw);max-height:90vh;overflow:auto;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,1fr);position:relative;gap:24px}.cut-detail>img{width:100%;height:min(72vh,700px);object-fit:contain;background:#131313;border-radius:12px}.cut-detail-copy{padding:25px 12px}.cut-close{position:absolute;right:15px;top:12px;font-size:24px;z-index:2}.cut-editor,.bleach-guide,.bleach-editor{margin-top:18px}.bleach-switch{display:flex;gap:12px}.guide-text{white-space:normal;line-height:1.7;margin:12px 0 30px}@media(max-width:750px){.cut-detail{grid-template-columns:1fr}.cut-detail>img{height:48vh}.color-row{grid-template-columns:1fr 90px 36px}.color-row select{grid-column:1 / -1;grid-row:auto}.cut-overlay{padding:10px}}

/* V5: Haarschnitt-Kacheln als auf-/zuklappbare Bildansicht */
.cut-image{display:block;position:relative;overflow:hidden}
.cut-image img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.cut-toggle{position:absolute;right:12px;bottom:12px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.96);color:#171717;font-size:25px;font-weight:400;line-height:1;box-shadow:0 2px 12px #0002;pointer-events:none}
.cut-open{outline:2px solid #171717;outline-offset:2px}
.cut:focus-visible{outline:3px solid #555;outline-offset:3px}
.cut-detail-image{display:block;cursor:zoom-out}
.cut-detail-image img{display:block;max-width:100%}

/* V6: multiple haircut reference images */
.cut-gallery{min-width:0;display:flex;flex-direction:column;gap:10px}.cut-gallery-stage{background:#161616;border-radius:14px;display:grid;place-items:center;overflow:hidden;touch-action:pan-y}.cut-gallery-photo{display:block;width:100%;height:min(60vh,620px);object-fit:contain}.cut-gallery-controls{display:flex;justify-content:center;align-items:center;gap:22px;font-weight:650;font-variant-numeric:tabular-nums}.cut-gallery-arrow{border:0;border-radius:12px;background:#efede8;min-width:52px;min-height:46px;font-size:32px;cursor:pointer}.cut-gallery-thumbs{display:flex;gap:9px;overflow-x:auto;padding:4px 2px 8px}.cut-gallery-thumb{flex:0 0 76px;width:76px;height:65px;padding:0;border:3px solid transparent;border-radius:10px;overflow:hidden;background:#eee;cursor:pointer}.cut-gallery-thumb.active{border-color:#171717}.cut-gallery-thumb img{width:100%;height:100%;object-fit:cover}.cut-photo-admin{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:12px}.cut-photo-admin-item img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}.cut-photo-admin-item button{margin-top:6px;font-size:12px;width:100%}@media(max-width:750px){.cut-gallery-photo{height:45vh}.cut-gallery-thumb{flex-basis:66px;width:66px;height:58px}}

/* iPad-first recipe review and intentional editing */
.recipe-panel .section-head{align-items:center}.recipe-panel .mix-heading{margin:24px 0 10px;font-size:1.12rem}.recipe-panel .is-locked input:disabled,.recipe-panel .is-locked textarea:disabled,.recipe-panel .is-locked select:disabled{opacity:1;-webkit-text-fill-color:inherit;background:#f5f5f3;color:#252525;border-color:#e5e5e4}.recipe-panel .is-locked button:disabled{display:none}.recipe-panel .recipe-save-actions{display:flex;gap:12px;margin-top:18px}.recipe-panel .recipe-save-actions[hidden]{display:none}.recipe-panel .timer-independent{border-top:1px solid #e3e2df;margin-top:20px;padding-top:18px}.recipe-panel #toggleRecipeEdit{min-height:44px}.recipe-panel .color-row{margin-bottom:9px}.recipe-panel .color-row .icon{min-width:42px;min-height:42px}.recipe-panel .photo-actions input{display:none}

.legacy-pigment{padding:13px 16px;margin-bottom:14px;border:1px solid #ddd;border-radius:12px;background:#fbfaf5}.legacy-pigment p{white-space:normal}

/* V8: Product-first mixing rows optimized for iPad */
.recipe-panel .color-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 42px;gap:9px;align-items:center}
.recipe-panel .color-row select{min-width:0;width:100%;font-size:14px}
.recipe-panel .color-row input{width:100%;min-width:0}
.recipe-delete{margin:22px 0;padding:15px;border-top:1px solid var(--line)}
.recipe-delete .danger{color:#a52b2b;background:#fff0ef;border:1px solid #e6c3c0;min-height:44px}
.recipe-delete small{display:block;margin-top:8px}
@media(max-width:750px){.recipe-panel .color-row{grid-template-columns:minmax(0,1fr) 100px 42px}.recipe-panel .color-row select{grid-column:auto}}


/* ToNado V9: iPad landscape design system */
:root{--bg:#faf7f3;--ink:#19171a;--muted:#77716f;--card:#fffefd;--line:#eae2dd;--accent:#d9a0ff;--lilac:#e9c5ff;--radius:20px}
body{background:radial-gradient(circle at 1% 30%,#f9e9ff 0,transparent 16%),radial-gradient(circle at 100% 88%,#fff0dd 0,transparent 19%),#fbf8f5;color:var(--ink);-webkit-font-smoothing:antialiased}
.app-header{height:76px;padding:0 24px;background:#1b1b1b;color:#fff;position:relative;z-index:20;border-bottom:1px solid #343034}
.header-inner{max-width:1540px;width:100%;margin:auto;display:flex;align-items:center;gap:30px;height:100%}
header .header-inner,header .header-profile{align-items:center}
.brand{flex:0 0 auto;display:flex;align-items:center;gap:5px;white-space:nowrap;transform:rotate(-4deg)}
.brand-word{font-weight:1000;font-style:italic;letter-spacing:-.085em;font-size:32px;color:white;text-shadow:1px 1px #aaa;line-height:1}
.brand-heart{font-size:36px;font-weight:900;line-height:1;color:#d68cff;transform:rotate(12deg)}
.top-nav{display:flex;align-items:center;gap:8px;margin:0;overflow:auto;scrollbar-width:none;flex:1;min-width:0}
.top-nav a{padding:12px 18px;color:#f5f2f5;font-weight:600;font-size:14px;white-space:nowrap;border-radius:14px;transition:background .2s}
.top-nav a:hover{background:#343035}.top-nav a.on{color:#18121c;background:linear-gradient(135deg,#d59cf8,#edc2ff);box-shadow:inset 0 -2px #b97bdc}
.header-profile{display:flex!important;gap:12px!important;align-items:center!important;white-space:nowrap;flex:0 0 auto}
.profile-avatar{display:grid;place-items:center;background:#e4b8ff;color:#1f1621;border-radius:50%;height:38px;width:38px;font-weight:800}
.profile-name{font-weight:650;font-size:14px}.logout-link{border-left:1px solid #59515b;padding-left:18px;margin-left:10px;font-size:13px;font-weight:650}
.app-main{max-width:1540px;padding:34px 28px 75px;position:relative;isolation:isolate}.app-main>*:not(.page-decor){position:relative;z-index:1}
.page-decor{position:absolute;z-index:0;inset:0;pointer-events:none;overflow:hidden}
.page-decor:before,.page-decor:after{content:'';position:absolute;display:block;transform:rotate(-24deg);opacity:.7;filter:blur(.2px)}
.page-decor:before{left:-100px;top:210px;width:220px;height:80px;background:repeating-linear-gradient(176deg,transparent 0 10px,#f4b0aa 11px 21px,#dba3ff 22px 30px,transparent 31px 36px);border-radius:60%}
.page-decor:after{right:-100px;top:135px;width:250px;height:90px;background:repeating-linear-gradient(176deg,transparent 0 10px,#d3a0ef 11px 22px,#ffc3af 23px 33px,transparent 34px 38px);border-radius:55%}
.section-head{margin-bottom:18px;align-items:center}.section-head h1{font-size:clamp(29px,3vw,45px);font-weight:850;letter-spacing:-.065em;line-height:1.06;margin:0 0 10px}.section-head .muted{font-size:15px;line-height:1.45}.scribble-heart{color:#dc91b7;font-size:.9em;display:inline-block;transform:rotate(-15deg);font-weight:600}
.panel,.card,.cut,.inventory-item{border-color:#eee7e2;background:rgba(255,255,255,.96);box-shadow:0 6px 22px #33251a09}
.panel{border-radius:22px}.grid.recipe-workspace{grid-template-columns:minmax(300px, .75fr) minmax(0,1.25fr);gap:24px;align-items:start}
.recipe-sidebar .section-head{flex-wrap:wrap}.recipe-sidebar .section-head .btn{white-space:nowrap}.recipe-sidebar .search input{border-radius:14px;background:white;min-height:54px;padding-left:18px}
.cards{gap:11px}.card{padding:19px;border-radius:16px;border:1px solid #eee9e5;gap:12px;min-height:90px;transition:box-shadow .18s,border-color .18s}.card:hover,.active-card{border-color:#d5a1ff;box-shadow:0 0 0 2px #e4b6ff80,0 12px 24px #b58ac51a}.card strong{font-size:17px;letter-spacing:-.03em}.card small{font-size:12px;line-height:1.45}.card-meta{color:#ae7ac7}
.btn{background:#1e1d1e;border-radius:12px;padding:13px 20px;min-height:48px;box-shadow:0 2px 5px #00000010}.btn:hover{background:#373036}.btn.small{min-height:46px}.ghost{background:#f1ede8;border-radius:11px;padding:12px 14px;min-height:44px;font-weight:650}.ghost:hover{background:#e9ddf1}.badge{background:#efd9fe;color:#3f254d;font-weight:700;border-radius:9px;padding:5px 9px}
.recipe-panel{padding:22px 24px 28px;top:15px;min-width:0;position:relative;overflow:hidden}.recipe-banner{height:78px;margin:-22px -24px 18px;border-radius:22px 22px 0 0;background:linear-gradient(109deg,transparent 12%,#eab9b3 12% 20%,#fff2e9 21% 27%,#c58a80 28% 49%,transparent 53%),repeating-linear-gradient(158deg,#fff7f2 0 20px,#fbe5dd 21px 34px,#fff 35px 51px);display:flex;align-items:center;justify-content:flex-end;position:relative}.recipe-banner span{font-weight:1000;font-style:italic;transform:rotate(-9deg);font-size:19px;line-height:.92;text-align:center;letter-spacing:-.05em;margin-right:30px}.recipe-banner i{position:absolute;right:0;top:2px;color:#dc8bd9;font-size:45px;font-style:normal}
.recipe-panel h2{font-size:23px;letter-spacing:-.045em;margin:0 0 8px}.recipe-panel .mix-heading{font-size:20px;letter-spacing:-.04em;margin:22px 0 12px;padding-top:18px;border-top:1px solid #ece4dd}.recipe-panel #recipeFields>label{margin-top:12px}.recipe-panel label{font-size:12px;font-weight:750;margin:12px 0 6px}.recipe-panel input,.recipe-panel select,.recipe-panel textarea{background:#fcfaf8;border-color:#e5ded8;min-height:46px;font-size:15px}.recipe-panel .color-row{grid-template-columns:minmax(0,1.45fr) minmax(85px,.55fr) 42px}.recipe-panel .color-row select{font-size:14px}.recipe-panel .color-row .icon{background:#f0eae5}.recipe-panel .is-locked input:disabled,.recipe-panel .is-locked textarea:disabled,.recipe-panel .is-locked select:disabled{background:#faf7f4;color:#333;border-color:#f1ece8}.recipe-panel .two{gap:14px}.recipe-panel textarea{min-height:100px}.recipe-panel .photos-section{margin-top:24px}.photo-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.photo-tile img{aspect-ratio:1/1}.photo-pick{background:#201e20}.photo-pick.secondary{background:#f5eaf9}.timer-independent{background:#fffaf8;border-radius:14px;padding:16px!important;margin-top:18px!important}.timerline{grid-template-columns:minmax(90px,1fr) auto}.usagebox{background:#fcf9ff}
.cutgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cut{border-radius:18px;transition:box-shadow .2s,transform .2s}.cut:hover{transform:translateY(-2px);box-shadow:0 9px 30px #b279bb22}.cut>div{padding:12px 16px 16px}.cut img{aspect-ratio:4/3}.cut-image img{aspect-ratio:4/3}.cut h3{font-size:19px;letter-spacing:-.04em;margin:8px 0 0}.cut-toggle{background:#f8edff;color:#493049}.cut-open{outline-color:#c47be9}.cut-detail{border:0}.cut-gallery-stage{background:#f8f0eb}.cut-gallery-thumb.active{border-color:#c285e5}
.inventory-layout{grid-template-columns:minmax(0,1fr) minmax(320px,410px)}.inventory-list{gap:0;background:white;border-radius:20px;padding:10px 16px;border:1px solid var(--line)}.inventory-item{box-shadow:none;border:0;border-bottom:1px solid #f0eae5;border-radius:0;min-height:86px;gap:12px;padding:12px 8px}.inventory-item:last-child{border-bottom:0}.inventory-item:hover{background:#fdf7ff}.inventory-stock strong{font-size:19px}.inventory-adjust input{width:76px}.inventory-adjust button{min-height:46px}.inventory-editor{top:18px}.inventory-tools input{border-radius:14px}.inventory-edit{color:#a66ac6;font-weight:700}.inventory-editor .btn{width:100%;background:linear-gradient(120deg,#c17bea,#d79bfd);color:#1b1422}.bleach-guide,.bleach-editor,.cut-editor{max-width:1000px}.bleach-switch .ghost{min-width:130px;text-align:center}.guide-text{line-height:1.8}
:focus-visible{outline:3px solid #bd70e9!important;outline-offset:3px}button,a,select,.photo-pick{touch-action:manipulation}button:active,.btn:active,.ghost:active{transform:scale(.99)}
@media(min-width:1200px){.recipe-sidebar .section-head{min-height:101px}.recipe-workspace .recipe-panel{max-height:calc(100vh - 100px);overflow-y:auto;scrollbar-width:thin}}
@media (max-width:1180px){.header-inner{gap:15px}.top-nav{gap:2px}.top-nav a{padding:11px 12px}.brand-word{font-size:27px}.profile-name{display:none}.grid.recipe-workspace{grid-template-columns:minmax(270px,.77fr) minmax(0,1.23fr);gap:14px}.app-main{padding:24px 18px 70px}.recipe-panel{padding:18px}.recipe-banner{margin:-18px -18px 16px}.inventory-layout{grid-template-columns:1fr}.inventory-editor{position:static}}
@media(max-width:800px){.app-header{height:auto;min-height:72px}.header-inner{flex-wrap:wrap;gap:6px;padding:11px 0}.top-nav{order:3;flex:0 0 100%;width:100%;padding-top:4px}.top-nav a{font-size:13px;min-height:44px}.header-profile{margin-left:auto}.grid.recipe-workspace{grid-template-columns:1fr}.recipe-panel{position:static;max-height:none}.recipe-sidebar .cards{grid-template-columns:repeat(2,minmax(0,1fr))}.cutgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.app-main{padding:23px 18px 70px}}
@media(max-width:540px){.app-main{padding:18px 12px 70px}.recipe-sidebar .cards{grid-template-columns:1fr}.cutgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cut>div{padding:10px}.cut h3{font-size:15px}.brand-word{font-size:25px}.header-profile .logout-link{font-size:12px;padding-left:10px}.recipe-panel .two{grid-template-columns:1fr 1fr}.section-head h1{font-size:31px}.recipe-panel .color-row{grid-template-columns:minmax(0,1fr) 85px 42px}.inventory-list{padding:6px}.inventory-item{grid-template-columns:minmax(0,1fr) auto}.inventory-adjust{grid-column:1/3}.inventory-edit{grid-column:1/3}}


/* V10 cuts layout refinement */
.cuts-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(360px,.82fr);gap:24px;align-items:start}
.cuts-browser-panel{padding:20px;border-radius:26px}
.cuts-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:16px}
.cuts-toolbar .search{margin:0;flex:1}
.cuts-toolbar .search input{min-height:54px;border-radius:16px;padding-inline:18px;background:#fff}
.cutgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.cut{display:flex;flex-direction:column;overflow:hidden;border:1px solid #ece5df;border-radius:24px;background:#fff;box-shadow:0 8px 22px rgba(37,21,23,.06);text-decoration:none;color:inherit;min-width:0}
.cut:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(148,112,159,.16)}
.cut-open{border-color:#d99dff;box-shadow:0 0 0 3px rgba(210,153,252,.45),0 12px 26px rgba(148,112,159,.16)}
.cut-image{position:relative;display:block;padding:14px 14px 0}
.cut-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:18px}
.cut-toggle{position:absolute;right:24px;top:12px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#121214;font-weight:800;box-shadow:0 4px 10px rgba(0,0,0,.12)}
.cut-open .cut-toggle{background:linear-gradient(135deg,#d79efd,#efcbff)}
.cut>div:last-child{padding:14px 16px 18px}
.cut h3{font-size:18px;margin:10px 0 6px;letter-spacing:-.04em}
.cut-card-copy{margin:8px 0 0;color:#766f6b;font-size:13px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cut-detail-shell{position:sticky;top:92px;align-self:start}
.cut-detail-card{padding:16px;border-radius:28px;box-shadow:0 12px 34px rgba(36,21,23,.07);border:1px solid #ece5df;background:rgba(255,255,255,.97)}
.cut-detail-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.cut-backlink{font-weight:650;color:#403b42;font-size:14px}
.cut-carousel-nav{display:flex;gap:8px}
.cut-nav-btn{width:42px;height:42px;border-radius:14px;border:1px solid #e9e2dd;background:#fff;font-size:24px;font-weight:700;line-height:1;display:grid;place-items:center;box-shadow:0 4px 10px rgba(0,0,0,.04)}
.cut-nav-btn:hover{background:#f7f0fb}
.cut-gallery{display:flex;flex-direction:column;gap:12px}
.cut-gallery-stage{position:relative;overflow:hidden;border-radius:22px;background:#f5eee9;padding:0}
.cut-gallery-photo{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:22px}
.cut-gallery-counter{position:absolute;right:12px;bottom:12px;background:rgba(22,18,23,.78);color:#fff;padding:8px 10px;border-radius:999px;font-size:12px;font-weight:700}
.cut-gallery-thumbs{display:flex;gap:10px;overflow:auto;padding-bottom:2px;scrollbar-width:none}
.cut-gallery-thumb{padding:0;border:2px solid transparent;border-radius:14px;background:#fff;flex:0 0 auto}
.cut-gallery-thumb img{display:block;width:78px;height:78px;object-fit:cover;border-radius:12px}
.cut-gallery-thumb.active{border-color:#cb8ef4;box-shadow:0 0 0 3px rgba(214,159,250,.25)}
.cut-meta-block{display:flex;flex-direction:column;gap:14px;margin-top:10px}
.cut-meta-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.cut-meta-head h2{font-size:28px;line-height:1.05;letter-spacing:-.055em;margin:0 0 10px}
.cut-tag-row{display:flex;flex-wrap:wrap;gap:8px}.badge.subtle{background:#f3ecf8;color:#5d4967}
.cut-instruction-card{padding:18px;border-radius:20px;background:#fff;border:1px solid #efe8e2;box-shadow:none}
.cut-instruction-card h3{margin:0 0 10px;font-size:16px;letter-spacing:-.03em}
.cut-instruction-text{white-space:pre-line;color:#4d4748;line-height:1.7;font-size:14px}
.cut-detail-empty{min-height:300px;display:grid;align-content:center}
.empty-state{margin-top:16px;padding:22px}
@media (max-width:1280px){.cuts-layout{grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr)}.cutgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:980px){.cuts-layout{grid-template-columns:1fr}.cut-detail-shell{position:static}.cutgrid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.cutgrid{grid-template-columns:1fr}.cut-meta-head{flex-direction:column;align-items:stretch}.cut-detail-card{padding:14px}.cut-gallery-thumb img{width:64px;height:64px}}

/* V11: Compact read-first recipe card */
.recipe-glance[hidden]{display:none!important}
.recipe-panel:has(.is-locked) #recipeForm{display:none}
.recipe-panel:has(.is-locked) .recipe-banner{display:none}
.recipe-panel .recipe-glance{display:grid;gap:14px;margin-bottom:12px}
.glance-hero{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:4px 0 6px}
.glance-hero h2{font-size:clamp(26px,2.4vw,36px);margin:4px 0;line-height:1.08}
.glance-kicker{font-size:10px;font-weight:850;letter-spacing:.15em;color:#a164c2}
.glance-hero p{margin:5px 0;color:#77706e;font-size:14px}
.glance-hero img{width:96px;height:90px;object-fit:cover;border-radius:14px}
.glance-meta{display:flex;flex-wrap:wrap;gap:8px}
.glance-meta span{padding:9px 12px;border-radius:10px;background:#f6f1ed;font-size:12px;font-weight:700}
.glance-mixes{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.glance-mix{border:1px solid #eae1df;border-radius:17px;padding:15px;background:#fff}
.glance-mix:nth-child(2){background:#fcf8ff;border-color:#ead9f4}
.glance-mix h3{font-size:17px;letter-spacing:-.035em;margin:0 0 13px}
.glance-ingredients{display:grid;gap:0}
.glance-ingredient{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #efe9e5;padding:9px 0;font-size:13px}
.glance-ingredient strong{font-size:14px;overflow-wrap:anywhere}.glance-ingredient span{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:750}
.glance-developer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 0 0;font-size:12px;color:#666}.glance-developer strong{font-size:15px;color:#211b23}
.glance-note{border-radius:14px;padding:13px 15px;background:#f9f6f3;font-size:13px}.glance-note strong{font-size:13px}.glance-note p{margin:6px 0 0;line-height:1.55}
.recipe-panel .timer-independent{padding:12px!important;margin-top:10px!important}.recipe-panel .timer-independent>label{margin:0;font-size:12px}.recipe-panel .timer-independent>.muted{display:none}
.recipe-panel .usagebox{margin-top:12px;padding:13px!important}.recipe-panel .photos-section{margin-top:16px}.recipe-panel .photos-section h2{font-size:19px}
@media(max-width:1250px){.glance-mixes{grid-template-columns:1fr}}
@media(min-width:1400px){.glance-mixes{grid-template-columns:1fr 1fr}}

/* V12 remove decorative stripe circles */
.page-decor,.page-decor::before,.page-decor::after{display:none!important;background:none!important}
/* Full picture viewer: never crop the source */
.cut-gallery-stage{cursor:zoom-in}.cut-fullscreen-hint{position:absolute;left:12px;bottom:12px;background:#fffef0e8;border-radius:10px;padding:9px 12px;font-size:12px;font-weight:750;pointer-events:none}.cut-lightbox[hidden]{display:none!important}.lightbox-open{overflow:hidden}.cut-lightbox{position:fixed;z-index:99999;inset:0;background:rgba(12,11,14,.97);display:flex;align-items:center;justify-content:center;gap:14px;padding:65px 18px 28px;box-sizing:border-box;touch-action:pan-y}.cut-lightbox img{max-width:calc(100vw - 145px);max-height:calc(100dvh - 116px);width:auto;height:auto;object-fit:contain!important;display:block;min-width:0}.cut-lightbox-toolbar{position:absolute;top:max(12px,env(safe-area-inset-top));left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;color:white;font-size:15px;font-weight:700}.cut-lightbox-toolbar button,.cut-lightbox-arrow{background:#ffffff24;color:#fff;border:1px solid #ffffff30;border-radius:14px;min-width:48px;height:48px;font-size:25px;cursor:pointer}.cut-lightbox-arrow[hidden]{display:none}.cut-lightbox-toolbar button{font-size:18px}.cut-lightbox-arrow{flex:0 0 48px}.cut-lightbox-arrow:hover,.cut-lightbox-toolbar button:hover{background:#ffffff4a}@media(max-width:650px){.cut-lightbox{padding:65px 8px 20px;gap:4px}.cut-lightbox img{max-width:calc(100vw - 114px)}.cut-lightbox-arrow{min-width:45px;flex-basis:45px}}

/* V15 photo editing on iPad */
.photo-edit-controls[hidden],.recipe-photo-editor[hidden]{display:none!important}
.photo-edit-controls{position:absolute;top:6px;right:6px;display:flex;align-items:center;gap:6px;z-index:2}
.photo-edit-controls form{margin:0}.photo-edit-controls .remove-photo{position:static;min-width:40px;min-height:40px;border-radius:10px;background:#fff;color:#8e2b46;font-size:25px;box-shadow:0 3px 12px #0002}
.photo-drag-handle{width:44px;height:44px;touch-action:none;cursor:grab;border:0;border-radius:10px;background:#e7c4ff;color:#2b1738;font-size:22px;font-weight:700;box-shadow:0 3px 12px #0002}
.photo-tile{position:relative}.photo-tile.is-dragging{opacity:.6;outline:3px solid #ba82ec;z-index:3}.photo-grid.photo-sort-enabled .photo-tile{transition:box-shadow .15s}


/* V16 recipe cards + recipe lightbox */
.recipe-overview-card{padding:0;display:grid;grid-template-columns:84px minmax(0,1fr);align-items:stretch;overflow:hidden;gap:0}
.recipe-card-thumb,.recipe-card-thumb--empty{width:84px;min-height:84px;border:0;background:#efe9e2;padding:0;display:grid;place-items:center;border-radius:18px;margin:10px;overflow:hidden;cursor:pointer}
.recipe-card-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.recipe-card-thumb--empty{color:#ab9f95;font-weight:800}
.recipe-card-main{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 18px 18px 8px;min-width:0;flex:1}
.recipe-card-main>div{min-width:0}.recipe-card-main strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recipe-card-main small{display:block;color:var(--muted);margin-top:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recipe-card-main .card-meta{padding-left:10px;flex:0 0 auto}
.recipe-photo-open{padding:0;border:0;background:none;display:block;width:100%;cursor:pointer}.recipe-photo-open img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover}
.recipe-lightbox[hidden]{display:none!important}.recipe-lightbox{position:fixed;z-index:99998;inset:0;background:rgba(12,11,14,.96);display:flex;align-items:center;justify-content:center;gap:14px;padding:65px 18px 28px;box-sizing:border-box;touch-action:pan-y}.recipe-lightbox img{max-width:calc(100vw - 145px);max-height:calc(100dvh - 116px);width:auto;height:auto;object-fit:contain!important;display:block;min-width:0}.recipe-lightbox-toolbar{position:absolute;top:max(12px,env(safe-area-inset-top));left:24px;right:24px;display:flex;align-items:center;justify-content:space-between;color:white;font-size:15px;font-weight:700;gap:16px}.recipe-lightbox-toolbar div{display:flex;align-items:center;gap:12px}.recipe-lightbox-toolbar button,.recipe-lightbox-arrow{background:#ffffff24;color:#fff;border:1px solid #ffffff30;border-radius:14px;min-width:48px;height:48px;font-size:25px;cursor:pointer}.recipe-lightbox-arrow[hidden]{display:none}.recipe-lightbox-toolbar button{font-size:18px}.recipe-lightbox-arrow{flex:0 0 48px}.recipe-lightbox-arrow:hover,.recipe-lightbox-toolbar button:hover{background:#ffffff4a}
@media(max-width:650px){.recipe-lightbox{padding:65px 8px 20px;gap:4px}.recipe-lightbox img{max-width:calc(100vw - 114px)}.recipe-lightbox-arrow{min-width:45px;flex-basis:45px}}

/* V17: iPad-first recipe list polish */
.recipe-sidebar .cards{gap:12px}
.recipe-overview-card{grid-template-columns:102px minmax(0,1fr);border-radius:20px;min-height:112px;background:rgba(255,255,255,.97);border:1px solid #ebe5e1;box-shadow:0 4px 18px #3d25300a;transition:border-color .18s,box-shadow .18s,transform .18s}
.recipe-overview-card:hover{transform:translateY(-1px);border-color:#e0b6fb;box-shadow:0 10px 24px #754b8115}
.recipe-overview-card.active-card{border-color:#cb83f4;box-shadow:0 0 0 2px #dcaff8aa,0 10px 30px #a678c32a;background:linear-gradient(125deg,#fff,#fffafd)}
.recipe-overview-card .recipe-card-thumb{position:relative;margin:9px;min-height:92px;width:92px;border-radius:14px;box-shadow:inset 0 0 0 1px #00000009}
.recipe-overview-card .recipe-card-thumb img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .22s}
.recipe-card-thumb:hover img{transform:scale(1.045)}
.recipe-thumb-icon{position:absolute;right:6px;bottom:6px;background:#fffffff2;box-shadow:0 2px 6px #0002;width:26px;height:26px;display:grid;place-items:center;border-radius:8px;font-size:15px;font-weight:800}
.recipe-card-thumb--empty span{font-size:29px;color:#d4a1e6}
.recipe-overview-card .recipe-card-main{padding:16px 15px 16px 13px;min-width:0;align-items:center;gap:8px}
.recipe-card-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}
.recipe-overview-card .recipe-card-main strong{font-size:17px;line-height:1.17;font-weight:790;letter-spacing:-.035em;color:#211c22}
.recipe-overview-card .recipe-card-main small{font-size:12px;line-height:1.3;margin:0;color:#7b737a}
.recipe-meta-person{font-weight:680;color:#67546e}.recipe-meta-dot{margin:0 6px;color:#b9adb8}
.recipe-card-origin{font-size:12px;color:#8d818b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.recipe-card-end{display:flex;align-items:center;gap:7px;flex:0 0 auto;color:#aa71ca}
.recipe-photo-count{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:750;color:#815f98;padding:5px 7px;background:#f4eafa;border-radius:8px;white-space:nowrap}
.recipe-card-chevron{font-size:24px;line-height:1;font-weight:400;color:#b782d0}
.recipe-overview-card:focus-within{outline:2px solid #b873e4;outline-offset:2px}
@media(max-width:1180px){.recipe-overview-card{grid-template-columns:88px minmax(0,1fr)}.recipe-overview-card .recipe-card-thumb{width:78px;min-height:82px}.recipe-overview-card .recipe-card-main{padding:12px 10px 12px 8px}.recipe-photo-count{padding:4px 5px}}
@media(max-width:540px){.recipe-overview-card{grid-template-columns:94px minmax(0,1fr)}.recipe-overview-card .recipe-card-thumb{width:84px;min-height:86px}}

/* V19: Hero recipe photo opens gallery */
.recipe-hero-gallery{border:0;background:transparent;padding:0;border-radius:14px;cursor:pointer;flex:0 0 auto;overflow:hidden;touch-action:manipulation;display:block}.recipe-hero-gallery img{display:block}.recipe-hero-gallery:focus-visible{outline:3px solid #b96af2;outline-offset:3px}

/* V20 touch zoom in photo lightboxes */
.recipe-lightbox,.cut-lightbox{overflow:hidden;overscroll-behavior:contain}
.recipe-lightbox img,.cut-lightbox img{transform-origin:center center;will-change:transform;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;touch-action:none}
.recipe-lightbox.is-zoomed img,.cut-lightbox.is-zoomed img{cursor:grab}
.gallery-zoom-controls{position:absolute;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:12px;z-index:3;color:#fff;background:rgba(29,26,33,.85);padding:6px 9px;border-radius:16px;white-space:nowrap;font-size:13px;font-weight:700}
.gallery-zoom-controls button{min-width:44px;height:44px;border:1px solid #ffffff35;background:#ffffff22;color:#fff;border-radius:11px;font:inherit;font-size:22px;cursor:pointer}
.gallery-zoom-level{min-width:60px;text-align:center;font-variant-numeric:tabular-nums}

/* V21: authentic Tönado SVG branding + iPad login */
.app-brand-logo{height:58px;width:122px;object-fit:contain;filter:invert(1);display:block}.brand{transform:none;min-width:122px;justify-content:flex-start}
.login-body{min-height:100dvh;background:#fffaf7;color:#181718;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-x:hidden}
.login-header{height:146px;position:relative;background:linear-gradient(112deg,#181818,#252525);padding:0 5vw;display:block;z-index:2;clip-path:polygon(0 0,100% 0,100% 59%,76% 53%,59% 49%,41% 69%,25% 92%,0 86%)}
.login-header-inner{height:95px;max-width:1440px;margin:0 auto;display:flex;align-items:center}
.login-brand-logo{width:235px;height:90px;object-fit:contain;filter:invert(1);object-position:left center}
.login-main{max-width:1480px;margin:-2px auto 0;padding:0 clamp(18px,4vw,76px) 44px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(400px,.88fr);gap:clamp(26px,4vw,66px);align-items:stretch}
.login-story{position:relative;min-height:650px;padding-top:48px}.login-story-copy{position:relative;z-index:3;width:59%}.login-story h1{font-size:clamp(40px,4.5vw,72px);letter-spacing:-.065em;line-height:.98;margin:0 0 26px;font-weight:880}.login-story h1 span{color:#bd6af0}.login-story-copy>p{font-size:clamp(15px,1.25vw,20px);line-height:1.45;color:#777681;margin:0 0 42px;max-width:420px}
.login-features{display:grid;gap:22px}.login-feature{display:flex;align-items:center;gap:19px}.feature-icon{display:grid;place-items:center;flex:0 0 60px;width:60px;height:60px;border-radius:20px;background:linear-gradient(135deg,#f8e8ff,#eee0f5);color:#832fc2;font-size:32px;font-weight:750}.login-feature strong,.login-feature small{display:block}.login-feature strong{font-size:16px;margin-bottom:6px}.login-feature small{font-size:13px;color:#81808a;line-height:1.3}
.login-art{position:absolute;left:43%;right:0;top:30px;bottom:18px;pointer-events:none}.login-art-wash{position:absolute;left:-42%;right:-10%;bottom:12%;height:28%;transform:rotate(-24deg);background:linear-gradient(100deg,transparent,#f7c8f1 20%,#e9aef8 54%,transparent);filter:blur(8px);opacity:.65}.login-hair-tile{position:absolute;border:5px solid white;border-radius:28px;box-shadow:0 12px 27px #593b3830;background-size:cover;background-position:center}.hair-one{top:5%;right:5%;width:72%;height:48%;transform:rotate(8deg);background:repeating-linear-gradient(120deg,#ad724e 0px,#efc4a1 18px,#a26146 26px,#c99477 35px,#77503d 48px)}.hair-two{bottom:3%;left:-12%;width:72%;height:38%;transform:rotate(9deg);background:repeating-linear-gradient(95deg,#b57553 0px,#f8c9a7 10px,#cf956f 22px,#85543b 32px)}.hair-three{bottom:2%;right:-1%;width:58%;height:30%;transform:rotate(-8deg);background:radial-gradient(ellipse at 62% 45%,#ffdcc9,#c98972 45%,#754a3b 90%)}.login-demo-recipe{position:absolute;z-index:3;top:47%;left:0;width:min(315px,98%);padding:20px;border-radius:22px;background:#fff;box-shadow:0 18px 48px #54365730;transform:rotate(8deg)}.demo-recipe-head{display:flex;align-items:center;gap:11px;padding-bottom:14px}.demo-swatch{width:50px;height:50px;border-radius:50%;background:repeating-linear-gradient(110deg,#bd7959,#ebb08a 10px,#a3664d 18px)}.demo-recipe-head strong,.demo-recipe-head small{display:block}.demo-recipe-head small{font-size:12px;color:#888}.demo-heart{color:#bd70f1;font-size:28px;margin-left:auto}.demo-recipe-row{display:flex;justify-content:space-between;border-top:1px solid #eee9e6;padding:10px 0;font-size:14px}.demo-recipe-row span:last-child{color:#6e6b70}
.login-form-panel{align-self:start;margin-top:0;background:white;border-radius:26px;padding:clamp(30px,4vw,62px);box-shadow:0 12px 55px #4336250a;min-height:650px}.login-form-panel h2{font-size:clamp(34px,3.4vw,54px);letter-spacing:-.055em;margin:14px 0 8px}.login-welcome{font-size:21px;color:#81808a;margin:0 0 8px}.login-intro{font-size:17px;line-height:1.55;color:#81808a;max-width:430px;margin:0 0 46px}.login-form label{margin:0 0 10px;font-size:16px;font-weight:750}.login-input-wrap{position:relative;margin-bottom:33px}.login-input-wrap input{height:62px;background:#fcfcfd;border:1px solid #d9dbe4;border-radius:14px;font-size:16px;padding:16px 56px;min-width:0}.login-input-wrap input:focus{border-color:#bb76eb;box-shadow:0 0 0 3px #eacaff70}.login-input-icon{position:absolute;left:19px;top:50%;transform:translateY(-50%);color:#62616b;font-size:23px;line-height:1}.login-password-toggle{position:absolute;right:7px;top:7px;height:48px;width:48px;border:0;background:transparent;color:#66636d;font-size:24px;cursor:pointer}.login-submit{width:100%;min-height:64px;margin-top:4px;border:0;border-radius:14px;color:white;background:#1c1c1c;font-weight:750;font-size:18px;display:flex;justify-content:center;align-items:center;gap:26px;cursor:pointer}.login-submit span{font-size:26px}.login-submit:hover{background:#393039}
@media(max-width:1100px){.login-main{grid-template-columns:minmax(0,1fr) minmax(360px,.92fr);gap:20px;padding-inline:28px}.login-story-copy{width:68%}.login-art{left:43%;opacity:.75}.login-form-panel{padding:30px}.login-story h1{font-size:47px}}
@media(max-width:780px){.login-header{height:105px;clip-path:polygon(0 0,100% 0,100% 83%,40% 100%,0 89%)}.login-header-inner{height:76px}.login-brand-logo{width:170px;height:75px}.login-main{display:flex;flex-direction:column;padding:0 18px 40px;gap:20px}.login-story{min-height:0;padding-top:28px}.login-story-copy{width:100%}.login-story h1{font-size:43px;margin-bottom:14px}.login-story-copy>p{margin-bottom:15px;font-size:15px;max-width:600px}.login-features,.login-art{display:none}.login-form-panel{min-height:0;margin-top:8px;padding:26px 22px}.login-form-panel h2{font-size:34px}.login-intro{margin-bottom:26px;font-size:15px}.login-input-wrap{margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){.login-submit{transition:none}}

/* V22 — cropped logo and heading font hook */
.app-brand-logo{width:172px;height:64px;max-width:none;object-fit:contain;object-position:left center}
.brand{min-width:172px;flex-shrink:0}
.login-brand-logo{width:268px;height:100px;object-fit:contain;object-position:left center}
:root{--heading-font:"monsterific-bb",Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
h1,h2,h3,.section-head h1,.login-story h1,.login-form-panel h2,.cut-meta-head h2,.glance-hero h2{font-family:var(--heading-font)}
@media(max-width:1180px){.app-brand-logo{width:145px;height:58px}.brand{min-width:145px}}
@media(max-width:780px){.login-brand-logo{width:207px;height:78px}}

/* V24 Adobe Fonts: Brushtones headings, regular weight */
h1,h2,h3,.section-head h1,.login-story h1,.login-form-panel h2,.cut-meta-head h2,.glance-hero h2{font-weight:400;font-style:normal}

/* V25: Adobe Fonts headline weight alignment */
:root{--heading-font:"monsterific-bb",sans-serif;}
h1,h2,h3,.section-head h1,.login-story h1,.login-form-panel h2,.cut-meta-head h2,.glance-hero h2,.recipe-glance h2,.recipe-panel h2,.glance-mix h3,.cut-instruction-card h3{font-family:"monsterific-bb",sans-serif!important;font-weight:400!important;font-style:normal!important;}

/* V26: Monsterific BB headings */
h1,h2,h3,.section-head h1,.login-story h1,.login-form-panel h2,.cut-meta-head h2,.glance-hero h2,.recipe-glance h2,.recipe-panel h2,.glance-mix h3,.cut-instruction-card h3{letter-spacing:0!important;}

/* V27: Monsterific BB exclusively on h1 */
:root{--heading-font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
h1,.section-head h1,.login-story h1{font-family:"monsterific-bb",sans-serif!important;font-weight:400!important;font-style:normal!important;letter-spacing:0!important}
h2,h3,.login-form-panel h2,.cut-meta-head h2,.glance-hero h2,.recipe-glance h2,.recipe-panel h2,.glance-mix h3,.cut-instruction-card h3{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;font-weight:inherit;font-style:normal;letter-spacing:normal!important}

/* V29 admin and audit */
.recipe-history{border:1px solid #e8d9ed;border-radius:16px;padding:14px;margin:20px 0;background:#fff}.recipe-history summary{cursor:pointer;font-weight:700}.history-entry{padding:13px 0;border-top:1px solid #eee;margin-top:10px}.history-entry small,.admin-user small{display:block;color:#777}.history-compare{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0}.history-compare pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:280px;overflow:auto;background:#f8f4fa;padding:8px;border-radius:10px}.admin-user{border-top:1px solid #eae2e8;padding:16px 0}.admin-user form{margin-top:8px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.admin-user input,.admin-user select{flex:1;min-width:180px}@media(max-width:750px){.history-compare{grid-template-columns:1fr}}

.timer-alarm{position:fixed;z-index:999999;left:50%;top:18%;transform:translateX(-50%);background:#221b23;color:#fff;border:3px solid #db97ff;border-radius:22px;min-width:min(440px,94vw);padding:30px;box-shadow:0 20px 90px #0007;display:flex;align-items:center;flex-direction:column;gap:14px;text-align:center}.timer-alarm strong{font-size:26px}.timer-alarm span{font-size:16px}
