/* Layout aligned with the supplied Dourado Invest reference screens. */
.app-layout{--edge:#17343e;--cyan:#00e1d7;--gold:#f3d329;background:#02080a}
.app-layout .card{background:linear-gradient(115deg,#051115,#020c10);border-radius:12px}
.progress-track>i{display:block;height:100%;border-radius:inherit}
.progress-row{display:grid;grid-template-columns:1fr auto;gap:6px 10px}
.progress-row>span{grid-column:1/-1;font-size:12px;color:var(--muted)}
.progress-track{width:100%;height:7px}
.progress-row>b{font-size:12px}
.folder-status>span{display:flex;align-items:center;gap:10px;line-height:1.35}
.folder-status>span+span{margin-top:14px}
.latest-receipt{display:flex;align-items:center;gap:20px}
.latest-receipt .content{flex:1;min-width:0}
.latest-receipt h3{font-size:18px;margin-bottom:9px}
.latest-receipt p{color:var(--muted);margin-bottom:10px}
.latest-receipt .code-badge{display:inline-flex;font-size:13px;padding:4px 9px}
.pdf-symbol{position:relative;color:#ff6257!important}
.pdf-symbol>.icon{width:34px;height:43px}
.pdf-symbol>b{position:absolute;top:31px;font-size:9px}
.timeline-item.pending .timeline-dot{background:var(--gold);box-shadow:0 0 0 5px #f3d32920}
.timeline-item.pending .cyan{color:var(--gold)}
.detail-main h2{font-size:28px;line-height:1.2;margin-bottom:14px}
.detail-main>div>p{color:var(--muted);margin-top:15px;font-size:17px}
.detail-summary>div{min-width:0}
@media(min-width:761px){.latest-receipt{padding:28px}.folder{min-height:140px}}
@media(max-width:760px){
 .main-app{padding:18px 22px 110px}
 .app-topbar{margin-bottom:26px}
 .app-topbar .brand>img{width:34px;height:34px}
 .app-topbar .brand-text strong{font-size:12px;letter-spacing:.2em}
 .app-topbar .brand-text span{font-size:8px}
 .app-topbar .brand-text small{font-size:10px;color:#c4d3d8}
 .account-actions{gap:8px}
 .account-actions .icon{width:23px;height:23px}
 .page-heading{margin-bottom:22px}
 .page-heading h1{font-size:29px;letter-spacing:-.025em}
 .page-heading p{font-size:14px;line-height:1.4}
 .stack{gap:14px}
 .stack>h2{font-size:22px;margin-top:10px}
 .active-total{grid-template-columns:1.4fr 1fr;padding:22px 18px;gap:14px}
 .active-total .amount{font-size:clamp(24px,6.7vw,40px);white-space:nowrap}
 .active-total h3{font-size:17px}
 .growth-symbol{padding-left:15px;gap:13px}
 .growth-symbol p{font-size:11px}
 .next-action{padding:20px 17px;gap:12px}
 .next-action h2{font-size:23px}
 .next-action p{font-size:12px;gap:10px}
 .next-action p>.icon{color:var(--gold);width:25px;height:30px}
 .next-action .button{padding:10px 13px;font-size:12px}
 .quote-card{padding:18px;gap:16px}
 .quote-update{max-width:100px}
 .inner-section{padding:18px 14px}
 .inner-section .section-title h2{font-size:20px}
 .notification-row{padding:15px 0}
 .campaign-row{display:grid;grid-template-columns:42px 1fr auto;gap:12px}
 .campaign-row .content h3{font-size:13px}
 .campaign-row .content p{font-size:10px}
 .campaign-row .content small{font-size:9px}
 .campaign-row>.button{grid-column:3;margin:0;font-size:10px;padding:9px 8px}
 .campaign-row>.button .icon{width:12px}
 .info-card{padding:18px 16px;gap:15px}
 .info-card .circle-icon{width:47px;height:47px}
 .info-card h3{font-size:17px}
 .info-card p{font-size:13px}
 .folder{grid-template-columns:48px minmax(0,1fr) 98px 12px;gap:12px;padding:22px 12px;min-height:120px}
 .folder .circle-icon{width:48px;height:48px}
 .folder .content h2{font-size:16px}
 .folder .content h3{font-size:13px;line-height:1.3}
 .folder .content p{font-size:11px;line-height:1.5}
 .folder-status{grid-column:auto;display:block;border-left:1px solid var(--edge);padding-left:12px;font-size:10px}
 .folder-status .icon{width:18px;height:22px}
 .folder-status>span{gap:7px}
 .folder>.icon{grid-column:4;grid-row:1;width:14px}
 .latest-receipt{padding:20px 14px;gap:15px}
 .latest-receipt .circle-icon{width:55px;height:55px}
 .latest-receipt h3{font-size:15px;line-height:1.4}
 .latest-receipt p{font-size:12px}
 .pdf-symbol>b{top:27px}
 .investment-card{padding:22px 10px 13px}
 .investment-content{grid-template-columns:60px minmax(0,1fr) 70px;gap:10px}
 .investment-content .ring{width:60px;height:60px;padding:5px}
 .investment-content .ring strong{font-size:21px}
 .investment-content .ring small{font-size:8px}
 .investment-body h3{font-size:13px;margin:4px 0}
 .investment-body .principal{font-size:11px;margin-bottom:5px}
 .investment-body>.muted{font-size:9px;margin:5px 0 3px}
 .investment-body .chip{font-size:8px;padding:3px 6px}
 .investment-body .chip:before{display:none}
 .investment-body .amount-small{font-size:15px}
 .pdf-indicator{font-size:9px;margin-bottom:5px;justify-content:flex-end}
 .investment-dates{display:block;grid-column:3;border-left:1px solid var(--edge);padding-left:9px;font-size:10px}
 .investment-dates>span{font-size:9px}
 .investment-dates>strong{font-size:10px;white-space:nowrap}
 .detail-main h2{font-size:22px;margin-bottom:10px}
 .detail-main>div>p{font-size:14px;margin-top:12px}
 .detail-main .ring{width:96px;height:96px}
 .detail-top h1{font-size:22px}
 .detail-summary{grid-template-columns:1.1fr 1fr 1fr;gap:10px;padding:17px 12px}
 .detail-summary>div+div{border-left:1px solid var(--edge);padding-left:10px}
 .detail-summary>div>span{font-size:10px;line-height:1.4}
 .detail-summary>div>strong{font-size:12px;line-height:1.4}
 .detail-summary>p{font-size:10px;padding-top:4px}
 .document-cta{padding:17px 12px;gap:10px}
 .document-cta>strong{font-size:15px}
 .document-cta>span{font-size:10px}
 .timeline-item>div h3{font-size:13px}
 .bottom-nav{border:1px solid #28404a;border-radius:0 0 12px 12px;background:#02090df5}
}
@media(max-width:390px){
 .main-app{padding-left:13px;padding-right:13px}
 .folder{grid-template-columns:37px minmax(0,1fr) 87px 10px;gap:8px}
 .folder .circle-icon{width:36px;height:42px}
 .folder .content h2{font-size:14px}
 .folder .content h3{font-size:12px}
 .folder-status{padding-left:7px;font-size:9px}
 .investment-content{grid-template-columns:51px minmax(0,1fr) 62px;gap:7px}
 .investment-content .ring{width:51px;height:51px}
 .investment-body h3{font-size:12px}
 .investment-body .principal{font-size:10px}
 .investment-dates{padding-left:6px}
 .investment-dates>strong{font-size:9px}
 .campaign-row{grid-template-columns:35px 1fr}
 .campaign-row>.button{grid-column:2}
 .detail-main h2{font-size:19px}
 .detail-main .ring{width:80px;height:80px}
}
.app-layout,.app-layout h1,.app-layout h2,.app-layout h3,.app-layout h4{font-family:Arial,Helvetica,sans-serif}
.app-layout .chip.purple{color:#c697ed;background:#a262d918}
.app-layout .ring-inner{width:100%;min-width:0}
@media(max-width:760px){
 .investment-body h3{font-size:14px}
 .investment-body .principal{font-size:12px}
 .investment-body>.muted{font-size:10px}
 .investment-body .amount-small{font-size:16px}
 .investment-content{grid-template-columns:65px minmax(0,1fr) 70px}
 .investment-content .ring{width:65px;height:65px}
 .pdf-indicator{position:absolute;right:86px;top:14px}
 .investment-content{padding-top:10px}
 .investment-dates>strong{font-size:11px}
 .folder-status{font-size:11px}
 .folder .content h3{font-size:14px}
 .folder .content p{font-size:12px}
 #sort-apps{border:0;background:transparent;padding:6px;min-height:35px;font-size:13px;max-width:150px}
 .bottom-nav a{font-size:11px}
}
@media(max-width:390px){.investment-content{grid-template-columns:51px minmax(0,1fr) 62px}.investment-content .ring{width:51px;height:51px}.investment-body h3{font-size:12px}.investment-body .principal{font-size:10px}.folder .content p{font-size:10px}.folder .content h3{font-size:12px}.folder-status{font-size:10px}.investment-dates>strong{font-size:9px}}
.app-layout .stack{grid-template-columns:minmax(0,1fr)}
@media(max-width:390px){.active-total{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);padding:18px 12px;gap:10px}.active-total .amount{font-size:24px}.growth-symbol{gap:8px;padding-left:10px}.growth-symbol p{font-size:10px}.next-action{gap:8px;padding:17px 12px}.next-action p{font-size:11px}.next-action .button{padding:9px;font-size:11px}.quote-card{padding:16px 12px;gap:10px}.quote-main h3{font-size:14px}.quote-update{font-size:9px;max-width:78px}}
.app-layout .code-badge{justify-self:start;width:fit-content}
.app-layout .chip:has(.status-dot):before{display:none}
.app-layout .detail-top{justify-content:flex-start;gap:12px}
.app-layout .detail-top h1{margin-right:auto}
.database-time{display:grid;grid-template-columns:1fr 1fr;gap:12px;border-top:1px solid var(--edge);margin-top:18px;padding-top:16px}.database-time p{display:grid;gap:7px}.database-time span,.database-time small{color:var(--muted);font-size:11px}.database-time strong{font-size:13px}.database-time small{grid-column:1/-1;line-height:1.5}
