@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#242f2b;--muted:#69745f;--green:#193d33;--lime:#e2ecc5;--paper:#f7f8f4;--line:#e7eae2;--font:'DM Sans',system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font);font-size:14px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #8caa63;outline-offset:3px}.app-layout{display:flex;min-height:100vh}.sidebar{width:244px;background:#fff;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:36px 22px 18px;display:flex;flex-direction:column;z-index:5}.brand{display:block;padding:0 18px}.brand img{width:154px;height:auto;display:block}.brand>span{display:block;letter-spacing:3.5px;font-size:9px;font-weight:700;margin:13px 0 44px;color:#69745f}.nav-label{font-size:10px;letter-spacing:1.7px;color:#69745f;padding-left:15px;margin-bottom:12px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav>a{display:flex;gap:12px;align-items:center;border-radius:8px;padding:12px 13px;font-size:13px;font-weight:550;color:#6d766f;min-height:46px}.sidebar nav>a:hover{background:#f5f6f1}.sidebar nav>a[aria-current]{background:#edf2e5;color:var(--green)}.nav-icon{font-size:20px;width:23px;text-align:center;line-height:1}.nav-count{margin-left:auto;font-size:11px;background:#dce8ce;border-radius:4px;padding:0 6px}.sidebar-bottom{margin-top:auto;padding-top:36px}.sidebar-note{padding:20px 17px 23px;background:#f7f8f3;border-radius:10px;margin-bottom:24px}.little-cross{color:#668155;font-size:26px}.sidebar-note p{font-family:Manrope,var(--font);font-weight:700;font-size:19px;line-height:1.4;margin:9px 0}.sidebar-note small{color:#8b9386;font-size:10px}.account{display:flex;align-items:center;gap:10px;padding:0 4px}.avatar{display:flex;width:36px;height:36px;flex-shrink:0;border-radius:50%;background:#eadcc9;color:#6e553b;align-items:center;justify-content:center;font-weight:650}.account strong{display:block;font-size:12px;max-width:130px;overflow-wrap:anywhere}.account small{display:block;font-size:10px;color:var(--muted)}.account>span:last-child{margin-left:auto}.logout{display:block;text-align:center;font-size:11px;color:var(--muted);margin-top:16px}.workspace{margin-left:244px;flex:1;min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 44px;font-size:11px;background:#fcfcf9;color:#69736d}.slash{margin:0 12px;color:#b6bcb5}.topbar time{color:#69745f}main{max-width:1530px;margin:auto;padding:38px 44px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#69745f;margin:0 0 10px}h1,h2,h3{font-family:Manrope,var(--font);line-height:1.3}h1{font-size:34px;font-weight:750;letter-spacing:-1.4px;margin:0 0 10px}h2{font-size:18px;letter-spacing:-.45px;margin:0}h3{font-size:13px;font-weight:650;margin:0}.intro{color:#69745f;margin:0;font-size:12px}.heading-mark{font-size:38px;color:#a6b693;margin-right:5px}.hero{display:flex;position:relative;overflow:hidden;border-radius:13px;background:var(--green);color:#fff;padding:32px 36px;min-height:268px;margin-bottom:24px}.hero>div:first-child{position:relative;z-index:1}.badge{display:inline-block;padding:3px 8px;border-radius:5px;font-size:9px;font-weight:550;background:#f0f1eb;color:#59694f;line-height:1.5}.badge.light{background:#ffffff13;color:#d9e4ca;font-size:8px;letter-spacing:1px;padding:6px 9px}.hero h2{font-size:31px;letter-spacing:-1.2px;font-weight:600;line-height:1.3;margin:17px 0 10px}.hero p{font-size:11px;color:#bbc9bd;margin:0 0 22px}.button,button{border:0;cursor:pointer;background:var(--green);color:white;padding:11px 17px;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;gap:14px;font-size:11px;font-weight:600;min-height:40px}.button:hover,button:hover{filter:brightness(1.12)}button:disabled{opacity:.5;cursor:wait}.button.cream{background:#e4edcf;color:#284634;font-size:10px;padding:10px 14px;min-height:35px}.button.cream span{margin-left:10px}.hero-art{position:absolute;width:280px;height:280px;right:50px;top:25px}.art-arch{position:absolute;border:35px solid #8ca97c;border-bottom:0;border-radius:140px 140px 0 0;width:163px;height:217px;top:35px;left:10px;transform:rotate(-19deg);opacity:.8}.art-ring{position:absolute;width:144px;height:144px;border:33px solid #d4dfb4;border-radius:50%;right:2px;bottom:6px}.art-line{position:absolute;height:1px;width:300px;top:137px;background:#ffffff27;transform:rotate(-39deg)}.art-star{position:absolute;right:4px;top:-5px;font-size:66px;color:#bbcf9e}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat{display:flex;border:1px solid var(--line);border-radius:10px;padding:22px 18px;background:#fff;gap:13px;position:relative}.stat-icon{border-radius:9px;background:#eff3e7;color:#627f4c;width:36px;height:36px;display:flex;align-items:center;justify-content:center;font-size:20px}.stat-icon.lavender{background:#f0edf7;color:#8572a0}.stat-icon.peach{background:#faf0e7;color:#ad8c69}.stat>span:nth-child(2){font-size:10px;color:#737c70}.stat strong{display:block;color:var(--ink);font-family:Manrope,var(--font);font-size:30px;line-height:1.3;margin:9px 0 5px;font-weight:600}.stat small{display:block;font-size:9px;color:#69745f}.arrow{margin-left:auto;color:#a4aa9c;font-size:14px}.home-columns{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(270px,1fr);gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:10px;padding:24px;min-width:0}.section-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:20px}.section-head a{font-size:10px;color:#7b896f}.section-head .eyebrow{margin-bottom:7px}.empty{text-align:center;padding:42px 15px;color:#69745f}.empty-symbol{display:inline-flex;align-items:center;justify-content:center;background:#f0f3e9;color:#9aaa87;width:44px;height:44px;border-radius:50%;font-size:22px;margin-bottom:14px}.empty h3{font-size:14px;color:#78866c;margin:0 0 7px}.empty p{font-size:11px;margin:0}.department-panel h2{margin-bottom:8px}.muted{color:#69745f;font-size:11px;margin:8px 0 22px}.empty-small{font-size:12px;color:#69745f;margin:25px 0}.department-link{display:flex;align-items:center;padding:15px 0;border-bottom:1px solid #f0f1ec;gap:12px;font-size:11px;font-weight:500}.department-link>span:last-child{margin-left:auto;color:#a7b09c}.department-dot{display:inline-block;height:9px;width:9px;border-radius:3px;background:#b7caa1;flex-shrink:0}.soft-note{background:#f6f7f1;border-radius:7px;padding:15px;margin-top:22px;font-size:10px;color:#69745f}.soft-note a{color:#486344;text-decoration:underline}.page-footer{display:flex;justify-content:space-between;font-size:8px;color:#69745f;border-top:1px solid var(--line);margin-top:36px;padding:21px 0;letter-spacing:.6px}.page-footer>span:last-child{letter-spacing:0}.content-columns{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(280px,1fr);gap:24px;align-items:start}.form-panel{padding:25px}.form-icon{display:flex;width:34px;height:34px;background:#edf2e4;color:#748864;align-items:center;justify-content:center;border-radius:8px;font-size:22px;margin-bottom:16px}form label{display:block;font-size:11px;font-weight:550;margin:17px 0 6px}form label>span{font-weight:400;color:#69745f;font-size:10px;margin-left:4px}input,textarea,select{width:100%;padding:10px 11px;border:1px solid #e1e5da;background:#fff;border-radius:5px;color:#384435;font-size:12px;min-height:41px}input::placeholder,textarea::placeholder{color:#a2a99c;font-size:11px}textarea{min-height:90px;resize:vertical}input[type=checkbox]{width:16px;height:16px;min-height:16px;padding:0;accent-color:#315c42;flex-shrink:0}form button{margin-top:20px}.full{width:100%;justify-content:space-between}.field-help{font-size:10px;color:#69745f;margin:11px 0 0;line-height:1.7}.checkbox-label{display:flex;align-items:flex-start;gap:9px;font-size:10px;color:#69745f;line-height:1.6;cursor:pointer}.checkbox-label input{margin:1px 0 0}.count-label{font-size:10px;color:#69745f}.filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:0}.filters label{margin:0;flex:1;min-width:105px;font-size:9px;color:#69745f}.filters select,.filters input{margin-top:5px;font-size:10px}.filters button{margin:0;min-height:41px}.secondary{background:#edf2e4;color:#5b7251}.list-row{display:flex;gap:13px;padding:23px 0;border-bottom:1px solid #edf0e7}.list-row:last-child{border-bottom:0}.row-content{min-width:0;flex:1;overflow-wrap:anywhere}.row-content h3{line-height:1.6}.row-meta{display:flex;gap:8px 12px;align-items:center;flex-wrap:wrap;color:#69745f;font-size:9px;margin-top:10px}.notes{white-space:normal;font-size:11px;color:#69745f;line-height:1.7;margin:7px 0}.inline-form{display:inline-flex;margin:0}.inline-form button{margin:0}.check-button{padding:0;width:26px;height:26px;min-height:26px;background:#fff;color:transparent;border:1px solid #d6decd;border-radius:50%;font-size:14px}.check-button:hover{color:#426637;background:#edf3e5}.quiet-button{background:#f1f4eb;color:#7d8c70;padding:5px 8px;min-height:26px;font-size:9px}.row-check{padding-top:1px}.is-done h3{text-decoration:line-through;color:#9aa68b}.overdue{color:#b77862}.notice{padding:14px 18px;background:#eaf2de;color:#48613c;border-radius:7px;font-size:12px;margin-bottom:22px;border:1px solid #d9e6c8}.notice.error{background:#fff1eb;border-color:#f2d5c6;color:#9c5d43}.shopping-reminder{display:flex;align-items:center;gap:14px;background:#eef3e5;border:1px solid #e1e9d5;border-radius:9px;margin-bottom:24px;padding:17px 22px}.shopping-reminder>span{background:#dce9ce;color:#6a8b55;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%}.shopping-reminder strong{font-size:11px;font-weight:600}.shopping-reminder p{font-size:10px;color:#69745f;margin:2px 0 0}.purchase-icon{width:32px;height:32px;display:flex;justify-content:center;align-items:center;background:#f8f0e6;color:#bd9d76;border-radius:7px;font-size:20px;flex-shrink:0}.purchase-icon.purchased{color:#6b8959;background:#eef4e6}.item-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.badge.green{background:#edf4e5;color:#506c3b}.badge.amber{background:#faf1e5;color:#88602e}.purchase-action{display:flex;align-items:center;gap:8px;font-size:9px;color:#86987a;margin-top:14px}.purchase-action .check-button{width:24px;height:24px;min-height:24px;color:#61784d;font-size:12px}.search-label{flex-basis:100%!important}.department-line{display:flex;align-items:center;gap:12px;padding:21px 0;border-bottom:1px solid var(--line);font-size:12px}.department-line>span:last-child{margin-left:auto;color:#69745f;font-size:10px}.member-card{border-top:1px solid var(--line);padding:20px 0}.member-card summary{display:flex;align-items:center;gap:13px;cursor:pointer;list-style:none}.member-card summary::-webkit-details-marker{display:none}.member-card strong{font-size:12px}.member-card small{display:block;font-size:10px;color:#69745f;overflow-wrap:anywhere}.member-card summary>span:nth-child(2){min-width:0}.expand{margin-left:auto;color:#98aa86}.membership-form{padding-left:49px}.membership-form fieldset{border:0;padding:0}.membership-form legend{font-size:10px;margin-top:18px;color:#8b9d78}.skip-link{position:absolute;top:-80px;left:10px;background:#fff;padding:10px;z-index:20}.skip-link:focus{top:10px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-story{background:#193d33;color:#e7eddc;display:flex;flex-direction:column;justify-content:center;padding:10vw;position:relative;overflow:hidden}.auth-story h1{font-size:52px;max-width:440px;font-weight:500;line-height:1.2}.auth-story p{font-size:14px;color:#afc2ab;max-width:340px}.auth-star{font-size:90px;color:#adbf8b;margin-bottom:30px}.auth-content{display:flex;align-items:center;justify-content:center;padding:40px 25px}.auth-card{width:100%;max-width:360px}.auth-card .brand{padding:0;margin-bottom:55px}.auth-card .brand>span{margin-bottom:0}.auth-card h1{font-size:28px}.auth-card .intro{margin-bottom:30px}.auth-card .full{justify-content:center}.auth-links{font-size:11px;color:#69745f;text-align:center;margin-top:22px}.auth-links a{text-decoration:underline}.auth-card .notice{font-size:11px}
@media(min-width:1500px){main{padding-top:48px}.hero{min-height:295px}.hero h2{font-size:36px}.hero-art{right:95px}.stats .stat{padding:26px}.home-columns .panel{min-height:310px}}
@media(max-width:1150px){.sidebar{width:215px;padding-left:14px;padding-right:14px}.workspace{margin-left:215px}main{padding:28px 26px 0}.topbar{padding:0 26px}.hero-art{right:-40px;opacity:.65}.hero h2{font-size:28px}.stat{padding:17px 12px;gap:9px}.stat-icon{width:28px;height:28px}.stat small{font-size:8px}.content-columns{grid-template-columns:minmax(0,1.5fr) 280px;gap:16px}.panel{padding:20px}.home-columns{gap:16px}.stat .arrow{display:none}}
@media(max-width:900px){.sidebar{width:190px;padding:28px 10px 18px}.workspace{margin-left:190px}.brand{padding:0 12px}.brand img{width:140px}.sidebar nav>a{font-size:11px;padding:12px 9px;gap:9px}.sidebar-note{padding:15px}.content-columns,.home-columns{grid-template-columns:1fr}.stats{gap:10px}.stat{display:block}.stat-icon{margin-bottom:10px}.hero{padding:26px;min-height:260px}.hero-art{right:-95px;opacity:.35}.stat strong{margin-top:5px}.topbar time{font-size:9px}.form-panel{max-width:none}.auth-story{padding:6vw}.auth-story h1{font-size:40px}}
@media(max-width:620px){.app-layout{display:block}.sidebar{position:relative;inset:auto;width:100%;padding:20px 18px 10px;border-right:0;border-bottom:1px solid var(--line)}.brand{padding:0;display:flex;align-items:center;gap:15px}.brand img{width:126px}.brand>span{margin:0;font-size:8px;letter-spacing:2px;border-left:1px solid var(--line);padding-left:15px}.nav-label,.sidebar-note,.account{display:none}.sidebar nav{flex-direction:row;gap:4px;overflow-x:auto;margin-top:18px}.sidebar nav>a{white-space:nowrap;padding:8px 11px;min-height:37px;font-size:10px;gap:6px}.nav-icon{font-size:16px;width:17px}.nav-count{font-size:9px}.sidebar-bottom{position:absolute;top:19px;right:18px;padding:0}.logout{margin:0;font-size:10px}.workspace{margin-left:0}.topbar{height:50px;padding:0 20px;font-size:10px}.topbar time{font-size:8px}.slash{margin:0 6px}main{padding:27px 18px 0}.page-heading{margin-bottom:23px}h1{font-size:28px;letter-spacing:-1px}.intro{font-size:11px;max-width:300px}.heading-mark{display:none}.hero{min-height:248px;padding:26px 24px}.hero h2{font-size:26px}.hero p{font-size:10px}.hero-art{right:-128px;top:40px;opacity:.22}.stats{gap:8px;margin-bottom:20px}.stat{padding:14px 10px;border-radius:8px}.stat>span:nth-child(2){font-size:9px}.stat-icon{width:27px;height:27px;font-size:17px;margin-bottom:12px}.stat strong{font-size:26px;margin:9px 0 0}.stat small{font-size:8px;line-height:1.5;margin-top:6px}.panel{padding:19px}.section-head h2{font-size:16px}.section-head .eyebrow{font-size:8px}.page-footer{font-size:7px;gap:12px;margin-top:25px}.content-columns{gap:20px}.shopping-reminder{padding:14px;font-size:10px;align-items:flex-start}.shopping-reminder>span{flex-shrink:0}.shopping-reminder p{font-size:9px}.filters{gap:8px}.filters label{min-width:100px}.filters button{font-size:10px}.item-heading{align-items:flex-start}.item-heading h3{font-size:12px}.row-meta{font-size:9px}.membership-form{padding-left:0}.auth-layout{display:block}.auth-story{display:none}.auth-content{min-height:100vh;padding:40px 25px}.auth-card .brand{display:block}.auth-card .brand span{margin-top:15px;border:0;padding:0}.auth-card .brand img{width:155px}}
@media(prefers-reduced-motion:no-preference){button,a{transition:background .15s,filter .15s}}

