/* Atelier operational polish. Deliberately loaded after the original theme. */
.theme-atelier .hero-grid:has(.banner-upload){
  grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;
}
.theme-atelier .hero.banner-upload{
  padding:0!important;display:block;position:relative;width:100%;
  aspect-ratio:3/1;min-height:0;height:auto;align-self:stretch;overflow:hidden;
  border-radius:16px;background:#edf1e8;
}
.theme-atelier .hero.banner-upload img{
  display:block;position:absolute;inset:0;width:100%;height:100%;
  max-height:none;object-fit:cover;object-position:center;
}
.theme-atelier .product-info>.store-link{
  font-size:14px;font-weight:700;color:#3c5748;line-height:1.65;
  display:flex;align-items:center;gap:6px;min-height:24px;margin-bottom:8px;
  overflow-wrap:anywhere;
}
.theme-atelier .store-link .icon{width:15px;height:15px;flex:0 0 15px}
.money-inline{display:inline-flex;align-items:baseline;gap:5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.money-inline small{display:inline!important;font-size:14px;font-weight:700;color:#617366}
.balance-number{font-weight:700;color:var(--forest)}
.readable-log table{min-width:680px}
.readable-log th{white-space:nowrap}
.readable-log td{vertical-align:top;padding:18px 16px;line-height:1.75}
.readable-log td:first-child{width:155px}
.readable-log .detail-line{display:block;margin-top:5px;font-size:14px;color:#526450;overflow-wrap:anywhere}
.readable-log code{overflow-wrap:anywhere;white-space:normal;font-size:14px}
.person-name{font-size:14px;font-weight:700;color:#264c3b;overflow-wrap:anywhere}
.technical-details{margin-top:9px;font-size:14px;color:#596c59;max-width:440px}
.technical-details summary{cursor:pointer;font-size:14px;list-style-position:inside}
.technical-details[open]{padding:9px;background:#f5f7f1;border-radius:6px}
.technical-details dl{margin:8px 0;display:block}
.technical-details dt{font-weight:700}
.technical-details dd{margin:0 0 7px;overflow-wrap:anywhere}
.account-kind{display:inline-block;margin-top:7px;padding:3px 8px;background:#edf3e6;border-radius:5px;color:#39513b}
.notice-people{display:flex;gap:8px 22px;flex-wrap:wrap;margin:14px 0;color:#325642;font-size:14px}
.notice-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.notice-item time{color:#637360;font-size:14px;white-space:nowrap}
.notice-item .section-heading{align-items:start}
.notice-item p{font-size:14px;line-height:1.95}
.form-server-error{margin:18px 0;scroll-margin-top:120px}
.form-server-error p{font-size:14px;margin:6px 0 0}
.form-inline-error{margin:5px 0;color:#a32727;font-size:14px;line-height:1.8}
[aria-invalid="true"]{border-color:#bd5c55!important}
.moderation-card{margin-block:18px}
.moderation-card .section-heading{align-items:start}
.moderation-meta{display:flex;gap:8px 20px;flex-wrap:wrap;align-items:center;color:#63765f;font-size:14px}
.moderation-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:start;border-top:1px solid #e5ebdf;padding-top:14px;margin-top:18px}
.moderation-actions form{margin:0}
.moderation-delete>summary{list-style:none;cursor:pointer}
.delete-confirm{padding:16px;border:1px solid #edd4ce;border-radius:8px;max-width:440px;background:#fffaf8;margin-top:10px!important}
.delete-confirm p{font-size:14px;line-height:1.8}
@media(max-width:720px){
 .theme-atelier .hero-grid:has(.banner-upload){grid-template-columns:minmax(0,1fr)}
 .theme-atelier .hero.banner-upload{aspect-ratio:3/1}
 .theme-atelier .product-info>.store-link{font-size:14px;min-height:22px;gap:4px}
 .theme-atelier .store-link .icon{width:13px;height:13px;flex-basis:13px}
 .readable-log td{padding:14px 12px}
 .notice-item .section-heading{gap:8px;flex-wrap:wrap}
}
