@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');
:root{--fyp-navy:#0b243f;--fyp-blue:#123b63;--fyp-sky:#e9f2ff;--fyp-gold:#b8872d;--fyp-green:#0f7a4f;--fyp-red:#b42318;--fyp-orange:#c05621;--fyp-ink:#172033;--fyp-muted:#667085;--fyp-line:#e6ebf2;--fyp-bg:#f6f8fb;--fyp-card:#fff;--fyp-shadow:0 22px 60px rgba(11,36,63,.10);--fyp-soft:0 10px 28px rgba(11,36,63,.08);--fyp-radius:22px}
.fypms-wrap{font-family:'Tajawal',Arial,sans-serif;color:var(--fyp-ink);line-height:1.8;max-width:1240px;margin:28px auto;padding:0 16px;direction:rtl;text-align:right}.fypms-wrap *{box-sizing:border-box}.fypms-wrap h1,.fypms-wrap h2,.fypms-wrap h3{color:var(--fyp-navy);font-weight:900;letter-spacing:-.02em}.fypms-wrap h2{font-size:34px;margin:0 0 10px}.fypms-wrap h3{font-size:25px}.fypms-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border-radius:999px;background:linear-gradient(135deg,#eef6ff,#fff7e7);color:var(--fyp-blue);font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.fypms-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px;padding:30px;border:1px solid var(--fyp-line);border-radius:30px;background:radial-gradient(circle at top right,rgba(18,59,99,.16),transparent 38%),linear-gradient(135deg,#fff 0%,#f8fbff 55%,#fff8ec 100%);box-shadow:var(--fyp-shadow)}.fypms-hero:before{content:"";position:absolute;inset:auto -80px -130px auto;width:280px;height:280px;border-radius:50%;background:rgba(184,135,45,.12)}.fypms-hero p{margin:0;color:var(--fyp-muted);font-weight:600}.fypms-user-chip{position:relative;z-index:1;white-space:nowrap;background:#fff;border:1px solid var(--fyp-line);box-shadow:var(--fyp-soft);padding:12px 18px;border-radius:999px;color:var(--fyp-blue);font-weight:900}.fypms-card{position:relative;background:rgba(255,255,255,.96);border:1px solid var(--fyp-line);border-radius:var(--fyp-radius);padding:24px;margin:20px 0;box-shadow:var(--fyp-soft);backdrop-filter:blur(10px)}.fypms-card:hover{box-shadow:var(--fyp-shadow)}.fypms-section-head{border-bottom:1px solid var(--fyp-line);padding-bottom:16px;margin-bottom:20px}.fypms-section-head p{margin:4px 0 0;color:var(--fyp-muted)}.fypms-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.fypms-stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:20px 0}.fypms-stat{border:1px solid var(--fyp-line);border-radius:20px;background:linear-gradient(145deg,#fff,#f8fbff);padding:18px;box-shadow:var(--fyp-soft)}.fypms-stat span{display:block;color:var(--fyp-muted);font-weight:800}.fypms-stat strong{display:block;color:var(--fyp-navy);font-size:32px;line-height:1.1;margin-top:8px}.fypms-form label{display:block;font-weight:800;margin:14px 0 7px;color:var(--fyp-navy)}.fypms-form input,.fypms-form select,.fypms-form textarea{width:100%;box-sizing:border-box;border:1px solid #d7e0ea;border-radius:15px;padding:13px 15px;background:#fff;font-family:'Tajawal',Arial,sans-serif;font-size:15px;transition:.18s ease;box-shadow:inset 0 1px 0 rgba(16,24,40,.02)}.fypms-form input:focus,.fypms-form select:focus,.fypms-form textarea:focus{outline:0;border-color:#5b8cc0;box-shadow:0 0 0 4px rgba(18,59,99,.10)}.fypms-form textarea{min-height:110px;resize:vertical}.fypms-btn,.fypms-btn-secondary,.fypms-btn-danger,.fypms-wrap .button,.fypms-wrap .button-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;padding:11px 18px;text-decoration:none!important;cursor:pointer;font-weight:900;font-family:'Tajawal',Arial,sans-serif;transition:.18s ease;line-height:1.4}.fypms-btn,.fypms-wrap .button-primary{background:linear-gradient(135deg,var(--fyp-blue),#0b2744);color:#fff!important;box-shadow:0 10px 22px rgba(18,59,99,.22)}.fypms-btn:hover,.fypms-wrap .button-primary:hover{transform:translateY(-1px);box-shadow:0 16px 28px rgba(18,59,99,.26);color:#fff!important}.fypms-btn-secondary,.fypms-wrap .button{background:#f2f6fb;color:var(--fyp-navy)!important;border:1px solid #dfe7f1}.fypms-btn-secondary:hover,.fypms-wrap .button:hover{background:#e7eff9;transform:translateY(-1px)}.fypms-btn-danger{background:linear-gradient(135deg,#d92d20,#9b1c14);color:#fff!important;box-shadow:0 10px 22px rgba(180,35,24,.22)}.fypms-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.fypms-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;margin:18px 0;border:1px solid var(--fyp-line);border-radius:20px;overflow:hidden;box-shadow:var(--fyp-soft)}.fypms-table th{background:linear-gradient(180deg,#f8fbff,#eef3f9);color:var(--fyp-navy);font-weight:900;font-size:16px}.fypms-table th,.fypms-table td{border-bottom:1px solid var(--fyp-line);padding:14px 16px;text-align:right;vertical-align:middle}.fypms-table tr:last-child td{border-bottom:0}.fypms-table tbody tr{transition:.16s ease}.fypms-table tbody tr:hover{background:#fbfdff}.fypms-table [dir=ltr],.fypms-abstract[dir=ltr]{text-align:left;direction:ltr}.fypms-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 13px;font-weight:900;font-size:13px;white-space:normal;line-height:1.55}.fypms-badge:before{content:"";width:8px;height:8px;border-radius:999px;background:currentColor}.fypms-status-pending_confirmation,.fypms-status-under_review{background:#fff7d6;color:#946200}.fypms-status-final_submitted,.fypms-status-resubmitted_to_committee,.fypms-status-proposed_allocation{background:#e4f0ff;color:#1c4e80}.fypms-status-approved,.fypms-status-assigned_to_student,.fypms-status-allocated{background:#dcf8ea;color:#0f7a4f}.fypms-status-needs_modification{background:#fff0df;color:#b54708}.fypms-status-rejected,.fypms-status-manual_review_required{background:#ffe4e2;color:#b42318}.fypms-notice{border-radius:18px;padding:15px 18px;margin:16px 0;border:1px solid;font-weight:800;box-shadow:var(--fyp-soft)}.fypms-notice-success{background:#ecfdf5;border-color:#a7f3d0;color:#067647}.fypms-notice-warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.fypms-notice-error{background:#fef3f2;border-color:#fecaca;color:#b42318}.fypms-collapse{display:none;padding:16px;background:#f8fbff;border:1px solid var(--fyp-line);border-radius:16px;margin-top:10px;box-shadow:inset 0 1px 0 #fff}.fypms-sortable{list-style:none;margin:18px 0;padding:0}.fypms-sortable li{display:flex;gap:14px;align-items:center;border:1px solid var(--fyp-line);border-radius:18px;padding:14px 16px;margin-bottom:11px;background:#fff;cursor:grab;box-shadow:var(--fyp-soft);transition:.16s ease}.fypms-sortable li:hover{transform:translateY(-1px);border-color:#c7d7e9}.fypms-sortable small{margin-right:auto;color:var(--fyp-muted);font-weight:700}.fypms-drag{font-size:19px;color:#8aa1ba}.fypms-help{background:#f8fbff;border-right:5px solid var(--fyp-blue);padding:13px 15px;border-radius:14px;color:var(--fyp-blue);font-weight:800}.fypms-danger-zone{border-color:#ffd1cc;background:linear-gradient(145deg,#fff,#fff8f7)}.fypms-safe-message{background:#f8fbff;border-right:5px solid var(--fyp-blue)}.fypms-issue-fields{display:none}.fypms-abstract{background:#f8fbff;padding:16px;border-radius:16px;border:1px solid var(--fyp-line);color:#344054}.fypms-decision-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 22px}.fypms-decision-card{position:relative;display:flex!important;flex-direction:column;gap:8px;margin:0!important;padding:18px!important;border:1px solid var(--fyp-line);border-radius:20px;background:#fff;box-shadow:var(--fyp-soft);cursor:pointer;min-height:165px;transition:.18s ease}.fypms-decision-card input{position:absolute;opacity:0;pointer-events:none}.fypms-decision-card strong{font-size:17px;color:var(--fyp-navy)}.fypms-decision-card small{color:var(--fyp-muted);font-weight:700;line-height:1.6}.fypms-decision-icon{width:38px;height:38px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-weight:900;background:#eef3f9;color:var(--fyp-blue)}.fypms-decision-card:has(input:checked){transform:translateY(-2px);border-width:2px}.fypms-decision-approve:has(input:checked){border-color:#12b76a;background:#f0fff7}.fypms-decision-modify:has(input:checked){border-color:#f79009;background:#fff8ed}.fypms-decision-reject:has(input:checked){border-color:#f04438;background:#fff5f5}.fypms-comment-box textarea{min-height:150px}.fypms-ai-helper{display:flex;gap:15px;padding:18px;border:1px solid #d7e7fb;border-radius:22px;background:radial-gradient(circle at top right,rgba(18,59,99,.10),transparent 42%),linear-gradient(135deg,#f8fbff,#fff);margin:12px 0 22px}.fypms-helper-avatar{flex:0 0 48px;width:48px;height:48px;border-radius:18px;display:flex;align-items:center;justify-content:center;background:#e9f2ff;font-size:22px;box-shadow:inset 0 1px 0 #fff}.fypms-helper-content h4{margin:0;color:var(--fyp-navy);font-size:18px}.fypms-helper-content p{margin:4px 0 12px;color:var(--fyp-muted);font-weight:700}.fypms-suggestion-cloud{display:flex;flex-wrap:wrap;gap:9px}.fypms-suggestion,.fypms-clear-comment{border:1px solid #cfe0f4;background:#fff;border-radius:999px;padding:8px 12px;font-family:'Tajawal';font-weight:800;color:var(--fyp-blue);cursor:pointer;transition:.16s ease}.fypms-suggestion:hover{background:#e9f2ff;transform:translateY(-1px)}.fypms-clear-comment{margin-top:12px;color:#b42318;border-color:#ffd1cc}.fypms-check{font-weight:700!important;display:flex!important;gap:10px;align-items:flex-start}.fypms-check input{width:auto!important;margin-top:8px}.fypms-print-sheet{background:#fff;color:#000;padding:18mm 16mm;border:1px solid #eef1f5;margin:20px auto;max-width:210mm;min-height:282mm;box-shadow:0 12px 40px rgba(0,0,0,.08);font-family:'Tajawal',Arial,sans-serif;direction:rtl;text-align:right}.fypms-print-sheet h2{font-size:24px;text-align:center;margin:0 0 6px;color:#0b243f}.fypms-print-sheet h3{text-align:center;margin:0 0 18px;color:#0b243f;font-size:16px}.fypms-print-sheet .fypms-table{box-shadow:none;border-radius:0;margin:12px 0}.fypms-print-sheet .fypms-table th,.fypms-print-sheet .fypms-table td{padding:9px 10px;border:1px solid #d9e0ea}.fypms-signatures{display:flex;gap:24px;justify-content:space-between;margin-top:34px;font-weight:800}.fypms-signatures p{white-space:nowrap}.fypms-print-meta th{width:18%}.fypms-print-meta td{width:32%}@media(max-width:900px){.fypms-grid-2,.fypms-stat-grid,.fypms-decision-grid{grid-template-columns:1fr}.fypms-hero{flex-direction:column;align-items:flex-start}.fypms-table{display:block;overflow-x:auto}.fypms-signatures{flex-direction:column;gap:8px}}@page{size:A4 portrait;margin:12mm}@media print{html,body{background:#fff!important;margin:0!important;padding:0!important}body *{visibility:hidden!important}.fypms-print-sheet,.fypms-print-sheet *{visibility:visible!important}.fypms-print-sheet{position:absolute!important;right:0!important;left:0!important;top:0!important;margin:0 auto!important;width:186mm!important;min-height:auto!important;border:0!important;box-shadow:none!important;padding:0!important}.fypms-print-sheet h2{margin-top:0!important}.fypms-no-print,.fypms-no-print *,.fypms-wrap>h2,.fypms-notice{display:none!important}.fypms-print-sheet .fypms-table{page-break-inside:avoid}.fypms-signatures{page-break-inside:avoid;margin-top:22mm!important}}

/* ===== V3 Academic App Shell Upgrade ===== */
body:has(.fypms-wrap){background:#edf3f9!important;}
body:has(.fypms-wrap) .site,body:has(.fypms-wrap) .site-content,body:has(.fypms-wrap) .entry-content{overflow:visible!important;}
.fypms-wrap.fypms-app-mode,.fypms-wrap{position:relative;isolation:isolate;max-width:1320px;margin:34px auto!important;padding:30px!important;border-radius:34px;background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(247,251,255,.94));box-shadow:0 30px 90px rgba(11,36,63,.13);border:1px solid rgba(214,226,240,.92);overflow:hidden;}
.fypms-wrap.fypms-app-mode:before,.fypms-wrap:before{content:"";position:absolute;z-index:-2;inset:0;background:radial-gradient(circle at 94% 5%,rgba(18,59,99,.16),transparent 30%),radial-gradient(circle at 5% 10%,rgba(184,135,45,.11),transparent 28%),linear-gradient(180deg,#f8fbff,#eef4fa);}
.fypms-wrap.fypms-app-mode:after,.fypms-wrap:after{content:"";position:absolute;z-index:-1;inset:14px;border-radius:28px;border:1px solid rgba(255,255,255,.78);pointer-events:none;}
.fypms-hero{min-height:164px;border-radius:30px;padding:34px 36px!important;border:1px solid rgba(221,232,244,.95);background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(241,247,255,.88)),radial-gradient(circle at 15% 25%,rgba(184,135,45,.16),transparent 36%);box-shadow:0 24px 60px rgba(11,36,63,.11);}
.fypms-hero-compact{min-height:128px;}
.fypms-hero h2{font-size:36px;line-height:1.25;margin:8px 0 8px!important;}
.fypms-hero p{font-size:16px;max-width:760px;}
.fypms-hero-side{display:flex;align-items:center;gap:14px;position:relative;z-index:2;}
.fypms-hero-mark{width:78px;height:78px;border-radius:26px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0b243f,#174d7d);color:#fff;font-size:25px;font-weight:900;letter-spacing:.03em;box-shadow:0 22px 42px rgba(11,36,63,.24),inset 0 1px 0 rgba(255,255,255,.25);}
.fypms-kicker{background:linear-gradient(135deg,#eaf3ff,#fff4df)!important;border:1px solid rgba(215,231,251,.95);box-shadow:0 8px 18px rgba(11,36,63,.06);}
.fypms-card{border-radius:26px!important;background:rgba(255,255,255,.96)!important;box-shadow:0 20px 48px rgba(11,36,63,.09)!important;border:1px solid rgba(217,229,242,.92)!important;}
.fypms-elevated-form{padding:30px!important;}
.fypms-section-head{position:relative;padding:0 0 18px 0!important;border-bottom:1px solid rgba(224,234,245,.9)!important;}
.fypms-section-head:after{content:"";position:absolute;right:0;bottom:-1px;width:128px;height:3px;border-radius:999px;background:linear-gradient(90deg,#b8872d,#123b63);}
.fypms-form label{font-size:15px;}
.fypms-form input,.fypms-form select,.fypms-form textarea{border-radius:18px!important;border:1px solid #d5e1ee!important;background:linear-gradient(180deg,#fff,#fbfdff)!important;min-height:48px;}
.fypms-form input:hover,.fypms-form select:hover,.fypms-form textarea:hover{border-color:#b9ccdf!important;}
.fypms-table{border-radius:24px!important;border:1px solid rgba(216,228,241,.95)!important;background:rgba(255,255,255,.98)!important;box-shadow:0 18px 42px rgba(11,36,63,.08)!important;}
.fypms-table th{font-size:16px!important;background:linear-gradient(180deg,#f7fbff,#edf4fb)!important;}
.fypms-table td{font-size:15px;}
.fypms-table tbody tr:hover{background:#f5faff!important;box-shadow:inset 4px 0 0 #b8872d;}
.fypms-btn,.fypms-btn-secondary,.fypms-wrap .button,.fypms-wrap .button-primary{border-radius:16px!important;min-height:42px;position:relative;overflow:hidden;}
.fypms-wrap .button,.fypms-btn-secondary{background:linear-gradient(135deg,#f8fbff,#eef5fc)!important;border:1px solid #dce8f4!important;}
.fypms-badge{box-shadow:inset 0 0 0 1px rgba(255,255,255,.56),0 8px 18px rgba(11,36,63,.06);}
.fypms-stat{position:relative;overflow:hidden;border-radius:24px!important;min-height:124px;background:linear-gradient(145deg,#fff,#f2f7fd)!important;}
.fypms-stat:after{content:"";position:absolute;left:-26px;bottom:-34px;width:96px;height:96px;border-radius:50%;background:rgba(18,59,99,.06);}
.fypms-decision-card{border-radius:24px!important;min-height:188px!important;}
.fypms-decision-card:hover{transform:translateY(-3px);box-shadow:0 22px 48px rgba(11,36,63,.12)!important;}
.fypms-ai-helper{position:relative;border-radius:26px!important;box-shadow:0 18px 42px rgba(11,36,63,.08);}
.fypms-ai-helper:before{content:"Assistant";position:absolute;left:18px;top:14px;color:#9aaec2;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;}
.fypms-suggestion{background:linear-gradient(135deg,#fff,#f5faff)!important;}
.fypms-suggestion:hover{background:linear-gradient(135deg,#eaf3ff,#fff7e7)!important;border-color:#b8872d!important;}
.fypms-print-sheet{padding:13mm 15mm!important;min-height:270mm!important;border-radius:0!important;}
.fypms-print-sheet h2{margin-top:0!important;}
.fypms-print-meta th,.fypms-print-meta td{font-size:14px;}
.fypms-fade-in{animation:fypmsFadeUp .42s ease both;}
@keyframes fypmsFadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.fypms-wrap.fypms-app-mode,.fypms-wrap{margin:12px auto!important;padding:16px!important;border-radius:22px}.fypms-hero{padding:24px!important;border-radius:22px}.fypms-hero h2{font-size:28px}.fypms-hero-mark{width:58px;height:58px;border-radius:20px;font-size:18px}.fypms-grid-2{gap:10px}.fypms-card{padding:18px!important}}
@media print{body:has(.fypms-wrap){background:#fff!important}.fypms-wrap{box-shadow:none!important;background:#fff!important;border:0!important;margin:0!important;padding:0!important}.fypms-wrap:before,.fypms-wrap:after{display:none!important}.fypms-print-sheet{width:180mm!important;max-width:180mm!important;padding:0!important;}}
.fypms-ripple{position:absolute;width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.42);transform:translate(-50%,-50%);animation:fypmsRipple .52s ease-out;pointer-events:none}.fypms-btn-secondary .fypms-ripple,.fypms-wrap .button .fypms-ripple{background:rgba(18,59,99,.16)}@keyframes fypmsRipple{to{width:220px;height:220px;opacity:0}}

/* ===== V4 Modern Academic Interface ===== */
:root{--fyp-v4-bg:#f3f7fb;--fyp-v4-panel:#ffffff;--fyp-v4-primary:#0e3558;--fyp-v4-accent:#2f80ed;--fyp-v4-gold:#d5a044;--fyp-v4-shadow:0 18px 44px rgba(15,45,75,.09);--fyp-v4-border:rgba(207,221,235,.82)}
body:has(.fypms-wrap){background:linear-gradient(180deg,#eef5fb 0%,#f7fafc 44%,#fff 100%)!important;}
.fypms-wrap.fypms-app-mode,.fypms-wrap{box-shadow:none!important;border:0!important;background:transparent!important;padding:18px!important;max-width:1380px!important;overflow:visible!important;}
.fypms-wrap.fypms-app-mode:before,.fypms-wrap.fypms-app-mode:after,.fypms-wrap:before,.fypms-wrap:after{display:none!important;}
.fypms-hero{min-height:auto!important;border-radius:28px!important;padding:28px 30px!important;border:1px solid var(--fyp-v4-border)!important;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(247,251,255,.92))!important;box-shadow:var(--fyp-v4-shadow)!important;overflow:hidden!important;}
.fypms-hero:before{content:""!important;position:absolute!important;inset:auto auto -42px -42px!important;width:168px!important;height:168px!important;border-radius:44px!important;background:linear-gradient(135deg,rgba(47,128,237,.10),rgba(213,160,68,.12))!important;transform:rotate(12deg)!important;}
.fypms-hero:after{content:"";position:absolute;right:22px;top:22px;width:56px;height:4px;border-radius:99px;background:linear-gradient(90deg,var(--fyp-v4-accent),var(--fyp-v4-gold));opacity:.85}
.fypms-hero h2{font-size:34px!important;letter-spacing:-.035em!important;margin:8px 0!important;line-height:1.25!important;color:#0b243f!important;}
.fypms-hero p{font-size:15px!important;color:#5d6b7e!important;font-weight:700!important;}
.fypms-hero-mark{width:58px!important;height:58px!important;border-radius:18px!important;font-size:18px!important;box-shadow:0 14px 28px rgba(11,36,63,.18)!important;background:linear-gradient(135deg,#0d2f50,#155b91)!important;}
.fypms-kicker{padding:5px 10px!important;font-size:11px!important;letter-spacing:.11em!important;background:#f5f9ff!important;border:1px solid #dbe9f8!important;box-shadow:none!important;color:#16466f!important;}
.fypms-card{border-radius:24px!important;border:1px solid var(--fyp-v4-border)!important;box-shadow:var(--fyp-v4-shadow)!important;background:rgba(255,255,255,.96)!important;}
.fypms-card:hover{transform:translateY(-1px);transition:.18s ease;}
.fypms-section-head:after{width:72px!important;height:2px!important;background:linear-gradient(90deg,var(--fyp-v4-accent),var(--fyp-v4-gold))!important;}
.fypms-form input,.fypms-form select,.fypms-form textarea{box-shadow:0 1px 0 rgba(16,24,40,.02)!important;background:#fff!important;border:1px solid #d9e4ee!important;border-radius:16px!important;}
.fypms-form input[dir="ltr"],.fypms-form textarea[dir="ltr"]{direction:ltr!important;text-align:left!important;font-family:Arial,'Tajawal',sans-serif!important;}
.fypms-form textarea[name="abstract_en"],.fypms-justify,.fypms-abstract{text-align:justify!important;text-justify:inter-word;line-height:2!important;}
.fypms-table{border-radius:22px!important;box-shadow:0 14px 34px rgba(15,45,75,.07)!important;}
.fypms-table th{background:#f6f9fc!important;color:#0b243f!important;border-bottom:1px solid #dfe8f2!important;}
.fypms-table tbody tr:hover{box-shadow:inset -4px 0 0 var(--fyp-v4-accent)!important;background:#f7fbff!important;}
.fypms-btn,.fypms-wrap .button-primary{background:linear-gradient(135deg,#0f3f69,#1767a3)!important;box-shadow:0 12px 24px rgba(23,103,163,.22)!important;}
.fypms-btn-secondary,.fypms-wrap .button{border-radius:14px!important;background:#f7fafc!important;border:1px solid #d8e5f0!important;box-shadow:0 6px 14px rgba(15,45,75,.05)!important;}
.fypms-modern-tabs{padding:8px!important;border:1px solid #dce8f4;background:rgba(255,255,255,.82);border-radius:20px;box-shadow:0 10px 24px rgba(15,45,75,.06);width:max-content;max-width:100%;}
.fypms-modern-tabs a{background:transparent!important;border:0!important;box-shadow:none!important;}
.fypms-decision-card{background:linear-gradient(180deg,#fff,#fbfdff)!important;border:1px solid #d9e5ef!important;box-shadow:0 10px 26px rgba(15,45,75,.07)!important;}
.fypms-ai-helper{background:linear-gradient(135deg,#f7fbff,#fff)!important;border:1px solid #d6e7f8!important;box-shadow:0 14px 34px rgba(47,128,237,.08)!important;}
.fypms-helper-avatar{background:linear-gradient(135deg,#e9f3ff,#fff8ea)!important;}
.fypms-suggestion{border-radius:14px!important;background:#fff!important;border:1px solid #d7e6f7!important;}
.fypms-history{margin-top:22px;padding:18px;border-radius:20px;background:#f8fbff;border:1px solid #dce8f4;}
.fypms-history h4{margin-top:0;color:#0b243f;font-weight:900;}
.fypms-history-list{margin-top:12px;padding-top:12px;border-top:1px solid #e2ebf5;}
.fypms-history-item{padding:12px 14px;margin-top:10px;border:1px solid #e2ebf5;border-radius:16px;background:#fff;}
.fypms-history-date{display:inline-block;margin-left:8px;color:#667085;font-size:12px;font-weight:800;}
.fypms-attention-pulse{position:relative;border-radius:14px!important;padding:8px 10px!important;background:#fff8e6!important;box-shadow:0 0 0 2px rgba(213,160,68,.28)!important;animation:fypmsAttention 1.35s ease-in-out infinite alternate;}
@keyframes fypmsAttention{from{box-shadow:0 0 0 2px rgba(213,160,68,.20),0 0 0 rgba(213,160,68,0)}to{box-shadow:0 0 0 2px rgba(213,160,68,.50),0 0 22px rgba(213,160,68,.20)}}
.fypms-badge{font-size:12px!important;padding:6px 11px!important;}
@media(max-width:900px){.fypms-decision-grid,.fypms-grid-2,.fypms-stat-grid{grid-template-columns:1fr!important}.fypms-modern-tabs{width:100%;}.fypms-hero{display:block!important}.fypms-hero-side{margin-top:16px}}

/* ===== V5 Ultra-Clean Academic Polish ===== */
:root{
  --fyp-v5-ink:#102033;
  --fyp-v5-muted:#66758a;
  --fyp-v5-blue:#0f4c81;
  --fyp-v5-blue2:#2b7bbb;
  --fyp-v5-line:#e2eaf3;
  --fyp-v5-surface:rgba(255,255,255,.88);
  --fyp-v5-shadow:0 16px 46px rgba(21,49,80,.075);
}
body:has(.fypms-wrap){background:radial-gradient(circle at 10% 0%,rgba(47,128,237,.08),transparent 30%),linear-gradient(180deg,#f7fbff 0%,#f4f7fb 52%,#ffffff 100%)!important;}
.fypms-wrap.fypms-app-mode,.fypms-wrap{padding:10px 18px 40px!important;}
.fypms-hero{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:22px!important;margin:14px 0 22px!important;padding:22px 26px!important;border-radius:24px!important;background:rgba(255,255,255,.84)!important;border:1px solid rgba(217,229,239,.95)!important;box-shadow:0 12px 34px rgba(21,49,80,.07)!important;backdrop-filter:blur(14px)!important;}
.fypms-hero:before{display:none!important}.fypms-hero:after{right:26px!important;top:auto!important;bottom:0!important;width:120px!important;height:3px!important;opacity:.72!important;}
.fypms-hero h2{font-size:31px!important;line-height:1.28!important;margin:7px 0 5px!important;color:var(--fyp-v5-ink)!important;}
.fypms-hero p{font-size:14.5px!important;color:var(--fyp-v5-muted)!important;max-width:760px!important;}
.fypms-hero-mark{width:52px!important;height:52px!important;border-radius:16px!important;background:linear-gradient(135deg,#0d365e,#1d6ea8)!important;box-shadow:0 12px 26px rgba(15,76,129,.20)!important;font-size:16px!important;}
.fypms-kicker{border-radius:999px!important;background:#f8fbff!important;border:1px solid #dbe8f5!important;color:#174a75!important;}
.fypms-card{border-radius:22px!important;box-shadow:var(--fyp-v5-shadow)!important;border-color:var(--fyp-v5-line)!important;background:var(--fyp-v5-surface)!important;}
.fypms-card:hover{transform:none!important;box-shadow:0 18px 52px rgba(21,49,80,.095)!important;}
.fypms-section-head{border-bottom:0!important;margin-bottom:18px!important;padding-bottom:8px!important;}
.fypms-section-head:after{content:"";display:block;margin-top:12px;width:76px;height:3px;border-radius:99px;background:linear-gradient(90deg,var(--fyp-v5-blue2),#d5a044);}
.fypms-stat{border-radius:18px!important;background:rgba(255,255,255,.88)!important;border:1px solid var(--fyp-v5-line)!important;box-shadow:0 10px 26px rgba(21,49,80,.055)!important;}
.fypms-stat strong{font-size:29px!important;color:var(--fyp-v5-blue)!important;}
.fypms-table{border-radius:20px!important;border:1px solid var(--fyp-v5-line)!important;box-shadow:0 12px 34px rgba(21,49,80,.055)!important;}
.fypms-table th{background:#f8fbfe!important;font-size:15px!important;}
.fypms-table th,.fypms-table td{padding:13px 15px!important;}
.fypms-table tbody tr:hover{background:#f8fbff!important;box-shadow:inset -3px 0 0 #2b7bbb!important;}
.fypms-form input,.fypms-form select,.fypms-form textarea{border-radius:14px!important;border-color:#d9e4ee!important;background:rgba(255,255,255,.98)!important;}
.fypms-form input:focus,.fypms-form select:focus,.fypms-form textarea:focus{border-color:#2b7bbb!important;box-shadow:0 0 0 4px rgba(43,123,187,.11)!important;}
.fypms-btn,.fypms-wrap .button-primary{border-radius:13px!important;background:linear-gradient(135deg,#0f4c81,#2b7bbb)!important;box-shadow:0 10px 22px rgba(43,123,187,.20)!important;}
.fypms-btn-secondary,.fypms-wrap .button{border-radius:13px!important;background:#f8fbfe!important;border:1px solid #dbe7f2!important;color:#12324f!important;}
.fypms-tabs{gap:8px!important}.fypms-modern-tabs{border-radius:16px!important;padding:6px!important;background:rgba(255,255,255,.72)!important;}
.fypms-decision-grid{gap:12px!important;}
.fypms-decision-card{border-radius:18px!important;min-height:148px!important;background:#fff!important;box-shadow:0 10px 25px rgba(21,49,80,.055)!important;outline:0 solid transparent!important;}
.fypms-decision-card.is-selected{transform:translateY(-2px)!important;border-width:2px!important;box-shadow:0 15px 34px rgba(21,49,80,.10)!important;}
.fypms-decision-approve.is-selected{border-color:#12b76a!important;background:linear-gradient(180deg,#f0fff7,#ffffff)!important;outline:3px solid rgba(18,183,106,.14)!important;}
.fypms-decision-modify.is-selected{border-color:#f79009!important;background:linear-gradient(180deg,#fff8ed,#ffffff)!important;outline:3px solid rgba(247,144,9,.16)!important;}
.fypms-decision-reject.is-selected{border-color:#f04438!important;background:linear-gradient(180deg,#fff5f5,#ffffff)!important;outline:3px solid rgba(240,68,56,.14)!important;}
.fypms-decision-approve.is-selected .fypms-decision-icon{background:#dcfce7!important;color:#067647!important;}
.fypms-decision-modify.is-selected .fypms-decision-icon{background:#ffedd5!important;color:#b54708!important;}
.fypms-decision-reject.is-selected .fypms-decision-icon{background:#fee4e2!important;color:#b42318!important;}
.fypms-history{margin-top:24px!important;border-radius:18px!important;background:rgba(248,251,255,.92)!important;}
.fypms-ai-helper{border-radius:18px!important;box-shadow:0 12px 28px rgba(43,123,187,.065)!important;}
.fypms-suggestion{border-radius:12px!important;}
.fypms-fade-in{animation:fypmsFadeUp .32s ease both!important;}

/* V6 polish */
.fypms-ltr-line{direction:ltr!important;text-align:left!important;unicode-bidi:embed;background:#f8fbff;border:1px solid var(--fyp-line);border-radius:14px;padding:12px 14px;margin:14px 0;font-weight:700}
.fypms-auto-submit-timer{display:block;margin-top:10px;padding:8px 10px;border-radius:12px;background:#fff8e6;border:1px solid #fde5a7;color:#92400e;font-size:12px;font-weight:900;line-height:1.5}.fypms-auto-submit-timer strong{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;color:#7a4b00}
.fypms-committee-stats .fypms-stat{border-right:4px solid #1d6ea8}.fypms-committee-stats .fypms-stat:nth-child(2){border-right-color:#12b76a}.fypms-committee-stats .fypms-stat:nth-child(3){border-right-color:#f04438}.fypms-committee-stats .fypms-stat:nth-child(4){border-right-color:#f79009}
.fypms-decision-card.is-selected,.fypms-decision-card:has(input:checked){transform:translateY(-2px)!important;border-width:2px!important;box-shadow:0 18px 38px rgba(21,49,80,.12)!important}.fypms-decision-approve.is-selected,.fypms-decision-approve:has(input:checked){border-color:#12b76a!important;background:linear-gradient(180deg,#ecfdf5,#ffffff)!important;outline:3px solid rgba(18,183,106,.16)!important}.fypms-decision-modify.is-selected,.fypms-decision-modify:has(input:checked){border-color:#f79009!important;background:linear-gradient(180deg,#fff7ed,#ffffff)!important;outline:3px solid rgba(247,144,9,.18)!important}.fypms-decision-reject.is-selected,.fypms-decision-reject:has(input:checked){border-color:#f04438!important;background:linear-gradient(180deg,#fef3f2,#ffffff)!important;outline:3px solid rgba(240,68,56,.16)!important}
.fypms-decision-approve.is-selected .fypms-decision-icon,.fypms-decision-approve:has(input:checked) .fypms-decision-icon{background:#dcfce7!important;color:#067647!important}.fypms-decision-modify.is-selected .fypms-decision-icon,.fypms-decision-modify:has(input:checked) .fypms-decision-icon{background:#ffedd5!important;color:#b54708!important}.fypms-decision-reject.is-selected .fypms-decision-icon,.fypms-decision-reject:has(input:checked) .fypms-decision-icon{background:#fee4e2!important;color:#b42318!important}

/* V7: scientific committee analytics + modern polish */
.fypms-app-mode{background:linear-gradient(135deg,#eef6ff 0%,#f7f9fc 45%,#f8fbff 100%)!important;border-radius:26px!important;padding:28px!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;}
.fypms-hero{border-radius:24px!important;border:1px solid rgba(210,224,240,.9)!important;background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(248,252,255,.86))!important;box-shadow:0 14px 42px rgba(11,36,63,.08)!important;padding:26px 28px!important;}
.fypms-hero:before{display:none!important}.fypms-hero-mark{width:58px!important;height:58px!important;border-radius:18px!important;background:linear-gradient(135deg,#0f4c81,#2b7bbb)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-weight:900!important;box-shadow:0 14px 34px rgba(15,76,129,.22)!important;}
.fypms-title-stack{display:flex;flex-direction:column;align-items:stretch;gap:10px}.fypms-title-stack .fypms-ltr-line{margin:10px 0 0!important}.fypms-title-en{font-size:18px!important;color:#0b243f!important}.fypms-title-ar{margin:0!important;font-size:28px!important;line-height:1.5!important;border-right:4px solid #2b7bbb;padding-right:12px;background:linear-gradient(90deg,rgba(43,123,187,.08),transparent)!important;border-radius:12px!important;padding-top:6px!important;padding-bottom:6px!important;}
.fypms-analytics-card{display:grid;grid-template-columns:minmax(280px,1fr) minmax(420px,1.4fr);gap:24px;align-items:center;padding:24px!important;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(248,252,255,.92))!important;border:1px solid rgba(211,225,240,.95)!important;box-shadow:0 16px 42px rgba(15,76,129,.075)!important;overflow:hidden;}
.fypms-analytics-card:before{content:"";position:absolute;inset:auto -80px -100px auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(47,128,237,.11),transparent 68%);pointer-events:none}.fypms-analytics-copy{position:relative;z-index:1}.fypms-analytics-copy h3{margin:12px 0 4px!important;font-size:28px!important}.fypms-analytics-copy p{color:#667085;font-weight:700;margin:0 0 16px;max-width:520px}.fypms-mini-total{display:inline-grid;grid-template-columns:auto auto;gap:8px 14px;align-items:center;background:#fff;border:1px solid #dbe7f2;border-radius:18px;padding:13px 16px;box-shadow:0 10px 24px rgba(15,76,129,.07)}.fypms-mini-total span{color:#667085;font-weight:900}.fypms-mini-total strong{font-size:32px;line-height:1;color:#0f4c81}.fypms-pie-panel{display:grid;grid-template-columns:240px minmax(240px,1fr);gap:18px;align-items:center;position:relative;z-index:1}.fypms-pie-chart{width:240px;height:240px;filter:drop-shadow(0 18px 28px rgba(15,76,129,.10));overflow:visible}.fypms-pie-slice{stroke:#fff;stroke-width:2.5;transition:transform .22s ease,filter .22s ease,opacity .22s ease;transform-origin:120px 120px;cursor:pointer}.fypms-pie-slice:hover{transform:scale(1.035);filter:brightness(1.04) drop-shadow(0 6px 10px rgba(11,36,63,.18))}.fypms-pie-hole{filter:drop-shadow(0 3px 10px rgba(11,36,63,.10))}.fypms-pie-total{font:900 34px 'Tajawal',Arial,sans-serif;fill:#0b243f}.fypms-pie-label{font:800 13px 'Tajawal',Arial,sans-serif;fill:#667085}.fypms-pie-legend{display:flex;flex-direction:column;gap:10px}.fypms-legend-item{display:grid;grid-template-columns:14px 1fr auto auto;gap:10px;align-items:center;background:#fff;border:1px solid #e1eaf4;border-radius:16px;padding:10px 12px;box-shadow:0 8px 20px rgba(15,76,129,.055);transition:.18s ease}.fypms-legend-item:hover{transform:translateX(-2px);border-color:#b8cde4;background:#fbfdff}.fypms-legend-dot{width:12px;height:12px;border-radius:50%;box-shadow:0 0 0 4px rgba(15,76,129,.06)}.fypms-legend-label{font-weight:900;color:#0b243f}.fypms-legend-item strong{font-size:18px;color:#0f4c81}.fypms-legend-item em{font-style:normal;color:#667085;font-weight:800;font-size:12px}.fypms-chart-tooltip{position:fixed;z-index:999999;background:#0b243f;color:#fff;padding:8px 11px;border-radius:12px;font:800 13px 'Tajawal',Arial,sans-serif;box-shadow:0 12px 30px rgba(11,36,63,.22);pointer-events:none;opacity:0;transform:translate(-50%,-115%);transition:opacity .12s ease;white-space:nowrap}.fypms-chart-tooltip.is-visible{opacity:1}.fypms-card,.fypms-table{box-shadow:0 12px 32px rgba(11,36,63,.065)!important}.fypms-table th{background:linear-gradient(180deg,#fbfdff,#f0f5fb)!important}.fypms-wrap .button,.fypms-btn-secondary{box-shadow:0 6px 16px rgba(15,76,129,.045)!important}.fypms-decision-card{overflow:hidden}.fypms-decision-card:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:#dbe7f2}.fypms-decision-approve:before{background:#12b76a}.fypms-decision-modify:before{background:#f79009}.fypms-decision-reject:before{background:#f04438}
@media(max-width:900px){.fypms-analytics-card{grid-template-columns:1fr}.fypms-pie-panel{grid-template-columns:1fr;justify-items:center}.fypms-pie-legend{width:100%}.fypms-app-mode{padding:18px!important}.fypms-hero{padding:20px!important}.fypms-title-ar{font-size:23px!important}}

/* V9: modern scientific committee metrics with consistent totals */
.fypms-committee-metrics-v8{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:16px;
  margin:22px 0 18px;
}
.fypms-metric-card-v8{
  position:relative;
  overflow:hidden;
  min-height:128px;
  padding:20px 22px;
  border-radius:26px;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(248,251,255,.90));
  border:1px solid rgba(210,222,236,.92);
  box-shadow:0 16px 45px rgba(15,35,58,.08);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  isolation:isolate;
}
.fypms-metric-card-v8:before{
  content:"";
  position:absolute;
  inset:0 0 auto 0;
  height:4px;
  background:linear-gradient(90deg,var(--metric-accent),rgba(255,255,255,0));
  opacity:.95;
}
.fypms-metric-card-v8:after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  border-radius:50%;
  left:-52px;
  bottom:-74px;
  background:color-mix(in srgb,var(--metric-accent) 13%, transparent);
  z-index:-1;
}
.fypms-metric-card-v8:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 60px rgba(15,35,58,.12);
  border-color:color-mix(in srgb,var(--metric-accent) 28%, #d7e0ea);
}
.fypms-metric-label{
  color:#5d6b82;
  font-weight:900;
  font-size:22px;
  letter-spacing:-.01em;
  line-height:1.45;
  max-width:90%;
}
.fypms-metric-card-v8 strong{
  display:block;
  margin-top:16px;
  color:var(--metric-accent);
  font-size:38px;
  line-height:1;
  font-weight:950;
}
.fypms-metric-glow{
  position:absolute;
  inset:auto 22px 18px auto;
  width:11px;
  height:11px;
  border-radius:50%;
  background:var(--metric-accent);
  box-shadow:0 0 0 8px color-mix(in srgb,var(--metric-accent) 12%, transparent);
}
/* Keep approved projects clean: no history block visual residue */
.fypms-status-approved ~ .fypms-history,
.fypms-status-assigned_to_student ~ .fypms-history{display:none!important;}
@media(max-width:1200px){.fypms-committee-metrics-v8{grid-template-columns:repeat(3,minmax(0,1fr));}.fypms-metric-label{font-size:18px}}
@media(max-width:820px){.fypms-committee-metrics-v8{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.fypms-committee-metrics-v8{grid-template-columns:1fr}.fypms-metric-card-v8{min-height:120px}.fypms-metric-card-v8 strong{font-size:32px}}

/* V10: scientific committee default approval queue */
.fypms-modern-tabs .fypms-btn-secondary.is-active{
  background: linear-gradient(135deg, #123b63 0%, #1f5f94 100%) !important;
  color:#fff !important;
  border-color: rgba(18,59,99,.18) !important;
  box-shadow: 0 14px 30px rgba(18,59,99,.18) !important;
}
.fypms-subtle-line{
  margin: -4px 0 18px;
  color:#64748b;
  font-size:14px;
  font-weight:600;
}

/* V11 Student Selection & Print Polish */
.fypms-student-hero,.fypms-ranking-hero{position:relative;overflow:hidden;border-radius:26px;padding:34px 38px;margin:10px 0 28px;color:#fff;background:linear-gradient(135deg,#0756a9 0%,#0b65c8 55%,#0d3766 100%);box-shadow:0 22px 55px rgba(7,86,169,.18);border:1px solid rgba(255,255,255,.22)}
.fypms-student-hero:after,.fypms-ranking-hero:after{content:"";position:absolute;inset:auto -80px -100px auto;width:300px;height:300px;border-radius:50%;background:rgba(255,255,255,.10)}
.fypms-student-hero h2,.fypms-ranking-hero h2{color:#fff!important;font-size:42px;margin:4px 0 8px;line-height:1.35}.fypms-student-hero h3,.fypms-ranking-hero p{color:#eaf4ff!important;margin:0 0 14px;font-weight:700}.fypms-student-hero p,.fypms-ranking-hero span{position:relative;z-index:1;display:block;color:#f5fbff;font-size:18px;max-width:980px}.fypms-student-hero .fypms-kicker{background:rgba(255,255,255,.16);color:#fff}.fypms-student-hero-icon{position:absolute;left:30px;top:34px;width:74px;height:74px;border-radius:24px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:900}
.fypms-project-list{display:grid;gap:16px}.fypms-public-project-card{display:grid;grid-template-columns:56px 1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid #dce8f6;border-radius:24px;padding:18px;box-shadow:0 14px 34px rgba(15,35,65,.06);transition:.18s ease}.fypms-public-project-card:hover{transform:translateY(-2px);box-shadow:0 22px 44px rgba(15,35,65,.10)}.fypms-project-index{width:46px;height:46px;border-radius:16px;background:#edf5ff;color:#0756a9;display:flex;align-items:center;justify-content:center;font-weight:900}.fypms-project-main h3{margin:0!important;font-size:20px;color:#10233f!important;line-height:1.45}.fypms-project-supervisor{margin:2px 0 0;color:#667085;font-weight:800}.fypms-public-details{grid-column:1 / -1}.fypms-detail-tabs{display:flex;gap:8px;margin:0 0 14px}.fypms-detail-tabs button{border:1px solid #d8e7f7;background:#f7fbff;color:#123b63;padding:9px 14px;border-radius:999px;font-weight:900;cursor:pointer}.fypms-detail-tabs button.is-active{background:#0b65c8;color:#fff;border-color:#0b65c8}.fypms-detail-panel{display:none}.fypms-detail-panel.is-active{display:block}.fypms-mini-table{width:100%;border-collapse:separate;border-spacing:0;background:#fff;border:1px solid #dce8f6;border-radius:16px;overflow:hidden}.fypms-mini-table th,.fypms-mini-table td{padding:12px;border-bottom:1px solid #edf2f7;text-align:right}.fypms-mini-table tr:last-child td{border-bottom:0}.fypms-selection-start{text-align:center;margin:28px 0}.fypms-muted{color:#667085;font-weight:700}
.fypms-student-steps{display:grid;gap:20px;margin:24px 0}.fypms-step-card{display:grid;grid-template-columns:74px 1fr;gap:20px;align-items:center;background:#fff;border:1px solid #dce8f6;border-radius:18px;padding:26px;box-shadow:0 16px 42px rgba(15,35,65,.07)}.fypms-step-icon{width:62px;height:62px;border-radius:24px;background:#e8f2ff;color:#0756a9;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:900}.fypms-step-card h3{font-size:30px!important;margin:0 0 8px!important;color:#24364f!important}.fypms-step-card p{font-size:17px;color:#667085;margin:0 0 14px}.fypms-soft-warning{margin-top:14px;border:1px solid #ffb4ab;background:#fff4f2;color:#c43224;border-radius:12px;padding:12px 14px;font-weight:900;text-align:center}.fypms-preference-form{padding:28px!important}.fypms-preference-header{margin:18px 0 12px;padding-top:10px;border-top:1px solid #edf2f7}.fypms-preference-header h3{margin:0!important}.fypms-preference-header p{color:#667085;margin:4px 0 0}.fypms-preference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fypms-choice-row{display:grid!important;grid-template-columns:150px 1fr;gap:12px;align-items:center;background:#f9fbfe;border:1px solid #dce8f6;border-radius:16px;padding:12px!important;margin:0!important}.fypms-choice-row span{font-weight:900;color:#123b63}.fypms-choice-row.is-filled{background:#eef8ff;border-color:#9fd0ff}.fypms-choice-row select{margin:0!important;background:#fff!important}.fypms-word-meter{display:block;margin-top:8px;color:#667085;font-weight:800;font-size:13px}.fypms-word-meter.is-warning{color:#b54708}.fypms-word-meter.is-good{color:#067647}.fypms-word-meter.is-danger{color:#b42318}.fypms-abstract-input.fypms-over-limit{border-color:#ef4444!important;box-shadow:0 0 0 4px rgba(239,68,68,.14),0 0 22px rgba(239,68,68,.20)!important}.fypms-abstract-input.fypms-under-limit{border-color:#f79009!important;box-shadow:0 0 0 4px rgba(247,144,9,.10)!important}
.fypms-print-actions{text-align:center;margin:18px 0}.fypms-a4-selection{font-family:'Tajawal',Arial,sans-serif!important;color:#0b243f!important;background:#fff!important;max-width:190mm!important;width:190mm!important;min-height:267mm!important;margin:14px auto!important;padding:13mm 12mm!important;border:1px solid #d9e3ef!important;border-radius:0!important;box-shadow:0 10px 34px rgba(15,35,65,.10)!important;box-sizing:border-box!important}.fypms-print-header{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:2px solid #dbe5f0;padding-bottom:7mm;margin-bottom:7mm}.fypms-print-header h2{font-size:22px!important;text-align:right!important;margin:0 0 2mm!important;color:#0b243f!important}.fypms-print-header h3{font-size:14px!important;text-align:right!important;margin:0!important;color:#344054!important}.fypms-print-code{border:1px solid #cbd8e7;border-radius:12px;padding:8px 12px;font-weight:900;white-space:nowrap;color:#0756a9;background:#f4f8fc}.fypms-print-info,.fypms-print-choices{width:100%;border-collapse:collapse!important;margin:0 0 6mm!important;box-shadow:none!important;border-radius:0!important}.fypms-print-info th,.fypms-print-info td,.fypms-print-choices th,.fypms-print-choices td{border:1px solid #d8e2ee!important;padding:7px 8px!important;font-size:12px!important;line-height:1.65!important;vertical-align:middle!important}.fypms-print-info th,.fypms-print-choices th{background:#f3f7fb!important;color:#0b243f!important;font-weight:900!important}.fypms-print-choices td[dir=ltr]{font-family:Arial,sans-serif!important;font-size:11.5px!important;text-align:left!important}.fypms-print-note{border:1px dashed #b7c7da;background:#f8fbff;color:#344054;border-radius:10px;padding:8px 10px;margin:7mm 0 10mm;font-size:12px;font-weight:800}.fypms-a4-selection .fypms-signatures{display:flex!important;justify-content:space-between!important;gap:10px!important;margin-top:10mm!important;font-size:13px!important;font-weight:900!important}.fypms-a4-selection .fypms-signatures p{white-space:nowrap;margin:0!important}
@media(max-width:900px){.fypms-preference-grid{grid-template-columns:1fr}.fypms-choice-row{grid-template-columns:1fr}.fypms-public-project-card{grid-template-columns:1fr}.fypms-student-hero h2,.fypms-ranking-hero h2{font-size:30px}.fypms-step-card{grid-template-columns:1fr}.fypms-a4-selection{width:100%!important;max-width:100%!important;overflow:auto}}
@page{size:A4 portrait;margin:8mm}
@media print{html,body{width:210mm!important;min-height:297mm!important;margin:0!important;padding:0!important;background:#fff!important}body *{visibility:hidden!important}.fypms-a4-selection,.fypms-a4-selection *{visibility:visible!important}.fypms-a4-selection{position:absolute!important;top:0!important;right:0!important;left:0!important;width:194mm!important;max-width:194mm!important;min-height:auto!important;margin:0 auto!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important}.fypms-print-actions,.fypms-no-print,.fypms-no-print *{display:none!important}.fypms-print-header{margin-top:0!important;padding-top:0!important}.fypms-print-info th,.fypms-print-info td,.fypms-print-choices th,.fypms-print-choices td{font-size:10.5px!important;padding:4px 5px!important;line-height:1.45!important}.fypms-print-header h2{font-size:18px!important}.fypms-print-header h3{font-size:12px!important}.fypms-print-note{font-size:10.5px!important;margin:5mm 0!important}.fypms-a4-selection .fypms-signatures{font-size:11px!important;margin-top:8mm!important}.fypms-print-choices tr{page-break-inside:avoid!important}}


/* ===== V12 Print Isolation + Public Projects Polish ===== */
.fypms-student-hero{
  text-align:center!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:260px;
}
.fypms-student-hero > div:first-child{
  margin:0 auto!important;
  max-width:1050px!important;
}
.fypms-student-hero p{
  margin-left:auto!important;
  margin-right:auto!important;
  text-align:center!important;
}
.fypms-student-hero-icon{display:none!important;}
.fypms-project-main h3[dir="ltr"],
.fypms-public-project-card .fypms-project-main h3{
  direction:ltr!important;
  text-align:left!important;
  unicode-bidi:plaintext;
}
.fypms-project-supervisor{
  direction:rtl!important;
  text-align:right!important;
}
@media (min-width:901px){
  .fypms-public-project-card{
    grid-template-columns:56px minmax(0,1fr) 170px!important;
  }
  .fypms-project-main{min-width:0;}
}

/* Strong browser print fallback if user presses Ctrl+P instead of the button */
@media print{
  @page{size:A4 portrait;margin:10mm!important;}
  html,body{margin:0!important;padding:0!important;background:#fff!important;width:auto!important;height:auto!important;}
  body *{visibility:hidden!important;}
  .fypms-wrap,.fypms-wrap *{visibility:visible!important;}
  .fypms-wrap{all:unset!important;display:block!important;direction:rtl!important;background:#fff!important;margin:0!important;padding:0!important;box-shadow:none!important;border:0!important;}
  .fypms-wrap:before,.fypms-wrap:after,.fypms-no-print,.fypms-no-print *,.fypms-ranking-hero,.fypms-student-steps,.fypms-preference-form,.fypms-notice{display:none!important;}
  .fypms-print-sheet{display:block!important;position:static!important;visibility:visible!important;width:190mm!important;max-width:190mm!important;min-height:auto!important;margin:0 auto!important;padding:0!important;border:0!important;box-shadow:none!important;background:#fff!important;color:#0b243f!important;transform:none!important;page-break-inside:avoid;}
  .fypms-print-sheet *{visibility:visible!important;}
  .fypms-print-sheet table{page-break-inside:avoid!important;}
  .fypms-print-sheet h2{font-size:22px!important;margin:0 0 5px!important;}
  .fypms-print-sheet h3{font-size:14px!important;margin:0 0 14px!important;}
  .fypms-print-header{margin-bottom:12px!important;padding-bottom:12px!important;}
  .fypms-print-info th,.fypms-print-info td,.fypms-print-choices th,.fypms-print-choices td{padding:7px 8px!important;font-size:12px!important;line-height:1.55!important;}
  .fypms-print-note{margin-top:12px!important;padding:9px 12px!important;font-size:12px!important;line-height:1.7!important;}
  .fypms-signatures{margin-top:18mm!important;display:flex!important;gap:10mm!important;justify-content:space-between!important;font-size:13px!important;page-break-inside:avoid!important;}
  .fypms-signatures p{white-space:nowrap!important;margin:0!important;}
}

/* V13 - Warm, student-centered feedback page */
.fypms-student-feedback-page{
  max-width:980px!important;
  background:linear-gradient(180deg,#eef6ff 0%,#f7fbff 46%,#ffffff 100%)!important;
  border-radius:32px!important;
  padding:28px!important;
  box-shadow:0 20px 70px rgba(15,76,129,.08)!important;
}
.fypms-feedback-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:1fr auto;
  gap:22px;
  align-items:center;
  padding:34px 36px;
  border-radius:32px;
  background:linear-gradient(135deg,#ffffff 0%,#f4f9ff 58%,#fffaf0 100%);
  border:1px solid rgba(199,218,238,.95);
  box-shadow:0 18px 50px rgba(11,36,63,.09);
}
.fypms-feedback-hero:before{
  content:"";
  position:absolute;
  left:-70px;
  bottom:-85px;
  width:210px;
  height:210px;
  border-radius:55px;
  background:linear-gradient(135deg,rgba(47,128,237,.13),rgba(213,160,68,.16));
  transform:rotate(18deg);
}
.fypms-feedback-hero h2{
  position:relative;
  z-index:1;
  font-size:36px!important;
  line-height:1.22!important;
  margin:8px 0!important;
  color:#0b243f!important;
}
.fypms-feedback-hero p{
  position:relative;
  z-index:1;
  max-width:720px;
  margin:0!important;
  color:#607086!important;
  font-weight:800!important;
  font-size:16px!important;
}
.fypms-feedback-hero-badge{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-width:118px;
  min-height:118px;
  border-radius:30px;
  background:linear-gradient(135deg,#0f4c81,#2382c8);
  color:#fff;
  box-shadow:0 18px 42px rgba(15,76,129,.24);
}
.fypms-feedback-hero-badge span{font-size:34px;line-height:1}.fypms-feedback-hero-badge strong{font-size:14px;letter-spacing:.02em}
.fypms-feedback-trust{
  margin-top:22px;
  padding:24px;
  border-radius:30px;
  border:1px solid rgba(202,219,238,.95);
  background:linear-gradient(135deg,#fff 0%,#f9fcff 70%,#fff8ec 100%);
  box-shadow:0 15px 48px rgba(11,36,63,.075);
}
.fypms-trust-main{display:flex;gap:18px;align-items:flex-start}.fypms-trust-icon{flex:0 0 58px;width:58px;height:58px;border-radius:22px;background:#e8f3ff;display:flex;align-items:center;justify-content:center;font-size:28px;box-shadow:inset 0 1px 0 #fff}
.fypms-trust-main h3{font-size:25px!important;margin:0 0 10px!important;color:#0b243f!important}.fypms-trust-main p{margin:0 0 10px!important;color:#32445a!important;font-size:16px!important;font-weight:700!important;line-height:2!important;text-align:justify!important}
.fypms-trust-points{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.fypms-trust-points span{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:10px;border-radius:16px;background:#fff;border:1px solid #dbe8f5;color:#0f4c81;font-weight:900;font-size:13px;text-align:center}
.fypms-feedback-project-card{
  display:grid;
  grid-template-columns:1.5fr .7fr;
  gap:16px;
  margin-top:22px;
  padding:22px 24px;
  border-radius:28px;
  background:#fff;
  border:1px solid #dbe8f5;
  box-shadow:0 14px 44px rgba(11,36,63,.07);
}
.fypms-feedback-project-card h3{font-size:22px!important;margin:4px 0 0!important;line-height:1.65!important;text-align:left!important;color:#101828!important}.fypms-feedback-project-card strong{display:block;margin-top:7px;font-size:20px;color:#0b243f}.fypms-mini-label{display:inline-flex;color:#667085;font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.fypms-feedback-form{margin-top:22px!important;border-radius:30px!important;padding:28px!important;background:linear-gradient(180deg,#fff,#fbfdff)!important}.fypms-feedback-form-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.fypms-feedback-form-head h3{margin:0!important;font-size:26px!important}.fypms-feedback-form-head p{margin:4px 0 0!important;color:#667085;font-weight:700!important}.fypms-month-pill{display:flex!important;align-items:center;gap:10px;border:1px solid #dbe8f5;border-radius:18px;padding:10px 12px!important;background:#f8fbff!important;min-width:230px}.fypms-month-pill input{margin:0!important;background:#fff!important}
.fypms-rating-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.fypms-rating-card{display:grid!important;gap:10px!important;margin:0!important;padding:18px!important;border-radius:22px!important;border:1px solid #dbe8f5!important;background:linear-gradient(135deg,#fff,#f8fbff)!important;box-shadow:0 8px 24px rgba(11,36,63,.045)!important}.fypms-rating-card span{font-weight:900;color:#0b243f}.fypms-rating-card select{margin:0!important}
.fypms-feedback-note-field{margin-top:16px}.fypms-feedback-note-field textarea{border-radius:22px!important;min-height:140px!important;background:#fff!important}.fypms-feedback-note-field textarea:focus{border-color:#2f80ed!important;box-shadow:0 0 0 4px rgba(47,128,237,.10)!important}
.fypms-issue-toggle{display:flex!important;align-items:center;gap:12px;margin-top:14px!important;padding:14px 16px!important;border-radius:18px!important;background:#fff7ed!important;border:1px solid #fed7aa!important;color:#9a3412!important;font-weight:900!important}.fypms-issue-toggle input{width:auto!important}.fypms-feedback-issue-box{margin-top:12px;padding:16px;border-radius:20px;background:#fffaf5;border:1px solid #fed7aa}.fypms-feedback-confirm{display:flex!important;gap:12px;align-items:flex-start;margin-top:18px!important;padding:16px!important;border-radius:20px!important;background:#f0f9ff!important;border:1px solid #cfe8ff!important;color:#0b4a6f!important;font-weight:800!important}.fypms-feedback-confirm input{width:auto!important;margin-top:8px}.fypms-feedback-submit{width:100%;justify-content:center;margin-top:14px!important;font-size:17px!important;border-radius:18px!important;background:linear-gradient(135deg,#0f4c81,#1b75bc)!important;box-shadow:0 14px 34px rgba(15,76,129,.20)!important}
@media(max-width:820px){.fypms-student-feedback-page{padding:16px!important;border-radius:22px!important}.fypms-feedback-hero,.fypms-feedback-project-card,.fypms-feedback-form-head{grid-template-columns:1fr;display:grid}.fypms-feedback-hero-badge{min-width:84px;min-height:84px}.fypms-trust-main{display:block}.fypms-trust-icon{margin-bottom:12px}.fypms-trust-points{grid-template-columns:1fr 1fr}.fypms-rating-grid{grid-template-columns:1fr}.fypms-month-pill{min-width:0;width:100%}.fypms-feedback-hero h2{font-size:28px!important}}


/* V14 - Student feedback alignment repair and warmer layout */
.fypms-student-feedback-page,
.fypms-student-feedback-page *{
  box-sizing:border-box!important;
  max-width:100%;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.fypms-student-feedback-page{
  width:min(1120px, calc(100vw - 32px))!important;
  margin:24px auto!important;
  padding:22px!important;
  overflow:hidden!important;
  direction:rtl!important;
  text-align:right!important;
}
.fypms-student-feedback-page p,
.fypms-student-feedback-page h1,
.fypms-student-feedback-page h2,
.fypms-student-feedback-page h3,
.fypms-student-feedback-page span,
.fypms-student-feedback-page label{
  white-space:normal!important;
}
.fypms-feedback-hero{
  grid-template-columns:1fr auto!important;
  min-height:auto!important;
  padding:28px 30px!important;
}
.fypms-feedback-hero-text{min-width:0!important;}
.fypms-feedback-hero h2,
.fypms-feedback-hero p{
  max-width:100%!important;
  text-align:right!important;
}
.fypms-feedback-trust{
  width:100%!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
  background:linear-gradient(135deg,#ffffff 0%,#fbfdff 72%,#fffaf0 100%)!important;
}
.fypms-trust-main{
  display:grid!important;
  grid-template-columns:72px minmax(0,1fr)!important;
  gap:18px!important;
  align-items:start!important;
  padding:26px 28px 10px!important;
}
.fypms-trust-copy{min-width:0!important;width:100%!important;}
.fypms-trust-label{
  display:inline-flex!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  background:#edf6ff!important;
  border:1px solid #d7eafd!important;
  color:#0f4c81!important;
  font-size:12px!important;
  font-weight:900!important;
  margin-bottom:10px!important;
}
.fypms-trust-main h3{
  margin:0 0 12px!important;
  font-size:26px!important;
  line-height:1.55!important;
  text-align:right!important;
}
.fypms-trust-main p{
  width:100%!important;
  max-width:100%!important;
  margin:0 0 10px!important;
  line-height:2.05!important;
  text-align:justify!important;
  text-align-last:right!important;
  font-size:16px!important;
  color:#344054!important;
}
.fypms-trust-points{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  padding:14px 28px 26px!important;
  margin:0!important;
}
.fypms-trust-points span{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  min-width:0!important;
  min-height:54px!important;
  padding:10px 12px!important;
  line-height:1.55!important;
  white-space:normal!important;
}
.fypms-feedback-project-card{
  grid-template-columns:minmax(0,1.5fr) minmax(220px,.7fr)!important;
  align-items:start!important;
  direction:rtl!important;
}
.fypms-feedback-project-card h3{
  width:100%!important;
  direction:ltr!important;
  text-align:left!important;
  overflow-wrap:anywhere!important;
}
.fypms-feedback-form{
  width:100%!important;
  overflow:hidden!important;
}
.fypms-feedback-form-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:start!important;
}
.fypms-feedback-note-field label,
.fypms-feedback-issue-box label{
  display:block!important;
  width:100%!important;
  margin:0!important;
  text-align:right!important;
  font-weight:900!important;
  color:#0b243f!important;
}
.fypms-feedback-note-field textarea,
.fypms-feedback-issue-box textarea,
.fypms-feedback-issue-box select{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin-top:10px!important;
  direction:rtl!important;
  text-align:right!important;
}
.fypms-feedback-issue-box{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:14px!important;
}
@media(max-width:900px){
  .fypms-student-feedback-page{width:calc(100vw - 20px)!important;padding:14px!important;margin:10px auto!important;}
  .fypms-feedback-hero{grid-template-columns:1fr!important;padding:22px!important;}
  .fypms-trust-main{grid-template-columns:1fr!important;padding:22px 18px 10px!important;}
  .fypms-trust-points{grid-template-columns:1fr 1fr!important;padding:12px 18px 22px!important;}
  .fypms-feedback-project-card,.fypms-feedback-form-head{grid-template-columns:1fr!important;}
}
@media(max-width:560px){.fypms-trust-points{grid-template-columns:1fr!important}.fypms-feedback-hero h2{font-size:26px!important}}

/* V15 - Student feedback page rebuilt with isolated modern safe-card layout */
.fypms-feedback-v15,
.fypms-feedback-v15 *{
  box-sizing:border-box!important;
}
.fypms-feedback-v15{
  width:min(980px, calc(100vw - 28px))!important;
  max-width:980px!important;
  margin:28px auto!important;
  padding:22px!important;
  direction:rtl!important;
  text-align:right!important;
  overflow:visible!important;
  background:linear-gradient(180deg,#eef6ff 0%,#f9fcff 58%,#ffffff 100%)!important;
  border-radius:30px!important;
}
.fypms-feedback-v15 p,
.fypms-feedback-v15 h2,
.fypms-feedback-v15 h3,
.fypms-feedback-v15 span,
.fypms-feedback-v15 label,
.fypms-feedback-v15 div{
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.fypms-feedback-hero-v15{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  width:100%!important;
  margin:0 0 18px!important;
  padding:24px 26px!important;
  border-radius:26px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f5faff 72%,#fffaf2 100%)!important;
  border:1px solid #d6e5f3!important;
  box-shadow:0 16px 44px rgba(11,36,63,.07)!important;
}
.fypms-feedback-hero-v15 h2{
  margin:8px 0 4px!important;
  font-size:30px!important;
  line-height:1.35!important;
  color:#0b243f!important;
}
.fypms-feedback-hero-v15 p{
  margin:0!important;
  color:#667085!important;
  font-weight:800!important;
  line-height:1.8!important;
  text-align:right!important;
}
.fypms-feedback-shield-v15{
  flex:0 0 70px!important;
  width:70px!important;
  height:70px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#e8f3ff,#fff7e8)!important;
  border:1px solid #d7e8f8!important;
  font-size:30px!important;
}
.fypms-student-safe-card{
  width:100%!important;
  margin:18px 0!important;
  padding:24px!important;
  border-radius:26px!important;
  border:1px solid #d7e6f4!important;
  background:#fff!important;
  box-shadow:0 14px 40px rgba(11,36,63,.055)!important;
  overflow:hidden!important;
}
.fypms-safe-topline{
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:center!important;
  width:100%!important;
  margin:0 0 16px!important;
}
.fypms-safe-icon{
  width:64px!important;
  height:64px!important;
  border-radius:22px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  background:#eef7ff!important;
  border:1px solid #d8eafd!important;
  font-size:28px!important;
}
.fypms-safe-label{
  display:inline-flex!important;
  width:auto!important;
  padding:7px 12px!important;
  margin:0 0 8px!important;
  border-radius:999px!important;
  background:#f0f7ff!important;
  color:#0f4c81!important;
  border:1px solid #d8eafd!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:900!important;
}
.fypms-student-safe-card h3{
  margin:0!important;
  color:#0b243f!important;
  font-size:25px!important;
  line-height:1.5!important;
  text-align:right!important;
}
.fypms-safe-message{
  width:100%!important;
  display:block!important;
}
.fypms-safe-message p{
  display:block!important;
  width:100%!important;
  margin:0 0 12px!important;
  color:#344054!important;
  font-size:16px!important;
  font-weight:750!important;
  line-height:2.05!important;
  text-align:right!important;
  text-align-last:right!important;
}
.fypms-safe-points{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin:18px 0 0!important;
}
.fypms-safe-points span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:52px!important;
  padding:10px 8px!important;
  border-radius:16px!important;
  background:#f8fbff!important;
  border:1px solid #dbe8f5!important;
  color:#0f4c81!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.45!important;
  text-align:center!important;
}
.fypms-feedback-v15 .fypms-feedback-project-card,
.fypms-feedback-v15 .fypms-feedback-form{
  width:100%!important;
  max-width:100%!important;
}
.fypms-feedback-v15 .fypms-feedback-note-field textarea{
  width:100%!important;
  max-width:100%!important;
  min-height:150px!important;
  box-sizing:border-box!important;
}
@media(max-width:760px){
  .fypms-feedback-v15{width:calc(100vw - 16px)!important;padding:14px!important;margin:8px auto!important;border-radius:22px!important;}
  .fypms-feedback-hero-v15{display:grid!important;grid-template-columns:1fr!important;padding:20px!important;}
  .fypms-feedback-shield-v15{width:58px!important;height:58px!important;flex-basis:58px!important;}
  .fypms-safe-topline{grid-template-columns:1fr!important;gap:10px!important;}
  .fypms-safe-points{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:520px){
  .fypms-safe-points{grid-template-columns:1fr!important;}
  .fypms-feedback-hero-v15 h2{font-size:25px!important;}
  .fypms-student-safe-card h3{font-size:22px!important;}
}

/* V16 - hard reset and rebuild for Student Feedback alignment */
.fypms-feedback-v16,
.fypms-feedback-v16 *{
  box-sizing:border-box!important;
  max-width:100%!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.fypms-feedback-v16{
  width:min(1040px, calc(100vw - 32px))!important;
  margin:28px auto!important;
  padding:24px!important;
  direction:rtl!important;
  text-align:right!important;
  overflow:hidden!important;
  background:linear-gradient(180deg,#edf6ff 0%,#f8fbff 58%,#ffffff 100%)!important;
  border:1px solid #d7e6f4!important;
  border-radius:28px!important;
  box-shadow:0 22px 70px rgba(15,76,129,.10)!important;
}
.fypms-feedback-v16 p,
.fypms-feedback-v16 h2,
.fypms-feedback-v16 h3,
.fypms-feedback-v16 label,
.fypms-feedback-v16 span{
  text-align:right!important;
  line-height:1.8!important;
}
.fypms-feedback-hero-v16{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 72px!important;
  gap:18px!important;
  align-items:center!important;
  padding:24px 26px!important;
  margin:0 0 18px!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f4f9ff 78%,#fff8ed 100%)!important;
  border:1px solid #d9e8f6!important;
  box-shadow:0 14px 42px rgba(11,36,63,.06)!important;
}
.fypms-feedback-hero-copy-v16{min-width:0!important;width:100%!important;}
.fypms-feedback-hero-v16 .fypms-kicker{
  display:inline-flex!important;
  width:auto!important;
  padding:6px 12px!important;
  border-radius:999px!important;
  border:1px solid #d8eafd!important;
  background:#f2f8ff!important;
  color:#0f4c81!important;
  font-size:11px!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  line-height:1.2!important;
}
.fypms-feedback-hero-v16 h2{
  margin:10px 0 4px!important;
  font-size:clamp(26px,3vw,38px)!important;
  color:#0b243f!important;
  font-weight:950!important;
}
.fypms-feedback-hero-v16 p{
  margin:0!important;
  color:#667085!important;
  font-weight:800!important;
  font-size:15px!important;
}
.fypms-feedback-shield-v16{
  width:72px!important;
  height:72px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:24px!important;
  background:linear-gradient(135deg,#eaf5ff,#fff7e8)!important;
  border:1px solid #d9e8f6!important;
  font-size:30px!important;
}
.fypms-safe-v16{
  width:100%!important;
  margin:18px 0!important;
  padding:24px!important;
  border-radius:24px!important;
  background:#fff!important;
  border:1px solid #d7e6f4!important;
  box-shadow:0 14px 44px rgba(11,36,63,.055)!important;
  overflow:hidden!important;
}
.fypms-safe-v16-head{
  display:grid!important;
  grid-template-columns:62px minmax(0,1fr)!important;
  gap:16px!important;
  align-items:center!important;
  margin:0 0 16px!important;
}
.fypms-safe-v16-icon{
  width:62px!important;
  height:62px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:20px!important;
  background:#edf7ff!important;
  border:1px solid #d7eafd!important;
  font-size:28px!important;
  line-height:1!important;
}
.fypms-safe-v16-label{
  display:inline-flex!important;
  width:auto!important;
  padding:5px 11px!important;
  margin:0 0 8px!important;
  border-radius:999px!important;
  background:#f4f9ff!important;
  border:1px solid #d7eafd!important;
  color:#0f4c81!important;
  font-size:12px!important;
  font-weight:900!important;
  line-height:1.2!important;
}
.fypms-safe-v16 h3{
  margin:0!important;
  color:#0b243f!important;
  font-size:clamp(22px,2.4vw,30px)!important;
  font-weight:950!important;
  line-height:1.45!important;
}
.fypms-safe-v16-text{
  width:100%!important;
  display:grid!important;
  gap:10px!important;
}
.fypms-safe-v16-text p{
  width:100%!important;
  margin:0!important;
  padding:16px 18px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#fbfdff,#ffffff)!important;
  border:1px solid #edf3f9!important;
  color:#344054!important;
  font-size:16px!important;
  font-weight:750!important;
  text-align:right!important;
}
.fypms-safe-v16-points{
  width:100%!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  margin:16px 0 0!important;
}
.fypms-safe-v16-points span{
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:50px!important;
  padding:10px!important;
  border-radius:16px!important;
  background:#f8fbff!important;
  border:1px solid #dbe8f5!important;
  color:#0f4c81!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1.45!important;
  text-align:center!important;
}
.fypms-feedback-v16 .fypms-feedback-project-card{
  width:100%!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.5fr) minmax(220px,.7fr)!important;
  gap:14px!important;
  margin:18px 0!important;
  padding:20px!important;
  border-radius:22px!important;
  background:#fff!important;
  border:1px solid #d7e6f4!important;
}
.fypms-feedback-v16 .fypms-feedback-form{
  width:100%!important;
  margin:18px 0 0!important;
  padding:24px!important;
  border-radius:24px!important;
  background:#fff!important;
  border:1px solid #d7e6f4!important;
}
.fypms-feedback-v16 .fypms-feedback-form-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(220px,auto)!important;
  gap:14px!important;
  align-items:start!important;
  margin-bottom:18px!important;
}
.fypms-feedback-v16 .fypms-rating-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
}
.fypms-feedback-v16 .fypms-feedback-note-field,
.fypms-feedback-v16 .fypms-feedback-note-field label,
.fypms-feedback-v16 .fypms-feedback-note-field textarea{
  width:100%!important;
  display:block!important;
}
.fypms-feedback-v16 textarea,
.fypms-feedback-v16 select,
.fypms-feedback-v16 input{
  max-width:100%!important;
}
.fypms-feedback-v16 .fypms-feedback-note-field textarea{
  min-height:150px!important;
  border-radius:18px!important;
}
@media(max-width:820px){
  .fypms-feedback-v16{width:calc(100vw - 18px)!important;padding:14px!important;margin:10px auto!important;border-radius:22px!important;}
  .fypms-feedback-hero-v16,.fypms-safe-v16-head,.fypms-feedback-v16 .fypms-feedback-project-card,.fypms-feedback-v16 .fypms-feedback-form-head{grid-template-columns:1fr!important;}
  .fypms-safe-v16-points,.fypms-feedback-v16 .fypms-rating-grid{grid-template-columns:1fr!important;}
  .fypms-safe-v16{padding:18px!important;}
}

/* V17 - Fully rebuilt isolated Student Feedback page */
#coie-sf17-root,
#coie-sf17-root *{
  box-sizing:border-box !important;
}
#coie-sf17-root{
  --sf17-ink:#101828;
  --sf17-muted:#667085;
  --sf17-line:#e6edf7;
  --sf17-blue:#2563eb;
  --sf17-cyan:#06b6d4;
  --sf17-violet:#7c3aed;
  --sf17-green:#10b981;
  --sf17-warn:#f59e0b;
  --sf17-danger:#ef4444;
  --sf17-radius:28px;
  width:min(1120px, calc(100vw - 32px)) !important;
  margin:28px auto !important;
  padding:0 !important;
  direction:rtl !important;
  text-align:right !important;
  font-family:"Tajawal", "Cairo", Arial, sans-serif !important;
  color:var(--sf17-ink) !important;
  background:transparent !important;
  overflow:visible !important;
  position:relative !important;
  isolation:isolate !important;
}
#coie-sf17-root:before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(circle at 84% 10%, rgba(37,99,235,.14), transparent 34%),
    radial-gradient(circle at 12% 82%, rgba(124,58,237,.12), transparent 34%),
    linear-gradient(135deg,#f8fbff 0%,#ffffff 44%,#f4fbff 100%);
}
#coie-sf17-root :where(h1,h2,h3,p,span,label,strong,small,div){
  max-width:100% !important;
  overflow-wrap:break-word !important;
  word-break:normal !important;
}
#coie-sf17-root :where(h1,h2,h3,p){
  margin:0 !important;
  padding:0 !important;
  line-height:1.65 !important;
}
#coie-sf17-root :where(input,select,textarea,button){
  font-family:inherit !important;
}
#coie-sf17-root .coie-sf17-alert{
  width:100% !important;
  padding:16px 18px !important;
  border-radius:18px !important;
  margin:0 0 18px !important;
  font-weight:900 !important;
  border:1px solid var(--sf17-line) !important;
}
#coie-sf17-root .coie-sf17-alert-success{background:#ecfdf5 !important;color:#065f46 !important;border-color:#bbf7d0 !important;}
#coie-sf17-root .coie-sf17-alert-error{background:#fef2f2 !important;color:#991b1b !important;border-color:#fecaca !important;}
#coie-sf17-root .coie-sf17-hero{
  width:100% !important;
  min-height:220px !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 170px !important;
  gap:24px !important;
  align-items:center !important;
  padding:34px !important;
  border-radius:34px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.94), rgba(240,249,255,.90)),
    radial-gradient(circle at 12% 12%, rgba(124,58,237,.18), transparent 38%) !important;
  border:1px solid rgba(198,218,241,.95) !important;
  box-shadow:0 28px 80px rgba(31,64,104,.12) !important;
  position:relative !important;
  overflow:hidden !important;
}
#coie-sf17-root .coie-sf17-hero:after{
  content:"";
  position:absolute;
  width:360px;
  height:360px;
  left:-120px;
  top:-150px;
  border-radius:50%;
  background:linear-gradient(135deg, rgba(37,99,235,.18), rgba(6,182,212,.10));
  filter:blur(3px);
}
#coie-sf17-root .coie-sf17-hero-copy{position:relative !important;z-index:1 !important;min-width:0 !important;}
#coie-sf17-root .coie-sf17-badge,
#coie-sf17-root .coie-sf17-mini{
  display:inline-flex !important;
  width:auto !important;
  align-items:center !important;
  justify-content:center !important;
  padding:7px 14px !important;
  border-radius:999px !important;
  color:#1d4ed8 !important;
  background:rgba(219,234,254,.75) !important;
  border:1px solid rgba(147,197,253,.65) !important;
  font-size:11px !important;
  font-weight:950 !important;
  letter-spacing:.10em !important;
  text-transform:uppercase !important;
  line-height:1.2 !important;
  margin:0 0 10px !important;
}
#coie-sf17-root .coie-sf17-hero h1{
  color:#0b243f !important;
  font-size:clamp(34px,4.4vw,58px) !important;
  font-weight:950 !important;
  letter-spacing:-.03em !important;
  line-height:1.22 !important;
  text-align:right !important;
}
#coie-sf17-root .coie-sf17-hero p{
  color:#475467 !important;
  font-size:18px !important;
  font-weight:800 !important;
  margin-top:8px !important;
  text-align:right !important;
}
#coie-sf17-root .coie-sf17-hero-art{
  position:relative !important;
  z-index:1 !important;
  width:150px !important;
  height:150px !important;
  justify-self:center !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:42px !important;
  background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
  color:#fff !important;
  font-size:58px !important;
  box-shadow:0 24px 54px rgba(37,99,235,.28) !important;
  transform:rotate(-4deg) !important;
  animation:coieSf17Float 4.5s ease-in-out infinite !important;
}
#coie-sf17-root .coie-sf17-hero-art span{filter:drop-shadow(0 8px 16px rgba(0,0,0,.18));}
@keyframes coieSf17Float{0%,100%{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-10px) rotate(2deg)}}
#coie-sf17-root .coie-sf17-trust,
#coie-sf17-root .coie-sf17-project,
#coie-sf17-root .coie-sf17-form{
  width:100% !important;
  margin:22px 0 0 !important;
  padding:28px !important;
  border-radius:30px !important;
  background:rgba(255,255,255,.92) !important;
  border:1px solid rgba(214,226,241,.95) !important;
  box-shadow:0 22px 60px rgba(15,43,78,.085) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
  overflow:hidden !important;
}
#coie-sf17-root .coie-sf17-trust-head{
  display:grid !important;
  grid-template-columns:76px minmax(0,1fr) !important;
  gap:18px !important;
  align-items:center !important;
  margin-bottom:20px !important;
}
#coie-sf17-root .coie-sf17-shield{
  width:76px !important;
  height:76px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:24px !important;
  background:linear-gradient(135deg,#eff6ff,#ecfeff) !important;
  border:1px solid #bfdbfe !important;
  font-size:34px !important;
  box-shadow:0 16px 34px rgba(37,99,235,.12) !important;
}
#coie-sf17-root .coie-sf17-trust h2,
#coie-sf17-root .coie-sf17-form h2{
  color:#0b243f !important;
  font-size:clamp(24px,2.7vw,36px) !important;
  font-weight:950 !important;
  text-align:right !important;
}
#coie-sf17-root .coie-sf17-trust-body{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:16px !important;
}
#coie-sf17-root .coie-sf17-trust-body p{
  min-height:120px !important;
  padding:18px 20px !important;
  border-radius:22px !important;
  background:linear-gradient(135deg,#f8fbff,#ffffff) !important;
  border:1px solid #edf2f7 !important;
  color:#344054 !important;
  font-size:16px !important;
  font-weight:800 !important;
  text-align:right !important;
}
#coie-sf17-root .coie-sf17-promise-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:12px !important;
  margin-top:16px !important;
}
#coie-sf17-root .coie-sf17-promise-grid div{
  min-height:70px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  padding:12px !important;
  border-radius:20px !important;
  background:#f8fbff !important;
  border:1px solid #dbeafe !important;
  color:#0f4c81 !important;
  font-size:14px !important;
  font-weight:950 !important;
  text-align:center !important;
}
#coie-sf17-root .coie-sf17-promise-grid b{font-size:18px !important;}
#coie-sf17-root .coie-sf17-project{
  display:grid !important;
  grid-template-columns:minmax(0,1.45fr) minmax(220px,.75fr) !important;
  gap:16px !important;
  padding:22px !important;
}
#coie-sf17-root .coie-sf17-project div{
  padding:18px !important;
  border-radius:22px !important;
  background:linear-gradient(135deg,#f9fbff,#ffffff) !important;
  border:1px solid #edf2f7 !important;
}
#coie-sf17-root .coie-sf17-project span{
  display:block !important;
  color:#667085 !important;
  font-size:13px !important;
  font-weight:950 !important;
  margin-bottom:6px !important;
}
#coie-sf17-root .coie-sf17-project h3{
  color:#0b243f !important;
  font-size:20px !important;
  font-weight:900 !important;
  text-align:right !important;
}
#coie-sf17-root .coie-sf17-project h3[dir="ltr"]{text-align:left !important;direction:ltr !important;}
#coie-sf17-root .coie-sf17-form-head{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 230px !important;
  gap:18px !important;
  align-items:start !important;
  margin-bottom:20px !important;
}
#coie-sf17-root .coie-sf17-form-head p{
  color:#667085 !important;
  font-size:15px !important;
  font-weight:800 !important;
  margin-top:4px !important;
}
#coie-sf17-root .coie-sf17-month,
#coie-sf17-root .coie-sf17-ratings label,
#coie-sf17-root .coie-sf17-note,
#coie-sf17-root .coie-sf17-issue-panel label{
  display:block !important;
  color:#0b243f !important;
  font-size:14px !important;
  font-weight:950 !important;
  text-align:right !important;
}
#coie-sf17-root .coie-sf17-month{
  padding:14px !important;
  border-radius:18px !important;
  background:#f8fbff !important;
  border:1px solid #dbeafe !important;
}
#coie-sf17-root input[type="month"],
#coie-sf17-root select,
#coie-sf17-root textarea{
  width:100% !important;
  max-width:100% !important;
  margin-top:8px !important;
  padding:13px 14px !important;
  border-radius:16px !important;
  border:1px solid #d7e3f1 !important;
  background:#ffffff !important;
  color:#101828 !important;
  font-size:15px !important;
  font-weight:800 !important;
  outline:none !important;
  box-shadow:none !important;
}
#coie-sf17-root input[type="month"]:focus,
#coie-sf17-root select:focus,
#coie-sf17-root textarea:focus{
  border-color:#60a5fa !important;
  box-shadow:0 0 0 4px rgba(96,165,250,.18) !important;
}
#coie-sf17-root .coie-sf17-ratings{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:14px !important;
  margin-bottom:16px !important;
}
#coie-sf17-root .coie-sf17-ratings label{
  padding:16px !important;
  border-radius:20px !important;
  background:linear-gradient(135deg,#f9fbff,#ffffff) !important;
  border:1px solid #edf2f7 !important;
}
#coie-sf17-root .coie-sf17-ratings label span{display:block !important;margin-bottom:8px !important;}
#coie-sf17-root .coie-sf17-note textarea{
  min-height:170px !important;
  resize:vertical !important;
  line-height:1.8 !important;
}
#coie-sf17-root .coie-sf17-issue-toggle{
  position:relative !important;
  width:100% !important;
  display:grid !important;
  grid-template-columns:72px minmax(0,1fr) !important;
  gap:14px !important;
  align-items:center !important;
  margin:18px 0 0 !important;
  padding:18px !important;
  border-radius:24px !important;
  cursor:pointer !important;
  background:linear-gradient(135deg,#fff7ed,#ffffff) !important;
  border:1px solid #fed7aa !important;
  box-shadow:0 14px 36px rgba(245,158,11,.10) !important;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease !important;
}
#coie-sf17-root .coie-sf17-issue-toggle:hover{transform:translateY(-2px) !important;box-shadow:0 22px 48px rgba(245,158,11,.17) !important;}
#coie-sf17-root .coie-sf17-issue-toggle input{position:absolute !important;opacity:0 !important;pointer-events:none !important;}
#coie-sf17-root .coie-sf17-switch{
  width:64px !important;
  height:38px !important;
  display:flex !important;
  align-items:center !important;
  padding:5px !important;
  border-radius:999px !important;
  background:#e5e7eb !important;
  transition:.25s ease !important;
}
#coie-sf17-root .coie-sf17-switch i{
  width:28px !important;
  height:28px !important;
  border-radius:50% !important;
  background:#fff !important;
  box-shadow:0 4px 10px rgba(0,0,0,.16) !important;
  transform:translateX(0) !important;
  transition:.25s ease !important;
}
#coie-sf17-root .coie-sf17-issue-toggle strong{
  display:block !important;
  color:#92400e !important;
  font-size:17px !important;
  font-weight:950 !important;
}
#coie-sf17-root .coie-sf17-issue-toggle small{
  display:block !important;
  margin-top:2px !important;
  color:#9a6a24 !important;
  font-size:13px !important;
  font-weight:800 !important;
}
#coie-sf17-root .coie-sf17-issue-toggle.is-active{
  background:linear-gradient(135deg,#fff1f2,#fff7ed) !important;
  border-color:#fb7185 !important;
  animation:coieSf17Pulse 1.4s ease-in-out infinite !important;
}
#coie-sf17-root .coie-sf17-issue-toggle.is-active .coie-sf17-switch{background:#fb7185 !important;}
#coie-sf17-root .coie-sf17-issue-toggle.is-active .coie-sf17-switch i{transform:translateX(-26px) !important;}
@keyframes coieSf17Pulse{0%,100%{box-shadow:0 14px 36px rgba(244,63,94,.12)}50%{box-shadow:0 20px 60px rgba(244,63,94,.26)}}
#coie-sf17-root .coie-sf17-issue-panel{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:14px !important;
  max-height:0 !important;
  opacity:0 !important;
  transform:translateY(-10px) scale(.985) !important;
  overflow:hidden !important;
  margin:0 !important;
  padding:0 18px !important;
  border-radius:24px !important;
  background:linear-gradient(135deg,#fff7ed,#fff) !important;
  border:0 solid #fed7aa !important;
  transition:max-height .45s ease, opacity .28s ease, transform .35s ease, padding .35s ease, margin .35s ease, border-width .35s ease !important;
  position:relative !important;
}
#coie-sf17-root .coie-sf17-issue-panel.is-open{
  max-height:560px !important;
  opacity:1 !important;
  transform:translateY(0) scale(1) !important;
  margin:14px 0 0 !important;
  padding:18px !important;
  border-width:1px !important;
}
#coie-sf17-root .coie-sf17-issue-glow{
  position:absolute !important;
  inset:auto -60px -90px auto !important;
  width:200px !important;
  height:200px !important;
  border-radius:50% !important;
  background:rgba(251,146,60,.16) !important;
  filter:blur(12px) !important;
  pointer-events:none !important;
}
#coie-sf17-root .coie-sf17-confirm{
  width:100% !important;
  display:grid !important;
  grid-template-columns:24px minmax(0,1fr) !important;
  gap:10px !important;
  align-items:start !important;
  margin:18px 0 !important;
  padding:14px !important;
  border-radius:18px !important;
  background:#f8fbff !important;
  border:1px solid #dbeafe !important;
  color:#344054 !important;
  font-size:14px !important;
  font-weight:850 !important;
}
#coie-sf17-root .coie-sf17-confirm input{margin-top:5px !important;}
#coie-sf17-root .coie-sf17-submit{
  width:100% !important;
  min-height:58px !important;
  border:0 !important;
  border-radius:20px !important;
  cursor:pointer !important;
  color:white !important;
  background:linear-gradient(135deg,#2563eb,#7c3aed) !important;
  box-shadow:0 18px 42px rgba(37,99,235,.28) !important;
  font-size:17px !important;
  font-weight:950 !important;
  transition:transform .2s ease, box-shadow .2s ease !important;
}
#coie-sf17-root .coie-sf17-submit:hover{transform:translateY(-2px) !important;box-shadow:0 24px 52px rgba(37,99,235,.34) !important;}
#coie-sf17-root .coie-sf17-empty{
  padding:22px !important;
  border-radius:22px !important;
  background:#fff !important;
  border:1px solid #dbeafe !important;
  font-weight:900 !important;
}
@media(max-width:860px){
  #coie-sf17-root{width:calc(100vw - 18px) !important;margin:12px auto !important;}
  #coie-sf17-root .coie-sf17-hero,
  #coie-sf17-root .coie-sf17-trust-body,
  #coie-sf17-root .coie-sf17-project,
  #coie-sf17-root .coie-sf17-form-head,
  #coie-sf17-root .coie-sf17-ratings,
  #coie-sf17-root .coie-sf17-issue-panel{grid-template-columns:1fr !important;}
  #coie-sf17-root .coie-sf17-promise-grid{grid-template-columns:1fr 1fr !important;}
  #coie-sf17-root .coie-sf17-hero{padding:24px !important;}
  #coie-sf17-root .coie-sf17-hero-art{width:92px !important;height:92px !important;font-size:38px !important;justify-self:start !important;}
  #coie-sf17-root .coie-sf17-trust,#coie-sf17-root .coie-sf17-form{padding:20px !important;}
}
@media(max-width:540px){
  #coie-sf17-root .coie-sf17-promise-grid{grid-template-columns:1fr !important;}
  #coie-sf17-root .coie-sf17-trust-head{grid-template-columns:1fr !important;}
  #coie-sf17-root .coie-sf17-hero h1{font-size:30px !important;}
}

/* V22: supervisor dashboard and supervision polish */
.fypms-dashboard .fypms-hero,
.fypms-app-mode .fypms-hero{
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 54%,#eef7ff 100%) !important;
  border:1px solid #d8e8f8 !important;
  box-shadow:0 22px 58px rgba(10,37,64,.07) !important;
}
.fypms-supervisor-tabs{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  margin:18px 0 22px !important;
  padding:8px !important;
  width:max-content !important;
  max-width:100% !important;
  border:1px solid #d8e8f8 !important;
  border-radius:22px !important;
  background:rgba(255,255,255,.78) !important;
  box-shadow:0 14px 38px rgba(10,37,64,.055) !important;
}
.fypms-supervisor-tabs a{
  text-decoration:none !important;
  color:#16395c !important;
  font-weight:950 !important;
  padding:12px 18px !important;
  border-radius:16px !important;
  transition:.2s ease !important;
}
.fypms-supervisor-tabs a:hover,.fypms-supervisor-tabs a.is-active{
  background:linear-gradient(135deg,#eaf4ff,#ffffff) !important;
  color:#0756a9 !important;
  box-shadow:inset 0 0 0 1px #c8def5 !important;
}
.fypms-section-title-modern{
  margin:28px 0 14px !important;
  color:#0b243f !important;
  font-weight:950 !important;
  font-size:clamp(24px,2.4vw,34px) !important;
  letter-spacing:-.02em !important;
}
.fypms-supervision-modern,
.fypms-supervisor-lock,
.fypms-issue-guardian{
  border-radius:30px !important;
  border:1px solid #d8e8f8 !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:0 22px 60px rgba(10,37,64,.07) !important;
  overflow:hidden !important;
}
.fypms-supervision-head{display:flex !important;justify-content:space-between !important;gap:18px !important;align-items:center !important;margin-bottom:16px !important;}
.fypms-supervision-head h3,
.fypms-issue-head h3,
.fypms-supervisor-lock h3{margin:6px 0 !important;color:#0b243f !important;font-weight:950 !important;font-size:clamp(22px,2vw,30px) !important;}
.fypms-supervision-head p,.fypms-issue-head p,.fypms-supervisor-lock p{margin:0 !important;color:#5d6b7d !important;font-weight:800 !important;line-height:1.9 !important;}
.fypms-supervision-form{display:grid !important;gap:16px !important;}
.fypms-supervision-rating-grid{display:grid !important;grid-template-columns:1fr 1fr !important;gap:16px !important;}
.fypms-supervision-form label{font-weight:950 !important;color:#0b243f !important;}
.fypms-supervision-form select,
.fypms-supervision-form input,
.fypms-supervision-form textarea,
.fypms-issue-guardian select,
.fypms-issue-guardian textarea{
  border:1px solid #cfe2f6 !important;
  border-radius:16px !important;
  padding:13px 15px !important;
  background:#fff !important;
  box-shadow:none !important;
  outline:none !important;
}
.fypms-supervisor-lock{text-align:center !important;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 60%,#f0f7ff 100%) !important;position:relative !important;}
.fypms-lock-orb{width:72px;height:72px;border-radius:24px;margin:0 auto 12px;display:grid;place-items:center;background:linear-gradient(135deg,#e8f3ff,#fff);border:1px solid #cfe2f6;font-size:30px;box-shadow:0 16px 36px rgba(47,128,237,.14);animation:fypmsLockPulse 1.8s ease-in-out infinite;}
.fypms-lock-countdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px auto;max-width:640px;}
.fypms-lock-countdown div{border:1px solid #d8e8f8;border-radius:18px;background:#fff;padding:14px 10px;}
.fypms-lock-countdown strong{display:block;color:#0756a9;font-size:28px;font-weight:950;line-height:1.1;}
.fypms-lock-countdown span{display:block;color:#6b7b90;font-size:13px;font-weight:900;margin-top:4px;}
.fypms-lock-progress{height:10px;border-radius:999px;background:#edf5ff;overflow:hidden;max-width:720px;margin:16px auto;}
.fypms-lock-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#22c55e,#06b6d4,#2563eb);border-radius:999px;transition:width .7s ease;}
.fypms-issue-guardian{position:relative !important;border-color:#ffd9a8 !important;background:linear-gradient(135deg,#fff 0%,#fffaf4 100%) !important;}
.fypms-issue-glow{position:absolute;inset:auto -70px -90px auto;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(251,146,60,.20),transparent 65%);pointer-events:none;animation:fypmsGlowFloat 4s ease-in-out infinite;}
.fypms-issue-head{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px;}
.fypms-issue-pulse{width:54px;height:54px;border-radius:20px;background:linear-gradient(135deg,#fff3e1,#fff);border:1px solid #ffc77b;color:#c26000;display:grid;place-items:center;font-weight:950;font-size:26px;box-shadow:0 16px 38px rgba(251,146,60,.16);animation:fypmsIssuePulse 1.4s ease-in-out infinite;}
.fypms-issue-guardian .fypms-check{background:#fff7ed !important;border:1px dashed #ffc77b !important;border-radius:16px !important;padding:12px 14px !important;font-weight:950 !important;color:#7c3b00 !important;}
@keyframes fypmsLockPulse{0%,100%{transform:translateY(0);box-shadow:0 16px 36px rgba(47,128,237,.14)}50%{transform:translateY(-4px);box-shadow:0 22px 48px rgba(47,128,237,.22)}}
@keyframes fypmsIssuePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}
@keyframes fypmsGlowFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(-10px,-8px)}}
@media(max-width:760px){.fypms-supervision-rating-grid,.fypms-lock-countdown{grid-template-columns:1fr 1fr !important}.fypms-issue-head,.fypms-supervision-head{display:block !important}.fypms-supervisor-tabs{width:100% !important}.fypms-supervisor-tabs a{flex:1;text-align:center}}

/* V23: polished supervisor + scientific committee dashboards */
.fypms-dashboard,
.fypms-committee-v23{
  --v23-ink:#0b1f38;
  --v23-muted:#667085;
  --v23-blue:#2563eb;
  --v23-cyan:#06b6d4;
  --v23-violet:#7c3aed;
  --v23-line:#d8e6f7;
  --v23-surface:rgba(255,255,255,.82);
  max-width:1320px!important;
}
.fypms-dashboard .fypms-hero,
.fypms-committee-v23 .fypms-hero{
  border-radius:28px!important;
  border:1px solid rgba(116,161,214,.36)!important;
  background:
    radial-gradient(circle at 12% 20%, rgba(37,99,235,.14), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(6,182,212,.14), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.95), rgba(244,249,255,.82))!important;
  box-shadow:0 22px 60px rgba(14,42,78,.10)!important;
  padding:28px 34px!important;
  isolation:isolate;
}
.fypms-dashboard .fypms-hero:before,
.fypms-committee-v23 .fypms-hero:before{display:none!important;}
.fypms-dashboard .fypms-hero h2,
.fypms-committee-v23 .fypms-hero h2{
  font-size:34px!important;
  margin:8px 0 6px!important;
  letter-spacing:-.03em;
}
.fypms-dashboard .fypms-hero p,
.fypms-committee-v23 .fypms-hero p{font-size:15px!important;max-width:760px;color:#5f6f85!important;}
.fypms-dashboard .fypms-hero-mark,
.fypms-committee-v23 .fypms-hero-mark{
  width:58px!important;height:58px!important;border-radius:20px!important;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(135deg,#123b63,#1d8fe1)!important;
  color:#fff!important;font-weight:900;box-shadow:0 18px 35px rgba(18,59,99,.22)!important;
}
.fypms-dashboard .fypms-user-chip{background:rgba(255,255,255,.76)!important;backdrop-filter:blur(12px);}
.fypms-supervisor-tabs-v23{
  display:inline-flex!important;
  gap:8px!important;
  padding:8px!important;
  margin:18px 0 24px!important;
  border:1px solid rgba(141,173,210,.45)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.76)!important;
  box-shadow:0 18px 45px rgba(14,42,78,.08)!important;
}
.fypms-supervisor-tabs-v23 a{
  min-width:190px;
  padding:15px 22px!important;
  border-radius:18px!important;
  text-align:center;
  font-size:18px!important;
  font-weight:900!important;
  text-decoration:none!important;
  color:#123b63!important;
  background:transparent!important;
  border:0!important;
  transition:.2s ease;
}
.fypms-supervisor-tabs-v23 a.is-active{
  color:#fff!important;
  background:linear-gradient(135deg,#123b63,#1d74d8)!important;
  box-shadow:0 14px 30px rgba(29,116,216,.24)!important;
}
.fypms-tab-panel-v23{
  background:rgba(255,255,255,.84);
  border:1px solid rgba(141,173,210,.42);
  border-radius:28px;
  padding:24px;
  box-shadow:0 22px 55px rgba(14,42,78,.08);
}
.fypms-panel-head-v23{
  display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  padding:8px 4px 20px;
  border-bottom:1px solid rgba(141,173,210,.25);
  margin-bottom:18px;
}
.fypms-panel-head-v23 span{
  order:2;display:inline-flex;align-items:center;padding:7px 13px;border-radius:999px;
  background:#eef6ff;color:#1d5fa8;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
}
.fypms-panel-head-v23 h3{font-size:27px!important;margin:0!important;color:#0b1f38!important;}
.fypms-panel-head-v23 p{margin:8px 0 0!important;color:#667085!important;font-weight:700;}
.fypms-supervisor-table-v23{border-radius:24px!important;box-shadow:none!important;}
.fypms-supervisor-table-v23 th{font-size:15px!important;background:#f5f9ff!important;}
.fypms-title-cell-v23{font-weight:800;color:#16233b;}

/* Committee dashboard modern polish */
.fypms-committee-hero-v23{
  background:
    radial-gradient(circle at 8% 25%, rgba(124,58,237,.16), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(6,182,212,.16), transparent 30%),
    linear-gradient(135deg,#fff,#f8fbff 58%,#f6f0ff)!important;
}
.fypms-committee-v23 .fypms-committee-metrics-v8{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px!important;
  margin:22px 0!important;
}
.fypms-committee-v23 .fypms-metric-card-v8{
  position:relative;overflow:hidden;min-height:124px;
  border:1px solid rgba(141,173,210,.45)!important;
  border-radius:26px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.95),rgba(246,250,255,.80))!important;
  box-shadow:0 18px 45px rgba(14,42,78,.08)!important;
  padding:18px!important;
}
.fypms-committee-v23 .fypms-metric-card-v8:before{
  content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--metric-accent,#2563eb);
}
.fypms-committee-v23 .fypms-metric-card-v8:after{
  content:"";position:absolute;inset:auto -36px -42px auto;width:118px;height:118px;border-radius:999px;background:color-mix(in srgb,var(--metric-accent,#2563eb) 14%, transparent);
}
.fypms-committee-v23 .fypms-metric-label{font-size:15px!important;color:#5f6f85!important;font-weight:900!important;line-height:1.55!important;position:relative;z-index:1;}
.fypms-committee-v23 .fypms-metric-card-v8 strong{display:block;margin-top:10px;font-size:34px!important;color:var(--metric-accent,#123b63)!important;position:relative;z-index:1;}
.fypms-committee-v23 .fypms-modern-tabs{
  position:sticky;top:12px;z-index:5;
  padding:8px!important;border:1px solid rgba(141,173,210,.44);border-radius:24px;
  background:rgba(255,255,255,.86);backdrop-filter:blur(14px);
  box-shadow:0 18px 45px rgba(14,42,78,.08);
}
.fypms-committee-v23 .fypms-modern-tabs a{border-radius:17px!important;font-weight:900!important;}
.fypms-committee-v23 .fypms-modern-tabs a.is-active{background:linear-gradient(135deg,#123b63,#2563eb)!important;color:#fff!important;}
.fypms-sc-list-v23,
.fypms-committee-v23 > h3 + .fypms-table,
.fypms-committee-v23 .fypms-table{
  animation:fypmsV23In .28s ease both;
}
.fypms-sc-list-v23{
  background:rgba(255,255,255,.86);border:1px solid rgba(141,173,210,.42);border-radius:28px;padding:22px;box-shadow:0 22px 55px rgba(14,42,78,.08);
}
.fypms-sc-list-v23 h3{font-size:28px!important;margin:0 0 6px!important;}
.fypms-sc-table-v23{box-shadow:none!important;border-radius:22px!important;}
@keyframes fypmsV23In{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:980px){
  .fypms-committee-v23 .fypms-committee-metrics-v8{grid-template-columns:repeat(2,minmax(0,1fr));}
  .fypms-supervisor-tabs-v23{display:flex!important;width:100%;}
  .fypms-supervisor-tabs-v23 a{min-width:0;flex:1;font-size:15px!important;}
  .fypms-panel-head-v23{display:block;}
}
@media(max-width:620px){.fypms-committee-v23 .fypms-committee-metrics-v8{grid-template-columns:1fr;}}

/* V24 Project Committee Command Center */
.coie-pc24{--pc-navy:#08233f;--pc-blue:#2563eb;--pc-cyan:#06b6d4;--pc-mint:#12c2a0;--pc-violet:#8b5cf6;--pc-pink:#ec4899;--pc-amber:#f59e0b;--pc-red:#ef4444;--pc-soft:#f4f9ff;--pc-line:#d9eaff;--pc-muted:#64748b;max-width:1600px!important;margin:0 auto!important;padding:26px!important;background:radial-gradient(circle at 15% 10%,rgba(139,92,246,.12),transparent 28%),radial-gradient(circle at 85% 15%,rgba(6,182,212,.16),transparent 30%),linear-gradient(135deg,#f8fbff 0%,#eef7ff 48%,#fff7fc 100%)!important;border-radius:34px!important;overflow:hidden!important;isolation:isolate!important;}
.coie-pc24 *{box-sizing:border-box!important;}
.coie-pc24-hero{position:relative!important;overflow:hidden!important;display:grid!important;grid-template-columns:1fr auto!important;gap:22px!important;align-items:center!important;padding:34px!important;border:1px solid rgba(169,205,255,.9)!important;border-radius:32px!important;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(244,250,255,.86))!important;box-shadow:0 28px 80px rgba(30,64,175,.12)!important;animation:pc24In .55s ease both!important;}
.coie-pc24-hero-glow{position:absolute!important;inset:auto -90px -130px auto!important;width:340px!important;height:340px!important;border-radius:999px!important;background:radial-gradient(circle,rgba(6,182,212,.24),transparent 68%)!important;animation:pc24Float 7s ease-in-out infinite!important;}
.coie-pc24-pill{display:inline-flex!important;align-items:center!important;gap:8px!important;padding:9px 16px!important;border-radius:999px!important;color:#075985!important;background:rgba(219,242,255,.8)!important;border:1px solid #a9dcff!important;font-weight:950!important;letter-spacing:.07em!important;font-size:12px!important;text-transform:uppercase!important;}
.coie-pc24-hero h2{margin:14px 0 8px!important;color:var(--pc-navy)!important;font-size:clamp(34px,4vw,56px)!important;font-weight:950!important;line-height:1.15!important;}
.coie-pc24-hero p{margin:0!important;color:var(--pc-muted)!important;font-size:17px!important;font-weight:750!important;line-height:1.9!important;max-width:920px!important;}
.coie-pc24-orb{position:relative!important;width:118px!important;height:118px!important;border-radius:34px!important;background:linear-gradient(135deg,#2563eb,#06b6d4 55%,#22c55e)!important;box-shadow:0 26px 60px rgba(37,99,235,.26)!important;display:grid!important;place-items:center!important;color:white!important;font-weight:950!important;font-size:32px!important;transform:rotate(-5deg)!important;}
.coie-pc24-orb:after{content:"";position:absolute;inset:-10px;border-radius:40px;border:1px solid rgba(37,99,235,.22);animation:pc24Pulse 2.3s ease infinite;}
.coie-pc24-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;margin:22px 0!important;}
.coie-pc24-metric{position:relative!important;overflow:hidden!important;border-radius:28px!important;padding:22px 22px!important;background:#fff!important;border:1px solid var(--pc-line)!important;box-shadow:0 18px 44px rgba(30,64,175,.08)!important;min-height:126px!important;animation:pc24In .55s ease both!important;}
.coie-pc24-metric:before{content:"";position:absolute;inset:auto auto -42px -42px;width:130px;height:130px;border-radius:999px;opacity:.18;}
.coie-pc24-metric.m1:before{background:var(--pc-blue)}.coie-pc24-metric.m2:before{background:var(--pc-mint)}.coie-pc24-metric.m3:before{background:var(--pc-amber)}.coie-pc24-metric.m4:before{background:var(--pc-red)}
.coie-pc24-metric small{display:block!important;color:#64748b!important;font-size:15px!important;font-weight:900!important;margin-bottom:12px!important;}
.coie-pc24-metric strong{display:block!important;color:var(--pc-navy)!important;font-size:42px!important;font-weight:950!important;line-height:1!important;}
.coie-pc24-tabs{display:flex!important;gap:10px!important;flex-wrap:wrap!important;align-items:center!important;margin:24px 0!important;padding:12px!important;border-radius:26px!important;background:rgba(255,255,255,.74)!important;border:1px solid var(--pc-line)!important;box-shadow:0 16px 42px rgba(30,64,175,.08)!important;}
.coie-pc24-tabs a{position:relative!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:52px!important;padding:13px 18px!important;border-radius:20px!important;color:#164569!important;background:transparent!important;text-decoration:none!important;font-weight:950!important;font-size:15px!important;transition:.22s ease!important;}
.coie-pc24-tabs a:hover{background:#eef7ff!important;transform:translateY(-1px)!important;}
.coie-pc24-tabs a.is-active{color:#fff!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;box-shadow:0 14px 34px rgba(37,99,235,.22)!important;}
.coie-pc24-panel{border:1px solid var(--pc-line)!important;border-radius:32px!important;background:rgba(255,255,255,.90)!important;box-shadow:0 24px 70px rgba(30,64,175,.10)!important;padding:24px!important;animation:pc24In .5s ease both!important;}
.coie-pc24-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;margin-bottom:20px!important;}
.coie-pc24-head h3{margin:0 0 6px!important;color:var(--pc-navy)!important;font-size:clamp(24px,2.5vw,36px)!important;font-weight:950!important;}
.coie-pc24-head p{margin:0!important;color:var(--pc-muted)!important;font-size:15px!important;font-weight:750!important;line-height:1.8!important;}
.coie-pc24-head form{display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:wrap!important;}
.coie-pc24 input[type="month"],.coie-pc24 input[type="file"],.coie-pc24 select,.coie-pc24 textarea{border:1px solid #cfe2f6!important;border-radius:16px!important;background:#fff!important;padding:12px 14px!important;color:#0f243d!important;font-weight:800!important;}
.coie-pc24-selection-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(360px,1fr))!important;gap:18px!important;}
.coie-pc24-student-card{border:1px solid var(--pc-line)!important;border-radius:26px!important;background:linear-gradient(135deg,#ffffff,#f8fbff)!important;box-shadow:0 16px 38px rgba(30,64,175,.07)!important;overflow:hidden!important;transition:.22s ease!important;}
.coie-pc24-student-card:hover{transform:translateY(-3px)!important;box-shadow:0 24px 58px rgba(30,64,175,.12)!important;}
.coie-pc24-student-top{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;padding:18px!important;border-bottom:1px solid #e3f0ff!important;}
.coie-pc24-student-top h4{margin:0!important;color:var(--pc-navy)!important;font-size:21px!important;font-weight:950!important;}
.coie-pc24-student-top span{display:block!important;color:#64748b!important;font-weight:800!important;margin-top:5px!important;direction:ltr!important;text-align:left!important;}
.coie-pc24-student-top b{display:inline-flex!important;direction:ltr!important;color:#0b5cad!important;background:#edf7ff!important;border:1px solid #cbe7ff!important;border-radius:999px!important;padding:8px 12px!important;white-space:nowrap!important;}
.coie-pc24-student-card table,.coie-pc24-table{width:100%!important;border-collapse:separate!important;border-spacing:0!important;}
.coie-pc24-student-card th,.coie-pc24-student-card td,.coie-pc24-table th,.coie-pc24-table td{padding:14px 16px!important;border-bottom:1px solid #e3f0ff!important;text-align:right!important;vertical-align:top!important;color:#10243d!important;font-weight:800!important;}
.coie-pc24-student-card th,.coie-pc24-table th{background:#f5faff!important;color:#0b2d4e!important;font-weight:950!important;}
.coie-pc24-table-wrap{overflow:auto!important;border:1px solid #e0eeff!important;border-radius:24px!important;background:#fff!important;box-shadow:0 12px 30px rgba(30,64,175,.05)!important;}
.coie-pc24-table tr:hover td{background:#fbfdff!important;}
.coie-pc24-actions-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;gap:18px!important;margin-bottom:22px!important;}
.coie-pc24-action-card{position:relative!important;overflow:hidden!important;border:1px solid #d8eaff!important;border-radius:28px!important;background:linear-gradient(135deg,#fff,#f5fbff)!important;padding:22px!important;box-shadow:0 16px 40px rgba(30,64,175,.08)!important;}
.coie-pc24-action-card h4{margin:0 0 8px!important;color:var(--pc-navy)!important;font-size:22px!important;font-weight:950!important;}.coie-pc24-action-card p{margin:0 0 16px!important;color:var(--pc-muted)!important;font-weight:800!important;line-height:1.7!important;}
.coie-pc24-action-card button,.coie-pc24-mini-btn,.coie-pc24-print-btn{border:0!important;border-radius:15px!important;background:linear-gradient(135deg,#2563eb,#06b6d4)!important;color:#fff!important;padding:11px 16px!important;font-weight:950!important;cursor:pointer!important;box-shadow:0 14px 30px rgba(37,99,235,.18)!important;transition:.2s ease!important;text-decoration:none!important;}
.coie-pc24-action-card button:hover,.coie-pc24-mini-btn:hover,.coie-pc24-print-btn:hover{transform:translateY(-2px)!important;box-shadow:0 20px 40px rgba(37,99,235,.25)!important;}
.coie-pc24-run-card{background:linear-gradient(135deg,#f4fffb,#ffffff)!important;border-color:#b8f0dd!important;}
.coie-pc24-status{display:inline-flex!important;align-items:center!important;gap:8px!important;border-radius:999px!important;padding:8px 12px!important;font-weight:950!important;white-space:nowrap!important;}
.coie-pc24-status.ok{background:#dcfce7!important;color:#047857!important;}.coie-pc24-status.miss{background:#fff1f2!important;color:#be123c!important;animation:pc24SoftPulse 1.8s ease infinite!important;}
.coie-pc24-muted{color:#64748b!important;font-weight:900!important;}.coie-pc24-table-tools{display:flex!important;justify-content:flex-end!important;margin:0 0 14px!important;}
.coie-pc24-subtitle{margin:26px 0 12px!important;color:#0f2d4d!important;font-size:21px!important;font-weight:950!important;}
.coie-pc24-empty{border:1px dashed #cfe2f6!important;border-radius:22px!important;background:#f8fbff!important;color:#64748b!important;padding:28px!important;text-align:center!important;font-weight:900!important;}
@keyframes pc24In{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}@keyframes pc24Float{0%,100%{transform:translate(0,0)}50%{transform:translate(-18px,-12px)}}@keyframes pc24Pulse{0%,100%{transform:scale(1);opacity:.55}50%{transform:scale(1.08);opacity:.18}}@keyframes pc24SoftPulse{0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.18)}50%{box-shadow:0 0 0 8px rgba(239,68,68,0)}}
@media(max-width:900px){.coie-pc24{padding:14px!important;border-radius:24px!important}.coie-pc24-hero{grid-template-columns:1fr!important;padding:24px!important}.coie-pc24-orb{width:86px!important;height:86px!important;font-size:24px!important}.coie-pc24-metrics{grid-template-columns:1fr 1fr!important}.coie-pc24-panel{padding:14px!important}.coie-pc24-head{display:block!important}.coie-pc24-selection-grid{grid-template-columns:1fr!important}.coie-pc24-tabs{display:grid!important;grid-template-columns:1fr!important}}
@media print{.coie-pc24-hero,.coie-pc24-metrics,.coie-pc24-tabs,.coie-pc24-head form,.coie-pc24-table-tools,.coie-pc24-action-card{display:none!important}.coie-pc24{background:#fff!important;padding:0!important}.coie-pc24-panel{box-shadow:none!important;border:0!important}.coie-pc24-table-wrap{box-shadow:none!important}}

/* =========================
   FYP-AI-SMART-LAYER v25
   ========================= */
.coie-ai25{--ai-navy:#0b2545;--ai-blue:#2563eb;--ai-cyan:#06b6d4;--ai-mint:#10b981;--ai-orange:#f59e0b;--ai-red:#ef4444;--ai-soft:#f7fbff;--ai-line:#d9e8f8;--ai-text:#10243f;background:radial-gradient(circle at 10% 0%,rgba(99,102,241,.14),transparent 28%),radial-gradient(circle at 90% 10%,rgba(6,182,212,.18),transparent 30%),linear-gradient(180deg,#f7fbff,#ffffff);padding:28px;border-radius:28px;color:var(--ai-text)}
.coie-ai25 *{box-sizing:border-box;max-width:100%}
.coie-ai25-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:34px;border:1px solid var(--ai-line);border-radius:30px;background:rgba(255,255,255,.78);box-shadow:0 22px 60px rgba(18,59,99,.10);backdrop-filter:blur(14px);margin-bottom:18px;position:relative;overflow:hidden}
.coie-ai25-hero:before{content:"";position:absolute;inset:auto -80px -90px auto;width:260px;height:260px;border-radius:50%;background:linear-gradient(135deg,rgba(37,99,235,.14),rgba(6,182,212,.22));animation:coieAiFloat 7s ease-in-out infinite}
.coie-ai25-hero span,.coie-ai25-chip{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#eaf4ff;color:#155ab6;border:1px solid #bddcff;font-weight:900;letter-spacing:.08em;font-size:12px;text-transform:uppercase}
.coie-ai25-hero h2{font-size:clamp(30px,4vw,54px);margin:16px 0 10px;color:var(--ai-navy);line-height:1.15}
.coie-ai25-hero p{font-size:16px;line-height:1.9;color:#52657c;margin:0;max-width:850px}
.coie-ai25-hero b{width:92px;height:92px;border-radius:26px;display:grid;place-items:center;background:linear-gradient(135deg,var(--ai-blue),var(--ai-cyan));color:#fff;font-size:34px;box-shadow:0 18px 40px rgba(37,99,235,.28);position:relative;z-index:1}
.coie-ai25-tabs{display:flex;gap:10px;flex-wrap:wrap;padding:10px;background:rgba(255,255,255,.7);border:1px solid var(--ai-line);border-radius:24px;margin:18px 0}
.coie-ai25-tabs a{text-decoration:none;color:#174166;padding:13px 18px;border-radius:18px;font-weight:900;background:#fff;border:1px solid #dcecfb;transition:.25s ease;box-shadow:0 6px 18px rgba(11,37,69,.04)}
.coie-ai25-tabs a:hover,.coie-ai25-tabs a.is-active{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;transform:translateY(-2px);box-shadow:0 16px 34px rgba(37,99,235,.2)}
.coie-ai25-picker,.coie-ai25-card{background:rgba(255,255,255,.88);border:1px solid var(--ai-line);border-radius:26px;padding:24px;box-shadow:0 20px 55px rgba(18,59,99,.09);margin:18px 0;overflow:hidden}
.coie-ai25-picker label{display:block;font-weight:900;margin-bottom:10px;color:var(--ai-navy)}
.coie-ai25-picker select,.coie-ai25-card select,.coie-ai25-card input,.coie-ai25-card textarea{width:100%;border:1px solid #cfe3f7;border-radius:16px;background:#fff;padding:14px;color:#10243f;min-height:48px}
.coie-ai25-head h3,.coie-ai25-card h3{font-size:30px;color:var(--ai-navy);margin:12px 0 8px}.coie-ai25-head p,.coie-ai25-card p{color:#52657c;line-height:1.85}
.coie-ai25-summary{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:18px;background:#f7fbff;border:1px dashed #bddcff;border-radius:22px;margin:18px 0}
.coie-ai25-score{display:inline-flex;align-items:center;gap:10px;border-radius:18px;padding:10px 14px;color:#fff;min-width:130px;justify-content:space-between}.coie-ai25-score b{font-size:24px}.coie-ai25-score small{font-weight:900}.coie-ai25-excellent{background:linear-gradient(135deg,#059669,#10b981)}.coie-ai25-good{background:linear-gradient(135deg,#2563eb,#06b6d4)}.coie-ai25-warn{background:linear-gradient(135deg,#f59e0b,#f97316)}.coie-ai25-risk{background:linear-gradient(135deg,#dc2626,#ef4444)}
.coie-ai25-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.coie-ai25-grid>div{background:#fbfdff;border:1px solid #e1edf8;border-radius:22px;padding:20px}.coie-ai25-grid h4,.coie-ai25-similarity h4{font-size:20px;margin:0 0 12px;color:var(--ai-navy)}
.coie-ai25-finding{padding:12px 14px;border-radius:16px;border:1px solid #e3edf7;background:#fff;margin:8px 0;font-weight:800}.coie-ai25-finding.coie-ai25-ok{border-color:#b9f4d6;background:#f0fff7}.coie-ai25-finding.coie-ai25-warn{border-color:#ffe1a8;background:#fff9ed}.coie-ai25-finding.coie-ai25-risk{border-color:#ffc9c9;background:#fff3f3}.coie-ai25-muted{color:#6b7b8f}
.coie-ai25-card-top{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.coie-ai25-card-top form{display:flex;gap:8px;align-items:center}.coie-ai25-card button{border:0;border-radius:14px;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;font-weight:900;padding:12px 18px;cursor:pointer;transition:.2s ease}.coie-ai25-card button:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(37,99,235,.24)}
.coie-ai25-feedback-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.coie-ai25-feedback{border:1px solid #e1edf8;border-radius:20px;background:#fff;padding:16px;box-shadow:0 12px 28px rgba(18,59,99,.06)}.coie-ai25-feedback.ok{border-top:5px solid #10b981}.coie-ai25-feedback.warn{border-top:5px solid #f59e0b}.coie-ai25-feedback.risk{border-top:5px solid #ef4444}.coie-ai25-feedback h4{font-size:16px;line-height:1.5;margin:8px 0;color:var(--ai-navy)}
.coie-ai25-suggestions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}.coie-ai25-suggestions button{background:#eef7ff;color:#174166;border:1px solid #cfe3f7}.coie-ai25-suggestions button.copied{background:#e9fff4;color:#087a4a;border-color:#a7f3d0}.coie-ai25-card textarea[readonly]{height:180px;line-height:1.8;background:#fbfdff}
@keyframes coieAiFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(-18px,-12px)}}
@media(max-width:800px){.coie-ai25{padding:14px}.coie-ai25-hero{padding:22px;align-items:flex-start}.coie-ai25-hero b{width:64px;height:64px;font-size:24px}.coie-ai25-grid{grid-template-columns:1fr}.coie-ai25-tabs a{flex:1;text-align:center}.coie-ai25-card-top{align-items:stretch}.coie-ai25-card-top form{width:100%;flex-direction:column}}

/* =========================
   V26 — Smart Layer: richer academic intelligence UI
   ========================= */
.coie-ai26-brief{position:relative;border:1px solid rgba(37,99,235,.16);background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,252,255,.94));box-shadow:0 26px 70px rgba(15,54,92,.10)}
.coie-ai26-brief:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#2563eb,#06b6d4,#10b981,#f59e0b);opacity:.9}
.coie-ai26-head h3{font-size:clamp(26px,3vw,42px);letter-spacing:-.02em;margin-top:14px}
.coie-ai26-head p{max-width:920px;color:#465b73;font-weight:700}
.coie-ai26-summary{display:grid;grid-template-columns:auto repeat(2,minmax(180px,1fr));gap:14px;align-items:stretch;background:linear-gradient(135deg,#f8fbff,#f0f8ff);border:1px solid #d8e9fa;border-radius:24px;padding:16px;margin:18px 0 22px}
.coie-ai26-summary>div{background:#fff;border:1px solid #e0edf8;border-radius:18px;padding:14px 16px;color:#183651;font-weight:900;display:flex;align-items:center;gap:8px;box-shadow:0 10px 24px rgba(18,59,99,.04)}
.coie-ai26-dimensions{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:18px 0 22px}
.coie-ai26-dim{border:1px solid #e0ecf7;background:#fff;border-radius:20px;padding:16px;box-shadow:0 12px 30px rgba(18,59,99,.05);position:relative;overflow:hidden;transition:.22s ease}
.coie-ai26-dim:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(18,59,99,.10)}
.coie-ai26-dim:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#94a3b8}
.coie-ai26-dim.coie-ai26-strong:before{background:#10b981}.coie-ai26-dim.coie-ai26-warn:before{background:#f59e0b}.coie-ai26-dim.coie-ai26-risk:before{background:#ef4444}
.coie-ai26-dim>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.coie-ai26-dim b{font-size:16px;color:#0b2545}.coie-ai26-dim small{font-weight:1000;color:#155ab6;background:#eef7ff;border:1px solid #cfe3f7;border-radius:999px;padding:5px 10px}
.coie-ai26-dim p{margin:0;color:#53677e;font-size:14px;line-height:1.8;font-weight:700}
.coie-ai26-grid{margin-top:8px}.coie-ai26-questions{margin:20px 0;background:linear-gradient(135deg,#ffffff,#f8fcff);border:1px solid #dcecfb;border-radius:24px;padding:20px;box-shadow:0 14px 34px rgba(18,59,99,.06)}
.coie-ai26-questions h4,.coie-ai26-briefbox h4{margin:0 0 12px;color:#0b2545;font-size:22px}.coie-ai26-questions ol{margin:0;padding:0 22px 0 0;color:#183651;font-weight:800;line-height:2}.coie-ai26-questions li{padding:4px 0}
.coie-ai26-briefbox{background:linear-gradient(135deg,#eef7ff,#ffffff);border:1px solid #cfe3f7;border-radius:24px;padding:20px;margin-top:18px}.coie-ai26-briefbox textarea{width:100%;min-height:150px;resize:vertical;border:1px solid #cfe3f7;border-radius:18px;background:#fff;padding:16px;line-height:1.9;color:#10243f;font-weight:800}
.coie-ai25-card textarea[readonly]{white-space:pre-wrap}.coie-ai25 .fypms-table td,.coie-ai25 .fypms-table th{vertical-align:middle}
@media(max-width:900px){.coie-ai26-summary{grid-template-columns:1fr}.coie-ai26-head h3{font-size:28px}.coie-ai26-dimensions{grid-template-columns:1fr}}

/* =========================
   V27 Project Intelligence Engine
   ========================= */
.coie-ai27-brief{border-radius:32px;background:radial-gradient(circle at 8% 0%,rgba(124,58,237,.08),transparent 30%),radial-gradient(circle at 95% 8%,rgba(6,182,212,.12),transparent 32%),linear-gradient(180deg,#ffffff,#f8fcff)!important}
.coie-ai27-brief .coie-ai25-chip{background:linear-gradient(135deg,#eef2ff,#ecfeff);color:#1e3a8a;border-color:#c7d2fe}
.coie-ai27-executive{margin:18px 0;padding:20px;border:1px solid #dbeafe;border-radius:24px;background:linear-gradient(135deg,#f8fbff,#fff);box-shadow:0 14px 34px rgba(30,64,175,.055)}
.coie-ai27-executive h4{margin:0 0 8px;color:#0b2545;font-size:22px}
.coie-ai27-executive p{margin:0;color:#40556e;font-weight:800;line-height:2}
.coie-ai27-dimensions .coie-ai26-dim{padding-bottom:18px}
.coie-ai27-dimensions .coie-ai26-dim em{display:block;margin-top:10px;padding:10px 12px;border-radius:14px;background:#f8fbff;border:1px dashed #cfe3f7;color:#35506d;font-style:normal;font-size:13px;font-weight:750;line-height:1.8}
.coie-ai27-dimensions .coie-ai26-dim i{display:inline-flex;margin-top:9px;padding:5px 10px;border-radius:999px;background:#eef7ff;border:1px solid #cfe3f7;color:#155ab6;font-style:normal;font-size:12px;font-weight:950}
.coie-ai27-comments .coie-ai25-suggestions button{background:linear-gradient(135deg,#ffffff,#f3f9ff);color:#0b2545;border:1px solid #cfe3f7;text-align:right;line-height:1.8;max-width:100%}
.coie-ai27-comments .coie-ai25-suggestions button:hover{background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff}
.coie-ai25 .coie-ai26-summary{grid-template-columns:auto repeat(4,minmax(130px,1fr))}
@media(max-width:1100px){.coie-ai25 .coie-ai26-summary{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.coie-ai25 .coie-ai26-summary{grid-template-columns:1fr}.coie-ai27-executive{padding:16px}}

/* V31 interactive supervisor keywords */
.coie-kw31-lab{margin:28px 0;padding:24px;border:1px solid #d9e7fb;border-radius:26px;background:radial-gradient(circle at 10% 0%,rgba(14,165,233,.12),transparent 28%),linear-gradient(135deg,#ffffff,#f8fbff);box-shadow:0 24px 60px rgba(15,35,70,.08);position:relative;overflow:hidden}.coie-kw31-lab:before{content:"";position:absolute;inset:auto -70px -80px auto;width:220px;height:220px;border-radius:50%;background:rgba(124,58,237,.08)}.coie-kw31-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;position:relative;z-index:1}.coie-kw31-head h3{margin:6px 0 6px!important;font-size:24px!important;color:#0b243f!important}.coie-kw31-head p{margin:0;color:#64748b;font-weight:800}.coie-kw31-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:#eaf5ff;color:#0b5cad;border:1px solid #cbe4ff;font-size:12px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}.coie-kw31-orb{width:56px;height:56px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;font-size:24px;box-shadow:0 18px 40px rgba(37,99,235,.22);animation:kw31Float 3.5s ease-in-out infinite}.coie-kw31-selected{min-height:52px;margin:18px 0;padding:12px;border-radius:18px;background:#fff;border:1px dashed #b9d6f5;display:flex;gap:10px;flex-wrap:wrap;align-items:center;position:relative;z-index:1}.coie-kw31-selected span{color:#7b8aa0;font-weight:800}.coie-kw31-selected button{border:0;background:linear-gradient(135deg,#0ea5e9,#2563eb);color:#fff;border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer}.coie-kw31-selected b{margin-inline-start:6px}.coie-kw31-groups{display:grid;gap:16px;position:relative;z-index:1}.coie-kw31-group{padding:16px;border:1px solid #e3edf9;border-radius:20px;background:rgba(255,255,255,.78)}.coie-kw31-group strong{display:block;margin-bottom:10px;color:#102a43;font-weight:950}.coie-kw31-chips{display:flex;gap:9px;flex-wrap:wrap}.coie-kw31-chip{border:1px solid #d3e5f7;background:#fff;color:#12466f;border-radius:999px;padding:9px 13px;font-weight:850;cursor:pointer;transition:.18s ease}.coie-kw31-chip:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(14,80,150,.12)}.coie-kw31-chip.is-selected{background:#102a43;color:#fff;border-color:#102a43;box-shadow:0 12px 26px rgba(16,42,67,.18)}.coie-kw31-note{display:block;margin-top:12px;color:#64748b;font-weight:800}@keyframes kw31Float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}

/* V31 student project matching assistant */
.coie-match31{margin:26px 0;border:1px solid #d7e8fb;border-radius:30px;background:linear-gradient(135deg,#ffffff 0%,#f6fbff 62%,#f6f1ff 100%);box-shadow:0 28px 80px rgba(27,61,110,.10);overflow:hidden;position:relative}.coie-match31:before{content:"";position:absolute;inset:-120px auto auto -90px;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(6,182,212,.18),transparent 70%)}.coie-match31-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px;position:relative;z-index:1}.coie-match31-pill{display:inline-flex;padding:7px 12px;border-radius:999px;background:#eef6ff;border:1px solid #cbe3ff;color:#0b5cad;font-weight:950;letter-spacing:.06em;text-transform:uppercase;font-size:12px}.coie-match31 h3{margin:8px 0!important;font-size:28px!important;color:#0b243f!important}.coie-match31 p{color:#52637a;font-weight:800;line-height:1.9;margin:0}.coie-match31-start,.coie-match31-analyze{border:0;border-radius:18px;background:linear-gradient(135deg,#1d4ed8,#06b6d4);color:#fff;padding:14px 18px;font-weight:950;cursor:pointer;box-shadow:0 16px 34px rgba(29,78,216,.22);white-space:nowrap}.coie-match31-wizard{padding:0 28px 28px;position:relative;z-index:1}.coie-match31-step{display:none;animation:match31In .28s ease}.coie-match31-step.is-active{display:block}.coie-match31-step h4{font-size:20px!important;color:#102a43!important;margin:0 0 14px!important}.coie-match31-picks{display:flex;gap:10px;flex-wrap:wrap}.coie-match31-picks button{border:1px solid #d7e7fa;background:#fff;border-radius:999px;padding:11px 15px;color:#12466f;font-weight:900;cursor:pointer;transition:.18s ease}.coie-match31-picks button:hover{transform:translateY(-2px);box-shadow:0 10px 20px rgba(20,90,160,.10)}.coie-match31-picks button.is-selected{background:#102a43;color:#fff;border-color:#102a43}.coie-match31-actions{display:flex;gap:10px;margin-top:18px}.coie-match31-actions button{border:1px solid #cfe2f6;background:#fff;color:#123f63;border-radius:14px;padding:10px 14px;font-weight:900;cursor:pointer}.coie-match31-actions button:disabled{opacity:.45}.coie-match31-results{border-top:1px solid #e4eef9;padding:24px 28px 28px;position:relative;z-index:1}.coie-match31-results-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:16px}.coie-match31-results h4{font-size:22px!important;color:#0b243f!important;margin:0!important}.coie-match31-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px}.coie-match31-card{display:grid;grid-template-columns:auto 1fr;gap:14px;padding:16px;border:1px solid #ddecfb;border-radius:22px;background:rgba(255,255,255,.86);box-shadow:0 14px 34px rgba(16,42,70,.06);position:relative;overflow:hidden}.coie-match31-card h5{font-size:17px!important;margin:0 0 6px!important;color:#0b243f!important}.coie-match31-card p{font-size:14px;margin:0 0 8px;color:#65758a}.coie-match31-score{width:72px;height:72px;border-radius:22px;background:linear-gradient(135deg,#ecfeff,#eff6ff);border:1px solid #cbe4ff;display:grid;place-items:center;text-align:center}.coie-match31-score strong{font-size:22px;color:#0b5cad;line-height:1}.coie-match31-score span{font-size:11px;color:#64748b;font-weight:900}.coie-match31-tags{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.coie-match31-tags span{background:#eef6ff;color:#0b5cad;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:900}.coie-match31-card ul{margin:8px 0 46px;padding-inline-start:20px;color:#334155;font-weight:750;line-height:1.7}.coie-match31-card li.warn{color:#b45309}.coie-match31-add{position:absolute;inset:auto 14px 14px 14px;border:0;border-radius:14px;background:#102a43;color:#fff;padding:10px 12px;font-weight:950;cursor:pointer}.coie-match31-add.is-added{background:#16a34a}.coie-match31-empty{padding:18px;background:#fff;border-radius:16px;border:1px dashed #cbd5e1}@keyframes match31In{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:760px){.coie-match31-hero,.coie-match31-results-head{display:block}.coie-match31-start{margin-top:14px;width:100%}.coie-match31-card{grid-template-columns:1fr}.coie-match31-score{width:auto;height:auto;padding:12px}}
/* V32 simplified keyword picker */
.coie-kw32-simple{padding:22px!important;background:linear-gradient(135deg,#ffffff,#f7fbff)!important;border-radius:24px!important;box-shadow:0 18px 45px rgba(15,35,70,.08)!important}
.coie-kw32-simple .coie-kw31-head h3{font-size:22px!important}
.coie-kw32-simple .coie-kw31-head p{font-size:14px!important;color:#637083!important;line-height:1.8!important}
.coie-kw32-simple .coie-kw31-orb{width:46px!important;height:46px!important;border-radius:16px!important;font-size:20px!important;background:linear-gradient(135deg,#0ea5e9,#2563eb)!important}
.coie-kw32-simple .coie-kw31-groups{display:block!important}
.coie-kw32-simple .coie-kw31-group{padding:14px!important;background:rgba(255,255,255,.82)!important}
.coie-kw32-simple .coie-kw31-group strong{display:none!important}
.coie-kw32-simple .coie-kw31-chips{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(135px,1fr))!important;gap:10px!important}
.coie-kw32-simple .coie-kw31-chip{border-radius:16px!important;padding:12px 14px!important;text-align:center!important;background:#fff!important;color:#0f3554!important;border:1px solid #d4e5f7!important;font-weight:900!important;box-shadow:0 8px 18px rgba(15,35,70,.04)!important}
.coie-kw32-simple .coie-kw31-chip.is-selected{background:linear-gradient(135deg,#0f4c81,#0ea5e9)!important;color:#fff!important;border-color:#0ea5e9!important;box-shadow:0 16px 30px rgba(14,165,233,.18)!important}
.coie-kw31-manual{margin-top:14px;display:flex;gap:10px;align-items:center;position:relative;z-index:2}
.coie-kw31-manual-input{flex:1!important;border:1px solid #cfe0f3!important;border-radius:16px!important;padding:13px 14px!important;background:#fff!important;color:#0b243f!important;font-weight:800!important}
.coie-kw31-manual-add{border:0;border-radius:16px;background:linear-gradient(135deg,#2563eb,#06b6d4);color:#fff;font-weight:950;padding:13px 20px;cursor:pointer;box-shadow:0 14px 28px rgba(37,99,235,.16)}
.coie-kw32-simple.is-limit{animation:coieKwLimit .45s ease-in-out 2}.coie-kw32-simple.is-limit .coie-kw31-selected{border-color:#f97316!important;background:#fff7ed!important}
@keyframes coieKwLimit{0%,100%{transform:translateX(0)}25%{transform:translateX(6px)}75%{transform:translateX(-6px)}}
@media(max-width:700px){.coie-kw31-manual{flex-direction:column}.coie-kw31-manual-input,.coie-kw31-manual-add{width:100%!important}.coie-kw32-simple .coie-kw31-chips{grid-template-columns:1fr!important}}

/* V33 - Friendly Scientific Committee AI Assistant */
.coie-companion33{position:relative;margin:22px 0;padding:22px;border-radius:28px;background:linear-gradient(135deg,#ffffff 0%,#f7fbff 45%,#fff7ed 100%);border:1px solid rgba(59,130,246,.18);box-shadow:0 22px 55px rgba(15,23,42,.10);overflow:hidden;isolation:isolate}
.coie-companion33:before{content:"";position:absolute;inset:-120px auto auto -80px;width:270px;height:270px;background:radial-gradient(circle,rgba(14,165,233,.18),transparent 65%);z-index:-1;animation:coieCompanionFloat 9s ease-in-out infinite alternate}
.coie-companion33:after{content:"";position:absolute;right:-110px;bottom:-130px;width:300px;height:300px;background:radial-gradient(circle,rgba(245,158,11,.16),transparent 68%);z-index:-1;animation:coieCompanionFloat 11s ease-in-out infinite alternate-reverse}
@keyframes coieCompanionFloat{from{transform:translateY(0) scale(1)}to{transform:translateY(18px) scale(1.08)}}
.coie-companion33-head{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;max-width:920px}.coie-companion33-head span{align-self:flex-start;padding:7px 12px;border-radius:999px;background:#e0f2fe;color:#0369a1;font-weight:900;font-size:11px;letter-spacing:.08em}.coie-companion33-head h3{margin:0;color:#0f172a;font-size:24px;font-weight:950}.coie-companion33-head p{margin:0;color:#475569;line-height:1.9;font-size:14px;max-width:860px}.coie-companion33-status{padding:16px 18px;border-radius:22px;margin:14px 0 18px;border:1px solid rgba(15,23,42,.08);background:#fff;display:grid;gap:6px}.coie-companion33-status b{font-size:18px}.coie-companion33-status p{margin:0;line-height:1.9;color:#334155}.coie-companion33-status small{color:#64748b}.coie-companion33-reassuring{box-shadow:inset 5px 0 0 #22c55e}.coie-companion33-reassuring b{color:#15803d}.coie-companion33-clarify{box-shadow:inset 5px 0 0 #f59e0b}.coie-companion33-clarify b{color:#b45309}.coie-companion33-discuss{box-shadow:inset 5px 0 0 #f97316}.coie-companion33-discuss b{color:#c2410c}.coie-companion33-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.coie-companion33-grid>div,.coie-companion33-evidence{background:rgba(255,255,255,.82);border:1px solid rgba(148,163,184,.22);border-radius:22px;padding:16px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.coie-companion33 h4{margin:0 0 10px;color:#0f172a;font-size:15px}.coie-companion33-grid p{margin:8px 0;padding:11px 12px;background:#f8fafc;border-radius:14px;line-height:1.8;color:#334155}.coie-companion33-grid ol{margin:0;padding-right:20px;color:#334155;line-height:1.9}.coie-companion33-grid li{margin:6px 0}.coie-companion33-evidence{margin-top:14px;display:grid;gap:8px}.coie-companion33-evidence em{display:block;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;border-radius:14px;padding:10px 12px;line-height:1.8;font-style:normal}.coie-companion33-note{margin-top:14px;border-radius:18px;background:#eff6ff;color:#1e3a8a;padding:13px 15px;line-height:1.8;font-weight:700}@media(max-width:760px){.coie-companion33{padding:16px;border-radius:22px}.coie-companion33-grid{grid-template-columns:1fr}.coie-companion33-head h3{font-size:20px}}

/* V34 committee local assistant redesign */
.coie-companion34,.coie-ai34-card{direction:rtl;box-sizing:border-box;max-width:100%;margin:22px 0;color:#10243f;font-family:inherit}
.coie-companion34 *,.coie-ai34-card *{box-sizing:border-box;max-width:100%}
.coie-companion34-shell,.coie-ai34-card{border:1px solid rgba(37,99,235,.14);border-radius:26px;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 68%,#fff 100%);box-shadow:0 18px 48px rgba(15,54,92,.08);padding:22px;overflow:hidden;position:relative}
.coie-companion34-shell:before,.coie-ai34-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,#38bdf8,#6366f1,#10b981);opacity:.85}
.coie-companion34-head,.coie-ai34-head{display:grid;gap:8px;margin-bottom:14px}
.coie-companion34-head span,.coie-ai34-head span{justify-self:start;padding:7px 12px;border-radius:999px;background:#eef7ff;border:1px solid #cfe3f7;color:#155ab6;font-size:11px;font-weight:950;letter-spacing:.08em}
.coie-companion34-head h3,.coie-ai34-head h3{font-size:clamp(20px,2.4vw,30px);line-height:1.35;color:#0b2545;margin:0;font-weight:950}
.coie-companion34-head p,.coie-ai34-head p{margin:0;color:#52657c;line-height:1.85;font-weight:750;font-size:14px;max-width:980px}
.coie-companion34-status{display:grid;gap:7px;border-radius:22px;padding:16px 18px;background:#fff;border:1px solid #e0ecf7;margin:14px 0;box-shadow:0 12px 28px rgba(15,54,92,.05)}
.coie-companion34-status b{font-size:18px;color:#0b2545}.coie-companion34-status p{margin:0;line-height:1.85;color:#334155}.coie-companion34-status small{color:#64748b;font-weight:800}.coie-companion34-reassuring{border-right:5px solid #10b981}.coie-companion34-clarify{border-right:5px solid #f59e0b}.coie-companion34-discuss{border-right:5px solid #f97316}
.coie-companion34-details,.coie-ai34-details{margin-top:14px;border:1px solid #dcecfb;border-radius:20px;background:#fbfdff;overflow:hidden}
.coie-companion34-details summary,.coie-ai34-details summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;color:#0b2545;font-weight:950;background:linear-gradient(135deg,#f8fbff,#eef7ff);transition:.2s ease}
.coie-companion34-details summary::-webkit-details-marker,.coie-ai34-details summary::-webkit-details-marker{display:none}.coie-companion34-details summary:hover,.coie-ai34-details summary:hover{background:linear-gradient(135deg,#eef7ff,#e0f2fe)}.coie-companion34-details summary i,.coie-ai34-details summary i{font-style:normal;transition:.2s ease}.coie-companion34-details[open] summary i,.coie-ai34-details[open] summary i{transform:rotate(180deg)}
.coie-companion34-grid,.coie-ai34-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:16px}.coie-companion34-grid>div,.coie-ai34-split>div,.coie-companion34-evidence,.coie-ai34-questions,.coie-ai34-briefbox{background:#fff;border:1px solid #e1edf8;border-radius:18px;padding:16px;box-shadow:0 10px 24px rgba(15,54,92,.04)}
.coie-companion34 h4,.coie-ai34-card h4{margin:0 0 10px;color:#0b2545;font-size:16px;font-weight:950}.coie-companion34-grid p,.coie-ai34-split p{margin:8px 0;padding:10px 12px;border-radius:14px;background:#f8fbff;color:#334155;line-height:1.75;font-weight:750}.coie-ai34-split p.ok{background:#f0fff7;border:1px solid #b9f4d6}.coie-ai34-split p.warn{background:#fff9ed;border:1px solid #ffe1a8}
.coie-companion34-grid ol,.coie-ai34-questions ol{margin:0;padding:0 22px 0 0;line-height:1.9;color:#334155;font-weight:750}.coie-companion34-evidence{margin:0 16px 16px}.coie-companion34-evidence em{display:block;margin:7px 0;padding:10px 12px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;font-style:normal;line-height:1.75}.coie-companion34-note{margin:0 16px 16px;padding:12px 14px;border-radius:16px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a;font-weight:800;line-height:1.8}
.coie-ai34-overview{display:grid;grid-template-columns:auto repeat(4,minmax(140px,1fr));gap:12px;margin:16px 0}.coie-ai34-overview>div{background:#fff;border:1px solid #dcecfb;border-radius:18px;padding:13px 15px;box-shadow:0 10px 22px rgba(15,54,92,.04);font-weight:800;color:#334155}.coie-ai34-overview strong{color:#0b2545}.coie-ai34-exec{padding:16px 18px;border-radius:20px;background:linear-gradient(135deg,#f8fbff,#ffffff);border:1px solid #dcecfb;margin:12px 0}.coie-ai34-exec b{display:block;color:#0b2545;font-size:17px;margin-bottom:6px}.coie-ai34-exec p{margin:0;color:#40556e;line-height:1.85;font-weight:750}
.coie-ai34-dimensions{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:13px;padding:16px}.coie-ai34-dim{background:#fff;border:1px solid #e0ecf7;border-radius:18px;padding:15px;position:relative;overflow:hidden}.coie-ai34-dim:before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#94a3b8}.coie-ai34-dim.coie-ai34-strong:before{background:#10b981}.coie-ai34-dim.coie-ai34-warn:before{background:#f59e0b}.coie-ai34-dim.coie-ai34-risk:before{background:#ef4444}.coie-ai34-dim header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:8px}.coie-ai34-dim b{color:#0b2545;font-size:15px}.coie-ai34-dim small{background:#eef7ff;border:1px solid #cfe3f7;color:#155ab6;border-radius:999px;padding:4px 9px;font-weight:950}.coie-ai34-dim p{margin:0;color:#52657c;line-height:1.75;font-weight:750;font-size:13px}.coie-ai34-dim em{display:block;margin-top:9px;background:#f8fbff;border:1px dashed #cfe3f7;border-radius:12px;padding:9px 10px;color:#35506d;font-style:normal;line-height:1.7;font-size:12px}
.coie-ai34-questions,.coie-ai34-briefbox{margin:0 16px 16px}.coie-ai34-briefbox textarea{width:100%;min-height:130px;border:1px solid #cfe3f7;border-radius:16px;background:#fff;padding:14px;line-height:1.8;color:#10243f;font-weight:750;resize:vertical}.coie-ai34-card .coie-ai25-score{margin:0}
@media(max-width:900px){.coie-ai34-overview{grid-template-columns:1fr 1fr}.coie-companion34-grid,.coie-ai34-split{grid-template-columns:1fr}}@media(max-width:620px){.coie-ai34-overview{grid-template-columns:1fr}.coie-companion34-shell,.coie-ai34-card{padding:16px;border-radius:20px}.coie-companion34-grid,.coie-ai34-dimensions,.coie-ai34-split{padding:12px}.coie-companion34-evidence,.coie-companion34-note,.coie-ai34-questions,.coie-ai34-briefbox{margin:0 12px 12px}}

/* ===== V37 Scientific Committee refinement ===== */
.fypms-title-en-v37{font-size:24px!important;font-weight:900;color:#071f3d;background:linear-gradient(135deg,#f8fbff,#ffffff);border:1px solid #d9e8f6;border-radius:18px;padding:16px 18px;margin:10px 0!important;line-height:1.55;box-shadow:0 10px 24px rgba(11,36,63,.06)}
.fypms-title-ar-v37{font-size:21px!important;margin-top:14px!important;color:#0b243f}
.fypms-detail-meta-v37{margin:18px 0;padding:18px;border:1px solid #dce9f6;border-radius:22px;background:linear-gradient(135deg,#ffffff,#f7fbff);box-shadow:0 14px 32px rgba(11,36,63,.06)}
.fypms-detail-meta-v37 p{margin:0;padding:12px 14px;border-radius:16px;background:#fff;border:1px solid #e6eef8;font-weight:700;color:#24364c}.fypms-detail-meta-v37 p strong{color:#0b243f;font-weight:900}
.fypms-keywords-v37{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 16px;border-radius:18px;background:radial-gradient(circle at 10% 20%,rgba(20,184,166,.12),transparent 28%),linear-gradient(135deg,#ffffff,#f8fbff);border:1px solid #d7e8fb;font-weight:900;color:#0b243f}
.fypms-keywords-v37 span{display:inline-flex;align-items:center;border:1px solid #bfdbfe;background:linear-gradient(135deg,#eaf4ff,#fff);color:#0f4c81;border-radius:999px;padding:7px 12px;font-weight:900;font-size:13px;animation:fypmsKeywordPulse 2.8s ease-in-out infinite}.fypms-keywords-v37 em{color:#667085;font-style:normal;font-weight:700}
@keyframes fypmsKeywordPulse{0%,100%{box-shadow:0 0 0 rgba(37,99,235,0)}50%{box-shadow:0 0 0 5px rgba(37,99,235,.07)}}
.fypms-decision-zone-v37{border:2px solid rgba(18,59,99,.14)!important;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 52%,#fff8ec 100%)!important;box-shadow:0 28px 72px rgba(11,36,63,.13)!important;overflow:hidden}.fypms-decision-zone-v37:before{content:"";position:absolute;inset:0 0 auto 0;height:6px;background:linear-gradient(90deg,#12b76a,#f79009,#f04438,#1c73c9)}.fypms-decision-zone-v37 .fypms-section-head h3{font-size:30px!important}.fypms-decision-zone-v37 .fypms-section-head p{font-size:15px;color:#475467;font-weight:700}.fypms-decision-zone-v37 .fypms-decision-card{min-height:178px;border-width:1.5px;box-shadow:0 18px 38px rgba(11,36,63,.08)}
.coie-companion34-head h3{font-size:29px!important}.coie-companion34-head p{max-width:820px;margin-inline:auto;color:#475467;font-weight:700;line-height:1.9}.coie-ai34-head h3{font-size:28px!important}.coie-ai34-head p{font-weight:700;color:#475467;line-height:1.9;max-width:820px;margin-inline:auto}.coie-ai34-overview-v37{grid-template-columns:repeat(3,minmax(0,1fr))!important}.coie-ai34-briefbox-v37{border:1px solid #dbeafe;border-radius:22px;background:linear-gradient(135deg,#f8fbff,#ffffff);padding:18px!important}.coie-ai34-briefbox-v37 h4{margin:0 0 6px;color:#0b243f}.coie-ai34-briefbox-v37 p{margin:0 0 14px;color:#667085;font-weight:700}.coie-ai34-action-chips{display:flex;flex-wrap:wrap;gap:10px}.coie-ai34-add-comment{position:relative;border:1px solid #bfdbfe;border-radius:999px;background:linear-gradient(135deg,#eaf4ff,#ffffff);color:#0b4a7c;font-family:'Tajawal',Arial,sans-serif;font-weight:900;padding:10px 14px;cursor:pointer;transition:.18s ease;box-shadow:0 8px 20px rgba(18,59,99,.07);animation:fypmsAiChipPulse 2.6s ease-in-out infinite}.coie-ai34-add-comment:hover{transform:translateY(-2px);background:linear-gradient(135deg,#dff0ff,#ffffff);box-shadow:0 16px 28px rgba(18,59,99,.13)}.coie-ai34-add-comment:active{transform:scale(.98)}@keyframes fypmsAiChipPulse{0%,100%{box-shadow:0 8px 20px rgba(18,59,99,.07)}50%{box-shadow:0 8px 20px rgba(18,59,99,.07),0 0 0 5px rgba(20,184,166,.08)}}
@media(max-width:800px){.coie-ai34-overview-v37{grid-template-columns:1fr!important}.fypms-title-en-v37{font-size:20px!important}.fypms-detail-meta-v37{grid-template-columns:1fr!important}}

/* V38 - methodology companion refinement */
.coie-companion38-chips{display:flex;flex-direction:column;gap:10px;margin-top:8px}
.coie-companion38-chips .coie-ai34-add-comment{width:100%;text-align:right;border:1px solid rgba(79,70,229,.18);background:linear-gradient(135deg,#ffffff,#f8fbff);border-radius:16px;padding:12px 14px;color:#24304f;font-weight:800;line-height:1.7;cursor:pointer;box-shadow:0 10px 24px rgba(37,99,235,.08);transition:.25s ease;position:relative;overflow:hidden}
.coie-companion38-chips .coie-ai34-add-comment:before{content:"";position:absolute;inset:auto -30% -40% auto;width:90px;height:90px;background:radial-gradient(circle,rgba(99,102,241,.18),transparent 65%);transition:.25s ease}
.coie-companion38-chips .coie-ai34-add-comment:hover{transform:translateY(-2px);border-color:rgba(79,70,229,.38);box-shadow:0 16px 34px rgba(37,99,235,.14)}
.coie-companion38-chips .coie-ai34-add-comment.is-added{background:linear-gradient(135deg,#ecfdf5,#ffffff);border-color:#34d399;color:#065f46}

/* V39 Seminar Notification Center */
.fypms-seminar-page{--sem-blue:#17324d;--sem-cyan:#1f7a8c;--sem-gold:#f4b740;--sem-ink:#132033;--sem-muted:#6b7280;--sem-soft:#f4f8fb;}
.fypms-seminar-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(135deg,#f8fbff 0%,#eaf6fb 52%,#fff7e3 100%);border:1px solid rgba(31,122,140,.18);border-radius:30px;padding:28px 32px;margin:18px 0 18px;box-shadow:0 24px 60px rgba(23,50,77,.10)}
.fypms-seminar-hero:before{content:"";position:absolute;inset:auto -60px -110px auto;width:260px;height:260px;border-radius:999px;background:radial-gradient(circle,rgba(31,122,140,.18),transparent 68%);animation:fypmsSemFloat 8s ease-in-out infinite}
.fypms-seminar-hero h1{margin:6px 0 8px;font-size:32px;line-height:1.35;color:var(--sem-ink);font-weight:900;letter-spacing:-.02em}
.fypms-seminar-hero p{margin:0;color:#415066;font-size:15px;line-height:1.9;max-width:760px}
.fypms-kicker{display:inline-flex;align-items:center;padding:6px 12px;border-radius:999px;background:rgba(31,122,140,.10);color:#0f6474;font-size:12px;font-weight:800;letter-spacing:.03em}
.fypms-seminar-orb{position:relative;z-index:1;width:76px;height:76px;border-radius:24px;background:linear-gradient(135deg,var(--sem-blue),var(--sem-cyan));display:grid;place-items:center;color:#fff;font-size:28px;box-shadow:0 20px 35px rgba(31,122,140,.25);animation:fypmsSemPulse 3s ease-in-out infinite}
.fypms-seminar-tabs{display:flex;gap:10px;align-items:center;background:#fff;border:1px solid #e7edf3;border-radius:20px;padding:8px;margin:0 0 18px;box-shadow:0 15px 36px rgba(15,23,42,.06)}
.fypms-seminar-tabs button{border:0;background:transparent;border-radius:16px;padding:12px 18px;color:#526173;font-weight:900;cursor:pointer;transition:.22s ease;display:flex;gap:8px;align-items:center;justify-content:center}
.fypms-seminar-tabs button small{min-width:26px;height:26px;border-radius:999px;background:#eef4f8;color:#1f7a8c;display:inline-grid;place-items:center;font-size:12px}
.fypms-seminar-tabs button.active{background:linear-gradient(135deg,var(--sem-blue),var(--sem-cyan));color:#fff;box-shadow:0 12px 24px rgba(31,122,140,.22)}
.fypms-seminar-tabs button.active small{background:rgba(255,255,255,.22);color:#fff}
.fypms-seminar-panel{display:none;animation:fypmsSemIn .28s ease both}
.fypms-seminar-panel.active{display:block}
.fypms-seminar-grid{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(420px,1.08fr);gap:20px;align-items:start}
.fypms-form-card,.fypms-email-preview{background:#fff;border:1px solid #e7edf3;border-radius:26px;box-shadow:0 20px 48px rgba(15,23,42,.07);padding:22px;overflow:hidden}
.fypms-form-card h2{font-size:22px;margin:0 0 6px;color:var(--sem-ink);font-weight:900}
.fypms-form-card p{margin:0 0 18px;color:var(--sem-muted);font-size:14px}
.fypms-form-card label{display:block;margin:14px 0 0;font-weight:850;color:#26384d;font-size:14px}
.fypms-form-card input[type=text],.fypms-form-card input[type=date],.fypms-form-card select,.fypms-form-card textarea{width:100%;box-sizing:border-box;margin-top:7px;border:1px solid #dbe6ee;border-radius:15px;padding:12px 13px;background:#fbfdff;color:#132033;font-size:14px;outline:0;transition:.2s ease}
.fypms-form-card input:focus,.fypms-form-card select:focus,.fypms-form-card textarea:focus{border-color:var(--sem-cyan);box-shadow:0 0 0 4px rgba(31,122,140,.12);background:#fff}
.fypms-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.fypms-confirm-row{display:flex!important;align-items:flex-start;gap:10px;background:#f8fafc;border:1px solid #e7edf3;border-radius:16px;padding:12px 14px;color:#415066!important;line-height:1.7!important}
.fypms-confirm-row input{margin-top:6px!important}
.fypms-primary-btn.fypms-seminar-send{margin-top:16px;width:100%;border:0;border-radius:17px;padding:13px 18px;background:linear-gradient(135deg,#1f7a8c,#17324d);color:#fff;font-weight:950;cursor:pointer;box-shadow:0 16px 30px rgba(31,122,140,.25);transition:.2s ease}
.fypms-primary-btn.fypms-seminar-send:hover{transform:translateY(-2px);box-shadow:0 20px 40px rgba(31,122,140,.32)}
.fypms-email-preview{background:linear-gradient(180deg,#fff,#f8fbff);padding:14px;min-height:420px}
.fypms-email-preview .preview-label{font-size:13px;font-weight:900;color:#1f7a8c;margin:4px 4px 10px;display:inline-flex;align-items:center;gap:8px;background:rgba(31,122,140,.09);padding:7px 12px;border-radius:999px}
.fypms-email-preview .preview-label:before{content:"👁"}
.fypms-seminar-notice{border-radius:14px!important}
@keyframes fypmsSemIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes fypmsSemPulse{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.03)}}
@keyframes fypmsSemFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(-12px,-10px)}}
@media(max-width:980px){.fypms-seminar-grid{grid-template-columns:1fr}.fypms-seminar-hero{align-items:flex-start}.fypms-seminar-orb{display:none}}
@media(max-width:640px){.fypms-seminar-tabs{flex-direction:column}.fypms-seminar-tabs button{width:100%}.fypms-two-cols{grid-template-columns:1fr}.fypms-seminar-hero{padding:22px}.fypms-seminar-hero h1{font-size:26px}}

/* V40 Seminar notification fixes */
.fypms-seminar-confirm{position:relative;cursor:pointer;user-select:none;align-items:center!important}
.fypms-seminar-confirm input[type=checkbox]{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.fypms-confirm-box{flex:0 0 26px;width:26px;height:26px;border-radius:8px;border:2px solid #9ac8d1;background:#fff;display:inline-grid;place-items:center;color:transparent;font-weight:950;transition:.18s ease;box-shadow:0 6px 14px rgba(31,122,140,.08)}
.fypms-seminar-confirm.checked .fypms-confirm-box,.fypms-seminar-confirm input[type=checkbox]:checked + .fypms-confirm-box{background:#0b3d5c;border-color:#0b3d5c;color:#fff;transform:scale(1.03)}
.fypms-seminar-confirm:hover .fypms-confirm-box{box-shadow:0 0 0 5px rgba(31,122,140,.11)}
.fypms-email-preview{background:#f6f8fb!important;border-color:#d9e2ec!important}
.fypms-seminar-hero{background:linear-gradient(135deg,#ffffff 0%,#f4f8fb 60%,#eef5f9 100%)!important;border-color:#d9e2ec!important}
.fypms-seminar-orb{background:linear-gradient(135deg,#0b3d5c,#1d6073)!important}
.fypms-seminar-tabs button.active,.fypms-primary-btn.fypms-seminar-send{background:linear-gradient(135deg,#0b3d5c,#1d6073)!important}

/* V50: Student matching assistant refinements */
.coie-match31-hint{
  margin: 6px 0 12px !important;
  color: #667085 !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  font-weight: 600 !important;
}
.coie-match31-card-actions{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  margin-top:12px !important;
}
.coie-match31-read{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:40px !important;
  padding:9px 13px !important;
  border-radius:14px !important;
  border:1px solid rgba(15, 82, 148, .18) !important;
  background:#f8fbff !important;
  color:#0f5294 !important;
  text-decoration:none !important;
  font-weight:800 !important;
  font-size:13px !important;
}
.coie-match31-read:hover{
  background:#eef6ff !important;
  border-color:rgba(15, 82, 148, .32) !important;
}
.coie-match31-card .coie-match31-add{
  min-height:40px !important;
}

/* V51: student smart matching refinement */
.coie-match31-mini{
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(15, 76, 129, 0.06);
  color: #355169;
  font-size: 12.5px;
  line-height: 1.7;
  font-weight: 700;
}

/* V54: formal printable project committee reports as stacked grid cards */
.coie-pc54-report-list{display:grid!important;gap:14px!important;margin-top:18px!important;}
.coie-pc54-report-card{background:#fff!important;border:1px solid #dbe7f3!important;border-radius:18px!important;padding:16px!important;box-shadow:0 10px 26px rgba(16,35,63,.05)!important;break-inside:avoid!important;page-break-inside:avoid!important;}
.coie-pc54-report-top{display:grid!important;grid-template-columns:minmax(160px,260px) minmax(0,1fr)!important;gap:16px!important;padding-bottom:12px!important;margin-bottom:12px!important;border-bottom:1px solid #e6eef7!important;}
.coie-pc54-report-bottom{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
.coie-pc54-report-card span{display:block!important;color:#64748b!important;font-size:12px!important;font-weight:900!important;margin-bottom:4px!important;}
.coie-pc54-report-card strong{display:block!important;color:#10233f!important;font-size:15px!important;font-weight:950!important;line-height:1.65!important;overflow-wrap:anywhere!important;word-break:normal!important;}
.coie-pc54-report-card strong[dir="ltr"]{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext!important;}
.coie-pc54-report-card em.coie-pc24-status{font-style:normal!important;}
@media(max-width:900px){.coie-pc54-report-top,.coie-pc54-report-bottom{grid-template-columns:1fr!important;}}
@media print{.coie-pc54-report-card{box-shadow:none!important;border-radius:8px!important;margin-bottom:5mm!important;padding:4mm!important}.coie-pc54-report-top{grid-template-columns:54mm 1fr!important}.coie-pc54-report-bottom{grid-template-columns:33mm 25mm 1fr 24mm!important}.coie-pc54-report-card span{font-size:9.5px!important}.coie-pc54-report-card strong{font-size:10.8px!important;line-height:1.55!important}}

/* V55: student selection printable sheet header and safe A4 margins */
.fypms-a4-selection{
  max-width: 188mm !important;
  padding: 16mm 14mm !important;
  overflow: visible !important;
}
.fypms-selection-print-head{
  display:grid;
  grid-template-columns:1fr 1.55fr 1fr;
  align-items:start;
  gap:18px;
  border-bottom:2px solid #d9e5f2;
  padding-bottom:18px;
  margin-bottom:18px;
}
.fypms-selection-brand{
  text-align:center;
  min-width:0;
}
.fypms-selection-brand img{
  width:82px;
  height:82px;
  object-fit:contain;
  display:block;
  margin:0 auto 10px;
}
.fypms-selection-brand h2{
  margin:0 0 4px !important;
  font-size:22px !important;
  line-height:1.35 !important;
  color:#0b243f !important;
}
.fypms-selection-brand h3{
  margin:0 !important;
  font-size:14px !important;
  line-height:1.5 !important;
  color:#344054 !important;
}
.fypms-selection-code-side{
  direction:ltr;
  text-align:left;
}
.fypms-selection-empty-side{min-height:1px;}
.fypms-a4-selection .fypms-print-code{
  display:inline-block;
  max-width:100%;
  overflow-wrap:anywhere;
  font-size:17px;
}
.fypms-a4-selection table{
  table-layout:fixed;
}
.fypms-a4-selection th,
.fypms-a4-selection td{
  overflow-wrap:anywhere;
  word-break:normal;
}
@media print{
  .fypms-a4-selection{
    width:100% !important;
    max-width:186mm !important;
    padding:0 1mm !important;
    margin:0 auto !important;
    box-shadow:none !important;
    border:0 !important;
    min-height:auto !important;
  }
  .fypms-selection-print-head{
    grid-template-columns:1fr 1.55fr 1fr;
    gap:8mm;
    padding-bottom:8mm;
    margin-bottom:6mm;
  }
  .fypms-selection-brand img{width:22mm;height:22mm;margin-bottom:3mm;}
  .fypms-selection-brand h2{font-size:19px !important;}
  .fypms-selection-brand h3{font-size:11.5px !important;}
  .fypms-a4-selection .fypms-print-code{font-size:14.5px;padding:8px 10px;}
}

/* V56: official student selection print header: org right, logo/title center, print date left */
.fypms-a4-selection{
  max-width:188mm!important;
  width:188mm!important;
  padding:13mm 12mm!important;
  overflow:visible!important;
}
.fypms-selection-print-head{
  display:grid!important;
  grid-template-columns:1fr 1.25fr 1fr!important;
  align-items:start!important;
  gap:10mm!important;
  border-bottom:2px solid #d9e5f2!important;
  padding-bottom:7mm!important;
  margin-bottom:5mm!important;
}
.fypms-selection-org{
  text-align:right!important;
  color:#0b243f!important;
  font-weight:900!important;
  line-height:1.8!important;
  font-size:14px!important;
}
.fypms-selection-org strong,
.fypms-selection-org span{
  display:block!important;
  margin:0!important;
  white-space:normal!important;
}
.fypms-selection-date{
  text-align:left!important;
  direction:rtl!important;
  color:#0b243f!important;
  font-weight:900!important;
  line-height:1.8!important;
  font-size:14px!important;
}
.fypms-selection-date strong,
.fypms-selection-date span{display:block!important;margin:0!important;}
.fypms-selection-date span{direction:ltr!important;unicode-bidi:plaintext!important;}
.fypms-selection-brand{text-align:center!important;min-width:0!important;}
.fypms-selection-brand img{width:24mm!important;height:24mm!important;object-fit:contain!important;display:block!important;margin:0 auto 3mm!important;}
.fypms-selection-brand h2{margin:0!important;font-size:19px!important;line-height:1.35!important;color:#0b243f!important;font-weight:950!important;}
.fypms-selection-brand h3{display:none!important;}
.fypms-selection-code-side,.fypms-selection-empty-side{display:none!important;}
.fypms-print-info{margin-top:0!important;margin-bottom:5mm!important;}
.fypms-print-info td[dir=ltr]{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext!important;}
.fypms-print-choices td[dir=ltr]{direction:ltr!important;text-align:left!important;unicode-bidi:plaintext!important;overflow-wrap:anywhere!important;word-break:normal!important;}
@media print{
  @page{size:A4 portrait;margin:11mm!important;}
  .fypms-a4-selection{width:188mm!important;max-width:188mm!important;padding:0!important;margin:0 auto!important;border:0!important;box-shadow:none!important;}
  .fypms-selection-print-head{grid-template-columns:1fr 1.25fr 1fr!important;gap:8mm!important;padding-bottom:6mm!important;margin-bottom:5mm!important;}
  .fypms-selection-org,.fypms-selection-date{font-size:11.5px!important;line-height:1.65!important;}
  .fypms-selection-brand img{width:21mm!important;height:21mm!important;margin-bottom:2mm!important;}
  .fypms-selection-brand h2{font-size:16px!important;line-height:1.35!important;}
  .fypms-print-info th,.fypms-print-info td,.fypms-print-choices th,.fypms-print-choices td{font-size:10.5px!important;padding:4.5px 5px!important;line-height:1.45!important;}
}
.fypms-print-actions{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}.fypms-download-selection-pdf{text-decoration:none!important}.fypms-btn-secondary{background:#fff!important;color:#0d4f8b!important;border:1px solid #cfe0f2!important;box-shadow:none!important}.fypms-btn-secondary:hover{background:#f4f8fc!important}

/* V58: Mobile-friendly student selection confirmation preview */
@media screen and (max-width: 760px){
  .fypms-print-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    width:100%!important;
    margin:14px 0!important;
  }
  .fypms-print-actions .fypms-btn,
  .fypms-print-actions .fypms-btn-secondary{
    width:100%!important;
    min-height:48px!important;
    font-size:15px!important;
  }
  .fypms-a4-selection{
    width:100%!important;
    max-width:100%!important;
    min-height:auto!important;
    margin:12px 0!important;
    padding:16px!important;
    border-radius:22px!important;
    overflow:hidden!important;
    box-shadow:0 14px 34px rgba(15,35,65,.08)!important;
  }
  .fypms-selection-print-head{
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding-bottom:14px!important;
    margin-bottom:14px!important;
    text-align:center!important;
  }
  .fypms-selection-org,
  .fypms-selection-date{
    text-align:center!important;
    font-size:13px!important;
    line-height:1.65!important;
  }
  .fypms-selection-brand img{
    width:70px!important;
    height:70px!important;
    margin-bottom:8px!important;
  }
  .fypms-selection-brand h2{
    font-size:18px!important;
    line-height:1.45!important;
  }
  .fypms-print-info,
  .fypms-print-choices{
    display:block!important;
    width:100%!important;
    overflow-x:auto!important;
    -webkit-overflow-scrolling:touch!important;
    border:1px solid #d8e2ee!important;
    border-radius:14px!important;
    background:#fff!important;
    margin-bottom:14px!important;
  }
  .fypms-print-info tbody,
  .fypms-print-choices tbody,
  .fypms-print-info thead,
  .fypms-print-choices thead{
    display:table!important;
    width:100%!important;
    min-width:620px!important;
  }
  .fypms-print-info th,
  .fypms-print-info td,
  .fypms-print-choices th,
  .fypms-print-choices td{
    font-size:12px!important;
    padding:7px 8px!important;
    line-height:1.55!important;
  }
  .fypms-print-note{
    font-size:12px!important;
    line-height:1.8!important;
    border-radius:14px!important;
    margin:14px 0!important;
  }
  .fypms-a4-selection .fypms-signatures{
    flex-direction:column!important;
    align-items:stretch!important;
    gap:10px!important;
    margin-top:18px!important;
    font-size:13px!important;
  }
  .fypms-a4-selection .fypms-signatures p{
    white-space:normal!important;
    text-align:right!important;
  }
}
