:root{--ink:#1f2724;--muted:#6f7771;--line:#e6e5de;--paper:#f7f6f0;--card:#ffffff;--forest:#173f3a;--forest-soft:#dcebe5;--coral:#ff6b4a;--coral-dark:#e84f31;--yellow:#f2c94c;--danger:#cf493d;--shadow:0 10px 32px rgba(30,47,42,0.08);--safe-top:env(safe-area-inset-top,0px);--safe-bottom:env(safe-area-inset-bottom,0px)}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body,html{min-height:100%;background:#e9e8e1}body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,PingFang SC,Microsoft YaHei,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{color:inherit;font:inherit}button{border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid rgba(255,107,74,.28);outline-offset:2px}button:disabled{cursor:default;opacity:.55}input,select,textarea{font-size:16px}.app-shell{position:relative;width:min(100%,520px);min-height:100dvh;margin:0 auto;overflow-x:hidden;background:var(--paper);box-shadow:0 0 52px rgba(38,50,46,.08)}.app-content{min-height:100dvh;padding-bottom:calc(98px + var(--safe-bottom))}.screen{padding:calc(22px + var(--safe-top)) 18px 32px}.eyebrow{margin:0 0 5px;color:var(--muted);font-size:11px;font-weight:750;letter-spacing:.12em;text-transform:uppercase}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:30px;line-height:1.1;letter-spacing:-.045em}h2{font-size:20px;letter-spacing:-.025em}.bottom-sheet header,.home-header,.screen-header{display:flex;align-items:center;justify-content:space-between}.home-header{margin-bottom:20px}.brand-mark{display:grid;width:48px;height:48px;padding:7px;grid-template-columns:repeat(2,1fr);gap:3px;border-radius:16px;background:var(--forest);box-shadow:0 8px 18px rgba(23,63,58,.2)}.brand-mark span{display:block;border-radius:50%;background:#f7ead0}.brand-mark span:nth-child(2){background:var(--coral)}.brand-mark span:nth-child(3){background:var(--yellow)}.brand-mark span:nth-child(4){background:#9fcfc1}.brand-mark.large{width:68px;height:68px;padding:10px;border-radius:22px}.backup-banner{display:grid;width:100%;min-height:67px;margin-bottom:14px;padding:12px;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;border:1px solid #f0d4a1;border-radius:18px;background:#fff7e5}.backup-banner.backed-up{border-color:#d9e8e2;background:#f0f7f4}.backup-icon,.settings-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:12px;color:var(--forest);background:rgba(23,63,58,.1);font-size:20px;font-weight:700}.backup-banner span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.backup-banner strong{font-size:13px}.backup-banner small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.backup-banner>b{color:var(--forest);font-size:11px}.onboarding-card{display:grid;margin-bottom:14px;padding:16px;grid-template-columns:36px 1fr;gap:12px;border:1px solid rgba(255,107,74,.2);border-radius:20px;background:#fff4ef}.step-index{display:grid;width:34px;height:34px;place-items:center;border-radius:50%;color:white;background:var(--coral);font-size:14px;font-weight:800}.onboarding-card h2{margin-bottom:5px;font-size:17px}.onboarding-card p:not(.eyebrow){margin:0;color:var(--muted);font-size:12px;line-height:1.55}.onboarding-card button{grid-column:2;justify-self:start;padding:0;color:var(--coral-dark);background:none;font-size:12px;font-weight:750}.onboarding-card button span{margin-left:6px}.hero-card{position:relative;margin-bottom:14px;padding:22px 20px 18px;overflow:hidden;border-radius:26px;color:white;background:var(--forest);box-shadow:0 16px 35px rgba(23,63,58,.18)}.hero-card:after{position:absolute;top:-45px;right:-34px;width:144px;height:144px;border:24px solid rgba(255,255,255,.035);border-radius:50%;content:""}.hero-topline{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;color:rgba(255,255,255,.72);font-size:12px}.hero-topline small{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.09);font-size:10px}.hero-number{position:relative;z-index:1;font-size:clamp(42px,13vw,60px);line-height:1;letter-spacing:-.065em}.hero-unit{margin-left:7px;color:rgba(255,255,255,.65);font-size:13px}.hero-stats{display:grid;margin-top:23px;padding-top:16px;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.12)}.hero-stats button{display:flex;min-height:43px;flex-direction:column;align-items:flex-start;color:white;background:transparent}.hero-stats button+button{padding-left:15px;border-left:1px solid rgba(255,255,255,.12)}.hero-stats b{font-size:18px;line-height:1.1}.hero-stats span{margin-top:5px;color:rgba(255,255,255,.58);font-size:10px}.upload-hero{display:grid;width:100%;min-height:83px;margin-bottom:12px;padding:14px;grid-template-columns:52px minmax(0,1fr) auto;gap:12px;align-items:center;text-align:left;border-radius:22px;color:#271f1d;background:var(--coral);box-shadow:0 12px 26px rgba(255,107,74,.22)}.upload-hero>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}.upload-hero strong{color:white;font-size:16px}.upload-hero small{color:rgba(255,255,255,.72);font-size:11px}.upload-hero>b{color:white;font-size:20px}.upload-visual{display:grid;width:52px;height:52px;padding:9px;grid-template-columns:repeat(3,1fr);gap:3px;border-radius:16px;background:rgba(255,255,255,.2)}.upload-visual i{display:block;border-radius:50%;background:white;opacity:.85}.upload-visual i:nth-child(2),.upload-visual i:nth-child(4){opacity:.32}.upload-visual i:nth-child(5){background:var(--yellow)}.quick-grid{display:grid;margin-bottom:25px;grid-template-columns:repeat(2,1fr);gap:10px}.quick-grid button{display:grid;min-height:82px;padding:14px;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:10px;text-align:left;border:1px solid var(--line);border-radius:19px;background:var(--card)}.quick-grid .quick-symbol{display:grid;width:36px;height:36px;grid-row:1/span 2;place-items:center;border-radius:12px;color:var(--forest);background:var(--forest-soft);font-size:20px;font-weight:750}.quick-grid .quick-symbol.list{color:#876a16;background:#fbefc6}.quick-grid strong{align-self:end;font-size:13px}.quick-grid small{color:var(--muted);font-size:10px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px}.section-heading h2,.section-heading h3{margin:0;font-size:16px}.section-heading button{padding:7px 0 7px 12px;background:transparent}.section-heading button,.section-heading>span{color:var(--muted);font-size:11px}.recent-list{overflow:hidden;border:1px solid var(--line);border-radius:20px;background:var(--card)}.recent-list>button{display:grid;width:100%;min-height:66px;padding:11px 13px;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;text-align:left;background:transparent}.recent-list>button+button{border-top:1px solid var(--line)}.recent-list button>span:nth-child(2),.recent-quantity{display:flex;min-width:0;flex-direction:column;gap:3px}.recent-list strong{font-size:13px}.recent-list small{overflow:hidden;color:var(--muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}.recent-quantity{align-items:flex-end}.recent-quantity b{font-size:14px}.screen-header{min-height:50px;margin-bottom:19px}.small-primary{min-height:40px;padding:0 14px;border-radius:13px;color:white;background:var(--forest);font-size:12px;font-weight:700}.search-box{display:flex;min-height:49px;padding:0 13px;align-items:center;gap:9px;border:1px solid var(--line);border-radius:16px;background:var(--card)}.search-box>span{color:var(--muted);font-size:22px;transform:rotate(-15deg)}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent}.search-box input::placeholder{color:#a7aaa6}.search-box button{width:30px;height:30px;border-radius:50%;color:var(--muted);background:#efeee8;font-size:18px}.filter-row{display:flex;margin:12px -18px 0;padding:0 18px 5px;gap:8px;overflow-x:auto;scrollbar-width:none}.filter-row::-webkit-scrollbar{display:none}.filter-row button{min-height:34px;padding:0 13px;flex:0 0 auto;border:1px solid var(--line);border-radius:999px;color:var(--muted);background:var(--card);font-size:11px;font-weight:650}.filter-row button.active{border-color:var(--forest);color:white;background:var(--forest)}.list-toolbar{min-height:48px;justify-content:space-between;color:var(--muted);font-size:10px}.list-toolbar,.toolbar-selects{display:flex;align-items:center}.toolbar-selects{gap:2px}.list-toolbar select{max-width:118px;padding:7px 5px;border:0;color:var(--muted);background:transparent;font-size:10px;text-align:right}.inventory-list{display:flex;flex-direction:column;gap:9px}.inventory-row{display:grid;min-height:88px;padding:11px 10px 11px 12px;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;border:1px solid var(--line);border-radius:19px;background:var(--card)}.inventory-details{display:grid;min-width:0;min-height:58px;padding:0;grid-template-columns:48px minmax(0,1fr);gap:10px;align-items:center;text-align:left;background:transparent}.color-swatch{display:block;width:48px;height:48px;flex:0 0 auto;border:3px solid white;border-radius:15px;outline:1px solid rgba(31,39,36,.1);box-shadow:0 3px 10px rgba(31,39,36,.08);background-size:12px 12px!important}.recent-list .color-swatch{width:40px;height:40px;border-radius:13px}.color-copy{display:flex;min-width:0;flex-direction:column;gap:6px}.color-copy>span{display:flex;align-items:center;gap:7px}.color-copy strong{font-size:14px}.color-copy strong,.color-copy>small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.color-copy>small{color:var(--muted);font-size:10px}.status-pill{display:inline-flex;padding:3px 6px;flex:0 0 auto;border-radius:999px;font-size:8px;font-weight:750}.status-pill.success{color:#23644d;background:#ddf1e8}.status-pill.warning{color:#8f6211;background:#fff0c5}.status-pill.danger{color:#a93d36;background:#fde2de}.status-pill.neutral{color:#747a75;background:#edede9}.quantity-control{display:grid;grid-template-columns:34px minmax(48px,auto) 34px;align-items:center;border-radius:14px;background:#f2f1eb}.quantity-control>button{min-width:34px;min-height:42px;padding:0;color:var(--forest);background:transparent;font-size:18px;font-weight:650}.quantity-control .quantity-value{display:flex;min-width:48px;padding:0 4px;flex-direction:column;align-items:center;justify-content:center}.quantity-value b{max-width:70px;overflow:hidden;font-size:12px;text-overflow:ellipsis}.quantity-value small{color:var(--muted);font-size:8px}.import-strip{display:flex;width:100%;min-height:50px;margin-top:14px;padding:0 14px;align-items:center;justify-content:space-between;border:1px dashed #b9beb8;border-radius:16px;color:var(--muted);background:transparent;font-size:11px}.import-strip b{color:var(--forest)}.empty-card{padding:42px 20px;text-align:center;border:1px dashed #cfd1cc;border-radius:20px}.empty-card.compact{padding:23px 16px}.empty-card p{margin-bottom:4px;font-size:13px;font-weight:700}.empty-card span{color:var(--muted);font-size:10px}.placeholder-screen{min-height:calc(100dvh - 100px);text-align:center}.placeholder-screen .screen-header{text-align:left}.placeholder-screen>h2{margin:25px 0 8px}.placeholder-screen>p{max-width:360px;margin:0 auto 22px;color:var(--muted);font-size:13px;line-height:1.75}.phase-note{display:block;margin-top:13px;color:var(--muted);font-size:10px}.pixel-preview{display:grid;width:190px;height:190px;margin:38px auto 0;padding:20px;grid-template-columns:repeat(6,1fr);gap:5px;transform:rotate(-4deg);border:1px solid var(--line);border-radius:30px;background:white;box-shadow:var(--shadow)}.pixel-preview span{border-radius:50%;background:#e7e5de}.pixel-preview span:nth-child(3n){background:#f3c95e}.pixel-preview span:nth-child(4n){background:#f47f66}.pixel-preview span:nth-child(7n){background:#73ad9d}.pixel-preview span:nth-child(11n){background:#334f49}.flow-list{display:flex;margin-bottom:18px;flex-direction:column;gap:8px;text-align:left}.flow-list span{display:flex;min-height:48px;padding:0 14px;align-items:center;gap:12px;border:1px solid var(--line);border-radius:15px;background:white;font-size:12px;font-weight:650}.flow-list b{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;color:var(--forest);background:var(--forest-soft);font-size:10px}.primary-button,.secondary-button,.soft-button{min-height:48px;padding:0 18px;border-radius:15px;font-size:13px;font-weight:750}.primary-button,.secondary-button{color:white;background:var(--forest)}.secondary-button{width:100%}.soft-button{color:var(--forest);background:var(--forest-soft)}.empty-work-visual{position:relative;width:172px;height:155px;margin:62px auto 15px}.empty-work-visual span{position:absolute;display:block;width:112px;height:130px;border:1px solid var(--line);border-radius:20px;background:white;box-shadow:var(--shadow)}.empty-work-visual span:first-child{left:0;transform:rotate(-9deg);background:#f2d88b}.empty-work-visual span:nth-child(2){right:0;transform:rotate(9deg);background:#b7d8cf}.empty-work-visual span:nth-child(3){left:30px;top:-8px;background:repeating-linear-gradient(45deg,#fff 0 12px,#f4f2eb 12px 24px)}.local-first-note,.safety-note{display:flex;margin-top:28px;padding:15px;gap:11px;text-align:left;border-radius:17px;background:var(--forest-soft)}.safety-note{flex-direction:column;gap:4px}.local-first-note b,.safety-note b{font-size:12px}.local-first-note p,.safety-note span{margin:0;color:#567169;font-size:10px;line-height:1.55}.settings-card{padding:17px;border:1px solid var(--line);border-radius:21px;background:white}.settings-card-heading{display:flex;align-items:center;gap:11px}.settings-card-heading h2{margin:0 0 3px;font-size:15px}.settings-card-heading p{margin:0;color:var(--muted);font-size:10px}.settings-card>p{margin:14px 0;color:var(--muted);font-size:11px;line-height:1.55}.button-pair{display:grid;grid-template-columns:1fr 1fr;gap:9px}.settings-group{margin-top:22px}.group-label{margin:0 5px 8px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.08em}.settings-list{overflow:hidden;border:1px solid var(--line);border-radius:19px;background:white}.settings-input-row,.settings-list>button,.settings-toggle-row{display:flex;width:100%;min-height:67px;padding:11px 14px;align-items:center;justify-content:space-between;gap:12px;text-align:left;background:transparent}.settings-list>*+*{border-top:1px solid var(--line)}.settings-list span{display:flex;min-width:0;flex-direction:column;gap:4px}.settings-list b{font-size:12px}.settings-list small{color:var(--muted);font-size:9px}.settings-list strong{color:var(--muted);font-size:16px}.settings-input-row input{width:78px;min-height:40px;padding:0 9px;border:1px solid var(--line);border-radius:11px;text-align:right}.settings-toggle-row{position:relative;cursor:pointer}.settings-toggle-row input{position:absolute;opacity:0;pointer-events:none}.settings-toggle-row i{position:relative;display:block;width:48px;height:29px;flex:0 0 auto;border-radius:999px;background:#d8dad6;transition:.18s ease}.settings-toggle-row i:after{position:absolute;top:3px;left:3px;width:23px;height:23px;border-radius:50%;background:white;box-shadow:0 2px 7px rgba(31,39,36,.2);content:"";transition:.18s ease}.settings-toggle-row input:checked+i{background:var(--forest)}.settings-toggle-row input:checked+i:after{transform:translateX(19px)}.local-first-note{margin-top:22px;align-items:flex-start;background:#eeeDE7}.local-first-note .settings-icon{flex:0 0 auto}.version-copy{margin:22px 0 0;color:#a1a59f;font-size:9px;text-align:center}.text-button{min-height:42px;padding:0 10px;color:var(--forest);background:transparent;font-size:11px;font-weight:750}.home-artworks{display:grid;margin-bottom:25px;gap:8px}.home-artworks>button{display:grid;width:100%;min-height:68px;padding:9px;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:11px;text-align:left;border:1px solid var(--line);border-radius:18px;background:white}.artwork-image-fallback,.home-artworks img{width:52px;height:52px;object-fit:cover;border-radius:13px;background:#ebe9e2}.artwork-image-fallback{display:grid;place-items:center;color:var(--muted)}.home-artworks>button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}.home-artworks strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.home-artworks small{color:var(--muted);font-size:9px}.artwork-card-copy em,.home-artworks em{padding:4px 7px;border-radius:999px;font-size:8px;font-style:normal;font-weight:750;white-space:nowrap}.artwork-card-copy em.deducted,.home-artworks em.deducted{color:#23644d;background:#ddf1e8}.artwork-card-copy em.reversed,.home-artworks em.reversed{color:#747a75;background:#edede9}.upload-empty{text-align:center}.upload-empty .screen-header{text-align:left}.upload-empty>h2{margin:25px 0 8px}.upload-empty>p{max-width:370px;margin:0 auto 22px;color:var(--muted);font-size:12px;line-height:1.7}.upload-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.upload-choice-grid button{display:flex;padding:0 10px;align-items:center;justify-content:center;gap:7px}.upload-choice-grid button span{font-size:18px}.artwork-preview-card{position:relative;margin:18px 0 14px;overflow:hidden;border:1px solid var(--line);border-radius:22px;background:white}.artwork-preview-card>img{display:block;width:100%;max-height:48dvh;object-fit:contain;background:#ebeae4}.image-processing{position:absolute;top:16px;left:50%;padding:7px 10px;transform:translateX(-50%);border-radius:999px;color:white;background:rgba(23,39,35,.82);font-size:10px;font-weight:700}.image-tools{display:grid;min-height:48px;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.image-tools button{color:var(--forest);background:white;font-size:11px;font-weight:700}.image-tools button+button{border-left:1px solid var(--line)}.image-tools .danger-text{color:var(--danger)}.artwork-fields{display:grid;margin-bottom:23px;gap:10px}.add-consumption label,.artwork-edit-fields label,.artwork-fields label{display:flex;min-width:0;flex-direction:column;gap:6px;color:var(--muted);font-size:10px;font-weight:700}.add-consumption input,.artwork-edit-fields input,.artwork-edit-fields textarea,.artwork-fields input,.artwork-fields textarea{width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:13px;outline:0;color:var(--ink);background:white}.artwork-edit-fields textarea,.artwork-fields textarea{min-height:74px;resize:vertical}.grid-size-fields{display:grid;grid-template-columns:1fr 18px 1fr;align-items:end;gap:6px}.grid-size-fields>b{padding-bottom:14px;color:var(--muted);text-align:center;font-size:12px}.consumption-section{margin-bottom:16px}.consumption-section .section-heading{align-items:flex-end}.consumption-section .section-heading h2{margin:0 0 3px}.consumption-section .section-heading small{color:var(--muted);font-size:9px}.consumption-section .section-heading button{max-width:110px}.add-consumption{display:grid;margin-bottom:10px;padding:11px;grid-template-columns:minmax(0,1fr) 92px 44px;align-items:end;gap:7px;border-radius:17px;background:#ebeae4}.add-consumption button{display:grid;width:44px;height:48px;place-items:center;border-radius:13px;color:white;background:var(--forest);font-size:22px}.consumption-list{display:grid;gap:7px}.consumption-list article{display:grid;min-height:75px;padding:9px;grid-template-columns:38px minmax(90px,1fr) 78px 30px;grid-template-rows:38px auto;align-items:center;column-gap:7px;border:1px solid var(--line);border-radius:16px;background:white}.consumption-list article.shortage{border-color:#efbbb4;background:#fff9f8}.consumption-list .color-swatch{width:38px;height:38px;border-radius:11px}.consumption-list select{min-width:0;width:100%;padding:0 7px;font-size:11px}.consumption-list label,.consumption-list select{height:38px;border:1px solid var(--line);border-radius:10px;background:white}.consumption-list label{display:flex;align-items:center}.consumption-list label input{min-width:0;width:100%;height:36px;padding:0 3px 0 7px;border:0;outline:0;text-align:right}.consumption-list label span{padding-right:6px;color:var(--muted);font-size:9px}.consumption-list article>button{display:grid;width:30px;height:36px;place-items:center;color:var(--muted);background:transparent;font-size:18px}.consumption-list article>small{grid-column:2/4;color:var(--muted);font-size:9px}.consumption-list article>em{justify-self:end;padding:3px 6px;border-radius:999px;font-size:8px;font-style:normal;font-weight:750}.consumption-list article>em.success{color:#23644d;background:#ddf1e8}.consumption-list article>em.warning{color:#8f6211;background:#fff0c5}.consumption-list article>em.danger{color:#a93d36;background:#fde2de}.confirm-metrics,.deduction-summary,.detail-metrics{display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid var(--line);border-radius:18px;background:white}.confirm-metrics>span,.deduction-summary>div,.detail-metrics>span{display:flex;min-height:77px;flex-direction:column;align-items:center;justify-content:center}.confirm-metrics>span+span,.deduction-summary>div+div,.detail-metrics>span+span{border-left:1px solid var(--line)}.deduction-summary span{color:var(--muted);font-size:9px}.deduction-summary strong{margin-top:3px;font-size:21px}.deduction-summary small{color:var(--muted);font-size:8px}.blocking-note,.deduction-summary .danger strong{color:var(--danger)}.blocking-note{margin:10px 2px 0;font-size:10px;line-height:1.5}.confirm-deduction-button{width:100%;margin-top:13px}.confirmation-caption{margin:8px 0 0;color:var(--muted);text-align:center;font-size:9px}.confirm-sheet>p{color:var(--muted);font-size:11px;line-height:1.6}.confirm-metrics{margin-bottom:12px}.confirm-metrics b{font-size:20px}.confirm-metrics small{margin-top:4px;color:var(--muted);font-size:9px}.confirm-ok,.confirm-warning{display:flex;margin-bottom:12px;padding:12px;border-radius:14px;font-size:10px}.confirm-warning{flex-direction:column;gap:4px;color:#9d3932;background:#fde8e4}.confirm-ok{color:#23644d;background:#ddf1e8}.confirm-sheet .primary-button,.crop-sheet .primary-button{width:100%}.sheet-cancel{width:100%;min-height:46px;margin-top:4px;color:var(--muted);background:transparent;font-size:11px;font-weight:700}.crop-preview{display:grid;height:240px;margin-bottom:15px;place-items:center;overflow:hidden;border-radius:18px;background:#deddd7}.crop-preview img{width:100%;height:100%;object-fit:contain;transition:clip-path .1s ease}.crop-controls{display:grid;margin-bottom:15px;grid-template-columns:1fr 1fr;gap:10px 15px}.crop-controls label{display:flex;flex-direction:column;gap:6px;color:var(--muted);font-size:10px}.crop-controls label span{display:flex;justify-content:space-between}.crop-controls input{width:100%;accent-color:var(--forest)}.record-mode{display:grid;margin:18px 0 12px;padding:3px;grid-template-columns:1fr 1fr;border-radius:14px;background:#e8e7e1}.record-mode button{min-height:40px;border-radius:11px;color:var(--muted);background:transparent;font-size:11px;font-weight:750}.record-mode button.active{color:var(--forest);background:white;box-shadow:0 2px 8px rgba(31,39,36,.08)}.artwork-list,.ledger-list{display:grid;margin-top:13px;gap:8px}.artwork-list>button{display:grid;width:100%;min-height:82px;padding:9px;grid-template-columns:64px minmax(0,1fr) 16px;align-items:center;gap:10px;text-align:left;border:1px solid var(--line);border-radius:19px;background:white}.artwork-thumb{display:grid;width:64px;height:64px;place-items:center;overflow:hidden;border-radius:14px;color:var(--muted);background:#e9e8e2}.artwork-thumb img{width:100%;height:100%;object-fit:cover}.artwork-card-copy{display:flex;min-width:0;flex-direction:column;gap:7px}.artwork-card-copy>span{display:flex;min-width:0;align-items:center;gap:6px}.artwork-card-copy strong{min-width:0;overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.artwork-card-copy small{color:var(--muted);font-size:9px;line-height:1.5}.artwork-list>button>b{color:var(--muted);font-size:20px}.works-empty{margin-top:15px}.works-empty .empty-work-visual{margin-top:8px}.ledger-list article{display:grid;min-height:72px;padding:10px;grid-template-columns:58px minmax(0,1fr);align-items:center;gap:10px;border:1px solid var(--line);border-radius:17px;background:white}.ledger-list>article>span:first-child{display:grid;min-height:39px;padding:4px;place-items:center;border-radius:11px;font-size:11px;font-weight:800}.ledger-in{color:#23644d;background:#ddf1e8}.ledger-out{color:#a93d36;background:#fde2de}.ledger-list article>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.ledger-list strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.ledger-list small{color:var(--muted);font-size:9px}.ledger-list em{color:var(--forest);font-size:9px;font-style:normal}.detail-artwork-image{display:block;width:100%;max-height:42dvh;margin-bottom:12px;object-fit:contain;border-radius:18px;background:#e8e7e1}.detail-metrics{margin-bottom:14px}.detail-metrics b{font-size:17px}.detail-metrics small{margin-top:4px;color:var(--muted);font-size:8px}.artwork-edit-fields{display:grid;margin-bottom:20px;gap:9px}.artwork-edit-fields .soft-button{width:100%}.detail-consumption{padding-top:17px;border-top:1px solid var(--line)}.detail-consumption>div:last-child{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:white}.detail-consumption article{display:grid;min-height:58px;padding:8px 10px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:9px}.detail-consumption article+article{border-top:1px solid var(--line)}.detail-consumption .color-swatch{width:38px;height:38px;border-radius:11px}.detail-consumption article>span{display:flex;min-width:0;flex-direction:column;gap:3px}.detail-consumption strong{font-size:11px}.detail-consumption small{color:var(--muted);font-size:9px}.detail-consumption article>b{font-size:11px}.reverse-button{width:100%;min-height:48px;margin-top:14px;border:1px solid #efc2bc;border-radius:15px;color:var(--danger);background:#fff5f3;font-size:11px;font-weight:750}.reversed-note{margin-top:14px;padding:13px;border-radius:14px;color:var(--muted);background:#e9e8e2;font-size:10px;line-height:1.5}.bottom-nav{position:fixed;z-index:50;bottom:0;left:50%;display:grid;width:min(100%,520px);min-height:calc(72px + var(--safe-bottom));padding:7px 9px var(--safe-bottom);grid-template-columns:repeat(5,1fr);transform:translateX(-50%);border-top:1px solid rgba(31,39,36,.08);background:rgba(255,255,255,.95);box-shadow:0 -8px 30px rgba(31,39,36,.06);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.bottom-nav button{position:relative;display:flex;min-width:0;min-height:58px;padding:5px 0 3px;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#8b908c;background:transparent;font-size:9px;font-weight:650}.bottom-nav button.active{color:var(--forest)}.nav-symbol{display:grid;width:30px;height:26px;place-items:center;font-size:20px;line-height:1}.bottom-nav button.active:not(.main-action):before{position:absolute;top:0;width:22px;height:3px;border-radius:3px;background:var(--forest);content:""}.bottom-nav .main-action .nav-symbol{width:46px;height:46px;margin-top:-24px;border:4px solid var(--paper);border-radius:16px;color:white;background:var(--coral);box-shadow:0 6px 17px rgba(255,107,74,.32);font-size:27px;font-weight:300}.bottom-nav .main-action{color:var(--coral-dark)}.modal-backdrop{position:fixed;z-index:100;inset:0;display:flex;align-items:flex-end;justify-content:center;padding:0;background:rgba(17,28,25,.42);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.bottom-sheet{width:min(100%,520px);max-height:92dvh;padding:8px 18px calc(22px + var(--safe-bottom));overflow-y:auto;border-radius:27px 27px 0 0;background:var(--paper);box-shadow:0 -16px 45px rgba(17,28,25,.14);animation:sheet-up .22s ease-out}@keyframes sheet-up{0%{transform:translateY(24px);opacity:0}}.sheet-handle{width:38px;height:4px;margin:2px auto 14px;border-radius:3px;background:#d3d4ce}.bottom-sheet header{margin-bottom:17px}.bottom-sheet header h2{margin:0}.bottom-sheet header>button{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;color:var(--muted);background:#e9e8e2;font-size:22px}.form-grid{display:grid;gap:10px}.form-grid.two-columns{grid-template-columns:1fr 1fr}.form-grid+.form-grid{margin-top:11px}.batch-sheet label,.form-grid label,.full-field{display:flex;min-width:0;flex-direction:column;gap:6px;color:var(--muted);font-size:10px;font-weight:650}.batch-sheet textarea,.form-grid input,.full-field textarea{width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--line);border-radius:13px;outline:0;color:var(--ink);background:white}.full-field{margin-top:11px}.full-field textarea{min-height:72px;resize:vertical}.hex-input{position:relative;display:flex;align-items:center}.hex-input i{position:absolute;z-index:1;left:10px;width:22px;height:22px;border:2px solid white;border-radius:8px;box-shadow:0 0 0 1px var(--line)}.hex-input i+input{padding-left:40px}.save-button{width:100%;margin-top:14px}.history-section{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.history-list{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:white}.history-list>div{display:grid;min-height:58px;padding:10px 12px;grid-template-columns:54px 1fr;gap:9px;align-items:center}.history-list>div+div{border-top:1px solid var(--line)}.history-list>div>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.history-list .in,.history-list .out{display:grid;min-height:32px;place-items:center;border-radius:10px;font-size:11px;font-weight:750}.history-list .in{color:#23644d;background:#ddf1e8}.history-list .out{color:#a93d36;background:#fde2de}.history-list b{font-size:11px}.history-list small{color:var(--muted);font-size:9px}.no-history{margin:0;padding:20px;color:var(--muted);text-align:center;font-size:10px}.batch-sheet>p{color:var(--muted);font-size:12px;line-height:1.6}.batch-mode{display:grid;margin-bottom:12px;padding:3px;grid-template-columns:1fr 1fr;gap:3px;border-radius:13px;background:#e8e7e1}.batch-mode button{min-height:38px;border-radius:10px;color:var(--muted);background:transparent;font-size:11px;font-weight:700}.batch-mode button.active{color:var(--forest);background:white;box-shadow:0 2px 8px rgba(31,39,36,.08)}.example-code{display:grid;margin-bottom:14px;padding:12px;grid-template-columns:42px 1fr;border-radius:14px;background:#eae9e3}.example-code span{color:var(--muted);font-size:10px}.example-code code{font-family:SFMono-Regular,Consolas,monospace;font-size:11px;line-height:1.7}.batch-sheet textarea{min-height:150px;resize:vertical}.batch-sheet .primary-button{width:100%;margin-top:14px}.toast{position:fixed;z-index:200;left:50%;bottom:calc(90px + var(--safe-bottom));max-width:calc(100vw - 36px);padding:11px 15px;transform:translateX(-50%);border-radius:13px;color:white;background:rgba(24,34,31,.94);box-shadow:0 8px 24px rgba(24,34,31,.2);font-size:11px;font-weight:650;text-align:center}.error-shell,.loading-shell{display:flex;padding:30px;flex-direction:column;align-items:center;justify-content:center;text-align:center}.loading-shell p{margin:18px 0 0;color:var(--muted);font-size:12px}.error-shell h1{margin:22px 0 9px;font-size:23px}.error-shell p{max-width:330px;margin-bottom:20px;color:var(--muted);font-size:12px;line-height:1.6}.visually-hidden{position:fixed!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}@media (max-width:380px){.filter-row,.screen{padding-right:14px;padding-left:14px}.filter-row{margin-right:-14px;margin-left:-14px}.inventory-row{grid-template-columns:minmax(0,1fr) auto;padding-left:9px}.inventory-details{grid-template-columns:42px minmax(0,1fr);gap:7px}.color-swatch{width:42px;height:42px;border-radius:13px}.quantity-control{grid-template-columns:31px minmax(42px,auto) 31px}.quantity-control>button{min-width:31px}.quantity-value b{max-width:54px;font-size:11px}.status-pill{display:none}.quick-grid button{padding:11px;column-gap:7px}.add-consumption{grid-template-columns:minmax(0,1fr) 82px 42px;padding:9px}.consumption-list article{grid-template-columns:34px minmax(76px,1fr) 72px 27px;padding:7px;gap:5px}.consumption-list .color-swatch{width:34px;height:34px}.crop-controls{grid-template-columns:1fr}.artwork-list>button{grid-template-columns:58px minmax(0,1fr) 12px}.artwork-thumb{width:58px;height:58px}}@media (min-width:700px){.app-shell{min-height:calc(100dvh - 32px);margin-top:16px;margin-bottom:16px;border-radius:32px}.bottom-nav{bottom:16px;border-radius:0 0 32px 32px}.modal-backdrop{padding-bottom:16px}.bottom-sheet{border-radius:27px}}@media (prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}