
    :root { --ink:#152236; --muted:#627087; --line:#dfe6ef; --accent:#245dc5; --soft:#eff5ff; --white:#fff; --radius:18px; }
    * { box-sizing:border-box; }
    body { margin:0; color:var(--ink); background:linear-gradient(140deg,#f5f7fb 0%,#eef3f9 55%,#f7f9fc 100%); font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; min-height:100vh; }
    button,select,input { font:inherit; }
    .wrap { max-width:1300px; padding:36px 28px 70px; margin:auto; }
    header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:35px; }
    .eyebrow { color:var(--accent); font-weight:700; letter-spacing:.13em; text-transform:uppercase; font-size:11px; }
    h1 { font-size:clamp(27px,3.3vw,40px); letter-spacing:-.04em; line-height:1.13; margin:11px 0 10px; font-weight:740; }
    .lead { color:var(--muted); margin:0; max-width:710px; font-size:15px; }
    .privacy { display:flex; align-items:center; gap:8px; color:#406f59; background:#e7f4ec; border:1px solid #d0e9da; padding:9px 13px; border-radius:100px; white-space:nowrap; font-size:12px; font-weight:600; margin-top:7px; }
    .privacy::before { content:""; width:7px; height:7px; background:#329263; border-radius:50%; }
    .layout { display:grid; grid-template-columns:360px minmax(0,1fr); gap:24px; align-items:start; }
    .main-column { display:flex; flex-direction:column; gap:24px; min-width:0; }
    .panel { background:#fff; border:1px solid #e1e7f0; border-radius:var(--radius); box-shadow:0 16px 55px rgba(34,55,95,.055); overflow:hidden; }
    .form-body { padding:28px; }
    .kicker { display:flex; align-items:center; gap:10px; color:var(--muted); text-transform:uppercase; font-size:11px; font-weight:750; letter-spacing:.1em; }
    .number { display:grid; place-items:center; width:27px; height:27px; border-radius:8px; background:var(--soft); color:var(--accent); font-weight:800; letter-spacing:0; }
    h2 { font-size:19px; letter-spacing:-.02em; line-height:1.25; margin:12px 0 15px; }
    .field { display:block; margin-bottom:24px; }
    .field select,.field input { width:100%; min-height:50px; padding:0 14px; color:var(--ink); background:#fafbfd; border:1px solid #d3dce9; border-radius:11px; outline:none; }
    .field select { cursor:pointer; }
    .field select:focus,.field input:focus { border-color:var(--accent); box-shadow:0 0 0 3px #e5efff; }
    .divider { border:0; border-top:1px solid var(--line); margin:25px 0; }
    .upload { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; min-height:177px; border:1.5px dashed #b9cbe6; border-radius:13px; background:#f8fbff; text-align:center; color:#4b607c; cursor:pointer; padding:18px; transition:.2s; }
    .upload:hover,.upload.dragging { border-color:var(--accent); background:#edf4ff; }
    .upload strong { color:#1e4a91; font-size:14px; }
    .upload small { color:#76849a; font-size:12px; }
    .upload input { position:absolute; width:1px; height:1px; opacity:0; }
    .upload-icon { display:grid; place-items:center; width:44px; height:44px; background:#e6efff; border-radius:12px; color:#245dc5; }
    .upload-icon svg { width:23px; height:23px; }
    .file-name { margin:11px 0 0; color:#63748b; overflow-wrap:anywhere; font-size:12px; min-height:18px; }
    .upload.compact { min-height:115px; padding:14px; gap:5px; }
    .upload.compact .upload-icon { height:36px; width:36px; }
    .upload.compact small { max-width:230px; }
    .hint { color:#7b8a9e; font-size:12px; line-height:1.55; margin:9px 0 0; }
    .btn { display:block; border:0; border-radius:12px; padding:15px 17px; width:100%; background:var(--accent); color:#fff; font-weight:700; cursor:pointer; box-shadow:0 7px 20px rgba(36,93,197,.16); transition:transform .16s,background .16s; }
    .btn:hover:not(:disabled) { background:#1b4ca6; transform:translateY(-1px); }
    .btn:disabled { background:#bac7dc; box-shadow:none; cursor:not-allowed; }
    .button-note { margin:12px 0 0; color:#8490a1; font-size:12px; text-align:center; }
    .status { font-size:13px; color:#5e6e86; line-height:1.48; margin:16px 0 20px; padding:10px 12px; background:#f5f7fa; border-radius:9px; }
    .status[data-type="error"] { color:#a02e2e; background:#fff0f0; }
    .status[data-type="success"] { color:#20734e; background:#e9f7f0; }
    .panel-top { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:26px 28px 20px; }
    .panel-top h2 { margin:5px 0 0; }
    .tag { font-size:11px; font-weight:700; padding:7px 10px; color:#45638c; background:#f1f6ff; border:1px solid #e0eafb; border-radius:100px; white-space:nowrap; }
    .empty { min-height:420px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:28px; color:#718197; text-align:center; }
    .empty-graphic { width:89px; height:100px; position:relative; margin-bottom:12px; }
    .page-shape { position:absolute; inset:7px 17px 11px 11px; border:2px solid #d3dfed; background:#fff; border-radius:7px; box-shadow:9px 9px 0 #edf3fa; }
    .page-shape:before,.page-shape:after { content:""; position:absolute; left:12px; height:5px; border-radius:5px; background:#dce6f2; }
    .page-shape:before { top:17px; width:28px; }
    .page-shape:after { top:33px; width:39px; box-shadow:0 15px 0 #dce6f2,0 30px 0 #dce6f2; }
    .empty strong { color:#465975; font-size:16px; }
    .empty p { max-width:290px; margin:7px 0 0; font-size:13px; }
    .summary { display:grid; grid-template-columns:1fr 2fr; gap:14px; padding:0 28px 24px; }
    .summary.three { grid-template-columns:1fr 1fr 1.65fr; }
    .summary-item { border:1px solid #e2e9f2; background:#f9fbfe; border-radius:12px; padding:13px 15px; }
    .summary-label { display:block; text-transform:uppercase; color:#8492a7; font-size:10px; letter-spacing:.08em; font-weight:800; margin-bottom:5px; }
    .summary-value { font-size:20px; font-weight:750; letter-spacing:-.025em; font-variant-numeric:tabular-nums; }
    .summary-item.period .summary-value { font-size:16px; letter-spacing:-.015em; }
    .table-wrap { max-width:100%; overflow-x:auto; border-top:1px solid var(--line); }
    table { border-collapse:collapse; width:100%; min-width:650px; table-layout:fixed; font-size:12px; }
    th, td { overflow-wrap:anywhere; }
    th { white-space:normal !important; }
    th { text-align:left; background:#f8fafd; color:#6c7b91; text-transform:uppercase; font-size:10px; letter-spacing:.055em; font-weight:800; padding:14px 13px; white-space:nowrap; border-bottom:1px solid #e7edf4; }
    td { padding:14px 13px; vertical-align:top; border-bottom:1px solid #edf1f6; line-height:1.48; color:#35465e; }
    tbody tr:last-child td { border-bottom:0; }
    tbody tr:hover { background:#fafcff; }
    .index-cell { color:#9ba8b8; width:40px; }
    .contract-cell { font-weight:650; white-space:nowrap; }
    .date-cell { white-space:nowrap; font-variant-numeric:tabular-nums; color:#63738a; }
    tr.empty-day { background:#fff9f0; }
    tr.empty-day td { color:#9a7c52; }
    tr.empty-day td:nth-child(3):after { content:"Требуется заполнить"; color:#a7732e; font-size:11px; font-style:italic; }
    .meeting-tools { padding:0 28px 16px; display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
    .meeting-tools input { flex:1; min-width:220px; padding:11px 13px; border:1px solid #d8e1ec; background:#fbfcff; border-radius:10px; outline:none; font-size:13px; }
    .meeting-tools input:focus { border-color:var(--accent); }
    .small-button { border:1px solid #d5e2f7; border-radius:9px; padding:10px 12px; color:var(--accent); background:#f4f8ff; font-size:12px; font-weight:700; cursor:pointer; white-space:nowrap; }
    .small-button:hover:not(:disabled) { background:#e7f1ff; }
    .small-button:disabled { opacity:.5; cursor:not-allowed; }
    .meetings-head { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; padding:0 28px 15px; font-size:12px; color:#718198; gap:12px; }
    .meetings-list { max-height:410px; overflow-y:auto; border-top:1px solid var(--line); }
    .meeting-row { display:flex; align-items:flex-start; gap:13px; cursor:pointer; padding:14px 28px; border-bottom:1px solid #eef1f6; transition:background .15s; }
    .meeting-row:hover { background:#f9fbff; }
    .meeting-row:has(input:checked) { background:#f0f6ff; }
    .meeting-row input { margin-top:4px; flex-shrink:0; width:17px; height:17px; accent-color:var(--accent); cursor:pointer; }
    .meeting-row .meeting-content { min-width:0; }
    .meeting-row strong { font-size:13px; font-weight:700; color:#283a53; display:block; }
    .meeting-row small { color:#74849a; font-size:11px; display:block; margin-bottom:4px; }
    .meeting-row .description { font-size:11px; color:#738096; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; margin-top:4px; overflow-wrap:anywhere; }
    .no-meetings { text-align:center; padding:34px 25px; color:#8a99ab; font-size:13px; }
    .meeting-pill { font-size:12px; border-radius:30px; padding:6px 11px; background:#e9f2ff; color:#27569d; font-weight:700; }
    .preview-footer { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:15px 28px 19px; border-top:1px solid var(--line); color:#8995a6; font-size:12px; }
    .link-button { color:var(--accent); padding:3px; font-size:12px; background:none; border:0; font-weight:700; cursor:pointer; }
    [hidden] { display:none !important; }
    @media(max-width:950px) { .layout { grid-template-columns:1fr; } .form-body { display:grid; grid-template-columns:1fr 1fr; gap:0 24px; } .form-body .divider { grid-column:1/-1; } .form-body .action { grid-column:1/-1; } }
    @media(max-width:600px) { .wrap { padding:24px 14px 50px; } header { display:block; } .privacy { display:inline-flex; margin-top:20px; } .form-body { display:block; padding:22px; } .panel-top { padding:22px; } .summary,.summary.three { padding:0 22px 22px; grid-template-columns:1fr 1fr; } .summary-item.period { grid-column:1/-1; } .preview-footer { padding:15px 22px; } .meeting-tools,.meetings-head { padding-left:22px; padding-right:22px; } .meeting-row { padding:12px 22px; } }
  /* Hosted-only controls; keep the offline report's styles above. */
.month-field { margin-bottom:0; }
.table-wrap col:nth-child(1) { width:5%; }
.table-wrap col:nth-child(2) { width:15%; }
.table-wrap col:nth-child(3) { width:30%; }
.table-wrap col:nth-child(4) { width:17%; }
.table-wrap col:nth-child(5) { width:33%; }
.auth-panel { max-width:710px; padding:20px; }
.auth-panel .status { margin:0; }
.auth-panel .small-button { margin-top:12px; }
.live-button { width:100%; min-height:44px; white-space:normal; }
.live-status { margin:9px 0 13px; }
.ics-fallback { margin:0 0 7px; color:#52627a; }
.meeting-source { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; padding:0 28px 14px; color:#52627a; font-size:13px; }
.meeting-source select { min-height:40px; max-width:100%; padding:6px 10px; border:1px solid #d3dce9; border-radius:9px; background:#fafbfd; color:var(--ink); }
.meeting-row strong { overflow-wrap:anywhere; }
.upload:focus-within { outline:2px solid var(--accent); outline-offset:3px; }
.group-settings { margin:0 0 20px; padding:16px 20px; }
.group-settings summary { cursor:pointer; font-weight:700; min-height:28px; }
.group-settings .field { max-width:390px; margin:12px 0; }
.group-settings .field input { margin-top:4px; }
.group-actions { display:flex; flex-wrap:wrap; gap:8px; }
.group-actions button { min-height:44px; white-space:normal; }
@media(max-width:600px) {
  .meeting-source { padding-inline:22px; }
  .meeting-source select, .meeting-tools .small-button { min-height:44px; }
  .meeting-tools input { min-width:min(100%, 220px); }
}
