/* Ferramentas pessoais - isoladas por classe; nao afetam as lojas. */
.owner-tools{color:#f4f4f7;max-width:1250px;padding-bottom:38px}.owner-tools *{box-sizing:border-box}
.owner-tools .ot-header{padding:8px 0 24px}.owner-tools .ot-header>span{color:#9a8cff;font-weight:700;font-size:.72rem;letter-spacing:.12em}
.owner-tools h2{font-size:clamp(1.8rem,3.5vw,2.7rem);margin:6px 0 6px}.owner-tools h3{font-size:1.08rem;margin:0 0 16px}.owner-tools h4{margin:0;font-size:1rem}.owner-tools p{color:#aaa7b3;margin:6px 0}
.owner-tools .ot-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:17px}
.owner-tools .ot-stat{background:#17171e;border:1px solid #30303b;border-radius:16px;padding:19px;min-width:0;display:flex;flex-direction:column;gap:10px}
.owner-tools .ot-stat>span{color:#a9a6b3;font-size:.82rem}.owner-tools .ot-stat>strong{font-size:clamp(1.1rem,1.8vw,1.6rem);letter-spacing:-.025em;overflow-wrap:anywhere}
.owner-tools .ot-positive{color:#58df9f}.owner-tools .ot-negative{color:#ff738b}.owner-tools .ot-muted{font-size:.8rem;color:#a6a2b2}
.owner-tools .ot-box{border:1px solid #30303a;background:linear-gradient(145deg,#17171e,#101015);border-radius:18px;padding:22px;margin-bottom:16px}
.owner-tools .ot-box-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.owner-tools .ot-box-top h3{margin:0}
.owner-tools .ot-chart{width:100%;height:auto;max-height:270px;display:block}.owner-tools .ot-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.owner-tools .ot-form label,.owner-tools .ot-inline-form label{display:flex;flex-direction:column;gap:7px;font-size:.84rem;color:#d4d0dc}
.owner-tools input,.owner-tools textarea{width:100%;background:#0a0a0f;color:#fff;border:1px solid #41404e;border-radius:10px;padding:11px 12px;min-width:0;font:inherit}
.owner-tools input:focus,.owner-tools textarea:focus{outline:2px solid #8762db;outline-offset:1px}.owner-tools .ot-full{grid-column:1/-1}
.owner-tools .ot-form-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.owner-tools .ot-form-actions .btn{min-height:40px}
.owner-tools .ot-inline-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.owner-tools .ot-inline-form label{width:min(280px,100%)}
.owner-tools .ot-photos{margin-top:22px;border-top:1px solid #35333e;padding-top:18px}.owner-tools .ot-photo-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:13px 0}
.owner-tools .ot-photo{position:relative;border:1px solid #3a3945;border-radius:12px;overflow:hidden;aspect-ratio:4/3;background:#0a0a0f}.owner-tools .ot-photo img{display:block;width:100%;height:100%;object-fit:cover}
.owner-tools .ot-photo button{position:absolute;top:5px;right:5px;width:25px;height:25px;line-height:1;background:#210e14;border:1px solid #ff738b;border-radius:50%;color:#fff;cursor:pointer}
.owner-tools .ot-photo-upload{display:inline-flex;border:1px dashed #77718c;border-radius:10px;align-items:center;gap:9px;padding:10px 12px;cursor:pointer}
.owner-tools .ot-photo-upload input{padding:0;border:0;background:transparent;max-width:210px;font-size:.8rem}
.owner-tools .ot-table-wrap{overflow:auto;max-width:100%}.owner-tools .ot-table{border-collapse:collapse;width:100%;font-size:.85rem;min-width:560px}
.owner-tools .ot-table th{text-align:left;font-weight:600;color:#aaa4b6;border-bottom:1px solid #494452;padding:12px}.owner-tools .ot-table td{padding:13px 12px;border-bottom:1px solid #292833;vertical-align:top}
.owner-tools .ot-table td:last-child{max-width:420px;overflow-wrap:anywhere}.owner-tools .ot-text-button{background:transparent;border:0;color:#c6b8ff;text-decoration:underline;cursor:pointer}
.owner-tools .ot-error{color:#ffc4c9;background:#4a1724;border-radius:12px;padding:12px}.owner-tools .ot-loading{padding:25px;color:#aca7ba}
.admin-portal-shell.is-owner-portal .admin-portal-content{gap:28px}.admin-portal-shell.is-owner-portal .owner-portal-heading{font-size:clamp(2rem,5vw,3.3rem);font-weight:800;text-align:center;margin:5vh 0 16px}
.admin-portal-shell.is-owner-portal .admin-portal-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:1080px}
@media(max-width:860px){.owner-tools .ot-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-tools .ot-form{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-tools .ot-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.owner-tools .ot-stats{gap:8px}.owner-tools .ot-stat{padding:13px}.owner-tools .ot-box{padding:15px}.owner-tools .ot-form{grid-template-columns:minmax(0,1fr)}.owner-tools .ot-full{grid-column:auto}.owner-tools .ot-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-portal-shell.is-owner-portal .admin-portal-grid{grid-template-columns:1fr}}

/* Trading pessoal V2: ajustes de experiência sem afetar a interface dos lojistas. */
.admin-head.owner-trading-simple .eyebrow,
.admin-head.owner-trading-simple [data-admin-description]{display:none!important}
.owner-tools{width:100%;max-width:100%;min-width:0;overflow-wrap:anywhere;overflow-x:clip}
.owner-tools .ot-box{min-width:0;max-width:100%}
.owner-tools .ot-form select{width:100%;min-width:0;background:#0a0a0f;color:#fff;border:1px solid #41404e;border-radius:10px;padding:11px 12px;font:inherit}
.owner-tools .ot-stat small{font-size:11px;color:#aaa6b4;line-height:1.45}
.owner-tools .ot-success{color:#a3f3bf;background:#153629;border:1px solid #32624b;padding:11px 14px;border-radius:11px;margin-bottom:13px}
.owner-tools .ot-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 18px}
.owner-tools .ot-tab{min-height:44px;border:1px solid #413b50;background:#20202a;color:#d9d6e4;padding:10px 15px;border-radius:12px;cursor:pointer;font-weight:700;font-size:13px}
.owner-tools .ot-tab.active{background:#7843db;border-color:#9564ea;color:#fff}
.owner-tools .ot-records{display:grid;gap:9px;margin-top:18px}
.owner-tools .ot-record{display:flex;align-items:center;gap:10px;justify-content:space-between;min-width:0;padding:12px 0;border-top:1px solid #34303d}
.owner-tools .ot-record>div{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.owner-tools .ot-record strong{font-size:13px}.owner-tools .ot-record small{color:#aaa6b4;overflow-wrap:anywhere;line-height:1.5}
.owner-tools .ot-record button{flex:none;font-size:12px}
.owner-tools .ot-inline-form,.owner-tools .ot-form-actions{min-width:0}
.owner-tools .ot-result-stats{margin-top:22px}
@media(max-width:680px){
  .owner-tools .ot-form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .owner-tools .ot-form .ot-full{grid-column:1/-1}
  .owner-tools input,.owner-tools textarea,.owner-tools select{font-size:16px}
}
@media(max-width:560px){
  .owner-tools .ot-box{padding:14px;margin-bottom:12px;border-radius:15px}
  .owner-tools .ot-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .owner-tools .ot-stat{padding:12px;gap:7px;border-radius:13px}
  .owner-tools .ot-stat>strong{font-size:clamp(15px,4vw,21px);overflow-wrap:anywhere;line-height:1.25}
  .owner-tools .ot-box-top{flex-wrap:wrap;align-items:flex-start}
  .owner-tools .ot-form{grid-template-columns:minmax(0,1fr);gap:12px}
  .owner-tools .ot-form .ot-full{grid-column:auto}
  .owner-tools .ot-form-actions button{width:100%}
  .owner-tools .ot-tab{flex:1;min-width:0;padding:10px 7px}
  .owner-tools .ot-record{flex-wrap:wrap}
  .owner-tools .ot-record>div{flex-basis:100%}
  .owner-tools .ot-table-wrap{overflow:visible;max-width:100%}
  .owner-tools .ot-table{min-width:0;width:100%;display:block}
  .owner-tools .ot-table thead{display:none}
  .owner-tools .ot-table tbody{display:grid;gap:10px;width:100%}
  .owner-tools .ot-table tr{display:block;min-width:0;border:1px solid #34333e;border-radius:12px;background:#14141a;padding:8px 10px}
  .owner-tools .ot-table td{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;width:100%;min-width:0;max-width:none!important;text-align:right;padding:8px 0;word-break:break-word}
  .owner-tools .ot-table td::before{content:attr(data-label);text-align:left;color:#aaa6b4;flex:0 0 37%;font-size:12px}
  .owner-tools .ot-table td[colspan]::before{content:none}
  .owner-tools .ot-table td button{overflow-wrap:anywhere;text-align:right}
}
@media(max-width:360px){.owner-tools .ot-stats{grid-template-columns:minmax(0,1fr)}}

/* Calculadora de juros: em telas pequenas, conservar a tabela do desktop.
   As linhas nao devem virar cartoes nem repetir os rotulos em cada celula. */
@media (max-width:760px){
  .owner-tools #ot-calculation{min-width:0;max-width:100%}
  .owner-tools #ot-calculation .ot-result-stats{margin-top:12px;margin-bottom:12px;gap:7px}
  .owner-tools #ot-calculation .ot-result-stats .ot-stat{padding:10px;gap:5px}
  .owner-tools #ot-calculation .ot-table-wrap{max-width:100%;overflow-x:visible;margin-top:8px}
  .owner-tools #ot-calculation .ot-table{display:table;width:100%;min-width:0;max-width:100%;table-layout:fixed;border-collapse:collapse;font-size:clamp(10px,2.6vw,13px);font-variant-numeric:tabular-nums}
  .owner-tools #ot-calculation .ot-table thead{display:table-header-group}
  .owner-tools #ot-calculation .ot-table tbody{display:table-row-group;width:auto}
  .owner-tools #ot-calculation .ot-table tr{display:table-row;background:transparent;border:0;border-radius:0;padding:0}
  .owner-tools #ot-calculation .ot-table th{padding:8px 2px;text-align:right;white-space:normal;line-height:1.25}
  .owner-tools #ot-calculation .ot-table td{display:table-cell;min-width:0;width:auto;max-width:none!important;padding:7px 2px;text-align:right;vertical-align:middle;overflow-wrap:anywhere;word-break:normal;white-space:normal;line-height:1.3;border-bottom:1px solid #292833}
  .owner-tools #ot-calculation .ot-table th:first-child,
  .owner-tools #ot-calculation .ot-table td:first-child{width:15%;text-align:left}
  .owner-tools #ot-calculation .ot-table td::before{display:none;content:none}
}

/* Meu Trading: cartões superiores uniformes, sem áreas vazias. Escopo exclusivo do proprietário. */
.owner-tools .ot-trading-summary{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:12px;margin-bottom:13px}
.owner-tools .ot-trading-summary .ot-stat{min-height:136px;min-width:0;padding:17px 19px;gap:8px;justify-content:center;background:#16151d;border:1px solid #33303d;border-radius:15px;box-shadow:none}
.owner-tools .ot-trading-summary .ot-stat>span{font-size:12px;line-height:1.3;color:#aaa6b8;font-weight:500}
.owner-tools .ot-trading-summary .ot-stat>strong{font-size:clamp(22px,2.1vw,29px);font-weight:760;line-height:1.08;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.owner-tools .ot-trading-summary .ot-stat>small{font-size:11px;line-height:1.4;margin-top:1px;color:#938fa2}
.owner-tools .ot-trading-summary .ot-stat>strong.ot-positive{color:#55d99a}
.owner-tools .ot-trading-summary .ot-stat>strong.ot-negative{color:#ff8995}
.owner-tools .ot-trading-summary .ot-stat-capital{justify-content:space-between;gap:10px}
.owner-tools .ot-capital-initial{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.owner-tools .ot-capital-initial span{font-size:12px;color:#a9a5b7;white-space:nowrap}
.owner-tools .ot-capital-initial strong{font-size:clamp(14px,1.25vw,18px);color:#e4e0ed;line-height:1.2;font-weight:640;letter-spacing:-.02em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;text-align:right}
.owner-tools .ot-capital-major{display:flex;flex-direction:column;gap:3px;min-width:0;padding:10px 0 0;border-top:1px solid #302c3b}
.owner-tools .ot-capital-major span{font-size:11px;color:#aaa3bc}
.owner-tools .ot-capital-major strong{font-size:clamp(24px,2.3vw,32px);line-height:1.08;font-weight:790;color:#c6b4ff;letter-spacing:-.035em;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.owner-tools .ot-goal{border-color:#41364e;background:#15131b;padding:15px}
.owner-tools .ot-goal-heading{gap:10px;flex-wrap:wrap;margin-bottom:9px}
.owner-tools .ot-goal-heading h3{margin:0 0 4px;font-size:17px}
.owner-tools .ot-goal-heading .btn{flex:none}
.owner-tools .ot-goal-track{width:100%;height:6px;border-radius:99px;background:#34303d;overflow:hidden}
.owner-tools .ot-goal-track>span{display:block;height:100%;border-radius:inherit;background:#9068e3}
.owner-tools .ot-goal-progress{display:flex;justify-content:space-between;gap:8px;color:#b3aabd;font-size:11px;margin:5px 0 13px}
.owner-tools .ot-goal-days{min-width:0;width:100%;display:flex;flex-direction:column;gap:3px}
.owner-tools .ot-goal-days-viewport{max-height:620px;overflow-y:auto;overflow-x:hidden;padding-right:6px;border:1px solid #2e2839;border-radius:14px;background:#100f16;scrollbar-width:thin;scrollbar-color:#5b467f #181620;overscroll-behavior:contain}
.owner-tools .ot-goal-labels,.owner-tools button.ot-goal-day{display:grid;grid-template-columns:16% 24% 29% 31%;gap:0;align-items:center;min-width:0}
.owner-tools .ot-goal-labels{position:sticky;top:0;z-index:2;padding:10px 8px;color:#a9a3b5;font-size:11px;background:rgba(16,15,22,.98);backdrop-filter:blur(8px);border-bottom:1px solid #2e2839}
.owner-tools .ot-goal-labels span:not(:first-child){text-align:right}
.owner-tools button.ot-goal-day{width:100%;border:1px solid #292b34;border-radius:9px;padding:10px 5px;background:#191a21;color:#f2f0f6;text-align:left;cursor:pointer;font:inherit;font-size:12px;font-variant-numeric:tabular-nums}
.owner-tools button.ot-goal-day.is-past{background:#1b1b23;border-color:#292b34}
.owner-tools button.ot-goal-day.is-today{background:#332344;border-color:#9b6ee9;box-shadow:inset 3px 0 0 #b28aff}
.owner-tools button.ot-goal-day.is-future{background:#12141a;color:#9d9ba9;border-color:#272830;cursor:default;opacity:.88}
.owner-tools button.ot-goal-day:disabled{opacity:.84}
.owner-tools button.ot-goal-day.is-selected{outline:1px solid #ba9aff;outline-offset:0}
.owner-tools button.ot-goal-day:focus-visible{outline:2px solid #b38cf8;outline-offset:1px}
.owner-tools .ot-day-date{display:flex;flex-direction:column;gap:3px;min-width:0}
.owner-tools .ot-day-date strong{font-size:12px;white-space:nowrap}
.owner-tools .ot-day-date small{font-size:9px;color:#9b95aa;letter-spacing:.02em}
.owner-tools .is-today .ot-day-date small{color:#e0baff;font-weight:800}
.owner-tools .ot-day-number{display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:0;overflow-wrap:anywhere;text-align:right;font-size:12px;line-height:1.2}
.owner-tools .ot-day-number small{font-size:9px;color:#9b98a9;line-height:1.2}
.owner-tools .ot-day-number.ot-positive{color:#5de6a3}
.owner-tools .ot-day-number.ot-negative{color:#ff8da1}
.owner-tools .ot-goal-footnote{margin-top:12px;line-height:1.55;font-size:11px}
.owner-tools .ot-quick-entry{display:grid;grid-template-columns:1fr 1fr auto auto;align-items:end;gap:9px;background:#211a2a;border:1px solid #554066;border-radius:10px;padding:12px;margin:2px 0 5px;min-width:0}
.owner-tools .ot-quick-entry label{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#c5bfd2;min-width:0}
.owner-tools .ot-quick-entry input{font-size:16px;min-height:41px}
.owner-tools .ot-quick-entry button{min-height:41px;white-space:nowrap}
.owner-tools .ot-close-entry{border:1px solid #4a4156;border-radius:9px;background:transparent;color:#ddd1ea;padding:9px 12px;cursor:pointer}
.owner-tools .ot-launcher{background:#16141c;border:1px solid #3c3548;border-radius:16px;max-width:100%;min-width:0;margin-bottom:18px;overflow:hidden}
.owner-tools .ot-launcher>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;list-style:none}
.owner-tools .ot-launcher>summary::-webkit-details-marker{display:none}
.owner-tools .ot-launcher>summary>span:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.owner-tools .ot-launcher>summary strong{font-size:15px;color:#f6f4fa}
.owner-tools .ot-launcher>summary small{color:#aaa3b6;font-size:12px}
.owner-tools .ot-launcher-arrow{color:#b8a5d8;font-size:24px;transition:transform .2s}
.owner-tools .ot-launcher[open] .ot-launcher-arrow{transform:rotate(180deg)}
.owner-tools .ot-launcher-body{padding:0 12px 12px;min-width:0}
.owner-tools .ot-launcher-nav{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
.owner-tools .ot-launcher-nav button{background:#23202b;border:1px solid #433b50;border-radius:9px;color:#dcd5e8;padding:9px 12px;font-size:12px;font-weight:700;cursor:pointer;min-height:38px}
.owner-tools .ot-launcher-nav button.active{background:#7641d8;color:white;border-color:#915bea}
.owner-tools .ot-launcher .ot-editor,.owner-tools .ot-launcher .ot-box{margin:0;background:#15131c}
.owner-tools .ot-calc-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px}
.owner-tools .ot-calc-controls .ot-tabs{margin:0}

@media(max-width:740px){
 .owner-tools .ot-trading-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .owner-tools .ot-trading-summary .ot-stat{padding:10px 11px}
 .owner-tools .ot-trading-summary .ot-stat>strong{font-size:clamp(16px,4vw,22px)}
 .owner-tools .ot-trading-summary .ot-stat:first-child>strong{font-size:clamp(15px,3.7vw,18px)}
 .owner-tools .ot-quick-entry{grid-template-columns:repeat(2,minmax(0,1fr))}
 .owner-tools .ot-quick-entry button{width:100%}
}
@media(max-width:440px){
 .owner-tools .ot-goal{padding:10px}
 .owner-tools .ot-goal-heading .btn{font-size:11px;padding:8px 10px}
 .owner-tools .ot-goal-labels,.owner-tools button.ot-goal-day{grid-template-columns:16% 24% 29% 31%;}
 .owner-tools button.ot-goal-day{padding:8px 3px;font-size:clamp(10px,2.7vw,12px)}
 .owner-tools .ot-day-date strong{font-size:clamp(10px,2.8vw,12px)}
 .owner-tools .ot-day-date small{font-size:8px}
 .owner-tools .ot-day-number{font-size:clamp(9px,2.55vw,11px)}
 .owner-tools .ot-day-number small{font-size:8px}
 .owner-tools .ot-goal-labels{font-size:9px;padding:7px 2px}
 .owner-tools .ot-launcher>summary{padding:13px}
 .owner-tools .ot-launcher-body{padding:0 8px 9px}
 .owner-tools .ot-launcher-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .owner-tools .ot-launcher-nav button{min-width:0;padding:8px 4px;font-size:11px}
}

/* Meta do proprietário: resultados compactos e responsivos. */
.owner-tools .ot-goal-config .ot-goal-projection{min-width:0;background:#1d1a25;border:1px solid #443850;border-radius:13px;padding:12px}
.owner-tools .ot-goal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.owner-tools .ot-goal-metrics>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.owner-tools .ot-goal-metrics small{color:#b5acbf;font-size:11px}
.owner-tools .ot-goal-metrics strong{font-size:clamp(13px,1.5vw,19px);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
@media(max-width:680px){.owner-tools .ot-goal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-tools .ot-goal-config .ot-form-actions{display:flex;flex-wrap:wrap}.owner-tools .ot-goal-config .ot-form-actions button{flex:1;min-width:0}}

.owner-tools .ot-goal-config input[type="date"]{color-scheme:dark}

/* Fotos separadas na linha do dia, sem alterar a tela de lancamentos existente. */
.owner-tools .ot-goal-month-title{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:4px 12px;margin:10px 0 4px;padding:9px 8px 5px;border-bottom:1px solid #393040;color:#e8d8fc;text-transform:capitalize;font-size:12px}
.owner-tools .ot-goal-month-title span{font-size:11px;color:#b7aabe}
.owner-tools .ot-goal-day-editor{background:#1b1624;border:1px solid #483550;border-radius:10px;padding:8px;margin:1px 0 6px;min-width:0}
.owner-tools .ot-goal-day-editor .ot-quick-entry{margin:0 0 8px;border:0;padding:5px;background:transparent}
.owner-tools .ot-photo-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.owner-tools .ot-photo-category{min-width:0;border:1px solid #3b3446;border-radius:11px;padding:10px;background:#18151e}
.owner-tools .ot-photo-category h4{display:flex;justify-content:space-between;gap:5px;margin:0 0 9px;font-size:12px}
.owner-tools .ot-photo-category h4 small{font-size:10px;color:#b2a8bb}
.owner-tools .ot-photo-category .ot-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.owner-tools .ot-photo-category .ot-photo-upload{margin-top:9px;display:block;cursor:pointer}
.owner-tools .ot-photo-category .ot-photo-upload input{display:block;width:100%;max-width:100%;font-size:12px}
.owner-tools .ot-photo-category .ot-photo-upload input:disabled{opacity:.4;cursor:not-allowed}
/* A reserva permanece visivel enquanto o proprietario percorre os dias. */
.owner-tools .ot-floating-reserve{position:fixed;bottom:calc(15px + env(safe-area-inset-bottom,0px));right:15px;z-index:40;display:flex;align-items:center;gap:10px;max-width:calc(100vw - 30px);padding:11px 16px;border-radius:999px;background:#13271e;border:1px solid #3eae75;box-shadow:0 8px 32px #0009;color:#78edaa;font-variant-numeric:tabular-nums;pointer-events:none}
.owner-tools .ot-floating-reserve span{color:#bcddca;font-size:12px;font-weight:650}
.owner-tools .ot-floating-reserve strong{font-size:16px;white-space:nowrap}
.owner-tools .ot-floating-reserve.is-negative{background:#341c24;border-color:#df7f8c;color:#ff9bab}
@media(max-width:600px){
  .owner-tools .ot-floating-reserve{right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));padding:8px 12px;gap:7px}
  .owner-tools .ot-floating-reserve strong{font-size:14px}
  .owner-tools .ot-photo-categories{grid-template-columns:minmax(0,1fr)}
  .owner-tools .ot-goal-month-title{font-size:11px}
}

/* A hierarquia dos três cartões permanece consistente em telas pequenas. */
@media(max-width:740px){
 .owner-tools .ot-trading-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .owner-tools .ot-trading-summary .ot-stat{min-height:100px;padding:13px 14px;gap:6px;border-radius:13px}
 .owner-tools .ot-trading-summary .ot-stat-capital{grid-column:1/-1;min-height:118px;padding:14px 16px}
 .owner-tools .ot-trading-summary .ot-stat>strong{font-size:clamp(18px,4.4vw,24px)}
 .owner-tools .ot-capital-initial strong{font-size:15px}
 .owner-tools .ot-capital-major strong{font-size:clamp(24px,6vw,30px)}
}
@media(max-width:380px){
 .owner-tools .ot-trading-summary{gap:7px}
 .owner-tools .ot-trading-summary .ot-stat{padding:11px;min-height:102px}
 .owner-tools .ot-trading-summary .ot-stat>strong{font-size:clamp(16px,4.4vw,19px)}
 .owner-tools .ot-capital-initial strong{font-size:14px}
 .owner-tools .ot-trading-summary .ot-stat-capital{padding:13px;min-height:112px}
}

/* Histórico pessoal: ações de correção sem apagar uma meta ou outros lançamentos. */
.owner-tools .ot-history-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;min-width:0}
.owner-tools .ot-history-actions .ot-text-button{white-space:normal;text-decoration:none;border:1px solid #45404f;background:#211d2b;border-radius:9px;padding:8px 10px;font-size:12px;line-height:1.25;min-height:34px}
.owner-tools .ot-history-actions .ot-text-button:hover{background:#30283f;border-color:#746098}
.owner-tools .ot-history-actions .ot-danger-action{color:#ffa6b0;border-color:#6a3743;background:#301b25}
.owner-tools .ot-history-actions .ot-danger-action:hover{background:#452430;border-color:#a25564}
@media(max-width:560px){
  .owner-tools .ot-operation-history .ot-history-actions{width:100%;justify-content:flex-start}
  .owner-tools .ot-table td .ot-history-actions{width:100%;justify-content:flex-end}
}

/* Meu Trading — seletor de ate 3 metas e leitura mais confortavel dos dias. */
.owner-tools .ot-goal-switcher{border:1px solid #40334f;border-radius:16px;padding:14px 16px;background:#16131d;margin:0 0 15px;min-width:0}
.owner-tools .ot-goal-switcher-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}
.owner-tools .ot-goal-switcher-top strong{font-size:16px;font-weight:750;color:#f4f0ff}
.owner-tools .ot-goal-switcher-top span{font-size:12px;color:#b8abc7}
.owner-tools .ot-goal-switcher-buttons{display:flex;gap:9px;flex-wrap:wrap;min-width:0}
.owner-tools button.ot-goal-choice,.owner-tools button.ot-goal-new{font:inherit;cursor:pointer;border:1px solid #4c415c;background:#221d2c;border-radius:12px;color:#e7e0f3;padding:11px 14px;min-width:0;min-height:52px}
.owner-tools button.ot-goal-choice{display:flex;flex-direction:column;align-items:flex-start;gap:5px;flex:1 1 170px;max-width:320px;text-align:left}
.owner-tools button.ot-goal-choice strong{font-size:14px;font-weight:750;line-height:1.25;overflow-wrap:anywhere}
.owner-tools button.ot-goal-choice small{color:#ada2bd;font-size:12px;line-height:1.25}
.owner-tools button.ot-goal-choice.active{background:#34244d;border-color:#a879f1;box-shadow:inset 3px 0 0 #b68bff}
.owner-tools button.ot-goal-choice.active strong{color:#fff}
.owner-tools button.ot-goal-new{color:#dcc8ff;border-style:dashed;font-weight:750;font-size:13px}
.owner-tools button.ot-goal-choice:focus-visible,.owner-tools button.ot-goal-new:focus-visible{outline:2px solid #b68bff;outline-offset:2px}
.owner-tools .ot-goal-heading h3{font-size:20px;font-weight:800;letter-spacing:-.02em}
.owner-tools .ot-goal-heading .ot-muted{font-size:13px;color:#bbb0ca}
.owner-tools .ot-goal-progress{font-size:13px;font-weight:600}
.owner-tools .ot-goal-labels{font-size:13px;font-weight:700;color:#d1c4de;padding:11px 9px}
.owner-tools button.ot-goal-day{padding:12px 9px;font-size:14px;min-height:63px}
.owner-tools .ot-day-date strong{font-size:14px;font-weight:800;color:#f1eaf9}
.owner-tools .ot-day-date small{font-size:11px;font-weight:650}
.owner-tools .ot-day-number{font-size:14px;font-weight:700;line-height:1.35}
.owner-tools .ot-day-number small{font-size:11px;font-weight:500;color:#a9a4b5}
.owner-tools .ot-goal-month-title{font-size:15px;font-weight:800;padding:12px 10px 8px}
.owner-tools .ot-goal-month-title span{font-size:12px;font-weight:500;color:#c3b6d2}
.owner-tools .ot-goal-config>h3{font-size:18px}
.owner-tools .ot-goal-config .ot-form label{font-size:14px;font-weight:600}
.owner-tools .ot-goal-archive{margin-top:17px;border-top:1px solid #443a50;padding-top:14px}
.owner-tools .ot-goal-archive h4{font-size:14px;margin-bottom:9px}
.owner-tools .ot-goal-archive>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:8px 0;font-size:13px}
.owner-tools .ot-report-active-goal{margin-bottom:14px;color:#aaa5b5;font-size:14px}
.owner-tools .ot-report-active-goal strong{color:#e5d0ff}
@media(max-width:600px){
 .owner-tools .ot-goal-switcher{padding:11px;border-radius:13px}
 .owner-tools .ot-goal-switcher-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .owner-tools button.ot-goal-choice,.owner-tools button.ot-goal-new{max-width:none;padding:10px;min-height:57px}
 .owner-tools button.ot-goal-choice strong{font-size:13px}
 .owner-tools button.ot-goal-choice small{font-size:10.5px}
 .owner-tools .ot-goal-heading h3{font-size:18px}
 .owner-tools .ot-goal-heading .ot-muted{font-size:12px}
 .owner-tools .ot-goal-labels{font-size:11px;padding:10px 4px}
 .owner-tools button.ot-goal-day{padding:10px 4px;font-size:12px;min-height:62px}
 .owner-tools .ot-day-date strong{font-size:12px}
 .owner-tools .ot-day-date small{font-size:10px}
 .owner-tools .ot-day-number{font-size:clamp(10.5px,2.9vw,13px);font-weight:700;line-height:1.25}
 .owner-tools .ot-day-number small{font-size:10px}
 .owner-tools .ot-goal-month-title{font-size:13px}
 .owner-tools .ot-goal-month-title span{font-size:11px}
}
@media(max-width:350px){
 .owner-tools button.ot-goal-day{padding:9px 2px}
 .owner-tools .ot-day-number{font-size:10.5px}
 .owner-tools .ot-goal-labels{font-size:10.5px}
}
/* Legibilidade: mantem numeros compreensiveis no celular sem criar rolagem horizontal. */
.owner-tools button.ot-goal-day.is-future{color:#c6bdcf;opacity:1}
@media(max-width:600px){
 .owner-tools .ot-day-number{font-size:clamp(12px,3.4vw,14px)}
 .owner-tools .ot-day-date strong{font-size:13px}
 .owner-tools .ot-goal-days-viewport{max-height:min(78vh,660px)}
}
@media(max-width:350px){
 .owner-tools .ot-day-number{font-size:12px}
}

/* Dashboard visual do Soros diário do proprietário. */
.owner-tools .ot-soros-dashboard h3{margin-bottom:6px}
.owner-tools .ot-soros-date{font-size:12px;color:#b8abc7;background:#1f1a29;border:1px solid #473a58;border-radius:999px;padding:7px 10px}
.owner-tools .ot-soros-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin:12px 0 16px}
.owner-tools .ot-soros-rules p{margin:0;font-size:13px;color:#ddd7e9;background:#191620;border:1px solid #343040;border-radius:12px;padding:10px 12px}
.owner-tools .ot-soros-summary,.owner-tools .ot-soros-probability-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
.owner-tools .ot-soros-live{border:1px solid #3d334c;border-radius:15px;background:#14111a;padding:16px;margin:10px 0 14px}
.owner-tools .ot-soros-live-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.owner-tools .ot-soros-live-head strong{font-size:16px}.owner-tools .ot-soros-live-head small{color:#b5abc4;font-size:12px}
.owner-tools .ot-soros-sequence{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}
.owner-tools .ot-soros-step{min-height:74px;border:1px solid #413850;border-radius:14px;background:#1a1622;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
.owner-tools .ot-soros-step span{font-size:26px;line-height:1}.owner-tools .ot-soros-step small{font-size:12px;color:#b0a6bf}
.owner-tools .ot-soros-step.is-win{border-color:#347755;background:#112419}.owner-tools .ot-soros-step.is-loss{border-color:#89465b;background:#25131a}.owner-tools .ot-soros-step.is-stop{border-color:#496790;background:#161e2a}.owner-tools .ot-soros-step.is-empty{opacity:.75}
.owner-tools .ot-soros-actions{display:flex;flex-wrap:wrap;gap:8px}
.owner-tools .ot-soros-probabilities{border:1px solid #383344;border-radius:15px;background:#15121b;padding:16px;margin-top:14px}
.owner-tools .ot-soros-probabilities h4{margin:0 0 6px;font-size:16px}
.owner-tools .ot-probability{margin-top:13px}.owner-tools .ot-probability-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}
.owner-tools .ot-probability-top strong{font-size:14px}.owner-tools .ot-probability-top span{font-size:14px;font-weight:800;color:#f6f2ff}
.owner-tools .ot-probability-track{height:10px;border-radius:999px;background:#262330;overflow:hidden}.owner-tools .ot-probability-track span{display:block;height:100%;border-radius:inherit}
.owner-tools .ot-probability-track .is-positive{background:linear-gradient(90deg,#2e9b63,#59e29a)}.owner-tools .ot-probability-track .is-negative{background:linear-gradient(90deg,#b44c64,#ff7d95)}
.owner-tools .ot-soros-paths{margin-top:14px;border:1px solid #3c3348;border-radius:14px;background:#14111a;padding:0 14px 12px}
.owner-tools .ot-soros-paths summary{cursor:pointer;list-style:none;padding:14px 0;font-weight:750;color:#eee6ff}.owner-tools .ot-soros-paths summary::-webkit-details-marker{display:none}
@media(max-width:820px){.owner-tools .ot-soros-rules,.owner-tools .ot-soros-summary,.owner-tools .ot-soros-probability-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.owner-tools .ot-soros-rules,.owner-tools .ot-soros-summary,.owner-tools .ot-soros-probability-cards{grid-template-columns:minmax(0,1fr)}.owner-tools .ot-soros-sequence{gap:7px}.owner-tools .ot-soros-step{min-height:64px;border-radius:12px}.owner-tools .ot-soros-step span{font-size:22px}.owner-tools .ot-soros-actions button{flex:1 1 calc(50% - 8px)}.owner-tools .ot-soros-date{width:100%;text-align:center}}

/* Soros V2: lançamentos sempre visíveis, análise recolhida e cenários em uma tabela. */
.owner-tools .ot-soros-live.ot-soros-quick{margin:0 0 10px;background:#18131f;padding:16px 18px;border-color:#483655}
.owner-tools details.ot-soros-dashboard{padding:0;overflow:hidden;margin-bottom:14px}
.owner-tools .ot-soros-dashboard-trigger{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 18px;min-height:68px;user-select:none}
.owner-tools .ot-soros-dashboard-trigger::-webkit-details-marker{display:none}
.owner-tools .ot-soros-dashboard-trigger>span:first-child{display:flex;flex-direction:column;gap:5px;min-width:0}
.owner-tools .ot-soros-dashboard-trigger strong{font-size:16px;line-height:1.3;color:#f7f2ff}
.owner-tools .ot-soros-dashboard-trigger small{font-size:12px;color:#b4a9bf;line-height:1.35}
.owner-tools .ot-soros-chevron{display:grid;place-items:center;width:31px;height:31px;flex:none;border:1px solid #59436a;border-radius:50%;font-size:23px;line-height:1;color:#c5a9ff;transition:transform .18s ease}
.owner-tools details.ot-soros-dashboard[open] .ot-soros-chevron{transform:rotate(180deg)}
.owner-tools details.ot-soros-dashboard[open]>.ot-soros-dashboard-trigger{border-bottom:1px solid #373040}
.owner-tools .ot-soros-dashboard-trigger:focus-visible{outline:2px solid #ad83f0;outline-offset:-3px;border-radius:16px}
.owner-tools .ot-soros-dashboard-content{padding:16px 18px 18px}
.owner-tools .ot-soros-detail-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:9px}
.owner-tools .ot-soros-detail-heading p{margin:0}
.owner-tools .ot-soros-summary,.owner-tools .ot-soros-probability-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.owner-tools .ot-soros-summary .ot-stat,.owner-tools .ot-soros-probability-cards .ot-stat{padding:14px;gap:6px;min-height:92px;min-width:0}
.owner-tools .ot-soros-summary .ot-stat>strong,.owner-tools .ot-soros-probability-cards .ot-stat>strong{font-size:clamp(18px,2.4vw,25px);line-height:1.18}
.owner-tools .ot-soros-paths{margin-top:14px;padding:15px;border:1px solid #40374c;border-radius:14px;background:#14111a}
.owner-tools .ot-soros-paths-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:10px}
.owner-tools .ot-soros-paths-heading h4{margin:0;font-size:15px;color:#f0e8fc}
.owner-tools .ot-soros-paths-heading small{font-size:11px;color:#b2a8c0}
.owner-tools .ot-soros-paths-grid{width:100%;border:1px solid #312a3b;border-radius:10px;overflow:hidden;font-variant-numeric:tabular-nums}
.owner-tools .ot-soros-path-row{display:grid;grid-template-columns:minmax(32px,.55fr) repeat(5,minmax(0,1fr)) minmax(100px,2.3fr);align-items:center;gap:0;min-width:0;border-top:1px solid #292533;min-height:37px;text-align:center;font-size:14px}
.owner-tools .ot-soros-path-row:first-child{border-top:0}
.owner-tools .ot-soros-path-row:nth-child(even):not(.ot-soros-path-head){background:#18151f}
.owner-tools .ot-soros-path-row>span,.owner-tools .ot-soros-path-row>strong{min-width:0;padding:7px 2px;white-space:nowrap}
.owner-tools .ot-soros-path-row>strong{text-align:right;padding-right:10px;font-size:12px}
.owner-tools .ot-soros-path-row.ot-soros-path-head{background:#201a2a;color:#c8b8db;font-size:11px;font-weight:700;min-height:38px}
.owner-tools .ot-soros-path-row.ot-soros-path-head>span:last-child{text-align:right;padding-right:10px}
@media(max-width:600px){
  .owner-tools .ot-soros-live.ot-soros-quick{padding:12px;margin-bottom:9px}
  .owner-tools .ot-soros-dashboard-trigger{padding:12px 13px;min-height:61px}
  .owner-tools .ot-soros-dashboard-trigger strong{font-size:14px}
  .owner-tools .ot-soros-dashboard-trigger small{font-size:11px}
  .owner-tools .ot-soros-dashboard-content{padding:12px}
  .owner-tools .ot-soros-summary,.owner-tools .ot-soros-probability-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .owner-tools .ot-soros-summary .ot-stat,.owner-tools .ot-soros-probability-cards .ot-stat{padding:11px 9px;min-height:90px;gap:6px}
  .owner-tools .ot-soros-summary .ot-stat>span,.owner-tools .ot-soros-probability-cards .ot-stat>span{font-size:11px}
  .owner-tools .ot-soros-summary .ot-stat>strong,.owner-tools .ot-soros-probability-cards .ot-stat>strong{font-size:clamp(15px,4vw,21px)}
  .owner-tools .ot-soros-summary .ot-stat small,.owner-tools .ot-soros-probability-cards .ot-stat small{font-size:10px}
  .owner-tools .ot-soros-paths{padding:8px;border-radius:11px}
  .owner-tools .ot-soros-paths-heading{padding:4px 1px}
  .owner-tools .ot-soros-path-row{grid-template-columns:25px repeat(5,minmax(0,1fr)) minmax(78px,2.2fr);font-size:12px;min-height:35px}
  .owner-tools .ot-soros-path-row>strong{font-size:clamp(10px,2.6vw,12px);padding-right:4px}
  .owner-tools .ot-soros-path-row>span{padding:6px 0}
  .owner-tools .ot-soros-path-row.ot-soros-path-head{font-size:10px;min-height:34px}
  .owner-tools .ot-soros-path-row.ot-soros-path-head>span:last-child{padding-right:4px}
}
