:root{color:#1c241d;font-synthesis:none;text-rendering:optimizelegibility;background:#f6f3ea;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,a,input,select,textarea{font:inherit}.appShell{min-height:100vh;padding:18px 16px 88px}.topBar{align-items:center;gap:12px;margin-bottom:20px;display:flex}.brandMark{width:46px;height:46px}.eyebrow{color:#59655d;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:700}h1,h2,p{margin-top:0}h1{margin-bottom:0;font-size:1.9rem;line-height:1}h2{margin-bottom:0;font-size:1.1rem}.summaryPanel{background:#d8d1bd;border:1px solid #d8d1bd;border-radius:8px;grid-template-columns:1fr 1fr;gap:1px;margin-bottom:22px;display:grid;overflow:hidden}.summaryPanel>div{background:#fffaf0;padding:16px}.metric{color:#2f7d32;font-size:1.8rem;font-weight:800;display:block}.metricLabel{color:#59655d;font-size:.9rem}.sectionBlock{margin-bottom:24px}.sectionHeader{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.iconButton,.secondaryButton,.primaryButton,.dangerButton,.textButton{color:#fff;background:#2f7d32;border:1px solid #2f7d32;border-radius:8px;font-weight:800}button:disabled{cursor:wait;opacity:.68}.iconButton{width:42px;height:42px;font-size:1.5rem;line-height:1}.secondaryButton{min-height:40px;padding:0 14px}.primaryButton,.dangerButton,.textButton{min-height:42px;padding:0 14px}.primaryButton{background:#2f7d32}.dangerButton{background:#b43b2f;border-color:#b43b2f}.textButton{color:#2f7d32;background:0 0;border-color:#0000}.emptyState{color:#59655d;background:#fffaf0;border:1px dashed #bdb39c;border-radius:8px;margin:0;padding:14px;line-height:1.45}.searchBox{gap:6px;margin-bottom:12px;display:grid}.searchBox span{color:#59655d;font-size:.82rem;font-weight:800}.searchBox input{color:#1c241d;background:#fffaf0;border:1px solid #d8d1bd;border-radius:8px;outline:none;width:100%;min-height:44px;padding:0 12px}.searchBox input:focus{border-color:#2f7d32;box-shadow:0 0 0 3px #2f7d3229}.categoryTabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px;display:grid}.categoryTab{color:#1c241d;text-align:left;background:#fffaf0;border:1px solid #d8d1bd;border-radius:8px;justify-content:space-between;align-items:center;gap:8px;min-height:48px;padding:8px 10px;display:flex}.categoryTab span{text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.categoryTab small{color:#59655d;background:#ebe4d2;border-radius:999px;justify-content:center;align-items:center;min-width:28px;height:24px;font-size:.78rem;font-weight:800;display:inline-flex}.categoryTab.isActive{color:#fff;background:#2f7d32;border-color:#2f7d32}.categoryTab.isActive small{color:#fff;background:#ffffff2e}.productList{gap:14px;display:grid}.productCategoryGroup{gap:6px;display:grid}.productCategoryTitle{color:#59655d;margin:0;font-size:.82rem;font-weight:900}.productCategoryRows{gap:8px;display:grid}.marketDayList{gap:14px;display:grid}.marketDayGroup{gap:6px;display:grid}.marketDayGroupTitle{color:#59655d;margin:0;font-size:.82rem;font-weight:900}.marketDayGroupRows{gap:8px;display:grid}.productRow{min-height:66px;color:inherit;text-align:left;background:#fffaf0;border:1px solid #d8d1bd;border-radius:8px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:8px 10px;display:grid}.productRow:focus-visible{outline-offset:2px;outline:3px solid #2f7d3233}.marketDayRow{min-height:66px;color:inherit;text-align:left;background:#fffaf0;border:1px solid #d8d1bd;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;padding:10px 12px;display:grid}.marketDayRow:focus-visible{outline-offset:2px;outline:3px solid #2f7d3233}.marketDayRow h3{color:#1c241d;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.98rem;line-height:1.2;overflow:hidden}.marketDayRow p{color:#59655d;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:.82rem;line-height:1.2;overflow:hidden}.marketDayProductCount{color:#59655d;white-space:nowrap;background:#ebe4d2;border-radius:999px;justify-content:center;align-items:center;min-height:28px;padding:0 9px;font-size:.74rem;font-weight:900;display:inline-flex}.statusBadge{color:#59655d;white-space:nowrap;background:#ebe4d2;border-radius:999px;align-items:center;min-height:24px;padding:0 8px;font-size:.74rem;font-weight:900;display:inline-flex}.compactHeader{margin-bottom:8px}.compactHeader h3{margin:0;font-size:.98rem}.compactHeader span{color:#59655d;font-size:.82rem;font-weight:900}.sectionHeaderActions{align-items:center;gap:8px;display:flex}.compactTextButton{min-height:32px;padding:0 8px;font-size:.78rem}.compactEmptyState{margin-bottom:10px;padding:10px}.marketDayDetailMeta{grid-template-columns:1fr;gap:10px;margin-bottom:12px;display:grid;overflow:hidden}.marketDayDetailMeta>div{background:#fffdf7;border:1px solid #d8d1bd;border-radius:8px;gap:4px;padding:10px;display:grid}.marketDayDetailMeta span{color:#59655d;font-size:.74rem;font-weight:800}.marketDayDetailMeta p{color:#1c241d;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.9rem;font-weight:400;overflow:hidden}.detailNote{background:#fffdf7;border:1px solid #d8d1bd;border-radius:8px;gap:4px;margin:0 0 12px;padding:10px;display:grid}.detailNote span{color:#59655d;font-size:.74rem;font-weight:800}.detailNote p{color:#59655d;margin:0;line-height:1.4}.marketDayItemsPanel{border-top:1px solid #d8d1bd;margin:16px 0;padding-top:14px}.marketDayItemList{gap:12px;margin-bottom:12px;display:grid}.marketDayItemCategoryGroup{gap:6px;display:grid}.marketDayItemCategoryTitle{color:#59655d;margin:0;font-size:.78rem;font-weight:900}.marketDayItemCategoryRows{gap:6px;display:grid}.marketDayItemCard{background:#fffdf7;border:1px solid #d8d1bd;border-radius:8px;overflow:hidden}.marketDayItemCard.isSelected{border-color:#2f7d32;box-shadow:0 0 0 2px #2f7d321a}.marketDayItemSummary{width:100%;color:inherit;text-align:left;background:0 0;border:0;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;display:grid}.marketDayItemSummary.isReadonly{cursor:default}.marketDayItemSummary .productIcon{width:36px;height:36px;font-size:1.35rem}.marketDayItemName{min-width:0}.marketDayItemName h4{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.92rem;line-height:1.2;overflow:hidden}.marketDayItemSpecialization{color:#59655d;text-overflow:ellipsis;white-space:nowrap;margin:3px 0 0;font-size:.74rem;line-height:1.15;overflow:hidden}.marketDayItemPrice{justify-items:end;gap:2px;min-width:72px;display:grid}.marketDayItemPrice strong{color:#2f7d32;white-space:nowrap;font-size:.86rem}.marketDayItemPrice small{color:#59655d;white-space:nowrap;font-size:.72rem}.marketDayItemDetails{border-top:1px solid #e5ddca;padding:10px}.itemActions{justify-content:space-between;gap:8px;display:flex}.addMarketDayItem{border:1px dashed #bdb39c;border-radius:8px;padding:10px}.fullWidthButton{width:100%}.productIcon{background:#f2ead7;border-radius:8px;place-items:center;width:48px;height:48px;font-size:1.8rem;line-height:1;display:grid}.productContent{min-width:0}.productContent h3{color:#1c241d;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:.96rem;line-height:1.2;overflow:hidden}.countryCode{vertical-align:-2px;background:#f2ead7;border-radius:999px;place-items:center;width:24px;height:24px;margin-left:6px;font-size:1rem;line-height:1;display:inline-grid}.productContent p{color:#59655d;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:.82rem;line-height:1.2;overflow:hidden}.productMeta{justify-items:end;gap:3px;min-width:68px;display:grid}.productMeta span{color:#2f7d32;white-space:nowrap;font-size:.9rem;font-weight:900}.productMeta small{color:#59655d;white-space:nowrap;font-size:.74rem}.editorOverlay{z-index:10;background:#1c241d61;align-items:flex-end;padding:16px;display:flex;position:fixed;inset:0}.productEditor{background:#fffaf0;border:1px solid #d8d1bd;border-radius:8px;width:100%;max-height:calc(100vh - 32px);padding:16px;overflow:auto;box-shadow:0 16px 38px #1c241d38}.editorHeader,.editorActions{justify-content:space-between;align-items:center;gap:10px;display:flex}.editorHeader{margin-bottom:14px}.editorActions{background:#fffaf0;border-top:1px solid #d8d1bd;margin:14px -16px -16px;padding:12px 16px;position:sticky;bottom:-16px}.compactActions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;display:grid}.compactActions .secondaryButton,.compactActions .primaryButton,.compactActions .dangerButton{text-overflow:ellipsis;white-space:nowrap;width:100%;min-width:0;min-height:38px;padding:0 4px;font-size:.78rem;overflow:hidden}.field,.fieldGrid{margin-bottom:12px}.field{gap:6px;display:grid}.fieldGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.field span{color:#59655d;font-size:.78rem;font-weight:800}.field input,.field select,.field textarea{color:#1c241d;background:#fffdf7;border:1px solid #d8d1bd;border-radius:8px;width:100%;min-height:42px;padding:8px 10px}.field input[type=color]{padding:4px}.field textarea{resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#2f7d32;outline:none;box-shadow:0 0 0 3px #2f7d3229}.datePickerControl{position:relative}.dateDisplayButton{color:#1c241d;text-align:left;background:#fffdf7;border:1px solid #d8d1bd;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:42px;padding:8px 10px;display:flex}.dateDisplayButton span:last-child{color:#59655d;font-size:.86rem;font-weight:900}.dateDisplayButton:focus-visible{border-color:#2f7d32;outline:none;box-shadow:0 0 0 3px #2f7d3229}.nativeDateInput{opacity:0;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.formError{color:#8f2d22;background:#fff1ee;border:1px solid #e5b8b1;border-radius:8px;margin:0 0 12px;padding:10px;font-size:.88rem}.bottomNav{background:#fffaf0;border-top:1px solid #d8d1bd;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0;left:0;right:0}.bottomNav button{color:#59655d;background:0 0;border:0;justify-content:center;align-items:center;min-height:64px;font-size:.88rem;font-weight:700;display:flex}.bottomNav button[aria-current=page]{color:#2f7d32}@media (width>=720px){.appShell{max-width:560px;margin:0 auto}.categoryTabs{grid-template-columns:repeat(5,minmax(0,1fr))}.productEditor{max-width:560px;margin:0 auto}}
