/* Holo-widgets (issue #438): projected light, not a card. Translucent cyan with scan lines and glowing edges; the
   text stays crisp and readable. Motion only while projecting, plus a slow drift of the scan lines. */
.holo-widget{--holo-x:0px;--holo-y:0px;--holo-edge:#63fff4;--holo-light:99,255,244;--holo-text:#e6fffd;--holo-muted:#9fe8e2;--holo-lime:#dbff57;--holo-tilt:-9deg;
 position:fixed;left:var(--holo-x);top:var(--holo-y);z-index:60;width:min(330px,calc(100vw - 24px));padding:16px 18px 14px;
 transform:perspective(900px) rotateY(var(--holo-tilt)) scaleY(.02);transform-origin:left center;opacity:0;
 color:var(--holo-text);text-shadow:0 0 6px rgba(var(--holo-light),.55);
 background:
  repeating-linear-gradient(180deg,rgba(var(--holo-light),.07) 0 1px,transparent 1px 3px),
  linear-gradient(180deg,rgba(var(--holo-light),.2),rgba(var(--holo-light),.08) 55%,rgba(var(--holo-light),.03)),
  rgba(2,14,20,.38);
 border:1px solid rgba(var(--holo-light),.6);
 clip-path:polygon(0 0,calc(100% - 14px) 0,100% 14px,100% 100%,14px 100%,0 calc(100% - 14px));
 box-shadow:0 0 22px rgba(var(--holo-light),.35),inset 0 0 26px rgba(var(--holo-light),.16);
 backdrop-filter:blur(5px) saturate(1.2);-webkit-backdrop-filter:blur(5px) saturate(1.2);
 font:16px/1.4 Rajdhani,system-ui,sans-serif;transition:transform .42s cubic-bezier(.2,.9,.25,1.15),opacity .2s ease}
.holo-widget[data-side=left]{transform-origin:right center;--holo-tilt:9deg}
.holo-widget[data-side=above]{transform-origin:center bottom;--holo-tilt:0deg}.holo-widget[data-side=below]{transform-origin:center top;--holo-tilt:0deg}
.holo-widget[data-state=open]{transform:translateX(var(--holo-drag-x,0px)) perspective(900px) rotateY(var(--holo-tilt)) scaleY(1);opacity:calc(1 - var(--holo-drag-fade,0));animation:holo-flicker .5s steps(1,end) 1,holo-lines 6s linear .5s infinite}
.holo-widget[data-state=closing]{transform:perspective(900px) rotateY(var(--holo-tilt)) scaleY(.02);opacity:0;transition-duration:.24s}
.holo-widget{touch-action:pan-y}.holo-widget[data-dragging=true]{transition:none}
.holo-widget[data-swiped=right][data-state=closing]{transform:translateX(120%) perspective(900px) rotateY(var(--holo-tilt));transition-duration:.22s}
.holo-widget[data-swiped=left][data-state=closing]{transform:translateX(-120%) perspective(900px) rotateY(var(--holo-tilt));transition-duration:.22s}
.holo-list.holo-recent li{display:block;padding:0}
.holo-recall{all:unset;box-sizing:border-box;display:grid;grid-template-columns:52px 1fr auto;gap:8px;align-items:baseline;width:100%;padding:4px 2px 6px;cursor:pointer;color:inherit}
.holo-recall:hover .holo-item,.holo-recall:focus-visible .holo-item{color:var(--holo-lime)}.holo-recall:focus-visible{outline:1px solid rgba(var(--holo-light),.8);outline-offset:2px}
@keyframes holo-flicker{0%{opacity:.35}20%{opacity:.9}35%{opacity:.5}55%{opacity:1}70%{opacity:.8}100%{opacity:1}}
@keyframes holo-lines{to{background-position:0 18px,0 0,0 0}}
/* A bright sweep while it unfolds; corner brackets mark the projection edges. */
.holo-widget:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 0,rgba(var(--holo-light),.35) 48%,transparent 52%);transform:translateY(-100%);opacity:0}
.holo-widget[data-state=open]:after{animation:holo-scan .6s ease-out .12s 1}
.holo-widget:before{content:"";position:absolute;inset:5px;pointer-events:none;
 background:linear-gradient(var(--holo-edge),var(--holo-edge)) left top/12px 1px,linear-gradient(var(--holo-edge),var(--holo-edge)) left top/1px 12px,
  linear-gradient(var(--holo-edge),var(--holo-edge)) right bottom/12px 1px,linear-gradient(var(--holo-edge),var(--holo-edge)) right bottom/1px 12px;background-repeat:no-repeat;opacity:.9}