body.auth-layout{margin:0} .auth-content{max-width:none;margin:0} .row-content a{color:#446d36;text-decoration:underline}

.ui-icon{width:20px;height:20px;display:block;stroke:currentColor;fill:none;stroke-width:1.6}.nav-icon .ui-icon{margin:auto}

/* Purchase entry comes first in reading, keyboard, and mobile order. */
.shopping-columns{grid-template-columns:minmax(300px,1fr) minmax(0,1.9fr)}
.shopping-list-panel .shopping-reminder{margin-bottom:20px;padding:15px}
.duplicate-notice{margin-top:14px;padding:14px;border:1px solid #dfc998;border-radius:7px;background:#fff6df;color:#76571f;font-size:14px;line-height:1.6}
.duplicate-notice[hidden]{display:none}
.mobile-profile{display:none!important}
/* 16px fields prevent focus zoom in iOS while preserving pinch-to-zoom. */
input,select,textarea,.filters input,.filters select{font-size:16px}
input::placeholder,textarea::placeholder{font-size:inherit}
@media(max-width:900px){
  body{font-size:16px;line-height:1.6}
  .shopping-columns{grid-template-columns:minmax(0,1fr)}
  h2,.section-head h2{font-size:20px}
  h3,.row-content h3,.item-heading h3{font-size:16px}
  .intro,.muted,.notes,.empty-small,.empty p,.auth-story p{font-size:15px}
  .eyebrow,.section-head .eyebrow{font-size:11px;letter-spacing:1.3px}
  form label,.filters label{font-size:15px}
  form label>span,.field-help,.checkbox-label{font-size:13px}
  input,select,textarea,.filters input,.filters select{font-size:16px;min-height:48px}
  textarea{min-height:110px}
  input[type=checkbox]{min-height:20px;width:20px;height:20px}
  .checkbox-label{gap:12px;margin-top:22px}
  .row-meta,.badge,.count-label,.soft-note,.shopping-reminder p,.member-card small,.department-line>span:last-child{font-size:13px}
  .shopping-reminder strong,.member-card strong,.department-link,.department-line{font-size:15px}
  button,.button,.filters button,.section-head a{font-size:14px;min-height:44px}
  .check-button,.purchase-action .check-button{width:44px;height:44px;min-height:44px;color:#61784d;font-size:20px}
  .quiet-button{font-size:13px;min-height:44px;padding:8px 12px}
  .purchase-action{font-size:14px;gap:12px}
  .list-row{gap:12px}
  .filters label{min-width:125px}
  .filters{gap:14px}
  .page-footer{font-size:11px;flex-wrap:wrap}
  .hero p{font-size:15px;max-width:270px}
  .button.cream{font-size:14px;min-height:44px}
  .hero .badge.light{font-size:10px}
  .account small,.logout{font-size:13px}
}
@media(max-width:620px){
  .sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;gap:6px;margin-top:20px}
  .sidebar nav>a{font-size:13px;padding:11px 8px;min-height:44px;white-space:normal;line-height:1.4}
  .mobile-profile{display:flex!important}
  .nav-icon{width:20px;flex-shrink:0}
  .nav-count{font-size:12px}
  .sidebar-bottom{top:22px}
  .logout{font-size:12px}
  .topbar{font-size:12px;height:55px;gap:12px}
  .topbar time{font-size:11px}
  .intro{font-size:15px;max-width:none}
  .panel{padding:20px}
  .section-head{flex-wrap:wrap}
  .hero{padding:25px 22px;min-height:275px}
  .hero h2{font-size:27px}
  .stats{grid-template-columns:1fr;gap:10px}
  .stat{display:flex;align-items:center;gap:15px;padding:17px 18px}
  .stat-icon{width:40px;height:40px;margin:0;flex-shrink:0}
  .stat>span:nth-child(2){flex:1;display:grid;grid-template-columns:1fr auto;column-gap:15px;font-size:15px}
  .stat strong{grid-column:2;grid-row:1 / 3;align-self:center;font-size:29px;margin:0}
  .stat small{font-size:13px;margin-top:3px}
  .shopping-reminder{align-items:flex-start}
  .shopping-reminder>span{flex-shrink:0}
  .badge{font-size:12px}
  .row-meta{gap:9px;font-size:13px}
  .item-heading{gap:8px;flex-wrap:wrap}
  .auth-card .intro{font-size:15px}
  .auth-links,.auth-card .notice{font-size:14px}
}
input,select,textarea{min-width:0;max-width:100%}

/* List screens show the work; dedicated add pages keep entry one tap away. */
.heading-content{flex:1;min-width:0}
.title-row{display:flex;align-items:center;justify-content:space-between;gap:18px}
.title-row h1{margin-bottom:0}
.title-row{margin-bottom:10px}
.add-button{width:46px;height:46px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:var(--green);color:white;border-radius:10px;font-size:29px;line-height:1}
.add-button:hover{background:#2a5142}
.list-page>.panel{width:100%}
.compose-panel{max-width:650px;margin:0 auto}
.back-link{display:inline-flex;align-items:center;min-height:44px;margin-bottom:15px;color:#42643b;font-size:14px}
.duplicate-notice{background:#fff0ef;color:#a12828;border-color:#e7a9a4}
.mobile-menu{display:none}
@media(max-width:900px){
  .app-layout{display:block}
  .sidebar{position:relative;inset:auto;width:100%;padding:22px 20px;border-right:0;border-bottom:1px solid var(--line);display:block;min-height:82px}
  .sidebar .brand{padding:0;display:flex;align-items:center;gap:15px;max-width:calc(100% - 88px)}
  .sidebar .brand img{width:126px;max-width:100%}
  .sidebar .brand>span{margin:0;font-size:8px;letter-spacing:2px;border-left:1px solid var(--line);padding-left:15px}
  .sidebar>.nav-label,.sidebar>.desktop-nav,.sidebar>.sidebar-bottom{display:none}
  .workspace{margin-left:0}
  .mobile-menu{display:block;position:static}
  .mobile-menu summary{position:absolute;right:18px;top:19px;display:flex;gap:7px;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;border-radius:7px;background:#edf2e5;color:#284e3b;cursor:pointer;list-style:none;font-size:13px;font-weight:600}
  .mobile-menu summary::-webkit-details-marker{display:none}
  .mobile-menu summary .ui-icon{width:20px;height:20px;stroke-width:2}
  .sidebar .mobile-menu nav{position:absolute;top:75px;left:18px;right:18px;z-index:20;display:flex;flex-direction:column;gap:4px;margin:0;padding:14px;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 15px 35px #193d3326;max-height:calc(100dvh - 100px);overflow:auto}
  .sidebar .mobile-menu:not([open]) nav{display:none}
  .sidebar .mobile-menu nav>a{display:flex;font-size:15px;white-space:normal;padding:12px;gap:13px;min-height:46px}
  .sidebar .mobile-menu .mobile-menu-logout{border-top:1px solid var(--line);border-radius:0;margin-top:10px;padding-top:18px;color:#8b3c34}
  .sidebar .mobile-menu .nav-count{margin-left:auto}
  .list-page .compose-panel{max-width:none}
}
@media(max-width:390px){.sidebar .brand>span{display:none}.sidebar .brand img{width:130px}}
.notice.error{background:#fff0ef;border-color:#e7a9a4;color:#a12828}

/* Separate tools from the result cards on every list screen. */
.list-page .filter-card{background:#f0f4e9;border-color:#dce5d1;margin-bottom:24px;box-shadow:0 3px 10px #193d3305}
.filter-card .section-head{margin-bottom:16px}
.filter-card h2{font-size:16px;color:#385133}
.filter-card .filters{padding-bottom:0;border-bottom:0;gap:12px}
.filter-card .filters label{font-size:13px;color:#54664a}
.filter-card .reset-link{display:inline-flex;align-items:center;min-height:44px;font-size:13px;color:#49643d;text-decoration:underline;padding:0 6px}
.maintenance-location{font-size:13px;color:#56664c;margin:10px 0}
.maintenance-actions{display:flex;align-items:flex-start;flex-wrap:wrap;gap:16px;margin-top:18px}
.maintenance-actions form>button{margin-top:0}
.assign-request{border:1px solid #dce5d1;border-radius:7px;padding:0 14px;max-width:420px;flex:1;min-width:220px}
.assign-request summary{cursor:pointer;min-height:42px;display:list-item;padding:10px 0;font-size:13px;color:#3f5b36}
.assign-request form{padding-bottom:16px}
.assign-request form>button{margin-top:18px}
.maintenance-shortcut{display:flex;align-items:center;gap:16px;margin-bottom:24px;padding:18px 24px}
.maintenance-shortcut>span:last-child{margin-left:auto;color:#647957;font-size:12px}
.maintenance-shortcut strong{font-size:14px;display:block}
.maintenance-shortcut small{font-size:12px;color:#69745f;display:block}
@media(max-width:900px){
  .filter-card h2{font-size:19px}
  .filter-card .filters label{font-size:15px}
  .filter-card .reset-link,.maintenance-location,.assign-request summary{font-size:14px}
  .maintenance-actions form>button{min-height:44px}
  .assign-request summary{min-height:44px}
  .maintenance-shortcut{padding:18px;flex-wrap:wrap}
  .maintenance-shortcut strong{font-size:16px}
  .maintenance-shortcut small,.maintenance-shortcut>span:last-child{font-size:13px}
}

/* Small list controls replace the shopping/to-do search cards. */
.list-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.list-controls label{margin:0;font-size:12px;color:#58664f;flex:0 1 210px}
.list-controls select{margin-top:5px;min-height:42px;font-size:14px}
.list-controls button{margin:0;min-height:42px}
@media(max-width:900px){
  .list-controls label{font-size:14px;flex:1 1 145px}
  .list-controls select{font-size:16px;min-height:46px}
  .list-controls button{min-height:46px}
}
@media(min-width:901px){
  .sidebar{width:284px}
  .workspace{margin-left:284px}
  .sidebar .nav-icon{flex-shrink:0}
}

.stock-notice{margin-top:14px;padding:13px;border-radius:7px;background:#eef3e5;color:#48613c;font-size:14px;line-height:1.6}
.stock-notice.stocked-warning,.badge.red{background:#fff0ef;color:#a12828}
.stock-notice.stocked-warning{border:1px solid #e7a9a4}
.stock-notice[hidden]{display:none}
.inventory-note{margin:0 0 22px;font-size:13px}
.inline-editor{max-width:540px;margin-top:16px}
.inline-editor summary,.history summary{font-size:13px;color:#45653a;min-height:44px;padding:12px 0;cursor:pointer}
.inline-editor form{padding:4px 0 20px}
.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-pair input,.form-pair select{margin-top:6px}
.facility-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin-bottom:24px}
.facility-shortcuts strong{display:block;font-size:14px}
.facility-shortcuts small{display:block;font-size:12px;color:#69745f;margin-top:6px}
.library-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px;font-size:13px;color:#65755a}
.library-toolbar button{margin:0}
.share-selector{border:1px solid var(--line);border-radius:7px;padding:16px;margin-top:22px}
.share-selector legend{font-size:14px;font-weight:600}
.share-selector .checkbox-label{font-size:14px}
.reference-detail h2{margin:16px 0}
.reference-body{white-space:pre-wrap;overflow-wrap:anywhere;font:15px/1.8 var(--font);background:#f4f6ef;padding:20px;border-radius:7px;user-select:text}
#reference-body{min-height:230px}
@media(max-width:900px){
  .facility-shortcuts strong{font-size:16px}
  .facility-shortcuts small,.inventory-note{font-size:14px}
  .inline-editor summary,.history summary{font-size:15px}
  .reference-body{font-size:16px;padding:16px}
  .library-toolbar{font-size:14px;flex-wrap:wrap}
}
@media(min-width:901px){.sidebar{overflow-y:auto}.sidebar nav>a{font-size:12px}.sidebar .brand>span{margin-bottom:28px}.sidebar nav{gap:3px}.sidebar nav>a{padding-top:10px;padding-bottom:10px;min-height:41px}.sidebar-bottom{padding-top:24px}.sidebar-note{display:none}}
