:root {
  --ink: #17312c;
  --muted: #687b76;
  --cream: #f4f0e6;
  --paper: #fbfaf5;
  --line: #dcded5;
  --accent: #dc6b45;
  --green: #789b83;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; }
.topbar { height: 82px; padding: 0 max(24px, 5vw); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(23,49,44,.12); }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50% 50% 48% 35%; color: var(--cream); background: var(--ink); font: 700 24px Georgia, serif; }
.brand strong, .brand small { display: block; }.brand strong { letter-spacing: .16em; }.brand small { color: var(--muted); font-size: 11px; margin-top: 2px; }
.connection { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #d2a64b; box-shadow: 0 0 0 4px rgba(210,166,75,.15); }
.status-dot.ready { background: #669676; box-shadow: 0 0 0 4px rgba(102,150,118,.15); }
main { width: min(1160px, calc(100% - 48px)); margin: auto; }
.hero { min-height: 430px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 40px; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 15px 0; font: 500 clamp(46px, 7vw, 83px)/.96 Georgia, serif; letter-spacing: -.04em; }
h1 em { color: var(--accent); font-weight: 400; }
.intro { max-width: 540px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.shape { justify-self: center; width: min(330px, 28vw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 63% 37% 55% 45% / 42% 58% 42% 58%; background: var(--ink); transform: rotate(7deg); box-shadow: 28px 28px 0 #e6bba9; }
.shape span { color: var(--cream); font: 500 clamp(24px,4vw,48px) Georgia, serif; letter-spacing: .15em; transform: rotate(-7deg); }
.dashboard { display: grid; grid-template-columns: 1.25fr .75fr; gap: 20px; margin-bottom: 85px; }
.card { border-radius: 18px; min-height: 215px; padding: 27px; box-shadow: 0 14px 40px rgba(31,48,43,.07); }
.event-card { color: white; background: var(--ink); }.card-heading { display: flex; justify-content: space-between; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: #bdcbc6; }
.live-pill { background: rgba(255,255,255,.1); padding: 6px 10px; border-radius: 99px; }
.event { display: grid; grid-template-columns: 82px 1fr; gap: 24px; align-items: center; margin-top: 25px; }
.date-block { border-right: 1px solid rgba(255,255,255,.2); }.date-block strong { display: block; font: 52px/.9 Georgia,serif; }.date-block span { color: #bdcbc6; font-size: 12px; text-transform: uppercase; }
.event h3 { font: 400 25px Georgia, serif; margin: 0 0 12px; }.event p { margin: 5px 0; color: #c6d0cd; font-size: 14px; }
.stats-card { background: var(--paper); display: grid; grid-template-columns: 1fr 1px 1fr; align-items: center; text-align: center; }.stats-card div { display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }.stats-card .divider { height: 80px; background: var(--line); }.big-number { color: var(--accent); font: 54px Georgia,serif; }
.calendar-section { margin-bottom:85px; }.calendar-title-row { align-items:center; }.calendar-settings label { color:var(--muted); font-size:13px; }.calendar-settings select { margin-left:8px; padding:10px 32px 10px 11px; border:1px solid var(--line); border-radius:9px; background:var(--paper); color:var(--ink); }.calendar-panel { border:1px solid var(--line); border-radius:16px; background:var(--paper); overflow:hidden; box-shadow:0 14px 40px rgba(31,48,43,.05); }.calendar-toolbar { min-height:66px; padding:12px 18px; display:flex; align-items:center; justify-content:space-between; gap:15px; border-bottom:1px solid var(--line); }.view-tabs { display:flex; padding:3px; border-radius:10px; background:#e9e8df; }.view-tab { border:0; background:transparent; padding:8px 13px; }.view-tab.active { background:var(--paper); box-shadow:0 2px 7px rgba(23,49,44,.1); }.calendar-navigation { display:flex; gap:6px; }.calendar-navigation button { padding:8px 12px; }.calendar-period { padding:18px 22px 9px; font:25px Georgia,serif; }.calendar-content { padding:12px 22px 22px; min-height:180px; }.agenda-item { display:grid; grid-template-columns:64px 1fr auto; gap:18px; align-items:center; min-height:82px; border-bottom:1px solid #e5e5dd; }.agenda-item:last-child { border:0; }.agenda-date { text-align:center; color:var(--muted); font-size:11px; text-transform:uppercase; }.agenda-date strong { display:block; color:var(--accent); font:31px Georgia,serif; }.agenda-item h3 { margin:0 0 5px; font:19px Georgia,serif; }.agenda-item p { margin:0; color:var(--muted); font-size:13px; }.agenda-time { color:var(--ink); font-weight:650; font-size:13px; }.calendar-grid { display:grid; border-top:1px solid var(--line); border-left:1px solid var(--line); }.calendar-grid.month-grid { grid-template-columns:repeat(7,1fr); }.calendar-grid.week-grid { grid-template-columns:repeat(7,1fr); }.calendar-weekday { padding:8px 5px; text-align:center; color:var(--muted); font-size:11px; font-weight:700; text-transform:uppercase; background:#f0efe8; border-right:1px solid var(--line); border-bottom:1px solid var(--line); }.calendar-day { min-height:112px; padding:8px; border-right:1px solid var(--line); border-bottom:1px solid var(--line); overflow:hidden; }.calendar-day.outside { background:#f2f1eb; color:#a5aea9; }.calendar-day.today { box-shadow:inset 0 0 0 2px var(--accent); }.day-number { display:block; margin-bottom:7px; font-size:12px; font-weight:700; }.calendar-chip { display:block; width:100%; margin:3px 0; padding:5px 6px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; border-radius:5px; color:white; background:var(--ink); font-size:10px; }.day-view { display:grid; gap:10px; }.day-event { padding:17px 18px; border-left:4px solid var(--accent); border-radius:8px; background:#f0efe8; }.day-event strong { display:block; margin-bottom:5px; }.empty-calendar { padding:35px 0; text-align:center; color:var(--muted); }
.documents { margin-bottom: 80px; }.section-title { display: flex; align-items: end; justify-content: space-between; margin-bottom: 20px; }.section-title h2 { font: 48px Georgia,serif; margin: 0; }.section-title .eyebrow { margin-bottom: 7px; }
button { border: 1px solid var(--line); border-radius: 10px; padding: 11px 15px; background: var(--paper); color: var(--ink); cursor: pointer; } button:hover { border-color: var(--green); }
.file-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 14px 40px rgba(31,48,43,.05); }.breadcrumb { padding: 11px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; display:flex; align-items:center; gap:3px; overflow-x:auto; }.crumb { border:0; background:transparent; padding:6px; white-space:nowrap; color:var(--muted); }.crumb:hover { color:var(--accent); }.crumb-separator { color:#adb6b2; }
.file-row { min-height: 66px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 10px 22px; border-bottom: 1px solid #e6e7e0; }.file-row:last-child { border: 0; }.file-row.folder-row { cursor:pointer; }.file-row.folder-row:hover { background:#f7f5ed; }.file-icon { width:38px; height:38px; display:block; background-image:url('/assets/ruum-file-icons-v2.png'); background-repeat:no-repeat; background-size:114px 114px; }.icon-folder { background-position:0 0; }.icon-pdf { background-position:-38px 0; }.icon-word { background-position:-76px 0; }.icon-excel { background-position:0 -38px; }.icon-image { background-position:-38px -38px; }.icon-archive { background-position:-76px -38px; }.icon-video { background-position:0 -76px; }.icon-audio { background-position:-38px -76px; }.icon-presentation { background-position:-76px -76px; }.file-name { font-weight:650; }.file-meta { color:var(--muted); font-size:12px; margin-top:3px; }.file-kind { color:var(--muted); font-size:12px; text-transform:uppercase; }.file-actions { display:flex; gap:7px; align-items:center; }.download-link,.preview-button,.office-button { text-decoration:none; border:1px solid var(--line); border-radius:8px; padding:8px 10px; color:var(--ink); background:transparent; font-size:12px; white-space:nowrap; }.download-link:hover,.preview-button:hover,.office-button:hover { border-color:var(--green); }
.preview-dialog { width:min(1100px,calc(100% - 30px)); height:min(820px,calc(100% - 30px)); border:0; border-radius:18px; padding:0; background:var(--paper); box-shadow:0 30px 90px rgba(0,0,0,.35); }.preview-dialog::backdrop { background:rgba(12,27,24,.72); }.preview-header { height:64px; display:flex; align-items:center; justify-content:space-between; padding:0 18px 0 24px; border-bottom:1px solid var(--line); }.preview-header > div { display:flex; gap:9px; align-items:center; }.preview-header button { font-size:23px; padding:4px 11px; }.preview-body { height:calc(100% - 64px); display:grid; place-items:center; background:#dedfd8; }.preview-body iframe,.preview-body img,.preview-body video { width:100%; height:100%; border:0; object-fit:contain; }.preview-body audio { width:min(680px,calc(100% - 40px)); }
.loading, .error { padding: 28px 0; color: #bdcbc6; }.file-list > .loading, .file-list > .error { color: var(--muted); padding: 28px 22px; }.error { color: #a84f38 !important; }
footer { width: min(1160px, calc(100% - 48px)); margin: auto; padding: 28px 0 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.login-page { display:grid; place-items:center; background:var(--ink); padding:24px; }.login-shell { width:min(920px,100%); }.login-card { background:var(--cream); padding:clamp(35px,7vw,80px); border-radius:28px; box-shadow:24px 24px 0 var(--accent); }.login-card h1 { font-size:clamp(48px,8vw,80px); }.login-card .intro { margin-bottom:36px; }.login-button { display:inline-block; background:var(--ink); color:white; text-decoration:none; padding:15px 20px; border-radius:10px; font-weight:700; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; padding: 65px 0; }.shape { display:none; }.dashboard { grid-template-columns: 1fr; margin-bottom: 60px; }.topbar { padding: 0 20px; }.connection span:last-child { display:none; } main, footer { width: min(100% - 30px, 1160px); }.stats-card { min-height: 170px; }.calendar-title-row { align-items:flex-end; }.calendar-settings label { font-size:0; }.calendar-settings select { margin:0; font-size:13px; }.calendar-toolbar { align-items:stretch; flex-direction:column; }.view-tabs { justify-content:space-between; }.view-tab { flex:1; padding:8px 5px; }.calendar-navigation { justify-content:center; }.calendar-content { padding:8px 10px 16px; overflow-x:auto; }.calendar-grid { min-width:700px; }.agenda-item { grid-template-columns:52px 1fr; padding:10px 0; }.agenda-time { grid-column:2; }.file-kind { display:none; }.file-row { grid-template-columns:42px 1fr; }.file-actions { grid-column:2; }.download-link { display:none; }.preview-dialog { width:100%; height:100%; max-width:none; max-height:none; border-radius:0; } }
