:root{--bg:#f7f7f4;--ink:#222b25;--green:#283d32;--muted:#687268;--line:#e3e7df;--soft:#e8eee4}body{overflow-wrap:break-word}.ui-icon{flex:none;vertical-align:middle;pointer-events:none}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}h1,.page-head h1{font-family:inherit;font-weight:650;font-size:28px;letter-spacing:-.8px;margin:4px 0}.page-head{margin-bottom:20px;gap:14px}.page-head p{margin:7px 0 0}.brand{font-size:22px;gap:5px}.brand>span{font-weight:450;color:var(--muted)}main{padding:28px 36px 60px;max-width:1200px}.topbar{height:58px;padding:0 36px;background:transparent;border:0;font-size:13px}.connection-state{font-size:11px;color:var(--muted)}.sidebar{width:210px;padding:28px 16px}.workspace{margin-left:210px;width:calc(100% - 210px);min-width:0}.sidebar nav{margin-top:10px}.sidebar .workplace{margin:25px 0 18px}.sidebar nav button{min-height:46px;font-size:14px;gap:12px}.sidebar nav button>span:not(.badge){display:inline}.card{padding:18px;border-radius:12px;margin-bottom:14px}.card-head{padding-bottom:12px}.btn{min-height:44px;border-radius:10px}.text-btn{min-height:36px}.actions{flex-wrap:wrap}.empty-state,.loading-state{padding:24px 8px;font-size:14px;color:var(--muted);line-height:1.6}.today-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.today-head .eyebrow{letter-spacing:.5px;margin:0 0 4px;font-size:12px;text-transform:none}.today-location{font-size:12px;color:var(--muted)}.today-progress{display:flex;align-items:center;gap:18px;margin-bottom:20px}.today-progress .work-count{font-size:12px;white-space:nowrap}.today-progress progress{appearance:none;height:6px;flex:1;min-width:0;border:0;border-radius:20px;overflow:hidden;background:var(--soft)}progress::-webkit-progress-bar{background:var(--soft)}progress::-webkit-progress-value{background:#66825f;border-radius:20px}.work-fold{margin:10px 0;border-color:var(--line);border-radius:13px}.work-fold>summary,.work-fold-main>summary{padding:16px;gap:12px}.work-fold>summary strong{font-size:16px;font-weight:620}.work-fold>summary .work-count{display:block;font-size:11px;color:var(--muted);margin-top:4px}.fold-copy{flex:1;min-width:0}.fold-icon{width:27px;display:grid;place-items:center;color:#627b5b}.fold-arrow{font-size:19px}.work-fold-body{padding:3px 14px 12px}.work-fold-section{border:0;background:#f5f7f2;margin:8px 0}.work-fold-section>summary{padding:13px 12px}.work-fold-section>summary strong{font-size:14px}.work-fold-section .work-fold-body{padding:2px 12px 8px;background:#fff;border-radius:0 0 10px 10px}.task-details{gap:2px;border:0;min-height:46px}.task-details .task,.task-details .task:last-child{min-height:46px;padding:10px 0;border:0;gap:12px;background:transparent}.task-details .task b{font-weight:450;font-size:14px;line-height:1.5}.task .box{width:23px;height:23px;border-radius:50%;border:1.5px solid #b9c6b2;font-size:13px;background:transparent}.task.done .box{background:var(--green);color:white;border-color:var(--green)}.task.done b{color:#788174;text-decoration:line-through}.task-info{display:grid;place-items:center;border:0;background:transparent;color:#7a8675;width:42px;height:44px;flex:none;border-radius:10px}.task-info:hover{background:var(--soft)}.task .task-copy{flex:1}.sync-dot{height:5px;width:5px;background:#b18b49;border-radius:50%;margin-left:auto;flex:none}.sync-dot[hidden]{display:none}.sync-note{font-size:12px;line-height:1.5;padding:9px 12px;background:#edf1e6;border-radius:10px;display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:15px}.sync-note:empty{display:none}.sync-warning{color:#765725;background:#fff3db}.sync-review-row{padding:12px 0;border-bottom:1px solid var(--line)}.sync-review-row p{font-size:12px}.sync-review-row button{margin:5px}.reminder-icon{color:var(--muted);width:24px}.reminder-title{padding-left:7px!important}.closing-fold>summary{background:#fafbf8}.special-group>.work-fold{border-color:#e2d4b0;background:#fffcf5}.task small.overdue{font-size:11px;color:#925432}.compact-directory{border-top:1px solid var(--line);margin:18px 0 26px}.directory-row{border:0;border-bottom:1px solid var(--line);display:flex;align-items:center;text-align:left;gap:14px;min-height:64px;width:100%;padding:13px 2px;background:transparent;color:var(--ink);font-size:14px}.directory-row>strong,.directory-row>span:not(.person-initial){flex:1;min-width:0}.directory-row strong{display:block;font-size:14px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.directory-row small{display:block;color:var(--muted);font-size:12px;margin-top:4px}.directory-row>.ui-icon:last-child{margin-left:auto;color:#899281}.directory-row:hover{background:#eff3e9}.account-block{margin:26px 0}.account-block h2{margin-bottom:5px}.person-initial{width:38px;height:38px;display:grid;place-items:center;background:var(--soft);border-radius:50%;font-size:15px;color:var(--green)}.profile-actions{display:grid;gap:10px;margin-top:18px}.library-tabs{margin:12px 0}.recipe-nav{gap:6px}.recipe-nav .btn{font-size:12px}.library-management{border:0;padding:4px 0 8px;margin-bottom:8px}.library-management>summary{font-size:12px;color:var(--muted)}.library-management .actions{padding-top:10px}.library-filters{display:flex;gap:10px;margin:16px 0}.library-filters label{min-width:0}.library-filters .search-field{flex:1}.library-filters input{width:100%;margin:0}.library-filters select{max-width:170px;margin:0;font-size:13px;min-height:44px}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.product-row{border:0;border-bottom:1px solid var(--line);background:transparent;display:flex;align-items:center;gap:13px;text-align:left;padding:13px 0;min-height:80px;width:100%;color:var(--ink)}.product-row img,.product-placeholder{width:56px;height:56px;border-radius:11px;object-fit:cover;flex:none}.product-placeholder{display:grid;place-items:center;background:#eaf0e4;color:#8a9b7d}.product-copy{flex:1;min-width:0}.product-copy strong{display:block;font-size:14px;font-weight:600;line-height:1.5}.product-copy small{font-size:11px;color:var(--muted);display:block;margin-top:4px}.product-row>.ui-icon{color:#9aa28e}.product-row:hover{background:#eff3e9}.draft-strip{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#80633b;padding:7px 0;gap:12px}.draft-strip .actions{gap:10px}.history-row,.knowledge-row{padding:14px 0;border-bottom:1px solid var(--line)}.history-row>summary,.knowledge-row>summary{font-size:14px;line-height:1.6}.history-row small,.knowledge-row small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.knowledge-row .guide-body{white-space:normal}.record-section{margin-top:28px}.record-date select{margin:0;font-size:13px}.stock-category>h3{font-size:13px;color:var(--green);padding:10px 0}.stock-item{border:0;border-bottom:1px solid var(--line);padding:8px 0 14px;margin:10px 0 18px;border-radius:0}.stock-item legend{font-size:14px}.stock-count-row{display:flex;align-items:center;gap:18px}.stock-count-row label:first-child{flex:1;margin-bottom:8px}.stock-replenish{display:flex!important;align-items:center;gap:8px;font-size:12px!important;white-space:nowrap}.stock-replenish input{width:19px;height:19px;margin:0}.stock-item small{font-size:11px;color:var(--muted)}.stock-item details{border:0;padding:8px 0 0}.stock-item details summary{font-size:11px;color:var(--muted)}.stock-review{background:var(--soft);padding:14px;border-radius:10px}.stock-review h3{font-size:14px}.stock-review p{font-size:12px}.chat-inbox-row{padding:12px 18px}.chat-inbox-head{padding:16px 18px}.chat-layout{min-width:0}.chat-thread-head{padding:12px 15px}.chat-jump{position:absolute;bottom:85px;right:22px;font-size:12px;z-index:3}.chat-thread{position:relative}.chat-composer textarea{font-size:16px}.chat-back,.chat-new,.reaction-open{min-width:44px;min-height:44px}dialog{max-height:calc(var(--app-height,100dvh) - 24px);width:560px;max-width:calc(100% - 24px);overflow:hidden}#modal{display:flex;flex-direction:column;max-height:calc(var(--app-height,100dvh) - 26px)}.dialog-head{flex:none;padding:18px 20px}.dialog-body{min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;padding:18px 20px}.dialog-foot{flex:none;padding:12px 20px calc(12px + env(safe-area-inset-bottom));background:white}.dialog-head h2{font-size:17px}.dialog-body fieldset{min-width:0}.recipe-edit-variant{border-radius:10px;padding:12px}.recipe-edit-variant summary{font-weight:600}img{max-width:100%}
@media(max-width:800px){.sidebar{width:100%;padding:12px 16px 8px;background:transparent;border:0;position:static}.brand{font-size:18px}.workspace{width:100%;margin:0}.sidebar nav{display:flex;position:fixed;bottom:0;left:0;right:0;padding:5px 12px calc(5px + env(safe-area-inset-bottom));margin:0;min-height:62px;box-shadow:none;background:#fffffff5;border-top:1px solid var(--line);z-index:30;gap:8px}.sidebar nav button{font-size:10px;gap:3px;min-height:48px;min-width:0;flex:1;padding:5px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column}.sidebar nav button::before{display:none!important}.sidebar nav button .ui-icon{display:block!important;width:21px;height:21px}.sidebar nav button>span:not(.badge){display:block!important}.sidebar nav button .badge{transform:none;right:12%;top:3px;font-size:9px;position:absolute;margin:0}.topbar{display:none}main{padding:10px 16px calc(85px + env(safe-area-inset-bottom));min-height:0}h1,.page-head h1{font-size:26px}.page-head{margin-bottom:16px}.today-head{margin-bottom:12px}.work-fold>summary{padding:14px}.today-progress{margin-bottom:16px}.work-fold-section>summary{padding:12px 10px}.product-grid{grid-template-columns:1fr}.library-filters{gap:8px}.library-filters select{max-width:135px;font-size:12px}.library-filters input,.dialog-body input,.dialog-body textarea,.dialog-body select{font-size:16px}.recipe-nav .btn{min-height:42px;padding:8px 12px}.card{padding:16px}.chat-layout.chat-inbox,.chat-layout.chat-thread{height:calc(var(--app-height,100dvh) - 132px - env(safe-area-inset-bottom));min-height:200px;border:0;border-radius:12px}.chat-inbox-head h1{font-size:23px}.chat-thread-title small{font-size:10px}.chat-thread .chat-avatar.big{width:34px;height:34px}.chat-composer{padding:10px;gap:8px}.chat-send{min-width:44px;min-height:44px}.keyboard-open .sidebar nav{display:none}.keyboard-open main{padding-bottom:8px}.keyboard-open .chat-layout.chat-thread{height:calc(var(--app-height,100dvh) - 62px);min-height:140px}.draft-strip{align-items:flex-start;flex-direction:column;gap:0}.form-error{padding:0;font-size:12px}.dialog-body{padding:16px}.dialog-head{padding:16px}.dialog-foot{padding-left:16px;padding-right:16px}.directory-row{min-height:64px}.work-step .routine-copy b{font-size:13px}.work-step .routine-copy small{font-size:11px}.work-step .move-controls .text-btn{min-width:30px}.recipe-metrics .card{padding:13px;min-height:90px}.recipe-metrics strong{font-size:24px}.recipe-metrics{gap:9px}}
@media(min-width:1200px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.edit-tools{display:flex;align-items:center;justify-content:flex-end;gap:5px;margin:0 0 12px}.edit-tools .btn{min-height:34px;padding:5px 9px;font-size:11px}.edit-tools .btn:last-child{margin-left:5px;color:#895842}.step-edit-row{padding:12px 0;border-bottom:1px solid var(--line);margin-bottom:12px}.step-edit-row textarea{min-height:72px}.step-edit-row details{border:0}.step-edit-row summary{font-size:12px}.editor-section{font-size:14px}.single-variant{font-size:12px;color:var(--muted);margin:10px 0}.ingredient-extra{padding:12px 0;margin:10px 0}.ingredient-extra summary{margin-bottom:14px}.profile-actions .btn{justify-content:flex-start}
.media-edit-fold,.review-question-fold{padding:12px 0;border:0;margin:10px 0}.media-edit-fold>summary,.review-question-fold>summary{font-size:13px;font-weight:600;color:var(--green)}.media-edit-fold .recipe-media-editor{border:0;padding:8px 0;margin:8px 0}.review-question-fold textarea{margin-top:12px}
