:root{font-family:system-ui,"Yu Gothic",sans-serif;color:#342d25;background:#fffaf2;line-height:1.7}*{box-sizing:border-box}body{margin:0}.notice{background:#675540;color:white;text-align:center;padding:8px;font-size:13px}header{padding:22px max(24px,calc((100vw - 1160px)/2));display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e9dfd1;background:#fffefa;gap:12px}.brand{font-size:20px;font-weight:800;text-decoration:none;color:inherit}.brand span{font-size:13px;color:#8c7560;margin-left:14px}.badge{border:1px solid #e6d3b9;border-radius:24px;padding:4px 13px;color:#856748;font-size:12px}main{max-width:1160px;margin:0 auto;padding:35px 24px 60px}.intro{margin-bottom:30px}.eyebrow{font-size:12px;letter-spacing:.18em;color:#b36113;font-weight:700;margin:0 0 10px}h1{font-size:32px;line-height:1.5;margin:0 0 16px}.intro>p:last-child{color:#82715e}.workspace{display:grid;grid-template-columns:1.15fr 1fr;gap:30px;align-items:start}.panel,.bike-card{background:#fff;border:1px solid #e9dfd1;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px #6b492508}.panel{padding:28px}h2{font-size:22px;margin:0 0 8px}.muted{color:#8b7b69;font-size:14px}label{display:block;font-size:14px;font-weight:700;margin:20px 0 7px}label span{color:#b67532;font-size:11px;margin-left:7px}input:not([type=file]),textarea{width:100%;border:1px solid #dacebc;border-radius:8px;padding:12px;font:inherit;font-size:14px;background:#fffefa;color:inherit}input:focus,textarea:focus{outline:2px solid #f5a742;outline-offset:2px}.fields{display:grid;grid-template-columns:1fr 1fr;gap:14px}textarea{resize:vertical}.photo-heading{display:flex;align-items:baseline;justify-content:space-between}.photo-heading>span{font-size:12px;color:#8b7b69}input[type=file]{width:100%;font:inherit;font-size:13px}.hint{font-size:12px;color:#887c6f}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}button{background:#e88b17;color:#fff;border:1px solid #e88b17;padding:11px 15px;border-radius:8px;font:inherit;font-size:13px;cursor:pointer}button:hover{filter:brightness(.96)}.secondary{background:#fff;color:#866846;border-color:#e3d3bd}.preview-label{color:#8b7b69;font-size:13px;margin:0 0 10px}.hero{height:280px;background:linear-gradient(145deg,#eee6d9,#f9f3e9);display:grid;place-items:center;color:#a79580;font-size:14px}.hero img{width:100%;height:280px;object-fit:cover}.card-body{padding:26px}#display-name,#display-intro{overflow-wrap:anywhere}#display-intro{white-space:pre-wrap;font-size:14px;min-height:70px}.future{display:flex;gap:18px;border-top:1px solid #eee4d7;padding-top:20px;color:#a08c75;font-size:13px}.thumbnails{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:14px}.thumbnail{position:relative}.thumbnail img{width:100%;height:65px;object-fit:cover;border-radius:7px}.thumbnail button{padding:0;width:23px;height:23px;border-radius:50%;position:absolute;right:0;top:0;background:#46382c;border:0;line-height:1}#photo-error{color:#a53120;font-size:13px}#save-status{font-size:13px;color:#657746}@media(max-width:800px){.workspace{grid-template-columns:1fr}.preview-column{order:2}.brand span{display:block;margin:0}.badge{white-space:nowrap}h1{font-size:27px}.panel{padding:20px}main{padding:26px 16px}.fields{grid-template-columns:1fr}.hero,.hero img{height:240px}}
button:disabled,input:disabled,textarea:disabled{opacity:.65;cursor:wait}
/* Narrow screens: keep controls readable and separate image actions. */
@media(max-width:640px){
 button,input:not([type=hidden]):not([type=checkbox]):not([type=radio]),select{min-height:44px}
 button{min-width:44px}
 input:not([type=file]),input[type=file],textarea,select{font-size:16px}
 input[type=file]::file-selector-button{font:inherit;min-height:44px;max-width:100%}
 .workspace{grid-template-columns:minmax(0,1fr)}.workspace>*{min-width:0}
 input,textarea,select{max-width:100%}
 .panel h1,.panel h2,.panel h3,.panel p{overflow-wrap:anywhere}
 .thumbnails{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
 .thumbnail img{height:88px}
 .thumbnail button,.thumbnail .replace-photo{position:static;display:block;width:100%;height:auto;min-width:0;min-height:44px;border-radius:6px;margin-top:5px;font-size:13px;line-height:1.5}
 .garage-entry,.public-feed-link{display:inline-flex;align-items:center;min-height:44px}
 dialog{max-width:calc(100% - 32px);max-height:85vh;overflow:auto;overflow-wrap:anywhere;border:1px solid #e9dfd1;border-radius:16px;padding:20px;background:#fffefa;color:#392c20}
 dialog p,dialog h2,dialog h3{overflow-wrap:anywhere}
}
