/* Only the personal sidebar and its native expanded dialog. */
#page-workbench-vue .wb-personal-compact { grid-template-rows:auto min-content minmax(0,1fr); }
#page-workbench-vue .wb-sidebar-widgets { display:flex; flex-direction:column; gap:12px; width:100%; min-width:0; }
#page-workbench-vue .wb-sidebar-widget { position:relative; min-width:0; border-radius:12px; }
#page-workbench-vue .wb-sidebar-widget.drop-active { outline:2px dashed #83afe2; outline-offset:3px; }
#page-workbench-vue .wb-widget-grip { position:absolute; top:11px; right:40px; z-index:1; display:grid; place-items:center; width:20px; height:23px; padding:0; border:0; border-radius:5px; color:#9aaabd; background:transparent; cursor:grab; font-size:20px; line-height:1; }
#page-workbench-vue .wb-widget-grip:hover { color:#3989ed; background:#eaf2fc; }
#page-workbench-vue .wb-widget-grip:disabled { opacity:.4; cursor:default; }
#page-workbench-vue .wb-widget-grip:focus-visible { outline:2px solid #3989ed; }
#page-workbench-vue .wb-sidebar-widget .wb-note { width:100%; margin:0; }
#page-workbench-vue .wb-sidebar-widget .wb-note-h > div { padding-right:20px; }
#page-workbench-vue .wb-calendar-card { min-height:218px; box-sizing:border-box; padding:9px 10px 7px; border:1px solid #dce9f7; border-radius:12px; background:rgba(255,255,255,.85); color:#365674; }
#page-workbench-vue .wb-calendar-heading { display:flex; align-items:center; justify-content:space-between; gap:2px; min-height:24px; padding:0 2px; }
#page-workbench-vue .wb-calendar-heading b { font-size:13px; font-weight:600; }
#page-workbench-vue .wb-calendar-heading button { border:0; border-radius:5px; color:#7292b1; background:#edf4fc; font-size:17px; width:22px; height:23px; padding:0; cursor:pointer; }
#page-workbench-vue .wb-calendar-month { display:flex; align-items:center; justify-content:space-between; margin:4px 0 3px; }
#page-workbench-vue .wb-calendar-month button { border:0; background:transparent; color:#5e7b98; padding:2px 6px; min-height:24px; cursor:pointer; font-size:11px; }
#page-workbench-vue .wb-calendar-month button:first-child,#page-workbench-vue .wb-calendar-month button:last-child { font-size:18px; }
#page-workbench-vue .wb-calendar-weekdays,#page-workbench-vue .wb-calendar-days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:1px; }
#page-workbench-vue .wb-calendar-weekdays { text-align:center; font-size:10px; color:#99aabd; margin-bottom:3px; }
#page-workbench-vue .wb-calendar-days button { display:flex; align-items:center; justify-content:center; flex-direction:column; position:relative; height:19px; padding:1px 0 3px; border:0; border-radius:5px; background:transparent; color:#506d8c; font-size:10px; cursor:pointer; }
#page-workbench-vue .wb-calendar-days button.muted { color:#c0cad7; }
#page-workbench-vue .wb-calendar-days button.today { background:#3989ed; color:white; }
#page-workbench-vue .wb-calendar-days button.selected:not(.today) { background:#e5f0fe; }
#page-workbench-vue .wb-calendar-days button i { position:absolute; bottom:2px; width:3px; height:3px; background:currentColor; border-radius:50%; }
#page-workbench-vue .wb-calendar-hint { width:100%; padding:4px 0 0; line-height:14px; text-align:center; color:#8aa0b8; border:0; background:transparent; cursor:pointer; font-size:10px; }
#page-workbench-vue .wb-calendar-dialog { box-sizing:border-box; width:min(1140px,calc(100vw - 36px)); height:min(760px,calc(100svh - 36px)); max-width:none; max-height:none; margin:auto; border:1px solid #d8e5f2; border-radius:20px; padding:20px; color:#365674; background:#f5f9fe; box-shadow:0 25px 90px rgba(25,52,80,.22); font-family:inherit; }
#page-workbench-vue .wb-calendar-dialog[open] { display:flex; flex-direction:column; gap:12px; }
#page-workbench-vue .wb-calendar-dialog::backdrop { background:rgba(31,53,81,.35); backdrop-filter:blur(3px); }
#page-workbench-vue .wb-calendar-dialog button,#page-workbench-vue .wb-calendar-dialog input,#page-workbench-vue .wb-calendar-dialog textarea { font:inherit; box-sizing:border-box; }
#page-workbench-vue .wb-calendar-dialog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:10px; }
#page-workbench-vue .wb-calendar-dialog-head h2 { font-size:20px; margin:0; }
#page-workbench-vue .wb-calendar-dialog-head p { margin:5px 0 0; font-size:12px; color:#8b9eb4; }
#page-workbench-vue .wb-calendar-dialog-head > button { width:30px; height:30px; border:0; background:#eaf1fa; border-radius:8px; color:#6d86a1; cursor:pointer; font-size:22px; }
#page-workbench-vue .wb-calendar-toolbar { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
#page-workbench-vue .wb-calendar-toolbar > div { display:flex; gap:7px; align-items:center; flex-wrap:wrap; }
#page-workbench-vue .wb-calendar-toolbar strong { font-size:13px; }
#page-workbench-vue .wb-calendar-dialog button { cursor:pointer; }
#page-workbench-vue .wb-calendar-toolbar button,#page-workbench-vue .wb-calendar-editor footer button { min-height:32px; padding:5px 10px; border:1px solid #d7e5f5; border-radius:8px; color:#6083a6; background:white; font-size:12px; }
#page-workbench-vue .wb-calendar-dialog button.primary { background:#3989ed; border-color:#3989ed; color:white; }
#page-workbench-vue .wb-calendar-dialog button:disabled { opacity:.45; cursor:wait; }
#page-workbench-vue .wb-calendar-week-scroll { flex:1; min-height:0; overflow:auto; border:1px solid #dce8f6; border-radius:10px; }
#page-workbench-vue .wb-calendar-week-table { display:grid; grid-template-columns:48px repeat(7,minmax(105px,1fr)); min-width:790px; background:#fff; }
#page-workbench-vue .wb-calendar-corner,#page-workbench-vue .wb-calendar-day-head { position:sticky; top:0; z-index:2; background:#eef5fd; border-right:1px solid #dce8f6; border-bottom:1px solid #dce8f6; padding:8px; min-height:57px; }
#page-workbench-vue .wb-calendar-corner { font-size:11px; color:#8aa0b8; }
#page-workbench-vue .wb-calendar-day-head { display:flex; flex-direction:column; gap:4px; font-size:12px; }
#page-workbench-vue .wb-calendar-day-head span { font-size:10px; color:#8aa0b8; }
#page-workbench-vue .wb-calendar-day-head.today { background:#dfefff; }
#page-workbench-vue .wb-calendar-day-head em { margin-left:5px; padding:1px 3px; border-radius:3px; color:white; background:#599ce9; font-style:normal; }
#page-workbench-vue .wb-calendar-hour { padding:10px 4px; color:#8da2b8; font-size:10px; text-align:center; border-right:1px solid #dce8f6; border-bottom:1px solid #e5edf7; background:#f1f7fd; }
#page-workbench-vue .wb-calendar-cell { padding:4px; min-height:70px; border-right:1px solid #e5edf7; border-bottom:1px solid #e5edf7; }
#page-workbench-vue .wb-calendar-cell.today { background:#f6faff; }
#page-workbench-vue .wb-calendar-event { display:flex; flex-direction:column; gap:3px; width:100%; padding:6px; margin-bottom:4px; border:0; border-left:3px solid #60a2eb; border-radius:7px; background:#eaf3fe; color:#426a91; text-align:left; overflow-wrap:anywhere; font-size:11px!important; }
#page-workbench-vue .wb-calendar-event b { font-size:10px; }
#page-workbench-vue .wb-calendar-foot,#page-workbench-vue .wb-calendar-state { margin:0; font-size:11px; color:#8a9fb6; }
#page-workbench-vue .wb-calendar-error { color:#ac514b; background:#fff2ef; padding:8px; border-radius:7px; margin:0; font-size:12px; overflow-wrap:anywhere; }
#page-workbench-vue .wb-calendar-editor { flex:1; min-height:0; overflow:auto; background:white; padding:18px; border:1px solid #e1ebf6; border-radius:12px; }
#page-workbench-vue .wb-calendar-editor form { max-width:620px; margin:auto; }
#page-workbench-vue .wb-calendar-editor h3 { margin:0 0 14px; font-size:16px; }
#page-workbench-vue .wb-calendar-editor label { display:flex; flex-direction:column; gap:6px; margin:12px 0; font-size:12px; color:#70879e; min-width:0; }
#page-workbench-vue .wb-calendar-editor input,#page-workbench-vue .wb-calendar-editor textarea { width:100%; min-width:0; border:1px solid #d9e5f3; border-radius:8px; background:#faffff; padding:9px; color:#365674; font-size:13px; }
#page-workbench-vue .wb-calendar-fields { display:grid; grid-template-columns:2fr 1fr 1fr; gap:10px; }
#page-workbench-vue .wb-calendar-editor footer { display:flex; justify-content:flex-end; align-items:center; gap:8px; flex-wrap:wrap; margin-top:16px; }
#page-workbench-vue .wb-calendar-editor footer .danger { color:#c06155; margin-right:auto; }
@media(max-width:650px) {
  #page-workbench-vue .wb-calendar-card { max-width:100%; }
  #page-workbench-vue .wb-calendar-days button { height:28px; }
  #page-workbench-vue .wb-calendar-dialog { width:calc(100vw - 16px); height:calc(100svh - 16px); padding:12px; border-radius:14px; }
  #page-workbench-vue .wb-calendar-fields { grid-template-columns:1fr 1fr; }
  #page-workbench-vue .wb-calendar-fields label:first-child { grid-column:1/-1; }
  #page-workbench-vue .wb-calendar-toolbar button,#page-workbench-vue .wb-calendar-editor footer button { min-height:38px; }
}
