/* Pencil Academy: one look for every page of our system (17 Nov 2026, Nayera).
 * Colours and logo taken from Google Drive: Logos / Pencil Academy Logo & Visual Identity.
 *   Navy  #0A2052  the "P" of the logo
 *   Ink   #070B42  the "Pencil Academy" words
 *   Gold  #C8A85C  the pencil tip and "Where Learning Comes Alive"
 *   Deep  #09132E  the dark-mode background
 * Font: Montserrat (the logo's letters) for English, Tajawal for Arabic.
 * Every page links this file after its own styles, so changing a colour here changes it everywhere.
 */
/* fonts: each page loads Montserrat + Tajawal itself, without blocking the page (see the two lines before </head>) */

:root{
  --navy:#0A2052; --ink:#070B42; --gold:#C8A85C; --gold-deep:#A8873F; --deep:#09132E;
  --cream:#FBF7EC; --bg:#F3F5FA; --card:#fff; --edge:#E0E5F1; --muted:#5A6386;
  --green:#2E9A63; --red:#B4443A;
  --font:'Montserrat','Tajawal','Segoe UI',Tahoma,sans-serif;
}
html[dir="rtl"], [dir="rtl"]{ --font:'Tajawal','Montserrat','Segoe UI',Tahoma,sans-serif; }
body{ background:var(--bg); color:var(--ink); font-family:var(--font); }
html.pa-app h1, html.pa-app h2, html.pa-app h3{ color:var(--ink); }
h1,h2,h3{ letter-spacing:-.01em; }

/* the real logo instead of the text badge */
.logo{
  display:inline-block; font-size:0 !important; color:transparent !important;
  width:168px; height:58px; padding:0 !important; border-radius:0 !important;
  background:url('https://pencilacademy.online/placement/brand/logo.png') no-repeat left center / contain !important;
}

/* any old badge inside the logo (a "P." box, a word) is hidden: the image says it all */
.logo > *{ display:none !important; }

