/* V7 Courses-only authoring; existing global branding and Live Classroom are untouched. */
#rzCourseLegacy { display:none !important; }
#rzCourseAuthoring { --a-ink:#153f4b;--a-muted:#4b6871;--a-teal:#086c78;--a-line:#bed5d0;color:var(--a-ink);max-width:1180px;margin:0 auto;padding:8px 0 34px; }
#rzCourseAuthoring [hidden],.rz-author-modal [hidden] {display:none !important;}
.rz-author-heading {margin:0 0 16px;}
.rz-author-eyebrow {display:block;color:#087989;font-size:.7rem;font-weight:800;letter-spacing:.16em;margin-bottom:9px;}
.rz-author-heading h1 {font-size:1.7rem;line-height:1.2;letter-spacing:-.025em;margin:0 0 9px;color:#153f4b;}
.rz-author-heading p {margin:0;max-width:850px;font-size:.87rem;line-height:1.65;color:#4b6871;}
.rz-author-crumb {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:22px;font-size:.8rem;color:#44636c;}
.rz-author-btn {display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid #acc7c3;border-radius:11px;padding:11px 17px;min-height:43px;background:#fff;color:#155465;font:inherit;font-size:.8rem;font-weight:750;line-height:1.4;cursor:pointer;transition:background .2s,box-shadow .2s,transform .2s;}
.rz-author-btn svg {width:19px;height:19px;flex:none;}
.rz-author-btn.primary {background:#086c78;border-color:#086c78;color:#fff;}
.rz-author-btn.primary:hover:not(:disabled) {background:#075762;box-shadow:0 6px 16px rgba(14,77,87,.16);}
.rz-author-btn.danger {background:#fff3ee;border-color:#d79d8c;color:#873a2c;}
.rz-author-btn.danger:hover:not(:disabled) {background:#fae2d8;}
.rz-author-btn.text {border:0;background:transparent;padding:0;min-height:30px;color:#096576;}
.rz-author-btn:disabled {opacity:.43;cursor:not-allowed;box-shadow:none;}
#rzCourseAuthoring :focus-visible,.rz-author-modal :focus-visible {outline:3px solid #bd9854;outline-offset:4px;}
.rz-author-paths {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;max-width:850px;margin:15px auto 0;}
.rz-author-card {position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #b9d6cc;border-radius:22px;padding:25px;overflow:hidden;box-shadow:0 10px 27px rgba(29,73,82,.055);transition:transform .24s,box-shadow .24s,border-color .24s;}
.rz-author-card.mint,.rz-author-item.mint {background:linear-gradient(140deg,#edf7f1,#dcefe8);border-color:#b1cfc1;}
.rz-author-card.lavender {background:linear-gradient(140deg,#f3f0fb,#e6e5f7);border-color:#c8c4e2;}
.rz-author-card.sand,.rz-author-item.sand {background:linear-gradient(135deg,#fff8eb,#f5ebd5);border-color:#dfcba5;}
.rz-author-card.tall {min-height:255px;padding:22px 24px;}
.rz-author-card:hover,.rz-author-card:focus-within {transform:translateY(-3px);box-shadow:0 15px 34px rgba(20,59,70,.10);border-color:#79aaa1;}
.rz-author-card-icon {display:inline-flex;align-items:center;justify-content:center;width:57px;height:57px;background:rgba(255,255,255,.62);border:1px solid rgba(109,153,150,.25);border-radius:17px;margin-bottom:22px;color:#086574;}
.rz-author-card-icon svg {width:30px;height:30px;}
.rz-author-card.lavender .rz-author-card-icon {color:#595789;}
.rz-author-card.sand .rz-author-card-icon {color:#856329;}
.rz-author-card h2 {font-size:1.13rem;color:#163f4b;letter-spacing:-.015em;margin:0 0 11px;line-height:1.35;}
.rz-author-card p {color:#496570;font-size:.85rem;line-height:1.8;margin:0 0 25px;max-width:330px;overflow-wrap:anywhere;}
.rz-author-card>.rz-author-btn {margin-top:auto;align-self:stretch;}
.rz-author-card .reveal,.rz-author-item .reveal {opacity:0;transform:translateY(9px);pointer-events:none;transition:opacity .22s,transform .22s;}
.rz-author-card:hover .reveal,.rz-author-card:focus-within .reveal,.rz-author-item:hover .reveal,.rz-author-item:focus-within .reveal,.rz-author-card.is-added .reveal {opacity:1;transform:translateY(0);pointer-events:auto;}
.rz-author-editor {margin:0;}
.rz-author-editable {border:0;padding:0;margin:0;min-width:0;}
.rz-author-details {display:grid;grid-template-columns:minmax(200px,.85fr) minmax(0,1.6fr);gap:20px;background:#f1f6f6;border:1px solid #bed3d3;border-radius:16px;padding:17px 20px;align-items:start;}
.rz-author-details label,.rz-author-modal label {display:block;font-size:.8rem;font-weight:750;line-height:1.5;color:#244f5b;}
.rz-author-details input,.rz-author-details textarea,.rz-author-modal input:not([type=radio]):not([type=file]),.rz-author-modal textarea {display:block;box-sizing:border-box;width:100%;border:1px solid #b5cfcb;border-radius:10px;background:#fff;padding:11px 13px;color:#153f4b;font:inherit;font-size:.87rem;line-height:1.5;margin-top:7px;resize:vertical;}
.rz-author-details textarea {min-height:48px;height:66px;max-height:160px;}
.rz-author-add-grid {display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:23px 0 30px;}
.rz-author-card.compact {min-height:185px;padding:21px;display:grid;grid-template-columns:48px minmax(0,1fr);gap:0 17px;}
.rz-author-card.compact .rz-author-card-icon {width:46px;height:46px;margin-bottom:15px;border-radius:13px;}
.rz-author-card.compact h2 {font-size:1rem;margin:0 0 7px;}
.rz-author-card.compact p {font-size:.8rem;line-height:1.6;margin:0 0 15px;}
.rz-author-card.compact>.rz-author-btn {grid-column:1 / -1;width:100%;}
.rz-author-columns {display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start;margin-top:0;}
.rz-author-list-panel {border:1px solid #d0dfdc;background:#fbfdfb;border-radius:18px;padding:21px;min-width:0;}
.rz-author-list-panel:last-child {background:#fffdf7;border-color:#e2d8c1;}
.rz-author-list-panel h2 {font-size:1.02rem;margin:0 0 8px;color:#163f4b;}
.rz-author-caption,.rz-author-empty {color:#537079;font-size:.8rem;line-height:1.7;margin:0 0 18px;}
.rz-author-empty {margin:0;border:1px dashed #bacec7;border-radius:12px;padding:24px 16px;text-align:center;}
.rz-author-item-list {display:grid;gap:13px;}
.rz-author-item {display:grid;grid-template-columns:29px minmax(0,1fr);gap:12px;border:1px solid #c3d9d0;border-radius:14px;padding:16px;min-width:0;}
.rz-author-item-icon {width:26px;height:29px;display:inline-flex;color:#096574;flex:none;}
.rz-author-item-icon svg {width:100%;height:100%;}
.rz-author-item h3 {font-size:.86rem;margin:0 0 6px;color:#183f4d;line-height:1.5;}
.rz-author-item p {font-size:.77rem;line-height:1.6;color:#456770;margin:0;overflow-wrap:anywhere;}
.rz-author-status {font-size:.68rem;color:#526931;line-height:1.6;display:block;margin-top:9px;font-weight:650;}
.rz-author-item>.rz-author-btn {grid-column:2;justify-self:end;min-height:35px;padding:7px 12px;font-size:.73rem;}
.rz-author-savebar {display:flex;justify-content:space-between;align-items:center;gap:20px;background:#f2f8f6;border:1px solid #b7cec6;border-radius:15px;padding:18px 20px;margin-top:24px;}
.rz-author-savebar strong {font-size:.86rem;color:#153f4b;}
.rz-author-savebar p {font-size:.73rem;line-height:1.7;color:#4c666e;margin:4px 0 0;}
.rz-author-savebar>.rz-author-btn {flex:none;letter-spacing:.045em;min-width:178px;}
.rz-author-course-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;}
.rz-author-course-grid .rz-author-card {min-height:275px;}
.rz-author-library-tools {display:flex;gap:12px;flex-wrap:wrap;margin:0 0 22px;}
.rz-author-course-actions {display:flex;gap:9px;margin-top:auto;}
.rz-author-course-actions>.primary {flex:1;}
.rz-author-error {background:#fff0e8;color:#893c2b;border:1px solid #daa38e;border-radius:12px;padding:14px 16px;font-size:.85rem;line-height:1.7;margin:15px 0;overflow-wrap:anywhere;}
.rz-author-readonly {padding:15px 18px;background:#fff5d9;border:1px solid #d9c386;border-radius:12px;color:#6d5727;font-size:.85rem;line-height:1.7;}
.rz-author-loading {color:#466873;font-size:.87rem;line-height:1.7;padding:26px 0;}
.rz-author-modal {box-sizing:border-box;width:min(640px,calc(100vw - 32px));max-height:calc(100dvh - 36px);padding:0;border:1px solid #b3cfc9;border-radius:23px;background:#fbfdfb;color:#163f4b;font-family:inherit;box-shadow:0 26px 90px rgba(10,48,60,.23);overflow:auto;}
.rz-author-modal::backdrop {background:rgba(14,40,51,.5);backdrop-filter:blur(4px);}
.rz-author-modal.is-wide {width:min(1100px,calc(100vw - 48px));height:min(740px,calc(100dvh - 70px));}
.rz-author-modal-head {position:sticky;top:0;z-index:2;border-bottom:1px solid #d4e3b3;background:#f3f9f5;padding:25px 64px 20px 28px;}
.rz-author-modal-head h2 {font-size:1.2rem;line-height:1.4;letter-spacing:-.015em;margin:0 0 8px;color:#153f4b;}
.rz-author-modal-caption {font-size:.82rem;line-height:1.65;color:#4e6a72;margin:0;max-width:820px;}
.rz-author-close {position:absolute;right:18px;top:20px;border:1px solid #b0cbc6;background:#fff;border-radius:12px;width:36px;height:36px;display:grid;place-items:center;color:#2f5863;cursor:pointer;}
.rz-author-close svg {width:20px;height:20px;}
.rz-author-close:hover {background:#e7f0eb;}
.rz-author-modal-body {padding:25px 28px 28px;}
.rz-author-picker-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:17px;margin-top:22px;}
.rz-author-card.picker {min-height:255px;padding:21px;}
.rz-author-card.picker h2 {font-size:.98rem;}
.rz-author-card.picker p {font-size:.8rem;}
.rz-author-card.picker .rz-author-card-icon {margin-bottom:16px;width:43px;height:43px;border-radius:12px;}
.rz-author-search {margin:0 !important;}
.rz-author-drop {padding:24px;border:2px dashed #9bbbaf;background:#eff8f2;border-radius:18px;text-align:center;transition:background .2s;}
.rz-author-drop.is-over {background:#dceee3;border-color:#087383;}
.rz-author-drop h3 {font-size:1rem;margin:9px 0;color:#153f4b;}
.rz-author-drop p {font-size:.78rem;color:#49686c;line-height:1.7;margin:0 0 16px;}
.rz-author-upload-icon {display:inline-flex;width:40px;height:40px;color:#226b72;}
.rz-author-file-input {position:absolute !important;width:1px !important;height:1px !important;opacity:0 !important;overflow:hidden !important;}
.rz-author-file-caption {display:flex;align-items:center;gap:14px;border:1px solid #c0d6ca;background:#f7fbf5;border-radius:13px;padding:15px 17px;margin-top:15px;min-width:0;}
.rz-author-file-caption>div {min-width:0;flex:1;}
.rz-author-file-caption strong {display:block;overflow-wrap:anywhere;font-size:.85rem;color:#224c56;}
.rz-author-file-caption small {display:block;color:#536e70;font-size:.73rem;margin-top:4px;}
.rz-author-divider {display:flex;align-items:center;gap:20px;color:#658076;font-size:.77rem;margin:24px 0;}
.rz-author-divider::before,.rz-author-divider::after {content:'';height:1px;flex:1;background:#d3e0d9;}
.rz-author-linkrow {display:grid;grid-template-columns:1fr auto;align-items:end;gap:16px;}
.rz-author-linkrow input[aria-invalid=true] {border-color:#b56343;}
.rz-author-modal form>label {margin-top:19px;}
.rz-author-modal form>.rz-author-file-caption {margin:0 0 19px;}
.rz-author-source-caption {padding:12px 16px;border:1px solid #d9ceb2;border-radius:10px;background:#fffaee;font-size:.78rem;line-height:1.7;overflow-wrap:anywhere;}
.rz-author-types {border:0;padding:0;margin:20px 0;}
.rz-author-types legend {font-size:.8rem;font-weight:750;margin-bottom:10px;}
.rz-author-types>div {display:flex;gap:9px;flex-wrap:wrap;}
.rz-author-types label {padding:9px 12px;border:1px solid #bed0c7;border-radius:11px;background:#fff;display:flex;align-items:center;gap:8px;font-size:.75rem;cursor:pointer;}
.rz-author-types label:has(input:checked) {background:#e3f2eb;border-color:#5a9386;color:#134b51;}
.rz-author-types input {accent-color:#0c747c;margin:0;}
.rz-author-actions {display:flex;gap:11px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap;}
.rz-author-notice-icon {display:flex;align-items:center;justify-content:center;margin:0 auto 23px;width:57px;height:57px;background:#fff1d0;border:1px solid #dcc492;border-radius:50%;color:#826022;}
.rz-author-notice-icon.success {background:#e4f3e7;border-color:#a9cfb2;color:#296845;}
.rz-author-notice-icon svg {width:31px;height:31px;}
/* Course Lead's unpublished-file review stays on-device and uses the familiar authoring modal. */
.rz-author-preview-meta{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
  margin:1px 0 16px;
}
.rz-author-preview-tag{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 11px;
  background:#e9f5f1;
  border:1px solid #b5d4c8;
  border-radius:100px;
  color:#245b59;
  font-size:.74rem;
  font-weight:750;
}
.rz-author-preview-media{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:280px;
  border:1px solid #c3d7d2;
  border-radius:14px;
  background:#f3f7f6;
  overflow:hidden;
  display:grid;
  place-items:center;
}
.rz-author-preview-frame{
  box-sizing:border-box;
  display:block;
  width:100%;
  height:min(54dvh,510px);
  min-height:300px;
  background:#fff;
  border:0;
}
.rz-author-preview-image{
  display:block;
  max-width:100%;
  max-height:min(54dvh,510px);
  width:auto;
  height:auto;
  object-fit:contain;
}
.rz-author-preview-footnote{
  color:#4e6871;
  font-size:.78rem;
  line-height:1.6;
  margin:14px 0 5px;
}
.rz-author-item-actions>.rz-review-file,
.rz-author-actions>.rz-review-file{
  border-color:#8ebdb4;
  color:#155b62;
  background:#eef8f5;
}
.rz-author-item-actions>.rz-review-file:hover,
.rz-author-actions>.rz-review-file:hover{
  border-color:#398f82;
  background:#e2f2ed;
}
@media(max-width:760px){
  .rz-author-preview-frame{height:min(53dvh,480px);min-height:250px}
  .rz-author-preview-media{min-height:250px}
  .rz-author-preview-meta{gap:7px}
}

@media(hover:none),(pointer:coarse){.rz-author-card .reveal,.rz-author-item .reveal {opacity:1;transform:none;pointer-events:auto;}}
@media(prefers-reduced-motion:reduce){.rz-author-card,.rz-author-btn,.rz-author-card .reveal,.rz-author-item .reveal,.rz-author-drop {transition:none !important;}.rz-author-card:hover,.rz-author-card:focus-within {transform:none;}}
@media(max-width:760px){.rz-author-paths,.rz-author-details,.rz-author-add-grid,.rz-author-columns {grid-template-columns:1fr;}.rz-author-paths{gap:18px;margin-top:15px;}.rz-author-card.tall{min-height:215px;padding:20px;}.rz-author-modal.is-wide{width:calc(100vw - 24px);height:calc(100dvh - 30px);}.rz-author-modal-body{padding:19px;}.rz-author-modal-head{padding:21px 61px 18px 19px;}.rz-author-savebar{align-items:stretch;flex-direction:column;}.rz-author-file-caption{flex-wrap:wrap;}.rz-author-file-caption>.rz-author-btn{margin-left:auto;}.rz-author-linkrow{gap:10px;}.rz-author-heading h1{font-size:1.45rem;}.rz-author-card .reveal,.rz-author-item .reveal{opacity:1;transform:none;pointer-events:auto;}}

/* Compact the TWO Course Lead landing choices only; buttons always visible,
   without altering editor pickers, resource cards or other workspaces. */
#rzCourseAuthoring .rz-author-paths .rz-author-card.tall .rz-author-card-icon{
 width:49px;height:49px;margin-bottom:14px;border-radius:14px;
}
#rzCourseAuthoring .rz-author-paths .rz-author-card.tall .rz-author-card-icon svg{width:27px;height:27px}
#rzCourseAuthoring .rz-author-paths .rz-author-card.tall h2{font-size:1.08rem;margin-bottom:7px}
#rzCourseAuthoring .rz-author-paths .rz-author-card.tall p{line-height:1.55;margin-bottom:16px;max-width:none}
#rzCourseAuthoring .rz-author-paths .rz-author-card.tall>.rz-author-btn.reveal{
 opacity:1;transform:none;pointer-events:auto;min-height:45px;visibility:visible;
}
@media(max-width:760px){
 #rzCourseAuthoring .rz-author-paths .rz-author-card.tall{min-height:215px}
}
