/* PersonalOS 13 — Learning workspace shell and overview. */
.p11-learning-workspace{--p11-learn-border:var(--border,#e4e9f0);--p11-learn-surface:var(--surface,#fff);--p11-learn-muted:var(--muted,#718096);color:var(--text,#182538)}
.p11-learning-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:2px 0 20px}
.p11-learning-heading-copy{min-width:0}.p11-learning-eyebrow,.p11-learning-section-kicker{display:block;color:var(--muted,#758296);font-size:10px;font-weight:800;letter-spacing:.12em}
.p11-learning-heading h1{margin:7px 0 4px;font-size:29px;line-height:1.15;letter-spacing:-.035em;font-weight:750;color:var(--text,#182538)}
.p11-learning-heading p{margin:0;color:var(--muted,#718096);font-size:13px;line-height:1.55}
.p11-learning-heading-status{display:flex;align-items:center;gap:8px;padding:8px 11px;border:1px solid var(--border,#e4e9f0);border-radius:999px;background:var(--surface,#fff);color:var(--muted,#718096);font-size:11px;white-space:nowrap}
.p11-learning-status-dot{width:7px;height:7px;border-radius:50%;background:#d99a3c}.p11-learning-status-dot.is-ready{background:#21a477;box-shadow:0 0 0 3px rgba(33,164,119,.1)}
.p11-learning-nav{display:flex;align-items:center;gap:5px;min-height:51px;margin:0 0 25px;padding:5px 6px;overflow-x:auto;border-bottom:1px solid var(--border,#e4e9f0);scrollbar-width:thin}
.p11-learning-tab{display:inline-flex;align-items:center;justify-content:center;gap:8px;position:relative;min-height:39px;padding:0 15px;border:0;border-radius:8px;background:transparent;color:var(--muted,#718096);font-size:12px;font-weight:650;white-space:nowrap;cursor:pointer;transition:color .15s ease,background .15s ease}
.p11-learning-tab svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.p11-learning-tab:hover{background:var(--surface-2,#f1f4f8);color:var(--text,#182538)}
.p11-learning-tab.is-active{background:var(--primary-soft,#eaf1ff);color:var(--primary,#2463c9)}
.p11-learning-content{min-width:0;animation:p11LearningIn .18s ease both}@keyframes p11LearningIn{from{opacity:.7;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
.p11-learning-overview{display:flex;flex-direction:column;gap:23px}
.p11-learning-overview-intro,.p11-learning-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.p11-learning-overview-intro h2,.p11-learning-section-head h2{margin:5px 0 5px;font-size:21px;letter-spacing:-.025em;line-height:1.25;color:var(--text,#182538)}
.p11-learning-overview-intro p,.p11-learning-section-head p{margin:0;color:var(--muted,#718096);font-size:12px;line-height:1.55}
.p11-learning-quick-action{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 11px;border:1px solid var(--border,#e4e9f0);border-radius:8px;background:var(--surface,#fff);color:var(--muted,#718096);font-size:11px;font-weight:650;cursor:pointer;white-space:nowrap}
.p11-learning-quick-action:hover{border-color:var(--primary,#2463c9);color:var(--primary,#2463c9)}.p11-learning-quick-action svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.p11-learning-data-notice{display:flex;align-items:center;gap:13px;padding:15px 17px;border:1px solid #d9e5f6;border-radius:12px;background:linear-gradient(100deg,#f3f7ff,#fbfdff)}
.p11-learning-notice-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:10px;background:#e5edff;color:#4568d4}.p11-learning-notice-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.p11-learning-data-notice>div{flex:1;min-width:0}.p11-learning-data-notice strong{display:block;font-size:12px;color:#263854}.p11-learning-data-notice p{margin:3px 0 0;color:#687b94;font-size:11px;line-height:1.55}
.p11-learning-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}
.p11-learn-stat{min-width:0;padding:16px 17px 15px;border:1px solid var(--border,#e4e9f0);border-radius:13px;background:var(--surface,#fff);box-shadow:0 1px 2px rgba(18,34,55,.025)}
.p11-learn-stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted,#718096);font-size:11px;font-weight:650}
.p11-learn-stat-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#edf2ff;color:#4b69d5}.p11-learn-stat-icon.violet{background:#f2edff;color:#8059c7}.p11-learn-stat-icon.green{background:#e9f7f0;color:#258c63}.p11-learn-stat-icon.amber{background:#fff4e5;color:#bf812e}
.p11-learn-stat-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.p11-learn-stat>strong{display:block;margin:13px 0 3px;font-size:27px;line-height:1;font-weight:760;letter-spacing:-.04em;color:var(--text,#182538)}
.p11-learn-stat>small{display:block;color:var(--muted,#718096);font-size:10px;line-height:1.5}
.p11-learning-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.p11-learning-tool-card{display:flex;align-items:flex-start;gap:14px;min-width:0;padding:17px 18px;border:1px solid var(--border,#e4e9f0);border-radius:13px;background:var(--surface,#fff);text-align:left;cursor:pointer;transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease}
.p11-learning-tool-card:hover{border-color:#c5d4ec;transform:translateY(-2px);box-shadow:0 7px 20px rgba(31,55,87,.06)}
.p11-learning-tool-icon{display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;border-radius:12px;background:#edf2ff;color:#4263c7}
.p11-tool-flashcards{background:#e9f6f0;color:#26865f}.p11-tool-mindmap{background:#fff3e5;color:#ba7b27}.p11-tool-language{background:#f2edff;color:#7959ba}
.p11-learning-tool-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.p11-learning-tool-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:5px}.p11-learning-tool-copy strong{font-size:13px;font-weight:720;color:var(--text,#182538)}.p11-learning-tool-copy small{font-size:11px;line-height:1.55;color:var(--muted,#718096)}
.p11-learning-tool-copy em{display:inline-flex;align-items:center;gap:5px;margin-top:3px;color:var(--primary,#2463c9);font-size:10px;font-style:normal;font-weight:700}.p11-learning-tool-copy em svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.p11-learning-lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.p11-learning-panel{min-width:0;padding:17px 18px;border:1px solid var(--border,#e4e9f0);border-radius:13px;background:var(--surface,#fff)}
.p11-learning-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.p11-learning-panel-heading h3,.p11-learning-tip-panel h3{margin:0;font-size:13px;font-weight:720;color:var(--text,#182538)}.p11-learning-panel-heading p{margin:4px 0 0;color:var(--muted,#718096);font-size:10px}
.p11-learning-panel-symbol{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:var(--primary-soft,#edf2ff);color:var(--primary,#4263c7)}.p11-learning-panel-symbol svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.p11-learning-summary-list{margin-top:11px}.p11-learning-summary-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--border,#e4e9f0);font-size:11px}.p11-learning-summary-list span{color:var(--muted,#718096)}.p11-learning-summary-list strong{color:var(--text,#182538);font-size:12px}
.p11-learning-tip-panel{display:flex;align-items:flex-start;gap:14px;background:linear-gradient(120deg,var(--surface,#fff),var(--surface-2,#f5f7fa))}.p11-learning-tip-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#fff1db;color:#b77b25}.p11-learning-tip-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.p11-learning-tip-panel p{margin:6px 0 10px;color:var(--muted,#718096);font-size:11px;line-height:1.65}.p11-learning-inline-link{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:transparent;color:var(--primary,#2463c9);font-size:11px;font-weight:700;cursor:pointer}.p11-learning-inline-link svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.p11-learning-unavailable{padding:24px;border:1px solid var(--border,#e4e9f0);border-radius:12px;background:var(--surface,#fff);color:var(--muted,#718096)}
@media(max-width:1050px){.p11-learning-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.p11-learning-heading-status{font-size:10px}}
@media(max-width:760px){.p11-learning-heading{align-items:flex-start;flex-direction:column;gap:10px;padding-bottom:15px}.p11-learning-heading h1{font-size:25px}.p11-learning-heading-status{padding:6px 9px}.p11-learning-nav{gap:3px;margin-bottom:19px;padding:4px}.p11-learning-tab{min-height:37px;padding:0 11px;font-size:11px}.p11-learning-overview{gap:18px}.p11-learning-overview-intro,.p11-learning-section-head{align-items:flex-start;flex-direction:column}.p11-learning-overview-intro h2,.p11-learning-section-head h2{font-size:19px}.p11-learning-data-notice{align-items:flex-start;flex-wrap:wrap;padding:13px}.p11-learning-data-notice>div{flex:1 1 calc(100% - 55px)}.p11-learning-data-notice>.secondary-button{width:100%}.p11-learning-tools-grid{grid-template-columns:1fr}.p11-learning-lower-grid{grid-template-columns:1fr}.p11-learn-stat{padding:13px}.p11-learn-stat>strong{font-size:24px}}
@media(max-width:420px){.p11-learning-stats-grid{gap:8px}.p11-learn-stat{padding:11px}.p11-learn-stat-top{font-size:10px}.p11-learn-stat-icon{width:28px;height:28px}.p11-learn-stat>strong{margin-top:10px;font-size:22px}.p11-learn-stat>small{font-size:9px}.p11-learning-tool-card{padding:14px}.p11-learning-quick-action{width:100%;justify-content:center}}
@media(prefers-reduced-motion:reduce){.p11-learning-content,.p11-learning-tool-card,.p11-learning-tab{animation:none;transition:none}}
/* Quiz sampling panel additions — scoped to the existing examination module. */
.q-sample-modal{width:min(760px,100%)}.q-sample-config{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(210px,.8fr);gap:16px;padding:15px;border:1px solid #e4eaf2;border-radius:13px;background:#f8fafd}.q-sample-count>label{display:block;margin-bottom:8px;color:#263a55;font-size:12px;font-weight:750}.q-sample-count-input{display:flex;align-items:center;gap:9px}.q-sample-count-input input{max-width:145px;background:#fff}.q-sample-count-input>span{color:#77869a;font-size:11px}.q-count-presets{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.q-count-preset{min-height:29px;padding:0 9px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#65758a;font-size:10px;font-weight:650;cursor:pointer}.q-count-preset:hover,.q-count-preset.is-active{border-color:#8ea8ef;background:#edf2ff;color:#395ac1}.q-sample-count>small{display:block;color:#718097;font-size:10px;line-height:1.55}.q-sample-summary{display:flex;flex-direction:column;justify-content:center;gap:10px;padding:12px;border:1px solid #e5ebf3;border-radius:10px;background:#fff}.q-sample-summary>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.q-sample-summary span{color:#78869a;font-size:10px}.q-sample-summary strong{color:#243852;font-size:12px}.q-sample-toggle{grid-column:1/-1;display:flex;align-items:center;gap:9px;padding-top:12px;border-top:1px solid #e3e9f1;cursor:pointer}.q-sample-toggle input{width:16px;height:16px;accent-color:#4263c7}.q-sample-toggle span{display:flex;flex-direction:column;gap:2px}.q-sample-toggle strong{font-size:10px;color:#33445c}.q-sample-toggle small{font-size:9px;color:#78869a}.fc-color-choices{display:flex;gap:9px;flex-wrap:wrap}.fc-color-choices label{position:relative;display:block;cursor:pointer}.fc-color-choices input{position:absolute;width:1px;height:1px;opacity:0}.fc-color-choices label>span{display:block;width:25px;height:25px;border:2px solid #fff;border-radius:50%;background:var(--fc-swatch);box-shadow:0 0 0 1px #dbe2eb}.fc-color-choices input:checked+span{box-shadow:0 0 0 2px var(--primary,#4263c7)}.fc-deck-heading{display:flex;align-items:center;gap:14px}.fc-deck-heading-mark{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:14px;background:var(--fc-deck-tint,#edf2ff);color:#526bc5;font-size:24px}.fc-deck-heading-copy{flex:1;min-width:0}.fc-deck-heading-copy h1{margin:4px 0;font-size:22px}.fc-deck-heading-copy>p:not(.page-kicker){margin:0;color:var(--muted,#718096);font-size:11px}.fc-deck-metadata{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0}.fc-deck-metadata span{padding:4px 8px;border:1px solid var(--border,#e4e9f0);border-radius:7px;color:var(--muted,#718096);font-size:9px}.fc-study-launch{justify-content:space-between;padding:15px 16px;border:1px solid var(--border,#e4e9f0);border-radius:12px;background:var(--surface,#fff)}.fc-study-launch-copy{flex-direction:row;align-items:center;gap:12px}.fc-launch-mark{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#fff3df;color:#b77b25;font-size:17px}.fc-study-launch-copy>div strong{font-size:12px}.fc-study-launch-copy>div p{margin:4px 0 0;color:var(--muted,#718096);font-size:10px}.fc-rating-placeholder{width:min(650px,100%);padding:11px 13px;border:1px dashed var(--border,#dce3ed);border-radius:9px;color:var(--muted,#718096);font-size:10px;text-align:center}.fc-rating{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px}.fc-rating strong{font-size:10px}.fc-rating small{font-size:9px;font-weight:400;color:var(--muted,#718096)}.fc-rating.is-again:hover{border-color:#df8f8c;color:#b74742}.fc-rating.is-hard:hover{border-color:#d6ad69;color:#a96d22}.fc-rating.is-good:hover{border-color:#7fc2a3;color:#27865e}.fc-rating.is-easy:hover{border-color:#8da9e8;color:#4567bb}
@media(max-width:760px){.q-sample-config{grid-template-columns:1fr}.q-sample-toggle{grid-column:auto}.q-sample-summary{gap:7px}.fc-deck-heading{align-items:flex-start;flex-wrap:wrap}.fc-deck-heading-copy{flex:1 1 calc(100% - 70px)}.fc-deck-heading>.fc-heading-actions{width:100%;margin-top:4px}.fc-study-launch{align-items:stretch;flex-direction:column}.fc-study-launch-copy{align-items:flex-start}.fc-launch-actions{display:grid;grid-template-columns:1fr}.fc-launch-actions>*{width:100%}}
