/* Cosmo School ERP: original concept illustrations (phone app mock-ups and a stylised dashboard).
   Shared by the website and the brochure. Sizes are in em: set font-size on .pm / .dm to scale a mock-up. */

/* ---------- Phone mock-ups ---------- */
.pm { font-size: 10px; width: 24em; flex: none; background: #0f172a; border-radius: 3.6em; padding: .8em; box-shadow: 0 2em 4.5em rgba(13,42,107,.22), inset 0 0 0 .15em #334155; font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif; line-height: 1.3; color: #14213d; text-align: left; }
.pm * { box-sizing: border-box; }
.pm-s { position: relative; height: 48.5em; border-radius: 2.9em; overflow: hidden; background: #f3f6fc; display: flex; flex-direction: column; }
.pm-notch { position: absolute; top: .8em; left: 50%; width: 6.6em; height: 1.5em; margin-left: -3.3em; border-radius: 1em; background: #0f172a; z-index: 3; }
.pm .ms { font-size: 1.9em; }
.pm b { font-weight: 700; } .pm small { display: block; font-size: 1em; color: #5b6678; }
.pm-top { background: linear-gradient(135deg, #1e6fd9, #0d2a6b); color: #fff; padding: 3.4em 1.5em 1.5em; display: flex; justify-content: space-between; align-items: flex-end; flex: none; }
.pm-top b { display: block; font-family: 'Sora', 'Segoe UI', sans-serif; font-size: 1.55em; font-weight: 600; letter-spacing: -.01em; }
.pm-top small { color: #cfe0fb; font-size: 1.05em; margin-top: .15em; }
.pm-top .ms { font-size: 2.1em; background: rgba(255,255,255,.16); border-radius: 50%; padding: .28em; }
.pm-body { flex: 1; min-height: 0; padding: 1.2em 1.2em 0; display: flex; flex-direction: column; gap: 1em; overflow: hidden; }
.pm-card { background: #fff; border-radius: 1.3em; padding: 1.1em 1.2em; box-shadow: 0 .2em .8em rgba(16,24,40,.07); }
.pm-card b { font-size: 1.2em; }
.pm-av { width: 3.6em; height: 3.6em; border-radius: 50%; background: linear-gradient(135deg, #f6a623, #f08a1c); color: #fff; font-weight: 800; display: grid; place-items: center; flex: none; }
.pm-av.s { width: 2.4em; height: 2.4em; background: #e9f2ff; color: #1e6fd9; font-size: .95em; }
.pm-child { display: flex; align-items: center; gap: 1em; } .pm-child > div { flex: 1; }
.pm-ring { --p: 90; width: 4.4em; height: 4.4em; border-radius: 50%; background: conic-gradient(#2e8b57 calc(var(--p) * 1%), #dfe7f1 0); display: grid; place-items: center; flex: none; position: relative; }
.pm-ring::before { content: ''; position: absolute; inset: .55em; border-radius: 50%; background: #fff; }
.pm-ring b { position: relative; font-size: 1em; color: #2e8b57; }
.pm-due { display: flex; align-items: center; justify-content: space-between; gap: 1em; border-left: .4em solid #f6a623; }
.pm-due b { display: block; font-size: 1.7em; font-family: 'Sora', sans-serif; color: #0d2a6b; }
.pm-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .75em 1.2em; border-radius: .9em; font-weight: 700; font-size: 1.15em; color: #fff; background: #1e6fd9; white-space: nowrap; }
.pm-btn .ms { font-size: 1.4em; }
.pm-btn.o { background: #f6a623; color: #1b1300; } .pm-btn.g { background: #2e8b57; } .pm-btn.line { background: #fff; color: #0d2a6b; box-shadow: inset 0 0 0 .12em #cddcf3; }
.pm-btn.wide { display: flex; padding: .95em; }
.pm-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .9em; }
.pm-tiles > span { background: #fff; border-radius: 1.2em; padding: .8em 1em; box-shadow: 0 .2em .8em rgba(16,24,40,.06); }
.pm-tiles .ms { font-size: 1.6em; padding: .3em; border-radius: .5em; color: #fff; background: #1e6fd9; margin-bottom: .35em; }
.pm-tiles .g .ms { background: #2e8b57; } .pm-tiles .o .ms { background: #f6a623; } .pm-tiles .p .ms { background: #6a4bd1; }
.pm-tiles b { display: block; font-size: 1.15em; }
.pm-row { display: flex; align-items: center; gap: .9em; } .pm-row > .ms { color: #1e6fd9; background: #e9f2ff; border-radius: .5em; padding: .3em; flex: none; }
.pm-tabs { flex: none; display: flex; justify-content: space-around; background: #fff; border-top: .1em solid #e3e8f1; padding: .7em .4em 1.1em; margin-top: 1em; }
.pm-tabs > span { display: flex; flex-direction: column; align-items: center; gap: .1em; font-size: .95em; font-weight: 600; color: #8a94a6; }
.pm-tabs .ms { font-size: 2.1em; } .pm-tabs .on { color: #1e6fd9; }
.pm-bill p { display: flex; justify-content: space-between; margin: 0; padding: .55em 0; font-size: 1.15em; border-bottom: .1em dashed #e3e8f1; }
.pm-bill p b { font-size: 1em; } .pm-bill .t { border: 0; font-weight: 700; color: #0d2a6b; font-size: 1.3em; padding-top: .7em; }
.pm-h { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9em !important; }
.pm-pay { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9em; padding: .85em 1.2em; }
.pm-pay i { width: 1.5em; height: 1.5em; border-radius: 50%; box-shadow: inset 0 0 0 .15em #b8c4d6; }
.pm-pay.on { box-shadow: 0 0 0 .15em #1e6fd9; } .pm-pay.on i { box-shadow: inset 0 0 0 .45em #1e6fd9; }
.pm-note { text-align: center; font-size: .92em !important; }
.pm-chips { display: flex; gap: .7em; }
.pm-chips > span { flex: 1; text-align: center; border-radius: 1em; padding: .6em .2em; font-size: 1em; font-weight: 600; background: #e4f3ea; color: #1f6b41; }
.pm-chips b { display: block; font-size: 1.6em; font-family: 'Sora', sans-serif; }
.pm-chips .r { background: #fde8e6; color: #b3261e; } .pm-chips .o { background: #fff1d6; color: #8a5a00; }
.pm-cal .hd, .pm-cal .gd { display: grid; grid-template-columns: repeat(7, 1fr); gap: .45em; text-align: center; }
.pm-cal .hd { margin-bottom: .6em; } .pm-cal i { font-style: normal; font-weight: 700; font-size: 1em; color: #8a94a6; }
.pm-cal .gd i { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #e4f3ea; color: #1f6b41; }
.pm-cal .gd .a { background: #e0453a; color: #fff; } .pm-cal .gd .l { background: #f6a623; color: #1b1300; } .pm-cal .gd .h { background: #f0f3f8; color: #a5aebd; }
.pm-map { position: relative; flex: 1; min-height: 0; }
.pm-map svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.pm-map > .ms { position: absolute; transform: translate(-50%, -50%); color: #fff; font-size: 2em; }
.pm-sheet { flex: none; background: #fff; border-radius: 2em 2em 0 0; padding: 1.2em 1.2em 1.6em; margin-top: -1.6em; position: relative; box-shadow: 0 -.4em 1.4em rgba(16,24,40,.1); display: grid; gap: .9em; }
.pm-sheet .pm-card { box-shadow: none; background: #f3f6fc; }
.pm-two { display: grid; grid-template-columns: 1fr 1fr; gap: .8em; }
.pm-list { padding: .3em 1.1em; }
.pm-list p { display: flex; align-items: center; gap: .8em; margin: 0; padding: .62em 0; border-bottom: .1em solid #eef2f8; } .pm-list p:last-child { border: 0; }
.pm-list p b { flex: 1; font-size: 1.12em; font-weight: 600; }
.pm-pal { display: flex; gap: .35em; }
.pm-pal i { font-style: normal; width: 2.1em; height: 2.1em; border-radius: .6em; display: grid; place-items: center; font-weight: 700; font-size: .95em; background: #f0f3f8; color: #8a94a6; }
.pm-pal .p { background: #2e8b57; color: #fff; } .pm-pal .a { background: #e0453a; color: #fff; } .pm-pal .l { background: #f6a623; color: #1b1300; }
.pm-prog { height: .8em; border-radius: 1em; background: #dfe7f1; overflow: hidden; flex: none; } .pm-prog i { display: block; height: 100%; background: #f6a623; border-radius: 1em; }
.pm-q { text-align: center; padding: 1.6em 1em; } .pm-q b { display: block; font-family: 'Sora', sans-serif; font-size: 3.6em; color: #0d2a6b; line-height: 1.1; }
.pm-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .9em; }
.pm-opts > span { background: #fff; border-radius: 1.2em; padding: .9em; text-align: center; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 1.7em; box-shadow: inset 0 0 0 .08em #dfe7f1; display: flex; align-items: center; justify-content: center; gap: .3em; }
.pm-opts .ok { background: #2e8b57; color: #fff; box-shadow: none; } .pm-opts .ms { font-size: .9em; }

/* ---------- Stylised dashboard illustration ---------- */
.dm { font-size: 10px; position: relative; background: #fff; border-radius: 1.4em; overflow: hidden; border: 1px solid #d8e0ec; box-shadow: 0 3em 7em rgba(13,42,107,.18); font-family: 'Plus Jakarta Sans', 'Segoe UI', sans-serif; color: #14213d; line-height: 1.3; text-align: left; }
.dm * { box-sizing: border-box; }
.dm-bar { display: flex; align-items: center; gap: .6em; padding: .9em 1.2em; background: #eef2f8; border-bottom: 1px solid #dde4ef; }
.dm-bar i { width: 1em; height: 1em; border-radius: 50%; background: #ff6159; } .dm-bar i:nth-child(2) { background: #ffbd2e; } .dm-bar i:nth-child(3) { background: #28c941; }
.dm-bar span { margin-left: 1em; flex: 1; background: #fff; border-radius: .6em; padding: .3em 1em; font-size: 1.1em; color: #6b7686; }
.dm-in { display: flex; background: #f5f8fd; }
.dm-rail { flex: none; width: 5.4em; background: #0d2a6b; padding: 1.4em 0; display: flex; flex-direction: column; align-items: center; gap: 1.1em; }
.dm-rail > span { width: 3.4em; height: 3.4em; border-radius: 1em; display: grid; place-items: center; color: #9fb6e6; }
.dm-rail .on { background: #1e6fd9; color: #fff; } .dm .ms { font-size: 2em; }
.dm-main { flex: 1; min-width: 0; padding: 1.6em; display: grid; gap: 1.3em; }
.dm-head { display: flex; justify-content: space-between; align-items: center; }
.dm-head b { display: block; font-family: 'Sora', sans-serif; font-size: 1.7em; } .dm small { font-size: 1.1em; color: #5b6678; display: block; }
.dm-pill { display: inline-flex; align-items: center; gap: .4em; background: #fff; border: 1px solid #dde4ef; border-radius: 3em; padding: .5em 1.1em; font-weight: 700; font-size: 1.1em; color: #0d2a6b; } .dm-pill .ms { font-size: 1.4em; }
.dm-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; }
.dm-tile { background: #fff; border-radius: 1.2em; padding: 1.1em; display: flex; gap: .9em; align-items: center; box-shadow: 0 .2em .8em rgba(16,24,40,.05); min-width: 0; }
.dm-ic { width: 3.6em; height: 3.6em; border-radius: 1em; display: grid; place-items: center; color: #fff; background: #1e6fd9; flex: none; }
.dm-ic.g { background: #2e8b57; } .dm-ic.o { background: #f6a623; } .dm-ic.p { background: #6a4bd1; }
.dm-tile b { display: block; font-family: 'Sora', sans-serif; font-size: 1.9em; line-height: 1.15; color: #0d2a6b; } .dm-tile em { font-style: normal; font-size: .95em; color: #8a94a6; white-space: nowrap; }
.dm-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1em; }
.dm-card { background: #fff; border-radius: 1.2em; padding: 1.3em; box-shadow: 0 .2em .8em rgba(16,24,40,.05); }
.dm-card > b { font-size: 1.3em; }
.dm-bars { height: 11em; display: flex; align-items: flex-end; gap: 1.2em; padding: 1em .4em 0; border-bottom: 1px solid #e3e8f1; }
.dm-bars i { flex: 1; border-radius: .5em .5em 0 0; background: #b9d3f7; } .dm-bars .hi { background: #1e6fd9; }
.dm-x { display: flex; gap: 1.2em; padding: .5em .4em 0; } .dm-x i { flex: 1; text-align: center; font-style: normal; font-size: 1em; color: #8a94a6; }
.dm-donut { width: 9.6em; height: 9.6em; margin: 1em auto .9em; border-radius: 50%; background: conic-gradient(#2e8b57 0 94%, #f6a623 0 97.5%, #e0453a 0); display: grid; place-items: center; position: relative; }
.dm-donut::before { content: ''; position: absolute; inset: 1.5em; border-radius: 50%; background: #fff; }
.dm-donut span { position: relative; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.9em; color: #0d2a6b; }
.dm-leg { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4em .5em; font-size: 1em; color: #5b6678; }
.dm-leg i { width: .9em; height: .9em; border-radius: 50%; background: #2e8b57; margin-left: .5em; } .dm-leg .o { background: #f6a623; } .dm-leg .r { background: #e0453a; }
.dm-tag { position: absolute; right: 1em; bottom: .9em; font-size: 1em; font-weight: 700; color: #5b6678; background: rgba(255,255,255,.9); border: 1px solid #dde4ef; border-radius: 3em; padding: .25em .9em; }
