:root{--paper:#f7f5ef;--ink:#263a30;--muted:#657168;--line:#dedfd4;--green:#315542;--sage:#e7edde;--ochre:#a27835;--white:#fffefa;font-family:Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ab7733;outline-offset:4px}[hidden]{display:none!important}a{color:inherit}.shell{display:grid;grid-template-columns:242px minmax(0,1fr);min-height:100vh}.sidebar{background:#e9eddf;border-right:1px solid #d9dfd0;padding:38px 24px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:10px;letter-spacing:1.4px;font-weight:700}.brand-icon{font-family:Georgia,serif;background:var(--green);color:#f8f6e8;width:45px;height:48px;border-radius:14px 14px 4px 4px;font-size:38px;line-height:44px;text-align:center;letter-spacing:-3px;padding-right:5px}.brand small{font-size:11px;letter-spacing:0;font-weight:400;color:var(--muted);line-height:2}.sidebar-label{font-size:9px;letter-spacing:1.6px;margin-top:65px;color:var(--muted)}.sidebar-intro{font-family:Georgia,serif;font-size:25px;line-height:1.35;margin:15px 0 34px}.nav-button{display:flex;width:100%;align-items:center;gap:14px;background:transparent;border:0;padding:14px 16px;border-radius:7px;text-align:left;color:var(--muted);margin-bottom:7px}.nav-button span{font-size:23px;line-height:1}.nav-button.selected{background:#d7e0cc;color:#254b35;font-weight:600}.sidebar-note{margin-top:auto;padding-top:60px;font-size:11px;font-weight:600}.sidebar-note p{font-weight:400;color:var(--muted);line-height:1.8}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#587947;margin-right:7px}.sidebar-bottom{font-size:8px;letter-spacing:1.1px;margin-top:27px;color:var(--muted)}main{padding:30px 5vw 0;max-width:1600px;width:100%;margin:auto}.topline{display:flex;justify-content:space-between;gap:16px;font-size:9px;letter-spacing:1.9px;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:22px}.hero{display:flex;justify-content:space-between;align-items:center;min-height:340px;padding:40px 0 32px;gap:25px}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:600;color:var(--muted)}h1{font:normal clamp(42px,4.4vw,68px)/1.07 Georgia,serif;letter-spacing:-2px;margin:17px 0}h1 em{font-weight:normal;color:#59734f}.hero p{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:0}.hero-art{width:245px;height:245px;position:relative;flex-shrink:0;display:grid;place-items:center}.orbit{position:absolute;border:1px solid #dfe2d4;border-radius:50%;width:230px;height:230px}.orbit-two{width:185px;height:185px;background:#ecefdf}.jar{width:112px;height:146px;border:2px solid #68765b;border-radius:19px 19px 24px 24px;position:relative;background:#f7f5e980;transform:rotate(6deg);box-shadow:8px 12px 0 #29392209}.jar-lid{position:absolute;top:-12px;left:-4px;width:116px;height:20px;background:repeating-linear-gradient(90deg,#748369 0 3px,#839176 3px 6px);border:1px solid #5c7052;border-radius:6px}.jar-fill{position:absolute;bottom:4px;left:4px;right:4px;height:91px;background:#c5cc99;border-radius:6px 6px 18px 18px;overflow:hidden}.jar-fill i{position:absolute;width:35px;height:19px;background:#dce1b7;border:1px solid #a4b078;border-radius:50%;transform:rotate(-20deg)}.jar-fill i:nth-child(1){top:5px;left:9px}.jar-fill i:nth-child(2){top:50px;left:60px}.jar-fill i:nth-child(3){top:65px;left:14px}.jar-fill i:nth-child(4){top:20px;left:70px}.jar-fill i:nth-child(5){top:36px;left:25px}.jar-label{position:absolute;top:48px;left:12px;width:84px;background:#fbf7e9;border:1px solid #c7c5ac;padding:13px 0;text-align:center;font-size:9px;letter-spacing:2px;box-shadow:0 2px 5px #3443220a}.jar-label span{font:italic 17px Georgia,serif;letter-spacing:0}.art-caption{position:absolute;bottom:-2px;font-size:8px;letter-spacing:2px;color:var(--muted)}.stats{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);padding:22px 0;margin-bottom:40px}.stat{padding-left:24px;border-left:1px solid var(--line);display:flex;align-items:baseline;gap:12px}.stat:first-child{padding-left:0;border:0}.stat strong{font:normal 30px Georgia,serif}.stat span{font-size:11px;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px}h2{font:normal 32px Georgia,serif;letter-spacing:-.5px;margin:9px 0 0}#result-count{font-size:11px;color:var(--muted)}.type-filters{display:flex;gap:8px;flex-wrap:wrap;margin:25px 0 20px}.type-pill{border:1px solid var(--line);background:transparent;color:var(--muted);padding:9px 14px;border-radius:25px;font-size:11px}.type-pill.active{background:var(--green);color:white;border-color:var(--green)}.type-pill .count{opacity:.75;margin-left:8px}.filters{display:grid;grid-template-columns:1.5fr 1fr 1.2fr;gap:15px}.filters label>span{display:block;font-size:10px;color:var(--muted);margin-bottom:7px}input[type=search],select{width:100%;padding:11px 12px;background:var(--white);border:1px solid var(--line);border-radius:5px;color:var(--ink);font-size:12px;min-width:0}.date-filters{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:17px 0 25px;font-size:10px;color:var(--muted)}.date-filters>span{font-weight:600}.date-filters label{display:flex;align-items:center;gap:6px}input[type=date]{background:transparent;border:1px solid var(--line);border-radius:4px;color:var(--ink);padding:5px;max-width:132px;font-size:11px}input[type=checkbox]{accent-color:var(--green)}.text-button{border:0;background:transparent;color:var(--green);font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:5px}.date-filters .text-button{margin-left:auto}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{display:flex;flex-direction:column;text-align:left;border:1px solid var(--line);border-radius:10px;background:var(--white);padding:0;overflow:hidden;color:var(--ink);transition:transform .15s,box-shadow .15s}.card:hover{transform:translateY(-3px);box-shadow:0 9px 24px #2232220c}.card-art{width:100%;height:106px;background:#e8ecde;position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:8px}.card-art.koji{background:#eee9dc}.card-art.both{background:#e2e8d9}.card-number{position:absolute;top:15px;left:17px;font-size:9px;letter-spacing:1px;color:#536349}.mini-jar{width:41px;height:55px;border:1.5px solid #68765b;border-radius:7px 7px 11px 11px;position:relative;background:linear-gradient(transparent 33%,#a7b58170 34%);transform:rotate(-7deg)}.mini-jar:before{content:'';position:absolute;top:-5px;left:-2px;width:42px;height:8px;background:#87936a;border:1px solid #68765b;border-radius:3px}.mini-jar:after{content:'';position:absolute;left:6px;top:21px;width:27px;height:16px;background:#f9f7e6;border:1px solid #c8caac}.mini-jar:nth-child(3){transform:rotate(8deg);height:46px;width:36px;margin-top:12px}.koji .mini-jar{background:linear-gradient(transparent 33%,#b4a37870 34%)}.card-body{padding:20px;display:flex;flex:1;flex-direction:column;width:100%}.tags{display:flex;gap:6px;flex-wrap:wrap}.tag{font-size:9px;letter-spacing:.4px;background:#e8edde;color:#49633c;padding:5px 8px;border-radius:4px}.tag.koji{background:#eee8d8;color:#7e6435}.card h3{font:normal 24px/1.15 Georgia,serif;margin:16px 0 11px}.card-status{font-size:10px;color:var(--muted);margin:0 0 20px}.card-meta{border-top:1px solid #ebebe2;padding-top:12px;display:flex;justify-content:space-between;gap:12px;font-size:10px;margin-top:auto;color:var(--muted)}.card-meta strong{font-weight:500;color:var(--ink)}.card-next{font-size:11px;line-height:1.6;margin:12px 0 2px;color:var(--muted)}.card-bottom{display:flex;justify-content:space-between;padding-top:20px;font-size:10px;color:var(--green)}.empty{padding:50px 20px;text-align:center;border:1px dashed var(--line);border-radius:9px;color:var(--muted);line-height:1.8}.filter-error{background:#f7e7d9;color:#754424;padding:12px;border-radius:5px;font-size:12px}.timeline-month{font:normal 23px Georgia,serif;margin:30px 0 18px}.timeline-row{display:grid;grid-template-columns:95px 1fr;gap:16px;border-left:1px solid #ced6c5;padding:0 0 24px 20px;margin-left:7px;position:relative}.timeline-row:before{content:'';position:absolute;left:-5px;top:9px;width:9px;height:9px;border-radius:50%;background:#6b8353;border:2px solid var(--paper)}.timeline-row.planned:before{background:var(--paper);border-color:#ad864f}.event-date{font-size:11px;color:var(--muted);padding-top:5px}.event-card{background:var(--white);border:1px solid var(--line);border-radius:6px;padding:16px}.event-card>a{font:normal 19px Georgia,serif;text-decoration:none}.event-card>a:hover{text-decoration:underline}.event-kind{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);margin-bottom:8px}.event-card p{font-size:12px;line-height:1.7;white-space:pre-wrap;margin-bottom:0}.event-card small{display:block;font-size:10px;color:var(--muted);margin-top:10px}.detail-head{padding:35px 0 28px}.back{display:inline-block;font-size:12px;margin-bottom:28px;text-decoration:none}.detail-head h1{font-size:48px;margin:18px 0}.detail-summary{display:flex;flex-wrap:wrap;gap:30px;font-size:12px;color:var(--muted);margin-top:25px}.detail-summary strong{display:block;font-weight:500;color:var(--ink);margin-top:7px}.detail-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px}.panel{padding:25px;background:var(--white);border:1px solid var(--line);border-radius:9px;margin-bottom:20px}.panel h2{font-size:25px;margin:0 0 19px}.panel p,.panel li{font-size:13px;line-height:1.8;white-space:pre-wrap}.missing{color:var(--muted);font-style:italic}.ingredient{display:flex;justify-content:space-between;gap:15px;font-size:13px;padding:10px 0;border-bottom:1px solid var(--line)}.detail-note{padding:15px 18px;background:var(--sage);border-left:3px solid #7d9464;font-size:13px;line-height:1.7;margin-top:20px}.photo{margin:15px 0}.photo img{width:100%;max-height:400px;object-fit:contain;border-radius:5px}.photo figcaption{font-size:11px;color:var(--muted);padding-top:8px}footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:45px;padding:20px 0 25px;font-size:9px;color:var(--muted)}.footer-dot{margin:0 8px}
@media(min-width:1600px){main{padding-inline:75px}}@media(max-width:1120px){.shell{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding:28px 18px}main{padding-inline:30px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{transform:scale(.85);width:190px}.stat{padding-left:13px;gap:8px}.stat span{font-size:10px}.stats{grid-template-columns:repeat(2,1fr);row-gap:18px}.stat:nth-child(3){border:0;padding-left:0}}
@media(max-width:700px){.shell{display:block}.sidebar{height:auto;position:static;padding:18px 20px;border-right:0;border-bottom:1px solid var(--line)}.brand-icon{width:34px;height:36px;font-size:29px;line-height:33px}.sidebar-label,.sidebar-intro,.sidebar-note,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:8px;margin-top:18px}.nav-button{margin:0;padding:9px 13px;font-size:12px}.nav-button span{font-size:18px}main{padding:22px 20px 0}.topline{font-size:8px;letter-spacing:1px}.hero{min-height:0;padding:30px 0}.hero-art{display:none}h1{font-size:48px}.stats{margin-bottom:30px}.filters{grid-template-columns:1fr 1fr}.search-label{grid-column:1/-1}.cards{gap:12px}.card-body{padding:16px}.card h3{font-size:22px}.card-meta{flex-direction:column;gap:5px}.detail-grid{display:block}.detail-head h1{font-size:38px}.timeline-row{grid-template-columns:65px 1fr;gap:10px;padding-left:14px}.date-filters{gap:10px}.date-filters .text-button{margin-left:0}footer{flex-direction:column}.section-heading h2{font-size:29px}}
@media(max-width:430px){.cards{grid-template-columns:1fr}.card-art{height:95px}.card-meta{flex-direction:row}.type-pill{font-size:10px;padding:8px 11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Enkel oversikt etter oppbevaringssted. */
.shell{display:block}.shell main{max-width:1200px;padding:28px 36px 0}.simple-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 0 20px;margin-bottom:30px}.simple-header a{font-size:19px;font-weight:600;text-decoration:none}.simple-header>span{font-size:12px;color:var(--muted)}.section-heading h1{font:normal 34px Georgia,serif;letter-spacing:0;margin:0}.more-controls{margin:22px 0}.more-controls>summary{cursor:pointer;font-size:13px;color:var(--muted);width:fit-content}.more-controls[open]{padding-bottom:8px;border-bottom:1px solid var(--line)}#active-filters{font-size:11px;color:var(--green)}.view-switch{display:flex;gap:8px;margin-top:18px;width:260px}.view-switch .nav-button{justify-content:center;padding:10px;font-size:12px}.storage-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.storage-place{min-width:0}.place-heading{display:flex;justify-content:space-between;align-items:center;padding:0 4px 12px}.place-heading h2{font:600 16px 'Segoe UI',sans-serif;margin:0;letter-spacing:0}.place-heading>span{font-size:12px;color:var(--muted)}.place-interior{min-height:242px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:end;align-items:end;gap:20px 8px;padding:32px 22px 25px;position:relative;background:repeating-linear-gradient(to top,#d7c6a9 0 8px,#a99678 8px 11px,#f2ede3 11px 163px);border:9px solid #b9a687;border-top:0;border-radius:2px;box-shadow:inset 0 5px 15px #6b543310}.fridge .place-interior,.warm .place-interior{border:12px solid #d0dcdb;border-radius:17px;background:repeating-linear-gradient(to top,#bbcfd0 0 5px,#f1f6f5 5px 163px);box-shadow:inset 0 0 0 1px #bccdcd;min-height:270px;padding-top:38px}.fridge .place-interior:before,.warm .place-interior:before{content:'';position:absolute;top:13px;right:15px;width:30px;height:7px;border-radius:3px;background:#9bb5b5}.warm .place-interior{border-color:#b7bcb3;background:repeating-linear-gradient(to top,#b3b8a9 0 5px,#f1eee1 5px 163px);box-shadow:inset 0 0 0 1px #aeb5a4}.warm .place-interior:before{background:#c4965b}.starter .place-interior{background:repeating-linear-gradient(to top,#d5c6a9 0 8px,#a99678 8px 11px,#eef0e4 11px 163px)}.place-empty{grid-column:1/-1;align-self:center;text-align:center;color:#798076;font-size:12px;height:125px;display:grid;place-items:center}.project-jar{border:0;background:none;padding:5px 2px 0;display:flex;align-items:center;flex-direction:column;gap:12px;color:var(--ink);min-width:0;border-radius:7px;position:relative;z-index:1}.project-jar:hover{background:#ffffff65}.project-name{font-size:12px;line-height:1.35;min-height:33px;text-align:center;max-width:125px}.storage-jar{display:block;width:56px;height:72px;border:2px solid #82918a;border-radius:9px 9px 13px 13px;position:relative;background:#ffffff7a;box-shadow:3px 5px 0 #394c3910;margin-top:8px;transition:transform .15s}.project-jar:hover .storage-jar{transform:translateY(-4px)}.storage-jar:before{content:'';position:absolute;left:-3px;top:-8px;width:58px;height:11px;background:repeating-linear-gradient(90deg,#829285 0 3px,#98a394 3px 5px);border:1px solid #738177;border-radius:3px}.jar-food{position:absolute;left:3px;right:3px;bottom:3px;height:48px;border-radius:4px 4px 9px 9px;background:radial-gradient(ellipse at 30% 20%,#c8b28b 0 17%,transparent 18%),radial-gradient(ellipse at 70% 70%,#9d805c 0 23%,transparent 24%),#b5a17d}.carrot .jar-food{background:repeating-linear-gradient(75deg,#d58f48 0 7px,#e3b16d 7px 12px,#c6803e 12px 15px)}.corn .jar-food{background:radial-gradient(ellipse,#dcc788 0 40%,transparent 45%) 0 0/12px 10px,#beaa70}.jar-sticker{position:absolute;width:36px;height:19px;top:30px;left:8px;background:#fbf7e8;border:1px solid #d7d3bd;border-radius:2px}.detail-head h1{letter-spacing:-1px}footer{margin-top:35px}
@media(max-width:700px){.shell main{padding:20px 18px 0}.storage-grid{gap:25px;grid-template-columns:1fr}.simple-header>span{font-size:10px}.place-interior{min-height:210px}.fridge .place-interior,.warm .place-interior{min-height:230px}.section-heading h1{font-size:29px}.project-name{font-size:12px}}
.connection-message{padding:10px 14px;background:#e7edde;border-radius:6px;font-size:12px;line-height:1.6}.primary-button,.secondary-button{font:inherit;font-size:13px;padding:10px 18px;border-radius:6px;border:1px solid var(--green);cursor:pointer}.primary-button{background:var(--green);color:white}.secondary-button{background:var(--white);color:var(--green)}button:disabled{opacity:.6;cursor:wait}.detail-edit{margin-top:20px}.edit-dialog{width:min(760px,calc(100% - 24px));max-height:90vh;border:1px solid var(--line);border-radius:12px;padding:28px;background:var(--paper);color:var(--ink)}.edit-dialog::backdrop{background:#182d2466}.edit-form{display:grid;gap:20px}.edit-form h2{font:normal 28px Georgia,serif;margin:0 0 8px}.edit-form label{display:grid;gap:7px;min-width:0;font-size:12px}.edit-form input:not([type=checkbox]),.edit-form textarea,.edit-form select{width:100%;max-width:none;padding:10px;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:5px;font:inherit;font-size:14px}.edit-form textarea{resize:vertical;min-height:80px}.edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.edit-form fieldset{border:1px solid var(--line);border-radius:7px;padding:15px;min-width:0}.edit-form legend{font-size:13px;font-weight:600;padding:0 5px}.edit-form fieldset>label:has(input[type=checkbox]){display:inline-flex;align-items:center;margin:4px 15px 8px 0}.edit-row{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;margin:8px 0 14px}.edit-form fieldset>label{margin-bottom:12px}.edit-actions{position:sticky;bottom:-28px;background:var(--paper);border-top:1px solid var(--line);padding:16px 0;display:flex;justify-content:flex-end;gap:10px}.edit-help{font-size:12px;color:var(--muted);margin:0}.save-message{font-size:13px;color:#8b3a21;white-space:pre-wrap;margin:0}.view-switch{margin-bottom:18px}
@media(max-width:550px){.edit-dialog{padding:18px}.edit-grid{grid-template-columns:1fr}.edit-row{grid-template-columns:1fr}.edit-actions{bottom:-18px}}

.section-heading{flex-wrap:wrap;align-items:center}.section-heading #result-count{margin-left:auto}@media(max-width:550px){.section-heading>.primary-button{width:100%}}
/* Prosjektikoner: poser og glass, basert på brukerens bilder. */
.bag .storage-jar{width:65px;height:72px;border:1px solid #9bafaa;border-radius:3px 3px 6px 6px;background:linear-gradient(115deg,#ffffff90 0 10%,#e5efeb38 11% 78%,#ffffffb0 79% 84%,#e5efeb50 85%);box-shadow:2px 3px 0 #394c390b;transform:rotate(-3deg)}
.bag .storage-jar:before{left:3px;right:3px;top:5px;width:auto;height:3px;background:transparent;border:0;border-block:1px solid #9bafaa;border-radius:0}
.bag .storage-jar:after{content:'';position:absolute;bottom:4px;left:3px;right:3px;border-bottom:1px solid #a5b6b0}
.bag .jar-sticker{width:19px;height:10px;top:13px;left:5px;background:#fffdf2;border-color:#d1d5c9;z-index:2}
.bag .jar-food{left:6px;right:6px;bottom:9px;height:43px;border-radius:4px;background:#e8d4a52b;display:flex;align-items:center;justify-content:center;gap:2px}
.bag .food-piece{display:block;position:relative;flex:0 0 10px;height:36px;border-radius:4px 4px 65% 35%;transform:rotate(-9deg);background:repeating-linear-gradient(0deg,#bf7125 0 1px,#e79a41 1px 7px)}
.bag .food-piece:nth-child(even){height:31px;transform:rotate(9deg)}
.carrot-yellow .food-piece{background:repeating-linear-gradient(0deg,#c9a941 0 1px,#eed36c 1px 7px)}
.carrot-red .food-piece{background:repeating-linear-gradient(0deg,#57253f 0 1px,#813751 1px 7px)}
.carrot-red .jar-food{background:#b9517420}
.bag.corn .jar-food{gap:3px}
.bag.corn .food-piece{flex-basis:11px;height:29px;border-radius:3px;transform:rotate(-8deg);background:radial-gradient(ellipse,#f3d46d 0 42%,#be9c32 50% 60%,transparent 65%) 0 0/6px 6px,#d8b34b}
.bag.corn .food-piece:nth-child(even){height:34px;transform:rotate(8deg)}
.bag.chanterelle .jar-food{display:grid;grid-template-columns:repeat(2,18px);gap:1px 5px;background:#e6b95526;padding:3px}
.bag.chanterelle .food-piece{width:17px;height:13px;background:#e7aa37;border-radius:55% 45% 30% 25%;transform:rotate(-16deg)}
.bag.chanterelle .food-piece:nth-child(even){transform:rotate(18deg);height:13px}
.bag.chanterelle .food-piece:after{content:'';position:absolute;left:7px;top:9px;width:4px;height:8px;background:#d89728;border-radius:0 0 2px 2px}
.mushroom-dark .jar-food{background:radial-gradient(ellipse at 30% 20%,#91815c 0 17%,transparent 18%),radial-gradient(ellipse at 70% 70%,#675738 0 23%,transparent 24%),#80704b}
.generic .jar-food{background:#b7c5b8}.storage-jar .food-piece{font-style:normal}.project-jar.bag:hover .storage-jar{transform:translateY(-4px) rotate(-3deg)}
/* Samlet, kompakt oversikt med tydelige oppbevaringssteder. */
.shell main{max-width:1200px;padding-top:22px}
.simple-header{margin-bottom:20px;padding-bottom:14px}
.simple-header a{font-size:21px}.simple-header>span{font-size:12px}
.section-heading h1{font:600 24px 'Segoe UI',sans-serif}
.section-heading #result-count{font-size:12px}
.view-switch{width:238px;margin:14px 0 0;padding:4px;gap:4px;background:#e9ece3;border-radius:9px}
.view-switch .nav-button{margin:0;padding:9px 12px;font-size:13px;border-radius:6px}
.view-switch .selected{background:#fffefa;box-shadow:0 1px 4px #263a3014}
.more-controls{margin:12px 0 20px}.more-controls>summary{font-size:12px;padding:5px 0}
.storage-grid{gap:22px 26px;align-items:start}
.place-heading{padding:0 3px 9px}.place-heading h2{font-size:17px}
.place-heading>span{min-width:25px;padding:3px 7px;border-radius:12px;background:#e9ece3;text-align:center;font-size:12px}
.place-interior{grid-auto-rows:132px;gap:0 8px;align-content:start;align-items:stretch;padding:12px 14px 8px;min-height:160px;border-width:7px;background:repeating-linear-gradient(to bottom,#f2ede3 0 137px,#ad9875 137px 141px,#d8c5a3 141px 144px);box-shadow:inset 0 4px 12px #6b54330c}
.fridge .place-interior,.warm .place-interior{padding:19px 14px 9px;min-height:172px;border-width:9px;border-radius:13px;grid-auto-rows:132px}
.fridge .place-interior{border-color:#c5d5d8;background:repeating-linear-gradient(to bottom,#edf5f6 0 147px,#b4ccd1 147px 151px,#edf5f6 151px 264px);box-shadow:inset 0 0 14px #93b6bc24}
.fridge .place-interior:before{top:7px;left:16px;right:16px;width:auto;height:3px;background:#ffffff;border-radius:3px;box-shadow:0 0 7px #fff}
.warm .place-interior{border-color:#acae9f;background:repeating-linear-gradient(to bottom,#f6edd9 0 147px,#bbae89 147px 151px,#f6edd9 151px 264px);box-shadow:inset 0 0 22px #c6933820}
.warm .place-interior:before{top:7px;right:15px;width:23px;height:5px;background:#ce9446;box-shadow:0 0 7px #daa34b55}
.starter .place-interior{border-color:#c1b391;background:repeating-linear-gradient(to bottom,#eef1e5 0 137px,#ad9875 137px 141px,#d8c5a3 141px 144px)}
.storage .place-interior{border-color:#a68d68;background:repeating-linear-gradient(to bottom,#eee7da 0 137px,#977b54 137px 141px,#c4ad88 141px 144px)}
.place-empty{height:auto;min-height:132px;font-size:12px;color:#677064}
.project-jar{justify-content:center;gap:9px;padding:6px 4px;border:1px solid transparent;transition:background .15s,border-color .15s,box-shadow .15s}
.project-jar:hover,.project-jar:focus-visible{background:#fffefabf;border-color:#b8c6b7;box-shadow:0 3px 10px #263a300c}
.project-name{font-size:14px;font-weight:500;line-height:1.3;min-height:36px;max-width:150px;overflow-wrap:anywhere}
.primary-button{font-weight:600}.primary-button:hover{background:#244431}.secondary-button:hover{background:#e7edde}
footer{margin-top:24px;padding:15px 0 20px;font-size:10px}
@media(max-width:700px){.shell main{padding:18px 16px 0}.storage-grid{gap:20px}.simple-header{margin-bottom:18px}.section-heading h1{font-size:23px}.project-name{font-size:14px}.fridge .place-interior,.warm .place-interior{min-height:172px}.place-interior{min-height:160px}}
@media(max-width:550px){.section-heading{gap:10px}.section-heading>.primary-button{width:auto;margin-left:auto;font-size:12px;padding:10px 12px}.section-heading #result-count{order:3;flex-basis:100%;margin:0}.view-switch{margin-top:12px}.simple-header>span{font-size:11px}}
@media(max-width:360px){.place-interior{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Lik høyde innen hver rad; hyllelinjene følger prosjektradene. */
.storage-grid{align-items:stretch}
.storage-place{display:flex;flex-direction:column}
.place-interior{flex:1;background:repeating-linear-gradient(to bottom,#f2ede3 0 128px,#ad9875 128px 132px);background-position:0 12px}
.fridge .place-interior{background:repeating-linear-gradient(to bottom,#edf5f6 0 128px,#b4ccd1 128px 132px);background-position:0 19px}
.warm .place-interior{background:repeating-linear-gradient(to bottom,#f6edd9 0 128px,#bbae89 128px 132px);background-position:0 19px}
.starter .place-interior{background:repeating-linear-gradient(to bottom,#eef1e5 0 128px,#ad9875 128px 132px);background-position:0 12px}
.storage .place-interior{background:repeating-linear-gradient(to bottom,#eee7da 0 128px,#977b54 128px 132px);background-position:0 12px}
/* Tegnede møbler: komplett ramme, topp, sokkel og føtter. */
.storage-grid{gap:32px 30px}
.storage-place{padding-bottom:12px}
.place-interior{isolation:isolate;margin:0 8px;border:12px solid #af9169;border-top:18px solid #bca17a;border-bottom:18px solid #967750;border-radius:3px;box-shadow:inset 5px 4px 14px #58412518,3px 4px 0 #70563822;overflow:visible;padding:12px 12px 8px}
.place-interior:after{content:'';position:absolute;left:8px;right:8px;bottom:-28px;height:10px;background:linear-gradient(to right,#846a4c 0 16px,transparent 16px calc(100% - 16px),#846a4c calc(100% - 16px));z-index:-1}
.starter .place-interior{border:12px solid #bca27a;border-top:18px solid #ceb790;border-bottom:18px solid #a98d65;background:repeating-linear-gradient(to bottom,#eff0e2 0 128px,#b59a72 128px 132px);background-position:0 12px}
.starter .place-interior:before{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 calc(25% - 1px),#b8bca426 calc(25% - 1px) 25%);z-index:-1}
.storage .place-interior{border:12px solid #98764f;border-top:18px solid #b18d60;border-bottom:18px solid #82603e;background:repeating-linear-gradient(to bottom,#e9dfce 0 128px,#96744f 128px 132px);background-position:0 12px}
.storage .place-interior:before{content:'';position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(90deg,transparent 0 calc(20% - 1px),#8c6d4320 calc(20% - 1px) 20%);z-index:-1}
.fridge .place-interior,.warm .place-interior{margin:0 8px 0 0;border:14px solid #bccdd0;border-top:34px solid #d6e1e2;border-bottom:24px solid #beced0;border-radius:16px 16px 10px 10px;padding:19px 12px 9px;box-shadow:inset 0 0 16px #7a9da229,3px 4px 0 #677c7c22}
.fridge .place-interior:before{top:-23px;left:18px;right:auto;width:42px;height:7px;background:#96aeb2;border:1px solid #7c979b;box-shadow:none}
.fridge .place-interior:after{left:auto;right:-23px;top:45px;bottom:auto;width:7px;height:72px;border:1px solid #8b9e9f;border-radius:4px;background:#d6e0df;box-shadow:2px 2px 0 #647c7d20;z-index:1}
.warm .place-interior{border-color:#8e9589;border-top-color:#a4ad9d;border-bottom-color:#899282;border-radius:9px;box-shadow:inset 0 0 24px #c7973730,3px 4px 0 #53624e22}
.warm .place-interior:before{top:-25px;left:16px;right:auto;width:38px;height:15px;border-radius:3px;border:2px solid #69735f;background:linear-gradient(90deg,#d9a74e 0 60%,#52634d 60%);box-shadow:none}
.warm .place-interior:after{left:auto;right:-23px;top:45px;bottom:auto;width:7px;height:65px;border:1px solid #67715e;border-radius:3px;background:#a7ae9d;z-index:1}
@media(max-width:550px){.storage-grid{gap:28px}.place-interior{margin-inline:2px;padding-inline:7px}.fridge .place-interior,.warm .place-interior{padding-inline:7px}.project-name{font-size:13px}}
.ingredient-edit-row{grid-template-columns:1fr 1.2fr .7fr 1fr auto}
@media(max-width:550px){.ingredient-edit-row{grid-template-columns:1fr}.ingredient-edit-row .text-button{justify-self:end}}
.phase-edit-row{grid-template-columns:1fr 1.3fr 1fr auto}
@media(max-width:550px){.phase-edit-row{grid-template-columns:1fr}}
.phase-template{margin-left:8px}.phase-template+.edit-help{margin-top:12px}
.login-panel{max-width:440px;margin:40px auto}.login-panel h1{font-size:32px;letter-spacing:0}.login-panel p{font-size:14px}.main-tabs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:26px}.main-tabs [aria-pressed=true]{background:var(--green);color:white}.profile-name{margin-left:auto;font-size:14px}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px}.recipe-card{margin:0}.recipe-card h3{font-size:14px;margin:20px 0 4px}.recipe-card p{overflow-wrap:anywhere}.recipe-card h2{overflow-wrap:anywhere}.rating-buttons{display:flex;gap:6px}.rating-buttons button{font-size:24px;padding:4px 10px;color:#777}.rating-buttons button.rated{color:#966318;background:#f5e5be}.rating-buttons button:hover{color:#966318}#recipes-area>h1{font:600 26px 'Segoe UI',sans-serif;letter-spacing:0}#recipes-area>.edit-help{margin-top:14px}@media(max-width:700px){.recipe-grid{grid-template-columns:1fr}.profile-name{margin-left:0}.main-tabs{gap:8px}.main-tabs button{font-size:12px;padding:9px 11px}}
.admin-users{display:grid;gap:12px;margin:24px 0}.admin-user{display:flex;align-items:center;gap:20px;margin:0}.admin-user button{margin-left:auto}.admin-user span{font-size:13px;color:var(--muted)}@media(max-width:550px){.admin-user{flex-wrap:wrap}.admin-user button{width:100%;margin:0}}
.recipe-scopes{margin:22px 0 14px}.recipe-controls{margin-bottom:14px}.recipe-controls label{display:grid;gap:7px;font-size:12px;color:var(--muted)}.recipe-card .tags{margin:14px 0}.recipe-card details{margin:18px 0}.recipe-card summary{cursor:pointer;color:var(--green);font-size:14px}.recipe-card{align-self:start}
/* One background behind opaque boxes. */
:root{--paper:#e3ddcf;--white:#ebe5d9;--line:#c9c4b7}
body{position:relative;isolation:isolate}
body:before{content:'';position:fixed;inset:0;z-index:-2;pointer-events:none;background:url('illustrasjoner/koji-krukker.webp') center/cover no-repeat;opacity:.26;filter:contrast(1.25) brightness(.89);mix-blend-mode:multiply;-webkit-mask-image:radial-gradient(ellipse at bottom left,#000 0%,rgba(0,0,0,.869565) 75%);mask-image:radial-gradient(ellipse at bottom left,#000 0%,rgba(0,0,0,.869565) 75%)}
.shell{position:relative;isolation:isolate}
.login-panel,.edit-dialog,.recipe-card,.panel{background-color:#ebe5d9}
input,textarea,select{background-color:#e7e1d5;color:var(--ink)}
.panel{position:relative;isolation:isolate}
.place-empty{position:relative;z-index:1}
@media(max-width:700px){body:before{background-size:auto 900px;opacity:.21}}
body.recipes-view:before{background-image:url('illustrasjoner/koji-gronnsaker.webp')}
@media print{body:before{display:none}}
/* Static cabinet artwork. */
.view-switch{width:fit-content;max-width:100%;flex-wrap:wrap}.view-switch .nav-button{width:auto}
/* Furniture structure: shelves and posts share the same coordinates as the vines. */
.storage-grid{gap:38px 40px;align-items:start}
.cabinet{position:relative;isolation:isolate;margin:0 12px 18px;--post:20px;--wood:#98734e;padding:0 var(--post);border-radius:5px;filter:drop-shadow(4px 7px 3px #493c2420)}
.cabinet-crown{height:25px;position:relative;z-index:2;background:linear-gradient(#ba966e,#9a754d);border:1px solid #826240;box-shadow:inset 0 3px #d0ad81}
.cabinet-shelves{background:repeating-linear-gradient(90deg,#aa916312 0 1px,transparent 1px 82px),linear-gradient(90deg,#cdc0a9,#e0d4bf 12% 88%,#bdae92);box-shadow:inset 10px 0 18px #69513218,inset -10px 0 18px #69513218}
.cabinet-shelf{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;min-height:164px;padding:13px 12px 16px;gap:5px}
.cabinet-shelf:after{content:'';position:absolute;bottom:0;left:0;right:0;height:11px;background:repeating-linear-gradient(2deg,transparent 0 4px,#73543235 5px 6px),linear-gradient(#c3a079 0 3px,#97714a 4px 9px,#705334 10px);box-shadow:0 5px 7px #51432e22;z-index:2;pointer-events:none}
.cabinet .project-jar{min-height:114px;justify-content:center;gap:8px;padding:4px 0;border-radius:5px}
.cabinet .project-name{font-size:12px;line-height:1.3;max-width:135px}
.cabinet .place-empty{grid-column:1/-1;min-height:114px;margin:0}
.cabinet-post{position:absolute;top:0;bottom:-10px;width:var(--post);z-index:3;background:repeating-linear-gradient(88deg,transparent 0 5px,#70502f35 6px 7px),linear-gradient(90deg,#83613e,#ba956b 45%,#8f6a44);border:1px solid #765838;box-shadow:2px 0 3px #4d39252b}
.post-left{left:0}.post-right{right:0}
.cabinet-foot{height:18px;background:linear-gradient(#ad865b,#87633f);border-top:2px solid #c7a277;position:relative;z-index:2}
.storage .cabinet-shelves{background:repeating-linear-gradient(90deg,transparent 0 74px,#795b3617 75px 77px),linear-gradient(90deg,#cab69a,#dfcfb6 15% 85%,#c0aa8c)}
.starter .cabinet{--wood:#a38762}.starter .cabinet-post{filter:saturate(.75) brightness(1.12)}
/* Open refrigerator: enamel shell, inner liner, glass shelves and a lower drawer. */
.fridge .cabinet{--post:23px;padding:0 23px;background:#dce1dc;border:2px solid #a1ada9;border-radius:19px 19px 10px 10px;box-shadow:inset 0 0 0 5px #e9eae1,inset 0 0 0 7px #aebdb6}
.fridge .cabinet-crown{height:42px;background:linear-gradient(#e8e9e0,#cdd7d1);border:0;border-bottom:2px solid #aebcb5;box-shadow:none;border-radius:12px 12px 0 0}
.fridge .cabinet-light{position:absolute;left:30%;right:30%;top:21px;height:6px;background:#f5edcf;border:1px solid #c6c6af;border-radius:4px;box-shadow:0 3px 14px #f9efb699}
.fridge .cabinet-indicator{position:absolute;right:9px;top:13px;width:8px;height:8px;border-radius:50%;background:#739680;border:1px solid #597762}
.fridge .cabinet-shelves{border-radius:4px;background:repeating-linear-gradient(0deg,transparent 0 8px,#b0bdb00c 8px 9px),linear-gradient(90deg,#becdc5,#e5eae1 12% 88%,#b5c6be);box-shadow:inset 12px 0 13px #7e9b942b,inset -12px 0 13px #7e9b942b}
.fridge .cabinet-shelf:after{height:8px;background:linear-gradient(#e8efea 0 2px,#a7bdb5 2px 5px,#d1e0d8 5px 7px,#93aaa0 7px);box-shadow:0 6px 9px #5d807027}
.fridge .cabinet-post{top:23px;bottom:23px;width:17px;border:0;background:linear-gradient(90deg,#e2e5db,#b8c7bf);box-shadow:none;border-radius:5px}.fridge .post-left{left:3px}.fridge .post-right{right:3px;transform:scaleX(-1)}
.fridge .cabinet-foot{height:48px;background:linear-gradient(#dbe3d9,#bdcdc2);border:1px solid #a7bab0;border-radius:0 0 6px 6px;margin-bottom:18px;box-shadow:inset 0 5px 9px #8ea89b33}
.fridge .cabinet-foot:before{content:'';position:absolute;left:30%;right:30%;height:5px;top:8px;border-radius:0 0 5px 5px;background:#9bafa3;box-shadow:0 1px #e9ede3}
/* Open industrial warmer: perforated steel uprights and wire racks. */
.warm .cabinet{--post:20px;background:#b4b7ac;border:1px solid #727c71;border-radius:3px;box-shadow:inset 0 0 0 3px #ced0c4}
.warm .cabinet-crown{height:42px;background:linear-gradient(#aeb5a9,#7f897c);border:0;border-bottom:3px solid #636f62;box-shadow:inset 0 2px #d0d5c7}
.warm .cabinet-light{position:absolute;top:12px;left:14px;width:30px;height:14px;background:#bba66b;border:3px solid #535f51;border-radius:2px}
.warm .cabinet-indicator{position:absolute;right:13px;top:14px;width:9px;height:9px;border-radius:50%;background:#b5884f;box-shadow:0 0 0 2px #596351}
.warm .cabinet-shelves{background:repeating-linear-gradient(90deg,#8e988417 0 1px,transparent 1px 6px),linear-gradient(90deg,#bcc0b1,#d6d8c9 15% 85%,#acb4a1);box-shadow:inset 9px 0 13px #57644d30,inset -9px 0 13px #57644d30}
.warm .cabinet-shelf:after{height:12px;background:repeating-linear-gradient(90deg,#65705f 0 2px,transparent 2px 10px),linear-gradient(#b5beb0 0 3px,#899780 3px 8px,#5b6855 8px 11px);box-shadow:0 6px 7px #49563e35;border-top:1px solid #d6dccb}
.warm .cabinet-post{background:radial-gradient(ellipse,#535f50 0 26%,transparent 32%) center 7px/7px 21px repeat-y,linear-gradient(90deg,#77836f,#b5bdac 55%,#72816b);border:1px solid #62715b;box-shadow:2px 0 3px #39463530}
.warm .cabinet-foot{height:35px;background:repeating-linear-gradient(90deg,#55634d 0 2px,#8b9880 2px 7px);border:9px solid #929e87;border-bottom:8px solid #68765c}
/* Shared outer dimensions keep every storage cabinet visually the same size. */
.storage-place .cabinet{border-width:2px;border-style:solid;margin-bottom:18px}
.starter .cabinet,.storage .cabinet{border-color:transparent}
.storage-place .cabinet-crown{height:42px}
.storage-place .cabinet-shelf{height:196px;min-height:196px}
.storage-place .cabinet-foot{height:48px;margin-bottom:0}
.storage-place .cabinet-post{bottom:0}


.back{display:inline-flex;align-items:center;min-height:48px;padding:12px 20px;font-size:17px;font-weight:600;line-height:1.4;color:var(--white);background:var(--green);border:1px solid var(--green);border-radius:8px;box-shadow:0 2px 5px #263a3020;text-decoration:none}
.back:hover{background:#244431;border-color:#244431}
.phase-period{grid-column:1/-1;color:var(--muted);font-size:12px;padding-bottom:8px}

.unit-count{font-size:11px;color:var(--muted);margin-top:3px}
.photo-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:12px;margin:12px 0}
.photo-gallery figure{margin:0;min-width:0}.photo-gallery img{display:block;width:100%;height:150px;object-fit:contain;border-radius:6px;background:var(--white)}
.photo-gallery figcaption{font-size:12px;overflow-wrap:anywhere;margin-top:6px}
.fermentation-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.delete-button{color:#8b3a21;border-color:#a56b59}.delete-button:hover{background:#f7e7df}
.consumed-history{margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}
.consumed-history h2{font-size:26px;margin-bottom:14px}.consumed-list{display:flex;flex-wrap:wrap;gap:10px}
.edit-form .sharing-switch{display:inline-flex;align-items:center;gap:9px;justify-self:start;min-height:44px;font-size:13px;cursor:pointer}
.sharing-switch input{appearance:none;width:36px;height:20px;margin:0;border:1px solid #87968c;border-radius:20px;background:#d7ddd5;position:relative;cursor:pointer;flex-shrink:0}
.sharing-switch input:before{content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:var(--white);box-shadow:0 1px 3px #263a3030}
.sharing-switch input:checked{background:var(--green);border-color:var(--green)}
.sharing-switch input:checked:before{left:18px}
.discovery{margin-top:40px;padding-top:24px;border-top:1px solid var(--line)}
.discovery>h2{margin-bottom:12px}
.profile-link{font:600 22px/1.3 'Segoe UI',sans-serif;border:0;background:none;color:var(--green);padding:0;text-align:left;overflow-wrap:anywhere}
.profile-link:hover{text-decoration:underline}
.discovery details{margin-top:12px}.discovery summary{cursor:pointer;font-size:16px;padding:8px 0}

/* Larger, clearer information on each fermentation. */
#detail .detail-grid{display:block;margin-top:24px}
#detail .detail-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-top:28px;font-size:14px;color:var(--ink)}
#detail .detail-summary>div{padding:18px;background:var(--white);border:1px solid var(--line);border-radius:8px;min-width:0}
#detail .detail-summary strong{font-size:20px;font-weight:600;line-height:1.4;margin-top:9px;overflow-wrap:anywhere}
#detail .panel{padding:28px}
#detail .panel h2{font-size:29px;margin-bottom:20px}
#detail .panel p,#detail .panel li,#detail .ingredient{font-size:16px;line-height:1.75}
#detail .ingredient{padding:14px 0;align-items:baseline}
#detail .ingredient span{overflow-wrap:anywhere;min-width:0}
#detail .ingredient span:last-child{font-weight:600;flex-shrink:0;max-width:45%}
#detail .tag{font-size:12px;padding:7px 11px}
#detail .detail-note{font-size:16px}
#detail .event-date,#detail .event-kind,#detail .event-card small{font-size:13px}
@media(max-width:550px){#detail .panel{padding:20px}#detail .detail-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#detail .detail-summary>div{padding:14px}#detail .detail-summary strong{font-size:18px}#detail .timeline-row{grid-template-columns:1fr;gap:8px}}

.recipe-comments{margin-top:24px;border-top:1px solid var(--line);padding-top:12px}.recipe-comment{padding:14px 0;border-bottom:1px solid var(--line)}.recipe-comment small{display:block;color:var(--muted);margin-top:6px}.recipe-comment p{white-space:pre-wrap;overflow-wrap:anywhere}.edit-dialog p{white-space:pre-wrap;overflow-wrap:anywhere}

body.community-view:before{background-image:url('illustrasjoner/community.webp')}
body.learning-view:before{background-image:url('illustrasjoner/learning.webp')}
.learning-deep-dive{margin:28px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--white)}.learning-deep-dive>summary{font:normal 21px/1.5 Georgia,serif;cursor:pointer}.learning-deep-dive>summary:focus-visible{outline:3px solid #687c55;outline-offset:4px}@media(max-width:700px){.learning-deep-dive{padding:14px}.learning-deep-dive>summary{font-size:19px}}
body.equipment-view:before{background-image:url('illustrasjoner/equipment.webp')}
.hub-hero{display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:30px;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:28px 34px;margin:14px 0 28px;overflow:hidden}
.hub-hero h1{font-size:48px;margin:14px 0}.hub-hero p{font-size:15px;line-height:1.7;max-width:34em}.hub-hero .eyebrow{font-size:10px}
.hub-hero img{width:100%;max-height:240px;object-fit:cover;border-radius:9px;mix-blend-mode:multiply;opacity:.8}
.hub-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.hub-category{margin:0;min-height:190px;border-top:3px solid #889478}.hub-category h2{font-size:27px}.hub-empty-label{display:inline-block;color:var(--muted);border:1px solid var(--line);border-radius:20px;font-size:12px;padding:6px 10px;margin-top:10px}
.forum-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.forum-toolbar label{display:grid;gap:6px;margin-left:auto;font-size:13px;min-width:240px}
.forum-delete{color:#8b4235;justify-self:start}.forum-delete:hover{text-decoration:underline}
.learning-intro{max-width:70ch;line-height:1.8}.learning-tools label{display:grid;gap:8px;max-width:560px;font-size:14px}.learning-tools input{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--white);font:inherit}.learning-index{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 28px;scroll-margin-top:24px}.learning-topic{color:var(--ink);background:var(--white);border:1px solid var(--line);border-radius:20px;padding:9px 14px;font-size:14px;text-decoration:none}.learning-topic:hover{border-color:var(--ink)}.learning-articles{display:grid;gap:14px}.learning-article{margin:0;scroll-margin-top:24px}.learning-article summary{cursor:pointer;list-style-position:outside;margin-left:20px}.learning-article h2{font-size:28px;margin:10px 0;line-height:1.25}.learning-summary{display:block;color:var(--muted);font-size:15px;line-height:1.6}.learning-body{max-width:76ch;padding-top:18px}.learning-body h3{font:normal 23px/1.4 Georgia,serif;margin:28px 0 12px}.learning-body p,.learning-bibliography p{font-size:16px;line-height:1.85;overflow-wrap:anywhere}.learning-body .learning-citations{font-size:12px;line-height:1.8;margin-top:10px;color:var(--muted)}.learning-citations a,.learning-bibliography a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.learning-bibliography{margin-top:28px}.learning-bibliography summary{cursor:pointer;font-size:19px}.learning-bibliography li{margin:20px 0}.learning-bibliography li p{font-size:13px;margin-top:4px}.learning-topic:focus-visible,.learning-article summary:focus-visible,.learning-bibliography summary:focus-visible{outline:3px solid #687c55;outline-offset:4px}.learning-topic[hidden],.learning-article[hidden]{display:none}@media(max-width:700px){.learning-article{padding:20px}.learning-article h2{font-size:24px}.learning-body h3{font-size:21px}.learning-index{gap:6px}.learning-topic{font-size:13px}}
.forum-list{display:grid;gap:14px}.forum-topic{margin:0;display:grid;gap:10px}.forum-topic p{margin:0}.forum-title{border:0;background:none;text-align:left;font:normal 25px/1.3 Georgia,serif;color:var(--ink);padding:0;overflow-wrap:anywhere}.forum-title:hover{text-decoration:underline}.forum-topic .tag{justify-self:start}
.forum-byline{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.forum-byline .text-button{padding-left:0}.forum-thread{margin-top:20px}.forum-thread h1{font-size:36px;overflow-wrap:anywhere}.forum-thread p,.forum-replies p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px}.forum-replies h2{font-size:25px;margin-bottom:20px}.forum-empty{text-align:center;padding:45px 24px}
@media(max-width:700px){.hub-hero{grid-template-columns:1fr;padding:24px;gap:16px}.hub-hero img{max-height:180px}.hub-hero h1{font-size:38px}.hub-category-grid{grid-template-columns:1fr}.forum-toolbar label{width:100%;min-width:0;margin:0}.forum-thread h1{font-size:29px}}

.ferment-icon{display:block;width:82px;height:90px;flex-shrink:0;filter:drop-shadow(2px 3px 1px #394c3914);transition:filter .15s}.ferment-icon svg{display:block;width:100%;height:100%}.project-jar:hover .ferment-icon,.project-jar:focus-visible .ferment-icon{filter:drop-shadow(0 0 5px #e9d497b3) drop-shadow(0 0 10px #fff2c966)}
/* Equipment photographs and searchable reference cards. */
.equipment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:18px 0 28px}
.equipment-card{padding:0;overflow:hidden;margin:0;display:flex;flex-direction:column}
.equipment-card figure{margin:0;background:#e9e3d8;padding:14px 14px 8px}
.equipment-card figure a{display:block;border-radius:6px;overflow:hidden}
.equipment-card img{display:block;width:100%;height:230px;object-fit:contain;background:#e9e3d8}
.equipment-card figcaption{font-size:10px;color:#625c53;margin-top:8px}
.equipment-copy{padding:20px;display:flex;flex-direction:column;flex:1}
.equipment-copy h2{font-size:25px;line-height:1.2;margin:15px 0 12px}
.equipment-copy p{font-size:14px;line-height:1.7;margin:0 0 18px}
.equipment-copy>a{font-size:13px;line-height:1.5;color:var(--ink);margin-top:auto;text-underline-offset:3px}
.equipment-copy .tag{align-self:flex-start}
.equipment-credit{font-size:12px;line-height:1.8;color:var(--muted);max-width:85ch;margin:12px 0 24px}
.equipment-credit a{color:var(--ink)}
#equipment-area .learning-tools{display:flex;gap:18px;align-items:end;flex-wrap:wrap}
#equipment-area .learning-tools label{flex:1;min-width:220px}
#equipment-area .learning-tools select{font:inherit;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--white);width:100%}
.equipment-card a:focus-visible{outline:3px solid #687c55;outline-offset:3px}
@media(max-width:1000px){.equipment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.equipment-grid{grid-template-columns:1fr}.equipment-card img{height:260px}.equipment-copy{padding:18px}#equipment-area .learning-tools label{min-width:0;flex-basis:100%}}
.cabinet-view-switch{display:flex;gap:8px;margin:0 0 22px}.cabinet-view-switch [aria-pressed=true]{background:var(--green);color:var(--white)}.storage-place .cabinet.cabinet-list{padding:12px;min-height:160px;overflow:auto;max-height:540px;background:#f0eee3;border:2px solid #a8b6a5;border-radius:10px}.cabinet-items{list-style:none;padding:0;margin:0}.cabinet-list-item{display:flex;flex-direction:column;gap:5px;width:100%;padding:14px 12px;text-align:left;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink)}.cabinet-list-item:hover,.cabinet-list-item:focus-visible{background:#ffffffa0}.cabinet-list-name{font-weight:600}.cabinet-list-meta{font-size:12px;color:var(--muted)}.messages-dialog{width:min(820px,94vw)}.message-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px}.message-threads{display:flex;flex-direction:column;gap:8px}.message-thread-button{text-align:left}.message-history{max-height:380px;overflow:auto;display:flex;flex-direction:column;gap:12px;padding:12px 0}.direct-message{padding:12px;background:#ffffff90;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}.direct-message.sent{background:#dfe8d9;margin-left:24px}.direct-message.received{margin-right:24px}.direct-message p{margin:6px 0}.direct-message small{color:var(--muted)}@media(max-width:600px){.message-layout{grid-template-columns:1fr}.message-threads{max-height:160px;overflow:auto}.cabinet-view-switch{margin-bottom:16px}}

/* Each shelf has clipped artwork and a shared vessel baseline. */
.storage-place .cabinet:not(.cabinet-list){background:transparent;border:0;border-radius:0;box-shadow:none;padding:0;filter:drop-shadow(2px 5px 4px #493c2420)}
.storage-place .cabinet:not(.cabinet-list) .cabinet-crown{position:relative;background:none;border:0;box-shadow:none;height:58px}
.storage-place .cabinet:not(.cabinet-list) .cabinet-shelves{background:none;box-shadow:none;border:0}
.storage-place .cabinet:not(.cabinet-list) .cabinet-foot{background:none;border:0;box-shadow:none;height:76px}
.storage-place .cabinet:not(.cabinet-list) .cabinet-post,.cabinet:not(.cabinet-list) .cabinet-light,.cabinet:not(.cabinet-list) .cabinet-indicator,.cabinet:not(.cabinet-list) .cabinet-foot:before{display:none}
.storage-place .cabinet-shelf{height:210px;min-height:210px;padding:0 14%;align-items:stretch;gap:8px}
.storage-place .cabinet-shelf:after{display:none}
.cabinet-art{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:hidden}.cabinet-art>svg{display:block;width:100%;height:100%}
.cabinet .project-jar{position:relative;z-index:1;min-height:0;height:210px;display:block;padding:0;border:0;background:transparent}
.cabinet .ferment-icon{position:absolute;bottom:55px;left:50%;transform:translateX(-50%);width:100px;height:112px;max-width:100%;display:block;filter:drop-shadow(0 3px 2px #31291935)}
.cabinet .ferment-icon svg{width:100%;height:100%;overflow:hidden;display:block}
.cabinet .project-name{position:absolute;top:160px;left:0;right:0;min-height:0;max-height:32px;overflow:hidden;background:#f7f1e3ed;border-radius:3px;padding:2px 3px;line-height:14px;font-size:12px}
.cabinet .unit-count{position:absolute;top:196px;left:50%;right:auto;transform:translateX(-50%);width:max-content;padding-inline:4px;color:#495c49;font-size:10px;line-height:12px;background:#f7f1e3df;border-radius:3px;padding:0}
.cabinet .place-empty{position:relative;z-index:1;align-self:center}
@media(max-width:550px){.cabinet .ferment-icon{width:78px;height:100px}.storage-place .cabinet-shelf{gap:5px}.cabinet .project-name{font-size:10px}}

.ferment-progress{display:flex;flex-direction:column;gap:6px;margin:12px 0;color:var(--ink);font-size:13px;line-height:1.4;min-width:0}
.ferment-progress progress,.ferment-progress-empty{display:block;width:100%;height:8px;border:0;border-radius:6px;overflow:hidden;background:#dce3d5;accent-color:var(--green);appearance:none}
.ferment-progress progress::-webkit-progress-bar{background:#dce3d5;border-radius:6px}
.ferment-progress progress::-webkit-progress-value{background:var(--green);border-radius:6px}
.ferment-progress progress::-moz-progress-bar{background:var(--green);border-radius:6px}
.ferment-progress-label{font-weight:600}.ferment-progress-dates{color:var(--muted);font-size:12px}
.ferment-progress.compact{font-size:10px;gap:3px;margin:0;text-align:center;line-height:12px}
.ferment-progress.compact progress,.ferment-progress.compact .ferment-progress-empty{height:5px}
.cabinet .project-jar>.ferment-progress{position:absolute;top:23px;left:0;right:0;padding:3px;background:#f7f1e3ed;border-radius:4px;z-index:2}
.cabinet-list-item>.ferment-progress{width:100%;text-align:left;margin-top:6px}
@media(max-width:550px){.cabinet .project-jar>.ferment-progress{font-size:9px;line-height:11px}}
.ingredient-variant-yellow{filter:sepia(.2) hue-rotate(18deg)}
.ingredient-variant-red{filter:hue-rotate(305deg)}

.cabinet .project-jar:hover,.cabinet .project-jar:focus-visible{background:transparent;border-color:transparent;box-shadow:none}
.cabinet .project-jar:hover .ferment-icon,.cabinet .project-jar:focus-visible .ferment-icon{filter:drop-shadow(0 3px 2px #31291935) drop-shadow(0 0 5px #e9d497b3) drop-shadow(0 0 10px #fff2c966)}

.phase-completion{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}.phase-completion>strong{display:block;font-size:13px;margin-bottom:10px}

.edit-form .phase-edit-row{grid-template-columns:repeat(3,minmax(0,1fr));padding:14px 0;border-bottom:1px solid var(--line)}.phase-edit-row .phase-period{grid-column:1/-1}.phase-controls{margin-bottom:16px}.phase-current-settings{margin-top:12px}.freezer .cabinet-art{filter:hue-rotate(55deg) saturate(.65)}
@media(max-width:550px){.edit-form .phase-edit-row{grid-template-columns:1fr}}

.cabinet .project-label{position:absolute;top:8px;left:0;right:0;display:flex;flex-direction:column;gap:3px;align-items:stretch}.cabinet .project-label>.project-name{position:static;max-width:none;max-height:28px;padding:0 3px;line-height:14px}.cabinet .project-label>.ferment-progress{position:static;margin:0;padding:2px 3px;background:#f7f1e3ed;border-radius:4px}.cabinet .ferment-icon{height:86px}.cabinet .unit-count{top:164px}

.cabinet .project-label .ferment-progress-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}

/* Sign-in and account registration. */
.signed-out .simple-header{display:none}.signed-out .shell{display:block;max-width:none}.signed-out #main{padding:0}.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(300px,1fr) minmax(400px,1fr);background:#f6f2e9}.auth-visual{display:flex;flex-direction:column;justify-content:flex-end;padding:clamp(32px,6vw,95px);background:linear-gradient(0deg,#183d32ed,#183d3280),url('illustrasjoner/gronnsaker.webp') center/cover;color:#fff;min-height:600px}.auth-brand{margin:auto 0 110px;font:600 30px Georgia,serif}.auth-visual h1{font:normal clamp(40px,4vw,64px)/1.12 Georgia,serif;letter-spacing:-1px;max-width:500px;margin:0 0 20px}.auth-visual>p:last-child{color:#e7eee5;font-size:16px;line-height:1.6}.auth-card{align-self:center;justify-self:center;width:min(100%,460px);padding:48px 28px;box-sizing:border-box}.auth-card h2{font:normal 38px Georgia,serif;margin:0 0 14px}.auth-card>p{font-size:14px;color:var(--muted);line-height:1.6;margin-bottom:28px}.auth-card .edit-form{display:flex;flex-direction:column;gap:17px}.auth-card .edit-form label{display:flex;flex-direction:column;gap:8px;font-size:14px}.auth-card input:not([type=checkbox]){width:100%;box-sizing:border-box;min-height:48px;background:#fffdf8;border:1px solid #c6cec1;border-radius:6px;padding:12px;font-size:16px}.auth-card .auth-check{display:flex;flex-direction:row;align-items:flex-start;gap:10px;font-size:13px;line-height:1.5}.auth-check input{width:17px;height:17px;flex-shrink:0;accent-color:var(--green);margin:2px 0}.auth-show{align-self:flex-end;margin-top:-12px}.auth-submit{min-height:50px;font-size:16px}.auth-card .text-button{font-size:13px}.auth-card a{font-size:13px}.auth-card [hidden]{display:none!important}.auth-card input:focus-visible,.auth-card button:focus-visible{outline:3px solid #9b753c;outline-offset:3px}@media(max-width:760px){.auth-page{grid-template-columns:1fr}.auth-visual{min-height:180px;padding:26px;justify-content:center}.auth-brand{font-size:25px;margin:0 0 22px}.auth-visual h1{font-size:32px;margin:0}.auth-visual>p:last-child{display:none}.auth-card{padding:30px 24px;width:min(100%,460px)}.auth-card h2{font-size:30px}}

.signed-out .shell main{max-width:none;margin:0}.signed-out:before{display:none}

.auth-card .edit-form label.auth-check{flex-direction:row;align-items:flex-start;gap:10px}.auth-card .save-message:empty,.auth-card .edit-help:empty{display:none}.auth-brand{margin:0 0 auto}

/* Phase schedules and the separate storage interval. */
.ferment-progress-track{display:block;width:100%;height:10px;border-radius:5px;overflow:hidden}.compact .ferment-progress-track{height:6px}.phase-tone-0{fill:#387c67;background-color:#387c67}.phase-tone-1{fill:#b57d25;background-color:#b57d25}.phase-tone-2{fill:#496f9d;background-color:#496f9d}.phase-tone-3{fill:#875c91;background-color:#875c91}.phase-tone-4{fill:#b45f42;background-color:#b45f42}.phase-tone-5{fill:#788036;background-color:#788036}.phase-future{opacity:.22}.phase-divider{stroke:#f8f4e9;stroke-width:.6}.storage-track .phase-tone-0{fill:#596eae}.expired-track .phase-filled{fill:#ad4539}.phase-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12px;color:var(--muted);margin:6px 0}.phase-legend-item{display:inline-flex;align-items:center;gap:6px}.phase-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.phase-row-title{grid-column:1/-1;font-size:14px}.phase-storage{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.phase-storage>strong{display:block;font-size:14px;margin-bottom:12px}.edit-form .phase-completion,.edit-form .phase-storage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.phase-completion>strong,.phase-storage>strong{grid-column:1/-1}.phase-recorded{margin-top:18px;font-size:13px;color:var(--muted)}.phase-recorded .edit-grid{margin-top:12px}@media(max-width:550px){.edit-form .phase-completion,.edit-form .phase-storage{grid-template-columns:1fr}.phase-legend{gap:6px 12px}}

.detail-title{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin:18px 0}.detail-title h1{margin:0;min-width:0;overflow-wrap:anywhere}.detail-status{display:inline-flex;align-items:center;gap:6px;font:500 13px/1.4 "Segoe UI",sans-serif;color:#5a705c;white-space:nowrap}.detail-status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.7}
/* Pro inventory: keep the spreadsheet inside its own scroll area. */
.pro-sheet{min-width:0;margin:1rem 0 2rem;background:#f9faf5ed;border:1px solid #a9b5a5;border-radius:12px;padding:16px;color:#263c32}
.pro-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.pro-filters label{display:flex;flex-direction:column;gap:5px;font-size:.8rem;font-weight:600;flex:1 1 130px}.pro-filters label:first-child{flex:2 1 200px}.pro-filters input,.pro-filters select{width:100%;min-width:0;padding:9px;border:1px solid #a9b5a5;border-radius:6px;background:#fff;color:#263c32;font:inherit}.pro-count{font-size:.85rem;margin:16px 0 10px}.pro-scroll{max-width:100%;overflow:auto;max-height:70vh;border:1px solid #b9c3b5;border-radius:6px;position:relative}.pro-scroll:focus-visible{outline:3px solid #64856c;outline-offset:3px}.pro-table{border-collapse:separate;border-spacing:0;width:100%;min-width:1650px;font-size:.85rem;text-align:left}.pro-table caption{text-align:left;padding:10px;background:#eef2e9;color:#526255}.pro-table th,.pro-table td{padding:10px 12px;border-bottom:1px solid #dce2d7;border-right:1px solid #e0e5db;vertical-align:middle;white-space:nowrap}.pro-table th{position:sticky;top:0;background:#e3ebdf;z-index:2}.pro-table th button{font:inherit;font-weight:700;border:0;background:transparent;padding:4px 0;color:inherit;cursor:pointer;text-align:left}.pro-table th button:focus-visible,.pro-table a:focus-visible{outline:2px solid #487052;outline-offset:3px}.pro-table td{background:#fbfcf8}.pro-table tr:nth-child(even) td{background:#f0f4ed}.pro-table tr:hover td{background:#e8efdf}.pro-table th:first-child,.pro-table td:first-child{position:sticky;left:0;min-width:180px;max-width:270px;white-space:normal;box-shadow:2px 0 3px #263c3215;z-index:1}.pro-table th:first-child{z-index:3}.pro-table a{font-weight:650;color:#244c38}.pro-table .ferment-progress{min-width:170px}.pro-table td:nth-child(4),.pro-table td:nth-child(8),.pro-table td:nth-child(9){font-variant-numeric:tabular-nums}@media(max-width:600px){.pro-sheet{padding:10px}.pro-filters{gap:9px}.pro-filters label{flex-basis:calc(50% - 9px)}.pro-table th:first-child,.pro-table td:first-child{min-width:135px;max-width:165px}.pro-scroll{max-height:65vh}}
.recipe-template{margin:12px 0}.recipe-picker{margin-top:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f3f5ee}.recipe-picker-results{max-height:340px;overflow:auto}.recipe-picker-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.recipe-picker-row>div{min-width:0;overflow-wrap:anywhere}.recipe-picker-row small{display:block;margin-top:5px;color:var(--muted)}.recipe-picker-row button{flex-shrink:0}@media(max-width:550px){.recipe-picker-row{align-items:flex-start;flex-direction:column}.recipe-picker{padding:10px}}
.profile-activity{margin-left:auto;max-width:330px;min-width:0}.profile-activity-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-activity .profile-name{margin-left:0;font-weight:600}.profile-notifications{display:inline-flex;align-items:center;gap:7px;border:1px solid #a7b5a0;background:#f7f9f2;border-radius:20px;padding:8px 12px;color:#294333}.profile-notifications.has-unread{border-color:#8d512f;background:#fff1db}.notification-count{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 6px;border-radius:20px;background:#a43c30;color:white;font-weight:700;font-size:12px}.notification-preview{display:block;border:0;background:transparent;padding:6px 0 0;text-align:left;font-size:12px;color:#654326;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-unread{border-left:4px solid #a43c30;background:#fff8ed}.visually-hidden{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:700px){.profile-activity{margin-left:0;max-width:100%;flex:1 1 100%}.profile-activity-row{justify-content:space-between}}

.support-text{white-space:pre-wrap;overflow-wrap:anywhere}.support-history{display:grid;gap:.75rem;max-height:50vh;overflow:auto}.support-dialog textarea{width:100%;box-sizing:border-box}
