/* Scoped independent admin editor; uses the existing authenticated catalogue service. */
:root{font-family:Inter,Arial,sans-serif;color:#171b22;background:#f7f8fa;font-size:16px;line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0}a{color:#1262bc;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #106ddd;outline-offset:3px}[hidden]{display:none!important}.dp-top{height:76px;padding:0 max(24px,calc((100% - 1320px)/2));background:white;border-bottom:1px solid #e5e8ed;display:flex;align-items:center;justify-content:space-between;gap:12px}.dp-brand{display:flex;align-items:center;gap:10px;color:#111820}.dp-brand img{width:26px;height:38px}.dp-brand strong{font-size:21px}.dp-brand small{font-size:11px;display:block;letter-spacing:1.4px;color:#6c7789}main{max-width:1368px;padding:30px 24px 60px;margin:auto}.dp-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}h1{font-size:32px;line-height:1.2;letter-spacing:-.9px;margin:5px 0 10px}h2{font-size:23px;line-height:1.3;margin:0 0 8px}h3{font-size:18px;margin:8px 0}p{margin:6px 0 12px}.dp-intro p:not(.dp-eyebrow),.dp-muted{color:#617083}.dp-eyebrow{font-size:12px;letter-spacing:1.3px;font-weight:750;color:#c54b1a}.dp-button,button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border:1px solid #d9dfe7;border-radius:9px;background:#fff;color:#202936;gap:8px;font-weight:600;line-height:1.4}.dp-primary{background:#fa501b;border-color:#fa501b;color:white}.dp-status{border-radius:10px;padding:12px 16px;background:#eef5ff;color:#204c79;margin-bottom:18px;white-space:pre-line}.dp-status.error{background:#fff0e8;color:#a23014}.dp-tabs{display:flex;gap:24px;border-bottom:1px solid #dce2eb;margin-bottom:20px}.dp-tabs button{border:0;border-radius:0;background:none;padding:10px 0;min-height:49px}.dp-tabs button[aria-pressed=true]{border-bottom:3px solid #ff511c;color:#b93911}.dp-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:20px;align-items:start}.dp-list-panel,.dp-editor{border:1px solid #e2e6ec;background:white;border-radius:16px;padding:20px;min-width:0}.dp-list-panel>label{font-weight:650;display:block;margin-bottom:6px}input:not([type=checkbox]),select,textarea{width:100%;border:1px solid #ccd5e0;border-radius:9px;padding:11px 12px;min-height:46px;background:white;color:#1a2536;max-width:100%}textarea{min-height:82px;resize:vertical}.dp-list{display:grid;gap:4px}.dp-list button{display:block;text-align:left;min-height:64px;width:100%;border-color:transparent;font-size:15px;padding:9px 10px}.dp-list button:hover,.dp-list button[aria-pressed=true]{background:#fff5ed;border-color:#ffd4bf}.dp-list small{display:block;font-size:13px;color:#657288;font-weight:400;overflow-wrap:anywhere}.dp-paging{display:flex;justify-content:space-between;gap:8px;margin-top:16px}.dp-paging button{font-size:14px}.dp-empty{padding:36px 8px;max-width:500px}.dp-editor header{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #edf0f4}.dp-editor header p{color:#617083;overflow-wrap:anywhere}.dp-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.dp-fields label{font-size:15px;display:block;font-weight:600}.dp-fields label>input,.dp-fields label>select,.dp-fields label>textarea{margin-top:6px;font-weight:400}.dp-wide{grid-column:1/-1}.dp-check{display:flex!important;align-items:flex-start;gap:10px;font-size:16px!important;font-weight:400!important}.dp-check input{width:20px;height:20px;flex:none;margin-top:3px}.dp-notice{padding:13px 16px;background:#f5f7fa;border-radius:10px;color:#465469;font-size:15px;line-height:1.6}.dp-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px;border-top:1px solid #e9edf1;padding-top:18px}.dp-help{font-size:14px;color:#69778a;font-weight:400!important;margin-top:5px}.dp-model-results{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}.dp-model-results button{font-size:14px}.dp-set{padding:16px;border:1px solid #dfe5ed;border-radius:12px;margin-bottom:16px}.dp-set-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.dp-thumbs{display:flex;gap:12px;overflow:auto;padding:12px 0}.dp-thumb{border:1px solid #e0e6ed;border-radius:10px;padding:8px;min-width:140px}.dp-thumb img{height:95px;width:120px;object-fit:contain}.dp-thumb button{padding:5px 10px;margin-right:3px}.dp-media{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}.dp-media button{display:flex;flex-direction:column;padding:8px;font-size:12px;overflow-wrap:anywhere}.dp-media img{height:74px;width:100%;object-fit:contain}.dp-media small{font-size:12px}.dp-tools{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.dp-upload{margin:18px 0 0;border-top:1px solid #e8edf3;padding-top:18px}.dp-editor details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:650}.dp-photo-chooser{margin-top:15px;padding:14px;background:#f6f8fb;border-radius:12px}.dp-photo-chooser .dp-paging{justify-content:flex-start}.dp-gallery-order{color:#677384;font-size:14px}
@media(max-width:900px){.dp-layout{grid-template-columns:240px minmax(0,1fr)}.dp-fields{grid-template-columns:1fr}.dp-media{grid-template-columns:repeat(3,minmax(0,1fr))}.dp-intro{align-items:flex-start}.dp-intro>.dp-button{font-size:14px}.dp-editor{padding:18px}}
@media(max-width:650px){:root{font-size:17px}.dp-top{padding:0 16px;height:66px}.dp-top>a:last-child{font-size:15px}main{padding:24px 14px 36px}.dp-intro{display:block}h1{font-size:30px}.dp-intro>.dp-button{font-size:16px;margin-top:5px}.dp-tabs{gap:20px}.dp-tabs button{font-size:16px}.dp-layout{grid-template-columns:1fr}.dp-list-panel{padding:16px}.dp-list{max-height:265px;overflow:auto}.dp-list button{font-size:16px}.dp-list small{font-size:14px}.dp-list-panel>label{font-size:17px}.dp-fields label{font-size:16px}.dp-editor{padding:18px 14px}.dp-fields{gap:16px}.dp-fields textarea{min-height:95px}.dp-media{grid-template-columns:repeat(2,minmax(0,1fr))}.dp-set{padding:12px}.dp-tools button{font-size:15px}.dp-actions .dp-primary{width:100%}.dp-notice,.dp-help{font-size:15px}.dp-status{font-size:16px}}
