:root {
    --ink: #17171a;
    --muted: #77777f;
    --line: #e9e9ed;
    --surface: #ffffff;
    --app-bg: #eeeef3;
    --green: #42c477;
    --green-dark: #1f9b55;
    --purple: #b85cff;
    --yellow: #ffd966;
    --blue: #5d8dff;
    --pink: #ff8fa9;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(27, 27, 38, .1);
    font-family: "DM Sans", system-ui, sans-serif;
    color: var(--ink);
    background: var(--app-bg);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--app-bg); color: var(--ink); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.app-shell {
    width: min(1480px, calc(100% - 40px));
    min-height: calc(100vh - 40px);
    margin: 20px auto;
    background: var(--surface);
    border-radius: 30px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.topbar, .board-topbar {
    height: 88px;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0 34px;
    border-bottom: 1px solid var(--line);
    background: rgba(255,255,255,.92);
    position: relative;
    z-index: 20;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font: 800 20px/1 "Manrope", sans-serif; letter-spacing: -1px; white-space: nowrap; }
.brand > span:last-child > span { color: var(--green); }
.brand-mark { width: 30px; height: 30px; position: relative; display: inline-block; transform: rotate(-38deg); }
.brand-mark i { position: absolute; width: 18px; height: 10px; border: 3px solid var(--ink); border-radius: 10px; left: 1px; top: 5px; }
.brand-mark i:last-child { left: 10px; top: 14px; }
.brand-mark::after { content: ""; width: 10px; height: 3px; background: var(--ink); position: absolute; left: 10px; top: 14px; }
.brand.compact { font-size: 17px; }

.main-nav { display: flex; align-items: center; gap: 8px; margin: 0 auto; }
.main-nav a { padding: 11px 18px; border-radius: 24px; color: #696970; font-size: 14px; font-weight: 600; }
.main-nav a.active { background: var(--ink); color: white; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-weight: 800; }
.icon-button:hover { background: #f3f3f5; }
.notification-dot { position: relative; }
.notification-dot::after { content: ""; width: 6px; height: 6px; background: #ff5f6d; border: 2px solid white; border-radius: 50%; position: absolute; top: 9px; right: 9px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: white; font-size: 11px; font-weight: 700; border: 3px solid white; box-shadow: 0 0 0 1px var(--line); background: #513f82; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.dashboard-main { padding: 34px 38px 50px; min-width: 0; }
.dashboard-aside { border-left: 1px solid var(--line); padding: 38px 30px; background: #fdfdfd; }
.eyebrow-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.eyebrow, .section-kicker { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8c8c94; }
.plan-pill { border: 1px solid var(--line); border-radius: 20px; padding: 7px 12px; font-size: 11px; font-weight: 700; }

.hero-card { min-height: 330px; padding: 46px 52px; border-radius: 26px; color: white; background: var(--green); position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr .95fr; }
.hero-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 60% 30%, rgba(255,255,255,.16), transparent 34%), linear-gradient(120deg, transparent 55%, rgba(0,0,0,.04)); }
.hero-card > div { position: relative; z-index: 1; }
.hero-kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; opacity: .84; }
.hero-card h1 { font: 700 clamp(36px, 4vw, 58px)/.98 "Manrope", sans-serif; letter-spacing: -.055em; margin: 20px 0 15px; }
.hero-card h1 em { color: #173f29; font-style: normal; }
.hero-card p { max-width: 470px; margin: 0 0 26px; font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.84); }
.button { min-height: 45px; border: 0; border-radius: 12px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; cursor: pointer; font-size: 13px; font-weight: 700; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-1px); }
.button-light { background: white; color: var(--ink); box-shadow: 0 10px 25px rgba(10, 50, 28, .12); }
.button-dark { background: var(--ink); color: white; box-shadow: 0 10px 25px rgba(0,0,0,.15); }
.button-outline { border: 1px solid #dddddf; background: white; }
.button span { font-size: 17px; }

.hero-art { min-height: 230px; }
.orbit { position: absolute; border: 5px solid rgba(255,255,255,.77); border-radius: 50%; transform: rotate(-25deg); }
.orbit-one { width: 340px; height: 130px; top: 76px; right: -5px; }
.orbit-two { width: 230px; height: 280px; border-color: rgba(23,63,41,.22); top: -23px; right: 44px; }
.art-cube { width: 116px; height: 116px; border-radius: 22px; background: linear-gradient(145deg, #fbfdff, #bcd5ff); position: absolute !important; right: 90px; top: 88px; box-shadow: 0 24px 34px rgba(20,91,50,.2); transform: rotate(-8deg); display: grid; place-items: center; }
.art-cube::before { content: ""; width: 45px; height: 60px; border-radius: 8px; background: #5d8dff; box-shadow: inset -8px -8px 0 rgba(0,0,0,.12); }
.art-cube span { position: absolute; color: var(--yellow); font-size: 24px; }
.art-ball { width: 78px; height: 78px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff4a0, #ffb02e 60%, #ec7b00); position: absolute !important; top: 25px; right: 148px; box-shadow: 0 20px 26px rgba(62,69,27,.18); }
.art-note { position: absolute !important; right: 8px; bottom: 18px; background: #f9dc61; color: #342b0f; width: 105px; height: 92px; padding: 18px; border-radius: 3px 3px 18px 3px; font-size: 13px; font-weight: 700; transform: rotate(6deg); box-shadow: 0 14px 30px rgba(29,70,43,.16); }

.section-block { margin-top: 38px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.section-heading h2, .dashboard-aside h2 { font: 700 24px/1.1 "Manrope", sans-serif; letter-spacing: -.035em; margin: 7px 0 0; }
.segmented { background: #f4f4f6; padding: 4px; border-radius: 22px; display: flex; }
.segmented button { border: 0; border-radius: 18px; padding: 7px 13px; background: transparent; color: var(--muted); font-size: 11px; font-weight: 700; }
.segmented button.active { background: white; color: var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.text-button { border: 0; background: transparent; font-size: 12px; font-weight: 700; color: #58585f; cursor: pointer; }

.meeting-list { border-top: 1px solid var(--line); }
.meeting-row { min-height: 82px; display: grid; grid-template-columns: 48px minmax(200px, 1fr) 70px 90px 60px 24px; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); padding: 10px 8px; transition: background .18s, padding .18s; }
.meeting-row:hover { background: #fafafa; padding-left: 14px; }
.meeting-date { height: 50px; width: 46px; background: #f4f4f6; border-radius: 12px; display: grid; place-items: center; align-content: center; font-size: 9px; color: var(--muted); }
.meeting-date b { color: var(--ink); font: 700 17px "Manrope"; }
.meeting-copy, .meeting-meta { display: flex; flex-direction: column; gap: 5px; }
.meeting-copy strong { font-size: 14px; }
.meeting-copy small, .meeting-meta small { font-size: 10px; color: var(--muted); }
.meeting-meta b { font-size: 13px; }
.status-pill { background: #e0f7e9; color: var(--green-dark); padding: 6px 9px; border-radius: 12px; font-size: 10px; font-weight: 800; text-align: center; }
.row-arrow { font-size: 17px; }
.meeting-row { grid-template-columns: minmax(0,1fr) 62px 38px; }
.meeting-open { min-width: 0; display: grid; grid-template-columns: 48px minmax(200px,1fr) 70px 90px; gap: 18px; align-items: center; }
.meeting-manage { width: 36px; height: 36px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; font-weight: 800; }
.meeting-manage:hover { background: #eeeef1; }
.meeting-row.is-archived { opacity: .68; }
.status-pill.paused { background: #f1f1f4; color: #696970; }
.empty-meeting { width: 100%; min-height: 120px; background: white; border: 1px dashed #d6d6db; border-radius: 16px; display: grid; place-items: center; align-content: center; gap: 5px; cursor: pointer; }
.empty-meeting span { font-size: 26px; color: var(--green); }
.empty-meeting small { color: var(--muted); }

.template-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; }
.template-card { border: 1px solid var(--line); border-radius: 17px; padding: 12px; min-width: 0; transition: transform .18s, box-shadow .18s; }
.template-card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.07); }
.template-visual { height: 120px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 18%, #f8f8fa); position: relative; overflow: hidden; display: grid; place-items: center; }
.template-visual > span { width: 54px; height: 54px; border-radius: 15px; background: var(--accent); display: grid; place-items: center; color: white; font-size: 23px; transform: rotate(-6deg); z-index: 1; box-shadow: 0 10px 18px rgba(0,0,0,.13); }
.template-visual i { position: absolute; width: 110px; height: 45px; border: 3px solid white; border-radius: 50%; transform: rotate(25deg); }
.template-visual i:last-child { width: 15px; height: 15px; background: #ffd966; border: 0; right: 20px; top: 18px; }
.template-tag { display: inline-block; margin-top: 13px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.template-card h3 { margin: 6px 0 5px; font: 700 14px "Manrope"; }
.template-card p { color: var(--muted); font-size: 10px; line-height: 1.45; margin: 0; }
.template-features { display: grid; gap: 5px; margin: 12px 0 0; padding: 11px 0 0; border-top: 1px solid var(--line); list-style: none; }
.template-features li { position: relative; padding-left: 13px; color: #707078; font-size: 8.5px; line-height: 1.35; }
.template-features li::before { content: ""; width: 5px; height: 5px; position: absolute; left: 0; top: 3px; border-radius: 50%; background: var(--accent); }

.aside-intro h2 { font-size: 25px; }
.aside-intro h2 em { font-style: normal; color: var(--green-dark); }
.streak { display: flex; gap: 15px; align-items: center; margin: 25px 0; }
.streak > span { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; font: 700 20px "Manrope"; box-shadow: 0 0 0 7px #e8f8ee; }
.streak p { margin: 0; font-size: 13px; }
.streak small { color: var(--muted); }
.mini-calendar { border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.calendar-header { display: grid; grid-template-columns: 1fr 28px 28px; align-items: center; font-size: 13px; }
.calendar-header button { border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.calendar-days, .calendar-dates { display: grid; grid-template-columns: repeat(5,1fr); text-align: center; align-items: center; margin-top: 18px; gap: 7px; }
.calendar-days span { color: #a1a1a7; font-size: 8px; font-weight: 800; }
.calendar-dates span { font-size: 11px; font-weight: 600; padding: 8px 0; border-radius: 9px; }
.calendar-dates .active { background: var(--ink); color: white; }
.agenda-item { display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: 10px; margin-top: 15px; padding: 11px; border-radius: 10px; background: #f6f6f8; border-left: 3px solid var(--green); }
.agenda-item.purple { border-left-color: var(--purple); }
.agenda-item time { font-size: 9px; color: var(--muted); padding-top: 2px; }
.agenda-item span { display: flex; flex-direction: column; gap: 3px; }
.agenda-item b { font-size: 10px; }
.agenda-item small { font-size: 8px; color: var(--muted); }
.tip-card { display: flex; gap: 15px; margin-top: 18px; background: #f1e3ff; border-radius: 20px; padding: 20px; }
.tip-icon { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; background: var(--purple); color: white; display: grid; place-items: center; }
.tip-card small { font-size: 8px; letter-spacing: .1em; font-weight: 800; color: #8b48b6; }
.tip-card h3 { font: 700 13px/1.3 "Manrope"; margin: 6px 0; }
.tip-card p { font-size: 10px; line-height: 1.45; color: #6e6078; margin: 0; }
.create-shortcut { width: 100%; display: grid; grid-template-columns: 42px 1fr 20px; align-items: center; text-align: left; gap: 12px; border: 0; background: var(--ink); color: white; border-radius: 16px; padding: 15px; margin-top: 18px; cursor: pointer; }
.create-shortcut > span { height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green); font-size: 20px; }
.create-shortcut div { display: flex; flex-direction: column; gap: 4px; }
.create-shortcut strong { font-size: 12px; }
.create-shortcut small { font-size: 9px; color: #a9a9ad; }

.create-dialog { border: 0; padding: 0; border-radius: 25px; box-shadow: 0 35px 100px rgba(0,0,0,.25); max-width: 720px; width: calc(100% - 32px); }
.create-dialog::backdrop { background: rgba(17,17,20,.55); backdrop-filter: blur(7px); }
.dialog-card { padding: 38px; position: relative; }
.dialog-close { position: absolute; right: 20px; top: 20px; border: 0; background: #f2f2f4; width: 38px; height: 38px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.dialog-card h2 { font: 700 30px/1.1 "Manrope"; letter-spacing: -.04em; margin: 8px 0; }
.dialog-card > p { color: var(--muted); font-size: 13px; margin: 0 0 25px; }
.dialog-card label, .join-card label { display: grid; gap: 8px; font-size: 11px; font-weight: 700; margin-bottom: 16px; }
.dialog-card input, .dialog-card textarea, .dialog-card select, .join-card input { width: 100%; border: 1px solid #dcdce1; border-radius: 12px; padding: 13px 14px; outline: 0; resize: vertical; background: #fbfbfc; transition: border .18s, box-shadow .18s; }
.dialog-card input:focus, .dialog-card textarea:focus, .dialog-card select:focus, .join-card input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(66,196,119,.14); }
.dialog-card fieldset { border: 0; padding: 0; margin: 7px 0 22px; }
.dialog-card legend { font-size: 11px; font-weight: 700; margin-bottom: 10px; }
.board-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.board-option { margin: 0 !important; border: 1px solid var(--line); border-radius: 13px; padding: 13px; position: relative; cursor: pointer; }
.board-option:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, white); }
.board-option input { position: absolute; opacity: 0; pointer-events: none; }
.board-option b { font-size: 12px; }
.board-option small { color: var(--muted); font-size: 9px; line-height: 1.4; padding-right: 18px; }
.board-check { position: absolute; top: 11px; right: 11px; width: 19px; height: 19px; display: none; place-items: center; background: var(--accent); color: white; border-radius: 50%; font-size: 10px; }
.board-option:has(input:checked) .board-check { display: grid; }
.submit-button { width: 100%; }
.form-error { min-height: 18px; color: #c22f4d; font-size: 11px; margin-bottom: 6px; }

.account-menu { position: relative; }
.account-menu .avatar { border: 3px solid white; cursor: pointer; }
.account-popover { position: absolute; right: 0; top: 50px; width: 230px; padding: 16px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 45px rgba(0,0,0,.13); z-index: 60; }
.account-popover:not([hidden]) { display: flex; flex-direction: column; }
.account-popover strong { font-size: 13px; }.account-popover small { color: var(--muted); font-size: 10px; margin: 3px 0 12px; }.account-popover span { padding: 9px 10px; border-radius: 9px; background: #eaf8ef; color: var(--green-dark); font-size: 9px; font-weight: 800; }
.account-popover button { margin-top: 11px; padding: 9px; text-align: left; border: 0; border-top: 1px solid var(--line); background: white; color: #9b2941; font-size: 11px; font-weight: 700; cursor: pointer; }

.manage-dialog { max-width: 620px; }
.toggle-row { grid-template-columns: auto auto 1fr !important; align-items: center; gap: 10px !important; padding: 13px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.toggle-row > input { position: absolute; opacity: 0; width: 1px; }
.toggle-row > span { width: 38px; height: 22px; border-radius: 14px; background: #d9d9de; position: relative; transition: background .2s; }
.toggle-row > span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; border-radius: 50%; background: white; box-shadow: 0 2px 5px rgba(0,0,0,.18); transition: transform .2s; }
.toggle-row > input:checked + span { background: var(--green); }.toggle-row > input:checked + span::after { transform: translateX(16px); }
.toggle-row div { display: flex; flex-direction: column; gap: 2px; }.toggle-row b { font-size: 11px; }.toggle-row small { font-size: 9px; color: var(--muted); }
.invite-control { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; }.invite-control label { margin: 0; }.invite-control .button { margin-bottom: 0; }
.security-note { margin: 7px 0 18px !important; padding: 10px; border-radius: 9px; background: #fff7dc; color: #806719 !important; font-size: 9px !important; }
.manage-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }.text-button.danger { color: #b72f4b; }

.auth-page { min-height: 100vh; display: grid; grid-template-columns: minmax(430px, 1.05fr) minmax(430px, .95fr); background: white; }
.auth-showcase { margin: 20px; border-radius: 28px; overflow: hidden; padding: 38px 48px; color: white; background: var(--green); position: relative; display: flex; flex-direction: column; }
.auth-showcase::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 77% 48%, rgba(255,255,255,.2), transparent 30%), linear-gradient(145deg, transparent 55%, rgba(0,0,0,.07)); }
.auth-showcase > * { position: relative; z-index: 1; }.auth-brand { color: white; }.auth-brand .brand-mark i { border-color: white; }.auth-brand .brand-mark::after { background: white; }.auth-brand > span:last-child > span { color: #184c2d; }
.auth-promise { margin-top: clamp(70px, 13vh, 150px); max-width: 600px; }.auth-promise h1 { font: 700 clamp(42px,5vw,72px)/.98 "Manrope",sans-serif; letter-spacing: -.06em; margin: 20px 0; }.auth-promise h1 em { color: #17432b; font-style: normal; }.auth-promise p { max-width: 470px; line-height: 1.6; color: rgba(255,255,255,.85); }
.auth-art { position: absolute !important; width: 330px; height: 300px; right: -35px; bottom: 60px; }.auth-orbit { position: absolute; width: 300px; height: 115px; top: 95px; right: 0; border: 5px solid rgba(255,255,255,.72); border-radius: 50%; transform: rotate(-24deg); }.auth-cube { position: absolute; top: 78px; left: 100px; width: 118px; height: 118px; border-radius: 25px; background: linear-gradient(145deg,#f5fbff,#a7c8ff); color: #5d8dff; display: grid; place-items: center; font-size: 36px; transform: rotate(-8deg); box-shadow: 0 25px 40px rgba(18,92,51,.2); }.auth-ball { position: absolute; width: 73px; height: 73px; left: 122px; top: 7px; border-radius: 50%; background: radial-gradient(circle at 30% 25%,#fff59f,#ffaf25 68%,#ed7800); }.auth-sticky { position: absolute; right: 13px; bottom: 0; width: 98px; height: 90px; padding: 19px 14px; background: #ffe071; color: #392f13; border-radius: 3px 3px 15px; transform: rotate(7deg); font-size: 12px; font-weight: 800; }
.auth-proof { margin-top: auto; display: flex; gap: 12px; align-items: center; max-width: 360px; }.auth-proof > span { width: 41px; height: 41px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: rgba(255,255,255,.2); }.auth-proof p { margin: 0; font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.8); }.auth-proof strong { color: white; }
.auth-panel { display: grid; place-items: center; padding: 45px; }.auth-card { width: min(430px,100%); }.auth-card h2 { font: 700 37px/1.1 "Manrope",sans-serif; letter-spacing: -.045em; margin: 10px 0; }.auth-card > p { color: var(--muted); font-size: 13px; margin: 0 0 30px; }.auth-card label { display: grid; gap: 8px; margin-bottom: 16px; font-size: 11px; font-weight: 700; }.auth-card input { width: 100%; border: 1px solid #dcdce1; border-radius: 12px; padding: 14px; background: #fbfbfc; outline: 0; }.auth-card input:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(66,196,119,.14); }.auth-card .button { width: 100%; }.password-hint { display: block; color: var(--muted); font-size: 9px; margin: -8px 0 14px; }.auth-switch { text-align: center; margin: 18px 0 0 !important; font-size: 11px !important; }.auth-switch a { color: var(--green-dark); font-weight: 800; }

/* Whiteboard */
.board-app { height: 100vh; display: flex; flex-direction: column; background: #f4f4f7; overflow: hidden; }
.board-topbar { height: 72px; flex: 0 0 72px; padding: 0 18px; gap: 18px; }
.meeting-title { padding-left: 18px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; min-width: 180px; }
.meeting-title small { font-size: 8px; letter-spacing: .12em; font-weight: 800; color: var(--green-dark); }
.meeting-title strong { font: 700 13px "Manrope"; max-width: 330px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.presence { display: flex; padding-left: 8px; }
.timer-dock[hidden] + .presence { margin-left: auto; }
.presence .avatar { width: 34px; height: 34px; margin-left: -8px; }
.presence-count { height: 34px; min-width: 34px; border-radius: 18px; padding: 0 9px; display: grid; place-items: center; background: #f0f0f2; border: 2px solid white; font-size: 10px; font-weight: 700; margin-left: -6px; }
.board-topbar .button { min-height: 39px; }
.timer-button { background: var(--green); color: #123f26; gap: 7px; }
.export-button { gap: 8px; }
.timer-dock { margin-left: auto; min-width: 0; max-width: min(520px, 42vw); display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.timer-dock::-webkit-scrollbar { display: none; }
.timer-chip { --timer-accent: var(--green); flex: 0 0 auto; min-width: 142px; height: 48px; padding: 6px 8px 6px 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 14px 20px; gap: 0 8px; align-items: center; background: #f5f5f7; border: 1px solid #e5e5e9; border-left: 4px solid var(--timer-accent); border-radius: 12px; position: relative; overflow: hidden; }
.timer-chip .timer-scope { grid-column: 1; color: #888890; font-size: 6.5px; font-weight: 800; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.timer-chip > strong { grid-column: 1; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.timer-chip time { grid-column: 2; grid-row: 1 / 3; font: 800 15px/1 "Manrope"; font-variant-numeric: tabular-nums; }
.timer-chip .timer-actions { display: none; position: absolute; inset: 0 0 0 auto; align-items: center; gap: 3px; padding: 5px; background: linear-gradient(90deg, transparent, #f5f5f7 24%); }
.timer-chip:hover .timer-actions { display: flex; }
.timer-actions button { width: 28px; height: 28px; border: 0; border-radius: 9px; background: white; box-shadow: 0 2px 8px rgba(0,0,0,.09); cursor: pointer; font-weight: 800; }
.timer-chip.urgent { color: #9a203a; background: #fff0f3; border-color: #ffc6d1; }
.timer-chip.urgent .timer-actions { background: linear-gradient(90deg, transparent, #fff0f3 24%); }
.timer-chip.expired { animation: timer-pulse .65s ease-in-out infinite alternate; }
.board-app.timer-alarm::after { content: "ZEIT ABGELAUFEN"; position: fixed; inset: 0; z-index: 90; pointer-events: none; display: grid; place-items: center; color: white; background: rgba(229, 52, 87, .16); border: 8px solid #ef4668; font: 800 clamp(22px, 4vw, 48px) "Manrope"; letter-spacing: .08em; animation: alarm-flash .45s ease-in-out 7 alternate; }
@keyframes timer-pulse { to { background: #ffd4dc; transform: scale(1.02); } }
@keyframes alarm-flash { from { opacity: .25; } to { opacity: 1; } }
.board-layout { flex: 1; min-height: 0; display: grid; grid-template-columns: 78px 1fr; }
.board-sidebar { background: white; border-right: 1px solid var(--line); padding: 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 7px; z-index: 10; }
.sidebar-tool { width: 60px; min-height: 55px; border: 0; background: transparent; border-radius: 12px; display: grid; place-items: center; align-content: center; gap: 3px; cursor: pointer; color: #76767e; }
.sidebar-tool:hover, .sidebar-tool.active { background: #effaf3; color: var(--green-dark); }
.sidebar-tool.disabled { opacity: .42; }
.sidebar-tool span { font-size: 19px; line-height: 1; }
.sidebar-tool small { font-size: 8px; font-weight: 700; }
.sidebar-separator { width: 36px; height: 1px; background: var(--line); margin: 3px 0; }
.board-tabs { display: flex; flex-direction: column; gap: 5px; width: 100%; align-items: center; overflow-y: auto; }
.board-tab-wrap { width: 60px; position: relative; }
.board-tab { width: 60px; min-height: 62px; padding: 7px 4px; border: 0; border-radius: 11px; background: transparent; cursor: pointer; display: grid; justify-items: center; align-content: center; gap: 4px; position: relative; }
.board-tab span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--accent) 15%, white); color: var(--accent); font-weight: 800; }
.board-tab small { max-width: 52px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 8px; }
.board-tab.active { background: #f4f4f6; }
.board-tab.active::before { content: ""; width: 3px; height: 28px; background: var(--accent); position: absolute; left: -8px; border-radius: 2px; }
.board-tab.locked::after { content: ""; width: 6px; height: 6px; position: absolute; top: 7px; right: 7px; border-radius: 50%; background: #b72f4b; box-shadow: 0 0 0 2px white; }
.board-remove { position: absolute; top: 2px; right: 1px; width: 20px; height: 20px; padding: 0; display: grid; place-items: center; border: 1px solid #e0e0e5; border-radius: 50%; background: white; color: #8a8a92; box-shadow: 0 3px 9px rgba(0,0,0,.08); cursor: pointer; opacity: 0; transform: scale(.8); transition: opacity .15s, transform .15s; z-index: 2; }
.board-tab-wrap:hover .board-remove, .board-remove:focus-visible { opacity: 1; transform: scale(1); }
.board-remove:hover { color: #b72f4b; border-color: #f1aabb; }
.add-board-tool { min-height: 46px; border: 1px dashed #cfd0d5; color: var(--green-dark); }
.add-board-tool span { font-size: 17px; }
.sidebar-home { margin-top: auto; }
.canvas-viewport { position: relative; overflow: auto; background: #f6f6f8; }
.board-app.canvas-pan-mode .canvas-viewport { cursor: grab; }
.board-app.canvas-panning .canvas-viewport { cursor: grabbing; user-select: none; }
.board-app.canvas-pan-mode .canvas-viewport .post-it,
.board-app.canvas-panning .canvas-viewport .post-it { cursor: inherit; }
.canvas-stage { width: 2000px; height: 1250px; position: relative; transform-origin: top left; background-color: #f7f7f9; background-image: radial-gradient(#d7d7dd 1px, transparent 1px); background-size: 22px 22px; }
.canvas-stage::after { content: ""; pointer-events: none; position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.75), transparent 38%); }
#boardTemplateLayer { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.board-topic-headline { position: absolute; left: 34px; top: 226px; width: 1932px; min-height: 64px; z-index: 4; padding: 10px 20px 11px; display: grid; grid-template-columns: 155px minmax(0, 1fr); align-items: center; gap: 18px; border: 2px solid color-mix(in srgb, var(--board-topic-accent) 60%, white); border-radius: 17px; background: rgba(255,255,255,.94); box-shadow: 0 10px 25px rgba(40,40,48,.08); pointer-events: auto; }
.board-topic-headline small { color: color-mix(in srgb, var(--board-topic-accent) 75%, #222); font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.board-topic-headline input { width: 100%; min-width: 0; padding: 3px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 700 23px/1.2 "Manrope"; }
.board-topic-headline input::placeholder { color: #aaa9ae; font-weight: 600; }
.board-topic-headline h3 { margin: 0; font: 700 23px/1.2 "Manrope"; }
.board-topic-headline h3.empty { color: #aaa9ae; font-weight: 600; }
#postItLayer { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.post-it { pointer-events: auto; }
.board-tool-loading { position: absolute; top: 205px; left: 290px; width: 380px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 12px; }
.board-tool-loading > span { width: 18px; height: 18px; border: 2px solid #d8d8dd; border-top-color: var(--green); border-radius: 50%; animation: board-tool-spin .7s linear infinite; }
@keyframes board-tool-spin { to { transform: rotate(360deg); } }
.canvas-welcome { position: absolute; top: 185px; left: 290px; z-index: 1; text-align: center; width: 380px; transition: opacity .2s; pointer-events: none; }
.canvas-welcome > span { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; background: white; color: var(--green); border-radius: 20px; font-size: 27px; box-shadow: 0 15px 35px rgba(0,0,0,.08); transform: rotate(-5deg); }
.canvas-welcome h2 { font: 700 22px "Manrope"; letter-spacing: -.03em; margin: 0 0 8px; }
.canvas-welcome p { margin: 0; color: var(--muted); font-size: 12px; }
.canvas-welcome.hidden { opacity: 0; }
.post-it { width: 210px; min-height: 180px; padding: 20px 17px 34px; position: absolute; border-radius: 3px 3px 19px 3px; box-shadow: 0 15px 27px rgba(42,42,55,.15); cursor: grab; touch-action: none; transform: rotate(var(--tilt, -1deg)); transition: box-shadow .15s; }
.post-it:active { cursor: grabbing; box-shadow: 0 24px 40px rgba(42,42,55,.22); z-index: 10; }
.post-it.read-only, .post-it.read-only:active { cursor: default; }
.post-it[data-color="yellow"] { background: #ffe27b; color: #392f13; }
.post-it[data-color="green"] { background: #a9ebbd; color: #183924; }
.post-it[data-color="purple"] { background: #dcb8ff; color: #362044; }
.post-it[data-color="blue"] { background: #b9d3ff; color: #1c2f4d; }
.post-it[data-color="pink"] { background: #ffb8ca; color: #49232c; }
.post-it textarea { width: 100%; min-height: 112px; border: 0; outline: 0; background: transparent; resize: none; font: 600 16px/1.35 "Manrope"; color: inherit; cursor: text; }
.post-it textarea::placeholder { color: currentColor; opacity: .45; }
.post-it-footer { position: absolute; bottom: 9px; left: 13px; right: 10px; display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 6px; align-items: center; font-size: 8px; opacity: .72; }
.post-it-footer > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.post-it-votes { display: flex; align-items: center; gap: 3px; opacity: .55; transition: opacity .15s, transform .15s; }
.post-it:hover .post-it-votes, .post-it:focus-within .post-it-votes { opacity: 1; transform: translateY(-1px); }
.post-it-votes button { min-width: 33px; height: 23px; padding: 0 5px; display: flex; align-items: center; justify-content: center; gap: 3px; border: 1px solid rgba(40,40,45,.12); border-radius: 12px; background: rgba(255,255,255,.48); cursor: pointer; font-size: 11px; }
.post-it-votes button b { font: 800 8px "Manrope"; }
.post-it-votes button.active { background: white; border-color: rgba(40,40,45,.28); box-shadow: 0 2px 6px rgba(0,0,0,.1); transform: scale(1.06); }
.post-it-votes button:disabled { cursor: default; opacity: .7; }
.post-it-menu { position: absolute; right: 7px; top: 7px; display: flex; gap: 2px; opacity: 0; transition: opacity .15s; }
.post-it:hover .post-it-menu, .post-it:focus-within .post-it-menu { opacity: 1; }
.post-it-menu button { width: 26px; height: 26px; border: 0; background: rgba(255,255,255,.55); border-radius: 50%; cursor: pointer; font-size: 12px; }
.canvas-breadcrumb { position: fixed; bottom: 24px; left: 103px; display: flex; gap: 10px; align-items: center; background: white; padding: 9px 14px 9px 9px; border: 1px solid var(--line); border-radius: 13px; box-shadow: 0 8px 25px rgba(0,0,0,.08); z-index: 8; }
.canvas-breadcrumb > span { width: 32px; height: 32px; display: grid; place-items: center; background: #e7f8ed; color: var(--green-dark); border-radius: 9px; }
.canvas-breadcrumb div { display: flex; flex-direction: column; }
.canvas-breadcrumb small { font-size: 7px; letter-spacing: .1em; color: var(--muted); }
.canvas-breadcrumb strong { font-size: 10px; }
.board-controls { position: fixed; bottom: 24px; right: 24px; display: flex; align-items: center; gap: 8px; z-index: 8; }
.canvas-mode-controls { position: fixed; top: 88px; left: calc(50% + 39px); z-index: 12; transform: translateX(-50%); display: flex; padding: 4px; gap: 3px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 8px 25px rgba(0,0,0,.09); }
.canvas-mode-controls button { width: 38px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 9px; background: transparent; color: #777780; cursor: pointer; }
.canvas-mode-controls button:hover { background: #f2f3f4; color: var(--ink); }
.canvas-mode-controls button.active { background: var(--ink); color: white; }
.canvas-mode-controls button:disabled { opacity: .3; cursor: default; }
.canvas-tool-separator { width: 1px; margin: 5px 2px; background: var(--line); }
.zoom-controls { display: flex; align-items: center; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 8px 25px rgba(0,0,0,.08); overflow: hidden; }
.zoom-controls button { width: 38px; height: 38px; border: 0; background: white; cursor: pointer; }
.zoom-controls span { width: 52px; text-align: center; font-size: 9px; font-weight: 700; }
.board-action-button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: white; color: #55555d; box-shadow: 0 8px 25px rgba(0,0,0,.08); cursor: pointer; font: 700 20px/1 "Manrope"; transition: color .15s, background .15s, border-color .15s, transform .15s; }
.board-action-button:not(:disabled):hover { color: var(--green-dark); border-color: #a8d8b9; transform: translateY(-1px); }
.board-action-button:disabled { cursor: default; }
.board-svg-icon { width: 18px; height: 18px; display: block; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.cursor-tool-icon { -webkit-mask-image: url('/assets/icons/cursor-solid.svg'); mask-image: url('/assets/icons/cursor-solid.svg'); }
.hand-tool-icon { -webkit-mask-image: url('/assets/icons/hand-solid.svg'); mask-image: url('/assets/icons/hand-solid.svg'); }
.undo-tool-icon { -webkit-mask-image: url('/assets/icons/undo-solid.svg'); mask-image: url('/assets/icons/undo-solid.svg'); }
.focus-view-icon { -webkit-mask-image: url('/assets/icons/arrows-to-eye-solid-full.svg'); mask-image: url('/assets/icons/arrows-to-eye-solid-full.svg'); }
.lock-icon { width: 16px; height: 16px; -webkit-mask-image: url('/assets/icons/unlock-solid-full.svg'); mask-image: url('/assets/icons/unlock-solid-full.svg'); }
.lock-button.locked .lock-icon { -webkit-mask-image: url('/assets/icons/lock-solid-full.svg'); mask-image: url('/assets/icons/lock-solid-full.svg'); }
.lock-button.locked { color: #9b2943; border-color: #efb0be; background: #fff0f3; }
.focus-button { color: var(--green-dark); }
.focus-button.sending { animation: focus-signal .55s ease; }
.board-app.board-is-locked .canvas-viewport::before { content: "Board gesperrt"; position: fixed; top: 143px; left: calc(50% + 39px); z-index: 11; transform: translateX(-50%); padding: 7px 11px; border: 1px solid #efb0be; border-radius: 999px; background: #fff0f3; color: #8d2940; box-shadow: 0 5px 16px rgba(87, 31, 45, .1); font-size: 9px; font-weight: 800; letter-spacing: .04em; pointer-events: none; }
.board-app.board-locked-for-viewer #postItLayer { cursor: not-allowed; }
.board-app.board-locked-for-viewer .post-it { cursor: default; }
@keyframes focus-signal { 50% { color: white; background: var(--green-dark); transform: scale(1.08); } }
.color-popover { position: fixed; z-index: 30; background: white; padding: 8px; border-radius: 22px; box-shadow: 0 10px 30px rgba(0,0,0,.18); gap: 5px; }
.color-popover:not([hidden]) { display: flex; }
.color-popover button { width: 23px; height: 23px; border-radius: 50%; border: 2px solid white; box-shadow: 0 0 0 1px #ddd; cursor: pointer; }
.color-popover [data-color="yellow"] { background: #ffe27b; }.color-popover [data-color="green"] { background: #a9ebbd; }.color-popover [data-color="purple"] { background: #dcb8ff; }.color-popover [data-color="blue"] { background: #b9d3ff; }.color-popover [data-color="pink"] { background: #ffb8ca; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 10px 16px; border-radius: 10px; font-size: 11px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

.add-board-dialog { max-width: 690px; }
.add-board-dialog .dialog-card > label small { color: var(--muted); font-weight: 500; }
.timer-dialog { max-width: 570px; }
.timer-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: -5px 0 20px; }
.timer-presets button { min-height: 38px; border: 1px solid var(--line); border-radius: 10px; background: #f7f7f9; color: #686870; cursor: pointer; font-size: 10px; font-weight: 800; }
.timer-presets button.active { border-color: var(--green); background: #eaf8ef; color: var(--green-dark); }

.join-overlay { position: fixed; inset: 0; background: rgba(30,30,36,.72); backdrop-filter: blur(10px); z-index: 100; display: grid; place-items: center; padding: 20px; }
.join-card { width: min(520px, 100%); max-height: calc(100vh - 30px); overflow-y: auto; background: white; border-radius: 28px; padding: 35px 46px; text-align: center; box-shadow: 0 30px 100px rgba(0,0,0,.3); }
.join-card .brand { justify-content: center; margin-bottom: 20px; }
.join-art { width: 160px; height: 110px; margin: 0 auto 18px; position: relative; }
.join-orbit { position: absolute; width: 160px; height: 64px; left: 0; top: 25px; border: 4px solid var(--green); border-radius: 50%; transform: rotate(-13deg); }
.join-art > span { position: absolute; width: 70px; height: 70px; left: 45px; top: 18px; display: grid; place-items: center; color: white; background: linear-gradient(145deg, var(--green), #208d51); border-radius: 20px; font-size: 28px; transform: rotate(8deg); box-shadow: 0 15px 25px rgba(33,145,82,.25); }
.join-art i { position: absolute; width: 29px; height: 29px; border-radius: 50%; background: var(--yellow); left: 3px; top: 7px; }.join-art i:last-child { background: var(--purple); width: 18px; height: 18px; right: 6px; bottom: 6px; left: auto; top: auto; }
.join-card h1 { font: 700 37px/1.04 "Manrope"; letter-spacing: -.05em; margin: 8px 0 12px; }
.join-card h1 em { color: var(--green-dark); font-style: normal; }
.join-card > p { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 380px; margin: 0 auto 22px; }
.join-card label { text-align: left; }
.join-card .button { width: 100%; }
.privacy-note { display: block; color: #a0a0a6; font-size: 8px; margin-top: 14px; }
.empty-page { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 15px; text-align: center; padding: 30px; }
.empty-illustration { width: 100px; height: 100px; background: var(--green); color: white; border-radius: 30px; display: grid; place-items: center; font-size: 32px; transform: rotate(-4deg); }

@media (max-width: 1080px) {
    .auth-page { grid-template-columns: 1fr 1fr; }.auth-showcase { padding: 34px; }.auth-art { opacity: .65; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-aside { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .aside-intro, .create-shortcut { grid-column: 1 / -1; }
    .template-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .auth-page { grid-template-columns: 1fr; background: var(--app-bg); }.auth-showcase { min-height: 250px; margin: 0; border-radius: 0 0 30px 30px; padding: 25px; }.auth-promise { margin-top: 48px; }.auth-promise h1 { font-size: 39px; }.auth-promise p, .auth-proof { display: none; }.auth-art { transform: scale(.6); transform-origin: right bottom; bottom: -15px; }.auth-panel { padding: 34px 20px 50px; }.auth-card h2 { font-size: 31px; }
    .app-shell { width: 100%; min-height: 100vh; margin: 0; border-radius: 0; }
    .topbar { height: 68px; padding: 0 17px; }
    .main-nav { display: none; }
    .top-actions { margin-left: auto; }.top-actions .icon-button { display: none; }
    .dashboard-main { padding: 24px 16px 35px; }
    .hero-card { padding: 32px 25px; grid-template-columns: 1fr; min-height: 470px; }
    .hero-art { min-height: 180px; }.orbit-one { right: -40px; top: 40px; }.orbit-two { top: 5px; right: 10px; height: 210px; }.art-cube { top: 70px; right: 65px; }.art-ball { top: 20px; right: 120px; }.art-note { right: 5px; }
    .meeting-row { grid-template-columns: minmax(0,1fr) 38px; gap: 8px; }.meeting-open { grid-template-columns: 46px minmax(0,1fr); gap: 10px; }.meeting-row .meeting-meta, .meeting-row .status-pill { display: none; }
    .template-grid { grid-template-columns: 1fr 1fr; }.template-visual { height: 100px; }
    .dashboard-aside { padding: 28px 16px; grid-template-columns: 1fr; }.dashboard-aside > * { grid-column: 1 !important; }
    .board-picker { grid-template-columns: 1fr; }.dialog-card { padding: 32px 22px; }
    .invite-control { grid-template-columns: 1fr; }.invite-control .button { width: 100%; }.manage-actions { align-items: stretch; flex-direction: column-reverse; }
    .board-topbar { padding: 0 10px; }.board-topbar .brand > span:last-child, .meeting-title small, .board-topbar > .icon-button { display: none; }.meeting-title { border-left: 0; padding-left: 0; min-width: 0; flex: 1; }.presence { display: none; }.board-topbar .button { padding: 0 12px; }.board-topbar .export-button, .board-topbar .timer-button { width: 39px; padding: 0; font-size: 0; }.board-topbar .export-button span, .board-topbar .timer-button span { font-size: 17px; }.timer-dock:not([hidden]) { position: fixed; top: 78px; left: 70px; right: 10px; max-width: none; justify-content: flex-end; z-index: 18; pointer-events: none; }.timer-dock .timer-chip { pointer-events: auto; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
    .board-layout { grid-template-columns: 62px 1fr; }.board-sidebar { padding: 9px 3px; }.sidebar-tool, .board-tab, .board-tab-wrap { width: 54px; }.board-remove { opacity: .82; transform: scale(.92); }.post-it-votes { opacity: 1; }.canvas-breadcrumb { left: 75px; }.board-controls { right: 12px; }
    .join-card { padding: 28px 22px; }.join-card h1 { font-size: 31px; }
}