/* buttons: gold for the main action, navy for the second */
.btn{ background:var(--gold); color:#2b2100; font-weight:700; }
.btn.navy{ background:var(--navy); color:#fff; }
.btn.ghost{ background:#EDF0F8; color:var(--navy); }
input:focus, select:focus, textarea:focus{ border-color:var(--gold) !important; outline:none; }

/* cards and tabs */
.card{ border-color:var(--edge); box-shadow:0 1px 2px rgba(7,11,66,.04); }
.tabs button.on, .tabs button[aria-selected="true"]{ background:var(--navy); border-color:var(--navy); color:#fff; }

/* the page top: a navy band with the white logo and a gold line, like the cover */
html.pa-app .top{ background:var(--navy); margin:0 -16px 6px; padding:12px 16px; border-bottom:3px solid var(--gold); border-radius:0 0 18px 18px; }
html.pa-app .top .logo{ background-image:url('https://pencilacademy.online/placement/brand/logo-white.png') !important; height:52px; }
html.pa-app .top .out, html.pa-app .top .link{ color:#E9ECF7 !important; }

/* ---------- the page itself (18 Nov 2026, Nayera: background, gates, notifications, items) ---------- */
body{ background:var(--bg) url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 400 400%22 fill=%22none%22><path d=%22M60 400C160 330 300 250 380 0%22 stroke=%22%23C8A85C%22 stroke-width=%221.6%22 opacity=%22.55%22/><path d=%22M110 400C210 330 330 250 400 40%22 stroke=%22%230A2052%22 stroke-width=%221%22 opacity=%22.18%22/></svg>") no-repeat right -80px top 40px / 420px auto; background-attachment:fixed; }
html.pa-app h2{ font-size:1.05rem; margin:26px 0 10px; display:flex; align-items:center; gap:10px; }
html.pa-app h2::after{ content:''; flex:1; height:1px; background:linear-gradient(90deg,var(--edge),transparent); }
.hello .sub{ color:var(--muted); }

/* bell: a round white button with a navy bell */
.bell{ font-size:0 !important; width:46px; height:46px; border-radius:50% !important; border:0 !important; padding:0 !important;
  background:#fff url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230A2052%22 stroke-width=%222.2%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M6 8a6 6 0 0112 0c0 7 3 8 3 8H3s3-1 3-8%22/><path d=%22M10 20a2 2 0 004 0%22/></svg>") center / 22px no-repeat !important; box-shadow:0 2px 8px rgba(0,0,0,.18); }
.bell .badge{ font-size:12px; top:-4px; right:-4px; border:2px solid var(--navy); }

/* items that need you: white cards, a coloured dot instead of the thick edge, a gold "Open" */
.need{ border:1px solid var(--edge) !important; border-radius:16px !important; padding:14px 16px 14px 40px !important;
  position:relative; background:#fff !important; box-shadow:0 1px 3px rgba(7,11,66,.05); font-weight:600 !important; transition:transform .12s, box-shadow .12s; }
.need::before{ content:''; position:absolute; left:16px; top:50%; width:10px; height:10px; margin-top:-5px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px rgba(200,168,92,.18); }
.need.red::before{ background:var(--red); box-shadow:0 0 0 4px rgba(180,68,58,.15); }
.need.red{ background:#FFF7F5 !important; border-color:#F3D3CD !important; }
.need .go{ color:var(--gold-deep) !important; font-weight:700; }
.need:hover{ transform:translateY(-1px); box-shadow:0 4px 14px rgba(7,11,66,.08); }
html[dir=rtl] .need{ padding:14px 40px 14px 16px !important; }
html[dir=rtl] .need::before{ left:auto; right:16px; }

/* gates: rounded cards with a navy square and a gold sign, a gold line on hover */
.gates{ gap:12px !important; }
.gate{ border-radius:20px !important; padding:18px !important; min-height:132px !important; position:relative; border:1px solid var(--edge) !important;
  box-shadow:0 1px 3px rgba(7,11,66,.05); transition:transform .12s, box-shadow .12s, border-color .12s; }
.gate::before{ content:''; display:block; width:44px; height:44px; border-radius:14px; margin-bottom:6px;
  background:var(--navy) no-repeat center / 22px; background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><circle cx=%2212%22 cy=%2212%22 r=%225%22/></svg>"); }
.gate[data-g="team"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><rect x=%223%22 y=%224%22 width=%2218%22 height=%2218%22 rx=%222%22/><path d=%22M16 2v4M8 2v4M3 10h18%22/></svg>")}
.gate[data-g="seeas"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z%22/><circle cx=%2212%22 cy=%2212%22 r=%223%22/></svg>")}
.gate[data-g="tpay"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><rect x=%222%22 y=%226%22 width=%2220%22 height=%2213%22 rx=%222%22/><path d=%22M16 12h2M2 10h20%22/></svg>")}
.gate[data-g="actions"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z%22/><path d=%22M12 8v5M12 16h.01%22/></svg>")}
.gate[data-g="myacts"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z%22/><path d=%22M12 8v5M12 16h.01%22/></svg>")}
.gate[data-g="visits"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><rect x=%225%22 y=%224%22 width=%2214%22 height=%2218%22 rx=%222%22/><path d=%22M9 2h6v4H9zM9 14l2 2 4-4%22/></svg>")}
.gate[data-g="alerts"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M6 8a6 6 0 0112 0c0 7 3 8 3 8H3s3-1 3-8%22/><path d=%22M10 20a2 2 0 004 0%22/></svg>")}
.gate[data-g="ivs"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M21 12a8 8 0 01-11.6 7.1L3 21l1.9-6.4A8 8 0 1121 12z%22/></svg>")}
.gate[data-g="hiring"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><circle cx=%229%22 cy=%228%22 r=%224%22/><path d=%22M2 21c0-4 3-6 7-6s7 2 7 6M19 8v6M16 11h6%22/></svg>")}
.gate[data-g="req"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M4 4h16v12H8l-4 4z%22/><path d=%22M8 9h8M8 12h5%22/></svg>")}
.gate[data-g="cs"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M4 14v-2a8 8 0 0116 0v2%22/><rect x=%222%22 y=%2214%22 width=%225%22 height=%226%22 rx=%221.5%22/><rect x=%2217%22 y=%2214%22 width=%225%22 height=%226%22 rx=%221.5%22/></svg>")}
.gate[data-g="sales"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M3 17l6-6 4 4 8-8%22/><path d=%22M15 7h6v6%22/></svg>")}
.gate[data-g="acc"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><rect x=%222%22 y=%226%22 width=%2220%22 height=%2212%22 rx=%222%22/><circle cx=%2212%22 cy=%2212%22 r=%223%22/></svg>")}
.gate[data-g="mine"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M2 5h7a3 3 0 013 3v13a2 2 0 00-2-2H2zM22 5h-7a3 3 0 00-3 3v13a2 2 0 012-2h8z%22/></svg>")}
.gate[data-g="perf"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M12 2l3 6.5 7 .9-5.1 4.8 1.3 7-6.2-3.4-6.2 3.4 1.3-7L2 9.4l7-.9z%22/></svg>")}
.gate[data-g="materials"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M3 6a2 2 0 012-2h4l2 2h8a2 2 0 012 2v10a2 2 0 01-2 2H5a2 2 0 01-2-2z%22/></svg>")}
.gate[data-g="teachers"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><circle cx=%229%22 cy=%228%22 r=%224%22/><path d=%22M2 21c0-4 3-6 7-6s7 2 7 6%22/><circle cx=%2217%22 cy=%227%22 r=%223%22/><path d=%22M22 19c0-3-2-5-5-5%22/></svg>")}
.gate[data-g="tperf"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><path d=%22M3 21h18%22/><rect x=%225%22 y=%2211%22 width=%223%22 height=%227%22 rx=%221%22/><rect x=%2210.5%22 y=%226%22 width=%223%22 height=%2212%22 rx=%221%22/><rect x=%2216%22 y=%229%22 width=%223%22 height=%229%22 rx=%221%22/></svg>")}
.gate[data-g="shifts"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><circle cx=%2212%22 cy=%2212%22 r=%229%22/><path d=%22M12 7v5l3 2%22/></svg>")}
.gate[data-g="mbox"]::before{background-image:url("data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23C8A85C%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22><rect x=%223%22 y=%2211%22 width=%2218%22 height=%2211%22 rx=%222%22/><path d=%22M7 11V7a5 5 0 0110 0v4%22/></svg>")}
.gate:hover{ transform:translateY(-2px); box-shadow:0 8px 20px rgba(7,11,66,.10); border-color:var(--gold) !important; }
.gate .gt{ font-size:17px !important; font-weight:700 !important; color:var(--ink); }
.gate .gd{ font-size:13.5px !important; }
.gate .badge{ background:var(--gold); color:var(--ink); }
.gate.soon{ opacity:1 !important; background:transparent !important; border:1.5px dashed #CBD2E6 !important; box-shadow:none; }
.gate.soon::before{ background-color:#DDE2EF; }
.gate.soon .gt, .gate.soon .gd{ color:#8A93B2 !important; }

/* notifications */
.note{ border-radius:16px !important; padding:14px !important; box-shadow:0 1px 3px rgba(7,11,66,.05); }
.note.new{ background:var(--cream) !important; border-color:#EBDDB5 !important; }
.note .dot{ background:var(--gold) !important; }
.note .dot.off{ background:transparent !important; }
.note .m{ color:var(--muted); font-size:13px; }

/* other cards */
.cls, .row, .thx, .clock, .empty.small{ border-radius:16px !important; box-shadow:0 1px 3px rgba(7,11,66,.05); }
.cls{ border-left:4px solid var(--navy) !important; }
.msg{ background:linear-gradient(135deg,var(--navy),var(--deep)) !important; border-radius:18px !important; border-bottom:3px solid var(--gold); }
.foot .link{ color:var(--navy); font-weight:600; }

/* on a phone: each gate is one compact row, the sign on the left */
@media (max-width:600px){
  .gates{ grid-template-columns:1fr !important; gap:10px !important; }
  .gate{ display:grid !important; grid-template-columns:44px 1fr; column-gap:14px; row-gap:2px; align-items:center; min-height:0 !important; padding:14px 16px !important; }
  .gate::before{ grid-row:1 / span 2; margin:0; }
  .gate .gt, .gate .gd{ grid-column:2; }
}
