/* Reading scale and spatial checks for the live MiniLens application. */
.brand{margin-bottom:28px}.sidebar-topics{margin-top:26px}
.sidebar>*{min-width:0;max-width:100%}.my-account>div,.my-account>span:not(.avatar){min-width:0;overflow:hidden}.my-account>.avatar,.my-account>.icon{flex-shrink:0}.my-account strong,.my-account small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compose-button{white-space:nowrap}@media(max-width:1190px){.compose-button kbd{display:none}.compose-button{font-size:13px}}
body{font-size:16px;line-height:1.6}button,input,textarea,select{font-family:inherit}h1{font-size:32px;line-height:1.3;letter-spacing:-1px}.page-header{min-height:48px;margin-bottom:24px;gap:18px}main{padding-top:36px}.rightbar{padding-top:108px}.brand{font-size:28px}.nav-item{font-size:15px;min-height:48px}.compose-button{font-size:14px}.sidebar-topics>button{font-size:13px;min-height:37px}.small-heading{font-size:12px}.side-footer,.right-footer,.right-footer button{font-size:11px}.my-account strong{font-size:13px}.my-account small{font-size:12px}.my-account{gap:10px;min-height:58px}.invite-card{padding:13px 12px}.invite-card>.icon{display:none}.invite-card button{font-size:13px;margin:0;min-height:32px;gap:7px}.sidebar-bottom{padding-top:26px}.sidebar{scrollbar-gutter:stable}.composer{padding:18px 20px;margin-bottom:24px}.composer-open{font-size:15px;line-height:1.5;min-height:44px}.composer-bottom .primary{font-size:13px;min-height:38px;padding-inline:16px}.composer-tools .icon-button{min-height:40px;min-width:38px}.tabs [role=tab]{font-size:13px;min-height:38px;padding:8px 17px}.feed-sort{font-size:12px}.post{padding:22px;margin-bottom:18px}.post-header{gap:11px;margin-bottom:16px}.post-header>div{min-width:0;flex:1}.author-name{font-size:14px;display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.author-meta{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.6}.post-type{font-size:11px;flex:none;padding:4px 7px}.post-text{font-size:16px;line-height:1.75}.post-actions{gap:16px;margin-top:14px}.post-actions button{font-size:13px;min-height:40px;min-width:32px;gap:7px;padding-inline:5px}.post-actions .reaction-visual{width:21px;height:21px}.reaction-visual>.icon{width:20px;height:20px}.post-actions .spacer{min-width:0}.project-caption{gap:10px;padding:14px}.project-caption>div{min-width:0;flex:1}.project-name{font-size:14px;line-height:1.5;overflow-wrap:anywhere}.project-subtitle{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.project-icon{width:34px;height:34px}.follow-project{font-size:12px;min-height:37px;padding:7px 10px}.section-top,.section-top h2{font-size:14px}.section-top button{font-size:12px}.spotlight{padding:18px}.spotlight-title h2{font-size:15px}.spotlight-title p{font-size:12px;line-height:1.6}.spotlight-description{font-size:13px;line-height:1.75}.spotlight-bottom>span{font-size:12px}.person strong{font-size:13px;line-height:1.5}.person small{font-size:12px;line-height:1.5}.person .avatar{width:38px;height:38px}.person>.icon-button{min-width:34px;min-height:34px}.person{gap:10px;margin-bottom:17px}.people-section{margin-top:28px}.tiny-label{font-size:12px}.weekly-card h2{font-size:21px;line-height:1.4}.weekly-card button{font-size:13px;line-height:1.5}.right-footer{line-height:1.7;gap:10px}.view-intro{font-size:14px;line-height:1.7;margin:0 0 22px}.category-chips button{font-size:13px;min-height:40px;padding:8px 14px}.project-grid .project-name{font-size:14px}.project-grid .project-subtitle{font-size:12px}.project-grid .follow-project{font-size:12px;min-height:38px}.new-project-button{font-size:14px;min-height:42px;margin-bottom:20px}.empty-state h2{font-size:20px;line-height:1.4}.empty-state p{font-size:14px;line-height:1.7;max-width:340px}.empty-state .primary{font-size:14px}.load-more{font-size:13px;min-height:42px}.post-count-label{font-size:13px}.comment-body{font-size:14px;line-height:1.65}.comment-body strong{font-size:12px}.comment-form input{font-size:14px;padding:12px}.comment-form button{min-width:44px}.modal-head{padding:20px 24px}.modal-head h2{font-size:20px;line-height:1.4}.modal-body{padding:24px 24px 28px}.auth-form{gap:15px}.auth-form .primary{font-size:15px;min-height:46px}.auth-switch{font-size:13px;padding:8px}.spring-label{font-size:17px;font-weight:500}.spring-glyph,.auth-form .spring-box input{font-size:16px!important;font-weight:500!important}.spring-error,.field-error{font-size:12px;line-height:1.6}.password-strength{margin-top:11px}.strength-word{font-size:12px}.password-eye{width:44px;height:44px}.spring-shell{height:64px}.spring-box{top:30px}.password-eye{top:10px}.compose-author strong{font-size:14px}.compose-author small{font-size:12px}.compose-text{font-size:16px;line-height:1.75;min-height:170px}.select-trigger{font-size:12px;min-height:38px;padding:8px 10px}.project-menu button{font-size:14px;min-height:42px}.project-menu{width:230px;max-width:calc(100vw - 64px)}.compose-footer .hold-publish{font-size:13px;min-height:48px}.hold-hint{font-size:12px;line-height:1.5}.hold-options{justify-content:flex-end;min-height:20px}.publish-actions{align-items:flex-start!important;gap:14px!important}.compose-footer{align-items:flex-start;gap:16px}.command-trigger{font-size:13px}.command-root{width:174px}.command-field input{font-size:14px}.command-panel .search-result strong{font-size:14px;line-height:1.5}.command-panel .search-result small{font-size:12px;line-height:1.5}.command-panel .search-result{min-height:62px}.command-panel .search-result>span{min-width:0;overflow-wrap:anywhere}.search-hint{font-size:13px}.profile-card h2{font-size:26px}.profile-card p{font-size:14px;line-height:1.75;overflow-wrap:anywhere}.profile-section-title{font-size:15px}.profile-card .primary{font-size:14px;min-height:40px}.logout-button{font-size:13px}.project-detail-title h3{font-size:27px;line-height:1.3}.project-detail-title p{font-size:13px;line-height:1.65}.project-description{font-size:15px;line-height:1.75}.project-stats{font-size:12px;line-height:1.7;flex-wrap:wrap;gap:20px}.project-stats strong{font-size:17px}.timeline-item{font-size:13px;line-height:1.75}.timeline-item small{font-size:12px}.project-timeline h3{font-size:15px}.notification p{font-size:14px;line-height:1.7}.notification small{font-size:12px}.notification>div{min-width:0;overflow-wrap:anywhere}.info-copy{font-size:15px;line-height:1.8}#toast{font-size:13px;line-height:1.6}.profile-card .primary{font-size:13px}.project-grid{align-items:start}.profile-cover{margin-bottom:0}
/* Letter Limit keeps rejected letters inside a reserved area, not outside the dialog. */
.letter-editor{position:relative;padding-bottom:38px;min-width:0;isolation:isolate}.letter-editor .compose-text{display:block;width:100%;padding:12px;border-radius:12px;background:#f7f8fc;margin:0;min-height:165px;max-height:45dvh;resize:vertical}.letter-editor .compose-text:focus-visible{outline-width:2px;outline-offset:2px}.letter-mirror{position:absolute;left:0;top:0;visibility:hidden;white-space:pre-wrap;overflow-wrap:break-word;pointer-events:none}.letter-pile{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:2;border-radius:12px}.letter-fall{position:absolute;left:0;top:0;font-size:15px;line-height:18px;font-weight:600;color:#b45264;will-change:transform}.letter-fall.is-down{color:#a8aebd}.letter-meter{position:relative;display:flex;align-items:center;gap:9px;min-width:68px;height:48px;color:#6d7d9d;flex:none}.letter-ring{width:28px;height:28px;transform:rotate(-90deg);overflow:visible;flex:none}.letter-ring circle{fill:none;stroke-width:2.5}.letter-track{stroke:#e4e8f0}.letter-fill{stroke:var(--blue);stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke .2s}.letter-count{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}.letter-meter.is-near{color:#a96313}.letter-meter.is-near .letter-fill{stroke:#c48825}.letter-meter.is-full{color:#bd344b}.letter-meter.is-full .letter-fill{stroke:#d35268}.compose-footer .publish-actions{min-width:0;flex:1;justify-content:space-between}.hold-stage,.hold-wrap{flex:none}.hold-wrap{min-width:0}.letter-meter .sr-only{flex:none}.compose-options{flex-wrap:wrap}.project-detail-title>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:1190px){.nav-item{font-size:14px}.command-trigger{font-size:12px}.command-root{width:165px}.sidebar-topics{padding-inline:7px}.sidebar-topics>button{font-size:12px}.brand{font-size:25px}.my-account small{font-size:11px}}
@media(max-width:760px){main{padding-top:24px;padding-bottom:140px}h1{font-size:28px}.page-header{margin-bottom:22px;gap:12px}.composer{padding:16px;margin-bottom:22px}.composer-open{font-size:14px}.composer-bottom{margin-left:0}.post{padding:18px 16px;margin-bottom:16px}.post-text{font-size:16px;line-height:1.75}.author-name{font-size:14px}.author-meta{font-size:12px}.post-type{display:inline-flex!important;font-size:10px;padding:3px 5px}.post-header{gap:9px}.post-header>.icon-button{min-width:26px}.post-actions{gap:8px}.post-actions button{font-size:13px;min-width:30px;min-height:44px;gap:5px;padding-inline:2px}.post-actions .reaction-visual{width:20px}.tabs [role=tab]{font-size:13px;padding:8px 14px}.feed-sort{font-size:11px}.project-caption{padding:12px;gap:9px;flex-wrap:wrap}.project-caption .project-name{font-size:14px}.project-caption .project-subtitle{font-size:12px}.project-caption .follow-project{font-size:12px;min-height:38px}.project-caption>div{min-width:110px}.modal-head{padding:16px 20px}.modal-head h2{font-size:20px}.modal-body{padding:20px 20px 26px}.spring-glyph,.auth-form .spring-box input{font-size:16px!important}.compose-text{font-size:16px}.compose-footer .select-trigger{font-size:12px}.publish-actions{width:100%;align-items:flex-start!important}.hold-stage,.hold-options{width:220px}.hold-wrap{margin-left:auto;max-width:100%}.hold-hint{font-size:11px}.command-root{width:44px}.command-field input{font-size:16px}.command-panel{max-width:100%;overflow-wrap:anywhere}.command-panel .search-result{padding:10px 8px}.mobile-nav .nav-item{font-size:11px;padding:5px 13px;min-width:0}.mobile-nav .nav-item .icon{width:21px;height:21px}.mobile-compose{bottom:calc(90px + env(safe-area-inset-bottom))}.profile-card{padding:0 20px 22px}.profile-card h2{font-size:25px}.profile-card p{font-size:14px}.letter-editor .compose-text{min-height:155px;max-height:40dvh}.letter-editor{padding-bottom:34px}.letter-meter{min-width:58px;gap:6px}.letter-count{font-size:12px}.letter-ring{width:25px;height:25px}.compose-footer .publish-actions{gap:8px!important}.new-project-button{font-size:14px}.category-chips{gap:7px}.category-chips button{font-size:13px;padding:8px 11px}}
@media(max-width:600px){.project-grid{grid-template-columns:1fr;gap:18px}.project-grid .project-art,.project-grid .spotlight-art{height:215px}.project-grid .project-caption{padding:14px}.project-grid .follow-project{width:auto;margin-left:auto}.project-grid .project-caption>div{flex:1}.project-grid .orbit-window{top:35px;right:15px;transform:scale(.83) rotate(-5deg)}.project-grid .project-art:hover .orbit-window{transform:scale(.83) rotate(-2deg)}.project-grid .preview-word{top:26px;left:20px;font-size:30px;max-width:49%}.project-grid .moss-world{right:25px;top:20px;transform:rotate(-12deg)}.project-grid .moss-label{font-size:34px;top:22px;left:20px}.project-grid .moss-label small{font-size:10px;max-width:120px}.project-grid .sculpture{transform:translate(-50%,-50%) rotate(-30deg)}.project-grid .project-icon{width:34px;height:34px;font-size:17px}}
@media(max-width:380px){.shell{padding-inline:14px}.post{padding:17px 14px}.modal-body{padding-inline:17px}.modal-head{padding-inline:17px}.hold-stage,.hold-options,.compose-footer .hold-publish{width:210px}.hold-wrap{min-width:0}.letter-meter{min-width:49px;gap:5px}.letter-count{font-size:12px}.letter-ring{width:22px;height:22px}.project-grid .preview-word{font-size:27px}.project-grid .orbit-window{right:5px;transform:scale(.75) rotate(-5deg)}.project-grid .project-art:hover .orbit-window{transform:scale(.75) rotate(-2deg)}.tabs [role=tab]{padding-inline:12px}.feed-sort{font-size:10px}}
@media(prefers-reduced-motion:reduce){.letter-fall{display:none}}
@media(max-width:760px){.mobile-nav .nav-item{flex:1;padding-inline:6px}.mobile-nav{gap:4px}.command-root.is-open{max-width:100%}}
@media(max-width:350px){.compose-footer .publish-actions{flex-wrap:wrap}.letter-meter{flex-basis:100%;height:32px}.hold-wrap{margin-left:0;align-items:flex-start;width:100%}.hold-stage{justify-content:flex-start}}
.letter-editor .compose-text{max-height:none;overflow:hidden;resize:none}html:has(dialog[open]){overflow:hidden}dialog:has(#compose-form){max-height:calc(100dvh - 32px)}#compose-form .compose-footer{position:sticky;bottom:-1px;z-index:5;background:var(--surface);padding-bottom:3px}#compose-form .compose-author{margin-bottom:14px}@media(max-width:760px){.letter-editor .compose-text{min-height:140px}dialog:has(#compose-form) .modal-body{padding-top:17px}.compose-footer .hold-publish{font-size:13px}.letter-pile{z-index:2}#compose-form .publish-actions{flex:0 0 100%;width:100%}#compose-form .hold-wrap{min-width:210px}}

.sidebar-bottom{padding-top:18px}

.profile-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:20px}.profile-card .profile-actions .primary{margin-top:0}.profile-actions .logout-button{float:none;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;border-radius:10px;margin-left:auto;font-size:13px}.profile-actions .logout-button:hover{background:var(--canvas);color:var(--ink)}.profile-cover{width:100%}@media(max-width:380px){.profile-actions{align-items:flex-start}.profile-actions .logout-button{margin-left:0}}
