/* Prisijungimas, paskyra ir laisku atsisakymas: tie patys katalogo lapai (balti lapai ant popieriaus),
   skyriaus antraste su 2 px rasalo linija kaip statymo formoje, busenos tik galerijos tasku ir zodziu. */

/* hidden visada slepia (net kai klase nustato display, pvz. .field ar .check) */
.acct [hidden] { display: none !important; }

.acct { padding-top: clamp(28px, 4vw, 48px); }
.acct-loading { color: var(--ink-2); margin: 0; }
.acct-narrow { max-width: 640px; }

/* lapas ir jo antraste */
.acct-sheet { background: var(--sheet); border: 1px solid var(--rule); border-radius: 18px; padding: clamp(22px, 3.5vw, 36px); margin-bottom: 20px; }
.acct-sheet:focus { outline: none; }
.acct-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 12px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 18px; }
.acct-head h2 { font-stretch: 122%; font-weight: 820; font-size: clamp(24px, 3vw, 32px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; }
.acct-head span { font-stretch: 118%; font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.acct-sheet > p, .acct-sheet form > p { max-width: 72ch; }

/* du stulpeliai: veikla (7) ir profilis su paskyra (5) */
.acct-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(20px, 3vw, 32px); align-items: start; }
.acct-col { min-width: 0; }

.acct-fine { color: var(--ink-2); font-size: 15px; margin: 0 0 14px; }
.acct-note { display: flex; gap: 12px; align-items: baseline; background: #eef0fb; border-radius: 12px; padding: 16px 18px; margin: 0 0 20px; }
.acct-note .dot, .acct-ready .dot, .acct-identity .dot, .acct-warn .dot { box-shadow: none; transform: translateY(1px); }
.acct-blocked { max-width: none; }
.acct-warn { display: flex; gap: 10px; align-items: baseline; background: #eef0fb; border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-weight: 650; }
.acct-warn::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--wait); flex: none; transform: translateY(1px); }
.acct-who { font-size: 19px; margin: 0 0 16px; overflow-wrap: anywhere; }
.acct-who strong { font-weight: 750; }
.acct-login .acct-note { margin-bottom: 18px; overflow-wrap: anywhere; }
.acct-link { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: var(--cover); text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }
.acct-link:hover { text-decoration-thickness: 2px; }

/* pasiruosimo zingsniai: vertikali 2 px juosta su mazgais (kaip gaudymo laiko juosta) */
.acct-ready { display: flex; gap: 12px; align-items: baseline; margin: 0; font-weight: 650; }
.acct-steps { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--ink); }
.acct-steps > li { position: relative; padding: 0 0 22px; }
.acct-steps > li:last-child { padding-bottom: 0; }
.acct-steps > li::before { content: ""; position: absolute; left: -34px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--sheet); box-shadow: inset 0 0 0 3px var(--ink); }
.acct-steps > li.done::before { background: var(--ok); box-shadow: inset 0 0 0 3px var(--ok); }
.acct-steps h3 { font-stretch: 112%; font-size: 17px; font-weight: 750; margin: 0 0 2px; }
.acct-steps .acct-step-text { margin: 0 0 10px; color: var(--ink-2); font-size: 15px; }
.acct-steps li.done .acct-step-text { margin-bottom: 0; }
.acct-step-link { margin: 0; font-weight: 650; }
.acct-steps form { margin-top: 6px; }
.acct-steps .check { margin-bottom: 12px; }
.acct-steps .form-msg:empty { min-height: 0; margin: 0; }

