.merchant-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);gap:24px;max-width:1200px}.merchant-form,.merchant-notes{padding:28px}.merchant-title{display:flex;align-items:center;justify-content:space-between;gap:16px}.merchant-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.merchant-layout label{display:flex;flex-direction:column;gap:8px;margin:14px 0;color:var(--ink);font-weight:600}.merchant-layout input,.merchant-layout textarea{width:100%;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--panel,#fff);color:var(--ink);font:inherit;box-sizing:border-box}.merchant-layout textarea{min-height:92px;resize:vertical}.merchant-product{display:grid;grid-template-columns:1fr .6fr 1.5fr;gap:12px;border-top:1px solid var(--line)}.merchant-notes ul{list-style:none;padding:0}.merchant-notes li{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:14px;justify-content:space-between;overflow-wrap:anywhere}.merchant-notes li button{border:0;background:transparent;color:var(--blue);min-width:44px;min-height:44px}.merchant-notes details{margin-top:28px}.merchant-notes summary{cursor:pointer}.merchant-memory-link{display:block;padding:12px 0;font-size:14px}.merchant-layout [role=status]{font-size:14px;line-height:1.6}.merchant-notes p{line-height:1.7}.region-link-copy+.region-link-copy{margin-top:12px}@media(max-width:768px){.merchant-layout{grid-template-columns:1fr;gap:16px}.merchant-form,.merchant-notes{padding:20px}.merchant-title{align-items:flex-start}.merchant-pair{grid-template-columns:1fr;gap:0}.merchant-product{grid-template-columns:1fr 1fr;gap:8px}.merchant-product label:last-child{grid-column:1/-1}.merchant-layout input,.merchant-layout textarea{font-size:16px}.merchant-layout h2{font-size:21px}.merchant-layout .button{min-height:48px}.merchant-title .badge{font-size:11px;white-space:nowrap}}@media(prefers-reduced-motion:reduce){.merchant-layout *{scroll-behavior:auto}}

.merchant-detail{border-top:1px solid var(--line);padding:18px 0}.merchant-detail summary{font-size:15px;font-weight:600;cursor:pointer;min-height:24px}.merchant-form>.button{margin-top:18px}

html[data-theme=dark] .merchant-layout input,html[data-theme=dark] .merchant-layout textarea{background:#18342a;color:#e8efdf;border-color:#365447}html[data-theme=dark] .merchant-layout input::placeholder,html[data-theme=dark] .merchant-layout textarea::placeholder{color:#9ab1a3}.merchant-layout input,.merchant-layout textarea{color:#173f3b}.merchant-layout input::placeholder,.merchant-layout textarea::placeholder{color:#7b8a84}

@media(max-width:768px){.merchant-page .workspace-subnav{display:none}.merchant-page .heading h1{font-size:25px;line-height:1.5}}

.assistant-rich-text{white-space:normal;line-height:1.8;overflow-wrap:anywhere}.assistant-rich-text p{margin:12px 0}.assistant-rich-text h3{font-size:1.1em;margin:20px 0 8px}.assistant-rich-text ul,.assistant-rich-text ol{padding-left:1.5em;margin:10px 0}.assistant-rich-text li{margin:7px 0}.assistant-rich-text pre{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border-radius:8px;background:rgba(128,128,128,.08)}

.photo-style-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:20px 0}.photo-style-grid button{min-width:0;border:1px solid var(--line,#dce4df);border-radius:12px;background:transparent;color:inherit;padding:6px;cursor:pointer}.photo-style-grid button[aria-pressed=true]{outline:2px solid var(--primary,#1b554d);outline-offset:1px}.photo-style-grid img{display:block;width:100%;height:64px;object-fit:cover;border-radius:7px;pointer-events:none}.photo-style-grid span{display:block;font-size:12px;line-height:1.5;padding:6px 0}@media(max-width:600px){.photo-style-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}}
