/* Desktop-only progress dashboard and its existing account/stat subviews. */
body.desktop-ui[data-view="me"] main#view{margin-left:228px!important;width:calc(100% - 228px)!important;max-width:none;padding:80px 30px 42px;background:#f3f8fe;color:#0a2348}
body.desktop-ui[data-view="me"] .profile-page{box-sizing:border-box;width:100%;max-width:1560px;padding:0;margin:0 auto}
body.desktop-ui[data-view="me"] .sidebar:not(.expanded)~main#view{margin-left:72px!important;width:calc(100% - 72px)!important}
body.desktop-ui[data-view="me"] .dp-page{width:min(100%,1560px);max-width:none!important;margin:0 auto;padding:0!important;display:grid;gap:12px}
body.desktop-ui[data-view="me"] .dp-page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:70px;margin:0}
body.desktop-ui[data-view="me"] .dp-page-head>div{display:grid;gap:5px}
body.desktop-ui[data-view="me"] .dp-eyebrow{color:#176fe5;font-size:10px;font-weight:750;letter-spacing:.11em}
body.desktop-ui[data-view="me"] .dp-page-head h1{margin:0;color:#0a2348;font-size:28px;line-height:1.2}
body.desktop-ui[data-view="me"] .dp-page-head p{margin:0;color:#62799d;font-size:13px}
body.desktop-ui[data-view="me"] .dp-primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 22px;border:1px solid #087bff;border-radius:9px;background:#087bff;color:#fff;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer}
body.desktop-ui[data-view="me"] .dp-primary:hover{background:#065ec4}
body.desktop-ui[data-view="me"] .dp-service-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
body.desktop-ui[data-view="me"] .dp-service-card{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:92px;padding:15px;border:1px solid #dce8f5;border-radius:10px;background:#fff}
body.desktop-ui[data-view="me"] .dp-service-icon{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:#edf4ff;color:#087bff;font-size:30px}
body.desktop-ui[data-view="me"] .dp-service-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.desktop-ui[data-view="me"] .dp-membership-card .dp-service-icon{background:#fff5df;color:#dfa829}
body.desktop-ui[data-view="me"] .dp-shop-card .dp-service-icon{font-size:25px}
body.desktop-ui[data-view="me"] .dp-service-card h2{margin:0 0 4px;color:#102d58;font-size:17px}
body.desktop-ui[data-view="me"] .dp-service-card p,body.desktop-ui[data-view="me"] .dp-service-card small{display:block;margin:0;color:#61799f;font-size:12px;line-height:1.5}
body.desktop-ui[data-view="me"] .dp-service-card small{margin-top:2px;color:#7187a7;font-size:11px}
body.desktop-ui[data-view="me"] .dp-service-card>button{min-height:36px;padding:0 13px;border:1px solid #c9def8;border-radius:8px;background:#087bff;color:#fff;font-weight:650;white-space:nowrap;cursor:pointer}
body.desktop-ui[data-view="me"] .dp-shop-card>button{background:#fff;color:#087bff}
body.desktop-ui[data-view="me"] .dp-service-card>button:hover{filter:brightness(.96)}
body.desktop-ui[data-view="me"] .dp-shop-card{grid-template-columns:52px minmax(0,1fr)}
body.desktop-ui[data-view="me"] .dp-shop-card>button{grid-column:2;justify-self:start}
body.desktop-ui[data-view="me"] :is(.dp-profile-card,.dp-membership-card){grid-template-columns:52px minmax(0,1fr)}
body.desktop-ui[data-view="me"] :is(.dp-profile-card,.dp-membership-card)>button{grid-column:2;justify-self:start}
body.desktop-ui[data-view="me"] .dp-page>.me-referral-card,body.desktop-ui[data-view="me"] .dp-page>.me-admin-entry{margin:0}
body.desktop-ui[data-view="me"] .dp-login-note{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:14px 18px;border:1px dashed #b9d0ea;border-radius:10px;background:#e8f2ff;color:#0a2348;text-align:left;cursor:pointer}
body.desktop-ui[data-view="me"] .dp-login-note span{display:grid;gap:4px}.dp-login-note small{color:#62799d}.dp-login-note strong{color:#087bff}
body.desktop-ui[data-view="me"] .dp-subject-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body.desktop-ui[data-view="me"] .dp-subject-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;column-gap:10px;row-gap:9px;min-width:0;padding:14px;border:1px solid #dce8f5;border-radius:10px;background:#fff;text-align:left;cursor:pointer}
body.desktop-ui[data-view="me"] .dp-subject-card:hover{border-color:#9bc7fa;box-shadow:0 3px 12px #087bff12}
body.desktop-ui[data-view="me"] .dp-subject-icon{grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#eef2ff;color:#5b6fe5;font-size:22px}
body.desktop-ui[data-view="me"] .dp-subject-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
body.desktop-ui[data-view="me"] .dp-subject-tone-2{background:#e8f3ff;color:#1683db}.dp-subject-tone-3{background:#e7fbf1;color:#13a676}.dp-subject-tone-4{background:#fff1e6;color:#ed8b36}
body.desktop-ui[data-view="me"] .dp-subject-title{display:grid;min-width:0;gap:3px}.dp-subject-title b{overflow:visible;color:#102d58;font-size:13px;line-height:1.35;text-overflow:clip;white-space:normal;overflow-wrap:anywhere}.dp-subject-title small,.dp-subject-card>small{color:#6d82a2;font-size:11px}
body.desktop-ui[data-view="me"] .dp-subject-card>strong{color:#102d58;font-size:21px}.dp-subject-card progress{grid-column:1/-1;width:100%;height:6px;border:0;border-radius:6px;background:#e4eaf2;accent-color:#087bff}.dp-subject-card>small{grid-column:1/3}.dp-subject-card>i{justify-self:end;color:#087bff;font-size:10px;font-style:normal}
body.desktop-ui[data-view="me"] .dp-study-layout{display:grid;grid-template-columns:minmax(0,2.08fr) minmax(240px,.8fr);gap:12px;align-items:stretch}
body.desktop-ui[data-view="me"] .dp-panel{min-width:0;padding:17px;border:1px solid #dce8f5;border-radius:10px;background:#fff;box-shadow:0 2px 8px #16365b05}
body.desktop-ui[data-view="me"] .dp-study-data>header,.dp-target-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
body.desktop-ui[data-view="me"] .dp-study-data>header h2,.dp-target-card h2,.dp-advice-card h2{margin:0;color:#0a2348;font-size:19px}
body.desktop-ui[data-view="me"] .dp-study-data>header p{margin:5px 0 0;color:#6c82a4;font-size:11px;line-height:1.5}
body.desktop-ui[data-view="me"] .dp-study-data>header button,.dp-target-card>header button{border:0;background:none;color:#087bff;font-size:11px;white-space:nowrap;cursor:pointer}
body.desktop-ui[data-view="me"] .dp-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
body.desktop-ui[data-view="me"] .dp-stat-grid button{display:grid;gap:6px;min-width:0;min-height:72px;padding:12px;border:1px solid #e2edf9;border-radius:8px;background:#fff;text-align:left;cursor:pointer}
body.desktop-ui[data-view="me"] .dp-stat-grid button:hover{background:#f8fbff;border-color:#bdd8fa}.dp-stat-grid span{color:#6680a7;font-size:11px}.dp-stat-grid b{color:#102e67;font-size:22px;line-height:1}.dp-stat-grid b small{font-size:11px;font-weight:500}
body.desktop-ui[data-view="me"] .dp-visual-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(230px,.9fr);gap:9px;margin-top:9px}
body.desktop-ui[data-view="me"] .dp-chart-panel,body.desktop-ui[data-view="me"] .dp-donut-panel{padding:13px;border-color:#e5eef9;box-shadow:none}
body.desktop-ui[data-view="me"] .dp-chart-panel h3,body.desktop-ui[data-view="me"] .dp-donut-panel h3{margin:0;color:#17365e;font-size:13px}
body.desktop-ui[data-view="me"] .dp-week-chart{display:flex;align-items:stretch;justify-content:space-around;gap:8px;height:142px;margin-top:9px;padding:0 4px;border-bottom:1px solid #dbe7f5}
body.desktop-ui[data-view="me"] .dp-week-chart>div{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px}
body.desktop-ui[data-view="me"] .dp-week-chart b{min-height:13px;color:#365780;font-size:10px;font-weight:550}
body.desktop-ui[data-view="me"] .dp-week-chart>div>span{display:flex;align-items:flex-end;justify-content:center;width:100%;height:92px}
body.desktop-ui[data-view="me"] .dp-week-chart i{display:block;width:min(25px,70%);border-radius:5px 5px 0 0;background:linear-gradient(180deg,#74b6ff,#2583f3)}
body.desktop-ui[data-view="me"] .dp-week-chart small{height:15px;color:#7488a5;font-size:9px;white-space:nowrap}
body.desktop-ui[data-view="me"] .dp-panel-note{margin:8px 0 0;color:#7488a5;font-size:10px;line-height:1.45}
body.desktop-ui[data-view="me"] .dp-donut-wrap{display:flex;align-items:center;justify-content:space-around;gap:14px;min-height:150px}
body.desktop-ui[data-view="me"] .dp-donut{display:grid;place-items:center;width:118px;height:118px;flex:0 0 auto;border-radius:50%;background:conic-gradient(#19bc8b 0 var(--dp-mastered, 0%),#448ff4 var(--dp-mastered, 0%) calc(var(--dp-mastered, 0%) + var(--dp-learning, 0%)),#e5eaf1 0);position:relative}
body.desktop-ui[data-view="me"] .dp-donut:before{position:absolute;inset:12px;border-radius:50%;background:#fff;content:""}
body.desktop-ui[data-view="me"] .dp-donut>span{z-index:1;display:grid;gap:4px;text-align:center}.dp-donut b{color:#102e67;font-size:22px}.dp-donut small{color:#6c82a4;font-size:9px}
body.desktop-ui[data-view="me"] .dp-donut-wrap ul{display:grid;gap:10px;margin:0;padding:0;list-style:none;color:#5e759a;font-size:10px}.dp-donut-wrap li{display:grid;grid-template-columns:9px auto auto;align-items:center;gap:6px;white-space:nowrap}.dp-donut-wrap li i{width:8px;height:8px;border-radius:50%;background:#19bc8b}.dp-donut-wrap li:nth-child(2) i{background:#448ff4}.dp-donut-wrap li:nth-child(3) i{background:#cfd7e2}.dp-donut-wrap li b{color:#344f78;font-weight:650}
body.desktop-ui[data-view="me"] .dp-side-stack{display:grid;grid-template-rows:auto 1fr;gap:10px}.dp-target-card .dp-countdown{margin:0;padding:14px;border:1px solid #e2edf9;border-radius:8px;background:#fff;box-shadow:none}.dp-target-card .dp-countdown .dp-card-top span{font-size:11px}.dp-target-card .dp-count-number b{font-size:36px}.dp-target-card .dp-countdown>strong{font-size:12px}.dp-target-card .dp-countdown p,.dp-target-card .dp-countdown>small{font-size:10px}
body.desktop-ui[data-view="me"] .dp-advice-card{display:grid;align-content:start;gap:9px}.dp-advice-card>button{display:grid;grid-template-columns:22px 1fr;gap:4px 8px;padding:12px;border:1px solid #e2edf9;border-radius:8px;background:#fff;text-align:left;cursor:pointer}.dp-advice-card>button>span{grid-row:span 3;display:grid;place-items:center;width:20px;height:20px;border-radius:5px;background:#e8f2ff;color:#087bff}.dp-advice-card>button>b{color:#203e69;font-size:12px}.dp-advice-card>button small{color:#7488a5;font-size:10px}.dp-advice-card>button i{color:#087bff;font-size:10px;font-style:normal}
body.desktop-ui[data-view="me"] .dp-feature-section>h2{margin:0 0 9px;color:#0a2348;font-size:18px}.dp-feature-section>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dp-feature-section>div>button{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:11px;min-height:70px;padding:12px;border:1px solid #dce8f5;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.dp-feature-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#edf4ff;color:#087bff;font-size:23px}.dp-feature-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dp-feature-section b{display:grid;gap:4px;color:#17365e;font-size:14px}.dp-feature-section b small{color:#7488a5;font-size:10px;font-weight:450}.dp-feature-section i{color:#087bff;font-size:24px;font-style:normal}
body.desktop-ui[data-view="me"] .dp-data-section{display:grid;gap:9px;padding:15px;border:1px solid #dce8f5;border-radius:10px;background:#fff}.dp-data-section h2{margin:0;color:#0a2348;font-size:17px}.dp-data-section>p{margin:0;color:#6d82a2;font-size:11px}.dp-data-section .data-control-panel{gap:12px;padding:12px;border-color:#e2edf9;background:#fafdff}.dp-data-section .account-danger-panel{border-color:#e2edf9}.dp-data-section .data-control-panel>div:first-child{min-width:140px}.dp-data-section .data-control-panel .flex{justify-content:flex-end;gap:7px}.dp-data-section .btn{min-height:36px;padding:0 11px;border-radius:7px;font-size:11px}
body.desktop-ui[data-view="me"] :is(button,a,input,select):focus-visible{outline:2px solid #087bff;outline-offset:2px}
body.desktop-ui[data-view="me"] .dp-date-dialog{width:min(460px,calc(100vw - 32px));padding:24px;border:1px solid #d5e4f4;border-radius:14px;background:#fff;color:#0a2348;box-shadow:0 24px 80px #102d5830}.dp-date-dialog::backdrop{background:#102d5855}.dp-date-dialog form{display:grid;gap:10px}.dp-date-dialog h2{margin:0;font-size:22px}.dp-date-dialog p{margin:0;color:#6d82a2;line-height:1.6}.dp-date-dialog label{font-weight:650}.dp-date-dialog input{min-height:42px;padding:8px 10px;border:1px solid #c9d9ee;border-radius:7px}.dp-date-dialog .dp-date-error{min-height:18px;color:#bd3333}.dp-date-actions{display:flex;justify-content:flex-end;gap:8px}.dp-date-close{justify-self:end;border:0;background:none;color:#647895;font-size:23px;cursor:pointer}
/* Existing progress subviews, profile/security dialogs and membership content use the same desktop surface. */
body.desktop-ui[data-view="me"] .me-subview{width:min(100%,1320px);max-width:none;margin:0 auto;padding:0 0 48px;color:#17365e}
body.desktop-ui[data-view="me"] .me-subview-head{align-items:center;margin:0 0 14px;padding:0 0 12px;border-color:#dce8f5}
body.desktop-ui[data-view="me"] .me-subview-head h2{color:#0a2348;font-family:inherit;font-size:24px;font-weight:700;line-height:1.2}
body.desktop-ui[data-view="me"] .me-subview-head p{color:#687fa2;font-size:12px}
body.desktop-ui[data-view="me"] .me-subview-head .btn,body.desktop-ui[data-view="me"] .me-subview-actions .btn{min-height:38px;border:1px solid #cfe0f3;border-radius:8px;background:#fff;color:#176fe5}
body.desktop-ui[data-view="me"] .me-filter-tabs{gap:7px}body.desktop-ui[data-view="me"] .me-filter-tabs button{min-height:38px;padding:8px 13px;border-color:#dce8f5;border-radius:8px;background:#fff;color:#5d7395}body.desktop-ui[data-view="me"] .me-filter-tabs button.on{border-color:#087bff;background:#087bff;color:#fff}
body.desktop-ui[data-view="me"] .me-detail-list article,body.desktop-ui[data-view="me"] .me-chapter-list article,body.desktop-ui[data-view="me"] .me-record-cards article,body.desktop-ui[data-view="me"] .me-subject-card{border-color:#dce8f5;border-radius:9px;background:#fff;box-shadow:none}
body.desktop-ui[data-view="me"] .me-detail-list b,body.desktop-ui[data-view="me"] .me-chapter-list b,body.desktop-ui[data-view="me"] .me-record-cards b,body.desktop-ui[data-view="me"] .me-subject-card strong{color:#17365e}
body.desktop-ui[data-view="me"] .me-detail-list span,body.desktop-ui[data-view="me"] .me-chapter-list span,body.desktop-ui[data-view="me"] .me-record-cards span{color:#6d82a2}
body.desktop-ui[data-view="me"] .me-activity-chart{height:230px;border-color:#dce8f5}.me-activity-chart i{background:linear-gradient(180deg,#74b6ff,#2583f3)}
body.desktop-ui[data-view="me"] .me-empty{border-color:#dce8f5;border-radius:10px;background:#fff;color:#7488a5}.me-empty b{color:#17365e}
body.desktop-ui[data-view="me"] :is(#profileEditorOverlay,#securityOverlay,#deleteAccountOverlay).auth-overlay{z-index:10000}
body.desktop-ui[data-view="me"] :is(#profileEditorOverlay,#securityOverlay,#deleteAccountOverlay).auth-overlay .auth-card{border:1px solid #dce8f5;border-radius:14px;box-shadow:0 20px 70px #102d5830}
body.desktop-ui[data-view="me"] :is(#profileEditorOverlay,#securityOverlay,#deleteAccountOverlay).auth-overlay .auth-card :is(input,button,a):focus-visible{outline:2px solid #087bff;outline-offset:2px}
body.desktop-ui[data-view="membership"] #view{margin-left:228px!important;width:calc(100% - 228px)!important;max-width:none;padding:80px 30px 44px;background:#f3f8fe;color:#0a2348}
body.desktop-ui[data-view="membership"] .mc-page{width:min(100%,1320px);max-width:none;margin:0 auto;padding:0;gap:16px}
body.desktop-ui[data-view="membership"] .mc-hero{border-color:#dce8f5;border-radius:10px;padding:22px;background:#fff}
body.desktop-ui[data-view="membership"] .mc-hero h1{font-size:27px}
body.desktop-ui[data-view="membership"] .mc-hero p{font-size:14px}
body.desktop-ui[data-view="membership"] .mc-demos{gap:10px}
body.desktop-ui[data-view="membership"] :is(.mc-demo,.mc-plan,.mc-orders,.mc-faq,.mc-benefit,.mc-table-wrap){border:1px solid #dce8f5;border-radius:9px;background:#fff}
body.desktop-ui[data-view="membership"] .mc-plan{padding:16px}
body.desktop-ui[data-view="membership"] .mc-table-wrap{overflow:auto}
body.desktop-ui[data-view="membership"] .mc-table{font-size:12px}
body.desktop-ui[data-view="membership"] .mc-table th,body.desktop-ui[data-view="membership"] .mc-table td{padding:10px 12px}
body.desktop-ui[data-view="membership"] .mc-section-head h2{font-size:19px}
body.desktop-ui[data-view="membership"] .mc-section-head p{font-size:12px}
body.desktop-ui[data-view="membership"] :is(.mc-page button,.mc-page a,.mc-page input):focus-visible{outline:2px solid #087bff;outline-offset:2px}
@media(min-width:769px) and (max-width:1180px){body.desktop-ui[data-view="me"] main#view{padding:80px 22px 36px}.dp-service-grid{grid-template-columns:1fr 1fr!important}.dp-shop-card{grid-column:auto}.dp-subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.dp-study-layout{grid-template-columns:1fr!important}.dp-side-stack{grid-template-columns:1fr 1fr;grid-template-rows:auto!important}.dp-visual-grid{grid-template-columns:1fr 1fr}}
@media(min-width:769px) and (max-width:820px){body.desktop-ui[data-view="me"] main#view{padding:80px 16px 32px}}
@media(min-width:769px) and (max-width:820px){body.desktop-ui[data-view="me"] .dp-service-grid{grid-template-columns:1fr!important}body.desktop-ui[data-view="me"] .dp-shop-card{grid-column:auto}body.desktop-ui[data-view="me"] .dp-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.desktop-ui[data-view="me"] .dp-visual-grid,body.desktop-ui[data-view="me"] .dp-side-stack{grid-template-columns:1fr!important}body.desktop-ui[data-view="me"] .dp-feature-section>div{grid-template-columns:1fr}body.desktop-ui[data-view="me"] .dp-page-head{align-items:flex-start}.dp-data-section .data-control-panel{align-items:flex-start;flex-direction:column}.dp-data-section .data-control-panel .flex{justify-content:flex-start!important}}
