/* Marinheiro 0.9 — shared scale, readable controls and responsive workflows. */
:root{--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--muted:#526176;--focus:#2853a0}
body{font-size:14px;line-height:1.5}h1,h2,h3{overflow-wrap:anywhere}.content{padding:24px 24px 40px}p,td,dd,small{overflow-wrap:anywhere}small{font-size:12px}button,input,select,textarea{font-size:14px}button,.button,.button.small,.task-edit,.text-action,.filter-submit,.google-action{min-height:44px}.button,.button.small{font-size:14px}.icon-button,.menu-button,.notification-button,.modal>header>button,.calendar-actions>a,.view-toggle button{min-width:44px;min-height:44px}.sidebar nav>a{min-height:44px;font-size:14px}.sidebar nav{gap:4px}.sidebar-user strong,.top-profile strong{font-size:14px}.sidebar-user small,.top-profile small{font-size:12px}.sidebar{width:256px}.main{margin-left:256px}.sales-main{margin-left:0}.topbar{min-height:72px;height:auto;padding:12px 24px}.top-profile{min-width:0}.top-profile>div{min-width:0}.top-profile strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.page-head h1,.workspace-head h1{font-size:28px;line-height:1.2}.page-head,.workspace-head{align-items:center;flex-wrap:wrap;gap:16px}.page-head>div{flex:1;min-width:200px}.page-head>div>span,.workspace-head>div>span{font-size:14px}.panel>header h2,.section-head h2{font-size:18px}.panel,.workspace-card{box-shadow:0 2px 8px #111f5908}.metrics,.workspace-metrics{gap:16px}.metrics strong,.workspace-metrics article strong{font-size:28px}.metrics span,.workspace-metrics article span{font-size:14px}.metrics small{font-size:12px}.eyebrow{color:#526176;font-size:12px}.eyebrow.light{color:#c4cdec}.notification-popover>a strong{font-size:14px}.notification-popover>a span,.notification-popover>a small{font-size:12px}.notification-popover header button{font-size:12px;min-height:44px}.notification-button b{font-size:12px;min-width:24px;height:24px}.notification-popover{max-height:min(600px,75dvh)}
*:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.login-form input:focus{outline:3px solid var(--focus);outline-offset:2px;box-shadow:none}.form-grid [aria-invalid=true]{border:2px solid #a52836}.form-grid label>span,.login-form label span{font-size:14px}.form-grid label small,.form-note,.form-message{font-size:12px}.form-grid{gap:16px}.form-grid>*,.form-grid label{min-width:0}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px;min-height:44px}.form-message:not(:empty){background:#fff1f2;color:#8f1e2a;border:1px solid #bc3444;padding:12px;border-radius:8px}.form-section{margin:16px 0 0;padding-top:16px;border-top:1px solid var(--line);font-size:18px}.requirements-list{color:#684d00;background:#fff5d8;padding:12px;border-radius:8px}.check input,.check-cell input{width:22px!important;min-height:22px!important;height:22px}.check{min-height:44px}.state-badge,.status-pill{font-size:12px;line-height:1.5;padding:4px 8px;color:#17213c}.status-pill{background:#f4f6fa;border-left:5px solid var(--status,#526176)}.importance{font-size:12px}.state-overdue,.state-late,.state-error,.state-failed{color:#8f1e2a;background:#fff0f1}.state-attention,.state-pending_approval{color:#684d00;background:#fff3ca}.state-completed,.state-signed,.state-paid{color:#145f3e;background:#e5f5ec}
.assistant-disclosure{margin:16px 0;border:1px solid var(--line);border-radius:12px;background:#fff}.assistant-disclosure>summary{padding:12px 16px;cursor:pointer;font-weight:600;color:#24478d;min-height:48px}.assistant-disclosure .ai-strip{margin:0;border:0;border-top:1px solid var(--line);border-radius:0;padding:16px}.pipeline-panel .section-head{flex-wrap:wrap}.section-actions{max-width:100%;flex-wrap:wrap;gap:8px}.pipeline-filters{flex-wrap:wrap;gap:8px;min-width:0}.pipeline-filters select,.pipeline-filters input{font-size:14px;min-height:44px}.inline-search{min-width:180px;flex:1}.company-card{padding:16px!important;min-width:0}.company-card h3,.company-card strong,.company-link strong{font-size:16px;line-height:1.35}.company-card small,.company-card p,.company-card footer{font-size:12px;line-height:1.5}.company-card .next-step{font-size:14px;font-weight:600}.kanban-column>header{min-height:56px}.kanban-column>header h3{font-size:14px}.kanban-tab{min-height:44px}.closed-summary{flex-wrap:wrap;gap:8px}.attention-banner{margin:16px 0}.workspace-bottom{gap:24px}.task-row{padding:12px 0;gap:12px}.task-row strong{font-size:14px}.task-row small{font-size:12px}.task-edit{font-size:12px}.mobile-filter-toggle{display:none}
.modal{width:min(880px,calc(100vw - 48px));max-height:90dvh;padding:0;scroll-padding-top:90px;scroll-padding-bottom:100px}.modal>header{position:sticky;top:0;z-index:4;margin:0;padding:16px 24px;background:#fff;border-bottom:1px solid var(--line)}.modal>header h2{font-size:22px}.modal>form{padding:24px;padding-bottom:0}.modal-actions{position:sticky;bottom:0;z-index:3;background:#fff;border-top:1px solid var(--line);padding:16px 0;margin:0;flex-wrap:wrap}.modal:not(:has(>form)){padding:24px}.modal:not(:has(>form))>header{margin:-24px -24px 24px}.wizard-progress{list-style:none;display:flex;gap:8px;padding:0;margin:0 0 8px}.wizard-progress li{flex:1;padding:8px;border-bottom:3px solid #d7dfed;color:#526176;font-size:12px}.wizard-progress li.active{border-color:#24478d;color:#111f59;font-weight:800}.wizard-step{align-content:start}.counterpart-picker{padding:0;border:0}.counterpart-picker>legend{font-size:16px;font-weight:700;margin-bottom:12px}.counterpart-picker [data-counterpart-row]{display:grid;grid-template-columns:minmax(160px,1.5fr) minmax(80px,.5fr) 1fr 1fr;gap:12px;padding:16px 0;border-bottom:1px solid var(--line);align-items:end}.counterpart-picker .check{align-self:center;display:flex;flex-direction:row;gap:8px}.counterpart-picker .check span{font-size:14px}.deal-review{padding:16px;background:#f3f6fc;border:1px solid #cbd6eb;border-radius:12px}.deal-review h3{font-size:18px}.document-checklist{display:grid;gap:16px;border-color:var(--line);border-radius:8px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}.detail-grid>div{min-width:0}.detail-grid dt{font-size:12px;color:#526176;margin-bottom:4px}.detail-grid dd{margin:0;font-size:14px;font-weight:600;white-space:pre-line}.routine-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.routine-grid .panel{min-width:0;padding:24px}.routine-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.routine-item>div{min-width:0;flex:1}.routine-item strong{font-size:14px}.routine-item p{margin:4px 0;color:#526176}.routine-item .button{flex-shrink:0}.company-overview{margin-bottom:24px;padding:24px}.company-overview h2{margin:16px 0 8px}.timeline{list-style:none;padding:0;margin:16px 0}.timeline li{padding:0 0 24px 20px;border-left:2px solid #d1dbed}.timeline time{display:block;color:#526176;font-size:12px}.timeline strong{display:block;margin:4px 0 8px}.preserve-lines{white-space:pre-wrap}.document-link{display:block;padding:12px 0;color:#24478d;text-decoration:underline}.list-limit{display:flex;align-items:center;gap:12px;margin:24px 0}.persistent-error{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);z-index:100;display:flex;align-items:center;gap:12px;flex-wrap:wrap;max-width:calc(100vw - 32px);width:760px;padding:16px;background:#fff1f2;color:#8f1e2a;border:2px solid #bc3444;border-radius:12px;box-shadow:0 8px 24px #17213c22}.persistent-error>span{flex:1;min-width:200px}.toast{font-size:14px;max-width:calc(100vw - 32px)}.content[aria-busy=true]{cursor:progress}
.module-table table th{position:sticky;top:0;z-index:1;background:#f3f6fa;font-size:12px;padding:12px 16px}.module-table table td{font-size:14px;padding:16px;vertical-align:top}.module-table table td small{font-size:12px;line-height:1.5}.module-table table td[data-label="Valor"],.module-table table td[data-label="Saldo"],.module-table table td[data-label="Negociado"]{text-align:right;font-variant-numeric:tabular-nums}.module-table .table-wrap{max-height:72dvh}.mobile-row-control{display:none}.workflow-guide{flex-wrap:wrap;gap:8px}.workflow-guide span{font-size:12px}.completion b{font-size:12px}.inbound-main h3{font-size:16px}.inbound-main header strong{font-size:14px}.inbound-item details{font-size:14px}.campaign-bulk-actions{flex-wrap:wrap}
.calendar-day{min-height:80px;height:100%;position:relative}.calendar-day>span{font-size:14px}.calendar-grid{grid-template-rows:auto repeat(6,minmax(80px,1fr))}.calendar-day.has-events:after{content:"";display:block;width:8px;height:8px;border-radius:50%;background:#24478d;margin:4px auto}.calendar-day[aria-pressed=true]{outline:3px solid #24478d;outline-offset:-3px}.calendar-count{font-size:12px}.calendar-actions a{display:inline-flex;align-items:center;justify-content:center}.inline-day-agenda{margin-top:16px;padding:16px;background:#f4f7fc;border:1px solid #cad6ea;border-radius:12px}.inline-day-agenda h3{font-size:16px}.inline-day-agenda .day-item{margin-bottom:8px}.day-item small,.day-item em{font-size:12px}.day-item strong{font-size:14px}.mobile-calendar-agenda{display:none}.empty{font-size:14px;padding:24px}.module-toolbar p,.section-description{font-size:14px}
@media(max-width:1100px){.routine-grid,.workspace-bottom{grid-template-columns:1fr}.counterpart-picker [data-counterpart-row]{grid-template-columns:repeat(2,minmax(0,1fr))}.metrics,.workspace-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){body{font-size:16px}.sidebar{width:min(280px,85vw)}.main{margin-left:0}.content{padding:16px 12px 32px}.topbar{padding:8px 12px;gap:8px}.top-profile>div{display:none}.top-profile>a{font-size:12px;margin-left:0}.page-head h1,.workspace-head h1{font-size:24px}.page-head,.workspace-head{gap:12px}.workspace-actions{width:100%;flex-wrap:wrap}.workspace-actions .button{flex:1}.metrics,.workspace-metrics{gap:8px}.metrics article,.workspace-metrics article{padding:12px}.metrics strong,.workspace-metrics article strong{font-size:24px}.metrics span,.workspace-metrics article span{font-size:12px}.section-actions{width:100%}.pipeline-filters{display:flex;width:100%}.pipeline-filters .inline-search{order:-1;flex-basis:100%}.mobile-filter-toggle{display:inline-flex}.pipeline-filters:not(.filters-expanded)>select{display:none}.pipeline-filters select{max-width:100%;flex:1 1 140px}.routine-grid{gap:16px}.routine-grid .panel,.company-overview{padding:16px}.routine-item{align-items:flex-start;flex-wrap:wrap;gap:8px}.routine-item>.button{margin-left:auto}.form-grid{grid-template-columns:minmax(0,1fr)}.form-grid .full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}.modal,.modal.small-modal,.day-agenda-modal,.email-preview-modal{inset:0;width:100%;height:100dvh;max-height:100dvh;border-radius:0;transform:none!important;padding:0}.modal>header{padding:calc(12px + env(safe-area-inset-top)) 16px 12px}.modal>form{padding:16px;padding-bottom:0}.modal-actions{padding:12px 0 calc(12px + env(safe-area-inset-bottom));flex-direction:row;gap:8px}.modal-actions .button{width:auto;flex:1 1 130px}.modal:not(:has(>form)){padding:16px}.modal:not(:has(>form))>header{margin:-16px -16px 16px}.wizard-progress{gap:4px}.wizard-progress li{font-size:12px;padding:8px 4px}.counterpart-picker [data-counterpart-row]{grid-template-columns:1fr 1fr}.counterpart-picker .check{grid-column:1/-1}.detail-grid{grid-template-columns:1fr}.modal-actions [data-close]{flex:0 1 auto}.calendar-grid{gap:4px;grid-template-rows:auto repeat(6,48px)}.calendar-day{min-width:0;min-height:48px;height:48px;padding:4px}.calendar-day small{display:none}.mobile-calendar-agenda{display:flex}.calendar-day>span{font-size:14px}.calendar-day.has-events:after{margin-top:2px;width:6px;height:6px}.calendar-actions{flex-wrap:wrap;gap:4px}.calendar-actions .button{padding:0 8px}.calendar-card .section-head{flex-wrap:wrap}.google-status{flex-wrap:wrap}.google-status>div{flex:1;min-width:180px}.google-action{display:flex;align-items:center}.calendar-grid .weekday{font-size:12px}.day-item{grid-template-columns:1fr;gap:8px}.day-item>span{justify-self:start}.module-table .table-wrap{max-height:none;overflow:visible}.responsive-cards,.responsive-cards tbody{display:block;width:100%;min-width:0!important}.responsive-cards thead{display:none}.responsive-cards tbody tr{display:grid;grid-template-columns:minmax(0,1fr);margin:12px;padding:16px;border:1px solid var(--line);border-radius:12px;background:#fff;gap:12px}.module-table .responsive-cards tbody td{display:block;width:auto!important;padding:0;border:0;text-align:left;min-width:0;white-space:normal}.responsive-cards td:before{content:attr(data-label);display:block;margin-bottom:4px;font-size:12px;font-weight:600;color:#526176}.responsive-cards td:first-child:before,.responsive-cards td.mobile-row-control:before{display:none}.responsive-cards tr:not(.mobile-expanded)>td:nth-child(n+3):not(.row-primary-action):not(.mobile-row-control){display:none}.responsive-cards tr>td.mobile-row-control{display:block}.responsive-cards .row-primary-action{padding-top:8px!important}.responsive-cards .row-primary-action .button,.mobile-row-control .button{width:100%}.persistent-error{bottom:8px;padding:12px;gap:8px}.notification-popover{position:fixed;top:72px;right:12px;width:calc(100vw - 24px)}.task-row{grid-template-columns:auto minmax(0,1fr) auto}.document-links{grid-template-columns:1fr}.ai-strip{flex-wrap:wrap}.ai-strip form{min-width:0;width:100%}.ai-strip input{font-size:16px;width:100%;min-width:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.handoff-panel{padding:24px;margin-bottom:24px}.handoff-panel>header{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px}.handoff-panel h2{font-size:18px}

.card-owner{display:block;font-size:12px;color:#526176;margin:8px 0}.company-card .card-top>button{min-width:44px}
.send-failure-panel{border:2px solid #b42318;background:#fff7f6;padding:20px;margin-bottom:20px}.send-failure-panel h2{font-size:18px;color:#8f1d14}.send-failure-list{display:grid;gap:8px}.send-failure-list>div{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) 2fr;gap:12px;padding:10px 0;border-top:1px solid #efc3bf}.send-failure-list small{color:#8f1d14}@media(max-width:780px){.send-failure-list>div{grid-template-columns:1fr;gap:2px}}
/* 0.9.2 — compact responsive type and sponsor checklists. */
h1,h2,h3,p,td,dd,small{overflow-wrap:break-word;word-break:normal}.send-failure-list>div{grid-template-columns:minmax(150px,1fr) minmax(170px,1fr) minmax(220px,2fr) auto;align-items:center}.sponsor-checklist-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr));gap:20px}.sponsor-checklist-card{padding:20px;min-width:0}.sponsor-checklist-card>header,.sponsor-checklist-card>footer{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}.sponsor-checklist-card h2{margin:8px 0 2px;font-size:20px}.sponsor-checklist-card p{margin:0;color:var(--muted)}.sponsor-card-actions{display:flex;gap:8px;flex-wrap:wrap}.sponsor-checklist{margin:16px 0}.sponsor-checklist h3{font-size:14px;margin:18px 0 6px;color:#394963}.sponsor-check{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;padding:10px 0;border-bottom:1px solid var(--line)}.sponsor-check input{width:22px;height:22px;margin-top:2px}.sponsor-check span,.sponsor-check b,.sponsor-check small{min-width:0}.sponsor-check b,.sponsor-check small{display:block}.sponsor-check small{color:var(--muted);margin-top:2px}.sponsor-check:has(input:checked) b{text-decoration:line-through;color:var(--muted)}.empty.compact{padding:12px 0}.sponsor-checklist-card>footer{padding-top:12px;border-top:1px solid var(--line)}
@media(max-width:1400px) and (min-width:781px){.sidebar{width:224px}.main{margin-left:224px}.sales-main{margin-left:0}.content{padding:20px 16px 36px}.page-head h1,.workspace-head h1{font-size:25px}.button,.button.small{font-size:13px}}
@media(max-width:780px){body{font-size:14px}.page-head h1,.workspace-head h1{font-size:22px}.button,.button.small,button{font-size:13px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px}.send-failure-list>div{grid-template-columns:1fr;gap:4px}.send-failure-list .button{width:100%}.sponsor-checklist-grid{grid-template-columns:1fr;gap:12px}.sponsor-checklist-card{padding:16px}.sponsor-checklist-card h2{font-size:18px}.sponsor-card-actions{width:100%}.sponsor-card-actions .button{flex:1}.sponsor-check{font-size:13px}.inbound-main h3{font-size:15px}.inbound-item details,.module-toolbar p,.section-description{font-size:13px}}

/* Responsividade da Mesa Comercial no Celular: Tarefas e Calendário — v0.9.10 */
@media (max-width: 780px) {
  .workspace-bottom {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 16px !important;
    box-sizing: border-box !important;
  }
  .tasks-card,
  .calendar-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 14px 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .tasks-card .section-head,
  .calendar-card .section-head {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .tasks-card .section-head > div,
  .calendar-card .section-head > div {
    flex: 1 1 180px !important;
    min-width: 0 !important;
  }
  .tasks-card .section-head h2,
  .calendar-card .section-head h2 {
    font-size: 16px !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
  .tasks-card .section-head button,
  .calendar-card .section-head button {
    flex-shrink: 0 !important;
  }
  .task-list {
    width: 100% !important;
    min-width: 0 !important;
  }
  .task-row {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr) auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 4px 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
  }
  .task-row input[type="checkbox"] {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    margin: 0 !important;
  }
  .task-row > span {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .task-row > span strong {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .task-row > span small {
    display: block !important;
    font-size: 11px !important;
    color: var(--muted) !important;
    margin-top: 2px !important;
    word-break: break-word !important;
  }
  .task-row em {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
    border-radius: 10px !important;
    margin-top: 2px !important;
  }
  .task-row .task-edit {
    grid-column: 3 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
    min-height: 32px !important;
  }
  .google-status {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 10px !important;
    box-sizing: border-box !important;
  }
  .google-status > span {
    display: none !important;
  }
  .google-status > div:nth-child(2) {
    width: 100% !important;
    min-width: 0 !important;
  }
  .google-status strong {
    font-size: 12px !important;
    line-height: 1.35 !important;
    display: block !important;
  }
  .google-status small {
    font-size: 11px !important;
    color: #64748b !important;
    display: block !important;
    margin-top: 2px !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }
  .google-status > div:last-child {
    display: flex !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding-top: 6px !important;
    border-top: 1px solid rgba(0,0,0,.06) !important;
  }
  .google-status .google-action {
    flex: 1 !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
    background: #fff !important;
    border: 1px solid #d0d7e4 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1a387d !important;
  }
  .calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(44px, auto) !important;
    gap: 2px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 !important;
    box-sizing: border-box !important;
  }
  .weekday {
    padding: 4px 0 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-align: center !important;
    color: #64748b !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .calendar-day {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    padding: 3px 1px !important;
    border: 1px solid #e5eaf2 !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    position: relative !important;
  }
  .calendar-day > span {
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #1e293b !important;
  }
  .calendar-day.today {
    border-color: #24498f !important;
    background: #f0f5ff !important;
  }
  .calendar-day.today > span {
    color: #1e3a8a !important;
    font-weight: 800 !important;
  }
  .calendar-day.outside {
    opacity: 0.3 !important;
  }
  .calendar-day small {
    display: none !important;
  }
  .calendar-count {
    display: block !important;
    width: calc(100% - 2px) !important;
    max-width: calc(100% - 2px) !important;
    min-width: 0 !important;
    margin: 1px auto 0 !important;
    padding: 1px 2px !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    text-align: center !important;
    border-radius: 3px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    box-sizing: border-box !important;
  }
  .task-count {
    background: #fef3c7 !important;
    color: #92400e !important;
  }
  .mobile-event-count {
    background: #dbeafe !important;
    color: #1e40af !important;
  }
  .calendar-day .count-full {
    display: none !important;
  }
  .calendar-day .count-short {
    display: inline !important;
  }
  .mobile-calendar-agenda {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 14px !important;
    padding-top: 12px !important;
    border-top: 1px solid var(--line) !important;
    box-sizing: border-box !important;
  }
  .mobile-calendar-event {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 9px 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 9px !important;
    background: #f8faff !important;
    box-sizing: border-box !important;
    text-align: left !important;
  }
  .mobile-calendar-event span {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .mobile-calendar-event b,
  .mobile-calendar-event small {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .pending-meetings {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  .pending-meetings article {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .pending-meetings article > div {
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .pending-meetings article strong,
  .pending-meetings article small {
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .pending-meetings article button {
    flex-shrink: 0 !important;
    min-width: auto !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
  }
}
@media (min-width: 781px) {
  .calendar-day .count-short {
    display: none !important;
  }
  .calendar-day .count-full {
    display: inline !important;
  }
  .calendar-day small {
    display: block !important;
    padding: 2px 3px !important;
    border-left: 2px solid var(--event) !important;
    border-radius: 3px !important;
    background: #f3f5fa !important;
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .calendar-count.task-count {
    display: block !important;
    margin-top: auto !important;
    padding: 1px 3px !important;
    border-radius: 3px !important;
    background: #fef3c7 !important;
    color: #92400e !important;
    font-size: 11px !important;
    font-weight: 700 !important;
  }
  .mobile-event-count,
  .mobile-calendar-agenda {
    display: none !important;
  }
}

