/* Timeless Authors V4: Montserrat, compact desktop layout, stable controls. */
html{font-size:16px}
body,button,input,select,textarea{font-family:"Montserrat",Arial,sans-serif}
body{font-size:1rem;line-height:1.45}
h1,h2,h3,h4,h5,h6,.brand b,.title-row h1,.author-welcome h1,.stat strong,.metric strong,.royalty-total strong,.author-payment>strong,.donut b,.book h3,.package h3,.package-price{font-family:"Montserrat",Arial,sans-serif}
.shell{grid-template-columns:260px minmax(0,1fr)}
.side{padding:24px 18px 16px}
.brand{gap:12px;margin-bottom:26px}
.side>.brand{padding:0 4px}
.brandmark{width:44px;height:44px;flex-basis:44px;border-radius:13px}
.brandmark .nav-icon{width:24px;height:24px}
.brand b{font-size:1.12rem;line-height:1.2;font-weight:700}
.brand small{font-size:.67rem;line-height:1.2;letter-spacing:.2em;margin-top:5px}
.nav{gap:3px}
.nav a{gap:12px;padding:11px 13px;border-radius:10px;font-size:.9rem;line-height:1.3}
.nav-icon{width:19px;height:19px}
.side-profile{padding:10px;border-radius:12px}
.side-profile small{font-size:.72rem}
.avatar{width:36px;height:36px;border-radius:10px}
.top{height:68px;padding:0 30px}
.top-search{width:min(560px,54vw);height:44px;border-radius:10px;padding:0 12px}
.top-search input{min-height:0;padding:0;font-size:.92rem}
.top-search>span{font-size:1.55rem}
.top-actions{gap:15px;font-size:.9rem}
.content{max-width:1540px;padding:28px 32px 48px}
.eyebrow{font-size:.7rem;letter-spacing:.18em}
.title-row{gap:18px;margin-bottom:22px}
.title-row h1,.dashboard-heading .title-row h1{font-size:2rem;line-height:1.15;font-weight:700;margin:6px 0 7px}
.dashboard-heading{gap:22px}
.dashboard-heading>div{min-width:0}
.dashboard-heading .title-row{margin-bottom:22px}
.dashboard-heading label{width:168px;margin-bottom:22px}
.dashboard-heading label span{font-size:.76rem;margin-bottom:6px}
.grid{gap:16px}
.card,.panel{border-radius:14px;padding:18px;margin-bottom:16px}
.metric{min-height:128px;padding:18px;border-radius:14px}
.metric>span{font-size:.82rem}
.metric strong{font-size:clamp(1.42rem,2vw,1.72rem);line-height:1.2;font-weight:700;margin-top:13px;overflow-wrap:anywhere}
.metric small{font-size:.74rem;margin-top:10px}
.metric-icon{right:16px;top:15px;width:40px;height:40px;border-radius:11px}
.metric-icon .nav-icon{width:20px;height:20px}
.panel-head{margin-bottom:16px}
.panel-head h2{font-size:1rem;line-height:1.3}
.panel-head p{font-size:.8rem;margin-top:4px}
.dashboard-split{grid-template-columns:minmax(0,1.72fr) minmax(285px,.82fr)}
.lower{grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr)}
.chart{height:230px;padding:12px 6px 0;gap:10px;background:repeating-linear-gradient(to bottom,transparent 0,transparent 55px,#edf0f5 56px)}
.chart-bar{width:min(27px,68%)}
.chart-col span{font-size:.66rem}
.circle-action{width:36px;height:36px}
.royalty-total span,.author-payment>span{font-size:.76rem}
.royalty-total strong,.author-payment>strong{font-size:1.72rem;line-height:1.2;font-weight:700;margin:6px 0 17px}
.donut-row{gap:20px}
.donut{width:132px;height:132px}
.donut:after{width:86px;height:86px}
.donut b{font-size:1.28rem;font-weight:700}
.donut span{font-size:.66rem;margin-top:-31px}
.legend>div{padding:8px 0}
.quick{padding:12px;border-radius:10px}
.quick i{width:30px;height:30px}
.quick b{font-size:.8rem}
.quick small{font-size:.68rem}
input,select,textarea{min-height:42px;border-radius:9px;padding:9px 11px;line-height:1.35}
textarea{min-height:96px}
label{font-size:.82rem}
.btn{border-radius:9px;padding:9px 13px;font-size:.82rem;line-height:1.35}
.toolbar{margin-bottom:15px}
.table th,.table td{padding:10px 9px}
.table th{font-size:.68rem}
.badge{padding:4px 9px;font-size:.7rem}
.cards{gap:16px}
.book h3,.package h3{font-size:1.12rem;line-height:1.3;font-weight:700}
.package-price{display:block;font-size:1.5rem;line-height:1.25;font-weight:700}
.tabs{gap:7px;margin-bottom:16px}
.tabs a{padding:9px 13px;border-radius:9px;font-size:.82rem}
.author-top{height:72px;grid-template-columns:220px 1fr auto;padding:0 28px;gap:18px}
.author-top .brandmark{width:40px;height:40px;flex-basis:40px}
.author-top .brand b{font-size:1rem}
.author-nav{gap:3px}
.author-nav a{padding:8px 10px;font-size:.77rem}
.author-account{gap:11px;font-size:.84rem}
.author-content{max-width:1380px;padding:32px 32px 52px}
.author-welcome{margin-bottom:24px}
.author-welcome h1{font-size:2rem;line-height:1.15;font-weight:700}
.author-dashboard-grid{gap:16px}
.login{max-width:420px}

@media(max-width:1180px){
 .shell{grid-template-columns:220px minmax(0,1fr)}
 .side{padding:22px 14px 15px}
 .content{padding:26px 22px 44px}
 .author-top{grid-template-columns:190px 1fr;padding:0 20px}
 .stats,.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-split,.lower,.author-dashboard-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
 .content{padding:20px 14px 36px}
 .title-row h1,.dashboard-heading .title-row h1,.author-welcome h1{font-size:1.7rem}
 .card,.panel{padding:16px}
 .top{height:64px;padding:0 12px}
 .top-search{height:42px}
 .mobile-nav{top:64px}
 .author-top{padding:13px 14px}
 .author-content{padding:22px 14px 38px}
 .stats,.metric-grid,.cards,.split,.form-grid{grid-template-columns:1fr}
}
