@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;650;700;750;800&display=swap');
:root{font-family:Inter,system-ui,sans-serif;color:#3a1415;background:#fbf4f4;--muted:#8a6761;--blue:#e7171d;--line:#f3e5e3}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,label.file-label{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}h1,h2,p{margin:0}[hidden]{display:none!important}svg{width:20px;height:20px;display:block;flex:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #fd565b;outline-offset:3px}
.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:5;padding:24px 16px}.brand{display:flex;align-items:center;gap:11px;padding:0 5px;font-weight:800;letter-spacing:-.62px;white-space:nowrap}.brand-icon{background:#e31b21;color:#fff;border-radius:11px;padding:9px;box-shadow:0 4px 9px #dc232935}.brand-icon svg{width:22px;height:22px}.accent{color:var(--blue)}.brand small{display:block;color:#8c6963;letter-spacing:1.35px;font-size:10px;margin-top:4px;font-weight:750}.menu-label{font-size:11px;letter-spacing:1.15px;color:#916d67;font-weight:750;margin:43px 10px 13px}nav{display:grid;gap:5px}nav a{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;color:#7b5852;border-radius:9px;padding:13px 11px}nav a:hover{background:#fdf2f2}nav a.active{background:#ffeaeb;color:#d6191f}.profile{margin-top:auto;border-top:1px solid var(--line);padding:18px 3px 0;display:flex;align-items:center;gap:10px;min-width:0;font-size:14px}.profile>span:last-child{min-width:0}.profile strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile small,.quick small{display:block;color:var(--muted);font-size:13px;margin-top:4px}.avatar{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:50%;background:#ffe5e6;color:#d51a20;font-size:13px;font-weight:800}.workspace{margin-left:244px}.topbar{height:67px;display:flex;align-items:center;gap:14px;padding:0 32px;background:#fff;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px}.breadcrumb span{margin:0 9px;color:#aa8e89}.breadcrumb strong{color:#3d1e18}.top-avatar{margin-left:auto;width:34px;height:34px}#menu{display:none}main{max-width:1384px;margin:auto;padding:26px 32px 55px}
.hero{position:relative;isolation:isolate;overflow:hidden;min-height:220px;display:flex;align-items:center;border-radius:16px;background:linear-gradient(107deg,#741013 0%,#aa1519 56%,#e6252b 100%);color:white;padding:30px 34px}.hero-copy{position:relative;z-index:1}.eyebrow{display:inline-flex;align-items:center;gap:8px;background:#ffffff18;border:1px solid #ffffff2b;border-radius:20px;padding:6px 10px;font-size:10px;letter-spacing:1.35px;font-weight:750;color:#ffe9ea}.eyebrow span{width:6px;height:6px;background:#ff8c8f;border-radius:50%}.hero h1{font-size:clamp(32px,4vw,46px);letter-spacing:-.05em;line-height:1.12;margin:13px 0 9px}.hero p{font-size:16px;line-height:1.6;color:#ffe0e1}.hero-art{position:absolute;right:3%;top:50%;transform:translateY(-50%);width:35%;height:320px;display:grid;place-items:center}.hero-art i{position:absolute;border:1px solid #ffc4c63d;transform:rotate(-26deg) skewX(10deg);border-radius:62px;width:270px;height:146px;background:linear-gradient(135deg,#ff8f9222,#ff717505)}.hero-art i:nth-child(2){width:333px;height:189px}.hero-art i:nth-child(3){width:401px;height:228px}.hero-art>span{background:#ffb3b535;border:1px solid #ffc8ca80;box-shadow:0 24px 58px #66101370;border-radius:24px;transform:rotate(-13deg);padding:20px;color:#ffdcdd}.hero-art svg{width:55px;height:55px}
.columns{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:23px;margin-top:22px}.card{background:white;border:1px solid var(--line);border-radius:13px;box-shadow:0 2px 6px #4c191b05}.composer{padding:16px}.compose-line{display:flex;gap:11px;align-items:flex-start}.compose-line textarea{width:100%;border:1px solid #f5e9e7;background:#fbf6f5;border-radius:10px;min-height:42px;padding:10px 13px;resize:vertical;color:inherit}.compose-line textarea::placeholder{color:#8b6963;font-size:14px}.compose-actions{display:flex;align-items:center;gap:15px;margin-top:13px;padding-top:12px;border-top:1px solid #f5eceb}.compose-actions .primary{margin-left:auto}.primary{border:0;border-radius:8px;background:var(--blue);color:white;font-weight:700;padding:10px 16px;font-size:14px}.primary:hover{background:#c71217}.subtle,.file-label,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;background:transparent;color:#7e5851;font-size:14px;font-weight:650;padding:7px 3px;cursor:pointer}.subtle:hover,.file-label:hover,.subtle[aria-pressed=true]{color:var(--blue)}.file-label{position:relative}.file-label:focus-within{outline:2px solid #fd565b}.file-label svg{color:#df252b}.file-label input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.subtle svg,.file-label svg{width:18px;height:18px}.compose-actions .subtle svg{color:#dd5054}#compose-preview{margin-top:12px;font-size:13px;color:var(--muted);display:flex;gap:10px;align-items:center}#compose-preview img{height:55px;border-radius:7px}
.feed-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:23px 0 12px}h2{font-size:17px;letter-spacing:-.025em}.filter select{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2361718a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 8px center no-repeat;border:1px solid var(--line);padding:8px 27px 8px 10px;border-radius:8px;color:#6e4740;font-size:13px}
.post{margin-bottom:14px;padding:15px}.post-head{display:flex;align-items:center;gap:9px}.post-head strong{display:block;font-size:14px}.post-head time{font-size:12px;color:var(--muted)}.badge{margin-left:auto;border-radius:15px;padding:5px 8px;font-weight:700;font-size:11px;background:#ffe8e9;color:#bd393d}.post p,.resource p{font-size:15px;line-height:1.55;margin:12px 0;white-space:pre-wrap;overflow-wrap:anywhere}.post-art{width:100%;display:block;padding:0;border:0;background:#530d0f;border-radius:9px;overflow:hidden;text-align:left;position:relative}.post-art img{width:100%;max-height:480px;object-fit:contain}.sample img{min-height:185px;object-fit:cover}.sample-copy{position:absolute;left:5%;top:50%;transform:translateY(-50%);color:white}.sample-copy small{color:#ffaaad;font-size:10px;font-weight:800;letter-spacing:1.3px}.sample-copy strong{display:block;letter-spacing:-.04em;font-size:clamp(20px,3vw,36px);line-height:1.07;margin-top:6px}.post-actions{border-top:1px solid var(--line);margin-top:12px;padding-top:5px;display:flex;gap:24px}.post-actions button[aria-pressed=true]{color:var(--blue)}.post-actions button[aria-pressed=true] svg{fill:#ffc4c6}.comment-box{border-top:1px solid var(--line);margin-top:8px;padding-top:8px}.comment-box form{display:flex;gap:8px;margin-top:10px}.comment-box input{min-width:0;flex:1}.comment{margin:7px 0;background:#fcf3f3;border-radius:8px;padding:8px 10px;overflow-wrap:anywhere;font-size:14px}.comment p{margin:3px 0}.sample-notice{font-size:13px;color:var(--muted);margin-top:10px}
.quick{padding:17px}.quick>p,.note p,.section-heading p{color:var(--muted);line-height:1.5;font-size:14px;margin-top:5px}.quick a{display:flex;align-items:center;gap:10px;border-top:1px solid #f6eeed;padding:11px 0;font-size:14px}.quick a:first-of-type{margin-top:10px}.quick a:last-child{padding-bottom:0}.quick a:hover strong{color:var(--blue)}.quick small{font-size:12px}.tile{display:grid;place-items:center;width:37px;height:37px;border-radius:9px;flex:none}.blue{color:#d91b21;background:#ffeaeb}.violet{color:#d44347;background:#ffeaeb}.teal{color:#087f7c;background:#e4f7f4}.amber{color:#946000;background:#fff2d9}.chevron{margin-left:auto;color:#ae8d87}.chevron svg{width:15px}.note{display:flex;gap:10px;padding:15px;margin-top:15px;background:#ffedee;border-color:#fcdbdc}.note h2{font-size:14px}.note p{font-size:13px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:7px 0 23px}.section-heading h1{font-size:34px;letter-spacing:-.045em}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,245px),1fr));gap:15px}.resource{padding:15px;min-width:0}.resource .post-art{margin-bottom:14px}.resource .post-art img{height:210px;object-fit:contain}.resource a{color:var(--blue);font-size:14px;font-weight:700;display:inline-block;margin-top:9px}.empty{padding:23px;color:var(--muted);grid-column:1/-1}.dialog-head,.dialog-actions{display:flex;justify-content:space-between;align-items:center;gap:12px}dialog{border:0;box-shadow:0 15px 70px #45111355;border-radius:14px;color:#3a1415;padding:22px;width:min(480px,calc(100% - 30px))}dialog::backdrop{background:#351112aa}dialog label{display:grid;gap:6px;margin:13px 0;font-weight:650;font-size:14px}input:not([type=file]),dialog textarea{padding:10px;border:1px solid #e8d3cf;border-radius:8px;color:inherit;background:white}dialog input[type=file]{width:100%;font-size:14px}#image-dialog{width:auto;max-width:94vw;padding:12px}#image-dialog .icon-button{display:flex;margin:0 0 8px auto}#image-dialog img{max-height:78vh;object-fit:contain}#toast{position:fixed;right:20px;bottom:20px;background:#5c1517;color:white;z-index:20;padding:12px 17px;border-radius:9px;max-width:calc(100% - 40px);font-size:14px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1120px){.sidebar{width:215px}.workspace{margin-left:215px}.columns{grid-template-columns:minmax(0,1fr) 258px;gap:16px}main,.topbar{padding-left:22px;padding-right:22px}}
@media(max-width:920px){.columns{grid-template-columns:minmax(0,1fr)}.right{display:none}.hero-art{right:6%}}
@media(max-width:690px){.sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:0 12px 45px #4e1b1d30}.sidebar.open{transform:translateX(0)}.workspace{margin-left:0}#menu{display:inline-flex}.topbar{height:57px;padding:0 14px}.breadcrumb{font-size:13px}main{padding:14px 12px 30px}.hero{min-height:175px;padding:19px}.hero p{font-size:14px}.hero-art{opacity:.34;right:-9%}.desktop{display:none}.compose-actions{gap:9px}.section-heading h1{font-size:26px}.section-heading{align-items:flex-start}.section-heading button{white-space:nowrap}}
.gate{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at top,#fff0f1,#faf7f7 60%)}
.gate-card{width:min(100%,490px);padding:28px}.gate-card h1{font-size:29px;margin:20px 0 10px;letter-spacing:-.04em}.gate-card p,.admin-page p{line-height:1.55;color:var(--muted);margin:9px 0}.gate-card form{margin-top:17px;display:grid;gap:12px}.gate-card label{display:grid;gap:5px;font-weight:650}.gate-card .primary{display:inline-block;margin-top:8px;text-align:center}.gate-card .brand small,.brand small.accent{color:var(--blue)}.gate-card .error{color:#a51020}.admin-link{margin-top:15px;padding:10px;font-size:14px;font-weight:700;color:var(--blue)}.admin-page{max-width:860px}.admin-page h1{margin:18px 0 8px}.admin-page h2{margin:18px 0 8px}.request-row{padding:13px 0;border-top:1px solid var(--line);display:flex;gap:14px;justify-content:space-between;align-items:center;flex-wrap:wrap}.request-row small{display:block;color:var(--muted);margin-top:4px}.request-row form{display:flex;align-items:center;gap:10px}.request-list{padding:12px 18px}.catalog-group{grid-column:1/-1;margin-top:8px}.material-actions{margin-top:8px}.material-actions a{color:var(--blue)}.resource .post-art img{background:#fff}

.sidebar{overflow-y:auto}
.admin-link{display:flex;align-items:center;gap:8px;margin-top:4px;padding:9px 10px;border:0;border-radius:9px;background:none;text-align:left}
.admin-link:hover,.profile:hover{background:#fdf2f2}
.admin-link svg{width:17px;height:17px}
.profile{padding:14px 7px 7px;border-radius:0 0 8px 8px}
.profile.active{color:#bd171b}
.profile strong{max-width:156px}
.top-avatar:hover{box-shadow:0 0 0 3px #ffdadd}
.delete-post{margin-left:auto;padding:6px;border-radius:9px}
.badge+.delete-post{margin-left:0}
.delete-post:hover{color:#c31b20;background:#fff0f0}
#delete-dialog p{font-size:14px;line-height:1.5;margin:14px 0;color:var(--muted)}
#add-resource,.download{display:inline-flex;align-items:center;gap:7px}
#add-resource svg,.download svg{width:17px;height:17px}
.resource .download{display:inline-flex;margin-top:0}
.download:hover{text-decoration:underline;text-underline-offset:3px}
.link-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.direct-link{display:flex;align-items:center;gap:12px;padding:14px;min-width:0}
.direct-link:hover{background:#fff9f9;border-color:#f3c4c5}
.direct-link>span:nth-child(2){flex:1;min-width:0}
.direct-link strong,.direct-link small{display:block;overflow-wrap:anywhere}
.direct-link strong{font-size:15px}
.direct-link small{margin-top:4px;color:var(--muted);line-height:1.4}
.direct-link>svg{width:17px;height:17px;color:var(--blue)}
.video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.video-card{overflow:hidden;min-width:0}
.video-card video{display:block;width:100%;aspect-ratio:16 / 9;background:#23191a}
.video-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:13px 16px}
.video-actions .download{color:#bd171b}
.profile-card{overflow:hidden;max-width:900px}
.profile-cover{height:clamp(165px,28vw,280px);background:#d71920}
.profile-cover img{width:100%;height:100%;object-fit:cover}
.profile-details{display:flex;flex-wrap:wrap;align-items:center;gap:14px;position:relative;padding:18px clamp(13px,4vw,28px)}
.profile-ring{font-size:24px;width:76px;height:76px;margin-top:-51px;border:4px solid white;box-shadow:0 2px 7px #4c191b19}
.profile-heading{flex:1;min-width:min(100%,100px)}
.profile-heading h2{font-size:22px;overflow-wrap:anywhere}
.profile-heading p{font-size:14px;color:var(--muted);margin-top:4px}
#edit-cover{border:1px solid var(--line);border-radius:8px;padding:8px 12px}
#profile-dialog .color-picker{display:flex;align-items:center;justify-content:space-between;margin:18px 0}
#profile-dialog input[type=color]{width:54px;height:35px;padding:2px}
#profile-dialog .checkbox{display:flex;align-items:center;gap:8px;font-weight:500}
#profile-dialog .dialog-actions{margin-top:20px}
.signout-form{padding:0 clamp(13px,4vw,28px) 16px}
#share-dialog .dialog-actions{justify-content:flex-end}

.avatar{position:relative;overflow:hidden}
.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.profile-buttons{display:flex;flex-wrap:wrap;gap:8px}
#edit-details{border:1px solid var(--line);border-radius:8px;padding:8px 12px}
.profile-reminder{display:flex;align-items:center;gap:12px;padding:14px 16px;margin-bottom:16px;border-color:#f5e4d0}
.profile-reminder>div{flex:1;min-width:0}
.profile-reminder p{font-size:14px;color:var(--muted);line-height:1.45;margin-top:4px}
#details-dialog .checkbox{display:flex;align-items:center;gap:8px;font-weight:500}
.online-preview,.online-card{padding:16px}
.online-preview{margin-bottom:15px}
.online-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
.online-heading .subtle{font-size:13px;padding:0;color:#bd171b}
.online-preview p,.online-card p{color:var(--muted);font-size:14px;line-height:1.5}
.online-preview p{margin-top:10px}
.presence-list{list-style:none;padding:0;margin:9px 0 0}
.online-card .presence-list{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:7px 16px}
.presence-list li{display:flex;align-items:center;gap:9px;padding:7px 0;font-size:14px;min-width:0}
.presence-list li strong{overflow-wrap:anywhere}
.presence-avatar{position:relative;flex:none}
.online-preview .avatar{width:32px;height:32px;font-size:12px}
.online-dot{position:absolute;bottom:-1px;right:-1px;width:11px;height:11px;border-radius:50%;background:#23864c;border:2px solid white}
.birthday-post{border-color:#f1dec6}
.birthday-post .post-head>.avatar{color:#8c4d16;background:#fff0dc}
.birthday-badge{display:inline-flex;align-items:center;gap:5px;background:#fff1dd;color:#8c4d16;white-space:nowrap}
.birthday-badge svg{width:15px;height:15px}
@media(max-width:480px){
  .profile-reminder{flex-wrap:wrap}
  .profile-reminder .primary{margin-left:49px}
  .profile-buttons{flex-basis:100%}
}

.presence-message{margin-left:auto;padding:6px 8px;border-radius:8px;color:#bd171b;white-space:nowrap}
.presence-message:hover{background:#fff0f0}
.chat-layout{display:grid;grid-template-columns:minmax(230px,30%) minmax(0,1fr);height:clamp(385px,calc(100dvh - 203px),740px);overflow:hidden}
.chat-inbox{display:flex;flex-direction:column;min-height:0;border-right:1px solid var(--line)}
.chat-inbox-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;padding:13px 15px;border-bottom:1px solid var(--line)}
.chat-inbox-header .subtle{color:#bd171b;font-size:13px}
.chat-inbox-header .subtle svg{width:15px;height:15px}
.chat-list{overflow-y:auto;overscroll-behavior:contain}
.chat-item{display:flex;align-items:center;gap:9px;padding:12px 15px;border-bottom:1px solid var(--line)}
.chat-item:hover{background:#fff7f7}
.chat-item:focus-visible{outline-offset:-3px}
.chat-item[aria-current=page]{background:#fff0f0}
.chat-item-main{min-width:0;flex:1}
.chat-item-main strong,.chat-item-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-item-main strong{font-size:14px}
.chat-item-main small,.chat-item-date{color:var(--muted);font-size:12px}
.chat-item-main small{margin-top:4px}
.chat-placeholder{align-self:center;justify-self:center;padding:24px;text-align:center;color:var(--muted);line-height:1.55}
.chat-placeholder a{color:#bd171b;text-decoration:underline;text-underline-offset:3px}
.chat-thread{display:flex;flex-direction:column;min-width:0;min-height:0}
.chat-header{display:flex;align-items:center;gap:10px;padding:11px 16px;border-bottom:1px solid var(--line)}
.chat-header h2{overflow-wrap:anywhere}
.chat-back{display:none}
.chat-log{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:15px}
.chat-log:focus-visible{outline:2px solid #fd565b;outline-offset:-3px}
.chat-older{align-self:center;margin:4px 0;color:#bd171b;font-size:13px}
.chat-status{padding:12px 15px;font-size:14px;color:var(--muted);line-height:1.4}
.chat-message{max-width:min(82%,34rem);padding:9px 12px;border-radius:5px 12px 12px 12px;background:#fbf3f1}
.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.45}
.chat-message time{display:block;margin-top:4px;color:var(--muted);font-size:11px;text-align:right}
.chat-mine{align-self:flex-end;border-radius:12px 5px 12px 12px;background:#ffe5e6}
.chat-form{display:flex;align-items:flex-end;gap:9px;padding:11px 15px;border-top:1px solid var(--line)}
.chat-form textarea{flex:1;min-width:0;max-height:8rem;resize:vertical;color:inherit;border:1px solid #e8d3cf;border-radius:9px;padding:9px 11px}
.chat-form .primary{display:inline-flex;align-items:center;gap:7px;min-height:42px}
.chat-form .primary svg{width:17px;height:17px}
@media(max-width:890px){
  .chat-layout{grid-template-columns:minmax(0,1fr);height:clamp(345px,calc(100dvh - 200px),740px)}
  .chat-inbox{border-right:0}
  .chat-layout.with-thread .chat-inbox,.chat-placeholder{display:none}
  .chat-back{display:inline-flex;padding:7px}
}
