@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@600;700&display=swap');
:root{--navy:#102b4e;--navy-2:#183b66;--blue:#1c4675;--gold:#f5bd32;--ice:#f4f6f9;--white:#fff;--ink:#102b4e;--muted:#708198;--line:#e3e9ef;--green:#19805e;--green-bg:#e7f4ed;--shadow:0 2px 8px #102b4e0c}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Arial,sans-serif;color:var(--ink);background:var(--ice);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app{min-height:100vh;display:grid;grid-template-columns:244px minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;background:var(--navy);color:#fff;padding:20px 12px;display:flex;flex-direction:column;gap:8px;overflow:auto}.brand{display:flex;align-items:center;gap:10px;height:44px;padding:0 4px;margin-bottom:2px}.crest{width:40px;height:44px;flex:none}.brand-name{font-size:21px;font-weight:700;letter-spacing:-.45px}.brand-kicker{font-size:10px;color:var(--gold);font-weight:700;margin:0 0 0 2px}.nav-kicker{font-size:10px;color:#9db0c6;margin:2px 0 0 2px}.side-nav{display:grid;gap:4px}.side-nav button{width:100%;height:44px;padding:12px;border:0;border-radius:8px;color:#d7e0eb;background:transparent;display:flex;align-items:center;gap:12px;text-align:left;font-size:13px}.side-nav svg,.mobile-nav svg{width:20px;height:20px;flex:none}.side-nav button:hover,.side-nav button.active{background:var(--blue);color:#fff;font-weight:600}.side-nav button.active svg{color:var(--gold)}.brand-note{margin-top:auto;border-radius:8px;background:#1c4675;padding:12px;color:#fff;line-height:1.55;font-size:11px}.brand-note strong{display:block;font-size:12px;margin-bottom:5px}.brand-note span{color:#d0dceb}.workspace{min-width:0}.topbar{height:85px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px}.crumb{font-size:12px;display:flex;align-items:center;gap:10px;color:#8796a9}.crumb b{color:var(--ink);font-weight:600}.top-actions{display:flex;align-items:center;gap:12px;font-size:12px}.icon-button{width:28px;height:28px;display:grid;place-items:center;border:0;background:transparent;color:var(--navy);position:relative}.icon-button svg{width:18px;height:18px}.bell-dot{position:absolute;right:3px;top:3px;width:5px;height:5px;background:var(--gold);border-radius:50%}.user-chip{display:flex;align-items:center;gap:8px;font-weight:600}.avatar{width:28px;height:28px;background:#e7edf4;border-radius:50%;display:grid;place-items:center;color:var(--navy);font-size:11px;font-weight:700}.main-content{max-width:1196px;margin:0 auto;padding:28px 36px 48px}.page{display:none}.page.active{display:block}.page-heading{margin:0 0 22px}.eyebrow{font-size:10px;letter-spacing:.02em;text-transform:uppercase;color:#27496f;font-weight:700;margin-bottom:7px}.page-heading h1{font-size:28px;line-height:1.2;letter-spacing:-.8px;margin:0;color:var(--navy);font-weight:700}.page-heading p{font-size:13px;line-height:1.5;margin:7px 0 0;color:var(--muted)}.card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}.card-pad{padding:20px}.hero-book{background:var(--navy);color:#fff;border-radius:12px;padding:28px 36px;display:flex;align-items:center;gap:28px;min-height:319px;margin-bottom:18px}.book-cover{width:126px;height:186px;border-radius:4px;background:#f6c0b2;color:#e64c29;display:flex;align-items:center;justify-content:center;text-align:center;font-size:20px;line-height:.95;font-weight:800;letter-spacing:-.4px;box-shadow:0 4px 12px #0002;flex:none;overflow:hidden}.book-cover img{width:100%;height:100%;object-fit:cover}.book-cover.small{width:64px;height:92px;font-size:11px}.book-cover.medium{width:82px;height:120px;font-size:13px}.hero-copy{flex:1;min-width:0}.pill{display:inline-flex;align-items:center;min-height:24px;padding:4px 9px;border-radius:5px;background:var(--gold);color:#27394f;font-size:10px;text-transform:uppercase;font-weight:700;white-space:nowrap}.pill.green{background:var(--green-bg);color:var(--green)}.pill.light{background:#f1f4f8;color:#45617f}.hero-copy h2{font-size:29px;line-height:1.2;margin:11px 0 8px;font-weight:700;letter-spacing:-.6px}.hero-author,.hero-summary{font-size:13px;color:#d2dce8;margin:0 0 9px}.hero-summary{line-height:1.5}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:11px;margin:10px 0 8px;color:#d2dce8}.progress-track{height:8px;border-radius:20px;background:#274d77;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--gold);border-radius:inherit}.btn{min-height:40px;border:0;border-radius:8px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--gold);color:#102b4e;font-size:12px;font-weight:700}.btn:hover{filter:brightness(1.03)}.btn.outline{background:#fff;border:1px solid var(--line);color:var(--ink)}.btn.navy{background:var(--navy);color:#fff}.btn.compact{min-height:34px;padding:0 12px;font-size:11px}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.stat-card{padding:20px 22px;min-height:146px}.stat-label{font-size:11px;color:var(--muted)}.stat-value{font-size:25px;line-height:1.2;font-weight:700;margin:12px 0;color:var(--navy)}.stat-foot{font-size:10px;color:var(--muted);line-height:1.4}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.section-card{padding:20px 22px;min-height:220px}.section-title{font-size:16px;font-weight:700;margin:0 0 12px}.section-copy{font-size:12px;line-height:1.55;color:var(--muted);margin:0 0 14px}.cycle-filters{display:flex;gap:5px;margin:-2px 0 14px;flex-wrap:wrap}.filter-chip{height:28px;padding:0 11px;border:0;border-radius:5px;background:transparent;color:#4b617b;font-size:10px}.filter-chip.active{background:var(--blue);color:#fff}.cycle-feature{background:var(--navy);color:#fff;border-radius:12px;padding:22px 24px;margin-bottom:18px}.cycle-feature-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.cycle-feature h2{font-size:21px;margin:8px 0 8px}.cycle-feature p{font-size:12px;color:#d2dce8;margin:0 0 10px}.cycle-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.cycle-step strong{display:block;color:var(--gold);font-size:11px;margin-bottom:5px}.cycle-step span{font-size:10px;color:#d0dceb}.cycle-list{display:grid;gap:12px}.cycle-row{padding:17px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}.cycle-row h3{font-size:14px;margin:0 0 5px}.cycle-row p{font-size:11px;color:var(--muted);margin:0}.cycle-row .row-actions{display:flex;align-items:center;gap:12px}.nomination-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-card,.list-card{padding:20px 22px}.form-card h2,.list-card h2{font-size:17px;margin:10px 0 16px}.field{display:grid;gap:7px;margin:12px 0}.field label{font-size:11px;font-weight:600;color:#314a68}.field input,.field select,.field textarea{height:44px;width:100%;border:1px solid var(--line);border-radius:8px;padding:0 12px;color:var(--ink);background:#fff;outline:0;font-size:12px}.field textarea{height:80px;padding:12px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#8196af;box-shadow:0 0 0 3px #e4ebf3}.form-hint{font-size:10px;color:var(--muted);line-height:1.55;margin:9px 0}.found-book{display:flex;align-items:center;gap:12px;padding:12px;background:#f4f7fa;border-radius:8px;margin:12px 0}.found-book p{font-size:11px;margin:0 0 5px}.found-book small{font-size:10px;color:var(--muted)}.book-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf1f5}.book-row:last-child{border-bottom:0}.book-row-info{flex:1;min-width:0}.book-row-info strong{display:block;font-size:12px;margin-bottom:4px}.book-row-info small{font-size:10px;color:var(--muted)}.book-row .tag{font-size:10px;color:var(--green);background:var(--green-bg);padding:4px 7px;border-radius:5px}.note-box{background:#f1f4f8;border-radius:10px;padding:16px;margin-top:14px}.note-box strong{display:block;font-size:13px;margin-bottom:9px}.note-box p{font-size:11px;color:var(--muted);line-height:1.5;margin:0}.catalog-search{padding:14px 16px;margin-bottom:16px}.catalog-search .field{margin:0}.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0}.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.catalog-card{padding:12px;overflow:hidden}.catalog-cover{height:188px;border-radius:8px;background:#f1f4f7;display:grid;place-items:center;margin-bottom:12px}.catalog-card .book-cover{width:82px;height:120px}.catalog-card h3{font-size:13px;margin:0 0 5px}.catalog-card p,.catalog-card small{font-size:10px;color:var(--muted);margin:0 0 7px;display:block}.vote-banner{background:var(--navy);color:white;border-radius:12px;padding:20px 24px;margin-bottom:18px}.vote-banner h2{font-size:15px;margin:0 0 10px}.vote-banner p{font-size:11px;color:#d2dce8;margin:0;line-height:1.5}.vote-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(245px,.8fr);gap:16px}.vote-card,.vote-help{padding:18px}.vote-card h2,.vote-help h2{font-size:16px;margin:0 0 12px}.vote-choice{display:grid;grid-template-columns:28px 64px minmax(0,1fr) 140px;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f5}.rank-badge{width:24px;height:24px;background:var(--gold);border-radius:6px;display:grid;place-items:center;font-size:10px;font-weight:700}.vote-choice h3{font-size:12px;margin:0 0 5px}.vote-choice p{font-size:10px;color:var(--muted);margin:0 0 5px}.vote-choice small{font-size:10px;font-weight:600}.vote-choice select{height:34px;border:1px solid var(--line);border-radius:7px;padding:0 8px;font-size:10px;background:#fff}.help-row{margin:16px 0}.help-row strong{font-size:12px}.help-row p{font-size:10px;color:var(--muted);line-height:1.5}.result-hero{display:flex;align-items:center;gap:20px;padding:24px 28px;background:var(--navy);border-radius:12px;color:#fff;margin-bottom:16px}.result-hero h2{font-size:22px;margin:10px 0 7px}.result-hero p{font-size:11px;color:#d2dce8;margin:4px 0}.result-podium{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}.podium-card{padding:16px;min-height:100px}.podium-card strong{display:block;font-size:12px;margin:10px 0 5px}.podium-card b{font-size:15px}.table-card{padding:16px}.table-card h2{font-size:15px;margin:0 0 12px}.table-row{display:grid;grid-template-columns:40px 1fr 110px;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5;font-size:11px}.reading-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px}.reading-card,.reading-average,.journey-card{padding:20px}.reading-book{display:flex;gap:16px;align-items:flex-start}.reading-book h2{font-size:17px;margin:8px 0 5px}.reading-book p{font-size:10px;color:var(--muted);margin:0 0 10px}.reading-big{font-size:26px;font-weight:700;margin:8px 0}.reading-average .progress-track{background:#e4e9ef}.reading-average .progress-track span{background:var(--gold)}.page-input{margin-top:16px}.reading-lower{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.dark-card{background:var(--navy);color:white;padding:20px;border-radius:12px}.dark-card h3{margin:0 0 8px;font-size:15px}.dark-card p{font-size:11px;line-height:1.5;color:#d2dce8}.admin-layout{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:16px}.admin-main{display:grid;gap:16px}.admin-panel{padding:20px}.admin-panel h2{font-size:16px;margin:0 0 10px}.admin-panel p{font-size:11px;color:var(--muted);line-height:1.5}.phase{background:#f3f5f8;border-radius:9px;padding:12px;margin:10px 0}.phase-head{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:600;margin-bottom:10px}.phase-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.phase-fields label{font-size:10px;color:#51657f}.phase-fields input{width:100%;height:34px;border:1px solid var(--line);border-radius:6px;padding:0 9px;background:#fff;margin-top:5px;font-size:10px}.admin-side{display:grid;align-content:start;gap:12px}.admin-callout{background:var(--navy);color:white;padding:18px;border-radius:12px}.admin-callout h2{font-size:17px;margin:10px 0}.admin-callout p{font-size:10px;line-height:1.55;color:#d2dce8}.admin-callout .btn{margin-top:6px}.admin-tabs{display:flex;gap:6px;margin:12px 0 16px}.admin-tabs button{border:0;border-radius:5px;background:#f1f4f8;padding:7px 10px;font-size:10px;color:var(--muted)}.admin-tabs button.active{background:var(--blue);color:#fff}.point-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.point-inputs input{height:40px;width:100%;border:1px solid var(--line);border-radius:7px;padding:0 10px}.admin-extra{margin-top:16px}.modal-backdrop{position:fixed;inset:0;background:#102b4e88;z-index:20;display:none;place-items:center;padding:18px}.modal-backdrop.open{display:grid}.modal{width:min(540px,100%);background:#fff;border-radius:14px;padding:24px;box-shadow:0 20px 60px #0003}.modal h2{font-size:19px;margin:0 0 8px}.modal p{font-size:12px;color:var(--muted);line-height:1.5}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.mobile-nav{display:none}.toast{position:fixed;right:22px;bottom:22px;z-index:30;background:var(--navy);color:white;border-radius:8px;padding:12px 16px;font-size:12px;box-shadow:0 5px 20px #0002;opacity:0;pointer-events:none;transform:translateY(8px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.empty-state{padding:24px;color:var(--muted);font-size:12px}.page-bottom-space{height:12px}
@media(max-width:980px){.app{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding-inline:10px}.main-content{padding-inline:24px}.topbar{padding-inline:24px}.admin-layout{grid-template-columns:1fr 300px}.catalog-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.app{display:block;padding-bottom:72px}.sidebar{display:none}.topbar{height:74px;padding:0 20px}.crumb{font-size:10px}.top-actions{gap:6px}.top-actions .user-chip span{display:none}.main-content{padding:20px 20px 32px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:24px}.page-heading p{font-size:12px}.hero-book{padding:20px;display:block;min-height:0}.hero-book .book-cover{width:82px;height:120px;margin-bottom:14px;font-size:13px}.hero-copy h2{font-size:23px}.stat-grid{grid-template-columns:repeat(2,1fr);gap:10px}.stat-card{min-height:132px;padding:16px}.stat-value{font-size:22px;margin:10px 0}.two-col,.nomination-layout,.reading-layout,.reading-lower{grid-template-columns:1fr}.cycle-feature{padding:18px}.cycle-feature-top{display:block}.cycle-feature-top .btn{margin-top:12px}.cycle-steps{grid-template-columns:1fr 1fr;row-gap:14px}.cycle-row{align-items:flex-start;padding:15px}.cycle-row .row-actions{flex-direction:column;align-items:flex-end}.catalog-grid{grid-template-columns:1fr 1fr;gap:10px}.catalog-card{padding:9px}.catalog-cover{height:140px}.catalog-card .book-cover{width:64px;height:92px}.vote-layout{grid-template-columns:1fr}.vote-choice{grid-template-columns:24px 48px minmax(0,1fr);gap:8px}.vote-choice select{grid-column:3;grid-row:2;width:max-content}.vote-choice .book-cover{width:48px;height:68px}.result-hero{align-items:flex-start;padding:18px;gap:12px}.result-hero .book-cover{width:74px;height:108px}.result-hero h2{font-size:18px}.result-podium{grid-template-columns:1fr}.podium-card{min-height:80px}.admin-layout{grid-template-columns:1fr}.phase-fields{grid-template-columns:1fr 1fr}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:72px;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:7px 6px calc(7px + env(safe-area-inset-bottom));z-index:10}.mobile-nav button{background:transparent;border:0;color:#73839a;display:grid;align-content:center;justify-items:center;gap:3px;font-size:9px}.mobile-nav button.active{color:var(--navy);font-weight:700}.mobile-nav button.active svg{color:#dca813}.brand-note{display:none}}
@media(max-width:390px){.main-content{padding-inline:16px}.catalog-grid{grid-template-columns:1fr}.stat-card{padding:14px}.page-heading h1{font-size:22px}}
.auth-screen{min-height:100vh;background:#fff;display:grid;grid-template-columns:minmax(360px,640px) minmax(420px,800px)}.auth-brand{background:var(--navy);color:#fff;padding:calc((100vh - 682px)/2) 64px 40px}.auth-mark{width:72px;height:80px}.auth-mark svg{width:100%;height:100%}.auth-brand h1{font-size:26px;margin:18px 0}.auth-brand h2{font-size:26px;line-height:1.35;margin:0 0 16px}.auth-brand p{font-size:13px;color:#c4d0de;line-height:1.5}.auth-brand blockquote{margin:26px 0 0;padding:20px 24px;background:#1c4675;border-radius:10px;font-size:13px;font-weight:600;line-height:1.55}.auth-brand blockquote small{display:block;color:var(--gold);font-size:8px;margin-top:12px}.auth-panel{display:grid;place-items:center;padding:40px}.auth-form{width:min(440px,100%)}.auth-form h2{font-size:27px;margin:28px 0 8px}.auth-form>p{font-size:13px;color:var(--muted);margin:0 0 25px}.auth-form .field{margin:14px 0}.auth-form .field input{height:53px}.auth-options{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin:18px 0 20px}.auth-options label{display:flex;align-items:center;gap:5px}.text-button{border:0;background:transparent;color:var(--blue);font-size:11px;font-weight:600}.auth-submit{width:100%;height:47px}.auth-switch{margin-top:18px;padding:0}.auth-form>small{display:block;font-size:9px;color:var(--muted);margin-top:20px}.admin-heading{display:flex;justify-content:space-between;align-items:center}.field-input{height:34px;border:1px solid var(--line);border-radius:6px;padding:0 8px;background:white;color:var(--ink);font-size:11px}.book-cover img{width:100%;height:100%;object-fit:cover;display:block}.book-cover.blue{background:linear-gradient(145deg,#6f9ec2,#245178);color:#e7e3cf}.book-cover.teal{background:linear-gradient(145deg,#36a9a2,#087b7b);color:#072d37}.book-cover.cyan{background:linear-gradient(145deg,#48c6cf,#0294b1);color:#063a56}.book-cover.green{background:linear-gradient(145deg,#89bd53,#355c25);color:#f3f2d9}.book-cover.forest{background:linear-gradient(145deg,#5d8872,#203f36);color:#f7f0d5}.book-cover.cream{background:linear-gradient(145deg,#fff2d2,#e5d4a5);color:#466073}.book-cover.coral{background:#fac2b4;color:#e54f2c}.found-book:hover,.found-book.selected{outline:2px solid var(--gold)}.auth-screen[style*="display: none"]{display:none!important}
@media(max-width:700px){.auth-screen{display:block;min-height:100vh}.auth-brand{height:240px;padding:42px 28px 20px}.auth-mark{width:58px;height:64px}.auth-brand h1{font-size:23px;margin:5px 0 0}.auth-brand h2,.auth-brand p,.auth-brand blockquote{display:none}.auth-panel{padding:30px 24px}.auth-form h2{font-size:24px;margin:22px 0 8px}.auth-form>p{line-height:1.55}.auth-form .field input{height:53px}.admin-heading{align-items:flex-start;gap:12px}}
.is-hidden{display:none!important}
.vote-actions{position:relative}
:focus-visible{outline:3px solid #dca813!important;outline-offset:3px}
.search-loading{display:flex;align-items:center;gap:10px;padding:16px;color:var(--muted);font-size:12px}
.loading-spinner{width:18px;height:18px;border:2px solid #dce4ec;border-top-color:var(--blue);border-radius:50%;animation:choppbook-spin .8s linear infinite}
@keyframes choppbook-spin{to{transform:rotate(360deg)}}
.search-error .btn{margin-top:12px}
.book-edit-panel{padding:20px;margin:16px 0}
.book-edit-panel h2{margin:0 0 6px;font-size:16px}
.book-edit-panel>div:first-child p{margin:0 0 16px;color:var(--muted);font-size:11px;line-height:1.5}
.book-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.book-edit-grid label{display:grid;gap:6px;font-size:11px;font-weight:600;color:var(--ink)}
.book-edit-grid input,.book-edit-grid textarea{width:100%;min-height:42px;border:1px solid var(--line);border-radius:7px;padding:10px;background:#fff;color:var(--ink)}
.book-edit-grid textarea{resize:vertical;line-height:1.5}
.book-edit-wide{grid-column:1/-1}
.book-edit-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
@media(max-width:700px){
  .vote-actions{position:sticky;bottom:calc(80px + env(safe-area-inset-bottom));z-index:4;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px!important;margin:16px -8px -6px!important;padding:10px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 6px 20px #102b4e1a}
  .vote-actions .btn{min-height:44px;padding:0 10px}
  .book-edit-grid{grid-template-columns:1fr}
  .book-edit-wide{grid-column:auto}
  .book-edit-actions{display:grid;grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.loading-spinner{animation:none;border-top-color:var(--blue)}}

/* Auth screens: dimensions and hierarchy follow the Figma desktop/mobile frames. */
[hidden]{display:none!important}
.app.is-hidden,.mobile-nav.is-hidden{display:none!important}
.auth-screen{display:grid;grid-template-columns:640px minmax(0,1fr);min-height:100vh;background:#fff}
.auth-brand{min-height:100vh;box-sizing:border-box;padding:64px;display:flex;flex-direction:column;justify-content:center;gap:28px;background:var(--navy);color:#fff}
.auth-mark{width:126px;height:140px;flex:none}
.auth-mark svg{display:block;width:100%;height:100%}
.auth-brand h1{font-family:Montserrat,Inter,Arial,sans-serif;font-size:42px;line-height:1.5;font-weight:700;letter-spacing:-.5px;color:#fff;margin:0}
.auth-brand h2{font-family:Montserrat,Inter,Arial,sans-serif;font-size:40px;line-height:1.5;font-weight:700;letter-spacing:-.35px;color:#fff;margin:0}
.auth-brand p{font-size:18px;line-height:1.5;color:#c1d0e1;margin:0}
.auth-brand blockquote{width:100%;box-sizing:border-box;background:var(--blue);padding:24px;border-radius:16px;font-size:19px;line-height:1.5;font-weight:600;margin:0}
.auth-brand blockquote small{display:block;color:var(--gold);font-size:10px;line-height:1.5;margin-top:12px}
.auth-panel{min-height:100vh;box-sizing:border-box;position:relative;display:grid;place-items:center;padding:80px;background:#fff}
.auth-form{width:min(440px,100%);display:grid;gap:20px;align-content:center;position:static}
.auth-form .eyebrow{font-size:11px;line-height:17px;font-weight:600;color:var(--blue);letter-spacing:.02em}
.auth-form h2,.auth-success h2{font-family:Montserrat,Inter,Arial,sans-serif;font-size:28px;line-height:1.5;font-weight:700;color:var(--navy);margin:0}
.auth-form>p{font-size:13px;line-height:1.5;color:var(--muted);margin:0}
.auth-form .field{display:grid;gap:8px;margin:0}
.auth-form .field label{font-size:12px;line-height:20px;font-weight:600}
.auth-form .field input{height:53px;border:1px solid var(--line);border-radius:8px;padding:0 16px;font-size:13px;color:var(--ink)}
.auth-options{height:25px;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;color:var(--muted);font-size:10px}
.auth-options label{display:flex;align-items:center;gap:5px}
.auth-options input{accent-color:var(--blue);margin:0}
.auth-form .auth-submit,.auth-success .auth-submit{width:100%;height:47px;margin:0}
.auth-form .auth-switch,.auth-success .auth-switch{justify-self:center;margin:0;padding:0;font-size:11px}
.auth-footer{position:absolute;left:80px;bottom:249px;color:var(--muted);font-size:10px;line-height:17px}
.auth-terms{font-size:11px;line-height:1.5;color:var(--muted);margin:0}
.auth-success{width:min(440px,100%);display:grid;gap:18px;align-content:center}
.auth-success .eyebrow{font-size:11px;color:var(--blue);font-weight:600}
.auth-success p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.auth-success p strong{color:var(--ink);font-weight:600}
.auth-success .form-hint{margin:0}
.success-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--green-bg);color:var(--green);font-size:25px;font-weight:700}
/* Shared type and spacing from the ChoppBook design system. */
h1,h2,h3,.brand-name,.stat-value{font-family:Montserrat,Inter,Arial,sans-serif}
.topbar{height:85px}
.main-content{padding-top:40px}
.page-heading h1{font-family:Montserrat,Inter,Arial,sans-serif;font-size:32px;line-height:1.35;letter-spacing:-.45px;margin:0 0 8px}
.page-heading p{font-size:14px;line-height:1.5}
.hero-book>.book-cover{width:142px;height:210px;flex:none;margin:0;border-radius:3px;font-size:16px}
.hero-book .hero-copy h2{font-size:32px;line-height:1.3;letter-spacing:-.35px}
.hero-book .hero-summary{font-size:13px;line-height:1.5}
.stat-card{min-height:146px;padding:20px}
.stat-value{font-size:30px;line-height:1.3}
.section-card{padding:24px;min-height:222px}
.section-title{font-family:Montserrat,Inter,Arial,sans-serif}
.points-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.points-heading .eyebrow{margin-bottom:8px}
.points-heading .btn{flex:none;margin-bottom:3px}
.points-cycle-tabs{margin:20px 0 18px}
.points-cycle-tabs h2{font-size:20px;margin:0 0 12px}
.points-cycle-tabs .cycle-filters{margin:0}
.points-cycle-tabs .form-hint{margin:8px 0 0}
.points-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:start}
.points-panel{padding:22px 24px}
.points-panel>h2,.points-note h2{font-size:19px;line-height:1.4;margin:0 0 10px}
.points-panel>.form-hint{margin:0 0 14px}
.points-readonly{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.points-readonly>div{min-width:0}
.points-readonly label,.point-control>label{display:block;font-size:12px;line-height:18px;color:#53677f;margin-bottom:7px}
.point-value{height:44px;display:flex;align-items:center;padding:0 14px;border:1px solid var(--line);border-radius:9px;background:#f4f6f9;color:#71829a;font-size:14px}
.points-readonly small,.point-control label small{display:block;margin-top:7px;font-size:11px;line-height:1.4;color:var(--muted)}
.points-default-note{margin-top:14px!important}
.points-note{background:var(--navy);color:#fff;border-radius:12px;padding:22px 24px}
.points-note h2{margin:0 0 12px}
.points-note p{font-size:13px;line-height:1.5;color:#dce5ef;margin:0 0 12px}
.points-note p:last-child{margin-bottom:0}
.points-warning{border:1px solid var(--gold);border-radius:10px;background:#fff;padding:16px 18px;margin-top:20px}
.points-warning strong{display:block;font-size:13px;line-height:1.45}
.points-warning p{font-size:11px;line-height:1.5;color:var(--muted);margin:6px 0 0}
.points-edit{display:grid;gap:14px}
.point-control>div{display:grid;grid-template-columns:40px minmax(70px,1fr) 40px;gap:8px}
.point-control input{height:44px;min-width:0;text-align:center;border:1px solid var(--line);border-radius:8px;font-size:15px;color:var(--ink)}
.point-control button{border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--blue);font-size:19px;font-weight:600}
.point-edit-actions{display:flex;justify-content:flex-end;gap:10px}
.duplicate-warning{border:1px solid #e8bd58;background:#fff8e7;border-radius:9px;padding:13px 15px;margin:10px 0}
.duplicate-warning strong{display:block;color:#7a5310;font-size:12px;line-height:1.4}
.duplicate-warning p{font-size:11px;line-height:1.45;margin:5px 0;color:var(--ink)}
.duplicate-warning small{display:block;font-size:10px;line-height:1.45;color:var(--muted)}
.found-book.is-duplicate{opacity:.78;cursor:not-allowed}
.found-book.is-duplicate:disabled{background:#fff8e7}
.duplicate-label{font-size:10px;color:#8b5b00!important;font-weight:600}
.btn:disabled{opacity:.5;cursor:not-allowed}
.page-success{display:flex;align-items:center;gap:12px;min-height:56px;box-sizing:border-box;padding:12px 16px;margin:0 0 18px;border-radius:10px;background:var(--green-bg);color:var(--green)}
.page-success-mark{width:20px;height:20px;flex:none;display:grid;place-items:center;border:1.5px solid currentColor;border-radius:50%;font-size:12px;font-weight:700}
.page-success strong{display:block;font-size:13px;line-height:1.35}
.page-success small{display:block;font-size:11px;line-height:1.4;margin-top:2px;color:#34765f}
.vote-success-card{padding:32px;max-width:1124px}
.vote-success-card h2{font-size:27px;line-height:1.4;margin:18px 0 8px}
.vote-success-card>p{font-size:13px;line-height:1.5;color:var(--muted)}
.vote-success-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 12px}
.vote-success-stats>div{min-height:80px;padding:16px 18px;border-radius:10px;background:#f2f4f7;display:flex;flex-direction:column;justify-content:center;gap:6px}
.vote-success-stats strong{font-family:Montserrat,Inter,Arial,sans-serif;font-size:17px;line-height:1.3}
.vote-success-stats small{font-size:10px;color:var(--muted)}
.vote-success-card .vote-privacy-note{font-size:11px;font-weight:600;color:var(--ink);margin:10px 0 16px}
.vote-success-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:700px){
  .topbar{height:74px}
  .main-content{padding-top:20px}
  .page-heading h1{font-size:24px;line-height:1.35}
  .hero-book>.book-cover{width:82px;height:120px;margin:0 0 14px;font-size:13px}
  .hero-book .hero-copy h2{font-size:23px}
  .stat-card{min-height:132px}
  .section-card{min-height:0;padding:20px}
  .points-heading{align-items:flex-start;flex-direction:column}
  .points-heading .btn{margin:0}
  .points-cycle-tabs h2{font-size:18px}
  .points-layout{grid-template-columns:1fr;gap:12px}
  .points-panel{padding:18px}
  .points-readonly{gap:8px}
  .points-readonly label,.point-control>label{font-size:10px}
  .point-value{height:40px;padding:0 10px}
  .points-readonly small{font-size:9px}
  .points-note{padding:18px}
  .points-warning{padding:13px}
  .page-success{align-items:flex-start;padding:12px}
  .vote-success-card{padding:20px}
  .vote-success-card h2{font-size:21px}
  .vote-success-stats{grid-template-columns:1fr;gap:9px}
  .vote-success-stats>div{min-height:64px}
  .vote-success-actions{display:grid}
}
@media(max-width:700px){
  .auth-screen{display:block;min-height:100vh}
  .auth-brand{width:100%;height:240px;min-height:0;padding:45px 28px 0;gap:0;display:flex;justify-content:flex-start}
  .auth-mark{width:58px;height:64px}
  .auth-brand h1{font-size:23px;line-height:39px;letter-spacing:-.2px;margin-top:14px}
  .auth-brand h2,.auth-brand>p,.auth-brand blockquote{display:none}
  .auth-brand:after{content:"Amizade, Cultura, Conhecimento e Chopp.";font-size:10px;line-height:18px;color:var(--gold);margin-top:4px}
  .auth-panel{min-height:604px;padding:31px 24px 76px;display:block}
  .auth-form{width:100%;gap:20px}
  .auth-form h2,.auth-success h2{font-size:24px;line-height:1.5}
  .auth-form>p{font-size:12px;line-height:1.55}
  .auth-footer{left:24px;bottom:46px;font-size:9px;line-height:17px}
  .auth-success{width:100%;padding-top:12px}
}

