.account-link{display:block;text-align:center}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}#ad-form label{display:block;font-size:14px}#ad-form input:not([type=checkbox]),#ad-form select,#ad-form textarea{width:100%;font:inherit;padding:10px;border:1px solid #ccd8e4;border-radius:8px;margin-top:6px;background:white}.roll-row{display:flex;align-items:end;gap:12px;margin:12px 0}.roll-row label{flex:1}.roll-row button{margin-bottom:2px}.ad-photos img{max-width:100%;max-height:500px;display:block;margin:16px auto}#image-preview img{width:90px;height:90px;object-fit:cover;border-radius:8px;margin:8px}#ad-form section{border-top:1px solid #e0e7ef;padding-top:16px;margin-top:24px}#ad-form h2{font-size:18px}@media(max-width:600px){.editor-grid{grid-template-columns:1fr}}

#retail-fields{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){#retail-fields{grid-template-columns:1fr}}

.category-choice{justify-content:flex-start}.category-choice button{font:inherit}.category-choice .chosen{background:#2859a0;color:white;border-color:#2859a0}.category-choice small{display:block;font-size:11px;color:#7b8994}.category-choice .unavailable{color:#7b8994;background:#f6f8fa}#choose-product{margin-top:28px}
#admin-company label{display:block;margin:16px 0}#admin-company input,#admin-company textarea{width:100%;padding:12px;border:1px solid #ccd8e4;border-radius:8px;font:inherit;margin-top:6px}#admin-content{margin-top:28px}

/* Compact advertisement editor */
#ad-form .ad-spec-grid{gap:12px 16px}#ad-form input:not([type=checkbox]):not([type=file]),#ad-form select{min-height:42px;padding:8px 10px}#roll-inputs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}#roll-inputs .roll-row{min-width:0;margin:0}#roll-inputs .roll-row label{min-width:0}@media(min-width:1100px){#ad-form .ad-spec-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#roll-inputs{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:600px){#roll-inputs{grid-template-columns:1fr}}

.ad-image-field{display:flex;align-items:flex-end;gap:12px}.ad-image-field>label{flex:1;min-width:0}.image-delete{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;margin-bottom:4px;border:1px solid #d3a6aa;border-radius:10px;background:#fff;color:#b42332;cursor:pointer}.image-delete:disabled{opacity:.4;cursor:default}.image-delete:focus-visible{outline:2px solid currentColor;outline-offset:3px}
#ad-form .beam-spec-grid{align-items:end}#ad-form .beam-spec-grid input,#ad-form .beam-spec-grid select{min-width:0}#ad-form .location-fields{grid-column:1/-1;width:100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 22px}#ad-form .location-select input:not([type=hidden]){padding-left:38px;min-width:0}#ad-form .location-toggle{top:auto;bottom:9px;height:26px;display:grid;place-items:center;padding:2px 7px}.location-options{max-height:250px}#ad-form .editor-grid{gap:12px 16px}#ad-form input:not([type=checkbox]):not([type=file]),#ad-form select{min-height:38px;font-size:13px;padding-top:6px;padding-bottom:6px}.my-ad-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:14px 18px!important;margin-top:12px!important}.my-ad-card .my-ad-info{min-width:0}.my-ad-card h2{font-size:17px;margin:0!important}.my-ad-card p{margin:4px 0 0;font-size:13px;color:#627685}.my-ad-price{display:flex;flex-direction:column;font-size:14px}.my-ad-price span,.my-ad-price small{font-size:12px;color:#627685}.my-ad-actions{display:flex;gap:8px}.ad-icon-action{display:grid;place-items:center;width:40px;height:40px;border:1px solid #d3dee8;border-radius:8px;color:#2859a0;background:white}.ad-icon-action:hover{background:#edf3ff}.ad-icon-action svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.my-ad-card .back-link{margin:0}@media(min-width:1100px){#ad-form .beam-spec-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:600px){#ad-form .location-fields{grid-template-columns:1fr}#ad-form input:not([type=checkbox]):not([type=file]),#ad-form select{min-height:44px}.my-ad-card{grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:14px!important}.my-ad-info{grid-column:1/-1}.my-ad-actions{justify-content:flex-end}.ad-icon-action{width:44px;height:44px}}