@keyframes holo-scan{0%{transform:translateY(-100%);opacity:1}100%{transform:translateY(100%);opacity:0}}
.holo-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.holo-eyebrow{margin:0;color:var(--holo-lime);text-shadow:0 0 8px rgba(219,255,87,.6);font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.holo-close{min-width:32px;min-height:32px;border:0;background:transparent;color:var(--holo-muted);font-size:20px;cursor:pointer;text-shadow:inherit}
.holo-close:hover,.holo-close:focus-visible{color:var(--holo-text)}
.holo-title{margin:2px 0 10px;font-size:21px;line-height:1.2;font-weight:700;text-shadow:0 0 10px rgba(var(--holo-light),.7)}
.holo-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.holo-chip{padding:2px 9px;border:1px solid rgba(var(--holo-light),.5);border-radius:999px;font-size:13px;background:rgba(var(--holo-light),.08)}
.holo-list{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.holo-list li{display:grid;grid-template-columns:52px 1fr auto;gap:8px;align-items:baseline;padding-bottom:5px;border-bottom:1px dashed rgba(var(--holo-light),.18)}
.holo-time{color:var(--holo-edge);font-variant-numeric:tabular-nums;font-size:14px}.holo-item{min-width:0;overflow-wrap:anywhere}
.holo-tag{font-size:12px;color:var(--holo-muted)}
.holo-fields{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:0}
.holo-fields dt{color:var(--holo-muted);font-size:14px}.holo-fields dd{margin:0;font-weight:600}
.holo-progress{display:flex;align-items:center;gap:16px}
.holo-rest{margin-top:12px}.holo-note{margin:0;color:var(--holo-muted);font-size:15px}.holo-lead{margin:0 0 10px;color:var(--holo-text)}.holo-cheer{margin-top:10px;color:var(--holo-lime)}
.holo-field{display:block;margin-top:4px}
.holo-input{box-sizing:border-box;width:100%;min-height:42px;padding:8px 12px;border:1px solid rgba(var(--holo-light),.55);background:rgba(4,18,24,.55);color:var(--holo-text);font:inherit;font-size:17px;clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px))}
.holo-input:focus{outline:none;border-color:var(--holo-lime);box-shadow:0 0 0 1px var(--holo-lime),0 0 18px rgba(219,255,87,.25)}
.holo-input::placeholder{color:var(--holo-muted)}
.holo-preview{margin-top:8px;min-height:1.4em}
:is(html,body)[data-theme=daylight] .holo-input{background:rgba(255,255,255,.7);color:var(--holo-text)}
.dockvi-tour-target{outline:2px solid #dbff57!important;outline-offset:4px;box-shadow:0 0 0 7px rgba(219,255,87,.12),0 0 26px rgba(99,255,244,.35)!important;animation:dockvi-tour-pulse 1.8s ease-in-out infinite}
@keyframes dockvi-tour-pulse{50%{outline-color:#63fff4;box-shadow:0 0 0 10px rgba(99,255,244,.1),0 0 34px rgba(219,255,87,.3)}}
@media (prefers-reduced-motion:reduce){.dockvi-tour-target{animation:none}}
#syntra-companion[data-drop=true] .ai-assistant-launcher{filter:drop-shadow(0 0 14px rgba(219,255,87,.75)) drop-shadow(0 0 4px rgba(99,255,244,.9))}
.holo-quote{margin:8px 0 0;padding:6px 0 6px 12px;border-left:2px solid var(--holo-lime);color:var(--holo-text);font-size:16px;line-height:1.35;overflow-wrap:anywhere}.holo-list .holo-more{display:block;border:0;padding:0;color:var(--holo-muted);font-size:13px}
.holo-ring-wrap{position:relative;width:76px;height:76px;flex:none}
.holo-ring{width:100%;height:100%;transform:rotate(-90deg)}
.holo-ring-track{fill:none;stroke:rgba(var(--holo-light),.22);stroke-width:6}
.holo-ring-bar{fill:none;stroke:var(--holo-lime);stroke-width:6;stroke-linecap:round;filter:drop-shadow(0 0 5px rgba(219,255,87,.7))}
.holo-count{position:absolute;inset:0;display:grid;place-items:center;font-size:20px}
.holo-next{margin:0;display:grid}.holo-next small{color:var(--holo-muted);font-size:13px;text-transform:uppercase;letter-spacing:.1em}
.holo-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.holo-action{min-height:36px;padding:6px 12px;border:1px solid rgba(var(--holo-light),.55);background:rgba(var(--holo-light),.08);color:var(--holo-text);text-shadow:inherit;font:inherit;font-size:15px;font-weight:600;cursor:pointer;clip-path:polygon(0 0,calc(100% - 8px) 0,100% 8px,100% 100%,0 100%);box-shadow:inset 0 0 10px rgba(var(--holo-light),.15)}
.holo-action:hover,.holo-action:focus-visible{background:rgba(var(--holo-light),.2);outline:none;border-color:var(--holo-edge)}
.holo-action.is-primary{border-color:var(--holo-lime);color:var(--holo-lime);background:rgba(219,255,87,.12);text-shadow:0 0 8px rgba(219,255,87,.6);box-shadow:inset 0 0 12px rgba(219,255,87,.2)}
.holo-action.is-primary:hover,.holo-action.is-primary:focus-visible{background:rgba(219,255,87,.24)}
.holo-pin{margin-left:auto;font-size:13px;color:var(--holo-muted)}.holo-pin[aria-pressed=true]{color:var(--holo-lime);border-color:var(--holo-lime)}
.holo-beam-layer{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:59}
.holo-live{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Daylight: a deeper teal projection on a light page, darker text for contrast. */
:is(html,body)[data-theme=daylight] .holo-widget{--holo-light:0,143,151;--holo-edge:#00858c;--holo-text:#06343a;--holo-muted:#2d6a70;--holo-lime:#4e6d00;text-shadow:none;background:repeating-linear-gradient(180deg,rgba(0,143,151,.06) 0 1px,transparent 1px 3px),linear-gradient(180deg,rgba(0,143,151,.16),rgba(0,143,151,.06)),rgba(255,255,255,.55)}
:is(html,body)[data-theme=daylight] .holo-title,:is(html,body)[data-theme=daylight] .holo-eyebrow,:is(html,body)[data-theme=daylight] .holo-action.is-primary{text-shadow:none}
:is(html,body)[data-theme=midnight] .holo-widget{--holo-light:140,184,255;--holo-edge:#8cb8ff;--holo-muted:#b8cff5}
@media (max-width:619px){.holo-widget{width:calc(100vw - 24px)}.holo-action{min-height:44px}}
@media (prefers-reduced-motion:reduce){.holo-widget,.holo-widget[data-state]{transition:none!important;animation:none!important}.holo-widget:after{animation:none!important}}
.holo-widget[data-still=true]{transition:none;animation:none}

/* The week: seven bars, Monday to Sunday (issue #438, stage 3). */
.holo-week{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;align-items:end;height:96px;margin:4px 0 12px;padding:0;list-style:none}
.holo-week-day{display:grid;grid-template-rows:auto 1fr auto;justify-items:center;height:100%;gap:3px}
.holo-week-count{font-size:12px;opacity:.85;font-variant-numeric:tabular-nums}
.holo-week-bar{align-self:end;width:100%;max-width:22px;height:calc(var(--fill,0)*100%);min-height:3px;background:linear-gradient(180deg,rgba(var(--holo-light),.95),rgba(var(--holo-light),.35));clip-path:polygon(0 4px,4px 0,100% 0,100% 100%,0 100%)}
.holo-week-label{font-size:11px;text-transform:uppercase;letter-spacing:.06em;opacity:.7}
.holo-week-day.is-today .holo-week-label{opacity:1;font-weight:700}
.holo-week-day.is-ahead .holo-week-bar{background:rgba(var(--holo-light),.15)}
