:root{--mypr-red:#ed1c24;--mypr-ink:#181b20;--mypr-muted:#6e7782;--mypr-line:#e4e7ec;--mypr-bg:#f7f8fa}.mypr-wrap{max-width:1320px;margin:24px auto 60px;color:#222a34;font-family:inherit}.mypr-hero{padding:28px 30px;border-radius:20px;background:#171a20;color:#fff;margin-bottom:18px}.mypr-hero span{font-size:11px;font-weight:900;letter-spacing:.12em;color:#ff9da1}.mypr-hero h2{margin:5px 0 5px!important;color:#fff!important;font-size:28px!important;font-weight:900!important}.mypr-hero p{margin:0!important;color:#c8cdd4!important;font-size:13px!important}.mypr-hero.garage{background:#20252c}.mypr-card{margin:14px 0;padding:22px;border:1px solid var(--mypr-line);border-radius:17px;background:#fff;box-shadow:0 5px 19px rgba(17,24,39,.035)}.mypr-title{margin-bottom:16px}.mypr-title b{display:block;font-size:18px;font-weight:900}.mypr-title small,.mypr-card small{display:block;margin-top:4px;color:var(--mypr-muted);font-size:11px;line-height:1.55}.mypr-form{display:grid;gap:16px}.mypr-form label{font-size:13px;font-weight:800}.mypr-form input,.mypr-form select,.mypr-form textarea,.mypr-message-form textarea{width:100%;box-sizing:border-box;margin-top:7px;padding:12px 13px;border:1px solid #d8dce2;border-radius:10px;background:#fff;color:#1e2530;font-size:14px}.mypr-form input,.mypr-form select{min-height:48px}.mypr-form textarea,.mypr-message-form textarea{min-height:100px;resize:vertical}.mypr-question{display:flex;align-items:center;gap:11px;margin-top:4px}.mypr-qnum{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:50%;background:#181b20;color:#fff;font-size:12px;font-weight:900}.mypr-question strong{display:block;font-size:15px}.mypr-question small{display:block;color:var(--mypr-muted);font-size:11px}.mypr-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mypr-checks label{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid #e5e8ed;border-radius:10px;background:#fafbfc;font-size:13px;font-weight:750}.mypr-checks input{width:18px!important;height:18px!important;min-height:0!important;margin:0!important;accent-color:var(--mypr-red)}.mypr-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:0;border-radius:10px;cursor:pointer;font-weight:900}.mypr-btn.primary{background:var(--mypr-red);color:#fff}.mypr-btn.dark{background:#181b20;color:#fff}.mypr-btn.success{background:#15965a;color:#fff}.mypr-btn.ghost{background:#f3f4f6;color:#424b55}.mypr-section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 2px 10px}.mypr-section-head h3{margin:0!important;font-size:18px!important;font-weight:900!important}.mypr-section-head span{padding:4px 8px;border-radius:999px;background:#eef0f3;font-size:10px;font-weight:800}.mypr-case{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 0;padding:18px 20px;border:1px solid var(--mypr-line);border-radius:14px;background:#fff;color:inherit!important;text-decoration:none!important;box-shadow:0 4px 14px rgba(17,24,39,.025)}.mypr-case small{color:#89919b;font-size:10px;font-weight:800}.mypr-case h3{margin:3px 0!important;font-size:17px!important;font-weight:900!important}.mypr-case p{margin:2px 0!important;color:#4f5965!important;font-size:12px!important}.mypr-case span{color:#7b8490;font-size:10px}.mypr-status{flex:0 0 auto;padding:7px 11px;border-radius:999px;font-size:11px;font-weight:900}.mypr-status.progress{background:#eef4ff;color:#2959b8}.mypr-status.success{background:#ecfdf3;color:#087a43}.mypr-status.cancelled{background:#fff1f2;color:#b42318}.mypr-status.neutral{background:#f2f4f7;color:#59636e}.mypr-empty{padding:30px;border:1px dashed #cfd4dc;border-radius:14px;background:#fafbfc;text-align:center;color:#7a8490;font-size:13px}.mypr-empty.small{padding:18px}.mypr-notice{margin:12px 0;padding:13px 15px;border:1px solid #c9ead6;border-radius:11px;background:#effbf4;color:#087942;font-size:13px;font-weight:800}.mypr-notice.error{border-color:#ffd5d8;background:#fff1f2;color:#b42318}.mypr-back{display:inline-block;margin:4px 0 8px;color:#4c5662!important;font-size:12px;font-weight:800;text-decoration:none!important}.mypr-case-head,.mypr-quote-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.mypr-case-head h2{margin:3px 0!important;font-size:22px!important;font-weight:900!important}.mypr-tags{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}.mypr-tags span,.mypr-breakdown span{padding:6px 9px;border-radius:8px;background:#f3f5f7;color:#45505c;font-size:10px;font-weight:800}.mypr-desc{font-size:13px!important;line-height:1.7!important}.mypr-photos{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.mypr-photos img{width:110px;height:82px;object-fit:cover;border-radius:9px;border:1px solid #e3e6ea}.mypr-chat{display:grid;gap:10px}.mypr-msg{max-width:82%;padding:12px 14px;border-radius:13px;background:#f3f5f7}.mypr-msg.customer{margin-left:auto;background:#fff2f2}.mypr-msg b{font-size:11px}.mypr-msg p{margin:4px 0!important;font-size:13px!important;line-height:1.6!important}.mypr-msg small{font-size:9px}.mypr-message-form{margin-top:16px;padding-top:15px;border-top:1px solid #edf0f3}.mypr-inline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.mypr-inline input{font-size:11px}.mypr-quote{margin:10px 0;padding:19px;border:1px solid var(--mypr-line);border-radius:14px;background:#fff}.mypr-quote-head h3{margin:2px 0!important;font-size:17px!important}.mypr-quote-head strong{color:var(--mypr-red);font-size:27px;font-weight:900}.mypr-breakdown{display:flex;gap:6px;flex-wrap:wrap;margin:12px 0}.mypr-selected{margin-top:12px;padding:10px;border-radius:9px;background:#effbf4;color:#087942;font-size:12px;font-weight:900}.mypr-actions{display:flex;justify-content:flex-end;margin:12px 0}.mypr-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mypr-settings summary{cursor:pointer;font-size:15px;font-weight:900}.mypr-settings form{margin-top:15px}.mypr-switch{display:block;margin:14px 0;font-size:13px;font-weight:800}
@media(max-width:640px){.mypr-wrap{margin:12px auto 40px}.mypr-hero{padding:22px 18px;border-radius:15px}.mypr-hero h2{font-size:23px!important}.mypr-card{padding:17px;border-radius:14px}.mypr-checks,.mypr-grid3{grid-template-columns:1fr}.mypr-case{padding:15px}.mypr-case h3{font-size:15px!important}.mypr-status{font-size:10px}.mypr-msg{max-width:92%}.mypr-inline{align-items:flex-end;flex-direction:column}.mypr-inline .mypr-btn{width:100%}.mypr-quote-head strong{font-size:23px}}

/* v0.1.2 車検診断ページ統合調整 */
.myps-customer-dashboard .mypr-wrap,.myps-app .mypr-wrap{width:100%;max-width:1320px;box-sizing:border-box;}
.mypr-checks label{position:relative;cursor:pointer;user-select:none;}
.mypr-checks input[type=checkbox]{appearance:auto!important;-webkit-appearance:checkbox!important;display:block!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;position:static!important;clip:auto!important;clip-path:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;cursor:pointer!important;accent-color:var(--mypr-red)!important;}
.mypr-checks label:has(input:checked){border-color:#ed1c24;background:#fff6f6;box-shadow:0 0 0 2px rgba(237,28,36,.06);}
.mypr-hero-link{scroll-behavior:smooth;}
#mypit-repair{scroll-margin-top:90px;}
@media(max-width:760px){.myps-customer-dashboard .mypr-wrap,.myps-app .mypr-wrap{max-width:100%;}}

/* v0.1.3: customer repair categories use self-contained selectable buttons. */
.mypr-checks .mypr-choice{display:flex!important;align-items:center!important;gap:10px!important;cursor:pointer!important;pointer-events:auto!important;position:relative!important;z-index:2!important;}
.mypr-checks .mypr-choice>input[type="checkbox"]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-width:1px!important;min-height:1px!important;pointer-events:none!important;}
.mypr-choice-box{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:22px!important;height:22px!important;min-width:22px!important;border:2px solid #b9c0c9!important;border-radius:6px!important;background:#fff!important;color:transparent!important;font-size:14px!important;font-weight:900!important;line-height:1!important;box-sizing:border-box!important;}
.mypr-choice.is-selected{border-color:#ed1c24!important;background:#fff6f6!important;box-shadow:0 0 0 2px rgba(237,28,36,.06)!important;}
.mypr-choice.is-selected .mypr-choice-box{border-color:#ed1c24!important;background:#ed1c24!important;color:#fff!important;}
.mypr-choice-text{pointer-events:none!important;}

/* v0.1.4 photo picker + left calendar */
.mypr-file-master,.mypr-file-source{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;clip-path:inset(50%)!important;padding:0!important;border:0!important;margin:0!important}
.mypr-photo-actions{display:flex;flex-wrap:wrap;gap:10px}.mypr-photo-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px 16px;border:1px solid #d8dce2;border-radius:10px;background:#fff;color:#222a34;font-size:13px;font-weight:900;cursor:pointer}.mypr-photo-btn:hover{background:#f7f8fa}.mypr-photo-preview{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.mypr-photo-item{position:relative;width:112px}.mypr-photo-item img{display:block;width:112px;height:84px;object-fit:cover;border:1px solid #e3e6ea;border-radius:9px}.mypr-photo-remove{position:absolute;top:4px;right:4px;width:25px;height:25px;padding:0;border:0;border-radius:50%;background:rgba(20,24,30,.82);color:#fff;font-size:16px;line-height:25px;text-align:center;cursor:pointer}.mypr-photo-item small{display:block;overflow:hidden;margin-top:4px;text-overflow:ellipsis;white-space:nowrap;color:#77808b;font-size:9px}.mypr-date-field{position:relative}.mypr-date-field .mypr-date-icon{position:absolute;left:13px;top:50%;z-index:2;transform:translateY(-50%);font-size:17px;pointer-events:none}.mypr-date-field input[type=date]{padding-left:43px!important;padding-right:13px!important}.mypr-date-field input[type=date]::-webkit-calendar-picker-indicator{opacity:0;position:absolute;left:0;width:42px;height:100%;cursor:pointer}
@media(max-width:600px){.mypr-photo-actions{display:grid;grid-template-columns:1fr 1fr}.mypr-photo-btn{width:100%;box-sizing:border-box}.mypr-photo-item,.mypr-photo-item img{width:96px}.mypr-photo-item img{height:72px}}

/* v0.1.5 投稿確認モーダル */
.mypr-modal{display:none;position:fixed;inset:0;z-index:999999;align-items:center;justify-content:center;padding:20px}
.mypr-modal.is-open{display:flex}
.mypr-modal-backdrop{position:absolute;inset:0;background:rgba(10,14,22,.58)}
.mypr-modal-dialog{position:relative;width:min(480px,100%);background:#fff;border-radius:18px;padding:28px;box-shadow:0 24px 70px rgba(0,0,0,.28);text-align:left}
.mypr-modal-dialog h3{margin:0 0 10px;font-size:20px;color:#171b24}
.mypr-modal-dialog p{margin:0 0 24px;color:#5c6370;line-height:1.7}
.mypr-modal-actions{display:flex;justify-content:flex-end;gap:10px}
.mypr-modal-actions .mypr-btn{min-width:120px}
body.mypr-modal-open{overflow:hidden}
#mypr-case-list{scroll-margin-top:24px}
@media(max-width:600px){.mypr-modal-dialog{padding:22px 18px}.mypr-modal-actions{display:grid;grid-template-columns:1fr 1fr}.mypr-modal-actions .mypr-btn{min-width:0;width:100%}}
.mypr-validation-message{white-space:pre-line}
.mypr-validation-ok{min-width:130px}

/* v0.1.9 visible multiple-request controls */
#mypr-new-request{scroll-margin-top:100px}
.mypr-case-list-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;flex-wrap:wrap!important}
.mypr-case-list-title{display:flex;align-items:center;gap:8px}
.mypr-case-list-title h3{margin:0!important}
.mypr-new-request-btn{display:inline-flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;justify-content:center!important;text-decoration:none!important;white-space:nowrap!important;position:relative!important;z-index:3!important}
.mypr-detail-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 10px}
.mypr-detail-nav .mypr-back{margin:0}
@media(max-width:640px){.mypr-case-list-head,.mypr-detail-nav{align-items:stretch!important;flex-direction:column!important}.mypr-new-request-btn{width:100%!important;box-sizing:border-box!important}.mypr-case-list-title{justify-content:space-between}}
