:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#291a12;background:#fff8f2;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--hatch-orange: #ff914d;--hatch-orange-dark: #bd4f0b;--hatch-cream: #fff8f2;--hatch-ink: #291a12;--hatch-muted: #796d66;--hatch-line: #f0e3da}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:var(--hatch-cream)}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}.auth-shell,.loading-shell{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:24px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}.auth-card{width:min(100%,430px);padding:clamp(24px,6vw,38px);border:1px solid #f4e8df;border-radius:28px;background:#fff;box-shadow:0 20px 65px #4f301e14}.hatch-logo{display:block;width:min(230px,70%);max-height:110px;object-fit:contain;margin:0 auto 20px}.eyebrow{color:var(--hatch-orange-dark);letter-spacing:.12em;font-size:.72rem;font-weight:800}.auth-card .eyebrow,.auth-card h1,.auth-card>.muted{text-align:center}.auth-card h1{margin:8px 0;font-size:clamp(1.8rem,7vw,2.2rem)}.muted{color:var(--hatch-muted);line-height:1.55}.login-form{display:grid;gap:16px;margin-top:24px}.login-form label{display:grid;gap:7px;color:var(--hatch-ink);font-weight:700;font-size:.93rem}input{width:100%;min-height:50px;border:1px solid #e7d9cf;border-radius:14px;background:#fff;padding:0 14px;outline:none;color:var(--hatch-ink)}input:focus{border-color:var(--hatch-orange);box-shadow:0 0 0 3px #ff914d29}.primary-button,.secondary-button{min-height:46px;border:0;border-radius:14px;padding:0 18px;font-weight:800}.primary-button{color:#fff;background:var(--hatch-orange-dark)}.primary-button:hover{background:#a64000}.secondary-button{color:var(--hatch-orange-dark);background:#fff4ea;border:1px solid #ffd4b9}.primary-button.compact{min-height:40px;white-space:nowrap}.error-message{margin:0;color:#b3261e;font-size:.9rem;line-height:1.45}.install-card{display:grid;gap:9px;margin-top:18px;padding:16px;border-radius:18px;background:#fff8f2;color:var(--hatch-ink)}.install-card span{color:var(--hatch-muted);font-size:.9rem;line-height:1.45}.orders-shell{width:min(100%,720px);min-height:100vh;min-height:100dvh;margin:0 auto;padding:0 18px calc(28px + env(safe-area-inset-bottom))}.app-header{position:sticky;z-index:2;top:0;display:flex;align-items:center;gap:12px;min-height:76px;padding:10px 0;background:#fff8f2f2;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--hatch-line)}.header-logo{width:96px;height:45px;object-fit:contain}.store-heading{flex:1;display:grid;gap:3px;min-width:0}.store-heading strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon-button{width:42px;height:42px;border:1px solid #f4d7c4;border-radius:50%;background:#fff;color:var(--hatch-orange-dark);font-size:1.4rem}.install-banner,.notification-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:14px;border-radius:18px}.install-banner{border:1px solid #f3d4bf;background:#fff}.notification-banner{border:1px solid #ffd3b3;background:#fff2e8}.install-banner p,.notification-banner p{margin:5px 0 0;color:var(--hatch-muted);font-size:.84rem;line-height:1.4}.inline-message{margin:10px 0 0;color:var(--hatch-muted);font-size:.86rem}.page-error{margin:14px 0}.live-orders,.order-detail{padding-top:26px}.section-heading,.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.live-title{display:flex;align-items:center;gap:10px}.live-title h1,.detail-heading h1{margin:0;font-size:1.8rem;letter-spacing:-.03em}.live-dot{width:11px;height:11px;border-radius:50%;background:#20a76a;box-shadow:0 0 0 5px #e2f5e9}.order-count{display:grid;place-items:center;min-width:34px;height:34px;padding:0 9px;border-radius:999px;background:#ffeadb;color:var(--hatch-orange-dark);font-weight:800}.order-list{display:grid;gap:12px}.order-card{display:grid;gap:12px;width:100%;text-align:left;padding:17px;border:1px solid var(--hatch-line);border-radius:19px;background:#fff;color:var(--hatch-ink);box-shadow:0 5px 18px #4f301e09}.order-card:active{transform:scale(.99)}.order-card-top,.order-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-card-top strong{font-size:1.05rem}.order-card-items{display:-webkit-box;overflow:hidden;color:#51433b;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical}.order-card-bottom{color:var(--hatch-muted);font-size:.82rem}.status-pill{display:inline-flex;align-items:center;padding:5px 10px;border-radius:99px;background:#fff0e3;color:var(--hatch-orange-dark);font-size:.72rem;font-weight:900;letter-spacing:.06em}.empty-state{margin-top:34px;padding:34px 20px;border:1px dashed #e6cdbb;border-radius:22px;background:#ffffffb8;text-align:center}.empty-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 14px;border-radius:50%;color:#188353;background:#e5f5ec;font-size:1.5rem;font-weight:900}.empty-state h2{margin:0 0 8px}.empty-state p{margin:0;color:var(--hatch-muted);line-height:1.5}.back-button{border:0;background:transparent;color:var(--hatch-orange-dark);padding:8px 0 20px;font-size:1.5rem}.back-button span{font-size:.95rem;font-weight:700;vertical-align:3px}.detail-heading{align-items:flex-start}.detail-heading .eyebrow{margin:0 0 6px}.detail-meta{color:var(--hatch-muted);font-size:.88rem}.collection-note{padding:13px 15px;border-left:3px solid var(--hatch-orange);border-radius:0 12px 12px 0;background:#fff;color:#51433b}.detail-items{display:grid;gap:10px;margin:20px 0}.detail-item{display:flex;align-items:center;gap:12px;min-height:82px;padding:10px;border:1px solid var(--hatch-line);border-radius:16px;background:#fff}.detail-item>img,.product-placeholder{width:60px;height:60px;flex:0 0 60px;border-radius:12px;object-fit:cover;background:#fff8f2}.product-placeholder{display:grid;place-items:center;font-size:1.6rem}.item-copy{flex:1;display:grid;gap:4px;min-width:0}.item-copy strong{overflow:hidden;text-overflow:ellipsis}.item-copy span{color:var(--hatch-muted);font-size:.82rem}.quantity{white-space:nowrap;color:var(--hatch-orange-dark)}.modal-backdrop{position:fixed;z-index:10;inset:0;display:grid;place-items:end center;padding:16px;background:#23181270}.install-modal{position:relative;width:min(100%,480px);padding:28px 22px 20px;border-radius:24px;background:#fff;box-shadow:0 14px 50px #0003}.install-modal h2{margin:0 36px 12px 0}.install-modal ol{padding-left:22px;color:#51433b;line-height:1.6}.install-modal li+li{margin-top:8px}.install-modal .primary-button{width:100%;margin-top:8px}.close-button{position:absolute;top:12px;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:#fff2e8;color:var(--hatch-orange-dark);font-size:1.5rem}.loading-shell{color:var(--hatch-muted);gap:14px}.loading-shell img{width:190px;max-height:90px;object-fit:contain}.spinner{width:28px;height:28px;border:3px solid #f1d7c5;border-top-color:var(--hatch-orange);border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(min-width:640px){.orders-shell{padding:0 28px 40px}.modal-backdrop{place-items:center}.install-modal{padding:30px}}.menu-toggle{font-size:1.15rem}.staff-menu{position:sticky;z-index:3;top:76px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px;margin:8px 0 0;border:1px solid var(--hatch-line);border-radius:17px;background:#fff;box-shadow:0 12px 30px #4f301e14}.staff-menu button{min-height:42px;border:0;border-radius:12px;color:var(--hatch-orange-dark);background:#fff8f2;font-weight:800}.staff-menu button.active{color:#fff;background:var(--hatch-orange-dark)}.staff-workspace{padding:24px 0 12px}.workspace-heading{align-items:flex-start}.workspace-heading h1{margin:4px 0 5px;font-size:1.8rem;letter-spacing:-.03em}.workspace-heading .eyebrow,.workspace-heading .muted{margin:0}.muted{color:var(--hatch-muted);line-height:1.5}.small-copy{font-size:.78rem}.workspace-subheading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.workspace-subheading h2,.add-general-list h2{margin:0;font-size:1.02rem}.workspace-subheading span{color:var(--hatch-muted);font-size:.82rem}.general-list-panel{margin:14px 0 20px;padding:15px;border:1px solid var(--hatch-line);border-radius:18px;background:#fff}.general-products,.staff-product-list{display:grid;gap:10px}.general-product-row,.staff-product-card{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;border:1px solid var(--hatch-line);border-radius:16px;background:#fff}.staff-product-image,.staff-product-placeholder{width:48px;height:48px;flex:0 0 48px;border-radius:12px;object-fit:cover;background:#fff2e8}.staff-product-placeholder{display:grid;place-items:center;color:var(--hatch-orange-dark);font-size:1.2rem;font-weight:900}.staff-product-copy{display:grid;min-width:0;gap:4px}.staff-product-copy strong{overflow:hidden;text-overflow:ellipsis}.staff-product-copy span{color:var(--hatch-muted);font-size:.82rem;line-height:1.35}.stock-good{color:#188353!important;font-weight:700}.out-of-stock-label{color:#b3261e!important;font-weight:700}.general-order-number{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:var(--hatch-orange-dark);background:#fff0e3;font-weight:900}.row-actions,.inventory-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.inventory-actions{grid-column:1 / -1;padding-top:3px}.small-outline-button,.small-text-button{min-height:34px;padding:0 10px;border:1px solid #f0d7c6;border-radius:10px;color:var(--hatch-orange-dark);background:#fff;font-size:.78rem;font-weight:800}.small-outline-button:disabled{opacity:.45}.small-text-button{border-color:transparent}.danger-text{color:#b3261e}.stock-stepper{display:flex;align-items:center;gap:8px;padding-right:4px}.stock-stepper strong{min-width:20px;text-align:center}.general-toggle,.checkbox-line{display:flex;align-items:center;gap:8px;color:var(--hatch-ink);font-size:.86rem;font-weight:700}.general-toggle input,.checkbox-line input{width:18px;min-height:18px;accent-color:var(--hatch-orange-dark)}.workspace-filter{display:flex;align-items:center;gap:12px;margin:12px 0}.workspace-filter input{flex:1;min-width:0}.workspace-filter span{white-space:nowrap;color:var(--hatch-muted);font-size:.78rem}.add-general-list{margin-top:22px}.add-general-list h2{margin:5px 2px}.empty-inline{margin:12px 0 3px;color:var(--hatch-muted)}.product-editor-modal{position:relative;width:min(100%,620px);max-height:min(92dvh,900px);overflow:auto;padding:27px 20px 20px;border-radius:24px;background:#fff;box-shadow:0 14px 50px #0003}.product-editor-modal h2{margin:0 40px 6px 0}.product-editor-modal>.muted{margin:0 0 16px;font-size:.9rem}.product-editor-form{display:grid;gap:13px}.product-editor-form>label:not(.checkbox-line){display:grid;gap:7px;color:var(--hatch-ink);font-size:.88rem;font-weight:800}.product-editor-form input,.product-editor-form select{min-height:46px}.product-editor-form select{width:100%;padding:0 12px;border:1px solid #e7d9cf;border-radius:13px;background:#fff;color:var(--hatch-ink);font:inherit}.lookup-row{display:flex;align-items:center;gap:8px}.lookup-row input{flex:1;min-width:0}.lookup-row .secondary-button{flex:0 0 auto}.lookup-message{margin:0;color:var(--hatch-orange-dark);font-size:.82rem;line-height:1.4}.file-picker-label input{padding:8px;font-weight:500}.editor-image-preview{width:96px;height:96px;border-radius:14px;object-fit:cover;background:#fff8f2}.editor-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:5px}.editor-actions .primary-button,.editor-actions .secondary-button{min-width:116px}@media(max-width:520px){.app-header{gap:8px}.header-logo{width:75px;height:40px}.staff-menu{top:70px}.workspace-heading{flex-direction:column}.workspace-heading .primary-button{align-self:flex-start}.general-product-row{grid-template-columns:28px 48px minmax(0,1fr)}.general-product-row .row-actions{grid-column:2 / -1;justify-content:flex-start}.staff-product-card{grid-template-columns:48px minmax(0,1fr)}.staff-product-card>.inventory-actions,.staff-product-card>.secondary-button{grid-column:1 / -1}.inventory-actions{justify-content:flex-start}.workspace-subheading{align-items:flex-start;flex-direction:column}.workspace-filter{align-items:stretch;flex-direction:column}.workspace-filter span{align-self:flex-end}.product-editor-modal{padding:25px 16px 16px}.lookup-row{align-items:stretch}.lookup-row .secondary-button{padding:0 11px}}
