/* Visand B — Finantsterminal (Zigle 14.11.2026, DEV) */
:root{
  --tb-bg:#000000; --tb-card:#0F1115; --tb-card2:#14171C; --tb-text:#E8EAED; --tb-muted:#8B93A1;
  --tb-accent:#4C8DFF; --tb-amount:#F5B544; --tb-line:#22262E;
}
html,body{background:var(--tb-bg)!important;color:var(--tb-text)!important}
body,body p,body td,body span,body div,body a,body li{font-family:'IBM Plex Sans',system-ui,sans-serif}
body{font-size:16px;line-height:1.6}
.page-content,.content-wrapper,.container.content,.module-content{background:transparent!important;color:var(--tb-text)!important}
.container.content{padding-top:40px;padding-bottom:40px}
a{color:var(--tb-text)}a:hover{color:var(--tb-accent)}
h1,h2,h3,h4{color:#fff!important;font-family:'IBM Plex Sans',system-ui,sans-serif!important}

/* Avaleht: pealkiri ja tekstiplokk */
.container.content > h1:first-of-type,.home .container.content h1{
  text-align:left!important;font-size:40px!important;line-height:1.2;font-weight:600!important;margin:0 0 6px!important;letter-spacing:-.01em}
.container.content div[align="justify"]{color:var(--tb-muted)!important;font-size:15px;max-width:none;text-align:justify!important;text-justify:inter-word;hyphens:auto;-webkit-hyphens:auto}
.container.content div[align="justify"] b{font-weight:400!important;color:var(--tb-muted)}
.tb-tabs{display:flex;gap:6px;margin:24px 0 14px}
.tb-tab{font-family:'IBM Plex Mono',monospace!important;font-size:13px;padding:6px 14px;border:1px solid var(--tb-line);color:var(--tb-muted);
  border-radius:6px;background:transparent;cursor:pointer}
.tb-tab:hover{color:#fff}
.tb-tab.on{color:#fff;border-color:var(--tb-accent);background:#0F1A2E}
.tb-hidden{display:none!important}
.tb-intro-end{height:28px}

/* Kaardid */
.debtor-posts .row{row-gap:20px}
.debtor-posts .debtor-wrapper{background:var(--tb-card)!important;border:1px solid var(--tb-line)!important;border-radius:6px!important;
  box-shadow:0 1px 3px rgba(0,0,0,.6);overflow:hidden;padding:0 0 16px!important;height:100%;transition:border-color .2s}
.debtor-posts .debtor-wrapper:hover{border-color:var(--tb-accent)!important}
.debtor-posts .debtor-wrapper .image-wrapper{margin:0 0 12px!important;border:0!important;background:#0b0d10}
.debtor-posts .debtor-wrapper .image-wrapper img{width:100%;display:block;filter:brightness(.9);transition:filter .2s}
.debtor-posts .debtor-wrapper:hover .image-wrapper img{filter:brightness(1)}
.debtor-posts .debtor-wrapper > a,.debtor-posts .debtor-wrapper > span{margin-left:16px;margin-right:16px;display:inline-block}
.debtor-posts .module-element-title{font-size:18px!important;font-weight:600!important;color:#fff!important;margin:0 16px 6px!important;line-height:1.3}
.debtor-posts .debtor-wrapper > a.post-link{margin:0;display:block;text-decoration:none}
.debtor-posts .date-on-image,.debtor-posts .debtor-wrapper > span:not(.claim_amount){font-family:'IBM Plex Mono',monospace!important;font-size:13px!important;
  color:var(--tb-muted)!important;background:transparent!important;position:static!important;padding:0!important;margin:0 16px}
.debtor-posts .claim_amount{font-family:'IBM Plex Mono',monospace!important;font-size:22px!important;font-weight:600!important;color:var(--tb-amount)!important;
  display:block!important;margin:10px 16px 0!important}
.debtor-posts .debtor-wrapper br{display:none}
.debtor-posts .debtor-wrapper .image-wrapper > a.neutral-photo-placeholder{background:#0b0d10!important;border:0!important;color:#3a4150!important}
.debtor-posts .debtor-wrapper .neutral-photo-label{color:var(--tb-muted)!important}
.debtor-posts .neutral-photo-rule{background:var(--tb-line)!important}

/* Isiku leht */
body .debtor-post-wrap{background:transparent!important;padding:0!important}
body .debtor-post-wrap,body .debtor-post-wrap td,body .debtor-post-wrap h1{color:var(--tb-text)!important}
body .debtor-post-wrap .content-title{text-align:left!important;font-size:40px!important;font-weight:600!important;color:#fff!important}
body .debtor-post-wrap .post-image{width:100%;border-radius:6px;border:1px solid var(--tb-line)}
body .debtor-post-wrap table{width:100%;border-collapse:separate!important;border-spacing:0;border:1px solid var(--tb-line);border-radius:6px;overflow:hidden}
body .debtor-post-wrap td{border-bottom:0!important;padding:14px 18px!important}
body .debtor-post-wrap tr:nth-child(odd) td{background:var(--tb-card)}
body .debtor-post-wrap tr:nth-child(even) td{background:var(--tb-card2)}
body .debtor-post-wrap tr:nth-child(-n+3) td:first-child{color:var(--tb-muted)!important;width:220px!important}
body .debtor-post-wrap tr:nth-child(-n+3) td:last-child{font-family:'IBM Plex Mono',monospace!important;text-align:right}
body .debtor-post-wrap tr:nth-child(3) td:last-child{color:var(--tb-amount)!important;font-weight:600;font-size:18px}
body .debtor-post-wrap tr:nth-child(4) td{background:var(--tb-card)!important;padding:18px!important;line-height:1.7;border-top:1px solid var(--tb-line)!important}
body .debtor-post-wrap .back-button{display:inline-block;background:var(--tb-accent)!important;color:#fff!important;padding:10px 22px;border-radius:6px;
  font-size:14px;text-decoration:none;border:0!important}
body .debtor-post-wrap .back-button:hover{background:#3a78e6!important}
body .debtor-share-line{text-align:left!important;color:var(--tb-muted)}
body .debtor-share-line .share-label{color:var(--tb-muted)}

/* Jalus */
.footer{background:#05070A!important;color:var(--tb-muted)!important;border-top:1px solid var(--tb-line)}
.footer *{color:var(--tb-muted)!important}
.footer a:hover{color:#fff!important}

@media (max-width:767px){
  .container.content > h1:first-of-type,body .debtor-post-wrap .content-title{font-size:30px!important}
  body .debtor-post-wrap tr:nth-child(-n+3) td:first-child{width:auto!important}
}

/* Fotod: ühtlane täislaius ja ristkülik (parandus 14.11) */
.debtor-posts .debtor-wrapper .image-wrapper{width:100%!important;aspect-ratio:4/5!important;overflow:hidden;position:relative}
.debtor-posts .debtor-wrapper .image-wrapper > a{position:absolute!important;inset:0!important;display:block!important;margin:0!important}
.debtor-posts .debtor-wrapper .image-wrapper img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;
  object-fit:cover;object-position:center 25%;transform:none!important}
.debtor-posts span.claim_amount{text-shadow:none!important;position:static!important;width:auto!important}

/* Tanel 14.11: pealkiri keskele, fotod -35% */
.container.content > h1:first-of-type,.home .container.content h1{text-align:center!important}
.tb-tabs{justify-content:center}
.debtor-posts .debtor-wrapper .image-wrapper{width:65%!important;margin:16px auto 12px!important;border-radius:4px}

/* Infovorm isiku lehel (Zigle 14.11) */
body .debtor-post-wrap .tip-form{margin-top:22px;background:var(--tb-card);border:1px solid var(--tb-line);border-radius:6px;padding:18px}
body .debtor-post-wrap .tip-lead{display:block;color:var(--tb-text);line-height:1.6;margin-bottom:12px;text-align:justify}
body .debtor-post-wrap .tip-form textarea{width:100%;background:#000;color:var(--tb-text);border:1px solid var(--tb-line);border-radius:6px;padding:12px 14px;
  font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:15px;resize:vertical;min-height:110px}
body .debtor-post-wrap .tip-form textarea:focus{outline:none;border-color:var(--tb-accent)}
body .debtor-post-wrap .tip-row{display:flex;justify-content:space-between;gap:12px;margin:8px 0 12px;min-height:22px;font-size:14px}
body .debtor-post-wrap .tip-counter{font-family:'IBM Plex Mono',monospace;color:var(--tb-muted);white-space:nowrap}
body .debtor-post-wrap .tip-msg.err{color:#FF6B6B}
body .debtor-post-wrap .tip-msg.ok{color:#5BD38D;font-weight:600}
body .debtor-post-wrap .tip-submit{background:var(--tb-accent);color:#fff;border:0;border-radius:6px;padding:10px 26px;font-size:15px;font-weight:600;cursor:pointer}
body .debtor-post-wrap .tip-submit:disabled{opacity:.55;cursor:default}
body .debtor-post-wrap .tip-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}

/* Tanel 14.11: plokid 1–3 bold, vormilause tavakiri, sissejuhatus bold +2 */
body .debtor-post-wrap tr:nth-child(-n+3) td{font-weight:600!important}
body .debtor-post-wrap .tip-lead{font-weight:400!important}
.container.content div[align="justify"]{font-size:17px!important}
.container.content div[align="justify"] b{font-weight:600!important}

/* Tanel 14.11: Tagasi + jagamine vormi alla keskele */
body .debtor-post-wrap .debtor-actions{text-align:center!important;margin-top:26px!important}
body .debtor-post-wrap .debtor-share-line{text-align:center!important;margin-top:18px!important}
body .debtor-post-wrap .debtor-actions{float:none!important;display:block}
body .debtor-post-wrap .debtor-actions a.back-button{float:none!important;display:inline-block}
