.heading-actions{display:flex;gap:10px;flex-wrap:wrap}.underlined,.back-link{text-decoration:underline;text-underline-offset:4px}.back-link{display:inline-block;color:var(--muted);margin-bottom:22px}.service-link:hover{color:var(--accent);text-decoration:underline;text-underline-offset:3px}.photo-table th:first-child{width:64px}.photo-table th:nth-child(2){width:42%}.photo-table th:nth-child(3){width:25%}.photo-table th:nth-child(4){width:12%}.photo-table th:nth-child(5){width:14%}.photo-table td{vertical-align:middle}.photo-link{display:flex;width:48px;height:48px;border-radius:5px;overflow:hidden}.service-thumb{width:48px;height:48px;object-fit:cover;border-radius:5px}.no-photo{width:48px;height:48px;display:flex;align-items:center;justify-content:center;border:1px dashed #a9b8af;color:#52665a;font-size:11px;border-radius:5px}.photo-filters .search-field{width:280px;flex-shrink:0}.photo-filters #category{max-width:270px}.photo-filters .photo-select{width:170px;max-width:170px}.photo-filters button{flex-shrink:0}.photo-editor{display:grid;grid-template-columns:minmax(240px,1fr) minmax(320px,1fr);gap:40px;margin-top:30px}.photo-preview{margin:18px 0;min-height:240px;background:#f4f7f5;border:1px solid var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}.photo-preview>img{width:100%;max-height:460px;object-fit:contain}.upload-panel>p{margin-top:10px;max-width:440px}.upload-panel input[type=file],.library-upload input[type=file]{width:100%;padding:10px;height:auto;min-height:44px;white-space:normal}.library-link{margin-top:14px}.remove-form{margin-top:22px}.danger{color:#9c2228}.remove-form button{min-height:40px}.image-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin-top:26px}.image-item{min-width:0}.image-item img{display:block;width:100%;height:170px;object-fit:cover;border-radius:6px;background:#edf2ef}.image-item p{margin-top:10px}.image-item>span{display:block;margin-top:4px}.choose-image>.secondary{margin-top:12px;width:100%}.library-upload{display:flex;gap:24px;align-items:end;padding-bottom:26px;border-bottom:1px solid var(--border)}.library-upload>div{max-width:560px;flex:1}.library-upload label{display:block;font-weight:500;margin-bottom:8px}.library-upload>.primary{margin-top:0;flex-shrink:0}.feed-link-panel{padding:24px;background:#f4f7f5;border:1px solid var(--border);border-radius:8px}.feed-link-panel>p{margin-top:8px;font-size:13px}.copy-row{display:flex;gap:10px;margin-top:18px}.copy-row>input{flex:1;min-width:0;font-size:13px}.feed-state{display:flex;gap:8px;align-items:center;color:#275640}.feed-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px;margin-top:32px}.feed-form{max-width:480px}.checkbox{display:flex;align-items:flex-start;gap:10px;font-weight:400;line-height:1.5}.checkbox input{margin-top:5px;width:16px;height:16px;flex-shrink:0}.feed-help{color:var(--muted);font-size:13px}.feed-help h2{color:var(--text)}.feed-help p{margin-top:16px}.flash-messages{margin-bottom:20px}.flash-messages .notice:last-child{margin-bottom:0}
@media(max-width:1200px){.photo-filters{flex-wrap:wrap}.photo-filters .search-field{flex:1;width:auto;min-width:230px}.image-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-table th:nth-child(2){width:38%}.photo-table th:nth-child(3){width:22%}.photo-table th:nth-child(4){width:12%}.photo-table th:nth-child(5){width:17%}.heading-actions{justify-content:flex-end}}
@media(max-width:800px){.photo-editor,.feed-layout{grid-template-columns:1fr;gap:28px}.photo-preview{max-width:540px}.image-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-filters .search-field{width:100%;flex-basis:100%}.library-upload{flex-direction:column;align-items:stretch;gap:16px}.library-upload>div{max-width:none}.feed-layout{gap:36px}.page-heading{align-items:flex-start}.heading-actions{justify-content:flex-start}}
@media(max-width:600px){.heading-actions{display:grid;grid-template-columns:1fr;width:100%}.heading-actions .primary{grid-row:1}.heading-actions .secondary{min-height:40px}.photo-filters .photo-select{flex:1;width:auto;max-width:none}.photo-filters #category{max-width:none;flex-basis:100%}.photo-table tr{grid-template-columns:48px minmax(0,1fr) auto;gap:5px 10px;min-height:90px}.photo-table .photo-cell{grid-column:1;grid-row:1/4;padding-top:2px}.photo-table .service-name{grid-column:2;grid-row:1}.photo-table .price{grid-column:3;grid-row:1;font-size:12px}.photo-table .category-cell{grid-column:2/-1;font-size:12px}.photo-table .code{grid-column:2/-1;font-size:11px}.photo-table .empty{grid-column:1/-1}.image-grid{gap:18px 12px}.image-item img{height:130px}.photo-preview{min-height:210px}.feed-link-panel{padding:16px}.copy-row{flex-direction:column}.copy-row input{width:100%;min-height:44px}.copy-row button{min-height:44px}.feed-state{align-items:flex-start;font-size:12px}.feed-state .status-dot{margin-top:6px}.back-link{margin-bottom:18px}.photo-editor{margin-top:22px}.upload-panel .primary{width:100%;white-space:normal}.photo-editor h2{font-size:16px}.image-item p{font-size:12px}.feed-form>.primary{width:100%;white-space:normal}}

.description-editor{border-top:1px solid var(--border);margin-top:36px;padding-top:28px;max-width:900px}.description-editor>p{margin-top:8px}.description-editor textarea{font:inherit;width:100%;resize:vertical;min-height:90px;border:1px solid var(--control);border-radius:6px;padding:12px;background:#fff;color:var(--text);line-height:1.6}.description-editor textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
