/* A resident's notebook, delivery slip and repair letter share the game's paper palette. */
.request-deadline{padding:10px 12px;border:1px solid var(--line);background:var(--mint);font-size:13px;line-height:1.8}
.compare-request{margin:12px 0;font-size:13px;line-height:1.8}.compare-request summary{min-height:44px;padding:10px 0;color:var(--leaf);cursor:pointer}.compare-request[open] summary{margin-bottom:8px}
.offer-delivery{display:block;grid-column:1/-1;margin-top:4px;color:var(--leaf);font-size:12px;line-height:1.7}
.offer-delivery.is-late{color:var(--error)}
#cards .product-error{grid-column:1/-1;text-align:left;margin-top:0}
.procurement-heading{display:flex;align-items:center;gap:14px;margin-bottom:12px}
.procurement-heading canvas{width:64px;height:76px;flex:none;image-rendering:pixelated;object-fit:contain}
.procurement-heading h2{margin:0 0 8px}.procurement-heading p{margin:0;font-size:13px;line-height:1.7}
.procurement-quote{position:relative;padding:16px 18px;border:2px solid var(--leaf);border-radius:8px;background:var(--paper);font-size:15px;line-height:1.9;min-height:100px}
.need-questions{display:grid;gap:8px;margin:18px 0}.need-question{text-align:left;min-height:48px;padding:12px 16px;border:1px solid var(--leaf);border-radius:6px;background:var(--paper);color:var(--leaf)}
.need-question[aria-pressed=true]{background:var(--mint);border-width:2px;padding:11px 15px}
.need-notebook{padding:16px;background:var(--mint);border:1px dashed var(--leaf);border-radius:6px;margin-bottom:18px}.need-notebook h3{font-size:14px;margin:0 0 10px}.need-notebook ul{padding-left:20px;font-size:13px;line-height:1.8;margin:0}
.procurement-tabs{display:flex;gap:6px;margin:14px 0}.procurement-tabs button{flex:1;min-width:0;min-height:48px;padding:8px 6px;border:1px solid var(--leaf);border-radius:6px;font-size:13px;background:var(--paper);color:var(--leaf)}
.procurement-tabs button[aria-pressed=true]{background:var(--leaf);color:var(--paper)}
.inspection-slip{margin:16px 0;border:1px solid var(--line);background:var(--paper);padding:16px}.inspection-slip dt{font-size:12px;color:var(--leaf);font-weight:bold;margin-bottom:8px}.inspection-slip dd{margin:0 0 20px;font-size:16px;line-height:1.8}.inspection-slip dd:last-child{margin-bottom:0}
.inspection-actions{display:flex;gap:10px}.inspection-actions button{flex:1;min-height:48px}.procurement-feedback{font-size:14px;line-height:1.8;min-height:50px;color:var(--leaf)}
.procurement-feedback:empty{display:none}
#inspectionReplace{width:100%;margin-top:12px;min-height:48px}#inspectionAccept,#needContinue{width:100%;min-height:48px}
.care-step{margin:14px 0;padding-bottom:14px;border-bottom:1px dashed var(--line)}.care-step p{font-size:14px;line-height:1.8}.care-step button{min-height:48px}.care-actions{display:grid;gap:10px}.care-actions button{text-align:left;min-height:48px;padding:12px}.care-thanks{padding:16px;background:var(--mint);line-height:1.9;border:1px solid var(--leaf);border-radius:6px}
#careRequest{position:absolute;transform:translate(-50%,-100%);max-width:150px;min-height:44px;padding:8px 10px;border:2px solid var(--leaf);border-radius:8px;background:var(--peach);color:var(--ink);font-size:12px;line-height:1.5;z-index:2}
#endingCare,#albumCare{width:100%;margin:12px 0;min-height:48px}.procurement-footnote{font-size:12px;line-height:1.8;color:var(--muted)}
.large-text .procurement-quote,.large-text .inspection-slip dd,.large-text .procurement-feedback,.large-text .care-step p,.large-text .care-thanks{font-size:18px}
.large-text .need-question,.large-text .procurement-tabs button{font-size:16px}
.large-text .request-deadline,.large-text .offer-delivery{font-size:14px}
@media(min-width:781px){#cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#cards .product-choice{display:grid;grid-template-columns:70px minmax(0,1fr);align-items:center;min-height:204px;padding:16px 12px;gap:10px;text-align:left}#cards .product-image{width:70px;height:80px;margin:0}#cards .product-info{min-width:0}#cards .product-name{padding-right:0;min-height:0;grid-column:1/-1}#cards .product-specs{min-height:0}#cards .product-price{position:static;grid-column:1/-1;justify-self:start;margin-top:3px}}
@media(max-width:480px){.procurement-quote{font-size:14px;padding:12px;min-height:120px}.inspection-slip{padding:12px}.inspection-slip dd{font-size:15px}.procurement-heading{gap:10px}.procurement-tabs button{font-size:12px}#cards .offer-delivery{font-size:11px}#careRequest{max-width:130px;font-size:11px}}

.large-text #cards .offer-delivery{font-size:14px}

/* End-of-day activities stay optional and visible before the long town ledger. */
.ending-followup{margin:20px 0 24px;padding:16px 0 20px;border-block:1px solid var(--line)}
#ending .ending-followup h3{margin:0 0 12px;font-size:16px;line-height:1.7;color:var(--leaf)}
.ending-followup ul{list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;padding:0;margin:0 0 16px;font-size:14px;line-height:1.8;color:var(--leaf)}
#endingNext{width:100%;min-height:48px;font-size:14px;line-height:1.8}
.care-choice-title{font-size:16px;line-height:1.8;margin:18px 0 10px;color:var(--leaf)}
.care-actions button{border:1px solid var(--leaf);background:var(--paper);color:var(--ink)}
.care-actions button:hover{background:var(--mint)}
#ending #thanks{word-break:keep-all;overflow-wrap:anywhere;text-wrap:balance}
#careDone{width:100%;min-height:48px}
.large-text .ending-followup ul,.large-text #endingNext{font-size:16px}
@media(max-width:480px){.ending-followup ul{grid-template-columns:1fr}.care-actions button{line-height:1.8}}
