/* Logins (web/logins.js): request cards in Today, the sign-in bar under Sylvia's screen, the secure sheet, and the
   Logins section in Settings. Cards reuse the approval card look from notes.css. */

/* ---------- cards in Today ---------- */
.lr-list:empty{display:none}
.ap.lr{box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 0 0 2px color-mix(in srgb,#6b4f86 55%,transparent),0 16px 40px -20px rgba(0,0,0,.45)}
.ap.lr .ap-k{color:#6b4f86}
.ap.lr .ap-k i{background:#8a6bb0}
.ap.lr-fill{box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 0 0 2px color-mix(in srgb,#e8a33d 55%,transparent),0 16px 40px -20px rgba(0,0,0,.45)}
.ap.lr-fill .ap-k{color:#a86412}.ap.lr-fill .ap-k i{background:#e8a33d}
.lr-note{display:flex;gap:7px;align-items:flex-start;margin:8px 0 0;font-size:12.5px;line-height:1.4;color:#6f6877}
.lr-note .i,.ds-main .i,.lg-lock .i,.lg-req .ag-logo .i{flex:none;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;margin-top:1px}
.ap-yes:disabled{opacity:.55}

/* ---------- the bar under Sylvia's screen while you sign in ---------- */
.desk-signin{flex:none;display:flex;flex-direction:column;gap:8px;padding:14px 16px calc(14px + var(--sab, 0px));background:#1b1f1d;border-top:1px solid rgba(255,255,255,.08)}
.ds-main{display:flex;gap:10px;align-items:flex-start;margin:0;font-size:15px;line-height:1.38}
.ds-main .i{width:18px;height:18px;margin-top:2px;color:#4cc38a}
.ds-main b{font-weight:600}
.ds-fine{margin:0 0 0 28px;font-size:12.5px;line-height:1.45;opacity:.7}
.ds-fine em{display:block;margin-top:4px;font-style:normal;color:#f1c27d}
.ds-btns{display:flex;justify-content:flex-end;gap:8px}
.ds-btns button{height:40px;padding:0 20px;border-radius:99px;font:inherit;font-size:15px;font-weight:600;border:0;cursor:pointer;transition:transform .2s var(--spring)}
.ds-btns button:active{transform:scale(.95)}
.ds-cancel{background:rgba(255,255,255,.1);color:inherit}
.ds-done{background:#f3f1ec;color:#101312;min-width:110px}
.ds-btns button:disabled{opacity:.5}

/* ---------- the secure sheet ---------- */
.lg-sheet{position:absolute;inset:0;z-index:90;display:flex;flex-direction:column;justify-content:flex-end}
.lg-scrim{position:absolute;inset:0;background:rgba(10,8,14,.5);opacity:0;transition:opacity .35s ease}
.lg-card{color-scheme:light;position:relative;max-height:calc(100% - var(--top, 0px) - 12px);overflow-y:auto;overscroll-behavior:contain;border-radius:28px 28px 0 0;background:var(--paper);color:var(--paper-ink);padding:18px 20px calc(22px + var(--sab, 0px));transform:translateY(100%);transition:transform .45s var(--ease);box-shadow:0 -20px 50px rgba(0,0,0,.25)}
.lg-sheet.on .lg-scrim{opacity:1}
.lg-sheet.on .lg-card{transform:none}
.lg-head{display:flex;align-items:center;gap:10px}
.lg-lock{flex:none;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#efeaf3;color:var(--lilac)}
.lg-lock .i{width:18px;height:18px;margin:0}
.lg-head h2{flex:1;min-width:0;margin:0;font-family:var(--f-display);font-weight:400;font-size:24px;line-height:1.15;letter-spacing:-.01em;overflow-wrap:anywhere}
.lg-x{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(31,26,36,.06);color:var(--paper-ink)}
.lg-x .i{width:16px;height:16px}
.lg-why{margin:10px 0 0;font-size:14px;line-height:1.4;color:var(--paper-muted)}
.lg-form{display:flex;flex-direction:column;gap:12px;margin-top:16px}
.lg-f{display:flex;flex-direction:column;gap:6px}
.lg-f>span:first-child{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--paper-muted)}
.lg-f input{width:100%;box-sizing:border-box;height:48px;padding:0 14px;border-radius:14px;border:0;background:#fff;box-shadow:inset 0 0 0 1px var(--paper-line);font:inherit;font-size:16px;color:var(--paper-ink);outline:none;transition:box-shadow .2s}
.lg-f input:focus{box-shadow:inset 0 0 0 2px var(--lilac)}
.lg-f input[readonly]{background:rgba(31,26,36,.04);color:var(--paper-muted)}
.lg-hint{margin:-6px 2px 0;font-size:12.5px;line-height:1.4;color:var(--paper-muted)}
.lg-hint b{font-weight:600;color:var(--paper-ink)}
.lg-pw{position:relative;display:block}
.lg-pw input{padding-right:76px}
.lg-show{position:absolute;right:6px;top:6px;height:36px;padding:0 12px;border-radius:10px;font-size:14px;font-weight:600;color:var(--lilac);background:#f4f0f7}
.lg-pol{border:0;margin:2px 0 0;padding:0;display:flex;flex-direction:column;gap:8px}
.lg-pol legend{padding:0;margin-bottom:6px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--paper-muted)}
.lg-pol label{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px var(--paper-line);cursor:pointer}
.lg-pol label:has(input:checked){box-shadow:inset 0 0 0 2px var(--lilac)}
.lg-pol input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:var(--lilac)}
.lg-pol span{display:flex;flex-direction:column;gap:2px}
.lg-pol b{font-weight:600;font-size:15px}
.lg-pol small{font-size:13px;color:var(--paper-muted);line-height:1.35}
.lg-facts{list-style:none;margin:2px 0 0;padding:12px 14px;border-radius:14px;background:rgba(107,79,134,.07);display:flex;flex-direction:column;gap:6px;font-size:13px;line-height:1.42;color:#4a4252}
.lg-facts li{position:relative;padding-left:16px}
.lg-facts li::before{content:"";position:absolute;left:2px;top:7px;width:6px;height:6px;border-radius:50%;background:var(--lilac)}
.lg-btns{display:flex;justify-content:flex-end;gap:8px;margin-top:4px}
.lg-btns button{height:46px;padding:0 22px;font-size:15.5px}
.lg-btns .ap-yes{min-width:120px}
.lg-btns .ap-yes:disabled{opacity:.55}

/* ---------- Settings → Logins ---------- */
.lg-row,.lg-req{padding:11px 12px 12px 11px}
.lg-polrow{display:flex;align-items:center;gap:12px;margin:10px 0 0 48px;padding:9px 10px 9px 12px;border-radius:14px;background:rgba(31,26,36,.045)}
.lg-polrow span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.lg-polrow b{font-size:14px;font-weight:550}
.lg-polrow small{font-size:12.5px;color:#7a7282}
.lg-uses{margin:8px 0 0 48px;font-size:13px;color:#6f6877}
.lg-uses summary{cursor:pointer;list-style:none;display:inline-flex;padding:4px 0}
.lg-uses summary::-webkit-details-marker{display:none}
.lg-uses summary::after{content:" ›"}
.lg-uses[open] summary::after{content:" ⌄"}
.lg-uses ul{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px;max-height:200px;overflow:auto}
.lg-uses li{display:flex;flex-wrap:wrap;gap:4px 10px;padding:6px 10px;border-radius:10px;background:rgba(31,26,36,.04);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.lg-uses li span:nth-child(2){color:#4a4252}
.lg-uses p{margin:4px 0 0}
.lg-acts{margin:10px 0 0 48px}
.lg-req .ag-logo{color:var(--lilac)}
.lg-req .ag-logo .i{width:18px;height:18px;margin:0}
.lg-intro{padding:14px 16px}
.lg-intro p{margin:0 0 12px;font-size:13.5px;line-height:1.45;color:#4a4252}
.lg-intro p b{font-weight:600;color:var(--frost-ink)}
.lg-intro .ag-pill{background:var(--frost-ink);color:#fff}
.lg-row .ag-pill,.lg-req .ag-pill{background:rgba(31,26,36,.08);color:var(--frost-ink)}
.lg-req .ag-pill.solid{background:var(--frost-ink);color:#fff}
