/* OCYLUX portal refresh (2026-11): calmer, more organised, matches the website's "Dark atelier" style.
   Loaded after app.css and portal.css on portal pages only. Design only: no behaviour changes. */
@font-face{font-family:"OX Serif";src:url(/static/cormorant-roman.woff2) format("woff2");font-weight:300 700;font-display:swap}
body.portal{--ox-line:rgba(242,239,233,.10);--ox-line2:rgba(242,239,233,.18);--ox-gold:#E3B85F;--ox-card:#141311;background:#0E0D0B}
body.portal h1,.login h1{font-family:"OX Serif",Georgia,serif;font-weight:400;letter-spacing:-.01em}

/* top bar */
.pbar{background:rgba(14,13,11,.9);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--ox-line)}

/* buttons: one calm system */
body.portal .btn{border-radius:999px}
body.portal .btn.small{min-height:34px}

/* login */
.login h1{font-size:clamp(38px,5vw,52px);line-height:1.05}
.login .lform input{border-radius:10px}
.login .btn.big{border-radius:999px}

/* ---------- client dashboard ---------- */
.cx main{max-width:1180px}
.cx-hero{text-align:left;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 40px;padding-bottom:28px;border-bottom:1px solid var(--ox-line);margin-bottom:34px}
.cx-hello{margin:0 0 6px;color:var(--mute);font-size:14px}
.cx-hero h1{font-family:"OX Serif",Georgia,serif;font-size:clamp(40px,5vw,60px);line-height:1;color:var(--ivory)}
.cx-stats{display:flex;gap:10px;margin:0;flex-wrap:wrap}
.cx-stats div{min-width:112px;padding:12px 16px;border-radius:12px;background:var(--ox-card);box-shadow:inset 0 0 0 1px var(--ox-line)}
.cx-stats dt{font-size:12.5px;color:var(--mute);margin:0 0 4px}
.cx-stats dd{margin:0;font:500 22px/1.1 Inter,system-ui,sans-serif;color:var(--ivory);font-variant-numeric:tabular-nums}
.cx-stats dd small{font-size:12.5px;color:var(--stone);font-weight:400}
.cx-note{justify-content:flex-start;margin:-14px 0 26px}
.cx-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 22px;align-items:start}
.cx-item{width:100%!important;margin:0}
.cx-frame{padding:0;border:0;border-radius:10px;background:var(--ox-card);box-shadow:inset 0 0 0 1px var(--ox-line);aspect-ratio:4/5;display:grid;place-items:center;overflow:hidden}
.cx-media{width:100%;border-radius:0}
.cx-item.tall .cx-media{width:auto;height:100%;max-width:100%}
.cx-cap{max-width:none;padding:12px 2px 0;align-items:flex-start}
.cx-cap-t{min-width:0;display:flex;flex-direction:column;gap:2px}
.cx-cap-t b{font:500 14.5px/1.3 Inter,system-ui,sans-serif;color:var(--ivory);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cx-cap-t small{font-size:12.5px;color:var(--stone)}
.cx-foot{margin-top:40px;padding-top:24px;border-top:1px solid var(--ox-line)}
.cx-foot a{font-size:13.5px;color:var(--mute);text-decoration:underline;text-underline-offset:3px}
@media(max-width:980px){.cx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cx-grid{grid-template-columns:minmax(0,1fr)}.cx-hero{align-items:flex-start}.cx-stats div{min-width:0;flex:1 1 40%}}

/* ---------- operator workspace ---------- */
.ox-ws-head h1{font-size:clamp(36px,4vw,48px);line-height:1.05}
.ox-print-dd{position:relative;display:inline-block}
.ox-print-dd>summary{list-style:none;cursor:pointer}
.ox-print-dd>summary::-webkit-details-marker{display:none}
.ox-print-dd[open]>summary{border-color:rgba(242,239,233,.5)}
.ox-print-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:40;min-width:240px;padding:6px;border-radius:12px;background:#171613;box-shadow:0 0 0 1px var(--ox-line2),0 18px 40px rgba(0,0,0,.5);display:flex;flex-direction:column}
.ox-print-menu p{margin:6px 10px 8px;font-size:12.5px;color:var(--stone);line-height:1.4}
.ox-print-menu a{padding:10px 12px;border-radius:8px;color:var(--ivory);text-decoration:none;font-size:14px}
.ox-print-menu a:hover{background:rgba(242,239,233,.06)}
/* brand board: quiet the empty status tiles so the ones with brands stand out */
.ox-fcard{border-radius:12px}
.ox-fcard.is-empty{background:transparent!important;box-shadow:inset 0 0 0 1px rgba(242,239,233,.06)!important;opacity:.62}
.ox-fcard.is-empty .ox-fc-ico{opacity:.5}
.ox-fcard.is-empty:hover{opacity:1}

/* ================= 2026-11-23: tidier workspace, clear publish buttons, Lookbook tab ================= */
/* ---- workspace: counters for "Sent by post" and "Emailed" ---- */
.ox-counters{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;margin:0 0 22px}
.ox-counter{appearance:none;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center;min-width:210px;padding:14px 20px 14px 16px;border:0;border-radius:14px;background:var(--ox-card);box-shadow:inset 0 0 0 1px var(--ox-line);color:var(--ivory);text-align:left;cursor:pointer;transition:box-shadow .2s,background .2s}
.ox-counter:hover{box-shadow:inset 0 0 0 1px rgba(227,184,95,.55);background:#181613}
.ox-counter svg{grid-row:1/3;width:40px;height:40px;padding:9px;border-radius:50%;background:rgba(227,184,95,.12);fill:none;stroke:var(--ox-gold);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.ox-counter b{font:400 38px/1 "OX Serif",Georgia,serif;font-variant-numeric:lining-nums tabular-nums}
.ox-counter span{font-size:13.5px;color:var(--mute)}
.ox-counters-hint{flex:1 1 220px;align-self:center;margin:0 0 0 8px;max-width:38ch;font-size:13px;line-height:1.5;color:var(--stone)}
.ox-counters-hint b{color:var(--mute);font-weight:600}
/* ---- brand rows: two quick marks (Post / Email) + undo ---- */
.ox-quick{display:inline-flex;padding:2px;border-radius:9px;box-shadow:inset 0 0 0 1px rgba(242,239,233,.12)}
.ox-qbtn{appearance:none;display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 10px 0 8px;border:0;border-radius:7px;background:none;color:var(--mute);font:500 12.5px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:background .15s,color .15s}
.ox-qbtn:before{content:"";width:12px;height:12px;border-radius:50%;box-shadow:inset 0 0 0 1.5px currentColor;opacity:.6;flex:none}
.ox-qbtn:hover{color:var(--ivory);background:rgba(255,255,255,.06)}
.ox-qbtn[aria-pressed=true]{background:rgba(227,184,95,.16);color:#F3E3BE}
.ox-qbtn[aria-pressed=true]:before{opacity:1;background:var(--ox-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.3l2 2 4-4.4' fill='none' stroke='%2315120C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;box-shadow:none}
.ox-qbtn[disabled]{opacity:.5;cursor:default}
.ox-undo{appearance:none;height:30px;padding:0 10px;border:0;border-radius:7px;background:rgba(227,184,95,.14);color:#F3E3BE;font:600 12px/1 Inter,system-ui,sans-serif;cursor:pointer}
.ox-undo:hover{background:rgba(227,184,95,.26)}
/* 24 Nov merge: keep the live 9-column table (Emailed / Posted / Replied ticks) and make the action column wide enough for Post · Email · Open · Delete */
.ox-btable{--ox-bcols:minmax(150px,1.4fr) 66px 66px 74px 74px 74px minmax(96px,1fr) 78px 300px}
.ox-col-action .ox-open-btn,.ox-col-action .ox-qbtn{white-space:nowrap}
.ox-col-action{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:nowrap}
.ox-col-status{min-width:0}
.ox-col-status .ox-undo{height:24px;margin:0 8px 0 2px;flex:none}
@media(max-width:1240px){.ox-btable{--ox-bcols:minmax(150px,1.3fr) 70px 70px 80px 80px 80px minmax(100px,1fr) 84px}.ox-bthead>:last-child{display:none}.ox-col-action{grid-column:1/-1;justify-content:flex-end;margin-top:-4px}}
@media(max-width:780px){.ox-col-action{grid-column:1/-1;grid-row:auto;flex-wrap:wrap;justify-content:flex-start}}
/* ---- one "Print" menu in the list header ---- */
.ox-fb-printdd{margin-left:auto}
.ox-print-menu button{appearance:none;display:flex;flex-direction:column;gap:2px;padding:10px 12px;border:0;border-radius:8px;background:none;color:var(--ivory);font:400 14px/1.3 Inter,system-ui,sans-serif;text-align:left;cursor:pointer}
.ox-print-menu button:hover{background:rgba(242,239,233,.06)}
.ox-print-menu small{font-size:12px;color:var(--stone)}
.ox-print-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px;padding-top:4px;border-top:1px solid var(--ox-line)}
.ox-print-row a{flex:1}
.ox-print-row select{padding:5px 8px;font-size:12.5px;margin-right:6px}
/* ---- brand page: tabs ---- */
.ox-ptabs{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:6px 0 22px;border-bottom:1px solid var(--ox-line)}
.ox-ptabs button{appearance:none;position:relative;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:0;background:none;color:var(--mute);font:500 14.5px/1 Inter,system-ui,sans-serif;cursor:pointer;transition:color .2s}
.ox-ptabs button:first-child{padding-left:2px}
.ox-ptabs button:hover{color:var(--ivory)}
.ox-ptabs button.on{color:var(--ivory)}
.ox-ptabs button.on:after{content:"";position:absolute;left:16px;right:16px;bottom:-1px;height:2px;border-radius:2px;background:var(--ox-gold)}
.ox-ptabs button:first-child.on:after{left:2px}
.ox-ptabs button i{font-style:normal;min-width:22px;padding:3px 7px;border-radius:99px;background:rgba(242,239,233,.08);font-size:12px;text-align:center;font-variant-numeric:tabular-nums}
.ox-ptabs-note{margin-left:auto;font-size:13px;color:var(--stone)}
.ox-ppanel[hidden]{display:none!important}
/* ---- photo cards: clear state and one-click publish / unpublish ---- */
.ox-clean-card .mthumb img{object-position:50% 22%}
.ox-clean-card{min-width:0}
.ox-cc-header{flex-wrap:wrap;gap:6px 10px}
.ox-cc-title{min-width:0}
.ox-cc-stats{flex-wrap:wrap}
@media(max-width:700px){.ox-clean-mgrid{grid-template-columns:minmax(0,1fr)}.ox-ws-actions{flex-wrap:wrap}}
.ox-cc-state{display:inline-flex;align-items:center;gap:6px;height:24px;padding:0 10px;border-radius:99px;background:rgba(242,239,233,.07);color:var(--mute);font:500 12px/1 Inter,system-ui,sans-serif}
.ox-cc-state:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.7}
.ox-cc-state.live{background:rgba(92,190,140,.14);color:#B4EBD0}
.ox-cc-state.live:before{opacity:1;background:#5FBF8F}
.ox-cc-lb{display:inline-flex;align-items:center;height:24px;padding:0 10px;border-radius:99px;background:rgba(227,184,95,.13);color:#F3E3BE;font:500 12px/1 Inter,system-ui,sans-serif;text-decoration:none}
.ox-cc-lb:hover{background:rgba(227,184,95,.24)}
.ox-cc-stats{gap:8px}
body.portal .btn.ox-pub{background:var(--ox-gold);color:#15120C;font-weight:600;box-shadow:none;border-color:transparent}
body.portal .btn.ox-pub:hover{background:#EBC670;filter:none}
body.portal .btn.ox-pub.is-live{background:transparent;color:var(--ivory);font-weight:500;box-shadow:inset 0 0 0 1px var(--ox-line2)}
body.portal .btn.ox-pub.is-live:hover{box-shadow:inset 0 0 0 1px rgba(224,112,127,.6);color:#F2B5BD;background:rgba(224,112,127,.08)}
body.portal .btn.ox-pub[disabled]{opacity:.6;cursor:default}
/* ---- Lookbook tab ---- */
.lbt-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:16px 32px;padding-bottom:22px;margin-bottom:20px;border-bottom:1px solid var(--ox-line)}
.lbt-head h1{margin:0 0 6px;font-size:clamp(36px,4vw,48px);line-height:1.05}
.lbt-sub{margin:0;max-width:62ch;font-size:14.5px;line-height:1.55;color:var(--mute)}
.lbt-head-r{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.lbt-pw{position:relative}
.lbt-pw>summary{list-style:none;cursor:pointer;gap:8px}
.lbt-pw>summary::-webkit-details-marker{display:none}
.lbt-dot{width:8px;height:8px;border-radius:50%;background:var(--stone)}
.lbt-dot.on{background:#5FBF8F;box-shadow:0 0 0 3px rgba(95,191,143,.2)}
.lbt-pw-box{position:absolute;right:0;top:calc(100% + 8px);z-index:40;width:min(320px,calc(100vw - 40px));padding:18px;border-radius:14px;background:#171613;box-shadow:0 0 0 1px var(--ox-line2),0 24px 50px rgba(0,0,0,.6);font-size:13.5px}
.lbt-pw-box b{display:block;font:400 22px/1.1 "OX Serif",Georgia,serif;color:var(--ivory)}
.lbt-pw-box p{margin:6px 0 14px;color:var(--mute);line-height:1.5}
.lbt-pw-box label{display:block;margin-bottom:5px;font-size:12.5px;color:var(--stone)}
.lbt-pw-box input{width:100%;min-height:40px}
.lbt-pw-box div{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.lbt-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-bottom:18px}
.lbt-count{margin:0 6px 0 0;font-size:14.5px;color:var(--mute)}
.lbt-count b{font:400 30px/1 "OX Serif",Georgia,serif;color:var(--ivory);margin-right:4px;font-variant-numeric:lining-nums tabular-nums}
.lbt-seg{display:inline-flex;padding:3px;border-radius:99px;box-shadow:inset 0 0 0 1px var(--ox-line2)}
.lbt-seg button{appearance:none;border:0;background:none;color:var(--mute);font:500 13px/1 Inter,system-ui,sans-serif;padding:8px 14px;border-radius:99px;cursor:pointer}
.lbt-seg button:hover{color:var(--ivory)}
.lbt-seg button.on{background:rgba(227,184,95,.18);color:#F3E3BE;box-shadow:inset 0 0 0 1px rgba(227,184,95,.55)}
.lbt-bar select{padding:7px 10px;font-size:13px;max-width:220px}
.lbt-bar-r{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}
.lbt-msg{margin:0 0 14px;padding:10px 14px;border-radius:10px;background:rgba(95,191,143,.1);box-shadow:inset 0 0 0 1px rgba(95,191,143,.35);color:#CDEEDD;font-size:13.5px}
.lbt-msg.bad{background:rgba(224,112,127,.1);box-shadow:inset 0 0 0 1px rgba(224,112,127,.4);color:#F2B5BD}
.lbt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:22px 16px}
.lbt-card[hidden]{display:none}
.lbt-pic{appearance:none;position:relative;display:block;width:100%;aspect-ratio:3/4;padding:0;border:0;border-radius:10px;overflow:hidden;background:var(--ox-card);box-shadow:inset 0 0 0 1px var(--ox-line);cursor:pointer}
.lbt-pic img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;display:block;opacity:.42;filter:saturate(.5);transition:opacity .25s,filter .25s,transform .4s}
.lbt-pic:hover img{opacity:.7}
.lbt-pic[aria-pressed=true] img{opacity:1;filter:none}
.lbt-pic:after{content:"";position:absolute;inset:0;border-radius:10px;box-shadow:inset 0 0 0 2px transparent;transition:box-shadow .2s;pointer-events:none}
.lbt-pic[aria-pressed=true]:after{box-shadow:inset 0 0 0 2px var(--ox-gold)}
.lbt-noimg{position:absolute;inset:0;display:grid;place-items:center;color:var(--stone);font-size:13px}
.lbt-check{position:absolute;right:10px;top:10px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(14,13,11,.55);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7);transition:background .2s,box-shadow .2s,transform .3s cubic-bezier(.2,1.7,.4,1)}
.lbt-check svg{width:16px;height:16px;fill:none;stroke:#15120C;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity .15s}
.lbt-pic[aria-pressed=true] .lbt-check{background:var(--ox-gold);box-shadow:none;transform:scale(1.08)}
.lbt-pic[aria-pressed=true] .lbt-check svg{opacity:1}
.lbt-state{position:absolute;left:10px;bottom:10px;padding:5px 10px;border-radius:99px;background:rgba(14,13,11,.7);color:#F2EFE9;font:500 12px/1 Inter,system-ui,sans-serif;opacity:0;transition:opacity .2s}
.lbt-state:before{content:"Click to add"}
.lbt-pic[aria-pressed=true] .lbt-state:before{content:"In the lookbook"}
.lbt-pic:hover .lbt-state,.lbt-pic:focus-visible .lbt-state,.lbt-pic[aria-pressed=true] .lbt-state{opacity:1}
.lbt-pic[aria-pressed=true] .lbt-state{background:rgba(227,184,95,.92);color:#15120C;font-weight:600}
.lbt-tag{position:absolute;left:10px;top:10px;padding:5px 9px;border-radius:99px;background:rgba(14,13,11,.7);color:#F2EFE9;font:500 11.5px/1 Inter,system-ui,sans-serif}
.lbt-meta{display:grid;gap:2px;padding:10px 2px 0}
.lbt-shop{font:500 14.5px/1.3 Inter,system-ui,sans-serif;color:var(--ivory);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lbt-shop:hover{color:var(--ox-gold)}
.lbt-title{font-size:12.5px;color:var(--stone);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lbt-group{margin-top:8px;width:100%;padding:7px 10px;font-size:13px;transition:border-color .2s}
.lbt-group.saved{border-color:#5FBF8F}
.lbt-empty{margin:40px 0;text-align:center;color:var(--mute)}
.lbt-none{display:grid;justify-items:center;gap:8px;padding:64px 20px;border-radius:14px;background:var(--ox-card);box-shadow:inset 0 0 0 1px var(--ox-line);text-align:center}
.lbt-none b{font:400 28px/1.1 "OX Serif",Georgia,serif;color:var(--ivory)}
.lbt-none span{color:var(--mute);font-size:14.5px;max-width:44ch;margin-bottom:8px}
@media(max-width:700px){.ox-counter{flex:1 1 150px;min-width:0}.ox-counters-hint{flex-basis:100%;margin-left:0}.lbt-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.lbt-bar-r{margin-left:0}.ox-ptabs-note{display:none}.ox-ptabs button{padding:0 12px}}
/* ---- top bar on a phone: one line (star + the four links), no wrapping over the page ---- */
@media(max-width:560px){.ox-clean-pbar{padding:0 14px;justify-content:space-between}.ox-clean-pbar .plogo span{display:none}.ox-clean-nav{gap:16px;flex-wrap:nowrap;white-space:nowrap}}
@media(max-width:350px){.ox-clean-nav{gap:11px}.ox-clean-nav a{font-size:12.5px}}
