/* ui3-lesson.css: the lesson page (teacher/Lesson.js) and the periodic assessment sheet - 2026 staff screens, new ui only: every rule is scoped under :root[data-ui="new"]. Sizes in px. */

/* ============================================================================
   Lesson page (Lesson.js viewNew) - .l3
   ============================================================================ */
:root[data-ui="new"] .l3 { display: flex; flex-direction: column; gap: 18px; font-size: 14px; color: #12233f; font-variant-numeric: tabular-nums; line-height: 1.4; }
:root[data-ui="new"] .l3 .p3-ico { flex-shrink: 0; display: block; }
:root[data-ui="new"] .l3 button { font-family: inherit; }
:root[data-ui="new"] .l3-card { background: #fff; border: 1px solid #dfe8f4; border-radius: 20px; padding: 18px 20px; min-width: 0; }
:root[data-ui="new"] .l3-h2 { margin: 0; font-size: 18px; font-weight: 800; color: #12233f; }
:root[data-ui="new"] .l3-muted { font-size: 13px; color: #5b6b85; }
:root[data-ui="new"] .l3-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
:root[data-ui="new"] .l3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:root[data-ui="new"] .l3-empty { margin: 14px 0 0; color: #5b6b85; font-size: 14px; }

/* buttons */
:root[data-ui="new"] .l3-btn {
    height: 42px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid #dfe8f4; color: #12233f;
    font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; cursor: pointer;
}
:root[data-ui="new"] .l3-btn:hover { background: #f5f8fc; }
:root[data-ui="new"] .l3-btn.danger { border-color: #f3c4c9; color: #b0202d; }
:root[data-ui="new"] .l3-btn.danger:hover { background: #fff5f6; }
:root[data-ui="new"] .l3-btn.primary { background: #175bb0; border: 0; color: #fff; padding: 0 18px; font-size: 15px; font-weight: 700; box-shadow: 0 8px 18px rgba(23, 91, 176, .28); }
:root[data-ui="new"] .l3-btn.primary:hover { background: #114591; }
:root[data-ui="new"] .l3-btn.primary.done, :root[data-ui="new"] .l3-btn.primary:disabled { background: #dcf5ee; color: #0a6f5d; box-shadow: none; border: 1px solid #9fdcca; cursor: default; opacity: 1; }
:root[data-ui="new"] .l3-btn.mint { height: 40px; background: #dcf5ee; border-color: #9fdcca; color: #0a6f5d; font-weight: 700; }
:root[data-ui="new"] .l3-btn.mint:hover { background: #cdf0e6; }
:root[data-ui="new"] .l3-btn.soft { height: 40px; padding: 0 12px; background: #f1f4f9; border: 0; font-size: 13px; }
:root[data-ui="new"] .l3-btn.soft:hover { background: #e7ecf4; }
:root[data-ui="new"] .l3-btn.wide { width: 100%; }
:root[data-ui="new"] .l3-ibtn {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: #f1f4f9; border: 0; color: #2a3a55; padding: 0;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
:root[data-ui="new"] .l3-ibtn:hover { background: #e7ecf4; }
:root[data-ui="new"] .l3-btn:focus-visible, :root[data-ui="new"] .l3-ibtn:focus-visible, :root[data-ui="new"] .l3-seg-b:focus-visible,
:root[data-ui="new"] .l3-chip:focus-visible, :root[data-ui="new"] .l3-addchip:focus-visible, :root[data-ui="new"] .l3-evt:focus-visible,
:root[data-ui="new"] .l3-tab:focus-visible, :root[data-ui="new"] .l3-due-btn:focus-visible { outline: 2px solid #175bb0; outline-offset: 2px; }

/* header card */
:root[data-ui="new"] .l3-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
:root[data-ui="new"] .l3-badge { width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; background: #e6efff; color: #114591; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
:root[data-ui="new"] .l3-head-tx { flex: 1 1 280px; min-width: 0; }
:root[data-ui="new"] .l3-title { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.25; color: #12233f; letter-spacing: 0; }
:root[data-ui="new"] .l3-date { font-size: 14px; color: #5b6b85; margin-top: 3px; }
:root[data-ui="new"] .l3-head-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
:root[data-ui="new"] .l3-head-acts .l3-btn.primary { height: 42px; }
:root[data-ui="new"] .l3-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
:root[data-ui="new"] .l3-flag { font-size: 12px; font-weight: 600; color: #114591; background: #e6efff; padding: 3px 10px; border-radius: 999px; }
:root[data-ui="new"] .l3-flag.bad { color: #b0202d; background: #fde6e8; }

/* two columns: attendance + details */
:root[data-ui="new"] .l3-cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px; }
:root[data-ui="new"] .l3-cols > .l3-att { flex: 999 1 620px; }
:root[data-ui="new"] .l3-cols > .l3-details { flex: 1 1 340px; }
:root[data-ui="new"] .l3-cols > .l3-att.wide { flex-basis: 100%; }

/* attendance card */
:root[data-ui="new"] .l3-card-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
:root[data-ui="new"] .l3-sums { display: flex; flex-wrap: wrap; gap: 6px; }
:root[data-ui="new"] .l3-sum { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
:root[data-ui="new"] .l3-sum.present { color: #0b6b4a; background: #e1f4ea; }
:root[data-ui="new"] .l3-sum.late { color: #8a4a00; background: #fff1df; }
:root[data-ui="new"] .l3-sum.absent { color: #b0202d; background: #fde6e8; }

:root[data-ui="new"] .l3-grid { margin-top: 14px; font-size: 14px; }
:root[data-ui="new"] .l3-row {
    display: grid; grid-template-columns: 30px minmax(140px, 1.2fr) 204px minmax(170px, 1.6fr) 80px;
    align-items: center; gap: 10px; padding: 8px; border-bottom: 1px solid #eef2f8;
}
:root[data-ui="new"] .l3-grid.with-follow .l3-row { grid-template-columns: 30px minmax(140px, 1.2fr) 204px minmax(170px, 1.6fr) 120px; }
:root[data-ui="new"] .l3-grid.with-daily .l3-row { grid-template-columns: 30px minmax(130px, 1.1fr) 204px 204px minmax(150px, 1.4fr) 80px; }
:root[data-ui="new"] .l3-grid.with-daily.with-follow .l3-row { grid-template-columns: 30px minmax(130px, 1.1fr) 204px 204px minmax(150px, 1.4fr) 120px; }
:root[data-ui="new"] .l3-row-h { padding: 0 8px 8px; font-size: 12px; font-weight: 700; color: #5b6b85; border-bottom-color: #e6edf6; }
:root[data-ui="new"] .l3-row.t-late { background: #fffaf2; }
:root[data-ui="new"] .l3-row.t-absent { background: #fff7f8; }
:root[data-ui="new"] .l3-row.open { background: #f7faff; }
:root[data-ui="new"] .l3-num { color: #8090a8; }
:root[data-ui="new"] .l3-who { display: flex; align-items: center; gap: 10px; min-width: 0; position: relative; }
:root[data-ui="new"] .l3-av { width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px; background: #e6efff; color: #114591; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
:root[data-ui="new"] .l3-av.mint { background: #dcf5ee; color: #0a6f5d; }
/* the initials tinted by the attendance mark */
:root[data-ui="new"] .l3-av.s-none { background: #eef2f8; color: #4a5a73; }
:root[data-ui="new"] .l3-av.s-present { background: #e1f4ea; color: #0b6b4a; }
:root[data-ui="new"] .l3-av.s-late { background: #fff1df; color: #8a4a00; }
:root[data-ui="new"] .l3-av.s-absent { background: #fde6e8; color: #b0202d; }
:root[data-ui="new"] .l3-who-tx { min-width: 0; line-height: 1.25; }
:root[data-ui="new"] .l3-name { display: block; font-weight: 600; cursor: default; }
:root[data-ui="new"] .l3-notes { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 2px; font-size: 12px; color: #5b6b85; }
:root[data-ui="new"] .l3-notes .wrapper { line-height: 1.25; }
:root[data-ui="new"] .l3-notes a.lnotes { font-size: 12px; color: #114591; }
:root[data-ui="new"] .l3-note.present { color: #0b6b4a; }
:root[data-ui="new"] .l3-note.late { color: #8a4a00; }
:root[data-ui="new"] .l3-note.absent { color: #b0202d; }
:root[data-ui="new"] .l3-note.l3-status { color: #fff; padding: 0 6px; border-radius: 6px; }
:root[data-ui="new"] .l3-note.l3-link { color: #b0202d; text-decoration: underline; }
:root[data-ui="new"] .l3-who .img-wrapper.avatar { top: 40px; inset-inline-start: 0; z-index: 30; }
:root[data-ui="new"] .l3-who .img-wrapper.avatar img { max-width: 160px; border-radius: 12px; box-shadow: 0 10px 28px rgba(16, 42, 92, .18); }
:root[data-ui="new"] .l3-none { color: #8090a8; }

/* segmented attendance */
:root[data-ui="new"] .l3-seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 3px; border-radius: 12px; background: #f1f4f9; }
:root[data-ui="new"] .l3-seg-b {
    position: relative; height: 34px; border-radius: 9px; border: 0; background: transparent; color: #4a5a73; font-size: 13px; font-weight: 400;
    padding: 0 4px; white-space: nowrap; cursor: pointer;
}
:root[data-ui="new"] .l3-seg-b:hover:not(:disabled):not(.on) { background: rgba(255, 255, 255, .7); }
:root[data-ui="new"] .l3-seg-b:disabled { opacity: .4; cursor: not-allowed; }
:root[data-ui="new"] .l3-seg-b.on { font-weight: 700; }
:root[data-ui="new"] .l3-seg-b.present.on { background: #e1f4ea; color: #0b6b4a; box-shadow: inset 0 0 0 1.5px #8ad3b0; }
:root[data-ui="new"] .l3-seg-b.late.on { background: #fff1df; color: #8a4a00; box-shadow: inset 0 0 0 1.5px #f2b25c; }
:root[data-ui="new"] .l3-seg-b.absent.on { background: #fde6e8; color: #b0202d; box-shadow: inset 0 0 0 1.5px #e8707c; }
:root[data-ui="new"] .l3-cnt {
    display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; padding: 0 4px; margin-inline-start: 4px;
    border-radius: 999px; background: rgba(18, 35, 63, .1); font-size: 10px; font-weight: 700; vertical-align: 1px;
}

/* event chips */
:root[data-ui="new"] .l3-evcell { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; min-width: 0; }
:root[data-ui="new"] .l3-chip {
    font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid #c7d6ec; background: #eef4fd; color: #114591;
    line-height: 1.35; cursor: pointer;
}
:root[data-ui="new"] .l3-chip.pos { color: #0a6f5d; background: #dcf5ee; border-color: #9fdcca; }
:root[data-ui="new"] .l3-chip.neg { color: #8a4a00; background: #fff1df; border-color: #f2cf9a; }
:root[data-ui="new"] .l3-chip.daily { color: #2a3a55; background: #f1f4f9; border-color: #dfe8f4; }
:root[data-ui="new"] .l3-chip.just { opacity: .7; }
:root[data-ui="new"] .l3-addchip {
    display: inline-flex; align-items: center; height: 30px; font-size: 12.5px; font-weight: 700; color: #114591; background: #fff; border: 1.5px dashed #c3d0e2;
    padding: 0 10px; border-radius: 999px; line-height: 1.35; cursor: pointer;
}
/* the desktop table's compact segments: a 38px button per mark, the chosen one filled in its colour */
:root[data-ui="new"] .l3-row .l3-seg { background: #f4f7fb; }
:root[data-ui="new"] .l3-row .l3-seg-b { height: 38px; font-size: 13.5px; font-weight: 600; color: #6a7a92; }
:root[data-ui="new"] .l3-row .l3-seg-b.on { font-weight: 700; }
:root[data-ui="new"] .l3-addchip:hover, :root[data-ui="new"] .l3-addchip[aria-expanded="true"] { background: #eef4fd; border-style: solid; }
:root[data-ui="new"] .l3-just a.lnotes { font-size: 12px; color: #114591; text-decoration: underline; }
:root[data-ui="new"] .l3-just .wrapper-pop, :root[data-ui="new"] .l3-notes .wrapper-pop {
    border: 1px solid #dfe8f4 !important; border-radius: 14px; box-shadow: 0 18px 48px rgba(16, 42, 92, .16); padding: 10px 12px; min-width: 240px;
}

/* row actions: הערה (the Remark component's own trigger, restyled) and דוח מצב */
:root[data-ui="new"] .l3-acts { display: flex; gap: 4px; justify-content: flex-end; align-items: center; }
:root[data-ui="new"] .l3-acts .l3-ibtn { width: 36px; height: 36px; border-radius: 10px; }
:root[data-ui="new"] .l3-remark { position: relative; }
:root[data-ui="new"] .l3-remark > .wrapper { display: block; }
:root[data-ui="new"] .l3-remark > .wrapper > i.glyphicon-comment {
    display: flex; width: 36px; height: 36px; border-radius: 10px; background-color: #f1f4f9; cursor: pointer; top: 0;
    background-repeat: no-repeat; background-position: center; background-size: 16px 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a3a55' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H8l-4 4z'/%3E%3C/svg%3E");
}
:root[data-ui="new"] .l3-remark > .wrapper > i.glyphicon-comment::before { content: none; }
:root[data-ui="new"] .l3-remark > .wrapper > i.glyphicon-comment:hover { background-color: #e7ecf4; }
:root[data-ui="new"] .l3-remark > .wrapper > i.glyphicon-comment.remark-passive,
:root[data-ui="new"] .l3-remark > .wrapper > i.glyphicon-comment.positive,
:root[data-ui="new"] .l3-remark > .wrapper > i.glyphicon-comment.negative {
    background-color: #e6efff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23114591' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H8l-4 4z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E");
}
:root[data-ui="new"] .l3-remark > .wrapper > i.glyphicon-comment.positive { background-color: #dcf5ee; }
:root[data-ui="new"] .l3-remark > .wrapper > i.glyphicon-comment.negative { background-color: #fde6e8; }
:root[data-ui="new"] .l3-remark .st-remark.wrapper-pop {
    right: auto !important; left: 0 !important; top: 42px !important; width: 320px; max-width: calc(100vw - 32px);
    border: 1px solid #dfe8f4 !important; border-radius: 14px; box-shadow: 0 18px 48px rgba(16, 42, 92, .16); padding: 12px; z-index: 40;
}
:root[data-ui="new"] .l3-remark .st-remark .remark-title { font-size: 13px; font-weight: 700; margin-bottom: 8px; overflow: hidden; }
:root[data-ui="new"] .l3-remark .st-remark textarea { min-height: 84px; margin-bottom: 8px; }
:root[data-ui="new"] .l3-remark .st-remark .cb-seventh { margin-bottom: 8px; }

/* "+ אירוע" panel */
:root[data-ui="new"] .l3-panel {
    grid-column: 1 / -1; margin: 4px 0 6px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #dfe8f4;
    box-shadow: 0 10px 24px rgba(16, 42, 92, .08); display: flex; flex-direction: column; gap: 10px;
}
:root[data-ui="new"] .l3-panel-h { display: flex; align-items: center; gap: 10px; font-size: 13px; }
:root[data-ui="new"] .l3-panel-h .l3-x { margin-inline-start: auto; width: 32px; height: 32px; border-radius: 9px; }
:root[data-ui="new"] .l3-panel-sub { font-size: 12px; font-weight: 700; color: #5b6b85; }
:root[data-ui="new"] .l3-evts { display: flex; flex-wrap: wrap; gap: 6px; }
:root[data-ui="new"] .l3-evt {
    height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #dfe8f4; background: #f7f9fc; color: #2a3a55;
    font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
:root[data-ui="new"] .l3-evt:hover:not(:disabled) { background: #eef4fd; }
:root[data-ui="new"] .l3-evt:disabled { opacity: .45; cursor: not-allowed; }
:root[data-ui="new"] .l3-evt.on { background: #eef4fd; border-color: #b9cbe6; color: #114591; }
:root[data-ui="new"] .l3-evt.pos.on { background: #dcf5ee; border-color: #9fdcca; color: #0a6f5d; }
:root[data-ui="new"] .l3-evt.neg.on { background: #fff1df; border-color: #f2cf9a; color: #8a4a00; }
:root[data-ui="new"] .l3-panel-f { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
:root[data-ui="new"] .l3-panel-f:empty { display: none; }
:root[data-ui="new"] .l3-panel-f .l3-acts { margin-inline-start: auto; }

/* menu (class-wide actions, phone lesson actions) */
:root[data-ui="new"] .l3-menu-wrap { position: relative; }
:root[data-ui="new"] .l3-scrim { position: fixed; inset: 0; z-index: 1039; }
:root[data-ui="new"] .l3-menu {
    position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 1040; min-width: 230px; max-width: calc(100vw - 32px); max-height: 70vh; overflow: auto;
    background: #fff; border: 1px solid #dfe8f4; border-radius: 14px; box-shadow: 0 18px 48px rgba(16, 42, 92, .16); padding: 6px;
    display: flex; flex-direction: column;
}
:root[data-ui="new"] .l3-menu-it { min-height: 40px; padding: 8px 12px; border: 0; background: none; border-radius: 10px; text-align: start; font-size: 14px; color: #12233f; cursor: pointer; }
:root[data-ui="new"] .l3-menu-it:hover { background: #f1f5fb; }

/* lesson details card */
:root[data-ui="new"] .l3-details { display: flex; flex-direction: column; gap: 14px; }
:root[data-ui="new"] .l3-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
:root[data-ui="new"] .l3-label { font-size: 13px; font-weight: 600; color: #2a3a55; margin: 0; }
:root[data-ui="new"] .l3-details .form-control, :root[data-ui="new"] .l3-due-edit .form-control {
    height: 44px; padding: 0 12px; border-radius: 12px !important; border: 1px solid #d3deee !important; background: #f7f9fc !important; color: #12233f !important; font-size: 14px;
}
:root[data-ui="new"] .l3-details textarea.form-control { height: auto; min-height: 64px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
:root[data-ui="new"] .l3-details .f-descr textarea.form-control { min-height: 84px; }
:root[data-ui="new"] .l3-details .form-control:focus { border-color: #175bb0 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(23, 91, 176, .18) !important; }
:root[data-ui="new"] .l3-details .has-error .form-control { border-color: #d0524f !important; }
:root[data-ui="new"] .l3-details .has-error .l3-label { color: #b0202d; }
:root[data-ui="new"] .l3-details .widget-wrapper { position: relative; }
:root[data-ui="new"] .l3-due { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #effbf8; border: 1px solid #c4ede3; }
:root[data-ui="new"] .l3-due-ic { color: #0a6f5d; display: flex; }
:root[data-ui="new"] .l3-due-tx { flex: 1; line-height: 1.3; min-width: 0; }
:root[data-ui="new"] .l3-due-tx b { display: block; font-size: 13px; font-weight: 700; color: #0a6f5d; }
:root[data-ui="new"] .l3-due-tx span { display: block; font-size: 12px; color: #2a3a55; }
:root[data-ui="new"] .l3-due-btn { height: 34px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid #c4ede3; color: #0a6f5d; font-size: 13px; font-weight: 600; cursor: pointer; }
:root[data-ui="new"] .l3-due-btn:hover { background: #f4fdfa; }
:root[data-ui="new"] .l3-tools { display: flex; flex-wrap: wrap; gap: 8px; }
:root[data-ui="new"] .l3-mode {
    position: relative; height: 40px; padding: 0 12px; border-radius: 12px; background: #f1f4f9; color: #12233f; margin: 0;
    font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; cursor: pointer;
}
:root[data-ui="new"] .l3-mode.has-error { box-shadow: inset 0 0 0 1.5px #d0524f; }
:root[data-ui="new"] .l3-mode select.form-control.l3-mode-sel {
    height: 38px; width: auto; max-width: 170px; padding: 0 2px; border: 0 !important; background: transparent !important; box-shadow: none !important;
    font-size: 13px; font-weight: 600; -webkit-appearance: none; appearance: none; cursor: pointer;
}
:root[data-ui="new"] .l3-extra { border-top: 1px solid #eef2f8; padding-top: 12px; }

/* "פעולות נוספות", remarks mode, student report */
:root[data-ui="new"] .l3-more .lesson-advanced { margin: 0; }
:root[data-ui="new"] .l3-more .seperator-header { margin-top: 0; }
:root[data-ui="new"] .l3-more input.form-control.w-date { width: 130px; }
/* "פעולות נוספות" in the 2026 design (Lesson.js renderAdvancedNew): the assessment page's card - .t3p-adv-* in ui3-teacher.css */
:root[data-ui="new"] .l3-more.t3p-adv { font-family: "Rubik", system-ui, sans-serif; }
:root[data-ui="new"] .l3-more.t3p-adv button { font-family: inherit; }
:root[data-ui="new"] .l3-more.t3p-adv .t3p-card-h { margin-bottom: 14px; }
:root[data-ui="new"] .l3-plan { margin: 0 0 14px; }
:root[data-ui="new"] .l3-plan > h3 { margin-bottom: 10px; }
:root[data-ui="new"] .l3-plan-scroll { background: #fff; border: 1px solid #eef2f8; border-radius: 12px; }
:root[data-ui="new"] .l3-plan .t3p-table th.sortable { cursor: pointer; }
:root[data-ui="new"] .l3-plan .t3p-table th.sortable:hover { color: #114591; }
:root[data-ui="new"] .l3-plan .t3p-table td.comment { min-width: 140px; white-space: normal; font-size: 13px; color: #4a5a73; background: transparent !important; }
:root[data-ui="new"] .l3-plan-acts .t3p-btn + .t3p-btn { margin-inline-start: 6px; }
:root[data-ui="new"] .l3-plan-hint { margin-top: 12px; }
:root[data-ui="new"] .l3-sub { overflow-x: auto; }
:root[data-ui="new"] .l3-rm-list { margin-top: 12px; }
:root[data-ui="new"] .l3-rm-row { display: grid; grid-template-columns: minmax(140px, 220px) minmax(220px, 1fr) minmax(140px, 260px); gap: 12px; align-items: start; padding: 10px 4px; border-bottom: 1px solid #eef2f8; }
:root[data-ui="new"] .l3-rm-name { font-weight: 600; padding-top: 8px; }
:root[data-ui="new"] .l3-rm-text textarea { min-height: 54px; }
:root[data-ui="new"] .l3-rm-side { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: #5b6b85; }
:root[data-ui="new"] .l3-rm-side .l3-btn { height: 36px; align-self: flex-start; }

/* floating save while there are unsaved changes (the classic sticky save) */
:root[data-ui="new"] .l3-float { position: fixed; bottom: 24px; inset-inline-end: 28px; z-index: 1020; }
:root[data-ui="new"] .l3-float .l3-btn.primary { height: 48px; border-radius: 14px; box-shadow: 0 12px 28px rgba(23, 91, 176, .35); }

/* desktop widths where the five columns get tight */
@media (max-width: 1279px) and (min-width: 768px) {
    :root[data-ui="new"] .l3-row { grid-template-columns: 26px minmax(120px, 1fr) 180px minmax(130px, 1.2fr) 80px; gap: 8px; }
    :root[data-ui="new"] .l3-grid.with-follow .l3-row { grid-template-columns: 26px minmax(120px, 1fr) 180px minmax(130px, 1.2fr) 120px; }
    :root[data-ui="new"] .l3-grid.with-daily .l3-row,
    :root[data-ui="new"] .l3-grid.with-daily.with-follow .l3-row { grid-template-columns: 26px minmax(110px, 1fr) 180px 180px minmax(120px, 1fr) 80px; }
}

/* ---- phone (< 768px, Lesson.js renders .l3-phone) ---- */
:root[data-ui="new"] .t3-main:has(.l3-phone) .t3-crumbs { display: none; }
:root[data-ui="new"] body:has(.l3-phone) .t3-tabbar { display: none !important; }
:root[data-ui="new"] .l3.l3-phone { gap: 0; margin: -12px -10px 0; }
:root[data-ui="new"] .l3-phead {
    background-color: #175bb0; color: #fff; padding: 16px 16px 56px;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.07) 0 1px, transparent 1px 30px), repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 30px);
}
:root[data-ui="new"] .l3-phead-row { display: flex; align-items: center; gap: 10px; }
:root[data-ui="new"] .l3-phead-tx { min-width: 0; flex: 1; }
:root[data-ui="new"] .l3-phead .l3-title { color: #fff; font-size: 22px; line-height: 1.2; }
:root[data-ui="new"] .l3-phead .l3-date { color: rgba(255,255,255,.9); font-size: 12px; margin-top: 2px; }
:root[data-ui="new"] .l3-phead .l3-flags { margin-top: 10px; }
:root[data-ui="new"] .l3-phead .l3-flag { background: rgba(255,255,255,.16); color: #fff; }
:root[data-ui="new"] .l3-hbtn, :root[data-ui="new"] .l3-phead .l3-menu-btn {
    width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; padding: 0;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
:root[data-ui="new"] .l3-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin-top: 16px; padding: 4px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
:root[data-ui="new"] .l3-tab { height: 40px; border-radius: 10px; background: transparent; border: 0; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
:root[data-ui="new"] .l3-tab[aria-selected="true"] { background: #fff; color: #114591; font-weight: 700; }
:root[data-ui="new"] .l3-pmain { margin-top: -40px; padding: 0 16px 110px; display: flex; flex-direction: column; gap: 12px; }
:root[data-ui="new"] .l3-phone .l3-card { border-radius: 18px; padding: 14px; }
:root[data-ui="new"] .l3-psum { box-shadow: 0 10px 24px rgba(16, 42, 92, .10); display: flex; flex-direction: column; gap: 12px; }
:root[data-ui="new"] .l3-psum-top { display: flex; align-items: center; gap: 8px; }
:root[data-ui="new"] .l3-psum-top .l3-menu-wrap { margin-inline-start: auto; }
:root[data-ui="new"] .l3-phone .l3-sum { font-size: 13px; padding: 4px 10px; }
:root[data-ui="new"] .l3-psum .l3-btn.mint { height: 46px; border-radius: 14px; font-size: 15px; }
:root[data-ui="new"] .l3-plist { padding: 4px 12px; }
:root[data-ui="new"] .l3-prow { padding: 12px 0; border-bottom: 1px solid #eef2f8; }
:root[data-ui="new"] .l3-prow:last-child { border-bottom: 0; }
:root[data-ui="new"] .l3-prow.t-late, :root[data-ui="new"] .l3-prow.t-absent { background: none; }
:root[data-ui="new"] .l3-prow-top { display: flex; align-items: center; gap: 8px; }
:root[data-ui="new"] .l3-prow-top .l3-who { flex: 1 1 auto; }
:root[data-ui="new"] .l3-prow .l3-name { font-size: 15px; }
:root[data-ui="new"] .l3-pchips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; max-width: 45%; }
:root[data-ui="new"] .l3-pchips .l3-chip { font-size: 11px; padding: 2px 8px; border: 0; }
:root[data-ui="new"] .l3-prow .l3-add { width: 44px; height: 44px; color: #114591; }
:root[data-ui="new"] .l3-prow .l3-seg { margin-top: 8px; }
:root[data-ui="new"] .l3-prow .l3-seg-b { height: 44px; font-size: 14px; }
:root[data-ui="new"] .l3-pdaily { margin-top: 8px; }
:root[data-ui="new"] .l3-pdaily-l { display: block; font-size: 12px; font-weight: 600; color: #5b6b85; margin-bottom: 4px; }
:root[data-ui="new"] .l3-prow .l3-panel { margin: 10px 0 0; box-shadow: none; background: #f7f9fc; }
:root[data-ui="new"] .l3-prow .l3-evt { height: 44px; }
:root[data-ui="new"] .l3-prow .l3-acts .l3-ibtn, :root[data-ui="new"] .l3-prow .l3-remark > .wrapper > i.glyphicon-comment { width: 44px; height: 44px; border-radius: 12px; background-color: #fff; }
:root[data-ui="new"] .l3-prow .l3-remark .st-remark.wrapper-pop { top: 50px !important; }
:root[data-ui="new"] .l3-phone .l3-details .form-control { height: 46px; }
:root[data-ui="new"] .l3-phone .l3-details textarea.form-control { height: auto; }
:root[data-ui="new"] .l3-phone .l3-tools .l3-btn, :root[data-ui="new"] .l3-phone .l3-mode { height: 44px; }
:root[data-ui="new"] .l3-phone .l3-rm-row { grid-template-columns: 1fr; gap: 6px; }
:root[data-ui="new"] .l3-pbar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1036; padding: 12px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.96); border-top: 1px solid #dfe8f4; box-shadow: 0 -8px 24px rgba(16, 42, 92, .08);
}
:root[data-ui="new"] .l3-pbar .l3-btn.primary { height: 54px; border-radius: 16px; font-size: 16px; font-weight: 800; }

/* the phone's summary card: counts, "סומנו X מתוך N", "כל השאר נוכחים (N)" or the saving note */
:root[data-ui="new"] .l3-psum-top { flex-wrap: wrap; }
:root[data-ui="new"] .l3-psum-n { margin-inline-start: auto; font-size: 12px; color: #5b6b85; white-space: nowrap; }
:root[data-ui="new"] .l3-psum-top .l3-menu-wrap { margin-inline-start: 0; }
:root[data-ui="new"] .l3-psum .l3-btn.mint.l3-rest { background: #2ec4a5; border-color: #2ec4a5; color: #053b33; font-weight: 700; }
:root[data-ui="new"] .l3-psum .l3-btn.mint.l3-rest:hover { background: #27b096; }
:root[data-ui="new"] .l3-psum-note { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #4a5a73; line-height: 1.35; }
:root[data-ui="new"] .l3-psum-note .p3-ico { color: #0b6b4a; }

/* the phone's student row (~62px): initials + name (notes and event chips under it) and three 46px mark buttons */
:root[data-ui="new"] .l3-crow {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who btns" "meta btns";
    align-items: center; column-gap: 10px; padding: 8px 0; border-bottom: 1px solid #eef2f8;
}
:root[data-ui="new"] .l3-crow:last-child { border-bottom: 0; }
:root[data-ui="new"] .l3-cwho {
    grid-area: who; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0; margin: 0; border: 0; background: none;
    color: #12233f; text-align: start; font: inherit; cursor: pointer;
}
:root[data-ui="new"] .l3-cwho .l3-av { width: 38px; height: 38px; border-radius: 12px; }
:root[data-ui="new"] .l3-cwho .l3-name { min-width: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
:root[data-ui="new"] .l3-cwho:focus-visible { outline: 2px solid #175bb0; outline-offset: 2px; border-radius: 12px; }
:root[data-ui="new"] .l3-cmeta { grid-area: meta; min-width: 0; padding-inline-start: 48px; margin-top: 2px; }
:root[data-ui="new"] .l3-cmeta .l3-notes { margin-top: 0; }
:root[data-ui="new"] .l3-cchips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
:root[data-ui="new"] .l3-cchips .l3-chip { font-size: 11px; padding: 2px 7px; border: 0; }
:root[data-ui="new"] .l3-att3 { grid-area: btns; display: flex; gap: 5px; }
:root[data-ui="new"] .l3-att3 .l3-seg-b {
    width: 46px; height: 46px; padding: 0; border-radius: 13px; border: 1.5px solid transparent; background: #f4f7fb; color: #6a7a92;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font-size: 10px; font-weight: 700; line-height: 1.1;
}
:root[data-ui="new"] .l3-att3 .l3-seg-b:hover:not(:disabled):not(.on) { background: #eaf0f8; }
:root[data-ui="new"] .l3-att3 .l3-seg-b.on { box-shadow: none; }
:root[data-ui="new"] .l3-att3 .l3-seg-b.present.on { background: #e1f4ea; color: #0b6b4a; border-color: #8ad3b0; }
:root[data-ui="new"] .l3-att3 .l3-seg-b.late.on { background: #fff1df; color: #8a4a00; border-color: #f2b25c; }
:root[data-ui="new"] .l3-att3 .l3-seg-b.absent.on { background: #fde6e8; color: #b0202d; border-color: #e8707c; }
:root[data-ui="new"] .l3-att3 .l3-cnt { position: absolute; top: -6px; inset-inline-end: -6px; margin: 0; background: #12233f; color: #fff; }
:root[data-ui="new"] .l3-crow .l3-pdaily { grid-column: 1 / -1; }

/* the student sheet (ui3/Sheet.js, phones): attendance, the event toggles, the note, דוח מצב / סיום */
:root[data-ui="new"] .l3-ss-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #eef2f8; }
:root[data-ui="new"] .l3-ss-av { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 13px; font-size: 15px; font-family: inherit; }
:root[data-ui="new"] button.l3-ss-av { cursor: pointer; }
:root[data-ui="new"] .l3-ss-tx { flex: 1; min-width: 0; line-height: 1.3; }
:root[data-ui="new"] .l3-ss-tx b { display: block; font-size: 17px; font-weight: 700; }
:root[data-ui="new"] .l3-ss-tx span { display: block; font-size: 12.5px; color: #5b6b85; }
:root[data-ui="new"] .l3-ss-head .l3-x { width: 40px; height: 40px; }
:root[data-ui="new"] .l3-ss-pic img { display: block; max-width: 160px; margin-top: 12px; border-radius: 12px; }
:root[data-ui="new"] .l3-ss-l { margin: 14px 0 6px; font-size: 13px; font-weight: 600; color: #114591; }
:root[data-ui="new"] .l3-ssheet .l3-seg { padding: 4px; border-radius: 14px; background: #f4f7fb; }
:root[data-ui="new"] .l3-ssheet .l3-seg-b { height: 46px; border-radius: 12px; font-size: 14px; font-weight: 700; }
:root[data-ui="new"] .l3-ss-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
:root[data-ui="new"] .l3-ss-grid .l3-evt {
    height: auto; min-height: 46px; padding: 4px 6px; border-radius: 13px; border: 1.5px solid #dfe8f4; background: #fff; color: #12233f;
    font-size: 14px; justify-content: center; text-align: center; line-height: 1.15; min-width: 0;
}
:root[data-ui="new"] .l3-ss-grid .l3-evt.on { background: #eef4fd; border-color: #b9cbe6; color: #114591; }
:root[data-ui="new"] .l3-ss-grid .l3-evt.pos.on { background: #dcf5ee; border-color: #7fd8c3; color: #0a6f5d; }
:root[data-ui="new"] .l3-ss-grid .l3-evt.neg.on { background: #fff1df; border-color: #f2b25c; color: #8a4a00; }
:root[data-ui="new"] .l3-ssheet .l3-just { margin-top: 10px; }
:root[data-ui="new"] .l3-ss-note textarea.form-control {
    width: 100%; min-height: 64px; padding: 10px 12px; border-radius: 13px !important; border: 1px solid #dfe8f4 !important; background: #f7f9fc !important;
    color: #12233f; font-size: 15px; resize: vertical; box-shadow: none;
}
:root[data-ui="new"] .l3-ss-note .cb-seventh { margin-top: 8px; }
:root[data-ui="new"] .l3-ss-acts { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; margin-top: 16px; }
:root[data-ui="new"] .l3-ss-acts:has(> :nth-child(3)) { grid-template-columns: 1fr 1fr 1.4fr; }
:root[data-ui="new"] .l3-ss-acts .l3-btn { height: 48px; border-radius: 14px; font-size: 15px; font-weight: 700; }
:root[data-ui="new"] .l3-ss-acts .l3-btn.soft { background: #eef5ff; color: #114591; }
:root[data-ui="new"] .l3-ss-acts .l3-btn.primary { box-shadow: none; }
@media print {
    :root[data-ui="new"] .l3-pbar, :root[data-ui="new"] .l3-float, :root[data-ui="new"] .l3-head-acts { display: none !important; }
}

/* ============================================================================
   Periodic assessment (PeriodicalAssesment.js pa3View) - .pa3
   ============================================================================ */
:root[data-ui="new"] .pa3 { display: flex; flex-direction: column; gap: 18px; font-size: 14px; color: #12233f; font-variant-numeric: tabular-nums; }
:root[data-ui="new"] .pa3 .p3-ico { flex-shrink: 0; display: block; }
:root[data-ui="new"] .pa3-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
:root[data-ui="new"] .pa3-head-tx { flex: 1 1 300px; min-width: 0; }
:root[data-ui="new"] .pa3-title { margin: 0; font-size: 26px; font-weight: 800; color: #12233f; letter-spacing: 0; }
:root[data-ui="new"] .pa3-sub { font-size: 14px; color: #5b6b85; margin-top: 4px; }
:root[data-ui="new"] .pa3-btn {
    height: 42px; padding: 0 14px; border-radius: 12px; background: #fff; border: 1px solid #dfe8f4; color: #12233f !important;
    font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; cursor: pointer; white-space: nowrap;
}
:root[data-ui="new"] .pa3-btn:hover { background: #f5f8fc; }
:root[data-ui="new"] .pa3-btn.sm { height: 36px; padding: 0 10px; border-radius: 10px; background: #f1f4f9; border: 0; font-size: 13px; gap: 6px; }
:root[data-ui="new"] .pa3-btn.sm:hover { background: #e7ecf4; }
:root[data-ui="new"] .pa3-btn.sm.on { background: #175bb0; color: #fff !important; }
:root[data-ui="new"] .pa3-btn:focus-visible { outline: 2px solid #175bb0; outline-offset: 2px; }

/* the classic tabs as an underlined tab bar */
:root[data-ui="new"] .pa3-tabs:empty { display: none; }
:root[data-ui="new"] .pa3-tabs .nav-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid #dfe8f4 !important; margin: 0; padding: 0; float: none; }
:root[data-ui="new"] .pa3-tabs .nav-tabs::before, :root[data-ui="new"] .pa3-tabs .nav-tabs::after { content: none; }
:root[data-ui="new"] .pa3-tabs .nav-tabs > li { float: none; margin: 0 0 -1px; background: transparent !important; }
:root[data-ui="new"] .pa3-tabs .nav-tabs > li > a {
    display: flex; align-items: center; height: 44px; padding: 0 16px; margin: 0; border: 0 !important; border-bottom: 3px solid transparent !important;
    border-radius: 0 !important; background: transparent !important; color: #4a5a73 !important; font-size: 15px; font-weight: 500; box-shadow: none !important;
}
:root[data-ui="new"] .pa3-tabs .nav-tabs > li > a:hover { color: #114591 !important; }
:root[data-ui="new"] .pa3-tabs .nav-tabs > li.active > a { color: #114591 !important; font-weight: 700; border-bottom-color: #175bb0 !important; }

/* group cards */
:root[data-ui="new"] .pa3-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
:root[data-ui="new"] .pa3-empty { grid-column: 1 / -1; color: #5b6b85; font-size: 14px; }
:root[data-ui="new"] .pa3-gcard { padding: 14px 16px; border-radius: 18px; background: #fff; border: 1px solid #dfe8f4; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
:root[data-ui="new"] .pa3-gcard.on { border: 2px solid #175bb0; padding: 13px 15px; box-shadow: 0 10px 22px rgba(23, 91, 176, .14); }
:root[data-ui="new"] .pa3-gcard-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
:root[data-ui="new"] .pa3-gcard-t { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
:root[data-ui="new"] .pa3-gcard-t > b { font-size: 17px; font-weight: 800; min-width: 0; }
:root[data-ui="new"] .pa3-gcard-t > span { font-size: 12.5px; color: #5b6b85; }
:root[data-ui="new"] .pa3-gcard-h .pa3-chip { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; white-space: nowrap; }
:root[data-ui="new"] .pa3-chip.ok { color: #0b6b4a; background: #e1f4ea; }
:root[data-ui="new"] .pa3-gcard.done { border-color: #bfe6d6; }
:root[data-ui="new"] .pa3-prog { display: flex; flex-direction: column; gap: 6px; }
:root[data-ui="new"] .pa3-prog-l { display: flex; justify-content: space-between; font-size: 12px; color: #4a5a73; }
:root[data-ui="new"] .pa3-prog-l b { font-weight: 700; }
:root[data-ui="new"] .pa3-bar { display: block; height: 6px; border-radius: 999px; background: #e6edf6; overflow: hidden; }
:root[data-ui="new"] .pa3-bar > span { display: block; height: 100%; border-radius: 999px; }
:root[data-ui="new"] .pa3-bar > span.mint { background: #2ec4a5; }
:root[data-ui="new"] .pa3-bar > span.sky { background: #175bb0; }
/* the card's entries: one row of equal buttons (mint scores + sky assessments); an educator card has one, full width */
:root[data-ui="new"] .pa3-gcard-acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
:root[data-ui="new"] .pa3-gcard-acts.one { grid-template-columns: minmax(0, 1fr); }
:root[data-ui="new"] .pa3-act {
    min-height: 44px; padding: 4px 8px; border: 0; border-radius: 12px; font-family: inherit; font-size: 14px; font-weight: 700; line-height: 1.2;
    display: flex; align-items: center; justify-content: center; gap: 6px; text-align: center; min-width: 0; cursor: pointer;
}
:root[data-ui="new"] .pa3-act.mint { background: #dcf5ee; color: #0a6f5d; }
:root[data-ui="new"] .pa3-act.mint:hover { background: #cdf0e6; }
:root[data-ui="new"] .pa3-act.sky { background: #eef5ff; color: #114591; }
:root[data-ui="new"] .pa3-act.sky:hover { background: #e1edff; }
:root[data-ui="new"] .pa3-act.mint.on { background: #2ec4a5; color: #053b33; }
:root[data-ui="new"] .pa3-act.sky.on { background: #175bb0; color: #fff; }
:root[data-ui="new"] .pa3-act:focus-visible { outline: 2px solid #175bb0; outline-offset: 2px; }

/* the open sheet (the classic grid, restyled) */
:root[data-ui="new"] .pa3-card { background: #fff; border: 1px solid #dfe8f4; border-radius: 20px; padding: 18px 20px; min-width: 0; }
:root[data-ui="new"] .pa3-sheet-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-bottom: 10px; }
:root[data-ui="new"] .pa3-sheet-h > .h5, :root[data-ui="new"] .pa3-sheet-h > .h6 { margin: 0; font-size: 18px; font-weight: 800; color: #12233f; }
:root[data-ui="new"] .pa3-sheet-h > .h5:first-child { flex-basis: 100%; font-size: 12px; font-weight: 600; color: #5b6b85; }
:root[data-ui="new"] .pa3-sheet-h > .info-lines { order: 9; flex-basis: 100%; font-size: 12px; color: #5b6b85; }
:root[data-ui="new"] .pa3-sheet-h .glyphicon-print { box-shadow: none !important; margin-inline-start: 8px; }
:root[data-ui="new"] .pa3-chip { font-size: 12px; font-weight: 600; color: #0a6f5d; background: #dcf5ee; padding: 3px 10px; border-radius: 999px; }
:root[data-ui="new"] .pa3-sheet .sticky.h-zindex {
    position: sticky; top: 70px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; padding: 8px 0;
    background: #fff !important; border-bottom: 1px solid #eef2f8;
}
:root[data-ui="new"] .pa3-sheet .group-period-assesments .sticky.h-zindex { position: static; margin: 12px 0 0; border-bottom: 0; border-top: 1px solid #eef2f8; }
:root[data-ui="new"] .pa3-sheet .sticky.h-zindex .btn {
    height: 40px; padding: 0 12px; border-radius: 12px !important; background: #f1f4f9 !important; border: 0 !important; color: #12233f !important;
    font-size: 13px; font-weight: 600; box-shadow: none !important; margin: 0 !important; display: inline-flex; align-items: center; gap: 6px;
}
:root[data-ui="new"] .pa3-sheet .sticky.h-zindex .btn-primary:not([disabled]) { background: #175bb0 !important; color: #fff !important; font-weight: 700; }
:root[data-ui="new"] .pa3-sheet .sticky.h-zindex .btn[disabled] { opacity: .55; }
:root[data-ui="new"] .pa3-sheet .group-period-assesments { border: 0 !important; margin: 0 0 12px !important; overflow: auto !important; max-height: calc(100vh - 230px) !important; }
:root[data-ui="new"] .pa3-sheet .group-period-assesments > .table,
:root[data-ui="new"] .pa3-sheet .table.table-bordered { border: 0 !important; border-radius: 0 !important; box-shadow: none !important; margin: 0; font-size: 14px; }
:root[data-ui="new"] .pa3-sheet .group-period-assesments thead.sticky { top: 0 !important; z-index: 5; background: #fff !important; }
:root[data-ui="new"] .pa3-sheet .table > thead > tr > th {
    background: #fff !important; color: #5b6b85 !important; font-size: 12px; font-weight: 700; border: 0 !important; border-bottom: 1px solid #e6edf6 !important;
    padding: 8px !important; vertical-align: bottom;
}
:root[data-ui="new"] .pa3-sheet .table > tbody > tr > td { border: 0 !important; border-bottom: 1px solid #eef2f8 !important; padding: 8px !important; vertical-align: middle; background: transparent; }
:root[data-ui="new"] .pa3-sheet .table > tbody > tr:hover > td { background: #f7faff; }
:root[data-ui="new"] .pa3-sheet .table > tbody > tr.saved, :root[data-ui="new"] .pa3-sheet .table > tbody > tr.has-changes,
:root[data-ui="new"] .pa3-sheet .table > tbody > tr.saved > td, :root[data-ui="new"] .pa3-sheet .table > tbody > tr.has-changes > td { background: transparent !important; }
:root[data-ui="new"] .pa3-sheet .group-period-assesments > .table { min-width: 100%; }
:root[data-ui="new"] .pa3-sheet td.statusreport { background: #fff !important; font-weight: 600; }
:root[data-ui="new"] .pa3-sheet td.statusreport a { color: #12233f !important; font-weight: 600; text-decoration: none; }
:root[data-ui="new"] .pa3-sheet td.weighted { font-size: 13px; font-weight: 700; color: #114591; }
:root[data-ui="new"] .pa3-sheet td.tofinal { color: #8090a8; cursor: pointer; }
:root[data-ui="new"] .pa3-sheet td.final input.form-control, :root[data-ui="new"] .pa3-sheet th input.form-control.tiny {
    width: 72px !important; min-width: 72px; height: 38px; padding: 0 6px !important; text-align: center; border-radius: 10px !important;
    border: 1px solid #d3deee !important; background: #f7f9fc !important; color: #12233f !important; font-size: 15px; font-weight: 700;
}
:root[data-ui="new"] .pa3-sheet tr.saved td.final input.form-control { border-color: #9fdcca !important; background: #effbf8 !important; }
:root[data-ui="new"] .pa3-sheet tr.has-changes td.final input.form-control { border-color: #f2b25c !important; background: #fff8ec !important; }
:root[data-ui="new"] .pa3-sheet td.final input.form-control:focus { border-color: #175bb0 !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(23, 91, 176, .18) !important; }
:root[data-ui="new"] .pa3-sheet select.form-control { height: 38px; border-radius: 10px !important; border: 1px solid #d3deee !important; background: #f7f9fc !important; font-size: 13px; }
:root[data-ui="new"] .pa3-sheet textarea.form-control { border-radius: 10px !important; border: 1px solid #d3deee !important; background: #f7f9fc !important; font-size: 13px; }
:root[data-ui="new"] .pa3-classic .do-certificates .panel { border-radius: 18px !important; border: 1px solid #dfe8f4 !important; box-shadow: none !important; }

@media (max-width: 767px) {
    :root[data-ui="new"] .pa3-title { font-size: 22px; }
    :root[data-ui="new"] .pa3-cards { grid-template-columns: 1fr; }
    :root[data-ui="new"] .pa3-cards.with-sheet { display: none; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments { max-height: calc(100vh - 190px) !important; }
    :root[data-ui="new"] .pa3-card { padding: 14px; border-radius: 18px; }
    /* phones: the tabs share the width and a long label wraps inside its tab - none is cut at the edge */
    :root[data-ui="new"] .pa3-tabs .nav-tabs { flex-wrap: nowrap; gap: 0; }
    :root[data-ui="new"] .pa3-tabs .nav-tabs > li { flex: 1 1 0; min-width: 0; }
    :root[data-ui="new"] .pa3-tabs .nav-tabs > li > a { justify-content: center; text-align: center; white-space: normal; line-height: 1.25; height: auto; min-height: 48px; font-size: 14px; padding: 6px 8px; }
    :root[data-ui="new"] .pa3-sheet .sticky.h-zindex { top: 64px; }
    :root[data-ui="new"] .pa3-btn.sm { height: 44px; }
}

/* ---- the entry sheet (fillGroupSkillsData / fillGroupSkillsByStaff, shown in .pa3-sheet) ---- */
/* rank pickers (RadioBox, and SelectBox for a multi-rank skill): soft rounded options, the chosen one sky-light with a check */
:root[data-ui="new"] .pa3-sheet .sk-part .radioselect, :root[data-ui="new"] .pa3-sheet .sk-part .multiselect { margin: 2px 0; min-width: 170px; }
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes { display: flex; flex-direction: column; gap: 4px; min-height: 0; padding: 0; border: 0; background: transparent; }
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label {
    display: flex; align-items: center; gap: 8px; float: none; margin: 0; min-height: 34px; padding: 6px 10px; border-radius: 10px; border: 1px solid #e6edf6; background: #fff;
    color: #2a3a55; font-size: 13px; font-weight: 500; line-height: 1.3; white-space: normal; cursor: pointer;
}
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label:hover { background: #f7faff; border-color: #c9d9ef; }
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label.selected,
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label:has(> input:checked) { background: #e6efff; border-color: #b9d3f4; color: #114591; font-weight: 700; }
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label.selects-header { min-height: 0; padding: 4px 2px 0; border: 0; background: transparent; font-size: 12px; font-weight: 700; color: #5b6b85; cursor: default; }
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label > input[type="checkbox"],
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label > input[type="radio"] {
    -webkit-appearance: none; appearance: none; position: relative; flex-shrink: 0; width: 18px; height: 18px; margin: 0; border-radius: 6px; border: 1.5px solid #c3d0e2; background: #fff; cursor: pointer;
}
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label > input:checked {
    border-color: #175bb0;
    background: #175bb0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center / 12px 12px;
}
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label:has(> input:focus-visible) { outline: 2px solid #175bb0; outline-offset: 2px; }
/* a legacy stylesheet draws its own box and tick on the checkbox pseudo-elements once it has no native look - not here */
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label > input::before,
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label > input::after { content: none !important; display: none !important; }
:root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > .clearfix { display: none; }
:root[data-ui="new"] .pa3-sheet .st-names { padding: 0 2px 4px; font-size: 11px; color: #8090a8; text-align: start; }
:root[data-ui="new"] .pa3-sheet .skill-line { margin: 0 0 6px; padding: 8px 10px; border: 1px solid #e6edf6; border-radius: 12px; background: #fbfcfe; }
:root[data-ui="new"] .pa3-sheet .skill-line > strong.underline { text-decoration: none; font-size: 13px; font-weight: 700; color: #12233f; }
/* the column heads' copy links (שכפול - דירוג / מלל / היגד, and the remark column's שכפול) as small ghost text buttons */
:root[data-ui="new"] .pa3-sheet .table > thead > tr > th > sup { top: 0; margin-inline-start: 6px; font-size: 11px; font-weight: 600; color: #8090a8; vertical-align: baseline; }
:root[data-ui="new"] .pa3-sheet .table > thead > tr > th > .wrapper { display: inline-block; }
:root[data-ui="new"] .pa3-sheet .table > thead > tr > th a {
    display: inline-flex; align-items: center; height: 24px; padding: 0 8px; margin: 2px 2px 0; border-radius: 8px; border: 1px solid #dfe8f4; background: #fff;
    color: #114591 !important; font-size: 11px; font-weight: 700; text-decoration: none !important; vertical-align: middle; cursor: pointer;
}
:root[data-ui="new"] .pa3-sheet .table > thead > tr > th a:hover { background: #f4f8fe; border-color: #b9d3f4; }
:root[data-ui="new"] .pa3-sheet .table > thead > tr > th a sup { top: 0; font-size: inherit; vertical-align: baseline; }
/* the per-student "הצג מרכיבי הערכה" toggle and the row buttons (סגור / שמור וסגור / שמירה) as sky ghost buttons */
:root[data-ui="new"] .pa3-sheet .pa3-skills-btn { background: #fff; border: 1px solid #c9d9ef; color: #114591 !important; }
:root[data-ui="new"] .pa3-sheet .pa3-skills-btn:hover { background: #f4f8fe; border-color: #b9d3f4; }
:root[data-ui="new"] .pa3-sheet td .btn-info {
    height: 34px; padding: 0 12px; border-radius: 10px !important; background: #fff !important; border: 1px solid #c9d9ef !important; color: #114591 !important;
    font-size: 13px; font-weight: 700; box-shadow: none !important; text-shadow: none;
}
:root[data-ui="new"] .pa3-sheet td .btn-info:hover { background: #f4f8fe !important; }
:root[data-ui="new"] .pa3-sheet td.remark-edit textarea.form-control { width: 100% !important; }

/* ---- the other tabs (paTabBlocks in .pa3-classic): compact ghost row actions, the progress as small bars ---- */
:root[data-ui="new"] .pa3-classic .table > tbody > tr > td { vertical-align: middle; }
:root[data-ui="new"] .pa3-btn.pa3-row-btn { background: #fff; border: 1px solid #dfe8f4; color: #114591 !important; }
:root[data-ui="new"] .pa3-btn.pa3-row-btn:hover { background: #f4f8fe; border-color: #b9d3f4; }
:root[data-ui="new"] .pa3-tstat { display: flex; flex-direction: column; gap: 6px; min-width: 150px; margin: 4px 0; }
:root[data-ui="new"] .pa3-chip.grey { color: #4a5a73; background: #f1f4f9; }
/* the tabs: no focus box after a click, the 2026 ring for the keyboard */
:root[data-ui="new"] .pa3-tabs .nav-tabs > li > a:focus { outline: none; }
:root[data-ui="new"] .pa3-tabs .nav-tabs > li > a:focus-visible { outline: 2px solid #175bb0; outline-offset: -2px; border-radius: 8px 8px 0 0 !important; }

/* a phone: every student of the sheet is one block - the number and the name on the first line, the components and the
   remark under them, full width - so nothing runs off the card; the heads stay above as a short legend with the copy links */
@media (max-width: 767px) {
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table,
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > thead,
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody { display: block; width: 100%; min-width: 0 !important; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > thead > tr,
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 2px; border-bottom: 1px solid #eef2f8; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > thead > tr { gap: 4px 12px; padding: 8px 2px; background: #fff; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td,
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > thead > tr > th {
        display: block; position: static; flex: 1 1 100%; min-width: 0 !important; max-width: none; padding: 0 !important; border: 0 !important; background: transparent !important;
    }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > thead > tr > th { flex: 0 1 auto; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td:first-child { flex: 0 0 auto; color: #8090a8; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td:nth-child(2) { flex: 1 1 0; }
    /* the row's last cell is empty until the row has changes */
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td:last-child { font-size: 0; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td:last-child > * { font-size: 13px; }
    :root[data-ui="new"] .pa3-sheet .sk-part .radioselect, :root[data-ui="new"] .pa3-sheet .sk-part .multiselect { min-width: 0; }
    :root[data-ui="new"] .pa3-sheet .sk-part .checkboxes > label { min-height: 44px; }
    :root[data-ui="new"] .pa3-sheet .pa3-skills-btn, :root[data-ui="new"] .pa3-sheet td .btn-info { min-height: 44px; }
    :root[data-ui="new"] .pa3-classic .pa3-row-btn { min-height: 44px; }
    /* the assessments sheet (fillGroupSkillsData / fillGroupSkillsByStaff): the student's name once - the block's first line -
       the final score beside it, the remark under its column's name */
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody .st-names,
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td:last-child > p.small { display: none; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td.score { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td.score::before { content: 'ציון סופי'; font-size: 11.5px; font-weight: 600; color: #5b6b85; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td.score input.form-control { width: 58px !important; height: 44px; margin: 0; text-align: center; }
    :root[data-ui="new"] .pa3-sheet .group-period-assesments > .table > tbody > tr > td.remark-edit::before { content: 'הערה/הערכה'; display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: #5b6b85; }
}

/* ---- a phone: the final-score sheet as one card per student (PeriodicalAssesment.js pa3ScoreSheetPhone) - the name, its report
   link and the final-score box on top, a chip per test with the weighted score and its copy under them; the progress strip and
   the docked keypad are the test sheet's (.t3p-kp* in ui3-teacher.css) ---- */
:root[data-ui="new"] .pa3:has(.t3p-kp) { padding-bottom: 330px; }
:root[data-ui="new"] .pa3-scw { display: flex; flex-direction: column; gap: 10px; }
:root[data-ui="new"] .pa3-scw .t3p-kp-prog { margin: 0; }
:root[data-ui="new"] .pa3-sheet .pa3-scw .sticky.h-zindex { position: static; margin: 2px 0 0; border-bottom: 0; border-top: 1px solid #eef2f8; }
:root[data-ui="new"] .pa3-scards { display: flex; flex-direction: column; gap: 8px; }
:root[data-ui="new"] .pa3-sc {
    display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border: 1px solid #e6edf6; border-radius: 14px; background: #fff;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
}
:root[data-ui="new"] .pa3-sc.kp-on { background: #eef5ff; border-color: #175bb0; box-shadow: inset 0 0 0 1px #175bb0; }
:root[data-ui="new"] .pa3-sc-top { display: flex; align-items: center; gap: 10px; }
:root[data-ui="new"] .pa3-sc-name { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 6px; }
:root[data-ui="new"] .pa3-sc-name > b { min-width: 0; font-size: 15px; font-weight: 700; line-height: 1.3; color: #12233f; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the report link (StudentPeriodReportLink) as a small icon button - its text stays for screen readers */
:root[data-ui="new"] .pa3-sc-info { flex-shrink: 0; }
:root[data-ui="new"] .pa3-sc-info > .wrapper { display: block; }
:root[data-ui="new"] .pa3-sc-info a.lnotes {
    display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: #f1f4f9;
    color: #114591 !important; font-size: 0; text-decoration: none !important;
}
:root[data-ui="new"] .pa3-sc-info a.lnotes:focus-visible { outline: 2px solid #175bb0; outline-offset: 2px; }
:root[data-ui="new"] .pa3-sc-info a.lnotes .glyphicon { top: 0; font-size: 15px; }
:root[data-ui="new"] .pa3-sc-info a.lnotes > span:not(.glyphicon) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* the student's report and the weights dialog open as a sheet over the screen, not a 760px box off its side */
:root[data-ui="new"] .pa3-sc-info .wrapper-pop, :root[data-ui="new"] .pa3-wts-calc .wrapper-pop {
    position: fixed !important; inset: 12px 12px auto 12px !important; width: auto !important; min-width: 0; max-height: calc(100vh - 24px); overflow: auto;
    z-index: 1040; padding: 12px; border: 1px solid #dfe8f4 !important; border-radius: 16px; box-shadow: 0 18px 48px rgba(16, 42, 92, .2); cursor: default; font-size: 13px;
}
:root[data-ui="new"] .pa3-wts-calc .wrapper-pop .nowrap, :root[data-ui="new"] .pa3-wts-calc .wrapper-pop .btn { white-space: normal; }
:root[data-ui="new"] .pa3-wts-calc .wrapper-pop .btn { max-width: 100%; height: auto; margin-bottom: 6px; }
/* the final-score box: the test sheet's score box, its tone by the value (empty: dashed) */
:root[data-ui="new"] .pa3-fs { flex-shrink: 0; display: flex; align-items: center; gap: 6px; margin: 0; cursor: pointer; }
:root[data-ui="new"] .pa3-fs > span { max-width: 36px; font-size: 11px; font-weight: 600; line-height: 1.15; color: #5b6b85; text-align: end; }
:root[data-ui="new"] .pa3-fs input.form-control {
    width: 58px !important; min-width: 58px; height: 44px !important; margin: 0; padding: 0 4px !important; box-sizing: border-box; border-radius: 12px !important;
    border: 1.5px solid #d3deee !important; background: #f7f9fc !important; color: #12233f !important; box-shadow: none !important;
    text-align: center; direction: ltr; font-size: 19px; font-weight: 800; caret-color: transparent; cursor: pointer;
}
:root[data-ui="new"] .pa3-fs.t-hi input.form-control { color: #0b6b4a !important; background: #e1f4ea !important; border-color: #a9dcc3 !important; }
:root[data-ui="new"] .pa3-fs.t-ok input.form-control { color: #114591 !important; background: #e6efff !important; border-color: #b9d3f4 !important; }
:root[data-ui="new"] .pa3-fs.t-mid input.form-control { color: #8a4a00 !important; background: #fff1df !important; border-color: #f2cd9b !important; }
:root[data-ui="new"] .pa3-fs.t-low input.form-control { color: #b0202d !important; background: #fde6e8 !important; border-color: #f3b9bf !important; }
:root[data-ui="new"] .pa3-fs.t-empty input.form-control { background: #fff !important; border: 1.5px dashed #b4c3d8 !important; }
:root[data-ui="new"] .pa3-fs input.form-control:focus { outline: none; box-shadow: 0 0 0 3px rgba(23, 91, 176, .18) !important; }
:root[data-ui="new"] .pa3-sc.kp-on .pa3-fs input.form-control { border: 2px solid #175bb0 !important; box-shadow: 0 0 0 3px rgba(23, 91, 176, .18) !important; }
/* the tests line: "מבחן 1 · 74" chips, then the weighted score and "← העתקה" at its end */
:root[data-ui="new"] .pa3-sc-chips, :root[data-ui="new"] .pa3-sc-ev { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
:root[data-ui="new"] .pa3-sc-wc { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: auto; }
:root[data-ui="new"] .pa3-tchip, :root[data-ui="new"] .pa3-echip {
    display: inline-flex; align-items: center; gap: 3px; min-height: 28px; padding: 0 10px; border-radius: 999px; background: #f1f4f9; color: #4a5a73;
    font-size: 12.5px; font-weight: 500; line-height: 1.2; white-space: nowrap;
}
:root[data-ui="new"] .pa3-tchip > b, :root[data-ui="new"] .pa3-echip > b { font-weight: 700; color: #12233f; }
:root[data-ui="new"] .pa3-tchip.none > b { font-weight: 500; color: #8090a8; }
:root[data-ui="new"] .pa3-tchip.nw > span { color: #b0202d; }
:root[data-ui="new"] .pa3-sc.kp-on .pa3-tchip { background: #fff; }
:root[data-ui="new"] .pa3-tchip.w, :root[data-ui="new"] .pa3-sc.kp-on .pa3-tchip.w { background: #e6efff; color: #114591; }
:root[data-ui="new"] .pa3-tchip.w > b { color: #114591; }
:root[data-ui="new"] .pa3-echip { min-height: 24px; padding: 0 8px; font-size: 12px; background: #fff; border: 1px solid #e6edf6; }
:root[data-ui="new"] .pa3-copy {
    display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: #2ec4a5; color: #053b33;
    font-family: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
:root[data-ui="new"] .pa3-copy:active { background: #27b096; }
:root[data-ui="new"] .pa3-copy:focus-visible { outline: 2px solid #175bb0; outline-offset: 2px; }
/* the weights (the table's second head row), folded */
:root[data-ui="new"] .pa3-wts { border: 1px solid #e6edf6; border-radius: 14px; background: #fbfcfe; }
:root[data-ui="new"] .pa3-wts-t {
    display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 14px; background: transparent;
    font-family: inherit; font-size: 14px; font-weight: 700; color: #12233f; text-align: start; cursor: pointer;
}
:root[data-ui="new"] .pa3-wts-t > .p3-ico { margin-inline-start: auto; color: #5b6b85; transition: transform .15s ease; }
:root[data-ui="new"] .pa3-wts.open .pa3-wts-t > .p3-ico { transform: rotate(180deg); }
:root[data-ui="new"] .pa3-wts-t:focus-visible { outline: 2px solid #175bb0; outline-offset: -2px; }
:root[data-ui="new"] .pa3-wts-b { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; padding: 0 12px 12px; }
:root[data-ui="new"] .pa3-wt { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 12px; font-weight: 600; color: #4a5a73; }
:root[data-ui="new"] .pa3-wt.nw > span { color: #b0202d; }
:root[data-ui="new"] .pa3-wt input.form-control {
    width: 72px !important; height: 40px; margin: 0; padding: 0 6px !important; border-radius: 10px !important; border: 1px solid #d3deee !important;
    background: #fff !important; color: #12233f !important; box-shadow: none !important; text-align: center; direction: ltr; font-size: 15px; font-weight: 700;
}
:root[data-ui="new"] .pa3-wts-calc { flex-basis: 100%; }
:root[data-ui="new"] .pa3-wts-calc > .wrapper > a.lnotes {
    display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid #c9d9ef; background: #fff;
    color: #114591 !important; font-size: 13px; font-weight: 700; text-decoration: none !important;
}
