@import url('./calendar-view.css');
@import url('./urgency.css');
/* One product, three clear homes. All controls retain the shared classroom grammar. */
.portal-arm-nav{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.portal-arm-nav button{border-radius:999px}.portal-arm-nav .arm-teach{color:#076a68}.portal-arm-nav .arm-learn{color:#1554a0}.portal-arm-nav .arm-families{color:#6b408f}.portal-entry-card{position:relative;overflow:hidden;border-top:4px solid var(--arm,#087f75)}.portal-entry-card h2{font-size:23px;line-height:1.3}.portal-entry-card .portal-entry-label{font-size:16px;font-weight:800;color:var(--arm);margin-bottom:20px}.portal-entry-card .portal-entry-links{display:grid;gap:9px;margin:19px 0;font-size:13px;color:#47616b}.portal-entry-card .portal-entry-links span:before{content:'✓';margin-right:9px;color:var(--arm)}.portal-badge{display:inline-flex;border-radius:7px;padding:5px 10px;margin-bottom:8px;color:#0f6863;background:#dff3ec;font-size:12px;font-weight:750}.portal-badge.learn{background:#e8f0ff;color:#23558d}.portal-badge.families{background:#f0eafb;color:#694293}.portal-side-caption{color:#91adaf;font-size:10px;text-transform:uppercase;letter-spacing:1.4px;margin:18px 12px 4px}.portal-hero{display:grid;grid-template-columns:minmax(0,1fr) 235px;gap:26px;background:linear-gradient(125deg,#e7f6f0,#f8fcfa);border:1px solid #c8e3d8;border-radius:20px;padding:30px;margin-bottom:22px}.portal-hero.portal-learn{background:linear-gradient(125deg,#eaf1ff,#f7fbff);border-color:#d1dff3}.portal-hero.portal-families{background:linear-gradient(125deg,#f1ecfa,#fdfbff);border-color:#e0d7ef}.portal-hero h1{font-size:34px;max-width:660px;letter-spacing:-1px}.portal-hero p{max-width:670px}.portal-hero .actions{margin-top:23px}.portal-hero-note{display:flex;flex-direction:column;justify-content:center;padding-left:25px;border-left:1px solid #cfdedc}.portal-hero-note strong{font-size:18px;margin-top:10px}.portal-hero-note small{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:#4d6570}.portal-ring{background:white;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-size:27px;font-weight:750;color:#185c66;box-shadow:0 5px 15px #2a50500b}.portal-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin:20px 0 28px}.portal-metric{text-align:left;padding:20px;border-radius:14px;font-weight:400}.portal-metric>span{display:block;color:#4e646e;font-size:12px}.portal-metric strong{display:block;font-size:30px;margin:9px 0}.portal-metric small{display:block;font-size:11px;color:#5c7377;font-weight:400;line-height:1.5}.portal-main-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(250px,1fr);gap:24px}.portal-class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-bottom:24px}.portal-class-card{border:1px solid #dae5e4;border-radius:16px;overflow:hidden;background:white}.portal-class-head{display:flex;gap:14px;align-items:center;background:var(--class-tint,#e8f4ed);padding:21px}.portal-class-head>svg,.portal-class-head>.profile-graphic,.portal-class-head>img,.portal-class-head>.profile-initials{width:46px!important;height:46px!important;flex:0 0 46px}.portal-class-head small{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#4b6470}.portal-class-head h3{font-size:17px;margin:7px 0 0}.portal-class-body{padding:20px}.portal-brand-name{font-weight:750;color:#143c48}.portal-class-counts{display:flex;gap:12px;font-size:11px;color:#4d6671;padding:14px 0;flex-wrap:wrap}.portal-class-body>button{width:100%;margin:5px 0 14px}.portal-class-body>.tiny{display:block;text-align:center}.portal-work-preview{margin-top:24px}.portal-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;border-bottom:1px solid #e4ece8}.portal-row:last-child{border-bottom:0}.portal-row>div{min-width:0}.portal-row h3{font-size:16px;margin:6px 0}.portal-row p{font-size:12px;margin:5px 0}.portal-row small{display:block;color:#5f7480;font-size:11px;margin-top:9px}.portal-row>button{flex-shrink:0;max-width:195px}.portal-context{font-size:11px;color:#5d707c}.portal-empty{padding:22px 0}.portal-empty h3{font-size:16px}.portal-empty p{font-size:13px}.portal-feedback{padding:17px 0;border-bottom:1px solid #e1e9e7}.portal-feedback h3{margin-top:8px}.portal-feedback>p{white-space:pre-wrap;overflow-wrap:anywhere}.portal-next{padding:14px;border-left:3px solid #6b8bab;background:#f5f8fc;margin:15px 0}.portal-next p{font-size:13px}.portal-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.portal-help{background:#f4f8f7}.portal-family-links{background:white;border:1px solid #dedee8;padding:23px;border-radius:16px;margin-bottom:22px}.portal-child-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.portal-child-card{display:flex;align-items:center;gap:13px;text-align:left;padding:17px}.portal-child-card.chosen{background:#f6f0fc;border-color:#a991c6}.portal-child-card>span:nth-child(2){flex:1}.portal-child-card strong{font-size:14px;display:block}.portal-child-card small{display:block;color:#697780;font-size:11px;margin-top:5px;font-weight:400}.portal-child-select{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0 0 20px;color:#596b75;font-size:12px}.portal-child-select select{max-width:290px}.portal-scope{margin-top:22px}.portal-back{margin-bottom:20px}.portal-nav .selected{border-left:3px solid #89c8c2}.portal-error{padding:24px}.content.portal-content{max-width:1560px}.portal-mobile-nav{display:none}.portal-home-link{font-weight:750!important}.portal-journey{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.portal-journey .step-number{float:left;margin-right:12px}.portal-journey h3{font-size:14px}.portal-journey p{font-size:12px}.portal-parent-tip{background:#f1eefa;border:1px solid #e2d9f1;border-radius:12px;padding:16px;font-size:12px}
@media(max-width:1200px){.portal-main-grid{grid-template-columns:1fr}.portal-main-grid>aside{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.portal-hero{grid-template-columns:1fr 200px}.portal-hero h1{font-size:30px}}
@media(max-width:800px){.portal-hero{grid-template-columns:1fr;padding:23px}.portal-hero-note{display:none}.portal-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-main-grid>aside{display:block}.portal-class-grid{grid-template-columns:1fr}.portal-child-cards{grid-template-columns:1fr}.portal-journey{grid-template-columns:1fr}.portal-row{align-items:flex-start}.portal-row>button{max-width:130px;font-size:12px}.portal-arm-nav{gap:5px}.portal-arm-nav button{font-size:12px;padding:8px 10px}.portal-child-select{display:block}.portal-child-select select{display:block;width:100%;max-width:none;margin-top:7px}}
@media(max-width:720px){.portal-mobile-nav{display:flex;overflow-x:auto;gap:6px;background:white;border-bottom:1px solid #dde5e4;padding:12px 15px}.portal-mobile-nav button{white-space:nowrap;font-size:12px;padding:9px 11px}.portal-public-head{flex-wrap:wrap}.portal-hero h1{font-size:29px}.portal-metric{padding:15px}.portal-row{flex-direction:column}.portal-row>button{max-width:none;width:100%}.portal-shortcuts{grid-template-columns:1fr}.portal-class-head h3{font-size:16px}}

.portal-class-tools summary{cursor:pointer;color:#cbdfe0;font-size:12px;padding:12px;font-weight:700}.portal-class-tools>button{display:block;width:100%;padding-left:21px}.portal-class-tools[open]{border:1px solid #2e5057;border-radius:9px;margin:5px 0}

/* Show the business logo with its name; the separate class-head portrait is retained. */
.portal-business-identity{display:flex;align-items:center;gap:12px;margin-bottom:10px;min-width:0}
.portal-business-identity>.business-logo{display:block;width:68px;height:50px;flex:0 0 68px;object-fit:contain;padding:4px;background:#fff;border:1px solid #dbe7e3;border-radius:7px}
.portal-business-identity .portal-brand-name{margin:0;min-width:0;overflow-wrap:anywhere}

/* The first/main classroom image is always the teaching logo (or teaching initials). */
.portal-class-head{align-items:center;gap:15px}.portal-class-head>.teaching-logo-slot{width:112px;min-height:80px;flex:0 0 112px;padding:8px}.portal-class-head .teaching-logo-slot .business-logo{height:64px}.portal-class-heading{min-width:0;overflow-wrap:anywhere}.portal-class-head .portal-brand-name{font-size:16px;font-weight:750;line-height:1.4;color:var(--ink);margin:0 0 6px}.portal-class-head h3{font-size:14px;line-height:1.4;font-weight:600;margin:0 0 4px}.portal-class-body>.teacher-byline{margin:0 0 15px}.portal-class-body .teacher-byline .teacher-portrait{width:32px!important;height:32px!important;flex-basis:32px}.portal-class-head .teaching-logo-initials{font-size:27px}
@media(max-width:720px){.portal-class-head{gap:12px}.portal-class-head>.teaching-logo-slot{width:96px;min-height:72px;flex-basis:96px}.portal-class-head .teaching-logo-slot .business-logo{height:56px}}

.portal-start-guide{margin:16px 0}.portal-start-guide>summary{cursor:pointer;font-weight:700;padding:6px}.portal-start-guide li{margin:12px 0}.portal-start-guide p{margin:4px 0}.portal-start-guide>summary:focus-visible{outline:3px solid #087b70;outline-offset:4px}

/* Task-first role homes keep the next useful action above classroom directories. */
.portal-hero{padding:22px 26px;gap:20px;margin-bottom:20px}.portal-hero h1{font-size:30px;margin:6px 0 8px}.portal-hero p{margin:8px 0}.portal-hero-note{padding-left:20px}.portal-hero-note p{font-size:12px}
.portal-priorities{margin:20px 0 24px}.portal-priorities>h2{font-size:20px;margin-bottom:14px}.portal-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.portal-action{display:flex;flex-direction:column;border:1px solid #cddfda;border-radius:14px;padding:20px;background:#fff;min-width:0}.portal-action h3{font-size:18px;margin:10px 0;overflow-wrap:anywhere}.portal-action>p{font-size:13px;line-height:1.6;overflow-wrap:anywhere}.portal-action .actions{margin-top:auto;padding-top:12px}.portal-action .actions button{width:100%;min-height:44px}
.portal-setup>summary{font-weight:750;cursor:pointer;padding:5px 0}.portal-setup-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:18px 0 0}.portal-setup-steps li{display:flex;align-items:flex-start;gap:8px;min-width:0}.portal-step-state{flex:none;color:#087f75;font-weight:750}.portal-setup-steps p{font-size:12px;margin:8px 0;line-height:1.5}.portal-setup-steps button,.portal-setup-steps a{font-size:12px;line-height:1.5}.portal-setup>summary:focus-visible,.portal-mobile-directory>summary:focus-visible{outline:3px solid #087b70;outline-offset:4px}
.portal-mobile-directory{padding:12px 15px;background:white;border-bottom:1px solid #dde5e4}.portal-mobile-directory>summary{font-size:13px;cursor:pointer;font-weight:650;padding:5px}.portal-mobile-directory .actions{padding-top:10px}
@media(max-width:1100px){.portal-action-grid{grid-template-columns:1fr}.portal-action .actions{margin-top:4px}.portal-action .actions button{width:auto}.portal-setup-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.portal-setup-steps{grid-template-columns:1fr}.portal-hero{padding:20px}.portal-hero h1{font-size:27px}.portal-action{padding:17px}.portal-action .actions button{width:100%}}

/* Secondary guidance is available without competing with today's work. */
.portal-secondary-panel>summary{cursor:pointer;font-size:15px;font-weight:700;line-height:1.5;min-height:30px}.portal-secondary-panel[open]>summary{margin-bottom:14px}.portal-tool-class-picker{display:grid;gap:10px;margin:18px 0}.portal-tool-class-picker>button{text-align:left;display:grid;gap:6px;min-height:64px}.portal-tool-class-picker small{font-weight:400;color:var(--muted)}.portal-help h2{font-size:17px}.portal-help p{font-size:13px}.portal-class-card h3,.portal-action h3{overflow-wrap:anywhere}.portal-main-grid>aside .card{margin-bottom:16px}
@media(min-width:1201px){.portal-main-grid{grid-template-columns:minmax(0,2.1fr) minmax(250px,.9fr)}}
@media(max-width:720px){.portal-hero{padding:17px 18px}.portal-hero h1{font-size:25px}.portal-metrics{gap:9px;margin:16px 0 20px}.portal-metric{padding:13px}.portal-metric strong{font-size:25px;margin:5px 0}.portal-class-head{padding:16px}.portal-class-body{padding:16px}.portal-setup-steps{gap:12px}.portal-secondary-panel>summary{min-height:44px;display:list-item;padding-top:10px;padding-bottom:10px}.portal-setup:not([open]),.portal-secondary-panel:not([open]){padding-top:14px;padding-bottom:14px}}

/* Dates and follow-up share one readable visual grammar across account roles. */
.portal-urgency-summary{display:flex;flex-wrap:wrap;gap:10px 20px;margin:16px 0 10px;padding:13px 15px;background:#f5f8f7;border:1px solid var(--line,#d9e4df);border-radius:10px;font-size:13px}.portal-urgency-summary strong{font-size:17px;margin-right:4px}.portal-priority-explanation{max-width:900px;line-height:1.6}.portal-row .cp-urgency{margin:5px 7px 5px 0}.portal-work-list,.portal-timetable-checks{margin-top:20px;border-top:1px solid var(--line,#d9e4df);padding-top:15px}.portal-work-list>summary,.portal-timetable-checks>summary,.portal-family-clashes>summary{cursor:pointer;font-weight:700;min-height:44px;padding:10px 0}.portal-family-clashes{margin:12px 0}.portal-family-clashes>.callout{margin-top:4px}.portal-undated{padding:14px 16px;background:#f7f9fb;border:1px solid var(--line,#d9e4df);border-radius:10px;margin-top:15px}.portal-undated h3{font-size:15px;margin:0}.portal-undated p{font-size:12px;margin-bottom:0}.portal-work-list>summary:focus-visible,.portal-timetable-checks>summary:focus-visible{outline:3px solid #1b5880;outline-offset:3px}
@media(max-width:720px){.portal-urgency-summary{display:grid;grid-template-columns:1fr;gap:8px}.portal-priority-explanation{font-size:12px}}
