:root{--ink:#164c42;--muted:#687b73;--cream:#fbf8f2;--paper:#fffdf9;--line:#d9cdbb;--terracotta:#b88e69;--terracotta-dark:#9d7251;--sage:#087a63;--gold:#d8c3a0;--shadow:0 12px 35px rgba(8,78,61,.08)}
body{color:#164c42}.card,.modal{border-color:#d7cdbd;box-shadow:0 12px 35px rgba(8,78,61,.08)}.home-info-card,.meeting-row,.post,.poll-card,.users-list,.daily-quote-card{background:#fffdf9;border-color:#d9cdbb}.poll-option{border-color:#d8cdbd;background:#fffaf3}.poll-option:hover,.poll-option.selected{border-color:var(--sage)}.field input,.field textarea,.field select{border-color:#cfc4b3;background:#fffdf9}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--sage);box-shadow:0 0 0 3px rgba(8,122,99,.1)}.section-title h2,.home-info-value,.post h3,.session-book h3{color:#164c42}.nav button.active,.nav button:hover{background:#e6f0ea;color:var(--sage)}.topbar{background:rgba(255,253,249,.96);border-color:#d9cdbb}.avatar{background:#dcebe2;color:#176451}.meeting-row{background:linear-gradient(135deg,#fffdf9,#f4f8f2)}.admin-card{background:#eef5ed;border-color:#c7ddca}.approval-card{background:#fbf4e8;border-color:#dfccb0}.empty{color:#687b73}.book-cover{background:#145d4d;color:#f0dfbd}.book:nth-child(3n+2) .book-cover{background:#b88e69;color:#fffaf1}.book:nth-child(3n+3) .book-cover{background:#8caf91;color:#173d32}.toast{background:#145d4d}.map-link{border-color:#c7ddca}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:"DM Sans",sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}.hidden{display:none!important}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr 1fr;background:var(--paper)}.auth-art{background:radial-gradient(circle at 78% 22%,rgba(216,195,160,.25) 0 2px,transparent 3px),radial-gradient(circle at 25% 68%,rgba(216,195,160,.18) 0 1.5px,transparent 3px),linear-gradient(145deg,#07563f,#168363 55%,#0a604f);color:#fff;padding:64px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-art:after{content:"";position:absolute;width:450px;height:450px;border:1px solid rgba(255,255,255,.18);border-radius:50%;right:-160px;bottom:-180px}.brand{font-family:"Playfair Display",serif;font-size:25px;letter-spacing:-.5px}.brand span{color:var(--gold)}.art-copy{position:relative;z-index:1;max-width:470px}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:700;color:var(--gold)}h1,h2,h3{font-family:"Playfair Display",serif;margin:0;line-height:1.1}h1{font-size:clamp(40px,5vw,68px);margin:15px 0 20px}.art-copy p{font-size:17px;line-height:1.6;color:#d4ddd4}.quote{font-family:"Playfair Display",serif;font-size:18px;max-width:300px;line-height:1.5;color:#e8eee7}.auth-panel{display:flex;align-items:center;justify-content:center;padding:42px}.auth-card{width:min(420px,100%)}.auth-card h2{font-size:34px;margin:12px 0 8px}.auth-card>p{color:var(--muted);margin:0 0 28px}.tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:24px}.tab{background:none;padding:12px 3px;margin-right:18px;color:var(--muted);border-bottom:2px solid transparent}.tab.active{color:var(--terracotta);border-color:var(--terracotta);font-weight:700}.field{margin-bottom:16px}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--line);background:#fff;padding:12px 14px;border-radius:9px;color:var(--ink);outline:none}.field textarea{resize:vertical;min-height:105px}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--terracotta)}.btn{border-radius:9px;padding:12px 18px;font-weight:700;transition:.2s}.btn-primary{background:var(--terracotta);color:white;width:100%}.btn-primary:hover{background:var(--terracotta-dark)}.btn-outline{border:1px solid var(--line);background:transparent;color:var(--ink)}.btn-small{padding:9px 13px;font-size:13px}.demo{background:#f4efe7;border-radius:10px;padding:12px 14px;margin-top:18px;font-size:12px;color:var(--muted);line-height:1.55}.demo strong{color:var(--ink)}.app-shell{min-height:100vh}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(24px,calc((100% - 1180px)/2));background:rgba(255,253,249,.94);gap:40px;position:sticky;top:0;z-index:5}.topbar .brand{color:var(--ink);font-size:23px}.nav{display:flex;gap:5px;flex:1}.nav button{background:none;color:var(--muted);padding:10px 13px;border-radius:8px}.nav button.active,.nav button:hover{background:#f5eee6;color:var(--terracotta);font-weight:700}.profile{display:flex;align-items:center;gap:10px;font-size:13px}.avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#dde4d6;color:#526347;font-weight:700;border:0;cursor:pointer;font-family:inherit;font-size:inherit;padding:0}.avatar:hover{outline:2px solid var(--sage);outline-offset:2px}.profile small{display:block;color:var(--muted)}.logout{background:none;color:var(--muted);font-size:12px;text-decoration:underline;margin-left:8px}.content{max-width:1180px;margin:0 auto;padding:48px 24px 70px}.page-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:30px}.page-head h1{font-size:43px;margin:7px 0 0}.page-head p{color:var(--muted);margin:10px 0 0}.grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,.8fr);gap:24px}.card{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:22px;box-shadow:var(--shadow)}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.section-title h2{font-size:25px}.post{margin-bottom:15px}.post:last-child{margin-bottom:0}.post-meta,.poll-meta{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px;margin-bottom:13px}.mini-avatar{width:27px;height:27px;border-radius:50%;background:#edc9bb;color:#874332;display:grid;place-items:center;font-weight:700;font-size:11px}.post p{font-size:15px;line-height:1.65;margin:0;white-space:pre-wrap;text-align:justify}.post h3{margin-bottom:10px}.post-img{width:100%;border-radius:10px;max-height:280px;object-fit:cover;margin-top:15px}.post-flex{display:flex;gap:16px;align-items:flex-start}.post-flex.post-flex-reverse{flex-direction:row-reverse}.post-flex .post-img{width:160px;height:160px;flex:none;margin-top:0}.post-flex-text{flex:1;min-width:0}.post-flex-text h3{margin-bottom:8px}@media(max-width:640px){.post-flex{flex-direction:column}.post-flex .post-img{width:100%;height:auto;max-height:220px}}.post-wrap{overflow:hidden}.post-wrap-img{border-radius:8px}.post-wrap-left{float:left;margin:0 16px 10px 0}.post-wrap-right{float:right;margin:0 0 10px 16px}@media(max-width:640px){.post-wrap-img{float:none;width:100%!important;margin:0 0 10px}}.img-side-buttons{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.img-side-buttons button{padding:7px 12px;font-size:12px}.img-side-buttons button.active{background:var(--terracotta);color:#fff;border-color:var(--terracotta)}.img-wrap-preview{background:#f4efe7;border:1px dashed var(--line);border-radius:10px;padding:14px;margin-top:8px;overflow:hidden}.img-wrap-frame{position:relative;touch-action:none}.img-wrap-frame.side-left{float:left;margin:0 14px 10px 0}.img-wrap-frame.side-right{float:right;margin:0 0 10px 14px}.img-wrap-frame.side-center,.img-wrap-frame.side-bottom{float:none;display:block;margin:0 auto 10px}.img-wrap-frame img{width:100%;display:block;border-radius:8px;pointer-events:none;cursor:move}.img-wrap-sample{margin:0;font-size:13px;color:var(--muted);line-height:1.6;text-align:justify}.img-handle{position:absolute;width:14px;height:14px;background:#fff;border:2px solid var(--terracotta);border-radius:3px;z-index:2;touch-action:none}.img-handle.tl{top:-7px;left:-7px;cursor:nwse-resize}.img-handle.tr{top:-7px;right:-7px;cursor:nesw-resize}.img-handle.bl{bottom:-7px;left:-7px;cursor:nesw-resize}.img-handle.br{bottom:-7px;right:-7px;cursor:nwse-resize}.divider{height:1px;background:var(--line);margin:20px 0}.admin-card{background:#f8eee9;border-color:#efd2c8}.admin-card h2{font-size:24px}.admin-card p{font-size:13px;color:var(--muted);line-height:1.5}.admin-actions{display:flex;gap:10px;margin-top:18px}.admin-actions .btn{flex:1}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.stat{padding:15px;background:#f4efe7;border-radius:10px}.stat strong{font-size:25px;font-family:"Playfair Display",serif;display:block}.stat span{font-size:11px;color:var(--muted)}.poll-card{margin-bottom:14px}.poll-options{display:grid;gap:9px;margin-top:17px}.poll-option{border:1px solid var(--line);background:#fffdf9;border-radius:8px;padding:11px 13px;text-align:left;display:flex;justify-content:space-between;color:var(--ink)}.poll-option:hover{border-color:var(--terracotta)}.poll-option.selected{border-color:var(--terracotta);background:#fdf0eb}.results{margin-top:16px}.result-row{margin:11px 0}.result-label{display:flex;justify-content:space-between;font-size:12px;margin-bottom:5px}.bar{height:7px;border-radius:5px;background:#eee8df;overflow:hidden}.bar i{display:block;height:100%;background:var(--terracotta);border-radius:5px}.history-tools{display:flex;gap:9px;align-items:center}.history-tools select{padding:9px;border:1px solid var(--line);border-radius:8px;background:white}.book-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.book{position:relative}.book-cover{height:125px;border-radius:9px;background:#303d35;color:#e7ce9d;padding:18px;display:flex;align-items:end;font-family:"Playfair Display",serif;font-size:19px;margin-bottom:14px}.book:nth-child(3n+2) .book-cover{background:#bb604c;color:#fff3dd}.book:nth-child(3n+3) .book-cover{background:#9aaa86;color:#263326}.book p{margin:3px 0;font-size:13px}.book small{color:var(--muted)}.date-card{display:flex;gap:25px;align-items:center}.calendar{width:100px;height:110px;border:1px solid #e2b7a9;border-radius:12px;overflow:hidden;text-align:center;flex:none}.calendar strong{display:block;background:var(--terracotta);color:white;padding:8px;font-size:12px}.calendar b{display:block;font-family:"Playfair Display",serif;font-size:42px;padding-top:8px}.empty{padding:36px 10px;text-align:center;color:var(--muted);font-size:14px}.modal-backdrop{position:fixed;inset:0;background:rgba(35,29,23,.5);display:grid;place-items:center;padding:20px;z-index:10}.modal{background:var(--paper);width:min(520px,100%);border-radius:15px;padding:25px;max-height:90vh;overflow:auto}.modal-wide{width:min(1100px,96vw)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.modal-head h2{font-size:27px}.close{background:none;color:var(--muted);font-size:24px}.option-line{display:flex;gap:8px;margin-bottom:9px}.option-line input{flex:1}.remove-option{background:#f6e5df;border-radius:7px;color:var(--terracotta);width:38px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.modal-actions .btn-primary{width:auto}.toast{position:fixed;right:22px;bottom:22px;background:#303d35;color:#fff;padding:13px 17px;border-radius:9px;font-size:13px;z-index:20;box-shadow:var(--shadow)}
.home-info{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:24px}.home-info-card{min-height:145px}.home-info-card small{display:block;color:var(--muted);font-size:12px;margin:8px 0 12px}.home-info-value{font-family:"Playfair Display",serif;font-size:24px;margin:10px 0 12px}.home-info-card .btn{margin-top:8px}.home-info-card .home-poll .poll-card{margin:0;padding:0;border:0;box-shadow:none}.home-info-card .home-poll h2{font-size:18px}.home-info-card .home-poll .poll-meta{margin-bottom:6px}.home-info-card .home-poll .poll-options{margin-top:8px}.home-info-card .home-poll .poll-option{padding:7px 8px;font-size:12px}.session-card{background:var(--paper);border:1px solid var(--line);border-radius:15px;margin-bottom:14px;box-shadow:var(--shadow);overflow:hidden}.session-card summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:20px 22px;font-family:"Playfair Display",serif;font-size:24px}.session-summary-main{display:flex;flex-direction:column;gap:8px}.session-title-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.session-meta-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:2px}.session-meta-chip{font:12px "DM Sans",sans-serif;color:var(--muted);background:#f4efe7;border:1px solid var(--line);border-radius:20px;padding:5px 12px;white-space:nowrap}.session-meta-theme{color:var(--terracotta);background:#f8eee9;border-color:#e2b7a9}.session-card summary::-webkit-details-marker{display:none}.session-card summary small{display:block;font:12px "DM Sans",sans-serif;color:var(--muted);margin-top:5px}.session-arrow{color:var(--terracotta);font:24px "DM Sans",sans-serif}.credentials-password-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.session-status{display:inline-block;padding:2px 9px;border-radius:10px;font-size:11px;font-weight:700;margin-left:6px;vertical-align:middle}.session-status.open{background:#e7f2df;color:#3f7d3f}.session-status.closed{background:#f5e2de;color:#a84c39}.session-card[open] .session-arrow{transform:rotate(180deg)}.session-books{border-top:1px solid var(--line);padding:14px 22px;display:flex;flex-direction:column;gap:12px;background:var(--paper)}.session-book{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:12px}.session-book h3{font-size:20px;margin-bottom:7px}.session-book p{margin:4px 0;color:var(--muted);font-size:13px;line-height:1.45}.like-book{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:18px;padding:8px 12px;color:var(--muted)}.like-book.liked{background:#f8eee9;border-color:#e2b7a9;color:var(--terracotta)}.home-date{margin-bottom:24px}.home-date .calendar{width:82px;height:96px}.home-date .calendar b{font-size:34px}.approval-card{margin-top:15px;background:#fffaf0;border-color:#ead7b0}.approval-row,.user-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.approval-row:last-of-type,.user-row:last-child{border-bottom:0}.approval-row small,.user-row small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.permission-badge{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f4efe7;font-weight:700}.user-row select{padding:7px;border:1px solid var(--line);border-radius:7px}.locked{font-size:11px;color:var(--muted)}.edit-post,.delete-post{background:none;color:var(--terracotta);font-size:12px;text-decoration:underline;border:0;padding:0}.delete-post{color:#a84c39;margin-left:12px}.post-actions{float:right}.radio-dot{width:16px;height:16px;border:2px solid #c7bfb3;border-radius:50%;display:inline-block;margin-right:8px}.location-line{font-size:13px;margin-top:10px}.location-line small{font-size:11px;color:var(--muted)}.location-line a{color:var(--terracotta)}.citation-text{display:block}.citation-author{display:block;text-align:right;font-family:"DM Sans",sans-serif;font-size:12px;color:var(--muted);margin-top:8px}.daily-quote{font-family:"Playfair Display",serif;font-size:17px;line-height:1.55}.home-poll{margin-bottom:24px}.home-poll .poll-card{margin:0;box-shadow:none;border:0;padding:0}@media(max-width:800px){.auth-shell{grid-template-columns:1fr}.auth-art{display:none}.topbar{height:auto;min-height:70px;flex-wrap:wrap;gap:10px;padding:15px 18px}.nav{order:3;flex-basis:100%;overflow:auto}.nav button{white-space:nowrap}.profile{margin-left:auto}.content{padding:30px 16px}.grid{grid-template-columns:1fr}.book-list{grid-template-columns:1fr 1fr}.page-head{align-items:start;gap:15px;flex-direction:column}.page-head h1{font-size:36px}.stat-row{grid-template-columns:1fr 1fr}.date-card{align-items:start}.topbar .brand{font-size:20px}}
.auth-art{background:linear-gradient(145deg,#00594f,#008579)}.brand-lockup{display:flex;flex-direction:column;line-height:1}.brand-lockup strong{font-family:"DM Sans",sans-serif;font-size:20px;letter-spacing:2px;color:var(--sage)}.auth-art .brand-lockup strong{color:#fff}.brand-lockup small{font:11px "DM Sans",sans-serif;letter-spacing:.5px;color:var(--terracotta);margin-top:5px}.auth-art .brand-lockup small{color:var(--terracotta)}.topbar .brand-lockup{font-size:inherit}.topbar .brand-lockup strong{font-size:17px}.topbar .brand-lockup small{font-size:9px}.meeting-row{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:14px;gap:16px;flex-wrap:wrap}.meeting-row-actions{display:flex;gap:8px;flex-wrap:wrap}.home-meeting-date{color:var(--muted);font-size:13px;margin-top:2px}.home-meeting-others{margin-top:12px;display:flex;flex-direction:column;gap:4px}.home-meeting-line{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.home-meeting-line b{color:#164c42}.btn-link-small{background:none;border:none;color:var(--sage);font-size:11px;padding:2px 4px;cursor:pointer;text-decoration:underline;white-space:nowrap}.btn-link-small:hover{color:var(--terracotta)}.home-info{grid-template-columns:1fr 1fr}.home-info-card{min-height:210px}.map-preview{width:100%;height:88px;border:0;border-radius:8px;margin:8px 0}.home-info-card .home-poll{margin-top:12px}.home-info-card .home-poll .poll-card h2{font-size:19px}.nav sup{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:var(--terracotta);color:#fff;font-size:10px}.radio-dot{border-color:var(--sage)}.btn-primary{background:var(--terracotta)}@media(max-width:800px){.home-info{grid-template-columns:1fr}.meeting-row{align-items:flex-start;gap:12px}.map-preview{height:130px}}
@media(max-width:560px){.rte-link-panel{grid-template-columns:1fr}.rte-link-actions{justify-content:flex-end}}
.home-info{grid-template-columns:minmax(0,1.35fr) minmax(360px,.85fr);align-items:start}.home-info-card{min-width:0}.home-info-card:first-child{padding:26px}.home-info-card:first-child .home-poll .poll-card{padding:0}.home-info-card:first-child .home-poll .poll-card h2{font-size:24px;line-height:1.2;margin:12px 0 16px}.home-info-card:first-child .home-poll .poll-option{padding:11px 12px;font-size:14px;border-radius:10px}.home-info-card:nth-child(2){aspect-ratio:1/1;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:24px}.home-info-card:nth-child(2) .home-info-value{font-size:28px;line-height:1.1}.home-info-card:nth-child(2) .map-preview{height:110px;flex:0 0 auto}.home-info-card:nth-child(2) .btn{align-self:flex-start}@media(max-width:800px){.home-info{grid-template-columns:1fr}.home-info-card:nth-child(2){aspect-ratio:auto;min-height:210px}.home-info-card:first-child .home-poll .poll-card h2{font-size:21px}}
.auth-art{background:radial-gradient(circle at 78% 22%,rgba(216,195,160,.25) 0 2px,transparent 3px),radial-gradient(circle at 25% 68%,rgba(216,195,160,.18) 0 1.5px,transparent 3px),linear-gradient(145deg,#07563f,#168363 55%,#0a604f)}.auth-art:after{border-color:rgba(216,195,160,.3);box-shadow:0 0 80px rgba(216,195,160,.18)}.users-add{width:auto}.user-row>div:first-child{flex:1;min-width:150px}.user-row .btn{flex:none}@media(max-width:800px){.user-row{flex-wrap:wrap}.user-row>div:first-child{flex-basis:100%}}
.home-info-card:nth-child(2) .map-preview{max-height:110px}
@media(max-width:800px){.home-side-column>.home-info-card{height:auto;min-height:210px}.home-info-card:nth-child(2){height:auto;min-height:210px;overflow:visible}}
.page-head{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:start;gap:24px}.daily-quote-float{width:min(280px,25vw);padding-top:4px}.daily-quote-float .daily-quote{margin:8px 0 0;font-size:15px;line-height:1.35}.home-info{align-items:start}.home-info-card:first-child{min-height:350px}.home-info-card:nth-child(2){height:350px;min-height:350px;aspect-ratio:1/1}.home-info-card:nth-child(2) .map-preview{width:calc(100% - 24px);height:auto;aspect-ratio:1/1;margin:12px auto 0;object-fit:cover}@media(max-width:800px){.page-head{display:flex;flex-direction:column;gap:15px}.daily-quote-float{width:100%;order:3}.home-info-card:first-child{min-height:0}.home-info-card:nth-child(2){height:auto;min-height:210px;aspect-ratio:auto}.home-info-card:nth-child(2) .map-preview{width:100%;margin-left:0}}
.home-info{align-items:start}.home-info-card:first-child{min-height:350px}.home-info-card:nth-child(2){height:350px;min-height:350px;max-height:350px;aspect-ratio:1/1;overflow:hidden}.home-info-card:nth-child(2) .map-link{display:block;width:min(100%,220px);aspect-ratio:1/1;margin:12px auto 0;border-radius:8px;overflow:hidden;cursor:pointer}.home-info-card:nth-child(2) .map-preview{display:block;width:100%;height:100%;aspect-ratio:1/1;margin:0;border:0;object-fit:cover;pointer-events:none}
.admin-quick-actions{display:flex;gap:10px;position:sticky;top:90px;z-index:4;margin:-10px 0 14px;padding:10px 0;background:var(--cream)}.admin-quick-actions .btn{width:auto;min-width:130px}
@media(max-width:800px){.home-info-card:nth-child(2){height:auto;min-height:210px;aspect-ratio:auto}.home-info-card:nth-child(2) .map-preview{width:100%;max-width:none}}
.home-card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.home-card-heading .btn{margin:0;flex:none}
.home-info{align-items:start}.home-info-card:first-child{height:auto;align-self:start}.home-info-card:nth-child(2){width:100%;height:320px;min-height:320px;aspect-ratio:auto;align-self:start;overflow:hidden}
.home-side-column{display:grid;gap:14px;align-self:start}.home-side-column>.home-info-card{height:auto;min-height:0;aspect-ratio:1/1;overflow:hidden}.home-side-column>.home-info-card .map-link{display:block;width:min(100%,220px);aspect-ratio:1/1;margin:12px auto 0;border-radius:8px;overflow:hidden}.home-side-column>.home-info-card .map-preview{display:block;width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;margin:0;border:0;pointer-events:none}.daily-quote-card{min-height:0}.poll-result{position:relative;overflow:hidden}.poll-result-fill{position:absolute;inset:0 auto 0 0;background:rgba(201,162,125,.2);border-radius:8px}.poll-result-content{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;width:100%;gap:8px}.poll-result-content>b{font-size:12px;color:var(--terracotta)}.poll-result.selected{border-color:var(--terracotta);box-shadow:inset 0 0 0 1px var(--terracotta)}.poll-vote-note{font-size:12px;color:var(--muted);margin:12px 0 0}
.home-info{align-items:stretch}.home-info-card:first-child{height:auto;min-height:0;align-self:stretch}.home-side-column{display:flex;flex-direction:column;align-self:stretch;height:100%;gap:14px}.home-side-column>.home-info-card{flex:0 0 350px;height:350px;min-height:350px;max-height:350px;aspect-ratio:1/1}.home-side-column>.daily-quote-card{flex:1;min-height:120px;display:flex;flex-direction:column;justify-content:center}.club-feed{width:100%;margin-top:24px}.club-feed>aside{margin-top:15px}.club-feed .post{width:100%}
.home-side-column>.home-info-card{align-items:center;text-align:left}.home-side-column>.home-info-card .home-card-heading,.home-side-column>.home-info-card .home-info-value,.home-side-column>.home-info-card>small{width:100%}.home-side-column>.home-info-card .map-link{width:350px;height:180px;flex:0 0 180px;max-width:100%;margin:14px auto 0;border:1px solid var(--line);border-radius:10px;overflow:hidden;display:block}.home-side-column>.home-info-card .map-preview{display:block;width:100%;height:100%;min-height:180px;margin:0;border:0;pointer-events:none;background:#dce8df}
@media(max-width:800px){.home-info{display:grid;grid-template-columns:1fr}.home-side-column{height:auto}.home-side-column>.home-info-card{height:auto;min-height:210px;max-height:none;aspect-ratio:auto}.home-side-column>.daily-quote-card{min-height:150px}.club-feed{margin-top:18px}}
.poll-actions{display:flex;gap:7px;align-items:center;margin-left:auto}.poll-actions .btn{white-space:nowrap}.home-info-card .poll-actions .btn-outline{padding:7px 11px;font-size:12px;border-color:var(--terracotta);color:var(--terracotta);background:#fffaf5}.home-info-card .poll-actions .btn-outline:hover{background:#f4e6d9}
.session-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px}
.citation-author{color:var(--terracotta)}.auth-art .citation-author{color:var(--terracotta)}
.btn-danger{background:#f3e3dc;color:#8e5541;border:1px solid #dfb9a8}.btn-danger:hover{background:#ead0c4}
.btn-claim{background:#e3f3e2;color:#3f7d3f;border:1px solid #b9dfb0;margin-left:10px;vertical-align:middle;font-size:12px;padding:4px 10px}.btn-claim:hover{background:#d3ebd0}
.session-book h3{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.book-actions{display:flex;gap:10px;margin-top:6px;flex-shrink:0}.book-actions .btn-small{padding:5px 10px;font-size:12px}
.profile-search-card{max-width:520px;margin-bottom:24px}.profile-search-results{display:flex;flex-direction:column;gap:6px;max-height:220px;overflow:auto}.profile-search-result{text-align:left;background:#f5eee6;border:1px solid var(--line);border-radius:8px;padding:9px 12px;color:var(--ink);font-weight:600}.profile-search-result:hover{border-color:var(--terracotta);color:var(--terracotta)}
.profile-session{margin-bottom:16px}.profile-session:last-child{margin-bottom:0}.profile-book{padding:10px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:14px}.profile-book:first-of-type{border-top:0;padding-top:0}.profile-book b{display:block;font-size:15px}.profile-book small{display:block;color:var(--muted);margin-top:2px}
.profile-book-info{flex:1;min-width:0}.profile-book-side{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.book-like-stack{display:flex;flex-direction:column;align-items:center;gap:5px}.book-like-names{display:flex;flex-direction:column;align-items:center;max-width:150px;color:var(--muted);font-size:11px;line-height:1.3;text-align:center;overflow-wrap:anywhere}
.date-picker{position:relative}.date-picker-input{display:flex;align-items:center;gap:8px}.date-picker-input input[type=text]{flex:1;min-width:0;cursor:pointer}.date-picker-input>button{flex:0 0 46px;height:44px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font-size:20px}.date-picker-input>button:hover{border-color:var(--sage)}.date-picker-calendar{position:absolute;top:calc(100% + 6px);left:0;z-index:30;width:min(320px,100%);padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:var(--shadow)}.date-picker-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;text-transform:capitalize}.date-picker-heading button{width:32px;height:32px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--ink);font-size:20px}.date-picker-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}.date-picker-weekday{padding:5px 0;color:var(--muted);font-size:11px;font-weight:700}.date-picker-empty{height:34px}.date-picker-day{height:34px;border:0;border-radius:7px;background:transparent;color:var(--ink);font-size:13px}.date-picker-day:hover{background:#f4efe7}.date-picker-day.selected{background:var(--sage);color:white;font-weight:700}
.rte-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;background:#f5eee6;border:1px solid var(--line);border-radius:8px 8px 0 0;padding:7px 8px}
.rte-group{display:flex;gap:4px;align-items:center;padding-right:8px;border-right:1px solid #ddd0bc}.rte-group:last-child{border-right:0}
.rte-toolbar button{border:1px solid #cfc4b3;background:#fffdf9;border-radius:6px;padding:5px 9px;font-size:13px;cursor:pointer;line-height:1;color:var(--ink)}
.rte-toolbar button:hover{border-color:var(--sage);color:var(--sage)}
.rte-select{border:1px solid #cfc4b3;background:#fffdf9;border-radius:6px;padding:5px 7px;font-size:12px;color:var(--ink)}
.rte-link-panel{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end;padding:12px;border:1px solid var(--line);border-top:0;background:#fbf8f2}
.rte-link-panel .field{margin:0}
.rte-link-actions{display:flex;gap:6px;align-items:center;padding-bottom:1px}
.post-title-toolbar{border-radius:8px 8px 0 0}
.post-title-editor{min-height:48px;max-height:100px;font-size:21px;font-weight:700;line-height:1.3}
#rte-color{width:40px;height:40px;padding:3px;border:1px solid #cfc4b3;border-radius:6px;background:#fffdf9;cursor:pointer;flex:0 0 40px}
#rte-color,#post-title-color{appearance:none;-webkit-appearance:none;display:inline-block!important;box-sizing:border-box;width:40px!important;min-width:40px;height:40px!important;min-height:40px;padding:3px;border:1px solid #cfc4b3;border-radius:6px;background:#fffdf9;cursor:pointer;flex:0 0 40px}
#rte-color::-webkit-color-swatch-wrapper,#post-title-color::-webkit-color-swatch-wrapper{width:100%;height:100%;padding:1px}
#rte-color::-webkit-color-swatch,#post-title-color::-webkit-color-swatch{width:100%;height:100%;border:0;border-radius:3px}
#rte-color::-moz-color-swatch,#post-title-color::-moz-color-swatch{border:0;border-radius:3px}
.rte-size-stepper{display:inline-flex;align-items:center;gap:3px}
.rte-size-stepper button{width:26px;height:28px;padding:0!important;font-size:16px!important;font-weight:700}
.rte-content{min-height:160px;max-height:420px;overflow:auto;border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px;padding:12px 14px;background:#fffdf9;position:relative;line-height:1.5}
.rte-content::after{content:"";display:table;clear:both}
.rte-content:empty:before,.rte-content:focus:empty:before{content:attr(data-placeholder);color:var(--muted)}
.rte-content p{margin:0 0 10px;text-align:justify}.rte-content blockquote{margin:10px 0;padding:6px 14px;border-left:3px solid var(--sage);color:var(--muted);font-style:italic}
.rte-content ul,.rte-content ol{margin:0 0 10px;padding-left:24px}
.post-rte-content{position:relative;line-height:1.5}.post-rte-content::after{content:"";display:table;clear:both}
.post-rte-content p{margin:0 0 10px;text-align:justify}.post-rte-content blockquote{margin:10px 0;padding:6px 14px;border-left:3px solid var(--sage);color:var(--muted);font-style:italic}
.post-rte-content ul,.post-rte-content ol{margin:0 0 10px;padding-left:24px}
.rte-img-wrap{display:inline-block;position:relative;max-width:100%;margin:4px;vertical-align:top;cursor:move}
.rte-img-wrap img{display:block;width:100%;height:auto;border-radius:6px;pointer-events:none}
.rte-img-wrap[data-wrap="left"]{float:left;margin:4px 14px 8px 0}
.rte-img-wrap[data-wrap="right"]{float:right;margin:4px 0 8px 14px}
.rte-img-wrap[data-wrap="inline"]{float:none;display:block;margin:10px auto}
.rte-img-wrap[data-wrap="none"]{float:none;display:block;margin:10px auto}
.rte-img-wrap[data-wrap="free"]{display:block;margin-top:0;margin-bottom:8px}
.rte-img-wrap.selected img{outline:2px solid var(--sage);outline-offset:2px}
.rte-img-wrap.dragging{opacity:.6;cursor:grabbing}
.rte-img-handle{display:none;position:absolute;width:11px;height:11px;background:#fff;border:2px solid var(--sage);border-radius:2px;z-index:6}
.rte-img-wrap.selected .rte-img-handle{display:block}
.rte-img-handle.tm{top:-6px;left:calc(50% - 5px);cursor:ns-resize}
.rte-img-handle.rm{right:-6px;top:calc(50% - 5px);cursor:ew-resize}
.rte-img-handle.bm{bottom:-6px;left:calc(50% - 5px);cursor:ns-resize}
.rte-img-handle.lm{left:-6px;top:calc(50% - 5px);cursor:ew-resize}
.rte-img-handle.tl{top:-6px;left:-6px;cursor:nwse-resize}.rte-img-handle.tr{top:-6px;right:-6px;cursor:nesw-resize}
.rte-img-handle.bl{bottom:-6px;left:-6px;cursor:nesw-resize}.rte-img-handle.br{bottom:-6px;right:-6px;cursor:nwse-resize}
.rte-img-toolbar{display:none;position:absolute;top:-40px;left:0;background:#fff;border:1px solid var(--line);border-radius:6px;box-shadow:0 4px 10px rgba(0,0,0,.12);padding:3px;gap:2px;white-space:nowrap;z-index:7}
.rte-img-wrap.selected .rte-img-toolbar{display:flex}
.rte-img-toolbar button{border:0;background:transparent;font-size:11px;padding:4px 6px;border-radius:4px;cursor:pointer;color:var(--ink)}
.rte-img-toolbar button:hover{background:#f0e9de}
.rte-img-toolbar button.active{background:#e7efe9;color:#164c42;font-weight:700}
.rte-opacity-label{display:inline-flex;align-items:center;gap:3px;font-size:10px;color:var(--ink);padding:0 4px}
.rte-opacity-value{min-width:25px;font-weight:700;text-align:right}
.rte-opacity-label input[type=range]{--range-progress:0%;appearance:none;-webkit-appearance:none;width:72px;height:14px;margin:0;background:transparent;cursor:pointer}
.rte-opacity-label input[type=range]::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--sage) 0%,var(--sage) var(--range-progress),#d7cdbd var(--range-progress),#d7cdbd 100%)}
.rte-opacity-label input[type=range]::-moz-range-track{height:4px;border-radius:4px;background:#d7cdbd}
.rte-opacity-label input[type=range]::-moz-range-progress{height:4px;border-radius:4px;background:var(--sage)}
.rte-opacity-label input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:12px;height:12px;margin-top:-4px;border:2px solid #fff;border-radius:50%;background:var(--sage);box-shadow:0 0 0 1px var(--sage)}
.rte-opacity-label input[type=range]::-moz-range-thumb{width:8px;height:8px;border:2px solid #fff;border-radius:50%;background:var(--sage);box-shadow:0 0 0 1px var(--sage)}
.rte-img-layout{display:inline-flex;align-items:center;border-left:1px solid var(--line);padding-left:2px}
.rte-img-layout button{font-size:10px;padding:4px}
@media(max-width:800px){.rte-img-wrap,.rte-img-wrap[data-wrap="left"],.rte-img-wrap[data-wrap="right"]{position:relative !important;float:none !important;display:block;width:100% !important;margin:10px auto !important}.rte-toolbar{gap:5px}.rte-group{padding-right:5px}}
/* --- SONDAGGIO STILE WHATSAPP INTEGRAZIONE --- */
.wa-poll-card {padding: 20px;  background: #ffffff;  border-radius: 16px;}
.wa-poll-header {display: flex;  justify-content: space-between;  align-items: center;  margin-bottom: 12px;}
.wa-badge-group {display: flex;  align-items: center;  gap: 8px;}
.wa-badge {font-size: 11px;  font-weight: 700;  color: var(--muted, #888);  letter-spacing: 0.5px;}
.wa-status {font-size: 11px;  padding: 2px 8px;  border-radius: 10px;  font-weight: 600;}
.wa-status.open {background: #e2f4ea; color: #278854; }
.wa-status.closed {background: #fde8e8; color: #e53e3e; }
.wa-poll-question {  margin: 0 0 6px 0;  font-size: 22px;}
.wa-poll-instruction {  font-size: 12px;  color: #667781;  display: flex;  align-items: center;  gap: 4px;  margin-bottom: 18px;}
/* Opzioni */
.wa-option-item {  margin-bottom: 14px;  cursor: pointer;  user-select: none;}
.wa-option-top {  display: flex;  justify-content: space-between;  align-items: center;  margin-bottom: 6px;}
.wa-option-left {  display: flex;  align-items: center;  gap: 10px;}
/* Cerchio radio / Checkbox */
.wa-checkbox {  width: 20px;  height: 20px;  border: 2px solid #b1b9be;  border-radius: 50%;  display: inline-block;  position: relative;  box-sizing: border-box;  transition: all 0.2s ease;}
.wa-checkbox.checked {  border-color: var(--terracotta-dark);  background-color: var(--terracotta-dark);}
.wa-checkbox.checked::after {  content: none;}
.wa-option-text {  font-size: 15px;  font-weight: 500;}
.wa-option-right {  display: flex;  align-items: center;  gap: 8px;}
/* Avatar circolari sovrapposti */
.wa-avatars-group {  display: flex;  align-items: center;}
.wa-avatar-chip {  width: 22px;  height: 22px;  border-radius: 50%;  background: var(--primary, #1a3323);  color: #fff;  font-size: 9px;  font-weight: bold;  display: flex;  align-items: center;  justify-content: center;  border: 2px solid #fff;  margin-left: -8px;}
.wa-avatar-chip:first-child {  margin-left: 0;}
.wa-vote-count {  font-size: 13px;  color: #667781;  font-weight: 600;  min-width: 14px;  text-align: right;}
/* Barra di avanzamento blu WhatsApp */
.wa-progress-bg {  width: 100%;  height: 6px;  background-color: #e9edef;  border-radius: 3px;  overflow: hidden;}
.wa-progress-fill { height: 100%;  background-color: var(--sage);  border-radius: 3px;  transition: width 0.3s ease;}
/* Footer Card e Modale */
.wa-poll-footer {  border-top: 1px solid #f0ebe1;  margin-top: 16px;  padding-top: 12px;  text-align: center;}
.wa-btn-view-votes {  background: none;  border: none;  color: #0084ff;  font-size: 14px;  font-weight: 600;  cursor: pointer;}
.wa-edited-note {  font-size: 12px;  color: #888;  margin-top: 8px;}
/* Dettagli Modale */
.wa-voter-summary {  font-size: 13px;  color: #667781;  margin-bottom: 16px;}
.wa-detail-group {  margin-bottom: 18px;}
.wa-detail-option-title {  display: flex;  justify-content: space-between;  font-weight: 600;  font-size: 15px;  border-bottom: 1px solid #eee;  padding-bottom: 4px;  margin-bottom: 8px;}
.wa-star-count {  color: #667781;  font-size: 13px;}
.wa-voter-row {  display: flex;  align-items: center;  gap: 10px;  padding: 6px 0;}
.wa-voter-avatar {  width: 34px;  height: 34px;  border-radius: 50%;  background: #e2dacd;  color: #5a4b3c;  display: flex;  align-items: center;  justify-content: center;  font-weight: bold;  font-size: 12px;}
.wa-voter-info strong {  display: block;  font-size: 13px;}
.wa-voter-info small {  color: #777;  font-size: 11px;}
.wa-no-votes {  font-size: 12px;  color: #aaa;  font-style: italic;  margin: 4px 0;}
.session-cover-resize{position:relative;width:max-content;max-width:100%;margin:0 auto}
.session-cover-resize img{display:block;width:100%;height:100%;max-height:none;object-fit:fill;border-radius:8px}
.session-cover-preview{margin-top:10px;overflow:visible}
.session-cover-preview .session-cover-resize{border:1px dashed var(--sage);touch-action:none}
.session-cover-handle{position:absolute;width:8px;height:8px;background:#fff;border:1px solid var(--sage);border-radius:2px;z-index:2;touch-action:none}
.session-cover-handle.nw{top:-4px;left:-4px;cursor:nwse-resize}
.session-cover-handle.n{top:-4px;left:calc(50% - 4px);cursor:ns-resize}
.session-cover-handle.ne{top:-4px;right:-4px;cursor:nesw-resize}
.session-cover-handle.e{top:calc(50% - 4px);right:-4px;cursor:ew-resize}
.session-cover-handle.se{bottom:-4px;right:-4px;cursor:nwse-resize}
.session-cover-handle.s{bottom:-4px;left:calc(50% - 4px);cursor:ns-resize}
.session-cover-handle.sw{bottom:-4px;left:-4px;cursor:nesw-resize}
.session-cover-handle.w{top:calc(50% - 4px);left:-4px;cursor:ew-resize}
.session-color-control{min-width:0;margin:0 0 14px}
.session-color-input-row{display:flex;align-items:center;gap:10px;margin:6px 0}
.session-color-picker-label{font-size:13px;font-weight:600;color:var(--ink)}
.session-native-color{width:40px;height:40px;padding:3px;border:1px solid #cfc4b3;border-radius:6px;background:#fffdf9;cursor:pointer;flex:0 0 40px}
.session-color-value{font-size:12px;color:var(--muted)}
.session-palette-clear{border:0;background:none;color:var(--muted);font-size:11px;text-decoration:underline;padding:4px;cursor:pointer}
.session-transparency-label{display:flex;justify-content:space-between;align-items:center;max-width:260px;font-size:12px;color:var(--muted)}
.session-color-control input[type=range]{display:block;width:100%;max-width:260px;margin:5px 0 0;accent-color:var(--sage)}
.session-cover-preview span{display:block;padding:14px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:13px}
.session-description{padding:8px 2px}
.session-color-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.session-header-color-fields{align-items:start}
.session-color-title{font-size:13px;font-weight:700;margin-bottom:8px}
@media(max-width:560px){.session-color-fields{grid-template-columns:1fr;gap:0}}
.session-cover-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}
.session-cover-controls input[type=file]{width:100%;min-width:0}
@media(max-width:560px){.session-cover-controls{grid-template-columns:1fr}.session-cover-controls .btn{justify-self:start}}
.session-card summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 24px;grid-template-areas:"main theme arrow";gap:18px}
.session-summary-main{grid-area:main;min-width:0}
.session-theme-title{grid-area:theme;min-width:0;width:100%;text-align:center;white-space:nowrap;font-size:34px;line-height:1.1;color:var(--ink);padding:0 12px}
.session-arrow{grid-area:arrow;text-align:center}
@media(max-width:560px){.session-card summary{grid-template-columns:minmax(0,1fr) 24px;grid-template-areas:"main arrow" "theme theme";gap:10px}.session-theme-title{font-size:28px;padding:0}.session-arrow{align-self:start}}
.session-actions{display:flex;flex-wrap:wrap;gap:8px}
.session-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
.session-layout.has-description{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.session-layout-books{display:flex;flex-direction:column;gap:10px;min-width:0}
.session-description-column{min-width:0;padding:14px 16px;background:#fffdf9;border:1px solid var(--line);border-radius:12px}
.session-description-column h3{margin:0 0 18px;color:var(--ink);font:600 16px "DM Sans",sans-serif}
.session-description{padding:0}
.session-description-column .post-rte-content p:last-child{margin-bottom:0}
.session-book{gap:8px;padding:11px 12px;align-items:flex-start}
.session-book>div:first-child{flex:1;min-width:0}
.session-book h3{font-size:16px;line-height:1.3;overflow-wrap:anywhere}
.session-book .book-like-stack{flex:0 0 auto}
@media(max-width:800px){.session-layout,.session-layout.has-description{grid-template-columns:minmax(0,1fr)}}
.book-like-names{display:none}
.book-likes-trigger{font-size:12px;padding:4px 8px;text-decoration:none;color:var(--sage)}
.book-likes-trigger:hover{text-decoration:underline}
.top-liked-books{margin-bottom:24px}
.top-liked-table{overflow-x:auto}
.top-liked-header,.top-liked-row{display:grid;grid-template-columns:58px minmax(0,1fr) 105px;align-items:center;gap:12px;min-width:360px}
.top-liked-header{padding:0 12px 8px;color:var(--muted);font-size:11px;font-weight:700;text-transform:uppercase}
.top-liked-row{padding:10px 12px;border-radius:9px;background:#f8f3eb;margin-top:7px;font-size:13px}
.top-liked-row>span,.top-liked-row>b{min-width:0;overflow-wrap:anywhere}
.top-liked-rank{display:grid;place-items:center;width:38px;height:30px;border-radius:8px;background:#e9dcc9;color:var(--ink);font-weight:700}
.top-liked-info{min-width:0}
.top-liked-info>b{display:block;overflow-wrap:anywhere}
.top-liked-info small{display:block;margin-top:4px;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.top-liked-count{white-space:nowrap;color:var(--terracotta-dark);font-size:13px;font-weight:700}
.modal.calendar-open{max-height:96vh}
.modal.calendar-open .date-picker-calendar{position:relative;top:auto;left:auto;width:100%;margin-top:8px;box-shadow:none}
.author-ranking-toggle{display:grid;width:100%;grid-template-columns:minmax(0,1fr) 24px;grid-template-areas:"label arrow" "bar bar";align-items:center;gap:6px;padding:7px 0;background:transparent;color:var(--ink);text-align:left}
.author-ranking-toggle>.result-label{grid-area:label}
.author-ranking-toggle>.bar{grid-area:bar}
.author-ranking-arrow{grid-area:arrow;display:grid;place-items:center;width:23px;height:23px;border:1px solid var(--line);border-radius:50%;color:var(--sage);font-weight:700}
.author-ranking-toggle:hover .result-label>span{text-decoration:underline}
.author-books{list-style:none;padding:0 0 0 12px;margin:0 0 8px 5px;border-left:2px solid #e9dcc9}
.author-books li{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:7px 10px;border-bottom:1px solid #f0ebe1;font-size:13px}
.author-books li:last-child{border-bottom:0}
.author-books small{flex:none;color:var(--muted);font-size:11px}
.author-book-info{display:grid;gap:3px;min-width:0}
.author-book-info small{white-space:normal}
.brand-lockup small{font-size:12px}
.topbar .brand-lockup small{font-size:10px}.book-rows-header{display:grid;grid-template-columns:2.2fr 1fr 1fr 28px;gap:8px;font-size:11px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.4px;padding:0 2px;margin-bottom:6px}.book-rows{display:flex;flex-direction:column;gap:8px;margin-bottom:4px}.book-row{display:grid;grid-template-columns:2.2fr 1fr 1fr 28px;gap:8px;align-items:center}.book-row input,.book-row select{width:100%;padding:8px 10px;border:1px solid #cfc4b3;border-radius:8px;background:#fffdf9;font-size:13px}.remove-book-row{background:none;border:none;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;padding:4px}.remove-book-row:hover{color:var(--terracotta-dark)}