:root{--dsspp-navy:#14334d;--dsspp-navy-2:#0b243b;--dsspp-gold:#c9a45c;--dsspp-gold-2:#b08b3f;--dsspp-cream:#fbf8f1;--dsspp-soft:#f5efe4;--dsspp-line:rgba(20,51,77,.22);--dsspp-line-strong:rgba(20,51,77,.42);--dsspp-text:#172b3f;--dsspp-muted:#667085;--dsspp-shadow:0 18px 42px rgba(20,51,77,.09);--dsspp-soft-shadow:0 9px 28px rgba(20,51,77,.06)}
.dsspp-wrap{font-family:"Segoe UI",Tahoma,Arial,sans-serif;background:linear-gradient(180deg,var(--dsspp-cream) 0%,#fff 48%,var(--dsspp-cream) 100%);color:var(--dsspp-text);padding:42px 42px 70px;box-sizing:border-box;line-height:1.65;letter-spacing:.005em;min-height:78vh}.dsspp-wrap *{box-sizing:border-box}.dsspp-portal-pad{padding-top:170px}.dsspp-ar{direction:rtl;text-align:right}.dsspp-client-area{direction:rtl;text-align:right}.dsspp-client-area .dsspp-table th,.dsspp-client-area .dsspp-table td{text-align:right}.dsspp-client-area input,.dsspp-client-area select,.dsspp-client-area textarea{direction:rtl;text-align:right}.dsspp-print-btn{position:static!important;margin:0}.dsspp-eyebrow{color:var(--dsspp-gold);text-transform:uppercase;font-size:13px;letter-spacing:.08em;font-weight:850}.dsspp-nav{display:flex;gap:10px;align-items:center;justify-content:flex-end;background:rgba(255,255,255,.86);border:1px solid rgba(20,51,77,.18);border-radius:28px;padding:12px;margin:0 0 24px;box-shadow:var(--dsspp-soft-shadow);position:sticky;top:16px;z-index:40;backdrop-filter:blur(10px)}.dsspp-nav a{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:var(--dsspp-navy);font-weight:850;border-radius:999px;padding:12px 18px;transition:.15s ease}.dsspp-nav a:hover{background:var(--dsspp-soft)}.dsspp-nav a.is-active{background:linear-gradient(135deg,var(--dsspp-gold),var(--dsspp-gold-2));color:#fff;box-shadow:0 12px 22px rgba(201,164,92,.24)}.dsspp-hero{background:radial-gradient(circle at 14% 16%,rgba(201,164,92,.18),transparent 30%),linear-gradient(135deg,var(--dsspp-navy-2),var(--dsspp-navy));color:#fff;border-radius:30px;padding:36px 40px;margin:0 0 28px;box-shadow:var(--dsspp-shadow);border:1px solid rgba(255,255,255,.13);overflow:hidden}.dsspp-hero h1{margin:6px 0 8px;color:#fff;font-size:40px;font-weight:750;letter-spacing:.01em}.dsspp-hero p{margin:0;color:rgba(255,255,255,.83);font-size:16px;max-width:920px}.dsspp-section-title{background:linear-gradient(180deg,#fff,#fdfaf4);border:1.5px solid var(--dsspp-line);border-radius:26px;padding:24px 28px;margin:0 0 24px;box-shadow:var(--dsspp-soft-shadow)}.dsspp-section-title h2{margin:0;color:var(--dsspp-navy);font-size:28px;font-weight:750}.dsspp-section-title p{margin:6px 0 0;color:var(--dsspp-muted)}.dsspp-grid{display:grid;gap:22px}.dsspp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.dsspp-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dsspp-card,.dsspp-chart-card{background:linear-gradient(180deg,#fff 0%,#fff 72%,#fdfaf4 100%);border:1.7px solid var(--dsspp-line-strong);border-radius:26px;padding:26px;margin:0 0 24px;box-shadow:var(--dsspp-soft-shadow);position:relative;overflow:hidden}.dsspp-card:before,.dsspp-chart-card:before{content:"";position:absolute;top:0;right:26px;width:96px;height:4px;background:linear-gradient(90deg,var(--dsspp-gold),#e4c77c);border-radius:0 0 8px 8px}.dsspp-ar .dsspp-card:before,.dsspp-ar .dsspp-chart-card:before{right:auto;left:26px}.dsspp-inner-card{background:linear-gradient(180deg,#fbf8f1,#fff);box-shadow:none;border-style:dashed}.dsspp-soft-card{background:linear-gradient(180deg,#fff,var(--dsspp-cream))}.dsspp-card h2,.dsspp-chart-card h2,.dsspp-chart-card h3{margin:0 0 18px;color:var(--dsspp-navy);font-size:24px;font-weight:760;letter-spacing:.005em}.dsspp-muted{color:var(--dsspp-muted);font-size:14px;margin:0 0 16px}.dsspp-form h2{padding-top:5px;margin-top:8px;border-top:1px solid rgba(20,51,77,.12)}.dsspp-form h2:first-of-type{border-top:0;margin-top:0}.dsspp-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:22px;align-items:start}.dsspp-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dsspp-field{min-width:0}.dsspp-field-wide{grid-column:span 1}.dsspp-field-button{display:flex;align-items:end}.dsspp-field label,.dsspp-form label{display:block;color:var(--dsspp-navy);font-weight:800;margin:0 0 7px;font-size:14px}.dsspp-field input,.dsspp-field select,.dsspp-field textarea,.dsspp-form input,.dsspp-form select,.dsspp-form textarea,.dsspp-toolbar input,.dsspp-inline-search input{width:100%;border:1.35px solid rgba(20,51,77,.26);border-radius:16px;background:#fff;color:var(--dsspp-text);padding:13px 15px;font-size:15px;font-weight:450;min-height:50px;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.9);transition:.14s ease}.dsspp-field textarea,.dsspp-form textarea{min-height:112px;resize:vertical;line-height:1.6}.dsspp-field input:focus,.dsspp-field select:focus,.dsspp-field textarea:focus{border-color:var(--dsspp-gold);box-shadow:0 0 0 3px rgba(201,164,92,.16)}.dsspp-check label{display:flex;align-items:center;gap:10px;border:1.35px solid rgba(20,51,77,.24);border-radius:16px;padding:13px 15px;background:#fff}.dsspp-check input{width:auto;min-height:auto}.dsspp-actions,.dsspp-toolbar,.dsspp-inline-search{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.dsspp-toolbar{justify-content:space-between;margin-bottom:18px}.dsspp-toolbar input,.dsspp-inline-search input{flex:1;min-width:250px}.dsspp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,var(--dsspp-gold),var(--dsspp-gold-2));color:#fff!important;border:1px solid var(--dsspp-gold);border-radius:999px;padding:11px 21px;font-weight:850;text-decoration:none;cursor:pointer;min-height:42px;white-space:nowrap;box-shadow:0 10px 22px rgba(201,164,92,.2)}.dsspp-btn:hover{filter:brightness(.98)}.dsspp-btn-light{background:#fff;color:var(--dsspp-navy)!important;border-color:var(--dsspp-line-strong);box-shadow:none}.dsspp-btn-tiny{padding:7px 12px;font-size:12px;min-height:32px}.dsspp-link{color:var(--dsspp-navy);font-weight:850;text-decoration:underline;text-underline-offset:3px}.dsspp-alert{border:1px solid rgba(36,128,86,.35);background:#f0fff8;color:#176d45;border-radius:18px;padding:16px 18px;margin-bottom:20px;font-weight:780}.dsspp-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;margin:0 0 24px}.dsspp-stats-3{grid-template-columns:repeat(3,minmax(0,1fr))}.dsspp-stats>div{background:linear-gradient(180deg,#fff,#fdfaf4);border:1.6px solid var(--dsspp-line);border-radius:22px;padding:21px;box-shadow:var(--dsspp-soft-shadow);position:relative;overflow:hidden}.dsspp-stats>div:before{content:"";position:absolute;top:0;right:20px;width:78px;height:4px;background:var(--dsspp-gold);border-radius:0 0 6px 6px}.dsspp-stats span{display:block;color:var(--dsspp-muted);font-weight:780}.dsspp-stats strong{display:block;color:var(--dsspp-navy);font-size:28px;margin:6px 0;font-weight:760}.dsspp-stats small{color:var(--dsspp-muted)}.dsspp-table-wrap{width:100%;overflow-x:auto;border:1.4px solid rgba(20,51,77,.2);border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.75)}.dsspp-table{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto;min-width:920px}.dsspp-table th,.dsspp-table td{border-bottom:1px solid rgba(20,51,77,.12);border-left:1px solid rgba(20,51,77,.08);padding:13px 14px;vertical-align:top;overflow-wrap:anywhere;word-break:break-word;font-size:14px;line-height:1.5}.dsspp-table th{background:#f7f1e7;color:var(--dsspp-navy);font-weight:820;white-space:normal}.dsspp-table td small{display:block;color:var(--dsspp-muted);margin-top:5px}.dsspp-table-compact th,.dsspp-table-compact td{padding:12px 14px;font-size:13px}.dsspp-empty{background:var(--dsspp-cream);border:1px dashed rgba(20,51,77,.25);border-radius:18px;padding:22px;text-align:center;color:var(--dsspp-muted);font-weight:700}.dsspp-badge{display:inline-flex;border-radius:999px;padding:5px 10px;background:var(--dsspp-cream);border:1px solid rgba(20,51,77,.16);font-size:12px;font-weight:780;color:var(--dsspp-navy);white-space:nowrap}.dsspp-pagination{display:flex;gap:8px;margin-top:18px;flex-wrap:wrap}.dsspp-pagination a,.dsspp-pagination span{border:1px solid var(--dsspp-line);border-radius:12px;padding:8px 12px;text-decoration:none;color:var(--dsspp-navy);font-weight:760}.dsspp-pagination a.is-active{background:var(--dsspp-navy);color:#fff}.dsspp-profile-head{display:flex;justify-content:space-between;gap:18px;align-items:center;background:radial-gradient(circle at 14% 18%,rgba(201,164,92,.18),transparent 32%),linear-gradient(135deg,var(--dsspp-navy-2),var(--dsspp-navy));color:#fff;border-radius:28px;padding:30px 34px;margin-bottom:24px;border:1px solid rgba(255,255,255,.14);box-shadow:var(--dsspp-shadow)}.dsspp-profile-head span{color:var(--dsspp-gold);font-weight:820;letter-spacing:.055em}.dsspp-profile-head h2{color:#fff;margin:6px 0;font-size:34px;font-weight:700}.dsspp-profile-head p{margin:0;color:rgba(255,255,255,.82)}.dsspp-dl{display:grid;grid-template-columns:155px minmax(0,1fr);gap:10px;margin:0}.dsspp-dl dt{font-weight:800;color:var(--dsspp-navy)}.dsspp-dl dd{margin:0;color:#344054;overflow-wrap:anywhere}.dsspp-mini-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.dsspp-mini-grid span{background:var(--dsspp-cream);border:1px solid rgba(20,51,77,.16);border-radius:16px;padding:14px}.dsspp-progress-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.dsspp-progress-summary>div{background:var(--dsspp-cream);border:1px solid rgba(20,51,77,.16);border-radius:18px;padding:16px}.dsspp-progress-summary span{display:block;color:var(--dsspp-muted);font-weight:780}.dsspp-progress-summary strong{display:block;color:var(--dsspp-navy);font-size:24px;font-weight:760}.dsspp-weight-chart{background:#fff;border:1px solid rgba(20,51,77,.14);border-radius:20px;padding:12px}.dsspp-weight-chart svg{width:100%;height:auto;display:block}.dsspp-chart-note{color:var(--dsspp-muted);font-size:13px;margin-top:10px}.dsspp-chart-bars{display:grid;gap:12px}.dsspp-chart-row{display:grid;grid-template-columns:minmax(110px,1.1fr) minmax(120px,2fr) minmax(55px,.7fr);gap:12px;align-items:center}.dsspp-chart-row span{font-weight:780;color:var(--dsspp-navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dsspp-chart-row div{height:16px;border-radius:999px;background:#eaf0f7;overflow:hidden;border:1px solid rgba(20,51,77,.08)}.dsspp-chart-row i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--dsspp-navy),#0b3b6f 72%,var(--dsspp-gold))}.dsspp-chart-row strong{font-weight:820;color:var(--dsspp-navy);text-align:end}.dsspp-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.dsspp-message-card textarea{width:100%;border:1.5px solid var(--dsspp-line);border-radius:18px;padding:16px;min-height:220px;direction:rtl;text-align:right}.dsspp-days{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0 20px}.dsspp-days label{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--dsspp-line);border-radius:999px;padding:10px 14px;font-weight:780}.dsspp-manual-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.dsspp-manual-row{display:grid;grid-template-columns:36px 1fr 120px;gap:8px;align-items:center;background:#fff;border:1px solid rgba(20,51,77,.16);border-radius:16px;padding:10px}.dsspp-inline-form{display:inline-block;margin:3px}.dsspp-mini-edit{display:inline-block;margin:3px}.dsspp-mini-edit summary{cursor:pointer;color:var(--dsspp-navy);font-weight:800}.dsspp-mini-edit form{display:grid;gap:8px;min-width:230px;background:var(--dsspp-cream);border:1px solid var(--dsspp-line);border-radius:16px;padding:12px;margin-top:8px}.dsspp-row-details summary{cursor:pointer;color:var(--dsspp-navy);font-weight:800}.dsspp-consult-details{display:grid;grid-template-columns:140px 1fr;gap:8px;margin:12px 0 0;background:#fbf8f1;border:1px solid rgba(20,51,77,.12);border-radius:14px;padding:12px}.dsspp-consult-details dt{font-weight:800;color:var(--dsspp-navy)}.dsspp-consult-details dd{margin:0}.dsspp-login-card{max-width:600px;margin:0 auto;background:linear-gradient(180deg,#fff,#fdfaf4);border:1.6px solid var(--dsspp-line-strong);border-radius:28px;padding:36px;box-shadow:var(--dsspp-shadow)}.dsspp-login-card h2{color:var(--dsspp-navy);font-size:30px;margin:8px 0 12px;font-weight:720}.dsspp-login-card p{color:var(--dsspp-muted)}.dsspp-login-card input[type=text],.dsspp-login-card input[type=password]{width:100%;border:1.4px solid rgba(20,51,77,.28);border-radius:16px;padding:13px 15px}.dsspp-login-card input[type=submit]{background:linear-gradient(135deg,var(--dsspp-gold),var(--dsspp-gold-2));color:#fff;border:0;border-radius:999px;padding:12px 26px;font-weight:820}.dsspp-login-divider{height:1px;background:rgba(20,51,77,.12);margin:20px 0}.dsspp-patient-result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:-8px 0 22px}.dsspp-result-card{display:block;text-decoration:none;background:#fff;border:1.5px solid var(--dsspp-line);border-radius:18px;padding:14px;color:var(--dsspp-text);box-shadow:var(--dsspp-soft-shadow)}.dsspp-result-card strong{display:block;color:var(--dsspp-navy);font-weight:820}.dsspp-result-card span,.dsspp-result-card small{display:block;color:var(--dsspp-muted);margin-top:4px}.dsspp-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.dsspp-calendar-day{min-height:125px;background:#fff;border:1.35px solid rgba(20,51,77,.18);border-radius:18px;padding:10px;overflow:hidden}.dsspp-calendar-day.is-empty{background:transparent;border:0}.dsspp-calendar-date{font-weight:820;color:var(--dsspp-navy);margin-bottom:8px}.dsspp-calendar-event{display:block;text-decoration:none;border:1px solid rgba(201,164,92,.36);background:#fffaf0;border-radius:14px;padding:8px;margin-bottom:7px;color:var(--dsspp-navy);font-size:12px;line-height:1.35}.dsspp-calendar-event b,.dsspp-calendar-event span,.dsspp-calendar-event small{display:block;overflow:hidden;text-overflow:ellipsis}.dsspp-calendar-event small{color:var(--dsspp-muted)}

.dsspp-finance-card .dsspp-mini-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dsspp-finance-card span strong{display:block;margin-top:5px;color:var(--dsspp-navy)}.dsspp-filter-card .dsspp-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.dsspp-filter-card .dsspp-field{margin:0}.dsspp-consult-card-list{display:grid;gap:14px}.dsspp-consult-card{background:linear-gradient(180deg,#fff,#fdfaf4);border:1.55px solid var(--dsspp-line-strong);border-radius:22px;padding:18px 20px;box-shadow:var(--dsspp-soft-shadow)}.dsspp-consult-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(20,51,77,.10);padding-bottom:12px;margin-bottom:12px}.dsspp-consult-card-head strong{display:block;color:var(--dsspp-navy);font-weight:850;font-size:16px}.dsspp-consult-card-head span:not(.dsspp-badge){display:block;color:var(--dsspp-muted);margin-top:4px}.dsspp-consult-mini{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}.dsspp-consult-mini>span{background:var(--dsspp-cream);border:1px solid rgba(20,51,77,.15);border-radius:14px;padding:10px;color:var(--dsspp-muted)}.dsspp-consult-mini strong{color:var(--dsspp-navy)}.dsspp-consult-full summary{cursor:pointer;color:var(--dsspp-navy);font-weight:850;background:#fff;border:1px solid rgba(20,51,77,.16);border-radius:14px;padding:10px 14px;display:inline-flex}.dsspp-consult-details-wide{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px;margin:14px 0 0;background:#fff;border:1px solid rgba(20,51,77,.14);border-radius:18px;padding:16px}.dsspp-consult-details-wide dt{font-weight:850;color:var(--dsspp-navy)}.dsspp-consult-details-wide dd{margin:0;color:#344054;overflow-wrap:anywhere}.dsspp-client-area .dsspp-profile-head,.dsspp-client-area .dsspp-card,.dsspp-client-area .dsspp-chart-card{border-width:1.8px}.dsspp-client-area .dsspp-profile-head{text-align:right}.dsspp-form-grid .dsspp-field textarea{min-height:118px}.dsspp-toolbar .dsspp-field input{min-width:0}.dsspp-print-mode header,.dsspp-print-mode footer,.dsspp-print-mode .site-header,.dsspp-print-mode .site-footer,.dsspp-print-mode #masthead,.dsspp-print-mode #colophon,.dsspp-print-mode .elementor-location-footer,.dsspp-print-mode .elementor-location-header{display:none!important}
@media (max-width:1280px){.dsspp-stats{grid-template-columns:repeat(2,1fr)}.dsspp-grid-3{grid-template-columns:repeat(2,1fr)}.dsspp-patient-result-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:980px){.dsspp-grid-3,.dsspp-grid-2,.dsspp-form-grid,.dsspp-selector-grid,.dsspp-manual-grid,.dsspp-stat-grid{grid-template-columns:1fr!important}.dsspp-mini-grid,.dsspp-progress-summary{grid-template-columns:1fr 1fr}.dsspp-profile-head{display:block}.dsspp-portal-pad{padding-top:135px}.dsspp-wrap{padding:24px}.dsspp-hero h1{font-size:32px}.dsspp-calendar-grid{grid-template-columns:1fr}.dsspp-calendar-day.is-empty{display:none}.dsspp-table{min-width:760px}.dsspp-table-wrap{overflow-x:auto}.dsspp-filter-card .dsspp-toolbar,.dsspp-finance-card .dsspp-mini-grid,.dsspp-consult-mini{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.dsspp-stats,.dsspp-mini-grid,.dsspp-progress-summary,.dsspp-patient-result-grid{grid-template-columns:1fr}.dsspp-wrap{padding:16px}.dsspp-portal-pad{padding-top:115px}.dsspp-hero{padding:28px}.dsspp-dl{grid-template-columns:1fr}.dsspp-manual-row{grid-template-columns:1fr}.dsspp-nav{justify-content:flex-start;overflow-x:auto}.dsspp-nav a{padding:10px 14px}.dsspp-chart-row{grid-template-columns:1fr}.dsspp-chart-row strong{text-align:start}.dsspp-consult-details,.dsspp-consult-details-wide{grid-template-columns:1fr}.dsspp-filter-card .dsspp-toolbar,.dsspp-consult-mini,.dsspp-finance-card .dsspp-mini-grid{grid-template-columns:1fr}}
@media print{html,body{background:#fff!important}.dsspp-wrap{padding:0!important;background:#fff!important;max-width:none!important}.dsspp-wrap:before{display:none!important}.dsspp-nav,.dsspp-print-btn,.dsspp-actions,.dsspp-btn,.dsspp-toolbar,.dsspp-inline-search,.dsspp-mini-edit,header,footer,.site-header,.site-footer,#masthead,#colophon,.elementor-location-footer,.elementor-location-header{display:none!important}.dsspp-card,.dsspp-profile-head,.dsspp-chart-card{box-shadow:none!important;break-inside:avoid;border-color:#1e3a56!important}.dsspp-table-wrap{overflow:visible!important}.dsspp-table{min-width:0!important;font-size:10px!important}.dsspp-table th,.dsspp-table td{padding:6px!important}.dsspp-portal-pad{padding-top:0!important}.dsspp-hero{display:none!important}a[href]:after{content:""!important}}

/* v0.2.3 client language and finance refinements */
.dsspp-login-top{display:flex;justify-content:flex-start;margin-bottom:14px}
.dsspp-client-area.dsspp-en{direction:ltr;text-align:left}
.dsspp-client-area.dsspp-en .dsspp-table th,.dsspp-client-area.dsspp-en .dsspp-table td{text-align:left}
.dsspp-client-area.dsspp-en input,.dsspp-client-area.dsspp-en select,.dsspp-client-area.dsspp-en textarea{direction:ltr;text-align:left}
.dsspp-balance-positive{color:#16834c!important}
.dsspp-balance-negative{color:#b42318!important}
.dsspp-profile-head 
.dsspp-consult-details-wide{min-width:0;width:100%;grid-template-columns:minmax(150px,220px) minmax(0,1fr)}
.dsspp-consult-details-wide dd{min-width:0;white-space:normal;line-height:1.7}
.dsspp-consult-full[open] summary{margin-bottom:10px}
.dsspp-client-area.dsspp-en .dsspp-profile-head{text-align:left}

/* v0.2.4 compact premium grid refinements */
.dsspp-wrap{--dsspp-compact-gap:16px}
.dsspp-grid{gap:var(--dsspp-compact-gap)}
.dsspp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.dsspp-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.dsspp-card,.dsspp-chart-card{padding:18px 20px;margin-bottom:16px;border-radius:22px;border-width:1.8px}
.dsspp-card h2,.dsspp-chart-card h2{font-size:22px;line-height:1.25;margin:0 0 12px}
.dsspp-card p,.dsspp-muted{line-height:1.55;margin-top:6px;margin-bottom:10px}
.dsspp-profile-head{padding:22px 26px;margin-bottom:16px;border-radius:24px}
.dsspp-profile-head h2{font-size:30px;line-height:1.25;margin:6px 0 6px}.dsspp-profile-head p{margin:0}
.dsspp-hero{padding:26px 32px;margin-bottom:16px;border-radius:24px}.dsspp-hero h1{font-size:38px;line-height:1.2}.dsspp-hero p{margin:8px 0 0}
.dsspp-stats{gap:12px;margin-bottom:16px}.dsspp-stats>div{padding:14px 16px;border-radius:18px}.dsspp-stats>div strong{font-size:26px;line-height:1.15}.dsspp-stats>div small{margin-top:5px}
.dsspp-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px;margin-bottom:16px}.dsspp-selector-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.dsspp-field label,.dsspp-form label{font-size:13px;margin-bottom:5px}.dsspp-field input,.dsspp-field select,.dsspp-field textarea,.dsspp-form input,.dsspp-form select,.dsspp-form textarea{min-height:42px;padding:10px 12px;border-radius:14px}.dsspp-form-grid .dsspp-field textarea{min-height:92px}
.dsspp-table th,.dsspp-table td{padding:9px 11px;line-height:1.45;vertical-align:middle}.dsspp-table small{line-height:1.35}.dsspp-table-wrap{border-radius:16px}
.dsspp-dl{gap:7px 12px}.dsspp-dl dt,.dsspp-dl dd{line-height:1.5}.dsspp-mini-grid{gap:10px}.dsspp-mini-grid span{padding:10px 12px;border-radius:14px}.dsspp-progress-summary{gap:10px;margin-bottom:12px}.dsspp-progress-summary>div{padding:11px 12px;border-radius:14px}
.dsspp-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(168px,1fr));gap:10px;align-items:stretch}.dsspp-summary-item{background:linear-gradient(180deg,#fffaf0,#fbf7ef);border:1.35px solid rgba(20,51,77,.18);border-radius:16px;padding:11px 13px;min-width:0;box-shadow:0 10px 22px rgba(20,51,77,.055)}.dsspp-summary-item span{display:block;color:var(--dsspp-muted);font-size:12.5px;font-weight:800;margin-bottom:5px}.dsspp-summary-item strong{display:block;color:var(--dsspp-navy);font-size:16px;line-height:1.45;overflow-wrap:anywhere}.dsspp-summary-item small{display:block;color:var(--dsspp-muted);font-size:11.5px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dsspp-summary-next{border-color:rgba(201,164,92,.55);background:linear-gradient(180deg,#fff,#fff8e8)}
.dsspp-finance-card.dsspp-compact-card{padding:16px 18px}.dsspp-finance-card.dsspp-compact-card h2{margin-bottom:10px}.dsspp-client-area .dsspp-finance-card{margin-bottom:14px}
.dsspp-consult-card-list{gap:10px}.dsspp-consult-card{padding:14px 16px;border-radius:18px}.dsspp-consult-card-head{padding-bottom:9px;margin-bottom:10px}.dsspp-consult-mini{gap:8px}.dsspp-consult-mini>span{padding:8px 10px;border-radius:12px}.dsspp-consult-details-wide{padding:12px;gap:8px;border-radius:14px}
@media (min-width:1320px){.dsspp-finance-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.dsspp-finance-summary-grid .dsspp-summary-item:nth-child(6){grid-column:auto}}
@media (max-width:1180px){.dsspp-form-grid,.dsspp-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dsspp-finance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.dsspp-form-grid,.dsspp-selector-grid,.dsspp-finance-summary-grid{grid-template-columns:1fr!important}.dsspp-card,.dsspp-chart-card{padding:15px 14px}.dsspp-profile-head{padding:18px}.dsspp-hero{padding:22px}.dsspp-card h2,.dsspp-chart-card h2{font-size:20px}}

/* v0.2.5 consultation details, calendar navigation, and status colors */
.dsspp-status-badge{font-weight:900;border-width:1.4px}
.dsspp-status-done{background:#ecfdf3!important;border-color:#75c99a!important;color:#16784b!important}
.dsspp-status-postponed{background:#fff8db!important;border-color:#e3bf47!important;color:#8a6500!important}
.dsspp-status-missed{background:#fff1f0!important;border-color:#f19a93!important;color:#b42318!important}
.dsspp-status-scheduled{background:#eef6ff!important;border-color:#9fc7ee!important;color:#14334d!important}
.dsspp-status-cancelled{background:#f2f4f7!important;border-color:#d0d5dd!important;color:#475467!important}
.dsspp-btn-done{background:#16834c!important;border-color:#16834c!important;box-shadow:none!important;color:#fff!important}
.dsspp-btn-postponed{background:#d7a52a!important;border-color:#d7a52a!important;box-shadow:none!important;color:#fff!important}
.dsspp-btn-missed{background:#b42318!important;border-color:#b42318!important;box-shadow:none!important;color:#fff!important}
.dsspp-row-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.dsspp-status-action-form{margin:0!important;display:inline-flex!important}
.dsspp-consult-details-wide{grid-template-columns:minmax(135px,190px) minmax(0,1fr)!important;align-items:start}
.dsspp-consult-details-wide dt{padding:5px 0;border-bottom:1px solid rgba(20,51,77,.06)}
.dsspp-consult-details-wide dd{padding:5px 0;border-bottom:1px solid rgba(20,51,77,.06)}
.dsspp-calendar-toolbar{display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;margin-bottom:18px}
.dsspp-calendar-toolbar h2{margin:0;text-align:center;color:var(--dsspp-navy);font-size:24px;font-weight:850}
.dsspp-cal-arrow{min-width:118px}
.dsspp-calendar-event small{display:inline-flex;margin-top:5px;border-radius:999px;padding:2px 7px;background:rgba(20,51,77,.08);font-weight:800}
@media (max-width:780px){.dsspp-calendar-toolbar{grid-template-columns:1fr 1fr}.dsspp-calendar-toolbar h2{grid-column:1/-1;grid-row:1}.dsspp-calendar-toolbar .dsspp-btn{width:100%}.dsspp-consult-details-wide{grid-template-columns:1fr!important}.dsspp-row-actions{gap:5px}}
.dsspp-calendar-event-done{border-color:#75c99a!important;background:#f0fff6!important}
.dsspp-calendar-event-postponed{border-color:#e3bf47!important;background:#fff9df!important}
.dsspp-calendar-event-missed{border-color:#f19a93!important;background:#fff1f0!important}

/* v0.2.8 consultation status workflow, PDF plan icon, and calendar refinements */
.dsspp-pdf-link{display:inline-flex!important;align-items:center;gap:7px;text-decoration:none!important;font-weight:900;color:var(--dsspp-navy)!important;white-space:nowrap}
.dsspp-pdf-icon{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:24px;border-radius:7px;background:#b42318;color:#fff;font-size:10px;font-weight:950;letter-spacing:.06em;box-shadow:0 6px 14px rgba(180,35,24,.14)}
.dsspp-status-select-form{display:grid;grid-template-columns:minmax(120px,1fr) auto;gap:8px;align-items:center;max-width:360px;margin:0}
.dsspp-status-select-form select{min-height:36px;border:1.2px solid var(--dsspp-line);border-radius:12px;padding:7px 10px;background:#fff;color:var(--dsspp-navy);font-weight:850;width:100%}
.dsspp-postpone-fields{grid-column:1/-1;display:none;grid-template-columns:72px minmax(128px,1fr) 62px minmax(96px,120px);gap:6px;align-items:center;background:#fff9df;border:1px solid rgba(215,165,42,.38);border-radius:12px;padding:8px}
.dsspp-postpone-fields label{font-size:11px;font-weight:900;color:#8a6500;margin:0!important}
.dsspp-postpone-fields input{min-height:34px!important;border-radius:10px!important;padding:6px 8px!important;font-size:12px!important}
.dsspp-row-actions-stack{align-items:flex-start;gap:8px;flex-direction:column}
.dsspp-row-actions-stack .dsspp-link{font-weight:950;margin-bottom:2px}
.dsspp-calendar-day{min-height:156px;overflow:visible;display:flex;flex-direction:column;gap:6px}
.dsspp-calendar-event{display:block;width:100%;margin:0;line-height:1.25;overflow:hidden;text-overflow:ellipsis}
.dsspp-calendar-event span{display:block;white-space:normal;overflow-wrap:anywhere}
.dsspp-calendar-event-postponed{text-decoration:line-through;text-decoration-thickness:2px;text-decoration-color:#8a6500;opacity:.88}
.dsspp-calendar-event-postponed small{text-decoration:none!important}
.dsspp-chart-row span{text-transform:capitalize}
@media (max-width:780px){.dsspp-status-select-form{max-width:none;grid-template-columns:1fr auto}.dsspp-postpone-fields{grid-template-columns:1fr}.dsspp-calendar-day{min-height:auto}}

/* ============================================================
   DSS Patient Portal v0.2.9 — UI Refresh only
   Inspired by the v3 modern dashboard visual system.
   Logic remains Patient → Booking → Consultations → Payments.
   ============================================================ */
.dsspp-ui-refresh{
  --dsspp-navy:#071b33;
  --dsspp-navy-2:#0e2c4d;
  --dsspp-navy-3:#173a5a;
  --dsspp-gold:#c9a45c;
  --dsspp-gold-2:#b98b38;
  --dsspp-cream:#fbf8f1;
  --dsspp-page:#f6f7fb;
  --dsspp-card:#ffffff;
  --dsspp-card-2:#fffdf8;
  --dsspp-line:#d9e2ec;
  --dsspp-line-strong:#afbfcd;
  --dsspp-text:#102a43;
  --dsspp-muted:#62748a;
  --dsspp-soft:#eef3f8;
  --dsspp-green:#0f8a4b;
  --dsspp-green-bg:#eafaf1;
  --dsspp-yellow:#d69e1f;
  --dsspp-yellow-bg:#fff7df;
  --dsspp-red:#c62828;
  --dsspp-red-bg:#fff0ef;
  --dsspp-blue:#2563eb;
  --dsspp-blue-bg:#eef5ff;
  --dsspp-radius:18px;
  --dsspp-radius-lg:24px;
  --dsspp-shadow:0 18px 45px rgba(7,27,51,.08);
  --dsspp-shadow-sm:0 8px 24px rgba(7,27,51,.055);
  font-family:"Inter","Plus Jakarta Sans","Segoe UI",Tahoma,Arial,sans-serif;
  background:
    radial-gradient(circle at 8% 0%,rgba(201,164,92,.14),transparent 24%),
    linear-gradient(180deg,#f7f9fc 0%,#fbf8f1 100%);
  color:var(--dsspp-text);
  letter-spacing:.002em;
}
.dsspp-ui-refresh.dsspp-client-area,
.dsspp-ui-refresh.dsspp-ar,
.dsspp-ui-refresh .dsspp-ar{
  font-family:"Cairo","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
}

/* Admin shell: modern sidebar + compact content */
.dsspp-admin-area{
  min-height:100vh;
  padding:24px 28px 56px 292px!important;
}
.dsspp-admin-area .dsspp-nav{
  position:fixed;
  inset:18px auto 18px 18px;
  width:248px;
  height:calc(100vh - 36px);
  z-index:999;
  margin:0;
  padding:18px 14px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:stretch;
  gap:6px;
  overflow-y:auto;
  background:
    radial-gradient(circle at 0 0,rgba(201,164,92,.18),transparent 28%),
    linear-gradient(180deg,#06172c 0%,#0d294a 100%);
  border:1px solid rgba(255,255,255,.08);
  border-radius:26px;
  box-shadow:0 22px 55px rgba(7,27,51,.24);
  backdrop-filter:none;
}
.dsspp-admin-area .dsspp-nav:before{
  content:"بوابة عملاء د. سارة";
  display:block;
  padding:10px 12px 18px;
  margin:0 0 10px;
  color:#fff;
  font-weight:900;
  font-size:19px;
  line-height:1.15;
  letter-spacing:-.03em;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.dsspp-admin-area .dsspp-nav:after{
  content:"عيادة د. سارة صقر";
  display:block;
  color:rgba(255,255,255,.56);
  font-size:12px;
  font-weight:700;
  padding:14px 12px 4px;
  margin-top:auto;
}
.dsspp-admin-area .dsspp-nav a{
  justify-content:flex-start;
  gap:10px;
  width:100%;
  min-height:42px;
  border-radius:15px;
  padding:11px 13px;
  color:rgba(255,255,255,.78);
  font-weight:800;
  font-size:14px;
  line-height:1.25;
  box-shadow:none;
}
.dsspp-admin-area .dsspp-nav a:before{
  content:"";
  width:8px;
  height:8px;
  min-width:8px;
  border-radius:999px;
  background:rgba(255,255,255,.28);
}
.dsspp-admin-area .dsspp-nav a:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}
.dsspp-admin-area .dsspp-nav a.is-active{
  color:#fff;
  background:linear-gradient(135deg,rgba(201,164,92,.95),rgba(185,139,56,.95));
  box-shadow:0 14px 28px rgba(201,164,92,.22);
}
.dsspp-admin-area .dsspp-nav a.is-active:before{background:#fff;}

/* Hero as SaaS top header */
.dsspp-ui-refresh .dsspp-hero,
.dsspp-ui-refresh .dsspp-profile-head{
  border-radius:28px;
  padding:26px 30px;
  margin:0 0 18px;
  background:
    radial-gradient(circle at 12% 12%,rgba(201,164,92,.22),transparent 26%),
    linear-gradient(135deg,#071b33 0%,#12395d 100%);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:var(--dsspp-shadow);
}
.dsspp-ui-refresh .dsspp-hero h1,
.dsspp-ui-refresh .dsspp-profile-head h2{
  font-size:30px;
  font-weight:850;
  letter-spacing:-.035em;
  margin:6px 0 5px;
}
.dsspp-ui-refresh .dsspp-hero p,
.dsspp-ui-refresh .dsspp-profile-head p{
  color:rgba(255,255,255,.74);
  max-width:900px;
}
.dsspp-ui-refresh .dsspp-eyebrow{
  color:var(--dsspp-gold);
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}

/* Compact modern cards */
.dsspp-ui-refresh .dsspp-card,
.dsspp-ui-refresh .dsspp-chart-card,
.dsspp-ui-refresh .dsspp-section-title,
.dsspp-ui-refresh .dsspp-login-card{
  background:linear-gradient(180deg,#fff 0%,#fffdf9 100%);
  border:1px solid var(--dsspp-line);
  border-radius:22px;
  padding:20px;
  margin:0 0 16px;
  box-shadow:var(--dsspp-shadow-sm);
  overflow:hidden;
}
.dsspp-ui-refresh .dsspp-card:before,
.dsspp-ui-refresh .dsspp-chart-card:before{
  display:none!important;
}
.dsspp-ui-refresh .dsspp-card:hover,
.dsspp-ui-refresh .dsspp-chart-card:hover{
  border-color:#c4d0dc;
}
.dsspp-ui-refresh .dsspp-inner-card{
  background:linear-gradient(180deg,#fbf8f1 0%,#fff 100%);
  border:1px dashed #cad6e2;
  box-shadow:none;
}
.dsspp-ui-refresh .dsspp-card h2,
.dsspp-ui-refresh .dsspp-chart-card h2,
.dsspp-ui-refresh .dsspp-chart-card h3,
.dsspp-ui-refresh .dsspp-section-title h2{
  color:var(--dsspp-navy);
  font-size:20px;
  font-weight:900;
  letter-spacing:-.025em;
  margin:0 0 14px;
}
.dsspp-ui-refresh .dsspp-section-title p,
.dsspp-ui-refresh .dsspp-muted{
  color:var(--dsspp-muted);
  font-size:13px;
  line-height:1.55;
}
.dsspp-ui-refresh .dsspp-card-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:12px;
}
.dsspp-ui-refresh .dsspp-card-head h2{margin-bottom:0;}

/* Denser grids */
.dsspp-ui-refresh .dsspp-grid{gap:16px;}
.dsspp-ui-refresh .dsspp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.dsspp-ui-refresh .dsspp-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.dsspp-ui-refresh .dsspp-form-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin-bottom:16px;
  align-items:start;
}
.dsspp-ui-refresh .dsspp-selector-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
.dsspp-ui-refresh .dsspp-field-wide{grid-column:span 1;}
.dsspp-ui-refresh .dsspp-compact-filter .dsspp-form-grid,
.dsspp-ui-refresh .dsspp-selector-form .dsspp-form-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
}

/* Forms */
.dsspp-ui-refresh .dsspp-field label,
.dsspp-ui-refresh .dsspp-form label{
  color:var(--dsspp-navy);
  font-size:12px;
  font-weight:900;
  margin:0 0 6px;
}
.dsspp-ui-refresh .dsspp-field input,
.dsspp-ui-refresh .dsspp-field select,
.dsspp-ui-refresh .dsspp-field textarea,
.dsspp-ui-refresh .dsspp-form input,
.dsspp-ui-refresh .dsspp-form select,
.dsspp-ui-refresh .dsspp-form textarea,
.dsspp-ui-refresh .dsspp-toolbar input,
.dsspp-ui-refresh .dsspp-inline-search input{
  min-height:42px;
  border-radius:13px;
  padding:10px 12px;
  border:1px solid #cad6e2;
  background:#fff;
  color:var(--dsspp-text);
  font-size:14px;
  font-weight:600;
  box-shadow:0 1px 0 rgba(255,255,255,.9), inset 0 1px 2px rgba(7,27,51,.025);
}
.dsspp-ui-refresh .dsspp-field textarea,
.dsspp-ui-refresh .dsspp-form textarea{
  min-height:86px;
}
.dsspp-ui-refresh .dsspp-field input:focus,
.dsspp-ui-refresh .dsspp-field select:focus,
.dsspp-ui-refresh .dsspp-field textarea:focus,
.dsspp-ui-refresh .dsspp-form input:focus,
.dsspp-ui-refresh .dsspp-form select:focus,
.dsspp-ui-refresh .dsspp-form textarea:focus{
  border-color:var(--dsspp-gold);
  box-shadow:0 0 0 4px rgba(201,164,92,.14);
}
.dsspp-ui-refresh .dsspp-check label{
  border-radius:13px;
  padding:10px 12px;
}

/* Buttons */
.dsspp-ui-refresh .dsspp-btn{
  min-height:38px;
  padding:9px 16px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--dsspp-gold),var(--dsspp-gold-2));
  border:0;
  color:#fff!important;
  font-size:13px;
  font-weight:900;
  box-shadow:0 10px 22px rgba(201,164,92,.20);
}
.dsspp-ui-refresh .dsspp-btn-light{
  color:var(--dsspp-navy)!important;
  background:#fff;
  border:1px solid var(--dsspp-line);
  box-shadow:none;
}
.dsspp-ui-refresh .dsspp-btn-tiny{
  min-height:30px;
  padding:6px 11px;
  font-size:12px;
}
.dsspp-ui-refresh .dsspp-link{
  color:var(--dsspp-navy);
  font-weight:900;
  text-decoration:none;
  border-bottom:1px dashed rgba(7,27,51,.35);
}

/* Overview statistics as v3-style metrics */
.dsspp-ui-refresh .dsspp-stats,
.dsspp-ui-refresh .dsspp-summary-grid,
.dsspp-ui-refresh .dsspp-finance-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 0 16px;
}
.dsspp-ui-refresh .dsspp-stats-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.dsspp-ui-refresh .dsspp-stats>div,
.dsspp-ui-refresh .dsspp-summary-grid>div,
.dsspp-ui-refresh .dsspp-finance-summary-grid>div,
.dsspp-ui-refresh .dsspp-mini-grid span,
.dsspp-ui-refresh .dsspp-progress-summary>div{
  background:linear-gradient(180deg,#fff 0%,#fffaf1 100%);
  border:1px solid var(--dsspp-line);
  border-radius:18px;
  padding:14px 15px;
  min-height:86px;
  box-shadow:0 8px 20px rgba(7,27,51,.04);
  position:relative;
  overflow:hidden;
}
.dsspp-ui-refresh .dsspp-stats>div:before,
.dsspp-ui-refresh .dsspp-summary-grid>div:before,
.dsspp-ui-refresh .dsspp-finance-summary-grid>div:before{
  content:"";
  position:absolute;
  top:0;
  inset-inline-start:0;
  width:100%;
  height:3px;
  background:linear-gradient(90deg,var(--dsspp-gold),rgba(201,164,92,.15));
}
.dsspp-ui-refresh .dsspp-stats span,
.dsspp-ui-refresh .dsspp-summary-grid span,
.dsspp-ui-refresh .dsspp-finance-summary-grid span,
.dsspp-ui-refresh .dsspp-progress-summary span{
  display:block;
  color:var(--dsspp-muted);
  font-weight:800;
  font-size:12px;
  margin-bottom:5px;
}
.dsspp-ui-refresh .dsspp-stats strong,
.dsspp-ui-refresh .dsspp-summary-grid strong,
.dsspp-ui-refresh .dsspp-finance-summary-grid strong,
.dsspp-ui-refresh .dsspp-progress-summary strong{
  display:block;
  color:var(--dsspp-navy);
  font-size:22px;
  font-weight:900;
  letter-spacing:-.03em;
  margin:0;
}
.dsspp-ui-refresh .dsspp-stats small,
.dsspp-ui-refresh .dsspp-summary-grid small,
.dsspp-ui-refresh .dsspp-finance-summary-grid small{color:var(--dsspp-muted);}

/* Tables */
.dsspp-ui-refresh .dsspp-table-wrap{
  border:1px solid var(--dsspp-line);
  border-radius:18px;
  overflow:auto;
  background:#fff;
  box-shadow:none;
}
.dsspp-ui-refresh .dsspp-table{
  min-width:820px;
  border-collapse:separate;
  border-spacing:0;
}
.dsspp-ui-refresh .dsspp-table th{
  background:#f6f0e6;
  color:var(--dsspp-navy);
  font-size:12px;
  font-weight:950;
  letter-spacing:.01em;
  padding:11px 12px;
  border-bottom:1px solid #e1d8c8;
  white-space:nowrap;
}
.dsspp-ui-refresh .dsspp-table td{
  padding:11px 12px;
  border-bottom:1px solid #eef2f6;
  border-left:0;
  color:#243b53;
  font-size:13px;
  line-height:1.45;
  vertical-align:middle;
  overflow-wrap:anywhere;
  word-break:normal;
}
.dsspp-ui-refresh .dsspp-table tr:hover td{background:#fbfdff;}
.dsspp-ui-refresh .dsspp-table td small{color:var(--dsspp-muted);font-size:12px;}
.dsspp-ui-refresh .dsspp-table-compact th,
.dsspp-ui-refresh .dsspp-table-compact td{padding:9px 10px;font-size:12.5px;}

/* Badges and status pills */
.dsspp-ui-refresh .dsspp-badge,
.dsspp-ui-refresh .dsspp-status,
.dsspp-ui-refresh .dsspp-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid #dbe4ee;
  background:#f8fafc;
  color:var(--dsspp-navy);
  font-size:12px;
  font-weight:900;
  white-space:nowrap;
}
.dsspp-ui-refresh .dsspp-badge-done,
.dsspp-ui-refresh .dsspp-status-done,
.dsspp-ui-refresh .dsspp-calendar-event-done{background:var(--dsspp-green-bg)!important;color:var(--dsspp-green)!important;border-color:#bfe9cf!important;}
.dsspp-ui-refresh .dsspp-badge-scheduled,
.dsspp-ui-refresh .dsspp-status-scheduled{background:var(--dsspp-blue-bg)!important;color:var(--dsspp-blue)!important;border-color:#c9ddff!important;}
.dsspp-ui-refresh .dsspp-badge-postponed,
.dsspp-ui-refresh .dsspp-status-postponed,
.dsspp-ui-refresh .dsspp-calendar-event-postponed{background:var(--dsspp-yellow-bg)!important;color:#9b6d07!important;border-color:#f1d37a!important;}
.dsspp-ui-refresh .dsspp-badge-missed,
.dsspp-ui-refresh .dsspp-status-missed,
.dsspp-ui-refresh .dsspp-calendar-event-missed{background:var(--dsspp-red-bg)!important;color:var(--dsspp-red)!important;border-color:#f5b9b3!important;}

/* Profile layout */
.dsspp-ui-refresh .dsspp-dl{
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  gap:8px 12px;
  margin:0;
}
.dsspp-client-area .dsspp-dl{grid-template-columns:140px minmax(0,1fr);}
.dsspp-ui-refresh .dsspp-dl dt{
  color:var(--dsspp-muted);
  font-size:12px;
  font-weight:900;
}
.dsspp-ui-refresh .dsspp-dl dd{
  margin:0;
  color:var(--dsspp-text);
  font-size:14px;
  font-weight:700;
}
.dsspp-ui-refresh .dsspp-mini-grid,
.dsspp-ui-refresh .dsspp-progress-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
}
.dsspp-ui-refresh .dsspp-progress-summary{grid-template-columns:repeat(3,minmax(0,1fr));}
.dsspp-ui-refresh .dsspp-finance-card.dsspp-compact-card{padding:16px;}
.dsspp-ui-refresh .dsspp-finance-card.dsspp-compact-card h2{font-size:18px;margin-bottom:12px;}

/* Consultation cards in patient Arabic area */
.dsspp-ui-refresh .dsspp-consult-card,
.dsspp-ui-refresh .dsspp-detail-card{
  background:#fff;
  border:1px solid var(--dsspp-line);
  border-radius:18px;
  padding:15px;
  margin:0 0 12px;
  box-shadow:0 8px 20px rgba(7,27,51,.045);
}
.dsspp-ui-refresh details.dsspp-consult-card summary,
.dsspp-ui-refresh details summary{
  cursor:pointer;
  color:var(--dsspp-navy);
  font-weight:900;
}
.dsspp-ui-refresh .dsspp-consult-details-wide{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.dsspp-ui-refresh .dsspp-consult-details-wide>div{
  background:#fbf8f1;
  border:1px solid #e6dccb;
  border-radius:14px;
  padding:10px;
}

/* Status update action column */
.dsspp-ui-refresh .dsspp-status-select-form{
  max-width:330px;
  display:grid;
  grid-template-columns:minmax(120px,1fr) auto;
  gap:7px;
  align-items:center;
}
.dsspp-ui-refresh .dsspp-status-select-form select{
  min-height:34px;
  border-radius:12px;
  border:1px solid #cad6e2;
  padding:6px 10px;
  font-weight:850;
}
.dsspp-ui-refresh .dsspp-postpone-fields{
  grid-column:1/-1;
  background:#fff7df;
  border:1px solid #f1d37a;
  border-radius:14px;
  padding:8px;
}

/* Calendar */
.dsspp-ui-refresh .dsspp-calendar-toolbar{
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  gap:10px;
  align-items:center;
  margin-bottom:14px;
}
.dsspp-ui-refresh .dsspp-calendar-toolbar h2{
  text-align:center;
  margin:0;
}
.dsspp-ui-refresh .dsspp-calendar{
  display:grid;
  grid-template-columns:repeat(7,minmax(120px,1fr));
  gap:8px;
}
.dsspp-ui-refresh .dsspp-calendar-head{
  background:#071b33;
  color:#fff;
  border-radius:14px;
  padding:8px;
  text-align:center;
  font-weight:900;
  font-size:12px;
}
.dsspp-ui-refresh .dsspp-calendar-day{
  min-height:132px;
  border:1px solid var(--dsspp-line);
  border-radius:16px;
  background:#fff;
  padding:8px;
  display:flex;
  flex-direction:column;
  gap:6px;
}
.dsspp-ui-refresh .dsspp-calendar-date{
  color:var(--dsspp-muted);
  font-size:12px;
  font-weight:900;
}
.dsspp-ui-refresh .dsspp-calendar-event{
  width:100%;
  display:block;
  margin:0;
  padding:7px 8px;
  border-radius:12px;
  border:1px solid #dbe4ee;
  background:#f8fafc;
  color:var(--dsspp-navy);
  font-size:11.5px;
  font-weight:850;
  line-height:1.25;
}
.dsspp-ui-refresh .dsspp-calendar-event small{
  display:inline-flex;
  margin-top:4px;
  border-radius:999px;
  padding:2px 6px;
  background:rgba(7,27,51,.07);
  font-size:10px;
}

/* PDF plan link */
.dsspp-ui-refresh .dsspp-pdf-link{
  display:inline-flex!important;
  align-items:center;
  gap:7px;
  color:var(--dsspp-navy)!important;
  font-weight:950;
  text-decoration:none!important;
}
.dsspp-ui-refresh .dsspp-pdf-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:26px;
  border-radius:9px;
  background:#b42318;
  color:#fff;
  font-size:10px;
  font-weight:950;
  letter-spacing:.05em;
}

/* Empty states and notices */
.dsspp-ui-refresh .dsspp-empty,
.dsspp-ui-refresh .dsspp-alert{
  border-radius:18px;
  padding:16px;
  border:1px dashed #cbd6e2;
  background:#fbf8f1;
  color:var(--dsspp-muted);
  font-weight:800;
}
.dsspp-ui-refresh .dsspp-alert{
  border-style:solid;
  background:#ecfdf5;
  color:#176d45;
}

/* Patient portal keeps Arabic, no sidebar, compact premium spacing */
.dsspp-client-area{
  padding:24px 26px 54px!important;
  background:
    radial-gradient(circle at 100% 0%,rgba(201,164,92,.15),transparent 28%),
    linear-gradient(180deg,#fbf8f1 0%,#fff 55%,#fbf8f1 100%);
}
.dsspp-client-area .dsspp-profile-head{
  margin-top:0;
  direction:rtl;
}
.dsspp-client-area .dsspp-card,
.dsspp-client-area .dsspp-chart-card{
  border-radius:20px;
  padding:18px;
}
.dsspp-client-area .dsspp-grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.dsspp-client-area .dsspp-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.dsspp-client-area .dsspp-table{min-width:720px;}
.dsspp-client-area .dsspp-table th,
.dsspp-client-area .dsspp-table td{text-align:right;}
.dsspp-client-area input,
.dsspp-client-area select,
.dsspp-client-area textarea{direction:rtl;text-align:right;}

/* Login */
.dsspp-ui-refresh .dsspp-login-card{
  max-width:520px;
  margin:0 auto;
  padding:28px;
}
.dsspp-ui-refresh .dsspp-login-card h2{
  color:var(--dsspp-navy);
  font-size:26px;
  font-weight:900;
}
.dsspp-ui-refresh .dsspp-login-card p{color:var(--dsspp-muted);}

/* Responsiveness */
@media (max-width:1200px){
  .dsspp-admin-area{padding-left:232px!important;}
  .dsspp-admin-area .dsspp-nav{width:202px;}
  .dsspp-admin-area .dsspp-nav a{font-size:13px;padding:10px;}
  .dsspp-ui-refresh .dsspp-stats,
  .dsspp-ui-refresh .dsspp-summary-grid,
  .dsspp-ui-refresh .dsspp-finance-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .dsspp-ui-refresh .dsspp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:980px){
  .dsspp-admin-area{padding:18px 16px 44px!important;}
  .dsspp-admin-area .dsspp-nav{
    position:relative;
    inset:auto;
    width:100%;
    height:auto;
    max-height:none;
    flex-direction:row;
    flex-wrap:wrap;
    border-radius:22px;
    margin-bottom:14px;
    overflow:visible;
  }
  .dsspp-admin-area .dsspp-nav:before,
  .dsspp-admin-area .dsspp-nav:after{display:none;}
  .dsspp-admin-area .dsspp-nav a{width:auto;flex:1 1 auto;justify-content:center;}
  .dsspp-admin-area .dsspp-nav a:before{display:none;}
  .dsspp-ui-refresh .dsspp-calendar{grid-template-columns:repeat(2,minmax(0,1fr));}
  .dsspp-ui-refresh .dsspp-calendar-head{display:none;}
}
@media (max-width:760px){
  .dsspp-ui-refresh,
  .dsspp-client-area{padding:14px 12px 38px!important;}
  .dsspp-ui-refresh .dsspp-hero,
  .dsspp-ui-refresh .dsspp-profile-head{padding:22px;border-radius:22px;}
  .dsspp-ui-refresh .dsspp-hero h1,
  .dsspp-ui-refresh .dsspp-profile-head h2{font-size:24px;}
  .dsspp-ui-refresh .dsspp-grid-2,
  .dsspp-ui-refresh .dsspp-grid-3,
  .dsspp-client-area .dsspp-grid-2,
  .dsspp-client-area .dsspp-grid-3,
  .dsspp-ui-refresh .dsspp-form-grid,
  .dsspp-ui-refresh .dsspp-selector-grid,
  .dsspp-ui-refresh .dsspp-compact-filter .dsspp-form-grid,
  .dsspp-ui-refresh .dsspp-selector-form .dsspp-form-grid,
  .dsspp-ui-refresh .dsspp-mini-grid,
  .dsspp-ui-refresh .dsspp-progress-summary,
  .dsspp-ui-refresh .dsspp-consult-details-wide,
  .dsspp-ui-refresh .dsspp-stats,
  .dsspp-ui-refresh .dsspp-summary-grid,
  .dsspp-ui-refresh .dsspp-finance-summary-grid{
    grid-template-columns:1fr!important;
  }
  .dsspp-ui-refresh .dsspp-dl,
  .dsspp-client-area .dsspp-dl{grid-template-columns:1fr;}
  .dsspp-ui-refresh .dsspp-calendar-toolbar{grid-template-columns:1fr 1fr;}
  .dsspp-ui-refresh .dsspp-calendar-toolbar h2{grid-column:1/-1;grid-row:1;}
  .dsspp-ui-refresh .dsspp-calendar-toolbar .dsspp-btn{width:100%;}
  .dsspp-ui-refresh .dsspp-calendar{grid-template-columns:1fr;}
}

/* ============================================================
   DSS Patient Portal v0.2.10 — compact premium polish
   - Restores safe top spacing below the website menu.
   - Uses lighter, calmer font weights.
   - Tightens the UI into cleaner grids with more consistent cards.
   ============================================================ */
.dsspp-ui-refresh.dsspp-portal-pad{
  padding-top:150px!important;
}
.dsspp-admin-area.dsspp-ui-refresh.dsspp-portal-pad{
  padding:150px 28px 56px 292px!important;
}
.dsspp-admin-area.dsspp-ui-refresh .dsspp-nav{
  top:126px!important;
  bottom:18px!important;
  height:calc(100vh - 144px)!important;
}
.dsspp-client-area.dsspp-ui-refresh.dsspp-portal-pad{
  padding-top:150px!important;
}
.dsspp-ui-refresh,
.dsspp-ui-refresh input,
.dsspp-ui-refresh select,
.dsspp-ui-refresh textarea,
.dsspp-ui-refresh button{
  font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif!important;
  font-weight:500;
}
.dsspp-ui-refresh.dsspp-client-area,
.dsspp-ui-refresh.dsspp-client-area input,
.dsspp-ui-refresh.dsspp-client-area select,
.dsspp-ui-refresh.dsspp-client-area textarea,
.dsspp-ui-refresh.dsspp-client-area button{
  font-family:"Cairo","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif!important;
}
.dsspp-ui-refresh .dsspp-hero h1,
.dsspp-ui-refresh .dsspp-profile-head h2,
.dsspp-ui-refresh .dsspp-section-title h2,
.dsspp-ui-refresh .dsspp-card h2,
.dsspp-ui-refresh .dsspp-chart-card h2,
.dsspp-ui-refresh .dsspp-chart-card h3{
  font-weight:700!important;
  letter-spacing:-.015em;
}
.dsspp-ui-refresh .dsspp-nav a,
.dsspp-ui-refresh .dsspp-btn,
.dsspp-ui-refresh .dsspp-link,
.dsspp-ui-refresh .dsspp-field label,
.dsspp-ui-refresh .dsspp-form label,
.dsspp-ui-refresh .dsspp-badge,
.dsspp-ui-refresh .dsspp-status,
.dsspp-ui-refresh .dsspp-pill,
.dsspp-ui-refresh .dsspp-table th{
  font-weight:600!important;
}
.dsspp-ui-refresh .dsspp-stats strong,
.dsspp-ui-refresh .dsspp-summary-grid strong,
.dsspp-ui-refresh .dsspp-finance-summary-grid strong,
.dsspp-ui-refresh .dsspp-progress-summary strong{
  font-weight:700!important;
}
.dsspp-ui-refresh .dsspp-field input,
.dsspp-ui-refresh .dsspp-field select,
.dsspp-ui-refresh .dsspp-field textarea,
.dsspp-ui-refresh .dsspp-form input,
.dsspp-ui-refresh .dsspp-form select,
.dsspp-ui-refresh .dsspp-form textarea,
.dsspp-ui-refresh .dsspp-toolbar input,
.dsspp-ui-refresh .dsspp-inline-search input{
  font-weight:450!important;
  border-color:#bfccd8;
  background:#ffffff;
}
.dsspp-ui-refresh .dsspp-card,
.dsspp-ui-refresh .dsspp-chart-card,
.dsspp-ui-refresh .dsspp-section-title,
.dsspp-ui-refresh .dsspp-login-card{
  border:1px solid #bfccd8!important;
  border-radius:20px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fffdf8 100%)!important;
  box-shadow:0 12px 30px rgba(7,27,51,.055)!important;
}
.dsspp-ui-refresh .dsspp-card-head{
  border-bottom:1px solid #e5ebf0;
  padding-bottom:10px;
}
.dsspp-ui-refresh .dsspp-stats,
.dsspp-ui-refresh .dsspp-summary-grid,
.dsspp-ui-refresh .dsspp-finance-summary-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px!important;
}
.dsspp-ui-refresh .dsspp-stats>div,
.dsspp-ui-refresh .dsspp-summary-grid>div,
.dsspp-ui-refresh .dsspp-finance-summary-grid>div,
.dsspp-ui-refresh .dsspp-mini-grid span,
.dsspp-ui-refresh .dsspp-progress-summary>div{
  min-height:74px!important;
  padding:12px 13px!important;
  border:1px solid #c8d4df!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbf8f1 100%)!important;
}
.dsspp-ui-refresh .dsspp-stats strong,
.dsspp-ui-refresh .dsspp-summary-grid strong,
.dsspp-ui-refresh .dsspp-finance-summary-grid strong,
.dsspp-ui-refresh .dsspp-progress-summary strong{
  font-size:19px!important;
}
.dsspp-ui-refresh .dsspp-form-grid{
  gap:12px!important;
  margin-bottom:14px!important;
}
.dsspp-ui-refresh .dsspp-selector-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:end;
}
.dsspp-ui-refresh .dsspp-inline-hint{
  margin:0;
  align-self:end;
  padding:10px 0 2px;
}
.dsspp-ui-refresh .dsspp-table-wrap{
  border-color:#c3d0dc!important;
  border-radius:16px!important;
}
.dsspp-ui-refresh .dsspp-table th{
  background:#f7f1e7!important;
  color:#071b33!important;
}
.dsspp-ui-refresh .dsspp-table td{
  color:#20364d;
  padding:10px 11px!important;
}
.dsspp-ui-refresh .dsspp-pdf-link{
  border:1px solid #e5d8bd;
  background:#fffaf0;
  border-radius:13px;
  padding:7px 10px;
}
.dsspp-ui-refresh .dsspp-pdf-icon{
  font-weight:700!important;
}
@media (max-width:980px){
  .dsspp-admin-area.dsspp-ui-refresh.dsspp-portal-pad,
  .dsspp-client-area.dsspp-ui-refresh.dsspp-portal-pad,
  .dsspp-ui-refresh.dsspp-portal-pad{padding-top:118px!important;}
  .dsspp-admin-area.dsspp-ui-refresh .dsspp-nav{top:auto!important;height:auto!important;}
}
@media (max-width:760px){
  .dsspp-admin-area.dsspp-ui-refresh.dsspp-portal-pad,
  .dsspp-client-area.dsspp-ui-refresh.dsspp-portal-pad,
  .dsspp-ui-refresh.dsspp-portal-pad{padding-top:104px!important;}
}


/* v0.2.11 — Consultation selection cleanup + clearer premium navy borders */
.dsspp-ui-refresh .dsspp-card,
.dsspp-ui-refresh .dsspp-chart-card,
.dsspp-ui-refresh .dsspp-section-title,
.dsspp-ui-refresh .dsspp-login-card,
.dsspp-ui-refresh .dsspp-soft-card,
.dsspp-ui-refresh .dsspp-inner-card,
.dsspp-ui-refresh .dsspp-table-wrap,
.dsspp-ui-refresh .dsspp-patient-result-grid .dsspp-result-card,
.dsspp-ui-refresh .dsspp-consult-card,
.dsspp-ui-refresh .dsspp-calendar-day,
.dsspp-ui-refresh .dsspp-stats>div,
.dsspp-ui-refresh .dsspp-summary-grid>div,
.dsspp-ui-refresh .dsspp-finance-summary-grid>div,
.dsspp-ui-refresh .dsspp-mini-grid span,
.dsspp-ui-refresh .dsspp-progress-summary>div{
  border-color:rgba(7,27,51,.30)!important;
  box-shadow:0 10px 28px rgba(7,27,51,.060)!important;
}
.dsspp-ui-refresh .dsspp-card,
.dsspp-ui-refresh .dsspp-chart-card,
.dsspp-ui-refresh .dsspp-section-title,
.dsspp-ui-refresh .dsspp-login-card,
.dsspp-ui-refresh .dsspp-soft-card{
  border-width:1.45px!important;
}
.dsspp-ui-refresh .dsspp-table-wrap{
  border-width:1.4px!important;
}
.dsspp-ui-refresh .dsspp-card-head{
  border-bottom-color:rgba(7,27,51,.16)!important;
}
.dsspp-ui-refresh .dsspp-field input,
.dsspp-ui-refresh .dsspp-field select,
.dsspp-ui-refresh .dsspp-field textarea,
.dsspp-ui-refresh .dsspp-form input,
.dsspp-ui-refresh .dsspp-form select,
.dsspp-ui-refresh .dsspp-form textarea,
.dsspp-ui-refresh .dsspp-toolbar input,
.dsspp-ui-refresh .dsspp-inline-search input{
  border-color:rgba(7,27,51,.24)!important;
}
.dsspp-ui-refresh .dsspp-selector-form{
  border-color:rgba(7,27,51,.34)!important;
}
.dsspp-ui-refresh .dsspp-selector-form select:focus,
.dsspp-ui-refresh .dsspp-selector-form input:focus{
  border-color:var(--dsspp-gold)!important;
}


/* ============================================================
   DSS Patient Portal v0.2.12 — typography scale-down
   Fix oversized/heavy action fonts and make the full interface calmer.
   ============================================================ */
.dsspp-ui-refresh,
.dsspp-ui-refresh input,
.dsspp-ui-refresh select,
.dsspp-ui-refresh textarea,
.dsspp-ui-refresh button,
.dsspp-ui-refresh .dsspp-table,
.dsspp-ui-refresh .dsspp-table th,
.dsspp-ui-refresh .dsspp-table td{
  font-size:14px!important;
  font-weight:400!important;
  letter-spacing:0!important;
}
.dsspp-ui-refresh.dsspp-client-area,
.dsspp-ui-refresh.dsspp-client-area input,
.dsspp-ui-refresh.dsspp-client-area select,
.dsspp-ui-refresh.dsspp-client-area textarea,
.dsspp-ui-refresh.dsspp-client-area button{
  font-family:"Cairo","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif!important;
  font-weight:400!important;
}
.dsspp-ui-refresh .dsspp-hero h1{
  font-size:32px!important;
  font-weight:650!important;
  line-height:1.22!important;
}
.dsspp-ui-refresh .dsspp-profile-head h2{
  font-size:26px!important;
  font-weight:650!important;
}
.dsspp-ui-refresh .dsspp-section-title h2,
.dsspp-ui-refresh .dsspp-card h2,
.dsspp-ui-refresh .dsspp-chart-card h2,
.dsspp-ui-refresh .dsspp-chart-card h3{
  font-size:19px!important;
  font-weight:650!important;
  line-height:1.28!important;
}
.dsspp-ui-refresh .dsspp-field label,
.dsspp-ui-refresh .dsspp-form label,
.dsspp-ui-refresh .dsspp-table th,
.dsspp-ui-refresh .dsspp-card-head h2,
.dsspp-ui-refresh .dsspp-nav a,
.dsspp-ui-refresh .dsspp-link{
  font-weight:550!important;
}
.dsspp-ui-refresh .dsspp-eyebrow,
.dsspp-ui-refresh .dsspp-badge,
.dsspp-ui-refresh .dsspp-pill,
.dsspp-ui-refresh .dsspp-status,
.dsspp-ui-refresh .dsspp-calendar-event small{
  font-weight:550!important;
}
.dsspp-ui-refresh .dsspp-btn,
.dsspp-ui-refresh .dsspp-btn-tiny{
  font-weight:550!important;
  font-size:13px!important;
  min-height:36px!important;
  padding:8px 15px!important;
  box-shadow:0 8px 18px rgba(201,164,92,.16)!important;
}
.dsspp-ui-refresh .dsspp-btn-tiny{
  min-height:30px!important;
  padding:6px 11px!important;
  font-size:12px!important;
}
.dsspp-ui-refresh .dsspp-field input,
.dsspp-ui-refresh .dsspp-field select,
.dsspp-ui-refresh .dsspp-field textarea,
.dsspp-ui-refresh .dsspp-form input,
.dsspp-ui-refresh .dsspp-form select,
.dsspp-ui-refresh .dsspp-form textarea,
.dsspp-ui-refresh .dsspp-toolbar input,
.dsspp-ui-refresh .dsspp-inline-search input{
  min-height:40px!important;
  padding:9px 12px!important;
  font-size:13.5px!important;
  font-weight:400!important;
  border-radius:13px!important;
}
.dsspp-ui-refresh .dsspp-table th{
  font-size:12.5px!important;
  line-height:1.35!important;
  padding:9px 10px!important;
}
.dsspp-ui-refresh .dsspp-table td{
  font-size:13px!important;
  line-height:1.45!important;
  padding:9px 10px!important;
}
.dsspp-ui-refresh .dsspp-stats strong,
.dsspp-ui-refresh .dsspp-summary-grid strong,
.dsspp-ui-refresh .dsspp-finance-summary-grid strong,
.dsspp-ui-refresh .dsspp-progress-summary strong{
  font-size:18px!important;
  font-weight:600!important;
}
.dsspp-ui-refresh .dsspp-stats span,
.dsspp-ui-refresh .dsspp-summary-grid span,
.dsspp-ui-refresh .dsspp-finance-summary-grid span,
.dsspp-ui-refresh .dsspp-progress-summary span,
.dsspp-ui-refresh .dsspp-muted{
  font-size:12.5px!important;
  font-weight:400!important;
}
/* Consultation actions column: compact, calm controls */
.dsspp-ui-refresh .dsspp-row-actions-stack{
  gap:7px!important;
}
.dsspp-ui-refresh .dsspp-row-actions-stack .dsspp-link{
  font-size:13px!important;
  font-weight:550!important;
  margin-bottom:0!important;
}
.dsspp-ui-refresh .dsspp-status-select-form{
  display:grid!important;
  grid-template-columns:minmax(116px,150px) auto!important;
  gap:7px!important;
  max-width:240px!important;
  align-items:center!important;
}
.dsspp-ui-refresh .dsspp-status-select-form select{
  min-height:34px!important;
  height:34px!important;
  padding:6px 9px!important;
  border-radius:11px!important;
  font-size:13px!important;
  font-weight:450!important;
  line-height:1.2!important;
  max-width:150px!important;
}
.dsspp-ui-refresh .dsspp-postpone-fields{
  display:grid!important;
  grid-template-columns:56px minmax(118px,1fr) 44px minmax(86px,1fr)!important;
  align-items:center!important;
  gap:6px!important;
  padding:8px!important;
  border-radius:12px!important;
  max-width:330px!important;
}
.dsspp-ui-refresh .dsspp-postpone-fields label{
  font-size:11px!important;
  font-weight:500!important;
}
.dsspp-ui-refresh .dsspp-postpone-fields input{
  min-height:32px!important;
  height:32px!important;
  font-size:12px!important;
  font-weight:400!important;
}
/* Premium borders remain visible but not heavy */
.dsspp-ui-refresh .dsspp-card,
.dsspp-ui-refresh .dsspp-chart-card,
.dsspp-ui-refresh .dsspp-section-title,
.dsspp-ui-refresh .dsspp-login-card,
.dsspp-ui-refresh .dsspp-soft-card,
.dsspp-ui-refresh .dsspp-inner-card,
.dsspp-ui-refresh .dsspp-table-wrap,
.dsspp-ui-refresh .dsspp-calendar-day,
.dsspp-ui-refresh .dsspp-stats>div,
.dsspp-ui-refresh .dsspp-summary-grid>div,
.dsspp-ui-refresh .dsspp-finance-summary-grid>div,
.dsspp-ui-refresh .dsspp-mini-grid span,
.dsspp-ui-refresh .dsspp-progress-summary>div{
  border:1.35px solid rgba(7,27,51,.28)!important;
}
@media (max-width:780px){
  .dsspp-ui-refresh .dsspp-status-select-form{max-width:none!important;grid-template-columns:1fr auto!important;}
  .dsspp-ui-refresh .dsspp-status-select-form select{max-width:none!important;}
  .dsspp-ui-refresh .dsspp-postpone-fields{grid-template-columns:1fr!important;max-width:none!important;}
}


/* ============================================================
   DSS Patient Portal v0.2.12.1 — rollback base + top navigation only
   Based on v0.2.12 Font Polish. This intentionally removes the
   fixed left sidebar and restores a simple top navigation that stays
   in its normal place above the hero.
   ============================================================ */
.dsspp-admin-area.dsspp-ui-refresh,
.dsspp-admin-area.dsspp-ui-refresh.dsspp-portal-pad{
  padding:150px 42px 70px!important;
  min-height:78vh!important;
}
.dsspp-admin-area.dsspp-ui-refresh .dsspp-nav{
  position:static!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0 0 24px!important;
  padding:12px 14px!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  background:rgba(255,255,255,.92)!important;
  border:1.5px solid rgba(7,27,51,.28)!important;
  border-radius:24px!important;
  box-shadow:0 12px 30px rgba(7,27,51,.08)!important;
  backdrop-filter:none!important;
}
.dsspp-admin-area.dsspp-ui-refresh .dsspp-nav:before,
.dsspp-admin-area.dsspp-ui-refresh .dsspp-nav:after{
  content:none!important;
  display:none!important;
}
.dsspp-admin-area.dsspp-ui-refresh .dsspp-nav a{
  width:auto!important;
  min-width:0!important;
  min-height:38px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:0!important;
  padding:9px 14px!important;
  border-radius:999px!important;
  color:var(--dsspp-navy)!important;
  background:transparent!important;
  box-shadow:none!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:600!important;
  white-space:nowrap!important;
}
.dsspp-admin-area.dsspp-ui-refresh .dsspp-nav a:before{
  content:none!important;
  display:none!important;
}
.dsspp-admin-area.dsspp-ui-refresh .dsspp-nav a:hover{
  background:var(--dsspp-soft)!important;
  color:var(--dsspp-navy)!important;
}
.dsspp-admin-area.dsspp-ui-refresh .dsspp-nav a.is-active{
  background:linear-gradient(135deg,var(--dsspp-gold),var(--dsspp-gold-2))!important;
  color:#fff!important;
  box-shadow:0 10px 20px rgba(201,164,92,.18)!important;
}
.dsspp-admin-area.dsspp-ui-refresh .dsspp-hero{
  margin-top:0!important;
}
@media (max-width:980px){
  .dsspp-admin-area.dsspp-ui-refresh,
  .dsspp-admin-area.dsspp-ui-refresh.dsspp-portal-pad{
    padding:130px 22px 52px!important;
  }
  .dsspp-admin-area.dsspp-ui-refresh .dsspp-nav{
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:7px!important;
    padding:10px!important;
  }
  .dsspp-admin-area.dsspp-ui-refresh .dsspp-nav a{
    flex:0 0 auto!important;
    font-size:12.5px!important;
    padding:8px 11px!important;
  }
}
@media (max-width:640px){
  .dsspp-admin-area.dsspp-ui-refresh,
  .dsspp-admin-area.dsspp-ui-refresh.dsspp-portal-pad{
    padding:115px 14px 42px!important;
  }
  .dsspp-admin-area.dsspp-ui-refresh .dsspp-nav{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
    border-radius:18px!important;
  }
  .dsspp-admin-area.dsspp-ui-refresh .dsspp-nav a{
    width:100%!important;
    white-space:normal!important;
    text-align:center!important;
    padding:9px 8px!important;
  }
}


/* ============================================================
   DSS Patient Portal v0.2.20 — stable rollback feature merge
   Keeps v0.2.12.1 working layout, applies post-0.2.12 features safely.
   ============================================================ */
.dsspp-ui-refresh .dsspp-card,
.dsspp-ui-refresh .dsspp-chart-card,
.dsspp-ui-refresh .dsspp-section-title,
.dsspp-ui-refresh .dsspp-login-card,
.dsspp-ui-refresh .dsspp-soft-card,
.dsspp-ui-refresh .dsspp-inner-card,
.dsspp-ui-refresh .dsspp-table-wrap,
.dsspp-ui-refresh .dsspp-calendar-day,
.dsspp-ui-refresh .dsspp-stats>div,
.dsspp-ui-refresh .dsspp-summary-grid>div,
.dsspp-ui-refresh .dsspp-finance-summary-grid>div,
.dsspp-ui-refresh .dsspp-mini-grid span,
.dsspp-ui-refresh .dsspp-progress-summary>div,
.dsspp-ui-refresh .dsspp-result-card,
.dsspp-ui-refresh .dsspp-consult-card,
.dsspp-ui-refresh .dsspp-weight-chart{
  border-color:rgba(7,27,51,.52)!important;
  border-width:2px!important;
  box-shadow:inset 0 0 0 1px rgba(23,58,90,.08),0 12px 28px rgba(7,27,51,.055)!important;
}
.dsspp-ui-refresh .dsspp-table th,
.dsspp-ui-refresh .dsspp-table td{
  border-color:rgba(7,27,51,.14)!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
.dsspp-ui-refresh .dsspp-table th{border-bottom-color:rgba(7,27,51,.36)!important;}
.dsspp-ui-refresh .dsspp-nav{position:static!important;top:auto!important;margin-bottom:24px!important;}
.dsspp-ui-refresh .dsspp-nav a{white-space:nowrap!important;}
.dsspp-ui-refresh .dsspp-patient-contact-cell strong,
.dsspp-ui-refresh .dsspp-consultation-name-cell strong{display:block!important;line-height:1.35!important;}
.dsspp-ui-refresh .dsspp-cell-subline,
.dsspp-ui-refresh .dsspp-patient-contact-cell span,
.dsspp-ui-refresh .dsspp-consultation-name-cell small{display:block!important;margin-top:4px!important;color:var(--dsspp-muted)!important;font-size:12px!important;line-height:1.35!important;}
.dsspp-ui-refresh .dsspp-rescheduled-line{color:#8a6500!important;font-weight:700!important;}
.dsspp-ui-refresh .dsspp-status-select-form{display:grid!important;grid-template-columns:minmax(120px,1fr) auto!important;gap:8px!important;align-items:start!important;max-width:240px!important;}
.dsspp-ui-refresh .dsspp-status-select-form select{font-size:13px!important;font-weight:600!important;min-height:36px!important;}
.dsspp-ui-refresh .dsspp-postpone-fields{grid-column:1 / -1!important;display:none!important;grid-template-columns:1fr!important;gap:7px!important;max-width:190px!important;background:#fff9df!important;border:1.3px solid rgba(215,165,42,.5)!important;border-radius:12px!important;padding:9px!important;}
.dsspp-ui-refresh .dsspp-show-postpone .dsspp-postpone-fields{display:grid!important;}
.dsspp-ui-refresh .dsspp-postpone-fields label{font-size:11px!important;font-weight:700!important;margin:0!important;color:#8a6500!important;}
.dsspp-ui-refresh .dsspp-postpone-fields input{width:100%!important;min-height:34px!important;font-size:12px!important;padding:6px 8px!important;border-radius:10px!important;}
.dsspp-ui-refresh .dsspp-row-actions-stack{align-items:flex-start!important;gap:7px!important;}
.dsspp-ui-refresh .dsspp-overview-consult-table{min-width:640px!important;}
.dsspp-ui-refresh .dsspp-due-table{min-width:900px!important;}
.dsspp-ui-refresh .dsspp-balance-positive{color:#0f8a4b!important;}
.dsspp-ui-refresh .dsspp-balance-negative{color:#b42318!important;}
.dsspp-ui-refresh .dsspp-grid-5{grid-template-columns:repeat(5,minmax(0,1fr))!important;}
@media (max-width:1100px){.dsspp-ui-refresh .dsspp-grid-5{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media (max-width:640px){
  .dsspp-ui-refresh .dsspp-grid-5{grid-template-columns:1fr!important;}
  .dsspp-admin-area.dsspp-ui-refresh .dsspp-nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .dsspp-ui-refresh .dsspp-status-select-form{max-width:none!important;grid-template-columns:1fr!important;}
  .dsspp-ui-refresh .dsspp-status-select-form .dsspp-btn{width:100%!important;}
  .dsspp-ui-refresh .dsspp-postpone-fields{max-width:none!important;}
}


/* v0.2.21 compact patient/admin summary + weight/filter layout polish */
.dsspp-wrap .dsspp-stats{
  grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;
  gap:12px!important;
  margin-bottom:18px!important;
}
.dsspp-wrap .dsspp-stats>div{
  min-height:88px!important;
  padding:13px 15px!important;
  border:2px solid #123452!important;
  border-top-color:#c9a45c!important;
  border-radius:18px!important;
}
.dsspp-wrap .dsspp-stats span{font-size:12.5px!important;line-height:1.25!important;}
.dsspp-wrap .dsspp-stats strong{font-size:18px!important;line-height:1.25!important;margin:4px 0!important;}
.dsspp-wrap .dsspp-stats small{font-size:11.5px!important;line-height:1.3!important;}

.dsspp-wrap .dsspp-finance-card.dsspp-compact-card{
  padding:16px 18px!important;
  margin-bottom:16px!important;
}
.dsspp-wrap .dsspp-finance-card.dsspp-compact-card h2{
  margin-bottom:12px!important;
  font-size:21px!important;
}
.dsspp-wrap .dsspp-summary-grid,
.dsspp-wrap .dsspp-finance-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
}
.dsspp-wrap .dsspp-summary-item,
.dsspp-wrap .dsspp-summary-grid>div,
.dsspp-wrap .dsspp-finance-summary-grid>div{
  min-height:78px!important;
  padding:10px 12px!important;
  border:2px solid #153653!important;
  border-top-color:#c9a45c!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#fff 0%,#fbf8f1 100%)!important;
  box-shadow:0 10px 20px rgba(20,51,77,.055)!important;
  overflow:hidden!important;
}
.dsspp-wrap .dsspp-summary-item span,
.dsspp-wrap .dsspp-summary-grid span,
.dsspp-wrap .dsspp-finance-summary-grid span{
  font-size:12px!important;
  line-height:1.25!important;
  margin-bottom:4px!important;
  color:#667085!important;
}
.dsspp-wrap .dsspp-summary-item strong,
.dsspp-wrap .dsspp-summary-grid strong,
.dsspp-wrap .dsspp-finance-summary-grid strong{
  font-size:16px!important;
  line-height:1.35!important;
  font-weight:760!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.dsspp-wrap .dsspp-summary-item small,
.dsspp-wrap .dsspp-summary-grid small,
.dsspp-wrap .dsspp-finance-summary-grid small{
  font-size:11px!important;
  line-height:1.25!important;
  display:block!important;
  margin-top:3px!important;
  white-space:normal!important;
}

.dsspp-wrap .dsspp-chart-card{
  display:grid!important;
  grid-template-columns:minmax(150px,190px) minmax(0,1fr)!important;
  gap:14px!important;
  align-items:stretch!important;
}
.dsspp-wrap .dsspp-chart-card>h2{
  grid-column:1/-1!important;
  margin-bottom:2px!important;
}
.dsspp-wrap .dsspp-chart-card .dsspp-progress-summary{
  grid-column:1!important;
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:9px!important;
  margin:0!important;
}
.dsspp-wrap .dsspp-chart-card .dsspp-progress-summary>div{
  min-height:70px!important;
  padding:10px 12px!important;
  border:2px solid #153653!important;
  border-top-color:#c9a45c!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#fff,#fbf8f1)!important;
}
.dsspp-wrap .dsspp-chart-card .dsspp-progress-summary span{font-size:12px!important;line-height:1.25!important;}
.dsspp-wrap .dsspp-chart-card .dsspp-progress-summary strong{font-size:17px!important;line-height:1.25!important;}
.dsspp-wrap .dsspp-chart-card .dsspp-weight-chart{
  grid-column:2!important;
  min-height:230px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.dsspp-wrap .dsspp-chart-card .dsspp-weight-chart svg{width:100%!important;max-height:280px!important;}
.dsspp-wrap .dsspp-chart-card .dsspp-chart-note{
  grid-column:2!important;
  margin-top:-4px!important;
}

.dsspp-client-area .dsspp-filter-card{
  background:radial-gradient(circle at 12% 10%,rgba(201,164,92,.18),transparent 34%),linear-gradient(135deg,#0b2743,#123a5b)!important;
  border:2px solid #0b2743!important;
  border-top-color:#c9a45c!important;
  color:#fff!important;
  padding:16px 18px!important;
}
.dsspp-client-area .dsspp-filter-card .dsspp-toolbar{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:end!important;
}
.dsspp-client-area .dsspp-filter-card label,
.dsspp-client-area .dsspp-filter-card .dsspp-muted{color:rgba(255,255,255,.82)!important;}
.dsspp-client-area .dsspp-filter-card input{
  background:#fff!important;
  color:#0b2743!important;
  border-color:rgba(255,255,255,.38)!important;
}
.dsspp-client-area .dsspp-filter-card .dsspp-btn-light{
  background:#fff!important;
  color:#0b2743!important;
  border-color:rgba(255,255,255,.8)!important;
}
.dsspp-client-area .dsspp-filter-card .dsspp-btn:not(.dsspp-btn-light){
  background:linear-gradient(135deg,#c9a45c,#b28a3b)!important;
  border-color:#c9a45c!important;
}
.dsspp-client-area .dsspp-filter-card p{margin-top:10px!important;margin-bottom:0!important;}

@media (min-width:1200px){
  .dsspp-wrap .dsspp-summary-grid,.dsspp-wrap .dsspp-finance-summary-grid{grid-template-columns:repeat(5,minmax(145px,1fr))!important;}
  .dsspp-wrap .dsspp-stats{grid-template-columns:repeat(5,minmax(150px,1fr))!important;}
}
@media (max-width:980px){
  .dsspp-wrap .dsspp-chart-card{grid-template-columns:1fr!important;}
  .dsspp-wrap .dsspp-chart-card .dsspp-progress-summary{grid-column:1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  .dsspp-wrap .dsspp-chart-card .dsspp-weight-chart,
  .dsspp-wrap .dsspp-chart-card .dsspp-chart-note{grid-column:1!important;}
  .dsspp-client-area .dsspp-filter-card .dsspp-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:640px){
  .dsspp-wrap .dsspp-summary-grid,.dsspp-wrap .dsspp-finance-summary-grid,.dsspp-wrap .dsspp-stats{grid-template-columns:1fr 1fr!important;}
  .dsspp-wrap .dsspp-chart-card .dsspp-progress-summary{grid-template-columns:1fr!important;}
  .dsspp-client-area .dsspp-filter-card .dsspp-toolbar{grid-template-columns:1fr!important;}
}


/* v0.2.22 — tighter patient account summary mini-cards */
.dsspp-client-area .dsspp-finance-card.dsspp-compact-card{
  padding:14px 16px!important;
}
.dsspp-client-area .dsspp-finance-card.dsspp-compact-card h2{
  font-size:20px!important;
  margin-bottom:10px!important;
}
.dsspp-client-area .dsspp-finance-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:9px!important;
  align-items:stretch!important;
}
.dsspp-client-area .dsspp-finance-summary-grid .dsspp-summary-item,
.dsspp-client-area .dsspp-finance-summary-grid>div{
  min-height:64px!important;
  padding:8px 10px!important;
  border:2px solid #0f2e4a!important;
  border-top-color:#c9a45c!important;
  border-radius:14px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
}
.dsspp-client-area .dsspp-finance-summary-grid .dsspp-summary-item span,
.dsspp-client-area .dsspp-finance-summary-grid>div span{
  font-size:11.5px!important;
  line-height:1.18!important;
  margin:0!important;
}
.dsspp-client-area .dsspp-finance-summary-grid .dsspp-summary-item strong,
.dsspp-client-area .dsspp-finance-summary-grid>div strong{
  font-size:15px!important;
  line-height:1.22!important;
  font-weight:700!important;
  letter-spacing:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.dsspp-client-area .dsspp-finance-summary-grid .dsspp-summary-item small,
.dsspp-client-area .dsspp-finance-summary-grid>div small{
  font-size:10.5px!important;
  line-height:1.15!important;
  margin-top:1px!important;
}
@media (max-width:1280px){
  .dsspp-client-area .dsspp-finance-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:720px){
  .dsspp-client-area .dsspp-finance-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:420px){
  .dsspp-client-area .dsspp-finance-summary-grid{grid-template-columns:1fr!important;}
}


/* v0.2.23 — patient profile date filter as navy controller */
.dsspp-client-area .dsspp-profile-date-filter,
.dsspp-client-area .dsspp-filter-card.dsspp-profile-date-filter{
  background:radial-gradient(circle at 12% 0%,rgba(201,164,92,.24),transparent 34%),linear-gradient(135deg,#071f38 0%,#0f2e4a 55%,#143a5b 100%)!important;
  border:2.4px solid #071f38!important;
  border-top-color:#c9a45c!important;
  color:#fff!important;
  box-shadow:0 18px 38px rgba(7,31,56,.18)!important;
  padding:16px 18px!important;
}
.dsspp-client-area .dsspp-profile-date-filter:before{
  background:linear-gradient(90deg,#c9a45c,#f0d48b)!important;
}
.dsspp-client-area .dsspp-profile-date-filter .dsspp-toolbar{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:end!important;
  margin-bottom:8px!important;
}
.dsspp-client-area .dsspp-profile-date-filter label,
.dsspp-client-area .dsspp-profile-date-filter .dsspp-muted,
.dsspp-client-area .dsspp-profile-date-filter p{
  color:rgba(255,255,255,.82)!important;
}
.dsspp-client-area .dsspp-profile-date-filter input{
  background:#fff!important;
  color:#071f38!important;
  border:1.5px solid rgba(255,255,255,.55)!important;
  box-shadow:none!important;
}
.dsspp-client-area .dsspp-profile-date-filter .dsspp-btn{
  min-height:48px!important;
  box-shadow:0 12px 24px rgba(201,164,92,.22)!important;
}
.dsspp-client-area .dsspp-profile-date-filter .dsspp-btn-light{
  background:#fff!important;
  color:#071f38!important;
  border-color:rgba(255,255,255,.78)!important;
  box-shadow:none!important;
}
@media (max-width:900px){
  .dsspp-client-area .dsspp-profile-date-filter .dsspp-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:560px){
  .dsspp-client-area .dsspp-profile-date-filter .dsspp-toolbar{grid-template-columns:1fr!important;}
}


/* v0.2.24 — GLOBAL compact profile finance cards + navy date controller
   Applies to both admin patient profile and patient-facing profile. */
html body .dsspp-wrap .dsspp-card.dsspp-finance-card.dsspp-compact-card{
  padding:14px 16px!important;
  margin-bottom:16px!important;
}
html body .dsspp-wrap .dsspp-card.dsspp-finance-card.dsspp-compact-card h2{
  font-size:20px!important;
  line-height:1.25!important;
  margin:0 0 10px!important;
  font-weight:720!important;
}
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-finance-summary-grid,
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-summary-grid{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(115px,1fr))!important;
  gap:9px!important;
  align-items:stretch!important;
  margin:0!important;
}
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-summary-item,
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-finance-summary-grid>div{
  min-height:66px!important;
  padding:8px 10px!important;
  border:2.2px solid #0a2943!important;
  border-top:3px solid #c9a45c!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#fff 0%,#fbf8f1 100%)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  gap:2px!important;
  box-shadow:0 8px 20px rgba(7,31,56,.08)!important;
  min-width:0!important;
}
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-summary-item span,
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-finance-summary-grid>div span{
  font-size:11.5px!important;
  line-height:1.18!important;
  margin:0!important;
  color:#667085!important;
  font-weight:650!important;
}
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-summary-item strong,
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-finance-summary-grid>div strong{
  font-size:15px!important;
  line-height:1.22!important;
  font-weight:720!important;
  letter-spacing:0!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
  color:#071f38;
}
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-summary-item small,
html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-finance-summary-grid>div small{
  font-size:10.5px!important;
  line-height:1.15!important;
  margin:1px 0 0!important;
}

html body .dsspp-wrap .dsspp-card.dsspp-filter-card.dsspp-profile-date-filter,
html body .dsspp-wrap .dsspp-profile-date-filter{
  background:radial-gradient(circle at 12% 0%,rgba(201,164,92,.24),transparent 34%),linear-gradient(135deg,#071f38 0%,#0f2e4a 55%,#143a5b 100%)!important;
  border:2.4px solid #071f38!important;
  border-top-color:#c9a45c!important;
  color:#fff!important;
  box-shadow:0 18px 38px rgba(7,31,56,.18)!important;
  padding:16px 18px!important;
}
html body .dsspp-wrap .dsspp-card.dsspp-filter-card.dsspp-profile-date-filter:before,
html body .dsspp-wrap .dsspp-profile-date-filter:before{
  background:linear-gradient(90deg,#c9a45c,#f0d48b)!important;
}
html body .dsspp-wrap .dsspp-profile-date-filter .dsspp-toolbar{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:end!important;
  margin-bottom:8px!important;
}
html body .dsspp-wrap .dsspp-profile-date-filter label,
html body .dsspp-wrap .dsspp-profile-date-filter .dsspp-muted,
html body .dsspp-wrap .dsspp-profile-date-filter p{
  color:rgba(255,255,255,.84)!important;
}
html body .dsspp-wrap .dsspp-profile-date-filter input{
  background:#fff!important;
  color:#071f38!important;
  border:1.5px solid rgba(255,255,255,.55)!important;
  box-shadow:none!important;
}
html body .dsspp-wrap .dsspp-profile-date-filter .dsspp-btn{
  min-height:48px!important;
  box-shadow:0 12px 24px rgba(201,164,92,.22)!important;
}
html body .dsspp-wrap .dsspp-profile-date-filter .dsspp-btn-light{
  background:#fff!important;
  color:#071f38!important;
  border-color:rgba(255,255,255,.78)!important;
  box-shadow:none!important;
}
@media (max-width:1280px){
  html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-finance-summary-grid,
  html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media (max-width:900px){
  html body .dsspp-wrap .dsspp-profile-date-filter .dsspp-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:640px){
  html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-finance-summary-grid,
  html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  html body .dsspp-wrap .dsspp-profile-date-filter .dsspp-toolbar{grid-template-columns:1fr!important;}
}
@media (max-width:420px){
  html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-finance-summary-grid,
  html body .dsspp-wrap .dsspp-finance-card.dsspp-compact-card .dsspp-summary-grid{grid-template-columns:1fr!important;}
}


/* DSS Patient Portal v0.3.0 Management & Safety Upgrade */
.dsspp-management-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;background:radial-gradient(circle at 10% 0%,rgba(201,164,92,.18),transparent 34%),linear-gradient(180deg,#fff,#fffaf0)!important;}
.dsspp-management-banner h2{margin-bottom:4px!important;}
.dsspp-management-banner p{margin:0;color:#667085;font-weight:650;max-width:780px;}
.dsspp-manage-tabs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 18px;background:#fff;border:1.8px solid rgba(7,31,56,.22);border-radius:22px;padding:10px;box-shadow:0 14px 30px rgba(7,31,56,.08);}
.dsspp-manage-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 15px;border-radius:999px;text-decoration:none;color:#071f38;font-weight:850;border:1px solid transparent;}
.dsspp-manage-tabs a:hover{background:#fbf8f1;border-color:rgba(201,164,92,.34);}
.dsspp-manage-tabs a.is-active{background:linear-gradient(135deg,#071f38,#143a5b);color:#fff;border-color:#c9a45c;box-shadow:0 10px 22px rgba(7,31,56,.18);}
.dsspp-management-grid{align-items:start;}
.dsspp-permission-list{display:grid;gap:10px;}
.dsspp-permission-list>div{background:#fff;border:1.5px solid rgba(7,31,56,.18);border-radius:16px;padding:12px 14px;}
.dsspp-permission-list strong{display:block;color:#071f38;font-weight:900;margin-bottom:3px;}
.dsspp-permission-list span{display:block;color:#667085;font-size:13px;font-weight:650;line-height:1.45;}
.dsspp-export-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.dsspp-export-card{background:linear-gradient(180deg,#fff,#fbf8f1);border:1.6px solid rgba(7,31,56,.22);border-radius:18px;padding:16px;display:grid;gap:9px;align-content:start;min-height:148px;box-shadow:0 10px 22px rgba(7,31,56,.06);}
.dsspp-export-card strong{color:#071f38;font-size:16px;font-weight:900;}
.dsspp-export-card span{color:#667085;font-size:13px;line-height:1.45;font-weight:650;}
.dsspp-export-card .dsspp-btn{justify-self:start;margin-top:auto;}
.dsspp-danger-card{border-color:rgba(180,35,24,.28)!important;}
.dsspp-btn-danger{background:linear-gradient(135deg,#b42318,#d92d20)!important;border-color:#b42318!important;}
.dsspp-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
.dsspp-health-card{background:#fff;border:1.6px solid rgba(7,31,56,.20);border-radius:18px;padding:0;overflow:hidden;box-shadow:0 12px 28px rgba(7,31,56,.07);}
.dsspp-health-card summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;color:#071f38;font-weight:900;list-style:none;}
.dsspp-health-card summary::-webkit-details-marker{display:none;}
.dsspp-health-card summary strong{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border-radius:999px;background:#fbf8f1;border:1px solid rgba(7,31,56,.16);color:#071f38;}
.dsspp-health-card.is-critical summary{border-right:4px solid #b42318;}
.dsspp-health-card.is-warning summary{border-right:4px solid #c9a45c;}
.dsspp-health-card .dsspp-table-wrap{border-radius:0;border-left:0;border-right:0;border-bottom:0;box-shadow:none;}
.dsspp-health-card .dsspp-muted{padding:0 17px 15px;margin:0;}
.dsspp-health-card td small{display:block;color:#667085;font-weight:800;margin-bottom:2px;}
@media (max-width:1100px){.dsspp-export-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.dsspp-health-grid{grid-template-columns:1fr;}}
@media (max-width:700px){.dsspp-export-grid{grid-template-columns:1fr;}.dsspp-manage-tabs{display:grid;grid-template-columns:1fr 1fr;}.dsspp-manage-tabs a{width:100%;}.dsspp-management-banner{display:block;}.dsspp-management-banner .dsspp-btn{margin-top:12px;}}

/* DSS Patient Portal v0.4.0 Email Queue & Notifications */
.dsspp-status-pending{background:#fff7df!important;color:#7a4e00!important;border-color:rgba(201,164,92,.45)!important;}
.dsspp-status-processing{background:#eaf2ff!important;color:#173a5a!important;border-color:rgba(23,58,90,.25)!important;}
.dsspp-status-sent{background:#ecfdf3!important;color:#027a48!important;border-color:rgba(2,122,72,.24)!important;}
.dsspp-status-failed,.dsspp-status-skipped{background:#fff1f0!important;color:#b42318!important;border-color:rgba(180,35,24,.24)!important;}
.dsspp-error-text{display:block;margin-top:6px;color:#b42318!important;font-size:12px!important;font-weight:750!important;line-height:1.35!important;}
.dsspp-table .dsspp-row-actions{gap:6px;flex-wrap:wrap;}
.dsspp-table .dsspp-inline-form{display:inline-flex;margin:0;}

/* v0.4.1 email deliverability safety guard */
.dsspp-alert-warning{border-color:rgba(214,158,31,.42)!important;background:#fff8df!important;color:#7a5200!important}
.dsspp-checklist{margin:10px 0 18px 18px!important;padding:0 0 0 18px!important;line-height:1.7}
.dsspp-wide-check{display:block;margin:0 0 14px}.dsspp-wide-check input{margin-inline-end:8px}

/* DSS Patient Portal v0.5.0 Finance / Accountant Center */
.dsspp-stats-finance{grid-template-columns:repeat(7,minmax(0,1fr))!important;}
.dsspp-finance-filter{background:radial-gradient(circle at 12% 0%,rgba(201,164,92,.16),transparent 34%),linear-gradient(180deg,#fff,#fffaf0)!important;}
.dsspp-finance-report-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.dsspp-accountant-entry-grid .dsspp-form-grid,.dsspp-accounting-form .dsspp-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
.dsspp-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:14px;}
.dsspp-card-head h2{margin:0!important;}
.dsspp-card-head .dsspp-muted{margin:0!important;}
.dsspp-accounting-form{height:100%;}
.dsspp-accounting-form .dsspp-field-wide{grid-column:1/-1;}
@media (max-width:1400px){.dsspp-stats-finance{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media (max-width:980px){.dsspp-stats-finance{grid-template-columns:repeat(2,minmax(0,1fr))!important;}.dsspp-finance-report-grid{grid-template-columns:1fr;}.dsspp-accountant-entry-grid{grid-template-columns:1fr!important;}}
@media (max-width:640px){.dsspp-stats-finance{grid-template-columns:1fr!important;}.dsspp-accounting-form .dsspp-form-grid{grid-template-columns:1fr!important;}}


/* v0.5.1 Arabic-first UI for admin and client pages */
.dsspp-admin-area{direction:rtl;text-align:right;font-family:"Cairo","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif!important;padding:24px 292px 56px 28px!important;}
.dsspp-admin-area .dsspp-nav{inset:18px 18px 18px auto!important;direction:rtl;text-align:right;}
.dsspp-admin-area .dsspp-nav:after{left:16px;right:auto;}
.dsspp-admin-area .dsspp-table th,.dsspp-admin-area .dsspp-table td{text-align:right;}
.dsspp-admin-area input,.dsspp-admin-area select,.dsspp-admin-area textarea{direction:rtl;text-align:right;}
.dsspp-admin-area input[type=email],.dsspp-admin-area input[type=url]{direction:ltr;text-align:left;}
.dsspp-admin-area .dsspp-actions,.dsspp-admin-area .dsspp-toolbar,.dsspp-admin-area .dsspp-inline-search{justify-content:flex-start;}
.dsspp-admin-area .dsspp-card:before,.dsspp-admin-area .dsspp-chart-card:before{right:auto;left:26px;}
@media (max-width:980px){.dsspp-admin-area{padding:16px!important}.dsspp-admin-area .dsspp-nav{inset:auto!important;position:sticky!important;width:auto!important;height:auto!important;flex-direction:row!important;}}
body.toplevel_page_dsspp_dashboard .dsspp-wrap,
body[class*="dsspp_"] .dsspp-wrap,
body[class*="dss-patient_page_dsspp"] .dsspp-wrap{direction:rtl;text-align:right;font-family:"Cairo","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif!important;}
body.toplevel_page_dsspp_dashboard .dsspp-table th,
body.toplevel_page_dsspp_dashboard .dsspp-table td,
body[class*="dsspp_"] .dsspp-table th,
body[class*="dsspp_"] .dsspp-table td,
body[class*="dss-patient_page_dsspp"] .dsspp-table th,
body[class*="dss-patient_page_dsspp"] .dsspp-table td{text-align:right;}
body.toplevel_page_dsspp_dashboard .dsspp-wrap input,
body.toplevel_page_dsspp_dashboard .dsspp-wrap select,
body.toplevel_page_dsspp_dashboard .dsspp-wrap textarea,
body[class*="dsspp_"] .dsspp-wrap input,
body[class*="dsspp_"] .dsspp-wrap select,
body[class*="dsspp_"] .dsspp-wrap textarea,
body[class*="dss-patient_page_dsspp"] .dsspp-wrap input,
body[class*="dss-patient_page_dsspp"] .dsspp-wrap select,
body[class*="dss-patient_page_dsspp"] .dsspp-wrap textarea{direction:rtl;text-align:right;}
body.toplevel_page_dsspp_dashboard .dsspp-wrap input[type=email],
body.toplevel_page_dsspp_dashboard .dsspp-wrap input[type=url],
body[class*="dsspp_"] .dsspp-wrap input[type=email],
body[class*="dsspp_"] .dsspp-wrap input[type=url],
body[class*="dss-patient_page_dsspp"] .dsspp-wrap input[type=email],
body[class*="dss-patient_page_dsspp"] .dsspp-wrap input[type=url]{direction:ltr;text-align:left;}

/* v0.7.0 Marketing Intelligence + Client Experience */
.dsspp-client-notices .dsspp-notice-list{display:grid;gap:12px}
.dsspp-client-notice{border:1.5px solid rgba(23,58,90,.28);border-right:5px solid var(--dsspp-gold,#c9a45c);background:#fffaf0;border-radius:16px;padding:14px 16px;box-shadow:0 10px 28px rgba(23,58,90,.08)}
.dsspp-client-notice strong{display:block;color:var(--dsspp-navy,#173a5a);font-size:16px;margin-bottom:6px}
.dsspp-client-notice p{margin:0;color:#344054;line-height:1.8}
.dsspp-priority-urgent{border-right-color:#b42318;background:#fff4f2}
.dsspp-priority-important{border-right-color:#c9a45c;background:#fffaf0}
.dsspp-feedback-card .dsspp-feedback-form{margin-top:8px}
.dsspp-feedback-card select{min-height:44px}
.dsspp-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.dsspp-card-head h2{margin:0}
.dsspp-stats-finance{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
@media(max-width:760px){.dsspp-card-head{align-items:flex-start}.dsspp-stats-finance{grid-template-columns:1fr 1fr}.dsspp-export-grid{grid-template-columns:1fr}}

/* ============================================================
   DSS Patient Portal v0.7.1 — تنظيم بصري عربي شامل
   الهدف: ترتيب الصفحات والاختصارات بصريًا مع حدود وفواصل واضحة
   واستلهام هدوء بلج الأكاديمية دون نقل واجهته حرفيًا.
   ============================================================ */
html body .dsspp-wrap.dsspp-ui-refresh,
html body .dsspp-wrap.dsspp-admin-area,
html body .dsspp-wrap.dsspp-client-area{
  --dsspp-navy:#061a34;
  --dsspp-navy-2:#0a2a50;
  --dsspp-gold:#c7a24a;
  --dsspp-gold-2:#b48d35;
  --dsspp-ink:#0b1b2d;
  --dsspp-muted:#68778b;
  --dsspp-line:rgba(8,35,69,.16);
  --dsspp-line-strong:rgba(8,35,69,.28);
  --dsspp-page:#f5f8fb;
  --dsspp-card:#ffffff;
  --dsspp-card-soft:#fbfdff;
  --dsspp-radius:22px;
  --dsspp-shadow-clean:0 18px 45px rgba(6,26,52,.075);
  direction:rtl!important;
  text-align:right!important;
  font-family:"Cairo","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif!important;
  font-weight:400!important;
  background:linear-gradient(180deg,#f7fbff 0%,#eef4fa 100%)!important;
  color:var(--dsspp-ink)!important;
  letter-spacing:0!important;
}
html body .dsspp-wrap.dsspp-admin-area{
  padding:24px 28px 56px!important;
  min-height:100vh!important;
}
html body .dsspp-wrap.dsspp-portal-pad{padding-top:150px!important;}
html body .dsspp-admin-area .dsspp-top-nav,
html body .dsspp-admin-area .dsspp-nav{
  position:sticky!important;
  top:14px!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  z-index:99!important;
  display:grid!important;
  grid-template-columns:220px 1fr!important;
  gap:16px!important;
  align-items:stretch!important;
  margin:0 0 20px!important;
  padding:14px!important;
  overflow:visible!important;
  background:rgba(255,255,255,.92)!important;
  border:1px solid var(--dsspp-line)!important;
  border-top:4px solid var(--dsspp-gold)!important;
  border-radius:28px!important;
  box-shadow:var(--dsspp-shadow-clean)!important;
  backdrop-filter:blur(10px)!important;
}
html body .dsspp-admin-area .dsspp-top-nav:before,
html body .dsspp-admin-area .dsspp-top-nav:after,
html body .dsspp-admin-area .dsspp-nav:before,
html body .dsspp-admin-area .dsspp-nav:after{content:none!important;display:none!important;}
html body .dsspp-nav-brand{
  display:grid!important;
  grid-template-columns:48px 1fr!important;
  gap:11px!important;
  align-items:center!important;
  background:linear-gradient(135deg,var(--dsspp-navy),var(--dsspp-navy-2))!important;
  color:#fff!important;
  border-radius:22px!important;
  padding:12px 14px!important;
  min-width:0!important;
  border:1px solid rgba(199,162,74,.42)!important;
}
html body .dsspp-nav-brand span{
  grid-row:1/3!important;
  width:48px!important;height:48px!important;border-radius:17px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border:1px solid rgba(227,198,111,.65)!important;color:#e3c66f!important;
  font-weight:700!important;font-size:17px!important;background:rgba(255,255,255,.05)!important;
}
html body .dsspp-nav-brand strong{display:block!important;color:#fff!important;font-weight:650!important;font-size:16px!important;line-height:1.25!important;white-space:normal!important;}
html body .dsspp-nav-brand em{display:block!important;color:rgba(255,255,255,.68)!important;font-style:normal!important;font-size:12px!important;font-weight:400!important;line-height:1.35!important;}
html body .dsspp-nav-groups{
  display:flex!important;
  gap:10px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  padding-bottom:2px!important;
  -webkit-overflow-scrolling:touch!important;
}
html body .dsspp-nav-group{
  min-width:max-content!important;
  border:1px solid rgba(8,35,69,.10)!important;
  border-radius:20px!important;
  padding:9px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
}
html body .dsspp-nav-group>b{
  display:block!important;
  color:var(--dsspp-muted)!important;
  font-size:11.5px!important;
  font-weight:500!important;
  margin:0 3px 7px!important;
}
html body .dsspp-nav-links{display:flex!important;gap:7px!important;align-items:center!important;}
html body .dsspp-admin-area .dsspp-nav a{
  width:auto!important;min-height:38px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:7px!important;
  padding:9px 12px!important;
  color:var(--dsspp-navy)!important;
  background:#fff!important;
  border:1px solid rgba(8,35,69,.13)!important;
  border-radius:999px!important;
  font-weight:500!important;
  font-size:13px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
html body .dsspp-admin-area .dsspp-nav a:before{content:none!important;display:none!important;}
html body .dsspp-admin-area .dsspp-nav a span{
  width:21px!important;height:21px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:9px!important;background:#f6f1e5!important;color:var(--dsspp-gold-2)!important;font-size:12px!important;
}
html body .dsspp-admin-area .dsspp-nav a:hover{border-color:rgba(199,162,74,.50)!important;background:#fffaf0!important;color:var(--dsspp-navy)!important;}
html body .dsspp-admin-area .dsspp-nav a.is-active{
  background:linear-gradient(135deg,var(--dsspp-gold),var(--dsspp-gold-2))!important;
  color:#fff!important;
  border-color:rgba(199,162,74,.7)!important;
  box-shadow:0 10px 22px rgba(199,162,74,.18)!important;
}
html body .dsspp-admin-area .dsspp-nav a.is-active span{background:rgba(255,255,255,.22)!important;color:#fff!important;}
html body .dsspp-ui-refresh .dsspp-hero{
  border-radius:28px!important;
  padding:26px 30px!important;
  margin:0 0 18px!important;
  border:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 22px 52px rgba(6,26,52,.13)!important;
}
html body .dsspp-ui-refresh .dsspp-hero h1{
  font-size:34px!important;
  font-weight:650!important;
  line-height:1.22!important;
  margin:4px 0 8px!important;
  letter-spacing:-.01em!important;
}
html body .dsspp-ui-refresh .dsspp-hero p{font-size:15px!important;font-weight:400!important;line-height:1.8!important;max-width:980px!important;}
html body .dsspp-eyebrow{font-size:12px!important;font-weight:600!important;letter-spacing:.06em!important;}
html body .dsspp-section-title,
html body .dsspp-card,
html body .dsspp-chart-card{
  border:1px solid var(--dsspp-line)!important;
  border-top:3px solid var(--dsspp-gold)!important;
  border-radius:26px!important;
  background:linear-gradient(180deg,#fff,#fbfdff)!important;
  box-shadow:var(--dsspp-shadow-clean)!important;
}
html body .dsspp-card:before,
html body .dsspp-chart-card:before{display:none!important;content:none!important;}
html body .dsspp-section-title{padding:20px 22px!important;margin-bottom:18px!important;}
html body .dsspp-section-title h2,
html body .dsspp-card h2,
html body .dsspp-chart-card h2,
html body .dsspp-chart-card h3{
  color:var(--dsspp-navy)!important;
  font-size:23px!important;
  font-weight:650!important;
  line-height:1.35!important;
  letter-spacing:0!important;
}
html body .dsspp-section-title p,
html body .dsspp-muted{color:var(--dsspp-muted)!important;font-weight:400!important;line-height:1.75!important;}
html body .dsspp-card{padding:22px!important;margin-bottom:20px!important;}
html body .dsspp-grid{gap:18px!important;}
html body .dsspp-form-grid{gap:14px!important;}
html body .dsspp-field label,
html body .dsspp-form label{font-weight:500!important;color:var(--dsspp-navy)!important;font-size:13.5px!important;}
html body .dsspp-field input,
html body .dsspp-field select,
html body .dsspp-field textarea,
html body .dsspp-form input,
html body .dsspp-form select,
html body .dsspp-form textarea,
html body .dsspp-toolbar input,
html body .dsspp-inline-search input{
  border:1px solid #cfd8e3!important;
  border-radius:14px!important;
  min-height:45px!important;
  padding:11px 13px!important;
  font-weight:400!important;
  box-shadow:0 1px 0 rgba(15,23,42,.02)!important;
}
html body .dsspp-field input:focus,
html body .dsspp-field select:focus,
html body .dsspp-field textarea:focus{
  border-color:var(--dsspp-gold)!important;
  box-shadow:0 0 0 3px rgba(199,162,74,.13)!important;
}
html body .dsspp-btn{
  border-radius:999px!important;
  padding:10px 17px!important;
  min-height:40px!important;
  font-weight:600!important;
  box-shadow:0 10px 22px rgba(199,162,74,.16)!important;
}
html body .dsspp-btn-light{box-shadow:none!important;border-color:var(--dsspp-line)!important;color:var(--dsspp-navy)!important;background:#fff!important;}
html body .dsspp-stats{gap:12px!important;margin-bottom:18px!important;}
html body .dsspp-stats>div{
  border:1px solid var(--dsspp-line)!important;
  border-top:3px solid var(--dsspp-gold)!important;
  border-radius:20px!important;
  padding:16px!important;
  box-shadow:0 12px 28px rgba(6,26,52,.055)!important;
  background:#fff!important;
}
html body .dsspp-stats>div:before{display:none!important;content:none!important;}
html body .dsspp-stats span{font-size:12.5px!important;font-weight:500!important;color:var(--dsspp-muted)!important;}
html body .dsspp-stats strong{font-size:24px!important;font-weight:650!important;color:var(--dsspp-navy)!important;margin:5px 0 2px!important;}
html body .dsspp-stats small{font-size:12px!important;color:var(--dsspp-muted)!important;}
html body .dsspp-table-wrap{border:1px solid var(--dsspp-line)!important;border-radius:18px!important;box-shadow:none!important;}
html body .dsspp-table th{background:#f2f6fb!important;color:#31445c!important;font-weight:600!important;}
html body .dsspp-table th,
html body .dsspp-table td{border-bottom:1px solid #e8eef5!important;padding:12px!important;font-weight:400!important;}
html body .dsspp-badge{font-weight:500!important;border-color:var(--dsspp-line)!important;background:#f8fbff!important;}

/* Shortcut and workspace map */
html body .dsspp-shortcut-panel,
html body .dsspp-workspace-map{
  margin:0 0 20px!important;
  border:1px solid var(--dsspp-line)!important;
  border-top:4px solid var(--dsspp-gold)!important;
  border-radius:28px!important;
  background:#fff!important;
  box-shadow:var(--dsspp-shadow-clean)!important;
  padding:22px!important;
}
html body .dsspp-shortcut-head,
html body .dsspp-workspace-head,
html body .dsspp-workspace-title{
  display:flex!important;
  justify-content:space-between!important;
  gap:14px!important;
  align-items:flex-start!important;
  padding-bottom:14px!important;
  margin-bottom:14px!important;
  border-bottom:1px solid #e8eef5!important;
}
html body .dsspp-shortcut-head span,
html body .dsspp-workspace-head span{
  display:block!important;
  color:var(--dsspp-gold-2)!important;
  font-size:12px!important;
  font-weight:600!important;
  margin-bottom:4px!important;
}
html body .dsspp-shortcut-head h2,
html body .dsspp-workspace-head h2,
html body .dsspp-workspace-title h3{
  margin:0!important;
  color:var(--dsspp-navy)!important;
  font-size:24px!important;
  font-weight:650!important;
  line-height:1.3!important;
}
html body .dsspp-shortcut-head p,
html body .dsspp-workspace-head p{
  margin:6px 0 0!important;
  color:var(--dsspp-muted)!important;
  font-size:14px!important;
  line-height:1.65!important;
  font-weight:400!important;
}
html body .dsspp-workspace-section{
  border:1px solid rgba(8,35,69,.12)!important;
  border-radius:24px!important;
  padding:16px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  margin-top:14px!important;
}
html body .dsspp-workspace-title{padding-bottom:10px!important;margin-bottom:12px!important;align-items:center!important;}
html body .dsspp-workspace-title h3{font-size:19px!important;}
html body .dsspp-workspace-title small{
  display:inline-flex!important;
  border-radius:999px!important;
  padding:5px 10px!important;
  border:1px solid var(--dsspp-line)!important;
  color:var(--dsspp-muted)!important;
  background:#fff!important;
  font-size:12px!important;
  font-weight:500!important;
}
html body .dsspp-shortcut-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(180px,1fr))!important;
  gap:12px!important;
}
html body .dsspp-shortcut-panel.is-compact .dsspp-shortcut-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))!important;}
html body .dsspp-shortcut-card{
  position:relative!important;
  display:block!important;
  min-height:138px!important;
  padding:16px 16px 38px!important;
  border:1px solid var(--dsspp-line)!important;
  border-top:3px solid var(--dsspp-gold)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  color:var(--dsspp-ink)!important;
  text-decoration:none!important;
  box-shadow:0 10px 22px rgba(6,26,52,.045)!important;
  transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease!important;
}
html body .dsspp-shortcut-card:hover{
  transform:translateY(-2px)!important;
  border-color:rgba(199,162,74,.55)!important;
  box-shadow:0 18px 34px rgba(6,26,52,.09)!important;
}
html body .dsspp-shortcut-card i{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:40px!important;height:40px!important;
  border-radius:15px!important;
  background:#f6f1e5!important;
  color:var(--dsspp-gold-2)!important;
  font-style:normal!important;
  font-weight:600!important;
  margin-bottom:12px!important;
}
html body .dsspp-shortcut-card strong{
  display:block!important;
  color:var(--dsspp-navy)!important;
  font-size:16px!important;
  font-weight:600!important;
  line-height:1.35!important;
  margin-bottom:6px!important;
}
html body .dsspp-shortcut-card em{
  display:block!important;
  color:var(--dsspp-muted)!important;
  font-style:normal!important;
  line-height:1.55!important;
  font-size:13px!important;
  font-weight:400!important;
}
html body .dsspp-shortcut-card b{
  position:absolute!important;
  right:16px!important;
  bottom:14px!important;
  color:var(--dsspp-gold-2)!important;
  font-size:12px!important;
  font-weight:600!important;
}
html body .dsspp-shortcut-panel.is-compact{
  padding:16px!important;
  border-top-width:3px!important;
}
html body .dsspp-shortcut-panel.is-compact .dsspp-shortcut-head{display:block!important;margin-bottom:12px!important;padding-bottom:10px!important;}
html body .dsspp-shortcut-panel.is-compact .dsspp-shortcut-head h2{font-size:20px!important;}
html body .dsspp-shortcut-panel.is-compact .dsspp-shortcut-card{min-height:116px!important;padding:14px 14px 32px!important;}
html body .dsspp-shortcut-panel.is-compact .dsspp-shortcut-card i{width:34px!important;height:34px!important;border-radius:13px!important;margin-bottom:9px!important;}

/* Better inner tab separation */
html body .dsspp-manage-tabs{
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  border:1px solid var(--dsspp-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  padding:10px!important;
  box-shadow:0 10px 22px rgba(6,26,52,.045)!important;
}
html body .dsspp-manage-tabs a{font-weight:500!important;border-color:rgba(8,35,69,.12)!important;background:#f8fbff!important;}
html body .dsspp-manage-tabs a.is-active{background:linear-gradient(135deg,var(--dsspp-navy),var(--dsspp-navy-2))!important;color:#fff!important;border-color:var(--dsspp-gold)!important;}

@media(max-width:1280px){
  html body .dsspp-admin-area .dsspp-top-nav,
  html body .dsspp-admin-area .dsspp-nav{grid-template-columns:1fr!important;}
  html body .dsspp-nav-brand{grid-template-columns:42px 1fr!important;}
  html body .dsspp-nav-brand span{width:42px!important;height:42px!important;}
  html body .dsspp-shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:980px){
  html body .dsspp-wrap.dsspp-admin-area{padding:14px!important;}
  html body .dsspp-wrap.dsspp-portal-pad{padding-top:130px!important;}
  html body .dsspp-admin-area .dsspp-top-nav,
  html body .dsspp-admin-area .dsspp-nav{top:8px!important;border-radius:22px!important;padding:11px!important;}
  html body .dsspp-nav-groups{display:grid!important;grid-template-columns:1fr!important;overflow:visible!important;}
  html body .dsspp-nav-group{min-width:0!important;}
  html body .dsspp-nav-links{overflow-x:auto!important;padding-bottom:2px!important;}
  html body .dsspp-ui-refresh .dsspp-hero{padding:22px!important;border-radius:24px!important;}
  html body .dsspp-ui-refresh .dsspp-hero h1{font-size:27px!important;}
  html body .dsspp-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:640px){
  html body .dsspp-wrap.dsspp-admin-area{padding:10px!important;}
  html body .dsspp-wrap.dsspp-portal-pad{padding-top:110px!important;}
  html body .dsspp-nav-brand strong{font-size:15px!important;}
  html body .dsspp-nav-brand em{font-size:11.5px!important;}
  html body .dsspp-nav-group>b{font-size:11px!important;}
  html body .dsspp-admin-area .dsspp-nav a{font-size:12.5px!important;padding:8px 10px!important;}
  html body .dsspp-shortcut-grid{grid-template-columns:1fr!important;}
  html body .dsspp-shortcut-panel,
  html body .dsspp-workspace-map,
  html body .dsspp-card{padding:16px!important;border-radius:22px!important;}
  html body .dsspp-workspace-title,
  html body .dsspp-shortcut-head{display:block!important;}
  html body .dsspp-stats{grid-template-columns:1fr 1fr!important;}
}
@media(max-width:420px){html body .dsspp-stats{grid-template-columns:1fr!important;}}

/* v0.7.2 copy button stability */
html body .dsspp-message-card .dsspp-copy-actions{
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  margin-top:12px!important;
}
html body .dsspp-message-card .dsspp-copy-status{
  color:var(--dsspp-muted)!important;
  font-size:13px!important;
  font-weight:400!important;
}
html body .dsspp-message-card textarea[data-dsspp-copy-text]{
  direction:rtl!important;
  text-align:right!important;
  line-height:1.9!important;
}

/* v0.7.3 payment search-only flow */
html body .dsspp-payment-search-guide{
  border-style:dashed!important;
  background:linear-gradient(135deg,#fff,#fbf8f1)!important;
}
html body .dsspp-selected-client-card .dsspp-card-head{
  align-items:flex-start!important;
  border-bottom:1px solid rgba(8,35,69,.10)!important;
  padding-bottom:12px!important;
  margin-bottom:14px!important;
}
html body .dsspp-alert-card{
  border-color:rgba(201,164,92,.55)!important;
  background:linear-gradient(135deg,#fff,#fffaf0)!important;
}
html body .dsspp-patient-result-grid .dsspp-result-card em{
  display:block!important;
  margin-top:8px!important;
  color:var(--dsspp-gold-2)!important;
  font-style:normal!important;
  font-size:12.5px!important;
  font-weight:500!important;
}
html body .dsspp-payment-stats{
  margin-top:14px!important;
  margin-bottom:14px!important;
}

/* v0.7.4: Client portal logout button */
.dsspp-client-head-actions{align-items:center;justify-content:flex-start}
.dsspp-client-area .dsspp-btn-logout{border-color:rgba(151,37,37,.28)!important;color:#8f1f1f!important;background:#fff!important}
.dsspp-client-area .dsspp-btn-logout:hover{background:#fff5f5!important;border-color:rgba(151,37,37,.42)!important}
.dsspp-client-logout-wrap{margin-top:16px}
@media (max-width:640px){.dsspp-client-head-actions{margin-top:16px}.dsspp-client-head-actions .dsspp-btn{width:100%}}


/* v0.7.7 weight progress visual polish */
.dsspp-weight-chart svg text{font-family:inherit}.dsspp-weight-chart{background:linear-gradient(180deg,#fff 0%,#fbf8f1 100%);border:1px solid rgba(23,58,90,.14);padding:14px 14px 10px}.dsspp-chart-note{text-align:center}.dsspp-ar .dsspp-chart-note{text-align:right}


/* v0.7.8 elegant weight chart */
.dsspp-weight-chart{background:linear-gradient(180deg,#fff 0%,#fcfaf5 100%);border:1px solid rgba(23,58,90,.12);border-radius:24px;padding:18px 18px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.85)}
.dsspp-weight-chart svg{width:100%;height:auto;display:block}
.dsspp-chart-note{margin-top:12px;font-size:13px;line-height:1.7;color:#667085}
.dsspp-wrap .dsspp-chart-card .dsspp-progress-summary strong{font-size:18px!important}


/* v0.7.9 soft glass weight chart */
.dsspp-weight-chart-card .dsspp-weight-chart{background:linear-gradient(180deg,rgba(255,255,255,.78) 0%,rgba(251,248,241,.92) 100%);border:1px solid rgba(23,58,90,.10);border-radius:26px;padding:18px 18px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 10px 26px rgba(23,58,90,.05)}
.dsspp-weight-chart-card .dsspp-weight-chart svg{width:100%;height:auto;display:block}
.dsspp-weight-chart-card .dsspp-chart-note{margin-top:12px;font-size:13px;line-height:1.75;color:#667085}
.dsspp-weight-chart-card .dsspp-progress-summary>div{background:linear-gradient(180deg,rgba(255,255,255,.86),rgba(249,246,240,.96));border:1px solid rgba(23,58,90,.10);box-shadow:0 8px 18px rgba(23,58,90,.04), inset 0 1px 0 rgba(255,255,255,.85)}


/* v0.7.15 admin header welcome/logout cleanup */
html body .dsspp-admin-area .dsspp-top-nav,
html body .dsspp-admin-area .dsspp-nav{
  grid-template-columns:190px minmax(0,1fr) 230px!important;
  align-items:stretch!important;
}
html body .dsspp-admin-area .dsspp-nav-brand strong{font-size:15.5px!important;font-weight:620!important;}
html body .dsspp-admin-area .dsspp-nav-brand em{font-size:11.5px!important;}
html body .dsspp-admin-userbox{
  display:grid!important;
  grid-template-columns:1fr auto!important;
  gap:10px!important;
  align-items:center!important;
  background:linear-gradient(180deg,#fff,#f8fbff)!important;
  border:1px solid rgba(8,35,69,.11)!important;
  border-radius:20px!important;
  padding:10px 12px!important;
  min-width:0!important;
}
html body .dsspp-admin-userbox div{min-width:0!important;}
html body .dsspp-admin-userbox span,
html body .dsspp-admin-userbox em{
  display:block!important;
  color:var(--dsspp-muted)!important;
  font-size:11.5px!important;
  font-style:normal!important;
  font-weight:400!important;
  line-height:1.35!important;
}
html body .dsspp-admin-userbox strong{
  display:block!important;
  color:var(--dsspp-navy)!important;
  font-size:14px!important;
  font-weight:650!important;
  line-height:1.35!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  max-width:125px!important;
}
html body .dsspp-admin-logout{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:34px!important;
  padding:8px 12px!important;
  border-radius:999px!important;
  border:1px solid rgba(180,35,24,.22)!important;
  background:#fff7f6!important;
  color:#b42318!important;
  text-decoration:none!important;
  font-size:12.5px!important;
  font-weight:650!important;
  white-space:nowrap!important;
  box-shadow:none!important;
}
html body .dsspp-admin-logout:hover{background:#fff1f0!important;border-color:rgba(180,35,24,.38)!important;}
html body .dsspp-ui-refresh .dsspp-hero h1{margin-top:0!important;}
html body .dsspp-ui-refresh .dsspp-hero .dsspp-eyebrow:empty{display:none!important;}
@media(max-width:1280px){
  html body .dsspp-admin-area .dsspp-top-nav,
  html body .dsspp-admin-area .dsspp-nav{grid-template-columns:1fr!important;}
  html body .dsspp-admin-userbox{grid-template-columns:1fr auto!important;}
  html body .dsspp-admin-userbox strong{max-width:none!important;}
}
@media(max-width:640px){
  html body .dsspp-admin-userbox{grid-template-columns:1fr!important;}
  html body .dsspp-admin-logout{width:100%!important;}
}


/* v0.7.17 clean premium weight chart */
.dsspp-weight-chart-card .dsspp-weight-chart{background:linear-gradient(180deg,rgba(255,255,255,.88) 0%,rgba(251,248,241,.96) 100%);border:1px solid rgba(23,58,90,.10);border-radius:26px;padding:18px 18px 14px;box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 8px 24px rgba(23,58,90,.04)}
.dsspp-weight-chart-card .dsspp-weight-chart svg{width:100%;height:auto;display:block}
.dsspp-weight-chart-card .dsspp-chart-note{text-align:center;font-size:13px;line-height:1.7;color:#667085;margin-top:12px}
.dsspp-ar .dsspp-weight-chart-card .dsspp-chart-note{text-align:right}


/* v0.7.18 weight chart inspired by reference */
.dsspp-weight-showcase{background:radial-gradient(circle at 20% 20%, rgba(38,76,129,.42), transparent 28%), radial-gradient(circle at 70% 60%, rgba(24,60,111,.24), transparent 34%), linear-gradient(180deg,#031734 0%,#04142b 100%); border:1px solid rgba(212,173,98,.55)!important; border-radius:28px; padding:28px; box-shadow:0 12px 36px rgba(2,16,39,.20)}
.dsspp-weight-showcase-head{display:flex; justify-content:flex-end; margin-bottom:14px}
.dsspp-weight-showcase-head h2{color:#fff; font-size:34px; line-height:1.15; margin:0; font-weight:800}
.dsspp-weight-showcase-head h2 span{color:#d4ad62; font-size:.9em; margin-inline-start:8px}
.dsspp-weight-showcase-grid{display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:22px; align-items:stretch}
.dsspp-weight-showcase-main{background:#fffdf8; border-radius:32px; padding:18px 22px 16px; position:relative; min-height:340px}
.dsspp-weight-showcase-main svg{display:block; width:100%; height:auto}
.dsspp-weight-range-chip{position:absolute; top:22px; left:22px; display:inline-flex; align-items:center; gap:10px; background:#fffaf0; color:#8b7651; border:1px solid rgba(212,173,98,.26); border-radius:14px; padding:11px 16px; font-size:14px; font-weight:600; box-shadow:0 5px 14px rgba(2,16,39,.06); z-index:3}
.dsspp-weight-range-chip .dsspp-chip-caret{font-size:16px; line-height:1; color:#a6864d}
.dsspp-weight-range-chip .dsspp-chip-icon{font-size:13px; line-height:1; color:#b3935a}
.dsspp-weight-showcase-side{display:flex; flex-direction:column; gap:18px}
.dsspp-weight-side-card{display:flex; align-items:center; justify-content:space-between; gap:14px; min-height:118px; padding:22px 22px; border-radius:22px; background:linear-gradient(180deg, rgba(18,41,77,.94), rgba(8,24,50,.96)); border:1px solid rgba(255,255,255,.09); box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 10px 24px rgba(2,16,39,.16)}
.dsspp-weight-side-card span{display:block; color:#d8deeb; font-size:17px; margin-bottom:8px}
.dsspp-weight-side-card strong{display:block; color:#fff; font-size:26px; line-height:1.15; font-weight:800}
.dsspp-weight-side-card i{display:grid; place-items:center; width:62px; height:62px; border-radius:50%; border:1px solid rgba(212,173,98,.45); color:#d4ad62; font-style:normal; font-size:26px; box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.dsspp-weight-showcase .dsspp-chart-note{margin-top:16px; color:rgba(255,255,255,.86); font-size:14px; line-height:1.7}
@media (max-width: 980px){.dsspp-weight-showcase-grid{grid-template-columns:1fr}.dsspp-weight-showcase-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dsspp-weight-side-card{min-height:unset}}
@media (max-width: 700px){.dsspp-weight-showcase{padding:18px}.dsspp-weight-showcase-head h2{font-size:26px}.dsspp-weight-showcase-main{padding:16px 12px 8px}.dsspp-weight-range-chip{position:static; margin-bottom:8px; width:max-content; max-width:100%}.dsspp-weight-showcase-side{grid-template-columns:1fr}.dsspp-weight-side-card strong{font-size:22px}}


/* v0.7.19 refine reference weight chart */
.dsspp-weight-showcase{
  background:
    radial-gradient(1200px 380px at 15% 10%, rgba(23,58,90,.36) 0%, rgba(23,58,90,0) 42%),
    radial-gradient(800px 260px at 78% 78%, rgba(10,32,70,.24) 0%, rgba(10,32,70,0) 48%),
    linear-gradient(180deg,#03122b 0%, #04172f 100%);
  border:1px solid rgba(212,173,98,.60)!important;
  border-radius:34px;
  padding:24px 26px 22px;
  box-shadow:0 16px 40px rgba(2,16,39,.18);
}
.dsspp-weight-showcase-head{display:flex;justify-content:flex-end;align-items:center;margin-bottom:10px}
.dsspp-weight-showcase-head h2{margin:0;color:#fff;font-size:24px;line-height:1.15;font-weight:700;letter-spacing:0}
.dsspp-weight-showcase-head h2 span{color:#d8b16a;font-size:18px;margin-inline-start:8px}
.dsspp-weight-showcase-grid{display:grid;direction:ltr;grid-template-columns:minmax(0,1fr) 250px;gap:18px;align-items:stretch}
.dsspp-weight-showcase-main{background:linear-gradient(180deg,#fffefb 0%,#fffdf8 100%);border-radius:30px;padding:16px 18px 10px;position:relative;min-height:320px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.dsspp-weight-showcase-main svg{display:block;width:100%;height:auto}
.dsspp-weight-range-chip{position:absolute;top:26px;left:24px;display:inline-flex;align-items:center;gap:8px;background:#fffaf0;color:#8f7644;border:1px solid rgba(212,173,98,.30);border-radius:14px;padding:9px 14px;font-size:13px;font-weight:600;box-shadow:0 4px 12px rgba(2,16,39,.05);z-index:3}
.dsspp-weight-range-chip .dsspp-chip-caret{font-size:14px;color:#a9874c}
.dsspp-weight-range-chip .dsspp-chip-icon{font-size:12px;color:#b09059}
.dsspp-weight-showcase-side{display:flex;flex-direction:column;gap:16px;direction:rtl}
.dsspp-weight-side-card{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:98px;padding:18px 18px;border-radius:22px;background:linear-gradient(180deg, rgba(26,52,92,.96), rgba(14,34,67,.98));border:1px solid rgba(255,255,255,.10);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 10px 24px rgba(2,16,39,.16)}
.dsspp-weight-side-card div{text-align:right}
.dsspp-weight-side-card span{display:block;color:#cfd7e6;font-size:15px;margin-bottom:6px;font-weight:500}
.dsspp-weight-side-card strong{display:block;color:#fff;font-size:20px;line-height:1.15;font-weight:800}
.dsspp-weight-side-card i{display:grid;place-items:center;flex:0 0 auto;width:46px;height:46px;border-radius:50%;border:1px solid rgba(212,173,98,.45);color:#d4ad62;font-style:normal;font-size:21px;box-shadow:inset 0 1px 0 rgba(255,255,255,.06)}
.dsspp-weight-showcase .dsspp-chart-note{margin-top:12px;color:rgba(255,255,255,.70);font-size:12px;line-height:1.6;text-align:center}
.dsspp-weight-showcase svg text{font-family:inherit}
.dsspp-weight-showcase .dsspp-progress-summary{display:none}
@media (max-width: 980px){
  .dsspp-weight-showcase-grid{grid-template-columns:1fr;gap:14px}
  .dsspp-weight-showcase-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .dsspp-weight-side-card{min-height:auto}
}
@media (max-width: 700px){
  .dsspp-weight-showcase{padding:18px 16px}
  .dsspp-weight-showcase-head h2{font-size:21px}
  .dsspp-weight-showcase-main{padding:14px 10px 8px;border-radius:24px}
  .dsspp-weight-range-chip{position:static;margin-bottom:8px;width:max-content;max-width:100%}
  .dsspp-weight-showcase-side{grid-template-columns:1fr}
  .dsspp-weight-side-card strong{font-size:18px}
}


/* v0.7.20 near-exact weight chart reference match */
.dsspp-wrap .dsspp-chart-card.dsspp-weight-showcase{
  background:
    radial-gradient(900px 320px at 18% 20%, rgba(27,63,111,.42) 0%, rgba(27,63,111,0) 40%),
    radial-gradient(740px 240px at 82% 72%, rgba(7,30,64,.26) 0%, rgba(7,30,64,0) 48%),
    linear-gradient(180deg,#04152f 0%,#031127 100%) !important;
  border:1px solid rgba(214,177,101,.68) !important;
  border-radius:36px !important;
  padding:30px 30px 26px !important;
  box-shadow:0 14px 34px rgba(2,16,39,.18) !important;
  overflow:hidden;
}
.dsspp-wrap .dsspp-chart-card.dsspp-weight-showcase > h2{display:none !important}
.dsspp-wrap .dsspp-weight-showcase-head{
  display:flex !important;
  justify-content:flex-end !important;
  align-items:center;
  margin:0 0 18px 0 !important;
}
.dsspp-wrap .dsspp-weight-showcase-head h2{
  margin:0 !important;
  color:#ffffff !important;
  font-size:22px !important;
  line-height:1.15 !important;
  font-weight:700 !important;
  letter-spacing:0 !important;
}
.dsspp-wrap .dsspp-weight-showcase-head h2 span{
  color:#d8b268 !important;
  font-size:17px !important;
  margin-inline-start:8px !important;
}
.dsspp-wrap .dsspp-weight-showcase-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 286px !important;
  grid-template-areas:"main side" !important;
  gap:22px !important;
  align-items:start !important;
  direction:ltr !important;
}
.dsspp-wrap .dsspp-weight-showcase-main{
  grid-area:main !important;
  background:linear-gradient(180deg,#fffefb 0%,#fffdf7 100%) !important;
  border-radius:34px !important;
  padding:18px 22px 16px !important;
  min-height:0 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95), 0 8px 20px rgba(2,16,39,.05) !important;
}
.dsspp-wrap .dsspp-weight-showcase-main svg{display:block;width:100%;height:auto}
.dsspp-wrap .dsspp-weight-range-chip{
  position:absolute !important;
  top:18px !important;
  left:20px !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  background:#fff9ee !important;
  color:#9b7c42 !important;
  border:1px solid rgba(214,177,101,.32) !important;
  border-radius:16px !important;
  padding:10px 14px !important;
  font-size:13px !important;
  font-weight:600 !important;
  box-shadow:0 4px 10px rgba(2,16,39,.05) !important;
}
.dsspp-wrap .dsspp-weight-showcase-side{
  grid-area:side !important;
  display:flex !important;
  flex-direction:column !important;
  gap:18px !important;
  direction:rtl !important;
}
.dsspp-wrap .dsspp-weight-side-card{
  display:flex !important;
  flex-direction:row-reverse !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  min-height:110px !important;
  padding:20px 20px !important;
  border-radius:22px !important;
  background:linear-gradient(180deg, rgba(28,56,100,.97), rgba(14,34,66,.98)) !important;
  border:1px solid rgba(255,255,255,.10) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08), 0 10px 22px rgba(2,16,39,.14) !important;
}
.dsspp-wrap .dsspp-weight-side-card div{text-align:right !important; flex:1}
.dsspp-wrap .dsspp-weight-side-card span{
  display:block !important;
  color:#d9dfeb !important;
  font-size:16px !important;
  line-height:1.2 !important;
  margin-bottom:8px !important;
  font-weight:500 !important;
}
.dsspp-wrap .dsspp-weight-side-card strong{
  display:block !important;
  color:#ffffff !important;
  font-size:26px !important;
  line-height:1.1 !important;
  font-weight:800 !important;
}
.dsspp-wrap .dsspp-weight-side-card i{
  display:grid !important;
  place-items:center !important;
  flex:0 0 auto !important;
  width:58px !important;
  height:58px !important;
  border-radius:50% !important;
  border:1px solid rgba(214,177,101,.42) !important;
  color:#d8b268 !important;
  font-style:normal !important;
  font-size:25px !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06) !important;
}
.dsspp-wrap .dsspp-weight-showcase .dsspp-chart-note{
  display:none !important;
}
@media (max-width: 980px){
  .dsspp-wrap .dsspp-weight-showcase-grid{grid-template-columns:1fr !important; grid-template-areas:"side" "main" !important; gap:14px !important}
  .dsspp-wrap .dsspp-weight-showcase-side{display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:12px !important}
  .dsspp-wrap .dsspp-weight-side-card{min-height:auto !important}
}
@media (max-width: 700px){
  .dsspp-wrap .dsspp-chart-card.dsspp-weight-showcase{padding:18px 16px 16px !important; border-radius:28px !important}
  .dsspp-wrap .dsspp-weight-showcase-head h2{font-size:20px !important}
  .dsspp-wrap .dsspp-weight-showcase-main{padding:14px 10px 10px !important; border-radius:24px !important}
  .dsspp-wrap .dsspp-weight-range-chip{position:static !important; margin-bottom:10px !important; width:max-content; max-width:100%}
  .dsspp-wrap .dsspp-weight-showcase-side{grid-template-columns:1fr !important}
  .dsspp-wrap .dsspp-weight-side-card strong{font-size:22px !important}
  .dsspp-wrap .dsspp-weight-side-card i{width:52px !important; height:52px !important; font-size:22px !important}
}


/* v0.7.21 lighter elegant weight chart */
.dsspp-wrap .dsspp-chart-card.dsspp-weight-modern-light{
  background:linear-gradient(180deg,#fbfaf7 0%,#f7f4ee 100%) !important;
  border:1px solid rgba(23,58,90,.10) !important;
  border-radius:34px !important;
  padding:28px 28px 24px !important;
  box-shadow:0 10px 28px rgba(15,30,54,.06), inset 0 1px 0 rgba(255,255,255,.75) !important;
}
.dsspp-wrap .dsspp-chart-card.dsspp-weight-modern-light > h2,
.dsspp-wrap .dsspp-weight-modern-light .dsspp-progress-summary,
.dsspp-wrap .dsspp-weight-modern-light .dsspp-chart-note{display:none !important}
.dsspp-wrap .dsspp-weight-modern-head{display:flex;justify-content:flex-end;align-items:center;margin-bottom:14px}
.dsspp-wrap .dsspp-weight-modern-title-wrap{display:flex;flex-direction:row-reverse;align-items:center;gap:12px}
.dsspp-wrap .dsspp-weight-modern-title-wrap h2{margin:0 !important;color:#0f2d4f !important;font-size:24px !important;line-height:1.1 !important;font-weight:800 !important}
.dsspp-wrap .dsspp-weight-modern-title-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:#f4efe5;color:#bf9646;font-size:23px;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.dsspp-wrap .dsspp-weight-modern-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;grid-template-areas:"main side";gap:22px;align-items:start;direction:ltr}
.dsspp-wrap .dsspp-weight-modern-main{grid-area:main;position:relative;background:#fffefb;border-radius:28px;padding:18px 18px 10px;box-shadow:0 10px 24px rgba(15,30,54,.05), inset 0 1px 0 rgba(255,255,255,.92)}
.dsspp-wrap .dsspp-weight-modern-main svg{display:block;width:100%;height:auto}
.dsspp-wrap .dsspp-weight-modern-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:8px 56px 8px 56px;direction:ltr}
.dsspp-wrap .dsspp-weight-modern-topbar-left{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.dsspp-wrap .dsspp-weight-chip{display:inline-flex;align-items:center;gap:10px;border-radius:18px;padding:10px 18px;font-size:14px;font-weight:700;line-height:1;white-space:nowrap}
.dsspp-wrap .dsspp-weight-chip--status{background:#fff;border:1px solid rgba(23,58,90,.08);color:#173a5a;box-shadow:0 4px 12px rgba(15,30,54,.05)}
.dsspp-wrap .dsspp-weight-chip--status .dsspp-weight-chip-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f2dba7;color:#7e6222;font-size:14px}
.dsspp-wrap .dsspp-weight-chip--change{background:#fffaf0;border:1px solid rgba(214,177,101,.50);color:#b2862e;box-shadow:0 4px 10px rgba(15,30,54,.03)}
.dsspp-wrap .dsspp-weight-chip--unit{background:#fff;border:1px solid rgba(23,58,90,.08);color:#173a5a;box-shadow:0 4px 10px rgba(15,30,54,.04)}
.dsspp-wrap .dsspp-weight-chip-caret{font-size:14px;color:#173a5a}
.dsspp-wrap .dsspp-weight-range-chip--light{position:absolute !important;top:20px !important;left:18px !important;display:inline-flex !important;align-items:center !important;gap:8px;background:#fff9ee !important;color:#9c7e44 !important;border:1px solid rgba(214,177,101,.32) !important;border-radius:14px !important;padding:10px 14px !important;font-size:13px !important;font-weight:600 !important;box-shadow:0 4px 10px rgba(15,30,54,.03) !important;z-index:2}
.dsspp-wrap .dsspp-weight-modern-side{grid-area:side;display:flex;flex-direction:column;gap:18px;direction:rtl}
.dsspp-wrap .dsspp-weight-modern-side-card{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#fff;border:1px solid rgba(23,58,90,.06);border-radius:22px;padding:18px 20px;min-height:118px;box-shadow:0 10px 20px rgba(15,30,54,.05)}
.dsspp-wrap .dsspp-weight-modern-side-icon{display:grid;place-items:center;flex:0 0 auto;width:58px;height:58px;border-radius:50%;background:#fbf8f1;border:1px solid rgba(23,58,90,.04);color:#bf9646;font-size:28px}
.dsspp-wrap .dsspp-weight-modern-side-text{text-align:right;flex:1}
.dsspp-wrap .dsspp-weight-modern-side-text span{display:block;color:#7a8797;font-size:15px;font-weight:500;margin-bottom:8px}
.dsspp-wrap .dsspp-weight-modern-side-text strong{display:block;color:#0f2d4f;font-size:26px;line-height:1.1;font-weight:800}
.dsspp-wrap .dsspp-weight-modern-side-text strong.dsspp-weight-modern-side-change{color:#b2862e}
@media (max-width: 1100px){.dsspp-wrap .dsspp-weight-modern-grid{grid-template-columns:1fr;grid-template-areas:"side" "main"}.dsspp-wrap .dsspp-weight-modern-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.dsspp-wrap .dsspp-weight-modern-side-card{min-height:auto}}
@media (max-width: 700px){.dsspp-wrap .dsspp-chart-card.dsspp-weight-modern-light{padding:18px 16px}.dsspp-wrap .dsspp-weight-modern-title-wrap h2{font-size:21px !important}.dsspp-wrap .dsspp-weight-modern-title-icon{width:46px;height:46px;font-size:20px}.dsspp-wrap .dsspp-weight-modern-grid{gap:14px}.dsspp-wrap .dsspp-weight-modern-main{padding:16px 10px 8px}.dsspp-wrap .dsspp-weight-modern-topbar{padding:0;flex-direction:column;align-items:flex-start}.dsspp-wrap .dsspp-weight-modern-topbar-left{padding-inline-start:56px}.dsspp-wrap .dsspp-weight-range-chip--light{position:static !important;margin-bottom:10px;display:inline-flex !important}.dsspp-wrap .dsspp-weight-modern-side{grid-template-columns:1fr}.dsspp-wrap .dsspp-weight-modern-side-text strong{font-size:22px}}


/* v0.7.22 exact-reference style weight card, isolated from older chart CSS */
.dsspp-wr22,
.dsspp-wr22 *{box-sizing:border-box}
.dsspp-wr22{
  direction:rtl;
  margin:0 0 24px;
  padding:30px 34px 34px;
  border-radius:34px;
  border:1px solid rgba(23,58,90,.10);
  background:linear-gradient(180deg,#fbfaf7 0%,#f7f3ec 100%);
  box-shadow:0 10px 28px rgba(15,30,54,.055), inset 0 1px 0 rgba(255,255,255,.82);
  overflow:hidden;
}
.dsspp-wr22-head{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-direction:row-reverse;
  gap:12px;
  margin:0 0 18px;
}
.dsspp-wr22-head h2{
  margin:0!important;
  color:#0f2d4f!important;
  font-size:25px!important;
  line-height:1.15!important;
  font-weight:800!important;
  letter-spacing:0!important;
}
.dsspp-wr22-head-icon{
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:18px;
  background:#f3eee4;
  color:#bd9344;
  font-size:24px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}
.dsspp-wr22-body{
  display:grid;
  direction:ltr;
  grid-template-columns:minmax(0,1fr) 390px;
  gap:24px;
  align-items:stretch;
}
.dsspp-wr22-chart{
  position:relative;
  direction:ltr;
  border-radius:28px;
  background:#fffefb;
  padding:20px 22px 10px;
  min-height:390px;
  box-shadow:0 10px 24px rgba(15,30,54,.048), inset 0 1px 0 rgba(255,255,255,.94);
  overflow:hidden;
}
.dsspp-wr22-toolbar{
  display:flex;
  direction:ltr;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 22px 4px;
  position:relative;
  z-index:2;
}
.dsspp-wr22-toolbar-left{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.dsspp-wr22-status,
.dsspp-wr22-change-chip,
.dsspp-wr22-unit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:18px;
  padding:11px 18px;
  min-height:48px;
  white-space:nowrap;
  font-size:15px;
  line-height:1;
  font-weight:750;
}
.dsspp-wr22-status{
  color:#173a5a;
  background:#fff;
  border:1px solid rgba(23,58,90,.075);
  box-shadow:0 6px 14px rgba(15,30,54,.045);
}
.dsspp-wr22-status i{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#f0d89e;
  color:#8a6825;
  font-style:normal;
  font-size:14px;
}
.dsspp-wr22-change-chip{
  color:#b2872e;
  background:#fffaf0;
  border:1px solid rgba(214,177,101,.50);
  box-shadow:0 5px 12px rgba(15,30,54,.035);
}
.dsspp-wr22-unit{
  color:#173a5a;
  background:#fff;
  border:1px solid rgba(23,58,90,.075);
  box-shadow:0 6px 14px rgba(15,30,54,.04);
  padding-inline:18px 16px;
}
.dsspp-wr22-unit b{font-size:14px;line-height:1;color:#173a5a}
.dsspp-wr22-chart svg{
  display:block;
  width:100%;
  height:auto;
  margin-top:0;
}
.dsspp-wr22 svg text{font-family:inherit}
.dsspp-wr22-side{
  display:flex;
  flex-direction:column;
  gap:18px;
  direction:rtl;
}
.dsspp-wr22-side-card{
  display:flex;
  flex-direction:row-reverse;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:128px;
  padding:22px 24px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(23,58,90,.055);
  box-shadow:0 10px 20px rgba(15,30,54,.048), inset 0 1px 0 rgba(255,255,255,.88);
}
.dsspp-wr22-side-card div{
  text-align:right;
  flex:1;
}
.dsspp-wr22-side-card small{
  display:block;
  color:#7b8797;
  font-size:16px;
  line-height:1.2;
  margin:0 0 9px;
  font-weight:500;
}
.dsspp-wr22-side-card strong{
  display:block;
  color:#0f2d4f;
  font-size:30px;
  line-height:1.08;
  font-weight:800;
}
.dsspp-wr22-side-card strong.dsspp-wr22-gold{color:#b2872e}
.dsspp-wr22-card-icon{
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:64px;
  height:64px;
  border-radius:50%;
  background:#fbf8f1;
  border:1px solid rgba(23,58,90,.04);
  color:#bd9344;
  font-size:29px;
}
@media (max-width:1100px){
  .dsspp-wr22-body{grid-template-columns:1fr;gap:16px}
  .dsspp-wr22-side{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
  .dsspp-wr22-side-card{min-height:auto}
}
@media (max-width:700px){
  .dsspp-wr22{padding:18px 16px;border-radius:28px}
  .dsspp-wr22-head h2{font-size:21px!important}
  .dsspp-wr22-head-icon{width:46px;height:46px;font-size:20px}
  .dsspp-wr22-chart{padding:16px 10px 8px;min-height:0;border-radius:24px}
  .dsspp-wr22-toolbar{margin:0 0 8px;align-items:flex-start;flex-direction:column-reverse}
  .dsspp-wr22-toolbar-left{gap:8px}
  .dsspp-wr22-status,.dsspp-wr22-change-chip,.dsspp-wr22-unit{font-size:13px;min-height:42px;padding:9px 12px;border-radius:14px}
  .dsspp-wr22-side{grid-template-columns:1fr}
  .dsspp-wr22-side-card{padding:18px 20px;min-height:100px}
  .dsspp-wr22-side-card strong{font-size:23px}
  .dsspp-wr22-card-icon{width:52px;height:52px;font-size:23px}
}


/* v0.7.23 typography refinement: keep v0.7.22 shape, use calmer page-scale font sizes */
.dsspp-wr22{
  font-family:inherit !important;
  padding:26px 30px 30px !important;
}
.dsspp-wr22 *{font-family:inherit !important}
.dsspp-wr22-head{margin-bottom:14px !important;gap:10px !important}
.dsspp-wr22-head h2{
  font-size:21px !important;
  font-weight:750 !important;
}
.dsspp-wr22-head-icon{
  width:46px !important;
  height:46px !important;
  border-radius:16px !important;
  font-size:20px !important;
}
.dsspp-wr22-body{
  grid-template-columns:minmax(0,1fr) 340px !important;
  gap:22px !important;
}
.dsspp-wr22-chart{
  min-height:360px !important;
  padding:18px 20px 8px !important;
}
.dsspp-wr22-toolbar{
  margin:0 18px 2px !important;
}
.dsspp-wr22-status,
.dsspp-wr22-change-chip,
.dsspp-wr22-unit{
  font-size:13px !important;
  font-weight:650 !important;
  min-height:40px !important;
  padding:9px 14px !important;
  border-radius:15px !important;
}
.dsspp-wr22-status i{
  width:25px !important;
  height:25px !important;
  font-size:12px !important;
}
.dsspp-wr22-unit b{font-size:12px !important}
.dsspp-wr22-side{gap:16px !important}
.dsspp-wr22-side-card{
  min-height:108px !important;
  padding:18px 20px !important;
  border-radius:20px !important;
  gap:14px !important;
}
.dsspp-wr22-side-card small{
  font-size:13px !important;
  margin-bottom:7px !important;
  font-weight:500 !important;
}
.dsspp-wr22-side-card strong{
  font-size:23px !important;
  font-weight:750 !important;
}
.dsspp-wr22-card-icon{
  width:52px !important;
  height:52px !important;
  font-size:23px !important;
}
.dsspp-wr22 svg text{
  font-family:inherit !important;
}
@media (max-width:1100px){
  .dsspp-wr22-body{grid-template-columns:1fr !important}
}
@media (max-width:700px){
  .dsspp-wr22{padding:16px 14px !important}
  .dsspp-wr22-head h2{font-size:19px !important}
  .dsspp-wr22-head-icon{width:42px !important;height:42px !important;font-size:18px !important}
  .dsspp-wr22-status,.dsspp-wr22-change-chip,.dsspp-wr22-unit{font-size:12px !important;min-height:38px !important;padding:8px 11px !important}
  .dsspp-wr22-side-card strong{font-size:21px !important}
  .dsspp-wr22-card-icon{width:48px !important;height:48px !important;font-size:20px !important}
}


/* v0.7.28 booking billing account visibility */
.dsspp-billing-help{margin-top:-6px}
.dsspp-billing-help small{display:block;background:rgba(201,164,92,.08);border:1px solid rgba(201,164,92,.18);border-radius:14px;padding:10px 12px;color:#667085}


/* v0.7.29 visible booking billing account */
.dsspp-billing-account-field select{border-color:rgba(201,164,92,.55);background:linear-gradient(180deg,#fffefb 0%,#fffaf0 100%)}
.dsspp-billing-account-field small{display:block;margin-top:7px;color:#667085;font-size:12.5px;line-height:1.6}
.dsspp-billing-help small{display:block;background:rgba(201,164,92,.08);border:1px solid rgba(201,164,92,.18);border-radius:14px;padding:10px 12px;color:#667085}
