:root{color-scheme:light;--bg: #f5f2ec;--surface: #ffffff;--surface-strong: #fdfbf7;--ink: #1e2528;--muted: #637074;--line: #ded8cc;--green: #2f855a;--teal: #0f766e;--blue: #2878bd;--orange: #c56b2c;--red: #b94b4b;--violet: #7363c7;--shadow: 0 18px 40px rgba(43, 50, 44, .12);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:var(--bg);color:var(--ink)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#ffffff9e,#fff0),var(--bg)}button,input,textarea{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;gap:28px;height:100vh;padding:28px 22px;border-right:1px solid var(--line);background:#fdfbf7e6;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:12px}.brand-button{width:100%;padding:0;border:0;color:inherit;text-align:left;background:transparent}.brand-button:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:8px}.brand-button:hover .brand-mark,.brand-button:focus-visible .brand-mark{background:#1a2a24}.brand-mark{display:grid;width:42px;height:42px;place-items:center;border-radius:8px;color:#fff;background:#22342d}.brand strong,.profile-overlay h2,.crew-body h2,.entry-card h3,.hero-strip h2,.section-heading h2,.devlog-entry h2,.topbar h1{margin:0;letter-spacing:0}.brand strong,.brand span{display:block}.brand span,.entry-author span,.person-row span,.crew-body span,.profile-overlay span,.eyebrow,.mini-summary small,.profile-counts span,.stat-grid span,.bar-row strong,.upload-preview span,.entry-meta,.room-list,.challenge-panel small{color:var(--muted)}.brand span,.eyebrow,.mini-summary small,.entry-author span,.crew-body span,.profile-overlay span,.profile-counts span,.stat-grid span,.challenge-panel small{font-size:.84rem}.nav-list{display:grid;gap:8px}.nav-list button,.entry-actions button,.person-row button,.secondary-action,.primary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;min-height:42px;font-weight:700}.nav-list button{justify-content:flex-start;padding:12px 14px;color:var(--muted);background:transparent}.nav-list button.active{color:#163325;background:#e7efe6}.mini-summary{display:grid;gap:4px;margin-top:auto;padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.mini-summary strong{font-size:2rem}.main-panel{width:min(1180px,100%);margin:0 auto;padding:28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.topbar h1{margin-top:5px;font-size:clamp(2rem,4vw,4rem);line-height:.95}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-weight:800}.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-width:min(100%,500px)}.topbar-actions-compact{min-width:0}.search-box{display:flex;align-items:center;gap:10px;width:min(100%,340px);min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.search-box input{width:100%;border:0;outline:0;background:transparent}.profile-menu,.notification-menu{position:relative;flex:0 0 auto}.notification-trigger{position:relative;display:grid;width:44px;height:44px;place-items:center;border:1px solid var(--line);border-radius:8px;color:#284037;background:var(--surface)}.notification-trigger.has-unread{color:#163325;background:#e7efe6}.notification-badge{position:absolute;top:-6px;right:-6px;display:grid;min-width:20px;height:20px;place-items:center;padding:0 5px;border:2px solid var(--surface);border-radius:999px;color:#fff;font-size:.68rem;font-weight:900;background:#a93644}.notification-dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:45;display:grid;width:min(360px,calc(100vw - 36px));max-height:min(520px,calc(100vh - 110px));overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.notification-dropdown-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-bottom:1px solid var(--line)}.notification-dropdown-header div{display:grid;gap:2px}.notification-dropdown-header span,.notification-copy small,.notification-empty{color:var(--muted);font-size:.82rem}.notification-dropdown-header button{min-height:32px;padding:0 10px;border:0;border-radius:8px;color:#1d3528;font-size:.78rem;font-weight:800;background:#e7efe6}.notification-list{display:grid;gap:4px;overflow:auto;padding:6px}.notification-item{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;width:100%;padding:10px;border:0;border-radius:8px;color:inherit;text-align:left;text-decoration:none;background:transparent}.notification-item:hover,.notification-item.unread{background:#f7f5ef}.notification-item.unread{box-shadow:inset 3px 0 #2f855a}.notification-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;color:#1d3528;background:#e7efe6}.notification-icon.like{color:#a93644;background:#fce8eb}.notification-icon.follow{color:#315980;background:#e8f1fa}.notification-icon.devlog{color:#20476b;background:#e8f0fb}.notification-copy{display:grid;gap:3px;min-width:0}.notification-copy span,.notification-copy small{overflow-wrap:anywhere}.notification-name-link{color:inherit;text-decoration:none}.notification-name-link:hover,.notification-name-link:focus-visible{text-decoration:underline}.notification-request-item{align-items:start}.notification-actions{grid-column:2;display:flex;flex-wrap:wrap;gap:6px}.notification-actions button{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:0 9px;border:0;border-radius:8px;color:#1d3528;font-size:.76rem;font-weight:800;background:#e7efe6}.notification-actions button:nth-of-type(2){color:#7f1d1d;background:#fce8eb}.notification-empty{margin:0;padding:16px}.profile-menu-trigger{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:210px;padding:0 10px 0 6px;border:1px solid var(--line);border-radius:8px;color:var(--ink);font-weight:800;background:var(--surface)}.profile-menu-trigger .avatar{width:32px;height:32px}.profile-menu-trigger span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-dropdown{position:absolute;top:calc(100% + 10px);right:0;z-index:40;display:grid;gap:6px;width:min(288px,calc(100vw - 36px));padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.profile-dropdown-header{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:6px 6px 10px;border-bottom:1px solid var(--line)}.profile-dropdown-header .avatar{width:42px;height:42px}.profile-dropdown-header div{display:grid;gap:2px;min-width:0}.profile-dropdown-header span,.profile-dropdown-header small{overflow:hidden;color:var(--muted);font-size:.82rem;text-overflow:ellipsis;white-space:nowrap}.profile-dropdown button{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:40px;padding:0 10px;border:0;border-radius:8px;color:#1d3528;font-weight:800;background:transparent}.profile-dropdown button:hover{background:#e7efe6}.profile-dropdown button.danger{color:#9b2c3b}.profile-dropdown button.danger:hover{background:#fce8eb}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;align-items:start}.feed-column{display:grid;gap:18px}.lazy-entry-item{min-width:0}.hero-strip{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:132px;padding:18px 20px;border-radius:8px;color:#fff;background:linear-gradient(90deg,#142019e6,#1420196b),url(https://images.unsplash.com/photo-1556911220-bff31c812dba?auto=format&fit=crop&w=1400&q=80) center / cover;box-shadow:var(--shadow)}.hero-strip h2{max-width:620px;font-size:clamp(1.45rem,2.6vw,2.35rem);line-height:1.04}.hero-strip p{max-width:520px;margin:8px 0 0;color:#ffffffdb}.primary-action{flex:0 0 auto;padding:0 18px;color:#fff;background:#22342d}.hero-actions{display:grid;gap:8px;justify-items:stretch;flex:0 0 auto;width:min(100%,190px)}.hero-actions .primary-action,.work-tracker-controls{width:100%}.work-tracker-controls{display:flex;flex-wrap:wrap;justify-content:stretch;gap:8px}.tracker-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 12px;border:0;border-radius:8px;font-size:.88rem;font-weight:800;white-space:nowrap}.tracker-action:not(.ghost){flex:1 1 100%}.tracker-action.primary{color:#fff;background:#22342d}.tracker-action.secondary{color:#1d3528;background:#e7efe6}.tracker-action.danger{color:#9b2c3b;background:#fce8eb}.tracker-action.ghost{width:38px;padding:0;color:#445156;background:#f1eee8}.entry-card,.panel,.form-section,.crew-card,.profile-bio,.settings-panel{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 10px 24px #2b322c0f}.entry-card{padding:18px}.activity-detail{display:grid;gap:16px;max-width:820px}.activity-back-button{width:fit-content;min-height:40px}.entry-detail-card{padding:22px}.activity-empty-state{max-width:720px}.entry-header{display:flex;align-items:center;gap:12px}.avatar{width:44px;height:44px;flex:0 0 auto;border-radius:50%;object-fit:cover}.avatar-placeholder{display:grid;place-items:center;color:var(--muted);background:#ece8de;overflow:hidden}.avatar-placeholder svg{width:52%;height:52%;stroke-width:2.2}.avatar.large{width:72px;height:72px;border:4px solid var(--surface)}.entry-author,.person-row div{display:grid;gap:2px;min-width:0}.badge-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.badge-list.compact{gap:5px;margin-top:5px}.badge-chip,.challenge-badge-preview{display:inline-flex;align-items:center;gap:6px;width:fit-content;min-height:28px;padding:0 9px;border:1px solid rgba(111,83,44,.18);border-radius:999px;color:#6f532c;font-size:.82rem;font-weight:800;background:#fff4d6}.badge-list.compact .badge-chip{min-height:24px;padding:0 7px;font-size:.74rem}.entry-meta{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 12px}.entry-meta span{display:inline-flex;align-items:center;gap:6px;min-height:30px;padding:0 10px;border-radius:999px;background:#f1eee8}.entry-meta .type-pill{color:#fff;background:var(--pill-color)}.entry-card h3{font-size:1.35rem}.entry-title-link,.profile-name-link{color:inherit;text-decoration:none}.entry-title-link:hover,.entry-title-link:focus-visible,.profile-name-link:hover,.profile-name-link:focus-visible{color:#1d6a4a;text-decoration:underline;text-underline-offset:4px}.entry-card p{color:#445156;line-height:1.55}.room-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;font-size:.85rem}.room-list span{padding:5px 9px;border-radius:999px;background:#f3f6f2}.media-grid{display:grid;grid-auto-rows:clamp(130px,16vw,165px);gap:6px;margin:12px 0}.media-1{grid-template-columns:minmax(0,25%);grid-auto-rows:clamp(120px,15vw,155px)}.media-1 .media-image,.media-1 .video-frame video{object-fit:cover}.media-2{grid-template-columns:repeat(2,minmax(0,1fr))}.media-3{grid-template-columns:repeat(3,minmax(0,1fr))}.media-3>:first-child{grid-row:auto}.media-4{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:clamp(120px,15vw,155px)}.media-image,.video-frame,.video-frame video{width:100%;height:100%;min-height:220px;border-radius:8px;object-fit:cover;background:#d7d5cf}.media-tile{position:relative;display:block;width:100%;height:100%;min-height:0;overflow:hidden;padding:0;border:0;border-radius:8px;background:#d7d5cf;cursor:pointer}.media-tile:focus-visible{outline:3px solid rgba(47,133,90,.34);outline-offset:2px}.media-tile .media-image,.media-tile .video-frame,.media-tile .video-frame video{min-height:inherit;border-radius:inherit}.media-tile .media-image,.media-tile .video-frame video{transition:transform .18s ease}.media-tile:hover .media-image,.media-tile:hover .video-frame video{transform:scale(1.025)}.media-4 .media-tile{min-height:0}.media-overflow-tile:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:#0d161194}.media-overflow-count{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:grid;place-items:center;color:#fff;font-size:clamp(1.6rem,5vw,2.7rem);font-weight:900}.video-frame{position:relative;overflow:hidden}.video-frame span{position:absolute;top:12px;left:12px;display:grid;width:36px;height:36px;place-items:center;border-radius:50%;color:#fff;background:#00000080;pointer-events:none}.entry-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:10px;border-top:1px solid var(--line)}.entry-actions button{min-height:38px;padding:0 12px;color:var(--muted);background:#f4f1eb}.entry-actions button.liked{color:#a93644;background:#fce8eb}.entry-actions button.likes-view-trigger{color:#22342d;background:#e7efe6}.entry-actions button.likes-view-trigger:hover,.entry-actions button.likes-view-trigger:focus-visible{background:#dce8da}.entry-actions button.likes-view-trigger.liked{color:#a93644;background:#fce8eb}.entry-actions button.active{color:#22342d;background:#e7efe6}.comment-panel{display:grid;gap:12px;margin-top:14px;padding-top:14px;border-top:1px solid var(--line)}.comment-list{display:grid;gap:10px}.comment-row{display:grid;grid-template-columns:36px minmax(0,1fr);gap:10px;align-items:start}.comment-row .avatar{width:36px;height:36px}.comment-bubble{display:grid;gap:6px;min-width:0;padding:9px 11px;border-radius:8px;background:#f7f5ef}.comment-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;color:var(--muted);font-size:.82rem}.comment-meta>span:first-child{min-width:0}.comment-note{color:var(--muted);font-size:.82rem}.comment-actions{display:inline-flex;flex:0 0 auto;gap:4px}.comment-actions button{display:grid;width:28px;height:28px;place-items:center;border:0;border-radius:8px;color:#284037;background:transparent}.comment-actions button:hover{background:#e7efe6}.comment-actions button.danger{color:#8f3030}.comment-actions button.danger:hover{background:#fae8e8}.comment-row p{margin:0;color:#2d3436}.comment-edit-form{display:grid;gap:8px}.comment-edit-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.comment-edit-actions .secondary-action,.comment-edit-actions .primary-action{min-height:36px;padding:0 12px}.comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.comment-form textarea,.comment-edit-form textarea{width:100%;min-height:46px;max-height:180px;padding:12px 13px;border:1px solid var(--line);border-radius:8px;outline:0;color:var(--ink);line-height:1.35;background:#fffdf9;resize:vertical;box-shadow:inset 0 1px #2b322c0a;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.comment-form textarea::placeholder,.comment-edit-form textarea::placeholder{color:#879193}.comment-form textarea:focus,.comment-edit-form textarea:focus{border-color:#2f855a;background:#fff;box-shadow:0 0 0 3px #2f855a29,inset 0 1px #2b322c0a}.comment-form .primary-action{min-height:46px;padding:0 14px}.right-rail{position:sticky;top:28px;display:grid;gap:16px}.panel{padding:18px}.panel-title{display:flex;align-items:center;gap:8px;margin-bottom:16px;font-weight:800}.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stats-panel-three .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.right-rail .stats-panel-three .stat-grid{gap:8px}.right-rail .stats-panel-three .stat-grid div{min-height:76px;padding:12px 10px}.right-rail .stats-panel-three .stat-grid strong{font-size:1.18rem}.stat-grid div{display:grid;gap:5px;min-height:84px;padding:14px;border-radius:8px;background:#f7f5ef}.stat-grid strong{align-self:end;font-size:1.35rem}.people-list{display:grid;gap:12px}.person-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:10px}.person-row button{min-height:34px;padding:0 10px;color:#1d3528;background:#e7efe6}.challenge-panel p{margin:8px 0 12px;color:#445156}.challenge-panel .challenge-badge-preview{margin-bottom:12px}.devlog-page{display:grid;gap:16px}.devlog-intro{display:grid;gap:8px}.devlog-intro .panel-title{margin-bottom:0}.devlog-intro p,.devlog-entry p,.devlog-entry time{color:var(--muted)}.devlog-intro p,.devlog-entry p{margin:0}.devlog-list,.devlog-entry{display:grid;gap:14px}.devlog-entry-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.devlog-entry h2{margin-top:5px;font-size:1.35rem;line-height:1.15}.devlog-entry time{flex:0 0 auto;font-size:.84rem;font-weight:800}.devlog-entry ul{display:grid;gap:10px;margin:0;padding-left:20px;color:#334247}.devlog-entry li::marker{color:var(--green)}.progress-track,.bar-track{overflow:hidden;border-radius:999px;background:#ece7dd}.progress-track{height:9px;margin-bottom:8px}.progress-track span,.bar-track span{display:block;height:100%;border-radius:inherit;background:#2f855a}.log-form{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:22px;align-items:start}.tracked-work-summary{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;grid-column:1 / -1;padding:12px 14px;border:1px solid rgba(47,133,90,.22);border-radius:8px;color:#1d3528;background:#f4fbf5;font-weight:800}.tracked-work-summary>svg{color:#1d6a4a}.tracked-work-summary div{display:grid;gap:3px;min-width:0}.tracked-work-summary span{color:var(--muted);font-size:.9rem;font-weight:700;line-height:1.35;overflow-wrap:anywhere}.form-section{display:grid;gap:18px;padding:22px}.section-heading p{margin:6px 0 0;color:var(--muted)}.type-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.type-picker button{display:grid;gap:5px;justify-items:center;min-height:62px;padding:9px 8px;border:1px solid var(--line);border-radius:8px;color:#445156;background:#fbfaf6}.type-picker button svg{width:18px;height:18px}.type-picker button.selected{border-color:#22342d;color:#173127;background:#e7efe6}.form-section label:not(.drop-zone){display:grid;gap:8px;font-weight:800}.form-section label>span small,.entry-edit-form label>span small{color:var(--muted);font-size:.82rem;font-weight:700}.form-section input,.form-section textarea{width:100%;border:1px solid var(--line);border-radius:8px;outline:0;color:var(--ink);background:#fffdf9}.form-section input::placeholder,.form-section textarea::placeholder,.entry-edit-form input::placeholder,.entry-edit-form textarea::placeholder{color:#8f999c;opacity:.62}.form-section input{min-height:46px;padding:0 13px}.form-section textarea{resize:vertical;padding:13px}.form-section input:focus,.form-section textarea:focus,.search-box:focus-within{border-color:#2f855a;box-shadow:0 0 0 3px #2f855a29}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.unit-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.unit-input input{min-width:0}.unit-input>span{display:inline-flex;align-items:center;min-height:46px;padding:0 10px;color:var(--muted);font-size:.88rem;font-weight:800}input[type=range]{accent-color:#2f855a}.media-uploader{position:sticky;top:28px}.drop-zone{display:grid;min-height:220px;place-items:center;gap:8px;padding:24px;border:2px dashed #c9c2b5;border-radius:8px;color:#445156;text-align:center;background:linear-gradient(#ffffffc7,#ffffffc7),url(https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=900&q=80) center / cover}.drop-zone input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.upload-note{margin:0;color:var(--muted)}.upload-preview{display:grid;gap:10px}.upload-preview>div{display:grid;gap:6px}.upload-preview .media-image,.upload-preview .video-frame,.upload-preview .video-frame video{min-height:150px;max-height:180px}.upload-preview span{display:inline-flex;align-items:center;gap:5px;overflow-wrap:anywhere;font-size:.82rem}.submit-action{width:100%}.profile-layout{display:grid;gap:18px}.profile-layout .stats-panel .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-hero{position:relative;min-height:320px;overflow:hidden;border-radius:8px;box-shadow:var(--shadow)}.profile-hero>img{width:100%;height:100%;min-height:320px;object-fit:cover}.profile-overlay{position:absolute;inset:auto 0 0;display:grid;grid-template-columns:96px minmax(0,1fr) auto;align-items:center;gap:16px;padding:24px;color:#fff;background:linear-gradient(0deg,#000000b8,#0000)}.profile-avatar{width:96px;height:96px;border:4px solid white;border-radius:50%;object-fit:cover}.profile-overlay h2{font-size:2rem}.profile-overlay span{color:#ffffffdb}.profile-bio{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px}.profile-bio-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start;flex:1 1 auto}.profile-bio p{max-width:680px;margin:0;color:#445156;line-height:1.55}.icon-action{display:inline-grid;width:36px;height:36px;place-items:center;border:0;border-radius:8px;color:#1d3528;background:#e7efe6}.profile-bio-form{display:grid;flex:1 1 auto;gap:10px}.profile-bio-form label{display:grid;gap:7px;color:var(--muted);font-size:.82rem;font-weight:700}.profile-bio-form textarea{width:100%;border:1px solid var(--line);border-radius:8px;padding:12px;color:var(--ink);background:#fffdf9;resize:vertical}.profile-bio-form textarea:focus{outline:0;border-color:#2f855a;box-shadow:0 0 0 3px #2f855a29}.profile-counts{display:flex;flex-wrap:wrap;gap:10px}.profile-count-button{display:grid;min-width:112px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;color:inherit;text-align:left;background:#f7f5ef}.profile-count-button:hover,.profile-count-button:focus-visible{border-color:#b9cfb4;background:#e7efe6}.profile-count-button strong{font-size:1.4rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;display:grid;place-items:center;padding:20px;background:#1420196b;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.follow-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(420px,100%);max-height:min(560px,calc(100vh - 40px));overflow:hidden;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.confirmation-modal{display:grid;gap:16px;width:min(440px,100%);padding:18px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.confirmation-modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0}.confirmation-modal-header h2{margin:0;font-size:1.15rem}.confirmation-modal p{margin:0;color:var(--muted);line-height:1.5}.confirmation-modal-close{flex:0 0 auto}.confirmation-modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.media-viewer-backdrop{background:#070c09b8}.media-viewer-modal{display:grid;grid-template-rows:auto minmax(0,1fr);width:calc(100vw - 40px);height:calc(100vh - 40px);height:calc(100dvh - 40px);overflow:hidden;border:1px solid rgba(255,255,255,.12);border-radius:8px;background:#101612;box-shadow:var(--shadow)}.media-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:14px 16px;color:#fff;background:#142019}.media-viewer-title{display:grid;min-width:0;gap:3px}.media-viewer-title h2{overflow:hidden;margin:0;font-size:1rem;text-overflow:ellipsis;white-space:nowrap}.media-viewer-title span{color:#b9c5bd;font-size:.86rem}.media-viewer-close{flex:0 0 auto;color:#fff;background:#ffffff24}.media-viewer-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:center;min-height:0;padding:16px;background:#0f1511}.media-viewer-media{display:grid;width:100%;height:100%;min-width:0;min-height:0;place-items:center}.media-viewer-media img,.media-viewer-media video{max-width:100%;max-height:100%;width:100%;height:100%;border-radius:8px;object-fit:contain;background:#070a08}.media-viewer-nav{position:absolute;top:50%;z-index:2;display:grid;width:46px;height:46px;place-items:center;border:0;border-radius:8px;color:#fff;background:#0f1511b8;transform:translateY(-50%)}.media-viewer-nav:first-child{left:28px}.media-viewer-nav:last-child{right:28px}.media-viewer-nav:disabled{cursor:not-allowed;opacity:.32}.media-viewer-nav:not(:disabled):hover,.media-viewer-close:hover{background:#ffffff3d}.follow-modal-header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;border-bottom:1px solid var(--line)}.follow-modal-header h2{margin:0;font-size:1.15rem}.follow-modal-header span,.follow-list-row span,.modal-empty,.modal-hidden-note{color:var(--muted)}.follow-list{display:grid;gap:2px;overflow:auto;padding:8px}.follow-list-row{display:grid;grid-template-columns:44px minmax(0,1fr);gap:11px;align-items:center;padding:10px;border-radius:8px}.follow-list-row:hover{background:#f7f5ef}.follow-list-row div{display:grid;min-width:0;gap:2px}.follow-list-row span{overflow-wrap:anywhere;font-size:.84rem}.modal-empty{margin:0;padding:18px}.modal-hidden-note{margin:0;padding:0 18px 18px}.chart-panel{display:grid;gap:4px}.bar-list{display:grid;gap:13px}.bar-row{display:grid;grid-template-columns:140px minmax(0,1fr) 74px;align-items:center;gap:12px}.bar-row>span{display:inline-flex;align-items:center;gap:7px;font-weight:750}.bar-track{height:12px}.bar-row strong{text-align:right;font-size:.88rem}.profile-activity-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.activity-chart-panel{display:grid;gap:14px;min-width:0}.activity-chart-panel .panel-title{margin-bottom:0}.chart-summary{display:grid;align-content:center;height:72px;overflow:hidden;gap:4px;padding:12px 14px;border-radius:8px;background:#f7f5ef}.chart-summary strong{font-size:1.12rem}.chart-summary span,.chart-empty{color:var(--muted);font-size:.9rem;line-height:1.4}.chart-empty{margin:0}.hour-chart,.cadence-chart{display:grid;align-items:end;height:160px;gap:4px;padding:10px 8px 0;border-bottom:1px solid var(--line)}.hour-chart{grid-template-columns:repeat(24,minmax(0,1fr))}.cadence-chart{grid-template-columns:repeat(30,minmax(0,1fr))}.hour-chart-bar,.cadence-day{display:flex;align-items:flex-end;justify-content:center;height:100%;min-width:0;overflow:hidden;border-radius:999px 999px 0 0;background:#f1eee8}.cadence-day.active{background:#e7eef4}.hour-chart-bar span,.cadence-day span{display:block;width:100%;border-radius:inherit;background:#2f855a}.hour-chart-bar span{max-width:12px}.cadence-day span{background:#2878bd}.hour-chart-axis,.cadence-axis{display:flex;justify-content:space-between;gap:8px;color:var(--muted);font-size:.74rem;font-weight:800}@media(max-width:900px){.profile-activity-charts{grid-template-columns:1fr}}@media(max-width:560px){.hour-chart,.cadence-chart{height:130px;gap:3px;padding-inline:4px}.hour-chart-axis,.cadence-axis{font-size:.68rem}}.profile-feed{max-width:820px}.settings-layout{display:grid;gap:18px;max-width:860px}.settings-panel{display:grid;gap:18px;padding:20px}.settings-section-header{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px}.settings-section-header h2,.settings-section-header p,.danger-copy,.delete-message{margin:0}.settings-section-header p,.settings-account-copy span,.settings-account-copy small,.danger-copy{color:var(--muted)}.settings-icon{display:grid;width:44px;height:44px;place-items:center;border-radius:8px;color:#1d3528;background:#e7efe6}.settings-icon.danger{color:#9b2c3b;background:#fce8eb}.settings-account-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:14px;padding-top:16px;border-top:1px solid var(--line)}.settings-preference-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding-top:16px;border-top:1px solid var(--line)}.settings-preference-row .language-switcher{justify-self:end}.mobile-install-button{width:auto;min-height:42px;white-space:nowrap}.settings-toggle-list{display:grid;gap:10px;padding-top:16px;border-top:1px solid var(--line)}.settings-toggle-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px;border:1px solid var(--line);border-radius:8px;background:#fbfaf6;cursor:pointer}.settings-toggle-row input{width:20px;height:20px;accent-color:var(--green)}.settings-toggle-row input:disabled{cursor:wait}.settings-toggle-copy{display:grid;min-width:0;gap:4px}.settings-toggle-copy small,.settings-privacy-status{color:var(--muted)}.settings-privacy-status{margin:0}.settings-avatar{width:58px;height:58px;border-radius:50%;object-fit:cover}.settings-account-copy{display:grid;min-width:0;gap:3px}.settings-account-copy strong,.settings-account-copy span,.settings-account-copy small{overflow-wrap:anywhere}.settings-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.settings-actions .secondary-action{width:auto;min-height:40px}.danger-zone{border-color:#ecc7c7}.settings-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.settings-facts span{display:grid;gap:5px;min-height:74px;padding:12px;border-radius:8px;color:var(--muted);background:#f7f5ef}.settings-facts strong{color:var(--ink);font-size:1.3rem}.delete-account-form{display:grid;gap:12px;padding-top:16px;border-top:1px solid #ecc7c7}.delete-account-form label{display:grid;gap:8px;font-weight:800}.delete-account-form input{width:100%;min-height:46px;padding:0 13px;border:1px solid var(--line);border-radius:8px;outline:0;color:var(--ink);background:#fffdf9}.delete-account-form input:focus{border-color:#b94b4b;box-shadow:0 0 0 3px #b94b4b29}.danger-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:fit-content;min-height:44px;padding:0 16px;border:0;border-radius:8px;color:#fff;font-weight:800;background:#9b2c3b}.delete-message{color:#8b2f2f;font-weight:750}.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.crew-card{overflow:hidden}.crew-body{display:grid;gap:12px;padding:18px}.crew-body h2{font-size:1.35rem}.crew-body p{min-height:72px;margin:0;color:#445156;line-height:1.5}.crew-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.crew-stats span{display:grid;gap:3px;min-height:70px;padding:10px;border-radius:8px;background:#f7f5ef;font-size:.78rem;color:var(--muted)}.crew-stats strong{font-size:1.05rem;color:var(--ink)}.secondary-action{width:100%;padding:0 12px;color:#1d3528;background:#e7efe6}.secondary-action.selected{color:#26424f;background:#e4edf4}@media(max-width:1100px){.app-shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;padding:14px;border-right:0;border-bottom:1px solid var(--line)}.nav-list{grid-template-columns:repeat(5,minmax(0,1fr))}.mini-summary{display:none}.content-grid,.log-form{grid-template-columns:1fr}.media-viewer-stage{padding:10px}.media-viewer-nav{width:40px;height:40px}.media-viewer-nav:first-child{left:18px}.media-viewer-nav:last-child{right:18px}.right-rail,.media-uploader{position:static}.explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.main-panel{padding:18px}.topbar,.hero-strip,.profile-bio{align-items:stretch;flex-direction:column}.hero-actions{width:100%}.tracked-work-summary{grid-template-columns:38px minmax(0,1fr)}.tracked-work-summary .tracker-action{grid-column:1 / -1}.tracker-action:not(.ghost){flex:1 1 160px}.topbar{display:grid;grid-template-columns:minmax(0,1fr);justify-items:stretch;width:100%;position:relative}.topbar>*{min-width:0}.topbar-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;justify-content:stretch;justify-self:stretch;width:100%;min-width:0}.topbar-actions .search-box{grid-column:1 / -1;grid-row:1}.topbar-actions .profile-menu{grid-column:1;grid-row:2;justify-self:stretch;width:100%;min-width:0}.topbar-actions .notification-menu{grid-column:2;grid-row:2;justify-self:end;width:44px}.topbar-actions-compact{grid-template-columns:minmax(0,1fr) auto;justify-content:stretch;justify-self:stretch;width:100%}.topbar-actions-compact .notification-menu,.topbar-actions-compact .profile-menu{grid-row:1}.search-box{width:100%}.profile-menu,.notification-menu{position:static}.profile-menu-trigger{width:100%;max-width:none;min-width:0;justify-content:flex-start;padding:0 10px 0 6px}.profile-menu-trigger span{display:block}.profile-menu-trigger>svg{flex:0 0 auto;margin-left:auto}.profile-dropdown,.notification-dropdown{top:calc(100% + 10px);right:0;left:0;width:auto;max-height:calc(100vh - 120px)}.profile-dropdown{overflow-y:auto}.nav-list{grid-template-columns:repeat(2,minmax(0,1fr))}.nav-list button{justify-content:center}.hero-strip{min-height:auto;padding:18px}.type-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.field-grid,.stat-grid,.explore-grid,.editable-media-grid{grid-template-columns:1fr}.profile-overlay{grid-template-columns:74px minmax(0,1fr)}.profile-overlay .primary-action,.profile-overlay .secondary-action{grid-column:1 / -1}.profile-avatar{width:74px;height:74px}.settings-account-row,.settings-preference-row,.settings-toggle-row,.settings-facts{grid-template-columns:1fr}.settings-preference-row .language-switcher{justify-self:start}.mobile-install-row{grid-template-columns:1fr}.mobile-install-button{width:100%}.settings-actions{justify-content:stretch}.settings-actions .secondary-action,.danger-action{width:100%}.bar-row{grid-template-columns:1fr;gap:6px}.bar-row strong{text-align:left}}@media(max-width:440px){.main-panel,.entry-card,.panel,.form-section,.profile-bio,.settings-panel{padding:14px}.activity-back-button{width:100%}.entry-header{align-items:flex-start}.entry-header{flex-wrap:wrap}.comment-form{grid-template-columns:1fr}.comment-form .primary-action{width:100%}.comment-meta{align-items:flex-start}.comment-edit-actions .secondary-action,.comment-edit-actions .primary-action{flex:1 1 120px}}.auth-panel{display:grid;gap:12px;padding:14px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}.auth-panel p,.muted-copy{margin:0;color:var(--muted);font-size:.86rem;line-height:1.45}.auth-status{display:inline-flex;align-items:center;gap:8px;min-height:32px;color:#6f532c;font-weight:800}.auth-status.connected{color:#1d6a4a}.local-db-status{position:fixed;right:18px;bottom:18px;z-index:30;display:inline-flex;align-items:center;gap:8px;min-height:34px;padding:0 12px;border:1px solid rgba(29,106,74,.2);border-radius:999px;color:#1d6a4a;font-size:.82rem;font-weight:800;background:#faf8f2f0;box-shadow:0 10px 28px #1f2a2429;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.auth-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.auth-tabs button,.auth-form button,.auth-secondary{border:0;border-radius:8px;min-height:36px;font-weight:800}.auth-tabs button{color:var(--muted);background:#f4f1eb}.auth-tabs button.active,.auth-form button,.auth-secondary{color:#1d3528;background:#e7efe6}.auth-form{display:grid;gap:8px}.auth-form input{width:100%;min-height:38px;padding:0 10px;border:1px solid var(--line);border-radius:8px;outline:0;background:#fffdf9}.auth-form input:focus{border-color:#2f855a;box-shadow:0 0 0 3px #2f855a29}.auth-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px}.language-switcher{display:inline-grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;width:fit-content;padding:4px;border:1px solid var(--line);border-radius:8px;background:#f4f1eb}.language-switcher button{min-width:44px;min-height:32px;padding:0 10px;border:0;border-radius:6px;color:var(--muted);font-weight:800;background:transparent}.language-switcher button.active{color:#1d3528;background:#e7efe6}.spin{animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.sync-banner{display:flex;align-items:center;gap:10px;margin-bottom:18px;padding:12px 14px;border:1px solid #d7c7a8;border-radius:8px;color:#684b1f;background:#fff7e6;font-weight:750}.sync-banner.error{border-color:#ecc7c7;color:#8b2f2f;background:#fff0f0}.sync-banner.offline{border-color:#bed8d2;color:#225b50;background:#eef8f5}.sync-banner.form-wide{grid-column:1 / -1;margin-bottom:0}.empty-state{display:grid;gap:8px;padding:22px;border:1px dashed #c9c2b5;border-radius:8px;background:#ffffffb8}.empty-state h2,.empty-state p{margin:0}.empty-state p{color:var(--muted)}.empty-state.full-span{grid-column:1 / -1}button:disabled{cursor:not-allowed;opacity:.62}.owner-actions{position:relative;flex:0 0 auto;margin-left:auto}.owner-menu-trigger{display:grid;width:36px;height:36px;place-items:center;border:0;border-radius:8px;color:#284037;background:#e7efe6}.owner-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:35;display:grid;gap:4px;width:172px;padding:8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.owner-menu button{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;min-height:38px;padding:0 10px;border:0;border-radius:8px;color:#284037;font-weight:800;background:transparent}.owner-menu button:hover{background:#e7efe6}.owner-menu button.danger{color:#8f3030}.owner-menu button.danger:hover{background:#fae8e8}.entry-card.editing{border-color:#b9cfb4}.entry-edit-form{display:grid;gap:14px;margin-top:16px}.entry-edit-form label{display:grid;gap:7px;font-weight:800}.entry-edit-form input,.entry-edit-form textarea,.entry-edit-form select{width:100%;border:1px solid var(--line);border-radius:8px;outline:0;color:var(--ink);background:#fffdf9}.entry-edit-form input,.entry-edit-form select{min-height:44px;padding:0 12px}.entry-edit-form textarea{resize:vertical;padding:12px}.entry-edit-form input:focus,.entry-edit-form textarea:focus,.entry-edit-form select:focus{border-color:#2f855a;box-shadow:0 0 0 3px #2f855a29}.compact-fields{margin:0}.edit-actions{display:flex;justify-content:flex-end;gap:10px}.edit-actions .primary-action,.edit-actions .secondary-action{width:auto;min-height:40px}.entry-edit-media{display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:8px;background:#fbfaf6}.edit-media-header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-weight:800}.entry-edit-form .media-add-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 11px;border-radius:8px;color:#1d3528;background:#e7efe6;cursor:pointer}.media-add-button input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.editable-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.editable-media-item{display:grid;gap:7px}.editable-media-caption{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}.editable-media-caption span{min-width:0}.media-remove{width:32px;height:32px;color:#8f3030;background:#fae8e8}.auth-screen{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,440px);gap:28px;width:min(1120px,100%);min-height:100vh;margin:0 auto;padding:28px;align-items:stretch}.auth-screen.loading-screen{grid-template-columns:minmax(280px,420px);place-content:center}.auth-hero-panel,.auth-card{border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:var(--shadow)}.auth-hero-panel{display:flex;flex-direction:column;justify-content:space-between;min-height:620px;padding:30px;color:#fff;background:linear-gradient(90deg,#142019e6,#14201957),url(https://images.unsplash.com/photo-1556911220-bff31c812dba?auto=format&fit=crop&w=1400&q=80) center / cover}.auth-hero-panel .brand span,.auth-hero-panel .eyebrow,.auth-hero-panel p{color:#ffffffdb}.auth-hero-panel h1{max-width:640px;margin:10px 0 16px;font-size:clamp(2.5rem,7vw,6.2rem);line-height:.9}.auth-hero-panel p{max-width:520px;margin:0;line-height:1.55}.auth-card{display:grid;align-content:center;gap:22px;padding:28px}.auth-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.auth-card.compact{min-height:220px}.auth-card h2{margin:6px 0 0;font-size:2.2rem}.auth-tabs.large button{min-height:44px}.auth-form-large label{display:grid;gap:7px;font-weight:800}.auth-form-large input{min-height:46px}.auth-submit{width:100%;margin-top:4px}.auth-message{margin:0;color:var(--muted);line-height:1.45}@media(max-width:860px){.auth-screen{grid-template-columns:1fr;padding:18px}.auth-hero-panel{min-height:420px}}@media(max-width:560px){.owner-actions{margin-left:auto}.auth-screen{padding:14px}.auth-hero-panel,.auth-card{padding:20px}.auth-card-heading{align-items:stretch;flex-direction:column}}.profile-hero{min-height:auto;padding:24px;overflow:visible;background:linear-gradient(135deg,#fdfbf7,#eef5eb)}.profile-overlay{position:static;display:grid;grid-template-columns:112px minmax(0,1fr) auto;color:var(--ink);background:transparent;padding:0}.profile-overlay span{color:var(--muted)}.avatar-editor{position:relative;width:112px;height:112px}.avatar-editor .profile-avatar{width:112px;height:112px;border:4px solid var(--surface);box-shadow:0 12px 28px #2b322c29}.avatar-upload{position:absolute;right:4px;bottom:4px;display:grid;width:38px;height:38px;place-items:center;border:2px solid var(--surface);border-radius:50%;color:#fff;background:#22342d;cursor:pointer}.avatar-upload input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}@media(max-width:720px){.profile-overlay{grid-template-columns:88px minmax(0,1fr)}.avatar-editor,.avatar-editor .profile-avatar{width:88px;height:88px}}
