/* All stock content participates in layout; inline SVG spans cannot stretch cards. */
.inventory-tile>.item-art{display:block;width:60px;height:60px;flex:none}
.inventory-tile>.item-art>svg{width:60px;height:60px}
.barn-summary{padding:16px 18px;background:#e5dfca;border:1px solid #c9bea0;border-radius:10px;margin:0 0 20px}
.barn-capacity{display:flex;align-items:center;justify-content:space-between;gap:16px}
.barn-capacity b{font-family:var(--serif);font-size:24px;font-weight:400;color:#354e3c}
.barn-capacity b span{font-family:inherit;font-size:17px;color:#6c6b50}
.barn-capacity small{display:block;margin-top:4px;color:#647054;font-size:12px}
.barn-capacity button{min-height:48px;padding:9px 16px}
.barn-meter{height:7px;overflow:hidden;border-radius:8px;background:#cfc9b1;margin-top:14px}
.barn-meter>span{display:block;height:100%;border-radius:8px;background:#608059}
.barn-meter>span.nearly-full{background:#ab813c}
.inventory-stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.inventory-stock{min-width:0;border:1px solid #d1c0a0;border-radius:10px;background:#f8efdc;padding:14px;box-shadow:0 2px 0 #b1a07a0b}
.stock-heading{display:flex;align-items:center;gap:12px;min-width:0;margin:0 0 14px}
.stock-heading>.item-art{display:grid;place-items:center;flex:0 0 56px;width:56px;height:56px;border-radius:9px;background:#e8e0c7}
.stock-heading>.item-art>svg{display:block;width:56px;height:56px;transform:none}
.stock-heading>div{min-width:0}.stock-heading h3{font-size:17px;font-family:var(--serif);font-weight:400;color:#384f3d;margin:0 0 5px;overflow-wrap:anywhere}
.stock-heading p{font-size:12px;margin:0;color:#716b50}.stock-heading strong{font-size:15px;color:#43543b;font-weight:600}
.stock-actions{display:flex;gap:8px}.stock-actions>button{flex:1;min-width:0;min-height:52px;font-size:12px;line-height:1.4;padding:8px 6px;background:#ede5d0;border-color:#cbbb97}
.stock-actions>button>span{display:block;margin-top:3px;color:#806324;font-size:11px}
.stock-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center}
.stock-actions>button:hover{background:#e4dbc1}.barn-note{line-height:1.6;margin:18px 0}
.barn-empty{grid-column:1/-1;text-align:center;padding:28px 15px;color:#6c7358;border:1px dashed #c6b794;border-radius:10px}
.barn-empty>.item-art{display:block;width:64px;height:64px;margin:auto;background:transparent}.barn-empty h3{font-family:var(--serif);font-weight:400;color:#445e43}.barn-empty p{font-size:13px}
@media(max-width:600px){.inventory-stock-grid{grid-template-columns:1fr;gap:10px}.inventory-stock{padding:12px}.stock-heading{margin-bottom:10px}.stock-heading h3{font-size:18px}.barn-summary{padding:13px;margin-bottom:14px}.barn-capacity{gap:10px}.barn-capacity b{font-size:22px}.barn-capacity b span{font-size:15px}.stock-actions>button{min-height:52px}.inventory-tile{min-width:0;overflow-wrap:anywhere}}
.object-actions{flex-wrap:wrap}.object-actions>.remove-link{width:100%;min-height:48px;color:#875641}
.layout-row{border:1px solid #d1c2a4;border-radius:9px;padding:12px;background:#f4ead8;display:flex;gap:12px;align-items:center;justify-content:space-between}
.layout-row>b{font-weight:400;font-family:var(--serif);min-width:0;overflow-wrap:anywhere}.layout-row>div{display:flex;align-items:center;gap:8px;flex-shrink:0}.layout-row button{min-height:48px;padding:8px 12px;font-size:12px}.layout-row small{font-size:10px;color:#74765c}.remove-link{color:#875641}
.removal-heading{display:flex;align-items:center;gap:15px}.removal-heading>div{width:94px;height:94px;flex:none}.removal-heading h3{font-family:var(--serif);font-size:24px;font-weight:400;color:#3f543f}
.removal-refund{background:#e0dfc6;border:1px solid #babd98;border-radius:10px;padding:16px;margin:18px 0}.removal-refund>b,.removal-refund>strong,.removal-refund>small{display:block}.removal-refund>b{font-size:12px;font-weight:400;color:#62714f}.removal-refund>strong{font-size:23px;font-weight:400;font-family:var(--serif);margin:7px 0;color:#405638}.removal-refund>small{font-size:12px;line-height:1.6;color:#6c6c53}
.removal-items{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px}.removal-items li{display:flex;align-items:center;gap:8px;border:1px solid #d3c3a6;border-radius:7px;padding:6px 12px 6px 6px;font-size:13px}.removal-items .item-art{display:block;flex:0 0 32px;width:32px;height:32px}
.removal-detail{font-size:13px;line-height:1.7}.removal-blocked{padding:13px;border:1px solid #c5a776;background:#eee0bb;border-radius:9px;font-size:13px;line-height:1.7}
.removal-confirm{display:flex;gap:10px;margin-top:22px}.removal-confirm button{flex:1;min-height:48px;padding:12px;font-size:13px}.removal-confirm .danger{background:#875b46;color:#fff0d4;border:1px solid #724934}
@media(max-width:420px){.layout-row{align-items:stretch;flex-direction:column;gap:5px}.layout-row>div{justify-content:space-between}.layout-row button{flex:1}.removal-heading h3{font-size:21px}.removal-confirm{flex-direction:column}}

@media(max-width:600px){#sheet[data-panel=inventory] .sheet-header h2{font-size:24px}#sheet[data-panel=inventory] .sheet-header{gap:8px}.barn-capacity b{white-space:nowrap}.stock-heading>.item-art,.stock-heading>.item-art>svg{width:48px;height:48px}.stock-heading>.item-art{flex-basis:48px}}

/* 1.4.2: goals explain their benefit before asking for personal information. */
.goals-empty ol{padding-left:1.6rem;display:grid;gap:14px}.goals-empty li::marker{color:#8d6838;font-weight:700}.goals-empty p{margin:6px 0 12px}.bonus-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.bonus-cards article{padding:16px;border:1px solid #d7c7aa;border-radius:15px;background:#eee4cf}.bonus-cards p{font-size:.9rem;line-height:1.6;margin-bottom:0}.seed-benefits{margin-top:28px}.review-receipt h3{font-size:1.6rem;overflow-wrap:anywhere}.review-receipt ul{padding-left:20px}.review-receipt li{margin:12px 0}.review-history{margin:16px 0}.review-history summary{min-height:48px;display:flex;align-items:center}.weekly-bonus>b{font-size:1.2rem}@media(max-width:600px){.bonus-cards{grid-template-columns:1fr}.review-receipt h3{font-size:1.3rem}.goals-empty h3{font-size:1.25rem}}

/* 1.7.1: the first choice precedes supplementary explanation. */
.goals-empty>h3{font-size:28px;line-height:1.15;margin:0 0 14px}.goals-empty>p{line-height:1.55;margin:0 0 20px}.goals-empty .stack{gap:10px}.goals-empty button{min-height:48px}.goals-empty .privacy-note{margin:16px 0}.seed-explanation summary{min-height:48px;padding:12px 0;font-size:14px}.receipt-seeds{font:600 26px/1.2 var(--serif);color:#375b3b}.prestige-catalog{margin-top:30px}.prestige-catalog .catalog-card h4{font:22px/1.2 var(--serif);margin:12px 0}.prestige-catalog button,.mascot-card>button{min-height:48px;width:100%}.mascot-card>button{margin-top:16px}.prestige-catalog .art{height:150px}.prestige-catalog .art svg{max-height:150px}
@media(max-width:600px){#sheet[data-panel=growth] .sheet-header{padding-top:14px;padding-bottom:14px}#sheet[data-panel=growth] .sheet-header h2{font-size:25px;line-height:1.12}#sheet[data-panel=growth] #sheet-body{padding-top:12px}.goals-empty>h3{font-size:23px;margin-bottom:12px}.goals-empty>p{font-size:14px;line-height:1.5;margin-bottom:16px}.goals-empty .privacy-note{font-size:11px;margin:14px 0}.goals-empty button{font-size:14px;padding:12px 10px}.seed-explanation summary{font-size:12px}.review-receipt .receipt-seeds{font-size:25px}}
