/* CommandLedger Owner Meeting Notes Add-on - 2026-09-18 */
.mn-lead-card{border:1px solid rgba(249,115,22,.28);border-radius:16px;padding:16px;margin:0 0 18px;background:linear-gradient(135deg,rgba(249,115,22,.08),rgba(15,23,42,.02))}.mn-lead-head{display:flex;gap:18px;align-items:flex-start;justify-content:space-between}.mn-lead-head h3{margin:3px 0 5px}.mn-lead-head p{margin:0;max-width:720px}.mn-kicker{font-size:11px;letter-spacing:.13em;font-weight:800;color:#c65f0b}.mn-meeting-list{display:grid;gap:8px;margin-top:13px}.mn-meeting-row{width:100%;border:1px solid rgba(148,163,184,.3);border-radius:12px;background:rgba(255,255,255,.72);padding:11px 13px;display:flex;justify-content:space-between;gap:16px;text-align:left;cursor:pointer}.mn-meeting-row:hover{border-color:rgba(249,115,22,.55)}.mn-meeting-row span{display:flex;flex-direction:column;gap:3px}.mn-meeting-row small{opacity:.72}.mn-row-right{align-items:flex-end!important;white-space:nowrap}.mn-row-right em{font-style:normal;font-size:11px;font-weight:700;border-radius:999px;padding:3px 8px;background:rgba(234,179,8,.12)}.mn-row-right em.done{background:rgba(34,197,94,.12)}.mn-muted{opacity:.68;margin:10px 0 0}.mn-overlay{position:fixed;inset:0;z-index:10050;background:rgba(2,6,23,.72);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:12px}.mn-dialog{width:min(1480px,98vw);height:min(95vh,1100px);background:var(--panel,#fff);color:var(--text,#111827);border-radius:18px;box-shadow:0 28px 80px rgba(0,0,0,.34);display:flex;flex-direction:column;overflow:hidden}.mn-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:17px 20px;border-bottom:1px solid rgba(148,163,184,.25)}.mn-head h2{margin:2px 0 2px;font-size:22px}.mn-head small{opacity:.68}.mn-x{border:0;background:transparent;font-size:30px;line-height:1;padding:0 5px;cursor:pointer;color:inherit}.mn-body{overflow:auto;flex:1;padding:16px 18px 28px}.mn-foot{display:flex;align-items:center;gap:10px;padding:12px 18px;border-top:1px solid rgba(148,163,184,.25);background:rgba(148,163,184,.06)}.mn-foot-spacer{flex:1}.mn-toolbar{display:flex;align-items:center;gap:12px;position:sticky;top:-16px;z-index:4;padding:8px 0 10px;background:var(--panel,#fff)}.mn-save-state{font-size:12px;font-weight:700}.mn-save-state.saved{color:#16803b}.mn-save-state.dirty{color:#b45309}.mn-save-state.saving{color:#2563eb}.mn-save-state.error{color:#b91c1c}.mn-editor{display:grid;gap:14px}.mn-panel{border:1px solid rgba(148,163,184,.28);border-radius:15px;padding:16px;background:rgba(255,255,255,.58)}.mn-panel h3{margin:0 0 10px}.mn-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:10px}.mn-section-head h3{margin-bottom:3px}.mn-section-head p{margin:0;opacity:.68}.mn-actions{display:flex;gap:8px;flex-wrap:wrap}.mn-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mn-grid label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:700}.mn-grid .mn-full{grid-column:1/-1}.mn-grid input,.mn-grid textarea,.mn-question input,.mn-question textarea,.mn-big{width:100%;box-sizing:border-box;font:inherit;font-size:16px;line-height:1.45;border:1px solid rgba(100,116,139,.38);border-radius:11px;padding:11px 12px;background:var(--panel,#fff);color:inherit}.mn-pencil{min-height:58px}.mn-big{min-height:220px;resize:vertical}.mn-question{border:1px solid rgba(148,163,184,.3);border-radius:13px;padding:11px;margin:9px 0;background:rgba(148,163,184,.055)}.mn-q-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.mn-done{display:flex;flex-direction:row!important;align-items:center;gap:7px!important;font-size:12px!important}.mn-done input{width:auto!important}.mn-remove-q{border:0;background:transparent;color:#b91c1c;font-size:22px;cursor:pointer}.mn-q-text{font-weight:700;margin-bottom:8px}.mn-structured textarea{min-height:100px}.mn-focus .mn-meta,.mn-focus .mn-structured{display:none}.mn-focus #mnGeneralNotes{min-height:320px}.mn-focus .mn-question textarea{min-height:110px}#mnSketch{display:block;width:100%;height:280px;border:1px dashed rgba(100,116,139,.6);border-radius:12px;background:#fff;touch-action:none;cursor:crosshair}.mn-foot .danger{color:#b91c1c;border-color:rgba(185,28,28,.4)}
@media(max-width:820px){.mn-overlay{padding:0}.mn-dialog{width:100vw;height:100vh;max-height:none;border-radius:0}.mn-head{padding:13px 14px}.mn-body{padding:12px}.mn-foot{padding:10px;flex-wrap:wrap}.mn-grid{grid-template-columns:1fr}.mn-grid .mn-full{grid-column:auto}.mn-section-head,.mn-lead-head{flex-direction:column}.mn-actions{width:100%}.mn-actions button,.mn-lead-head>button{width:100%}.mn-meeting-row{flex-direction:column}.mn-row-right{align-items:flex-start!important}.mn-toolbar{top:-12px}.mn-foot-spacer{display:none}.mn-foot button{flex:1 1 42%;min-height:46px}#mnSketch{height:250px}}
@media(prefers-color-scheme:dark){.mn-meeting-row,.mn-panel{background:rgba(15,23,42,.45)}#mnSketch{background:#fff}}

/* v1.9.19 UI polish hotfix - priority centering + full-screen meeting workspace */
.cl-priority-letter-centered{display:inline-flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;line-height:1!important;vertical-align:middle!important;box-sizing:border-box!important;text-indent:0!important}
.mn-overlay.mn-fullscreen{padding:0!important}
.mn-overlay.mn-fullscreen .mn-dialog{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;border-radius:0!important}
.mn-overlay.mn-fullscreen .mn-head{padding-top:max(13px,env(safe-area-inset-top));padding-left:max(14px,env(safe-area-inset-left));padding-right:max(14px,env(safe-area-inset-right))}
.mn-overlay.mn-fullscreen .mn-foot{padding-bottom:max(10px,env(safe-area-inset-bottom));padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right))}


/* v1.9.19 priority value alignment correction - exact Priority card/value control */
.cl-priority-card-fixed .cl-priority-pill-fixed{display:flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;height:30px!important;padding-top:0!important;padding-bottom:0!important;line-height:1!important;box-sizing:border-box!important;overflow:hidden!important}
.cl-priority-card-fixed .cl-priority-value-fixed{margin:0!important;top:auto!important;transform:none!important;vertical-align:middle!important;box-sizing:border-box!important}
.cl-priority-card-fixed select.cl-priority-value-fixed,.cl-priority-card-fixed input.cl-priority-value-fixed{height:30px!important;min-height:30px!important;padding-top:0!important;padding-bottom:0!important;line-height:30px!important;text-align:center!important;text-align-last:center!important}
.cl-priority-card-fixed :is(span,strong,em,button,[role="button"]).cl-priority-value-fixed{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:100%!important;padding:0!important;line-height:1!important;text-align:center!important}

/* v1.9.19 iPad Meeting Brief layout correction - 2026-09-18 */
@media (min-width:821px) and (max-width:1180px){
  .mn-meta .mn-grid>label:nth-child(3),
  .mn-meta .mn-grid>label:nth-child(4){grid-column:1/-1!important;min-width:0!important}
  .mn-meta .mn-grid>label:nth-child(3)>input,
  .mn-meta .mn-grid>label:nth-child(4)>input{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
}

/* CL1919_IPAD_MEETING_FIELD_NOTICE_CLEANUP_1 */
.cl1919-hide-field-sync-badge,
.cl1919-hide-field-ready-banner{display:none!important}

/* iPad Safari can give datetime-local controls a large intrinsic width.
   Force Date & time and Location onto separate full-width rows instead of
   depending on the browser's intrinsic control sizing. */
.mn-ipad-force-full-row{
  grid-column:1 / -1!important;
  min-width:0!important;
  width:100%!important;
  max-width:100%!important;
}
.mn-ipad-force-full-row>input,
.mn-ipad-force-full-row>textarea,
.mn-ipad-force-full-row>select{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}

/* CL1919_IPAD_DATETIME_ORIGINAL_LAYOUT_LEFT_1
   Restore the original side-by-side Date & time / Location layout on iPad,
   but constrain the native iPad date control to its own half and left-align
   the displayed date/time so it cannot spill into the Location field. */
@supports (-webkit-touch-callout:none){
  .mn-ipad-meeting-grid-fixed{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    column-gap:12px!important;
  }

  .mn-ipad-force-full-row{
    grid-column:auto!important;
    min-width:0!important;
    width:auto!important;
    max-width:100%!important;
  }

  .mn-ipad-force-full-row>input,
  .mn-ipad-force-full-row>textarea,
  .mn-ipad-force-full-row>select{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  #mnWhen{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    text-align:left!important;
    padding-left:14px!important;
    padding-right:14px!important;
  }
  #mnWhen::-webkit-date-and-time-value{
    text-align:left!important;
    margin:0!important;
    padding:0!important;
    min-width:0!important;
  }
  #mnWhen::-webkit-datetime-edit,
  #mnWhen::-webkit-datetime-edit-fields-wrapper{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    text-align:left!important;
    margin:0!important;
    padding:0!important;
  }
}

/* CL1919_IPAD_CUSTOM_DATETIME_1 */
@supports (-webkit-touch-callout:none){
  #mnWhen.mn-native-when-hidden{
    position:absolute!important;
    left:0!important;
    bottom:0!important;
    width:1px!important;
    min-width:1px!important;
    max-width:1px!important;
    height:1px!important;
    min-height:1px!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    opacity:.001!important;
    pointer-events:none!important;
    overflow:hidden!important;
  }
  #mnWhenDisplay.mn-custom-when-display{
    display:block!important;
    position:static!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    box-sizing:border-box!important;
    margin:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    text-align:left!important;
    cursor:pointer!important;
    -webkit-appearance:none!important;
    appearance:none!important;
  }
  label:has(#mnWhen){
    position:relative!important;
    min-width:0!important;
    max-width:100%!important;
    overflow:hidden!important;
  }
}
