/* Identidade compartilhada por todas as telas Five Minds. */
:root{--green:#041005;--green-2:#020a03;--mid:#263c19;--gold:#dbad50;--cream:#f5f4ec;--muted:#c2c6bc;--card:#0a1a0a;--line:rgba(190,159,74,.24);--danger:#f0958a;--ok:#a9d79a;color-scheme:dark}
body{font-family:Arial,Helvetica,sans-serif;background:#041005;color:var(--cream)}
.container{max-width:1368px;padding-left:24px;padding-right:24px}
header.site{background:rgba(2,9,3,.96);border-bottom:1px solid rgba(206,166,76,.4)}
.nav{min-height:68px;gap:24px}
.brand{font-size:18px;letter-spacing:.24em;gap:16px;white-space:nowrap}
.brand img{width:46px;height:46px}
.nav-links{gap:26px}
.nav-links a:not(.btn){font-size:15px}
.btn,.tabs button,.linklike,input,select,textarea{font-family:inherit}
.btn{border-radius:10px;font-size:15px;font-weight:600;transition:background .18s,border-color .18s,box-shadow .18s}
.btn-gold{background:linear-gradient(105deg,#ca982f,#ecc36b 52%,#c38e29);color:#101208;border-color:#d9b35f;box-shadow:inset 0 1px 0 #efd18166}
.btn-gold:hover{background:linear-gradient(105deg,#dfad43,#f4d18a 52%,#dca83e)}
.btn-ghost{background:#061005;border-color:#a18037;color:var(--cream)}
.btn-ghost:hover{background:#dbad5010;border-color:#e6bd67;color:#f7d98c}
.btn-danger{border-color:#e78c7d88;background:#29130d44}
.btn:disabled{opacity:.55;cursor:wait}
.btn-sm{font-size:13px;min-height:38px}
a{color:#e2ba64;text-underline-offset:3px}
a:hover{color:#f4d58c}
:is(button,input,select,textarea,a,summary):focus-visible{outline:2px solid #edc978;outline-offset:4px}
h1,h2,h3{letter-spacing:-.025em}
.card,.stat,.table-wrap,details.q,.faq details,.chat{border:1px solid #7c793d88;background:linear-gradient(145deg,#0c1b0cee,#041004f5);border-radius:16px;box-shadow:inset 0 1px 0 #d9ba6010,0 12px 32px #00000014}
.card{padding:28px}
.card h3{font-size:20px;color:var(--cream)}
.eyebrow{color:var(--gold);font-size:11px;letter-spacing:.18em;font-weight:700;margin-bottom:12px}
.app-page{min-height:100vh;background:radial-gradient(ellipse at 85% 8%,#33401a24,transparent 48%),#041005}
.app-page::before{content:"";position:fixed;inset:68px 0 0;background:url('/assets/market-chart.svg') center top/cover no-repeat;opacity:.045;pointer-events:none;z-index:-1}
.app-page header.site{z-index:20}
.page-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin:6px 0 32px}
.page-heading h1{font-size:clamp(32px,3.6vw,44px);line-height:1.12;margin:0 0 10px;font-weight:700}
.page-heading .eyebrow{margin-bottom:10px}
.page-heading p:last-child{color:var(--muted);font-size:17px;line-height:1.5;margin-bottom:0;max-width:720px}
.portal{padding-top:40px;padding-bottom:72px}
.portal .tab>h2{font-size:26px;margin-bottom:16px}
.portal .tab>p.muted{max-width:840px;margin-bottom:24px}
.tabs{padding:7px;gap:7px;border:1px solid var(--line);border-radius:14px;background:#020b03cc;margin-bottom:32px}
.tabs button{border:1px solid transparent;border-radius:9px;font-size:14px;padding:11px 20px;color:#c6caba;transition:background .18s,color .18s}
.tabs button:hover{background:#dbad5010;color:#f4d58c}
.tabs button.active{background:linear-gradient(105deg,#ca982f,#ecc36b 52%,#c38e29);border-color:#dcba68;color:#101208;box-shadow:0 2px 12px #c4993c24}
input,select,textarea{border:1px solid #8b83424d;background:#020b03;border-radius:10px;font-size:15px;min-height:48px;padding:12px 14px;transition:border-color .18s,box-shadow .18s}
input:hover,select:hover,textarea:hover{border-color:#b3934a88}
input:focus,select:focus,textarea:focus{border-color:#d8b05e;box-shadow:0 0 0 3px #dbad5010}
input::placeholder,textarea::placeholder{color:#84917c}
.field{gap:8px;margin-bottom:20px;min-width:0}
.field label{color:#dedfce;font-size:13px;font-weight:600}
.checkrow{line-height:1.5;color:#c7ccbe}
.checkrow input{accent-color:#dbad50;padding:0}
.form-row{gap:20px;grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}
.toolbar{gap:14px;margin:20px 0}
.toolbar .field{min-width:180px;flex:1}
.toolbar .btn{min-height:48px}
.stat{padding:22px}
.stat span{font-size:12px;color:#bac2af;margin-bottom:8px}
.stat strong{display:block;font-size:29px;line-height:1.2;letter-spacing:-.025em;color:#ead291}
.stat strong.pos{color:var(--ok)}
.stat strong.neg{color:var(--danger)}
.table-wrap{position:relative;min-width:0;background:#061105}
th{background:#d9b05a0b;color:#c9b879;padding:15px 16px;font-size:11px;letter-spacing:.07em}
td{padding:15px 16px;border-color:#bca34c1c;font-size:14px}
tbody tr:last-child td{border-bottom:0}
tbody tr:hover{background:#e3b96105}
td .btn{margin:3px 2px}
td select{min-height:40px;padding:8px 12px}
.badge{padding:4px 11px;font-size:10px;font-weight:700;background:#dcb45e08}
.badge.pro,.badge.pending{color:#e8c776;border-color:#cba24c77}
.notice{background:linear-gradient(120deg,#7a5e1829,#0b180c);border-color:#c5a25388;border-radius:14px;padding:20px 24px}
.notice .pin{font-size:10px;letter-spacing:.15em;margin-bottom:8px}
.section-title{color:#e6c67e;font-size:19px;margin:30px 0 16px}
.lesson .actions{padding-top:8px}
.embed-box iframe{border-radius:12px}
.chat{height:min(62vh,620px);min-height:320px;overflow:hidden}
.chat-log{padding:24px;gap:14px}
.msg{background:#132211;border-color:#6a753e55;border-radius:14px;padding:12px 16px}
.msg.me{background:#2b3217;border-color:#ae8b3b66}
.msg .who{color:#e6c67e}
.chat-form{border-color:var(--line);padding:16px;gap:12px;background:#020b0388}
.chat-form input{min-width:0}
.q-body{color:#d7dccd}
details.q summary{padding:22px 24px}
.answer{border-color:var(--line);padding:18px 0}
.alert{border-radius:12px;padding:15px 18px;line-height:1.5;background:#050e05}
.alert.info{background:#68522118;border-color:#b38f47}
.alert.ok{background:#304c241c}
.alert.error{background:#51241d22}
.toast{background:linear-gradient(110deg,#e1b85f,#f4d68f);color:#18200e;border:1px solid #e8c878;box-shadow:0 8px 36px #0008}
.auth-wrap{max-width:500px;margin:52px auto 72px}
.auth-heading{text-align:center;margin-bottom:28px}
.auth-heading .eyebrow{margin-bottom:12px}
.auth-heading h1{font-size:32px;line-height:1.15;margin-bottom:12px}
.auth-heading>p:last-child{font-size:16px;line-height:1.5;color:var(--muted);margin:0 auto;max-width:400px}
.auth-wrap .tabs{display:grid;grid-template-columns:1fr 1fr;margin-bottom:22px}
.auth-wrap .tabs button{padding-left:10px;padding-right:10px}
.auth-wrap .card{padding:32px;border-color:#b4994a99;box-shadow:0 0 24px #c7a24c09,inset 0 1px 0 #edca7812}
.auth-wrap .card h2{font-size:25px;margin-bottom:24px}
.auth-wrap .card>p.muted{font-size:14px;line-height:1.5}
.auth-wrap .btn[type=submit]{min-height:50px}
.auth-footer{text-align:center;color:#a9b49e;font-size:12px;margin:22px 0 0}
.auth-footer a{color:#ccbc8c}
.legal{max-width:900px;margin:44px auto 64px;padding:36px 42px;border:1px solid #8b804a88;border-radius:18px;background:linear-gradient(140deg,#0c1c0bf2,#041004f5)}
.legal h1{font-size:38px;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:24px}
.legal h2{font-size:21px;color:#e7cc8b}
.legal p,.legal li{color:#c7cdbe}
footer.site{background:#020b03;border-color:var(--line)}
@media(max-width:900px){.nav{flex-wrap:wrap;padding-top:12px;padding-bottom:12px;gap:12px}.nav-links{gap:14px}#who{max-width:250px;overflow-wrap:anywhere}.page-heading{margin-bottom:26px}.portal{padding-top:28px}.tabs{gap:4px;padding:5px}.tabs button{padding:10px 14px}.toolbar{flex-wrap:wrap}.legal{margin:28px 20px 48px;padding:28px}.card{padding:24px}}
@media(max-width:600px){.container{padding-left:18px;padding-right:18px}.brand{font-size:13px;letter-spacing:.18em;gap:9px}.brand img{width:34px;height:38px}.nav-links{gap:12px}.nav-links a:not(.btn){font-size:13px}.portal-page .nav-links{width:100%;justify-content:flex-end}.portal-page #who{margin-right:auto;max-width:calc(100% - 120px);font-size:12px}.admin-page .nav-links{gap:10px}.admin-page .nav-links a{font-size:12px}.page-heading h1{font-size:32px}.page-heading p:last-child{font-size:15px}.page-heading{margin-bottom:24px}.tabs button{font-size:13px;padding:10px 12px;flex:1;white-space:nowrap}.portal .tabs{gap:6px}.card{padding:22px}.card h3{font-size:18px}.stat{padding:18px}.stat strong{font-size:24px}.stats{gap:12px}.toolbar .field{min-width:140px}.toolbar .btn{flex:1;font-size:13px;padding-left:12px;padding-right:12px}.chat-log{padding:16px}.chat-form{padding:12px;gap:8px}.chat-form .btn{padding:10px 14px}.msg{max-width:92%}.auth-wrap{margin:32px auto 48px}.auth-heading h1{font-size:29px}.auth-heading>p:last-child{font-size:15px}.auth-wrap .card{padding:26px 22px}.legal{margin:24px 16px 40px;padding:26px 22px}.legal h1{font-size:31px}.form-row{grid-template-columns:1fr}.table-wrap{max-width:100%}.checkrow{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
