/* finesse · register=product · design-language=apple · apple-mode=app · existing-miaotian-palette */
.cms-tabs{display:flex;gap:6px;overflow:auto;padding:5px;margin-bottom:20px;border:1px solid #dbe2d9;border-radius:16px;background:#e9eee7}.cms-tabs button{flex:1;white-space:nowrap;min-height:44px;padding:10px 16px;border:0;border-radius:11px;color:#405448;background:transparent;font:inherit;cursor:pointer}.cms-tabs button.active{background:#fffcf7;color:#234b36;box-shadow:0 2px 8px #2033290c;font-weight:600}.cms-tabs button:active,.cms-remove:active{transform:scale(.97)}.cms-tabs button:focus-visible,.cms-remove:focus-visible{outline:2px solid #315843;outline-offset:3px}.cms-records{margin-top:24px}.cms-records article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid #e6e3d9}.cms-records article:last-child{border:0}.cms-records article>div{min-width:0}.cms-records small{display:block;margin-top:7px;color:#59685f;line-height:1.6}.cms-records p{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere}.cms-empty{padding:32px 0;color:#59685f}.cms-slides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.cms-slides fieldset{min-width:0;border:1px solid #dbe2d9;border-radius:18px;padding:20px;background:#f7f7f0}.cms-slides legend,.cms-products legend{font-weight:600;color:#315843;padding:0 8px}.cms-slides .field{margin-top:18px}.cms-media{margin:12px 0}.cms-media-previews{display:flex;gap:10px;flex-wrap:wrap}.cms-media-item{position:relative;max-width:100%;margin-bottom:12px;padding-right:25px}.cms-media-item img{display:block;width:112px;height:88px;object-fit:cover;border-radius:10px}.cms-remove{position:absolute;right:0;top:0;width:44px;height:44px;margin:0;border:1px solid #dbe2d9;border-radius:50%;font-size:25px;background:#fffcf7;color:#315843;cursor:pointer}.cms-upload-label{display:inline-flex;position:relative;align-items:center;overflow:hidden}.cms-upload-status{display:block;margin-top:8px;color:#59685f;font-size:12px}.cms-products{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:12px 20px;border:1px solid #dbe2d9;border-radius:16px;padding:18px}.cms-products label{display:flex;align-items:center;gap:8px;min-height:36px;max-width:100%;font-size:14px}.cms-publish{display:flex!important;flex-direction:row!important;align-items:center;gap:10px}.cms-publish input,.cms-products input{width:18px;min-height:18px;accent-color:#315843}.cms-review-images{display:flex;gap:12px;margin-top:12px}.cms-review-images img{width:100px;height:100px;object-fit:cover;border-radius:12px}.cms-reviews article{align-items:flex-start}.cms-reviews .button-row{flex:none}#cms-panel .field>span{font-weight:600;font-size:14px}#cms-panel textarea,#cms-record textarea,#cms-details textarea{resize:vertical;line-height:1.65}#cms-panel input:focus-visible,#cms-panel textarea:focus-visible,#cms-panel select:focus-visible{outline:2px solid #315843;outline-offset:2px}
@media(max-width:1000px){.cms-slides{grid-template-columns:minmax(0,1fr)}.cms-records article{align-items:flex-start;flex-wrap:wrap}.cms-reviews .button-row{width:100%}}
@media(prefers-reduced-motion:reduce){.cms-tabs button:active,.cms-remove:active{transform:none}}
.cms-slides input[type="checkbox"]{width:18px!important;height:18px!important;min-height:18px!important;margin:0;accent-color:#315843}.cms-slides fieldset>label:not(.field){display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;min-height:44px}
