/* Rouge management: retain the wine desk, refine the working surface. */
body.rouge[data-admin="true"]{--desk-bg:#210e14;--desk-panel:#34141f;--desk-field:#260e17;--desk-line:#956776;--desk-text:#fff2e9;--desk-muted:#e0c4cd;--desk-accent:#e6c9b3;--desk-focus:#f8d185;color:var(--desk-text);font-size:15px;line-height:1.6;color-scheme:dark;overflow-wrap:break-word;scrollbar-color:#956776 #210e14}
body.rouge[data-admin="true"] ::selection{color:#210e14;background:#e6c9b3}
body.rouge[data-admin="true"] input,body.rouge[data-admin="true"] textarea{caret-color:var(--desk-focus)}
body.rouge[data-admin="true"] :is(button,a,input,textarea,select,summary):focus-visible{outline:3px solid var(--desk-focus);outline-offset:4px}
body.rouge[data-admin="true"] .admin-shell{width:100%;max-width:1560px;padding:32px clamp(20px,4vw,64px) 38px;min-width:0}
body.rouge[data-admin="true"] .admin-head{padding-bottom:24px;column-gap:28px;row-gap:15px;border-color:#67414c}
body.rouge[data-admin="true"] .admin-head>div:first-child{min-width:220px}
body.rouge[data-admin="true"] .admin-back{display:inline-flex;align-items:center;min-height:44px;font-size:13px;text-decoration:underline;text-underline-offset:5px}
body.rouge[data-admin="true"] .admin-head>div>p{font-size:12px;letter-spacing:.06em;margin:12px 0 10px;color:var(--desk-muted)}
body.rouge[data-admin="true"] .admin-head h1{font-size:40px;line-height:1.1}
body.rouge[data-admin="true"] .admin-actions{gap:10px;align-items:stretch;margin:0}
body.rouge[data-admin="true"] .admin-actions :is(button,.button){font-size:14px;line-height:1.4;min-height:48px;padding:12px 17px;border-color:#b28b98;color:var(--desk-text);background:var(--desk-panel);white-space:normal;transition:background-color .16s,color .16s,border-color .16s}
body.rouge[data-admin="true"] .admin-actions .primary{background:var(--desk-accent);border-color:var(--desk-accent);color:#34141f;font-weight:600}
body.rouge[data-admin="true"] .admin-actions :is(button,.button):hover{opacity:1;background:#542434;border-color:#e6c9b3}
body.rouge[data-admin="true"] .admin-actions .primary:hover{background:#f3dfce;color:#34141f}
body.rouge[data-admin="true"] .admin-head .save-status{font-size:14px;line-height:1.6;letter-spacing:0;color:var(--desk-muted);flex-basis:100%;margin:0;max-width:90ch}
body.rouge[data-admin="true"] .save-status.error,body.rouge[data-admin="true"] .save-status[data-state="error"],body.rouge[data-admin="true"] .save-status[role="alert"]{color:#ffd5d0;background:#54212b;padding:12px 16px;border:1px solid #b4767c}
body.rouge[data-admin="true"] .admin-layout{margin-top:24px;min-width:0}
body.rouge[data-admin="true"] .album-nav{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b28b98 #34141f;gap:16px;padding-bottom:20px;margin-bottom:24px;align-items:stretch}
body.rouge[data-admin="true"] .album-nav .editor-section-head{flex:0 0 112px;min-width:0;gap:14px}
body.rouge[data-admin="true"] .album-nav h2{font-size:13px;letter-spacing:.04em;padding:0}
body.rouge[data-admin="true"] .album-nav .album-add{min-height:48px;min-width:52px;border-style:solid;font-size:25px}
body.rouge[data-admin="true"] .album-nav .album-row{flex:0 0 275px;width:auto;max-width:calc(100vw - 84px);min-width:0;margin:0;scroll-snap-align:start}
body.rouge[data-admin="true"] .album-nav [data-edit]{min-width:0;padding:10px;gap:14px;flex:1;font-size:14px;line-height:1.4;border-color:#805260;background:#34141f}
body.rouge[data-admin="true"] .album-nav [data-edit]>span{min-width:0;overflow-wrap:anywhere}
body.rouge[data-admin="true"] .album-nav [data-edit] img{width:55px;height:76px;flex-shrink:0}
body.rouge[data-admin="true"] .album-nav [data-edit].selected{background:#582637;border-color:#e6c9b3}
body.rouge[data-admin="true"] .album-nav [data-edit]:hover{opacity:1;background:#47202c}
body.rouge[data-admin="true"] .album-nav [data-edit].selected:hover{background:#632d40}
body.rouge[data-admin="true"] .album-nav small{font-size:12px;line-height:1.5;color:var(--desk-muted);margin-top:5px}
body.rouge[data-admin="true"] .album-order{flex-shrink:0}
body.rouge[data-admin="true"] .album-order button{min-width:44px;min-height:48px;padding:4px;border:1px solid #805260;border-left:0;color:var(--desk-text);font-size:19px}
body.rouge[data-admin="true"] .admin-editor{padding:28px clamp(20px,2.4vw,36px);border-color:#805260;min-width:0}
body.rouge[data-admin="true"] .editor-tabs{display:flex;flex-wrap:wrap;gap:8px 22px;margin-bottom:32px;padding:0 0 15px}
body.rouge[data-admin="true"] .editor-tabs button{font-size:15px;line-height:1.4;min-height:48px;padding:10px 4px;color:var(--desk-muted);font-weight:400}
body.rouge[data-admin="true"] .editor-tabs [aria-pressed="true"]{color:var(--desk-text);border-bottom-color:var(--desk-accent);font-weight:600}
body.rouge[data-admin="true"] .editor-body,body.rouge[data-admin="true"] .album-fields,body.rouge[data-admin="true"] .album-photos{min-width:0}
body.rouge[data-admin="true"] .album-edit{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(24px,3.4vw,52px);align-items:start}
body.rouge[data-admin="true"] .editor-section-head{gap:16px;margin-bottom:24px;align-items:center}
body.rouge[data-admin="true"] .editor-section-head h2{font-family:var(--r-serif);font-size:28px;font-weight:400;line-height:1.15}
body.rouge[data-admin="true"] .editor-section-head h2 span{font-family:var(--r-sans);font-size:14px;color:var(--desk-muted);opacity:1;margin-left:6px}
body.rouge[data-admin="true"] .status-tag{font-size:12px;line-height:1.5;color:var(--desk-muted);max-width:150px;text-align:right}
body.rouge[data-admin="true"] .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px;min-width:0}
body.rouge[data-admin="true"] .field-grid label{font-size:14px;line-height:1.5;gap:9px;color:var(--desk-muted);min-width:0}
body.rouge[data-admin="true"] :is(input,textarea,select){border:1px solid var(--desk-line);color:var(--desk-text);background:var(--desk-field);font-size:16px;line-height:1.55;padding:12px 13px;min-height:49px;width:100%;min-width:0;border-radius:0;transition:border-color .16s,background-color .16s}
body.rouge[data-admin="true"] :is(input,textarea,select):hover{border-color:#c196a5}
body.rouge[data-admin="true"] :is(input,textarea,select):focus{border-color:var(--desk-accent);background:#2e121d}
body.rouge[data-admin="true"] :is(input,textarea)::placeholder{color:#c2a4ae;opacity:1}
body.rouge[data-admin="true"] textarea{resize:vertical;min-height:130px}
body.rouge[data-admin="true"] input[type="range"]{accent-color:var(--desk-accent);background:none;padding:0;min-height:44px;cursor:pointer}
body.rouge[data-admin="true"] input[type="checkbox"]{width:22px;min-width:22px;min-height:22px;accent-color:var(--desk-accent)}
body.rouge[data-admin="true"] output{font-variant-numeric:tabular-nums;color:var(--desk-text)}
body.rouge[data-admin="true"] .optional-fields{margin-top:26px;border-top:1px solid #805260;border-bottom:1px solid #805260;padding:0 0 8px}
body.rouge[data-admin="true"] .optional-fields summary{min-height:56px;display:list-item;align-content:center;cursor:pointer;font-size:14px;color:var(--desk-text);padding:15px 0;list-style-position:inside}
body.rouge[data-admin="true"] .optional-fields summary::marker{color:var(--desk-accent)}
body.rouge[data-admin="true"] .optional-fields[open] summary{padding-bottom:22px}
body.rouge[data-admin="true"] .optional-fields .field-grid{padding-bottom:16px}
body.rouge[data-admin="true"] .editor-tools{gap:10px;margin-top:26px}
body.rouge[data-admin="true"] .editor-tools button{min-height:46px;font-size:13px;line-height:1.5;padding:11px 13px;border-color:#956776;color:var(--desk-text)}
body.rouge[data-admin="true"] .editor-tools button:hover{opacity:1;background:#512435;border-color:#cda6b3}
body.rouge[data-admin="true"] .editor-tools .danger{color:#ffcfca;border-color:#ad737b}
body.rouge[data-admin="true"] :is(.help-text,.translation-status){color:var(--desk-muted);font-size:13px;line-height:1.7;margin:0 0 20px;max-width:70ch}
body.rouge[data-admin="true"] .translation-status:not(:empty){margin-top:17px;padding:12px 0;border-top:1px solid #805260}
body.rouge[data-admin="true"] .upload-button{font-size:13px;line-height:1.4;min-height:48px;padding:12px 14px;border-color:#b28b98;color:var(--desk-text);flex-shrink:0}
body.rouge[data-admin="true"] .upload-button:hover{background:#512435}
body.rouge[data-admin="true"] .upload-button input{min-height:100%;padding:0}
body.rouge[data-admin="true"] .upload-button:focus-within{outline:3px solid var(--desk-focus);outline-offset:4px}
body.rouge[data-admin="true"] .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.rouge[data-admin="true"] .photo-tile{padding:7px;border-color:#805260;min-width:0;background:#260e17}
body.rouge[data-admin="true"] .photo-tile img{width:100%;height:clamp(180px,20vw,330px);aspect-ratio:3/4;object-fit:cover}
body.rouge[data-admin="true"] .photo-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:7px 0 0;background:transparent}
body.rouge[data-admin="true"] .photo-actions button{min-width:0;min-height:46px;padding:5px;border:1px solid #956776;background:#48222f;color:var(--desk-text);font-size:20px;line-height:1}
body.rouge[data-admin="true"] .photo-actions button[aria-pressed="true"]{background:var(--desk-accent);border-color:var(--desk-accent);color:#34141f}
body.rouge[data-admin="true"] .photo-actions button:not(:disabled):hover{opacity:1;background:#633045;border-color:#e6c9b3}
body.rouge[data-admin="true"] button:disabled{opacity:.42;cursor:not-allowed}
body.rouge[data-admin="true"] .profile-edit,body.rouge[data-admin="true"] .contacts-edit{max-width:1000px}
body.rouge[data-admin="true"] :is(.profile-edit,.contacts-edit,.hero-edit)>h2{font-family:var(--r-serif);font-size:30px;line-height:1.2;margin:0 0 26px}
body.rouge[data-admin="true"] .profile-edit .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
body.rouge[data-admin="true"] .contacts-edit>p,body.rouge[data-admin="true"] .hero-edit>p{font-size:14px;line-height:1.7;color:var(--desk-muted);margin:0 0 25px;max-width:70ch}
body.rouge[data-admin="true"] .contacts-edit .field-grid{gap:24px;max-width:680px}
body.rouge[data-admin="true"] .hero-edit{max-width:1100px;min-width:0}
body.rouge[data-admin="true"] .hero-preview{margin:0 0 28px;background:#210e14;border:1px solid #805260;min-width:0}
body.rouge[data-admin="true"] .hero-preview img{width:100%;height:clamp(280px,38vw,500px);object-fit:contain;display:block}
body.rouge[data-admin="true"] .hero-preview figcaption,body.rouge[data-admin="true"] .hero-preview>p{font-size:13px;line-height:1.6;padding:14px 18px;color:var(--desk-muted)}
body.rouge[data-admin="true"] .admin-note{font-size:13px;line-height:1.8;color:var(--desk-muted);padding:25px 0 0;border-top-color:#67414c;margin-top:32px;max-width:100ch}
body.rouge[data-admin="true"] .confirm-dialog{color:var(--desk-text);background:#34141f;border:1px solid #b28b98;max-width:calc(100vw - 32px);padding:28px;font:15px/1.7 var(--r-sans)}
body.rouge[data-admin="true"] .confirm-dialog h2{font:30px/1.2 var(--r-serif);margin:0 0 20px}
body.rouge[data-admin="true"] .confirm-dialog p{color:var(--desk-muted);margin:0 0 24px}
body.rouge[data-admin="true"] .confirm-dialog button{font-size:14px;min-height:48px;padding:11px 17px;border:1px solid #b28b98;background:#48222f;color:var(--desk-text)}
body.rouge[data-admin="true"] .confirm-dialog button[value="ok"]{background:#e6c9b3;color:#34141f}
@media(max-width:1100px){body.rouge[data-admin="true"] .admin-head{align-items:flex-start}body.rouge[data-admin="true"] .admin-actions{max-width:100%;flex-wrap:wrap}body.rouge[data-admin="true"] .album-edit{grid-template-columns:minmax(0,1fr)}body.rouge[data-admin="true"] .album-photos{border-top:1px solid #805260;padding-top:30px;margin-top:12px}body.rouge[data-admin="true"] .photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.rouge[data-admin="true"] .photo-tile img{height:270px}body.rouge[data-admin="true"] .photo-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.rouge[data-admin="true"] .admin-shell{padding:20px 20px calc(126px + env(safe-area-inset-bottom))}body.rouge[data-admin="true"] .admin-head{display:block;padding-bottom:22px}body.rouge[data-admin="true"] .admin-head h1{font-size:35px}body.rouge[data-admin="true"] .admin-head>div>p{font-size:11px;line-height:1.7}body.rouge[data-admin="true"] .admin-head .save-status{font-size:13px;margin-top:18px}body.rouge[data-admin="true"] .admin-actions{position:fixed;z-index:40;bottom:0;left:0;right:0;width:100%;max-width:none;display:grid;grid-template-columns:.85fr 1.15fr 1fr;gap:8px;margin:0;padding:12px 12px calc(12px + env(safe-area-inset-bottom));background:#210e14;border-top:1px solid #956776;box-shadow:0 -8px 24px #13070c55}body.rouge[data-admin="true"] .admin-actions :is(button,.button){padding:10px 7px;min-height:54px;font-size:12px;line-height:1.4}body.rouge[data-admin="true"] .album-nav{gap:12px;margin-bottom:22px;padding-bottom:17px}body.rouge[data-admin="true"] .album-nav .editor-section-head{flex-basis:80px}body.rouge[data-admin="true"] .album-nav .album-row{flex-basis:265px;max-width:calc(100vw - 74px)}body.rouge[data-admin="true"] .album-nav [data-edit]{font-size:14px}body.rouge[data-admin="true"] .album-nav small{font-size:11px}body.rouge[data-admin="true"] .admin-editor{padding:23px 17px}body.rouge[data-admin="true"] .editor-tabs{gap:5px 16px;margin-bottom:26px;padding-bottom:13px}body.rouge[data-admin="true"] .editor-tabs button{font-size:13px;padding:10px 2px;min-height:46px}body.rouge[data-admin="true"] .field-grid,body.rouge[data-admin="true"] .profile-edit .field-grid{grid-template-columns:minmax(0,1fr);gap:22px}body.rouge[data-admin="true"] .field-grid label{font-size:14px}body.rouge[data-admin="true"] :is(input,textarea,select){font-size:16px}body.rouge[data-admin="true"] .editor-section-head{flex-wrap:wrap;gap:15px;margin-bottom:22px}body.rouge[data-admin="true"] .editor-section-head h2{font-size:27px}body.rouge[data-admin="true"] .status-tag{font-size:12px;max-width:none;text-align:left}body.rouge[data-admin="true"] .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.rouge[data-admin="true"] .photo-tile{padding:5px}body.rouge[data-admin="true"] .photo-tile img{height:190px}body.rouge[data-admin="true"] .photo-actions{gap:5px;padding-top:6px;grid-template-columns:repeat(2,minmax(0,1fr))}body.rouge[data-admin="true"] .photo-actions button{min-height:46px;font-size:21px}body.rouge[data-admin="true"] .editor-tools{display:grid;grid-template-columns:1fr;gap:10px}body.rouge[data-admin="true"] .editor-tools button{font-size:14px;justify-content:flex-start;min-height:48px;padding:12px 14px}body.rouge[data-admin="true"] .upload-button{font-size:13px;min-height:48px}body.rouge[data-admin="true"] .hero-preview img{height:350px}body.rouge[data-admin="true"] .admin-note{font-size:12px;line-height:1.8;margin-top:26px}body.rouge[data-admin="true"] .confirm-dialog{padding:24px}body.rouge[data-admin="true"] .confirm-dialog form>div{flex-wrap:wrap}body.rouge[data-admin="true"] .confirm-dialog button{flex:1}body.rouge[data-admin="true"] :is(input,textarea,select,button,summary,a){scroll-margin-top:30px;scroll-margin-bottom:110px}}
@media(max-width:360px){body.rouge[data-admin="true"] .admin-shell{padding-left:14px;padding-right:14px}body.rouge[data-admin="true"] .admin-editor{padding-left:12px;padding-right:12px}body.rouge[data-admin="true"] .admin-actions{gap:6px;padding-left:8px;padding-right:8px}body.rouge[data-admin="true"] .admin-actions :is(button,.button){font-size:11px}body.rouge[data-admin="true"] .photo-tile img{height:175px}}
@media(prefers-reduced-motion:reduce){body.rouge[data-admin="true"] *,body.rouge[data-admin="true"] *::before,body.rouge[data-admin="true"] *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
body.rouge[data-admin="true"] .profile-portrait{margin:0 0 30px;border-bottom:1px solid #805260;padding-bottom:20px}body.rouge[data-admin="true"] .profile-portrait summary{min-height:48px;cursor:pointer;font-size:15px}body.rouge[data-admin="true"] .about-admin-preview{width:180px;height:220px;object-fit:contain;margin:16px 0}body.rouge[data-admin="true"] .profile-portrait p{font-size:14px;line-height:1.7;margin:16px 0}
