.preparation-tool{max-width:720px;padding-bottom:48px}.preparation-tool>h1{color:#203252;line-height:1.4;margin:26px 0 0}.prep-screen{padding:18px 0 26px}.prep-screen h2{color:#203252;line-height:1.4;margin:6px 0 14px}.prep-lead{font-size:1.05rem;line-height:1.8;color:#41516a}.prep-notice{background:#fff8ef;border:1px solid #f0dec7;border-radius:10px;padding:14px 16px;line-height:1.7;margin:20px 0}.prep-storage-copy,.prep-status,.prep-related{font-size:.9rem;line-height:1.7;color:var(--muted)}.prep-actions{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.prep-actions button{min-height:48px}.prep-actions .primary{flex:1}.prep-status{min-height:1.7em}.prep-status.ok{color:#17553a}.prep-status.warn,.prep-alert,.prep-error{color:#8a3b20}.prep-screen-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:16px}.prep-screen-head button{flex:none;margin-top:28px}.prep-summary,.prep-counts{background:#edf2fd;border-radius:10px;padding:12px 14px;font-weight:700;line-height:1.6}.prep-group{border-top:1px solid var(--line);padding:10px 0}.prep-group summary{font-size:1.05rem;font-weight:700;padding:8px 0}.prep-item-card{border-top:1px solid #e4eaf3;padding:16px 0}.prep-item-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.prep-item-head strong{line-height:1.55}.prep-badge{display:inline-block;margin-left:8px;padding:3px 7px;border-radius:999px;background:#edf3ff;color:#22489e;font-size:.72rem;font-weight:700;vertical-align:middle}.prep-necessity{white-space:nowrap;font-size:.8rem;padding:4px 8px;border-radius:999px;background:#f1f3f7;color:#52617a}.prep-required{background:#e9f6ee;color:#17553a}.prep-unknown{background:#fff2d8;color:#774c00}.prep-choice{border:0;padding:0;margin:12px 0 4px;display:flex;gap:7px;align-items:center;flex-wrap:wrap}.prep-choice legend{width:100%;font-size:.82rem;color:var(--muted);padding:0;margin-bottom:4px}.prep-choice label{display:inline-flex;align-items:center;gap:5px;min-height:44px;padding:5px 9px;border:1px solid var(--line);border-radius:8px;font-size:.9rem}.prep-choice input{width:18px;height:18px;accent-color:var(--blue)}.prep-detail{background:#f7f9fc;border-radius:10px;padding:14px;margin-top:12px}.prep-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.prep-field{margin:10px 0;min-width:0}.prep-field label,.prep-detail>label{display:block;font-weight:650;font-size:.9rem;line-height:1.5}.prep-field input,.prep-field select,.prep-detail input,.prep-detail select,.prep-detail textarea,.prep-add-form input,.prep-toolbar select{width:100%;min-height:44px;margin-top:5px;font-size:16px}.prep-field input[type=number]{width:130px}.prep-custom-name{margin:10px 0;display:block;font-weight:650;font-size:.9rem}.prep-custom-name input{display:block;width:100%;min-height:44px;margin-top:5px;font-size:16px}.prep-subdetail{border-top:1px solid var(--line);margin-top:14px;padding-top:8px}.prep-subdetail summary{font-weight:650;padding:8px 0}.dimension-question{display:grid;grid-template-columns:1.2fr 1fr 76px 42px 1.35fr;gap:7px;align-items:end}.dimension-question strong{font-size:.9rem;line-height:1.4}.dimension-question input,.dimension-question select{margin-top:0}.dimension-question .unit{padding-bottom:12px;font-size:.9rem}.prep-add-form{border-top:1px solid var(--line);margin-top:24px;padding-top:22px}.prep-add-form h2,.prep-confirmation h2,.prep-search-confirm h2{font-size:1.15rem}.prep-add-row{display:flex;gap:8px;align-items:end}.prep-add-row input{flex:1}.prep-add-row button{min-height:44px;white-space:nowrap}.prep-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0}.prep-toolbar label{font-weight:650}.prep-toolbar select{width:140px;margin:0}.prep-toolbar button{margin-left:auto}.prep-confirmation{background:#fff8ef;border:1px solid #f0dec7;border-radius:10px;padding:16px;margin:20px 0}.prep-confirmation li{margin:8px 0;line-height:1.6}.prep-result-card{border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0;background:#fff}.prep-result-card h3{margin:0 0 5px;font-size:1.05rem}.prep-result-meta{margin:0;color:var(--muted);font-size:.88rem}.prep-result-card dl{display:grid;grid-template-columns:7em 1fr;gap:7px 10px;margin:14px 0;font-size:.9rem;line-height:1.55}.prep-result-card dt{font-weight:700;color:#52617a}.prep-result-card dd{margin:0;overflow-wrap:anywhere}.prep-card-actions,.prep-bottom-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:12px}.prep-card-actions button,.prep-bottom-actions button{min-height:44px}.prep-search-confirm{border:2px solid #c6d8f4;border-radius:12px;background:#f7faff;padding:18px;margin:20px 0;scroll-margin-top:12px}.prep-search-confirm ul{padding-left:22px;line-height:1.7}.prep-empty{background:#f7f9fc;border-radius:10px;padding:16px;line-height:1.7}.prep-not-needed{margin-top:20px}.prep-not-needed>.prep-result-card{border-left:0;border-right:0;border-radius:0;background:transparent}.preparation-footer{max-width:720px;margin:0 auto;padding:20px 16px 40px;color:var(--muted);font-size:.82rem;line-height:1.7;border-top:1px solid var(--line)}
@media(max-width:650px){.preparation-tool{padding-bottom:32px}.prep-screen{padding:20px 0}.prep-screen-head{display:block}.prep-screen-head button{margin-top:8px;width:100%}.prep-detail-grid{grid-template-columns:1fr}.prep-add-row{display:block}.prep-add-row input,.prep-add-row button{width:100%;margin-top:8px}.prep-toolbar{align-items:stretch}.prep-toolbar select{width:100%}.prep-toolbar button{margin-left:0;width:100%}.dimension-question{grid-template-columns:1fr 1fr}.dimension-question strong{grid-column:1/-1}.dimension-question .unit{padding:0;align-self:center}.prep-choice{align-items:stretch}.prep-choice label{flex:1;justify-content:center}.prep-choice .text-button{width:100%}.prep-result-card dl{grid-template-columns:6.5em 1fr}}
@media(max-width:350px){.preparation-tool>h1{font-size:1.55rem}.prep-choice label{font-size:.82rem;padding-left:5px;padding-right:5px}.prep-item-head{display:block}.prep-necessity{display:inline-block;margin-top:7px}.dimension-question{grid-template-columns:1fr}.dimension-question .unit{display:none}}
@media print{header,.prep-actions,.prep-toolbar,.prep-card-actions,.prep-bottom-actions,.preparation-footer,.prep-status,.prep-add-form{display:none!important}.preparation-tool{max-width:none}.prep-screen{display:block!important}.prep-screen:not(#screen-list){display:none!important}.prep-result-card{break-inside:avoid}.prep-confirmation{border:1px solid #999}}
