/* METeam v8 (2026-11-15; soft look, motion under the pointer and the finger). Home: the welcome band (the person's name, large, and the day as a ring) and the rail of sections.
   Files: the search field on the stage and the panel of files under the folder rack. Loads after css/deck.css and builds on its stage (.stg). */

/* the fill per department is also needed outside the stage (the Files panel) */
:root { --df-mgmt: #2452E6; --df-fin: #0C7F43; --df-ops: #A86500; --df-svc: #0A7B86; --df-sal: #C8421C; --df-mkt: #7438D0; --df-cmp: #4F5F78; }

/* ---------- Home: welcome band ---------- */
.stg.wel { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); grid-template-rows: 1fr auto; grid-template-areas: "t hud" "q hud"; gap: 22px 40px; padding: 34px 38px 32px; min-height: 348px; }
.stg.wel.noquick { grid-template-areas: "t hud"; grid-template-rows: 1fr; }
.wel-greet { margin-top: 8px; font-size: 20px; font-weight: 500; letter-spacing: -.01em; color: var(--ink-2); }
.wel-name { margin: 0 0 0 -3px; padding-bottom: .09em; font-size: clamp(60px, 6.6vw, 98px); line-height: .96; font-weight: 720; letter-spacing: -.05em; overflow-wrap: anywhere;
  background: linear-gradient(96deg, #fff 34%, color-mix(in oklab, var(--dg) 64%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wel-name.long { font-size: clamp(44px, 4.7vw, 70px); }
.wel-say { margin-top: 10px; max-width: 46ch; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.wel-say b { font-weight: 650; color: #fff; }
/* the column is wide here: title, date and button share one line again */
.stg.wel form.quick { flex-wrap: nowrap; max-width: 580px; padding: 6px 6px 6px 14px; }
.stg.wel form.quick .in:not(.qd) { flex: 1 1 auto; }
.stg.wel form.quick .in.qd { flex: none; width: 138px; margin-left: 0; }

/* the day as a ring: one arc per kind of thing that waits, the total in the middle, each kind a link beside it */
.hud { grid-area: hud; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 32px; min-width: 0; }
.hud-r { position: relative; width: 240px; aspect-ratio: 1; }
.hud-r svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hud-tr { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 18; }
.hud-s { fill: none; stroke: currentColor; stroke-width: 18; stroke-linecap: round; }
.hud-r.clear .hud-tr { stroke: color-mix(in oklab, #3FD68A 60%, transparent); }
.hud-c { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 5px; text-align: center; pointer-events: none; }
.hud-c b { font: 640 64px/.9 var(--font); letter-spacing: -.05em; font-variant-numeric: tabular-nums; color: #fff; }
.hud-c small { max-width: 112px; font-size: 12.5px; line-height: 1.25; color: var(--ink-2); }
.hud-c .i { width: 46px; height: 46px; stroke-width: 1.5; color: #3FD68A; }
.hud-ls { display: grid; gap: 8px; min-width: 0; }
.hud-l { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto 15px; align-items: center; gap: 12px; padding: 12px 12px 12px 15px; border-radius: 16px; color: var(--ink); text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); transition: background var(--t-1), border-color var(--t-2), transform var(--t-3) var(--ease-out); }
.hud-l:hover { text-decoration: none; background: rgba(255, 255, 255, .1); border-color: color-mix(in oklab, var(--hc) 62%, transparent); transform: translateX(3px); }
.hud-l:active { transform: translateX(1px) scale(.99); }
.hud-l > i { width: 10px; height: 10px; border-radius: 50%; background: var(--hc); }
.hud-l > span { font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hud-l > b { font: 650 20px/1 var(--font); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: #fff; }
.hud-l > .i { width: 15px; height: 15px; color: var(--ink-4); transition: transform var(--t-3) var(--ease-out), color var(--t-2); }
.hud-l:hover > .i { transform: translateX(2px); color: #fff; }
.hud-l.zero > b { color: var(--ink-3); }
.hud-l.zero > i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-4); }

/* ---------- Home: the rail of sections ---------- */
.mods { display: grid; gap: 10px; min-width: 0; }
.mods-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mods-h h4 { font-size: 16px; font-weight: 640; }
.mods-b { display: flex; gap: 4px; }
.mods-r { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(218px, 1fr); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; padding: 6px 2px 16px; margin: -6px -2px -10px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--ml, 0px), #000 calc(100% - var(--mr, 0px)), transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 var(--ml, 0px), #000 calc(100% - var(--mr, 0px)), transparent 100%); }
.mods-r::-webkit-scrollbar { display: none; }
.md { --dc: var(--brand); position: relative; isolation: isolate; overflow: hidden; scroll-snap-align: start; display: grid; gap: 12px; align-content: space-between; min-height: 156px; padding: 16px 16px 13px; border-radius: var(--r-l); color: var(--ink); text-decoration: none;
  background: var(--panel-solid); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform var(--t-3) var(--ease-out), border-color var(--t-2), box-shadow var(--t-3); }
/* the section's colour is a soft light in the card; it follows the pointer, and the card leans toward it (js/deck.js sets --mx --my --rx --ry) */
.md::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55; transition: opacity var(--t-3);
  background: radial-gradient(190px 150px at var(--mx, 88%) var(--my, 0%), color-mix(in oklab, var(--dc) 30%, transparent), transparent 72%); }
.md:hover { text-decoration: none; transform: perspective(800px) translateY(-5px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); border-color: color-mix(in oklab, var(--dc) 46%, transparent); box-shadow: 0 2px 4px rgba(0, 0, 0, .06), 0 26px 36px -24px color-mix(in oklab, var(--dc) 70%, #000); }
.md:hover::before { opacity: 1; }
.md:active { transform: scale(.975); transition-duration: 90ms; }
.md-h { display: flex; align-items: center; gap: 10px; min-width: 0; }
.md-i { position: relative; width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: color-mix(in oklab, var(--dc) 16%, transparent); color: var(--dc); transition: background var(--t-2), color var(--t-2), transform var(--t-3) var(--ease-spring); }
.md-i .i { width: 17px; height: 17px; stroke-width: 1.9; }
.md:hover .md-i { background: var(--dc); color: var(--panel-solid); transform: rotate(-6deg) scale(1.06); }
.md.hot .md-i::after { content: ""; position: absolute; right: -3px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--err-fill); box-shadow: 0 0 0 2px var(--panel-solid); }
.md-h b { flex: 1 1 auto; min-width: 0; font-size: 14.5px; font-weight: 620; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-go { width: 15px; height: 15px; flex: none; color: var(--ink-4); transition: transform var(--t-3) var(--ease-out), color var(--t-2); }
.md:hover .md-go { transform: translate(2px, -2px); color: var(--dc); }
.md-f { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 0 8px; }
.md-fig { font: 640 34px/.95 var(--font); letter-spacing: -.04em; font-variant-numeric: tabular-nums; transition: opacity var(--t-3); }
.md-f small { padding-bottom: 3px; font-size: 12.5px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-sp { display: flex; align-items: flex-end; gap: 2px; height: 28px; }
.md-sp i { display: block; width: 3px; height: var(--h); min-height: 2px; border-radius: 2px; background: color-mix(in oklab, var(--dc) 42%, transparent); }
.md-sp i:last-child { background: var(--dc); }
.md-x { display: flex; flex-wrap: wrap; gap: 3px 12px; min-height: 28px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.md-x b { font: 620 12.5px/1 var(--font); font-variant-numeric: tabular-nums; color: var(--ink); }
.md.wait .md-fig { opacity: .3; }

/* ---------- Files: the stage ---------- */
.docs { display: grid; gap: 20px; align-content: start; }
.stg.files { grid-template-rows: auto; grid-template-areas: "t dk"; align-items: center; }
.stg.files.nodeck { grid-template-areas: "t"; }
.stg.files .stg-t { gap: 8px; }
.stg.files .dk { --pick: 51%; }
.stg.files .dk-card { left: calc(var(--pick) - var(--fw) / 2 - 228px); }
.fsearch { display: flex; align-items: center; gap: 10px; height: 48px; margin-top: 16px; padding: 0 10px 0 14px; border-radius: 15px; cursor: text;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); transition: border-color var(--t-2), box-shadow var(--t-2), background var(--t-2); }
.fsearch:focus-within { background: rgba(255, 255, 255, .1); border-color: color-mix(in oklab, var(--dg) 70%, transparent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--dg) 24%, transparent); }
.fsearch > .i { width: 18px; height: 18px; flex: none; color: var(--ink-3); }
.fsearch input { flex: 1 1 auto; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; box-shadow: none !important; color: var(--ink); font: inherit; font-size: 15px; }
.fsearch input::placeholder { color: var(--ink-3); }
.fsearch kbd { flex: none; background: rgba(255, 255, 255, .08); box-shadow: none; padding: 5px 8px; border-radius: 7px; border: 0; font: 600 12px/1 var(--font); color: var(--ink-2); }
.fsearch:focus-within kbd { display: none; }
.stg-hint { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.dk { transition: opacity var(--t-3), filter var(--t-3); }
.dk.dim { opacity: .26; filter: saturate(.4); pointer-events: none; }

/* ---------- Files: the panel under the rack ---------- */
.fpanel { position: relative; min-height: 120px; overflow: hidden; background: var(--panel-solid); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--sh-1); transition: opacity var(--t-2), border-color var(--t-2), box-shadow var(--t-2); }
.fpanel:empty { display: none; }
.fpanel.busy { opacity: .6; pointer-events: none; }
.fpanel.over { border-color: var(--dc); box-shadow: 0 0 0 3px color-mix(in oklab, var(--dc) 22%, transparent); }
.fpanel.over::after { content: ""; position: absolute; inset: 6px; border: 2px dashed var(--dc); border-radius: 15px; pointer-events: none; }
.fp-h { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; border-bottom: 1px solid var(--line); }
.fp-i { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(160deg, color-mix(in oklab, var(--df) 84%, #fff), var(--df)); box-shadow: 0 8px 16px -10px var(--df); transition: background var(--t-3); }
.fpanel.found .fp-i { color: var(--ink-2); background: var(--panel-sunk); border: 1px solid var(--line); box-shadow: none; }
.fp-i .i { width: 19px; height: 19px; }
.fp-t { flex: 1 1 auto; display: grid; gap: 1px; min-width: 0; }
.fp-t b { font-size: 17px; font-weight: 640; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-t small { font-size: 13px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-up .i { width: 15px; height: 15px; }
.fp-b { display: grid; }
.fp-b > .skel { padding: 16px 18px; }
/* a file row is a sheet (.fr-in) over a tray of actions (.fr-tray): with a mouse the light follows the pointer and the file's icon lifts;
   on a touch screen the sheet is swiped to the left for the actions (js/v_docs.js) */
.frow { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.fr-in { position: relative; z-index: 1; display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 11px 12px 11px 18px; background: var(--panel-solid); touch-action: pan-y; transition: transform 420ms var(--ease-spring); }
.frow.drag .fr-in { transition: none; }
.fr-in::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity var(--t-2);
  background: radial-gradient(260px 130px at var(--mx, 50%) 50%, color-mix(in oklab, var(--dc, var(--brand)) 14%, transparent), transparent 72%), var(--hover); }
.fr-tray { position: absolute; inset: 0 0 0 auto; display: none; }
.fr-t { width: 70px; display: grid; place-content: center; justify-items: center; gap: 5px; border: 0; cursor: pointer; font: 600 11.5px/1 var(--font); color: #fff; text-decoration: none; }
.fr-t:hover { text-decoration: none; }
.fr-t .i { width: 19px; height: 19px; }
.fr-t.dl { background: #2452E6; } .fr-t.rm { background: #D5383E; }
.fr-t:active { filter: brightness(.9); }
.fa { transition: opacity var(--t-2); }
@media (hover: hover) and (pointer: fine) {
  .frow:hover .fr-in::before, .frow:focus-within .fr-in::before { opacity: 1; }
  .fa { opacity: .5; }
  .frow:hover .fa, .frow:focus-within .fa { opacity: 1; }
  :root:not([data-motion="low"]) .frow:hover .fk { transform: translateY(-3px) rotate(-6deg) scale(1.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 16px -10px var(--kc); }
  :root:not([data-motion="low"]) .frow:hover .fm b { transform: translateX(3px); }
}
/* touch: the actions live in the tray; a pressed row answers at once */
@media (hover: none) {
  .fa { display: none; }
  .fr-tray { display: flex; }
  .fr-in:active::before { opacity: 1; }
  :root:not([data-motion="low"]) .frow:not(.drag):not(.open) .fr-in:active { transform: scale(.985); transition-duration: 120ms; }
}
@keyframes fr-hint { 0%, 100% { transform: translateX(0); } 38%, 62% { transform: translateX(-64px); } }
.frow.hint .fr-in { animation: fr-hint 1500ms var(--ease-out) 500ms both; }
.frow:first-child { border-top: 0; }
/* the kind of file, as a small sheet with a folded corner */
.fk { --kc: #64748B; width: 40px; height: 46px; display: grid; place-items: center; border-radius: 8px 15px 8px 8px; font: 750 10.5px/1 var(--font); letter-spacing: .02em; color: #fff; text-decoration: none;
  background: linear-gradient(165deg, color-mix(in oklab, var(--kc) 82%, #fff), var(--kc)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 12px -9px var(--kc); }
.fk:hover { text-decoration: none; }
.fk { transition: transform 420ms var(--ease-spring), box-shadow var(--t-3); }
.fk .i { width: 18px; height: 18px; }
.k-pdf { --kc: #D5383E; } .k-img { --kc: #7438D0; } .k-doc { --kc: #2452E6; } .k-xls { --kc: #0C7F43; } .k-ppt { --kc: #C8421C; }
.fm { display: grid; gap: 3px; min-width: 0; }
.fm > a { min-width: 0; color: var(--ink); }
.fm b { display: block; font-weight: 580; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: transform var(--t-3) var(--ease-out); }
.fm small { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-size: 12.5px; color: var(--ink-3); }
.fm small > span + span::before { content: "·"; margin-right: 8px; color: var(--ink-4); }
.ffold { display: inline-flex; align-items: center; gap: 5px; height: 22px; margin-right: 2px; padding: 0 9px 0 6px; border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: 12px; font-weight: 600; color: var(--dc); background: color-mix(in oklab, var(--dc) 13%, transparent); transition: background var(--t-1); }
.ffold:hover { background: color-mix(in oklab, var(--dc) 24%, transparent); }
.ffold .i { width: 13px; height: 13px; }
.fa { display: flex; gap: 2px; }
.fp-e { display: grid; justify-items: center; gap: 6px; padding: 40px 16px 44px; text-align: center; color: var(--ink-3); }
.fp-e .i { width: 34px; height: 34px; margin-bottom: 4px; stroke-width: 1.4; color: var(--ink-4); }
.fp-e b { font-weight: 600; color: var(--ink-2); }
.fp-e span { font-size: 13px; }

/* ---------- motion ---------- */
@keyframes hud-draw { from { stroke-dasharray: 0 100; } }
@keyframes fp-in { from { opacity: 0; transform: translateY(8px); } }
:root:not([data-motion="low"]) .enter .hud-s { animation: hud-draw 900ms var(--ease-out) both 260ms; }
:root[data-motion="high"] .enter .hud-r svg { animation: dk-ring-in 1100ms var(--ease-out) both 120ms; }
:root[data-motion="high"] .enter .hud-c, :root[data-motion="high"] .enter .hud-l { animation: dk-rise 520ms var(--ease-out) both; animation-delay: calc(300ms + var(--k, 0) * 70ms); }
.hud-l:nth-child(2) { --k: 1; } .hud-l:nth-child(3) { --k: 2; } .hud-l:nth-child(4) { --k: 3; }
:root[data-motion="high"] .enter .md { animation: dk-rise 520ms var(--ease-out) both; animation-delay: calc(260ms + min(var(--k, 0), 8) * 45ms); }
:root:not([data-motion="low"]) .fpanel.fresh .fp-h > *, :root:not([data-motion="low"]) .fpanel.fresh .frow > .fr-in, :root:not([data-motion="low"]) .fpanel.fresh .fp-e { animation: fp-in 320ms var(--ease-out) both; }
.fpanel.fresh .frow:nth-child(2) { animation-delay: 35ms; } .fpanel.fresh .frow:nth-child(3) { animation-delay: 70ms; } .fpanel.fresh .frow:nth-child(4) { animation-delay: 105ms; }
.fpanel.fresh .frow:nth-child(5) { animation-delay: 140ms; } .fpanel.fresh .frow:nth-child(n + 6) { animation-delay: 175ms; }

/* ---------- widths ---------- */
@media (max-width: 1280px) {
  .stg.wel { gap: 20px 26px; padding: 28px 28px 26px; min-height: 320px; }
  .hud { gap: 22px; }
  .hud-r { width: 204px; }
  .hud-c b { font-size: 54px; }
}
@media (max-width: 980px) {
  .stg.wel { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "t" "hud" "q"; min-height: 0; }
  .stg.wel.noquick { grid-template-areas: "t" "hud"; }
  .stg.files { grid-template-areas: "t" "dk"; }
}
@media (max-width: 720px) {
  .stg.wel { padding: 22px 16px 16px; gap: 18px; }
  .wel-greet { font-size: 17px; margin-top: 4px; }
  .wel-name { font-size: clamp(46px, 15vw, 64px); }
  .wel-name.long { font-size: clamp(36px, 11vw, 48px); }
  .wel-say { font-size: 15px; }
  .hud { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 16px; }
  .hud-r { width: 176px; }
  .hud-c b { font-size: 48px; }
  .hud-ls { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hud-l { grid-template-columns: 10px minmax(0, 1fr) auto; gap: 9px; padding: 10px 12px; }
  .hud-l > span { font-size: 13px; white-space: normal; line-height: 1.2; }
  .hud-l > .i { display: none; }
  .stg.wel form.quick { max-width: none; }
  .stg.wel form.quick .in.qd { width: auto; }
  .mods-r { grid-auto-columns: 78%; }
  .fp-h { flex-wrap: wrap; padding: 12px 14px; }
  .fp-up span { display: none; }
  .fr-in { gap: 12px; padding: 10px 10px 10px 14px; }
  .fsearch kbd { display: none; }
  /* phone: the card is a strip above the rack, clear of the folders */
  .stg.files .dk { --pick: 50%; height: 286px; }
  .stg.files .dk-card { left: 16px; right: 16px; top: 0; width: auto; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px; padding: 9px 14px 10px; border-radius: 14px; }
  .stg.files .dk-card .dc-f { grid-column: 2; grid-row: 1 / 3; margin: 0; min-height: 0; align-items: baseline; gap: 6px; }
  .stg.files .dk-card .dc-fig { font-size: 28px; }
  .stg.files .dk-card small { grid-column: 1; }
}
@media (forced-colors: active) {
  .wel-name { background: none; color: CanvasText; }
  .md, .fpanel, .hud-l { border: 1px solid CanvasText; }
}

/* ---------- v9: quick add read-out, phone bar with the calendar in the middle and a floating New button, sign-in ---------- */
.q-read { grid-area: q; align-self: end; display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; margin-top: -12px; }
.q-read:empty { display: none; }
.q-read span { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff; background: color-mix(in oklab, var(--dg) 26%, transparent); border: 1px solid color-mix(in oklab, var(--dg) 44%, transparent); animation: fp-in 240ms var(--ease-out) both; }
.q-read .i { width: 13px; height: 13px; }
.stg.wel { grid-template-rows: 1fr auto auto; grid-template-areas: "t hud" "q hud" "qr hud"; }
.stg.wel .q-read { grid-area: qr; margin-top: -12px; }

.fab { display: none; }
@media (max-width: 720px) {
  .stg.wel { grid-template-rows: auto; grid-template-areas: "t" "hud" "q" "qr"; }
  /* the calendar sits in the middle of the bar; New floats above the bar's right end, under the thumb */
  .fab { position: fixed; z-index: 29; right: 18px; bottom: calc(90px + env(safe-area-inset-bottom)); width: 56px; height: 56px; display: grid; place-items: center; border: 0; border-radius: 18px; cursor: pointer; color: var(--pri-ink); background: var(--pri-bg);
    box-shadow: 0 14px 26px -10px var(--glow), 0 4px 10px rgba(9, 9, 11, .28); transition: transform 380ms var(--ease-spring); }
  .fab .i { width: 26px; height: 26px; stroke-width: 2.2; }
  .fab:active { transform: scale(.9) rotate(45deg); transition-duration: 110ms; }
  .page { padding-bottom: 170px; }
}

/* sign-in: one calm card in the middle, the mark above it, nothing else */
.login { grid-template-columns: minmax(0, 1fr); place-items: center; position: relative; isolation: isolate; overflow: hidden; padding: 24px 16px; }
.login::before { content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none; filter: blur(80px); opacity: .55;
  background: radial-gradient(30% 36% at 24% 22%, rgba(124, 155, 255, .55), transparent 70%), radial-gradient(28% 34% at 78% 74%, rgba(156, 132, 255, .42), transparent 70%), radial-gradient(24% 28% at 70% 18%, rgba(94, 214, 200, .26), transparent 70%); }
:root[data-motion="high"] .login::before { animation: stg-drift 26s ease-in-out infinite alternate; }
.login-stage { display: none; }
.login-wrap { width: min(400px, 100%); gap: 22px; padding: 0; }
.login-h { flex-direction: column; gap: 10px; width: auto; text-align: center; }
.login-h .logo { width: 56px; height: 56px; border-radius: 16px; }
.login-h > span:nth-child(2) { justify-items: center; gap: 2px; }
.login-h b { font-size: 19px; font-weight: 640; }
.login-card { width: 100%; padding: 28px 26px 24px; border-radius: 24px; }
.login-card h3 { font-size: 21px; text-align: center; margin-bottom: 6px; }
.login-card .in { height: 46px; border-radius: 13px; }
.login-card .btn.pri { height: 46px; border-radius: 13px; font-size: 15px; }
@media (max-width: 720px) { .login-card { padding: 24px 20px 20px; } }