/* profilio forma */
.acct-choice { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.acct-choice legend { font-weight: 650; font-size: 15px; padding: 0; margin: 0 0 8px; }
.acct-choice label { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border: 1.5px solid #b9bdd6; border-radius: 999px; background: var(--sheet); cursor: pointer; font-weight: 650; }
.acct-choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--cover); }
.acct-choice input:focus-visible { outline: none; }
.acct-choice label:has(input:checked) { border-color: var(--cover); background: #eef0fb; }
.acct-choice label:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.acct-check-note { display: block; color: var(--ink-2); font-size: 14px; margin-top: 2px; }
.acct-readonly { margin: 0; padding: 12px 15px; border-radius: 12px; background: var(--paper); font-weight: 600; overflow-wrap: anywhere; }
.acct-identity { display: flex; gap: 10px; align-items: baseline; margin: 0 0 16px; font-weight: 650; }
.acct input[aria-invalid="true"] { border-color: var(--sold); }
.acct .paddle { white-space: normal; text-align: left; }

/* veiklos sarasai: liniuotos eilutes, kaina desineje lenteliniais skaitmenimis */
.acct-group + .acct-group { margin-top: 22px; }
.acct-group-h { font-stretch: 118%; font-weight: 800; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 4px; }
.acct-list { list-style: none; margin: 0; padding: 0; }
.acct-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 20px; align-items: start; padding: 16px 0; border-top: 1px solid var(--rule); }
.acct-list > .acct-item:first-child { border-top: 0; padding-top: 8px; }
.acct-item-main { min-width: 0; }
.acct-item > .acct-item-main:only-child { grid-column: 1 / -1; }
.acct-item-main > * { margin: 0; }
.acct-item-main > * + * { margin-top: 6px; }
.acct-domain { font-stretch: 118%; font-weight: 800; font-size: 19px; line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.acct-domain a { text-decoration: none; }
.acct-domain a:hover { text-decoration: underline; }
.acct-meta { color: var(--ink-2); font-size: 15px; }
.acct-state { display: flex; align-items: baseline; gap: 10px; font-weight: 700; font-size: 15px; }
.acct-state .dot { box-shadow: none; transform: translateY(1px); }
.acct-item-side { text-align: right; display: grid; gap: 2px; }
.acct-amount { font-stretch: 118%; font-weight: 800; font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.acct-amount-label { font-size: 13px; color: var(--ink-2); }
.acct-item-actions { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; padding-top: 6px; }
.acct-item-actions .acct-fine { margin: 0; }
/* "Pirkti uz ... (isipareigoju sumoketi)": ilgas tekstas lauzomas siaurame ekrane */
.acct-item-actions .paddle, .acct-dialog .paddle { white-space: normal; line-height: 1.25; text-align: center; }
.acct-empty { margin: 0; color: var(--ink-2); }
.acct-facts { margin: 12px 0 0; }
.acct-facts dd { overflow-wrap: anywhere; }
.acct-transfer-form { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--rule); }
.acct-transfer-form .check { margin-bottom: 12px; }
.acct-sheet > .form-msg:empty { min-height: 0; margin: 0; }
.acct-sheet > .form-msg:not(:empty) { margin: 14px 0; }

/* paskyros veiksmai */
.acct-defs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 18px; }
.acct-defs dt { font-size: 15px; color: var(--ink-2); }
.acct-defs dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.acct-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.acct-delete { margin-top: 18px; border-top: 1px solid var(--rule); padding-top: 14px; }
.acct-delete summary { cursor: pointer; font-weight: 700; color: var(--sold); width: fit-content; border-radius: 6px; }
.acct-delete[open] summary { margin-bottom: 10px; }
.acct-delete p { color: var(--ink-2); font-size: 15px; }
.paddle.ghost.acct-danger { color: var(--sold); box-shadow: inset 0 0 0 1.5px var(--sold); }
.paddle.ghost.acct-danger:hover { background: rgba(207, 46, 68, 0.07); }
.acct-reasons { margin: 10px 0 0; padding-left: 1.2em; color: var(--ink); }
.acct-reasons li { margin: 6px 0; }

/* patvirtinimo langas: lapas, padetas ant stalo */
.acct-dialog { border: 0; border-radius: 18px; padding: clamp(22px, 4vw, 32px); max-width: min(540px, calc(100vw - 32px)); background: var(--sheet); color: var(--ink); box-shadow: 0 24px 50px -24px rgba(5, 9, 60, 0.8); }
.acct-dialog::backdrop { background: rgba(5, 9, 60, 0.55); }
.acct-dialog h2 { font-stretch: 122%; font-weight: 820; font-size: clamp(24px, 3vw, 32px); line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 14px; }
.acct-dialog p { margin: 0 0 12px; max-width: 60ch; }
.acct-dialog .acct-actions { margin: 20px 0 0; }

@media (max-width: 960px) {
  .acct-grid { grid-template-columns: minmax(0, 1fr); }
  .split > .acct-login { order: -1; }
}
@media (max-width: 600px) {
  .acct-item { grid-template-columns: minmax(0, 1fr); }
  .acct-item-side { text-align: left; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 10px; }
  .acct-defs { grid-template-columns: 1fr; gap: 2px; }
  .acct-defs dd { margin-bottom: 10px; }
  .acct-actions .paddle, .acct-item-actions .paddle { width: 100%; justify-content: center; text-align: center; }
}
