/* Approved MA assets remain intact. The timer owns its visible brand signature. */
.timer-brand-badge{display:block;flex:none;width:220px;max-width:calc(100% - 100px);padding:9px 11px;background:#000068;border:1px solid #ffffff25;line-height:0;text-align:left}
.timer-brand-badge img{display:block;width:100%;height:auto;max-width:none;object-fit:contain}
.timer-stage-top,.simple-stage-top{align-items:center;gap:16px}
.timer-stage-top .timer-icon-btn,.simple-stage-top>button{flex:none}
.timer-session-caption{font-size:11px;line-height:1.8;color:#c9d4f0;text-align:left;overflow-wrap:anywhere;unicode-bidi:plaintext;margin-top:12px}
.timer-stage .timer-phase-heading{margin-top:13px}
.timer-clock-area{isolation:isolate}
.timer-clock-area .timer-ring{z-index:1}
.timer-clock-content{z-index:2}
.timer-brand-watermark{display:block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:83%;height:auto;max-width:none;opacity:.10;pointer-events:none;user-select:none;z-index:0}
.timer-brand-watermark.primary{display:none}
.timer-stage .timer-brand-watermark{width:82%;opacity:.075}
.simple-time-face{position:relative;isolation:isolate;width:100%;padding:14px 0}
.simple-time-face .simple-digits{position:relative;z-index:2;margin:0}
.simple-time-face .timer-brand-watermark{width:min(91%,620px);opacity:.11}
.simple-stage[data-phase=prepare] .timer-brand-watermark.reverse,
.simple-stage[data-phase=rest] .timer-brand-watermark.reverse,
.simple-stage[data-phase=complete] .timer-brand-watermark.reverse{display:none}
.simple-stage[data-phase=prepare] .timer-brand-watermark.primary,
.simple-stage[data-phase=rest] .timer-brand-watermark.primary,
.simple-stage[data-phase=complete] .timer-brand-watermark.primary{display:block;opacity:.08}
.simple-stage h2{margin-top:20px}
.simple-stage .simple-progress-track{margin-top:20px}
.timer-focus-mode .timer-stage-top .timer-brand-badge,
.timer-stage:fullscreen .timer-stage-top .timer-brand-badge,
.simple-focus .simple-stage-top .timer-brand-badge,
.simple-stage:fullscreen .simple-stage-top .timer-brand-badge{width:270px;max-width:calc(100% - 100px)}
.timer-focus-mode .timer-session-caption,.timer-stage:fullscreen .timer-session-caption{max-width:650px;text-align:center;margin-top:100px;font-size:12px}
.timer-focus-mode .timer-phase-heading,.timer-stage:fullscreen .timer-phase-heading{margin-top:8px}
.simple-focus .simple-stage h2,.simple-stage:fullscreen h2{margin-top:85px}
.simple-focus .simple-time-face,.simple-stage:fullscreen .simple-time-face{padding:18px 0}
.simple-focus .simple-time-face .timer-brand-watermark,.simple-stage:fullscreen .simple-time-face .timer-brand-watermark{width:min(88%,750px);opacity:.10}
.timer-focus-mode .timer-stage-top,.timer-stage:fullscreen .timer-stage-top,
.simple-focus .simple-stage-top,.simple-stage:fullscreen .simple-stage-top{align-items:start}
@media(max-width:850px){
 .timer-brand-badge{width:206px;padding:8px 10px}
 .timer-session-caption{font-size:10px;margin-top:10px}
 .timer-stage .timer-phase-heading{margin-top:10px}
 .simple-time-face{padding:10px 0}
 .simple-stage h2{margin-top:15px}
}
@media(max-width:700px){
 .timer-brand-badge{width:202px;max-width:calc(100% - 85px);padding:7px 9px}
 .timer-stage-top,.simple-stage-top{gap:10px}
 .simple-intro{padding-top:16px;padding-bottom:16px}
 .simple-intro h1{font-size:26px}.simple-intro h1 [lang=ar]{font-size:19px}
 .timer-focus-mode .timer-stage-top .timer-brand-badge,.timer-stage:fullscreen .timer-stage-top .timer-brand-badge,
 .simple-focus .simple-stage-top .timer-brand-badge,.simple-stage:fullscreen .simple-stage-top .timer-brand-badge{width:218px;max-width:calc(100% - 85px)}
 .timer-focus-mode .timer-session-caption,.timer-stage:fullscreen .timer-session-caption{margin-top:88px;font-size:10px}
 .timer-focus-mode .timer-phase-heading,.timer-stage:fullscreen .timer-phase-heading{margin-top:5px}
 .simple-focus .simple-stage h2,.simple-stage:fullscreen h2{margin-top:70px}
 .simple-focus .simple-time-face,.simple-stage:fullscreen .simple-time-face{padding:16px 0}
}
@media(max-height:600px) and (orientation:landscape){
 .timer-focus-mode .timer-stage-top .timer-brand-badge,.timer-stage:fullscreen .timer-stage-top .timer-brand-badge,
 .simple-focus .simple-stage-top .timer-brand-badge,.simple-stage:fullscreen .simple-stage-top .timer-brand-badge{width:176px;padding:4px 8px}
 .timer-focus-mode .timer-stage,.timer-stage:fullscreen{padding-top:88px}
 .timer-focus-mode .timer-session-caption,.timer-stage:fullscreen .timer-session-caption{display:none}
 .timer-focus-mode .timer-phase-heading,.timer-stage:fullscreen .timer-phase-heading{margin-top:0}
 .simple-focus .simple-stage,.simple-stage:fullscreen{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,1fr);grid-template-rows:64px minmax(140px,1fr) auto;gap:8px 22px;align-content:stretch;align-items:center;padding:10px 22px}
 .simple-focus .simple-stage-top,.simple-stage:fullscreen .simple-stage-top{position:static;grid-column:1/-1;grid-row:1;inset:auto;width:100%;align-self:start;align-items:center}
 .simple-focus .simple-stage h2,.simple-stage:fullscreen h2{grid-column:1;grid-row:2;align-self:start;margin:0;font-size:21px;z-index:3}
 .simple-focus #simple-paused,.simple-stage:fullscreen #simple-paused{grid-column:1;grid-row:2;align-self:start;margin-top:35px;font-size:9px;z-index:3}
 .simple-focus .simple-time-face,.simple-stage:fullscreen .simple-time-face{grid-column:1;grid-row:2/4;padding:0;align-self:center;margin-top:30px}
 .simple-focus .simple-digits,.simple-stage:fullscreen .simple-digits{font-size:clamp(60px,15vw,120px)}
 .simple-focus .simple-digits.long,.simple-stage:fullscreen .simple-digits.long{font-size:clamp(48px,10vw,85px)}
 .simple-focus #simple-round,.simple-stage:fullscreen #simple-round{grid-column:2;grid-row:2;align-self:start;margin:0;font-size:10px;gap:10px}
 .simple-focus .simple-progress-track,.simple-stage:fullscreen .simple-progress-track{grid-column:2;grid-row:2;align-self:center;margin:0}
 .simple-focus .simple-controls,.simple-stage:fullscreen .simple-controls{grid-column:2;grid-row:2;align-self:end;grid-template-columns:46px minmax(0,1fr) 46px;gap:6px}
 .simple-focus .simple-controls button,.simple-stage:fullscreen .simple-controls button{min-height:52px;font-size:10px;padding:6px}
 .simple-focus .simple-controls #simple-start,.simple-stage:fullscreen .simple-controls #simple-start{font-size:13px}
 .simple-focus .simple-stage-bottom,.simple-stage:fullscreen .simple-stage-bottom{grid-column:2;grid-row:3;margin-top:0;font-size:9px;gap:10px}
}
