
/* Revisi responsif dan detail pedagogis V2 */
:root{--v2-ease:cubic-bezier(.2,.8,.2,1);--v2-shadow:0 10px 28px rgba(15,55,82,.12);--v2-line:#c8dbe7;--v2-navy:#123f5f;--v2-blue:#176d98;--v2-soft:#f4f9fc;--v2-gold:#f0bd35}
html{scroll-behavior:smooth;scroll-padding-top:88px}body{overflow-x:hidden;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body,main,section,article,header,footer,nav,div{min-width:0}img,svg,video,canvas,iframe{max-width:100%;height:auto}a,button,input,select,textarea,summary{touch-action:manipulation}button,.btn,.pro-btn,.tab,.pro-tab,[role="tab"]{min-height:44px}input,select,textarea{font-size:16px}a{overflow-wrap:anywhere}.table-wrap,.pro-tabbar,.tabs,.navlinks,.pro-actions,.actions{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.table-wrap{position:relative;scrollbar-width:thin}.table-wrap:focus-visible{outline:3px solid var(--v2-gold);outline-offset:2px}.scroll-hint-v2{display:none;margin:5px 0 7px;padding:6px 9px;border-radius:9px;background:#eef7fb;color:#365d73;font-size:.78rem;font-weight:750}.reading-progress-v2{position:fixed;z-index:99999;left:0;top:0;height:4px;width:0;background:linear-gradient(90deg,#f0bd35,#36a7d5);box-shadow:0 1px 5px rgba(0,0,0,.18);pointer-events:none;transition:width .08s linear}.back-top-v2{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));z-index:9998;width:48px;height:48px;border:0;border-radius:50%;background:#123f5f;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.25);font-size:1.25rem;font-weight:900;cursor:pointer;opacity:0;transform:translateY(12px) scale(.9);pointer-events:none;transition:opacity .2s var(--v2-ease),transform .2s var(--v2-ease)}.back-top-v2.show{opacity:1;transform:none;pointer-events:auto}.back-top-v2:focus-visible{outline:3px solid var(--v2-gold);outline-offset:3px}
.card,.info-card,.section,.panel,.pro-panel,.problem,.slide,.stat,.summary,.concept-box,.lead-card,.note,.note-card,.callout{transition:transform .22s var(--v2-ease),box-shadow .22s var(--v2-ease),border-color .22s var(--v2-ease)}@media(hover:hover){.card:hover,.info-card:hover,.summary:hover{transform:translateY(-2px);box-shadow:var(--v2-shadow)}}.btn,.pro-btn,.tab,.pro-tab,[role="tab"]{transition:transform .18s var(--v2-ease),filter .18s var(--v2-ease),background-color .18s var(--v2-ease),color .18s var(--v2-ease)}@media(hover:hover){.btn:hover,.pro-btn:hover,.tab:hover,.pro-tab:hover,[role="tab"]:hover{transform:translateY(-1px)}}
.module-detail-v2{margin:26px 0 8px;padding-top:4px;border-top:4px solid #dcebf3}.module-detail-v2>h3{font-size:clamp(1.35rem,2.5vw,1.9rem);color:var(--v2-navy);margin:22px 0 10px}.module-detail-card-v2{border:1px solid var(--v2-line);border-radius:16px;background:#fff;margin:12px 0;overflow:hidden;box-shadow:0 5px 18px rgba(20,65,91,.06)}.module-detail-card-v2>summary{cursor:pointer;list-style:none;padding:14px 48px 14px 16px;background:linear-gradient(135deg,#edf7fb,#fff);color:var(--v2-navy);font-weight:900;position:relative}.module-detail-card-v2>summary::-webkit-details-marker{display:none}.module-detail-card-v2>summary::after{content:"＋";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:1.35rem;transition:transform .2s var(--v2-ease)}.module-detail-card-v2[open]>summary::after{content:"−";transform:translateY(-50%) rotate(180deg)}.module-detail-content-v2{padding:15px}.module-detail-note-v2{padding:12px 14px;margin:0 0 12px;border-left:6px solid var(--v2-blue);background:#eef8fc;border-radius:10px}.v2-responsive-wrap{overflow-x:auto;border:1px solid var(--v2-line);border-radius:13px}.v2-responsive-table{width:100%;min-width:850px;border-collapse:collapse;background:#fff}.v2-responsive-table caption{text-align:left;padding:10px 12px;background:#eaf4f9;color:var(--v2-navy);font-weight:900}.v2-responsive-table th,.v2-responsive-table td{border:1px solid #d8e4eb;padding:9px 10px;vertical-align:top;text-align:left}.v2-responsive-table thead th{background:#eaf4f9;color:var(--v2-navy)}.v2-responsive-table tbody tr:nth-child(even){background:#fafcfd}.v2-phase{display:inline-flex;padding:3px 8px;border-radius:999px;background:#e7f3f8;color:#175a7a;font-size:.75rem;font-weight:900}.v2-time{white-space:nowrap;font-weight:900;color:#6d4d00}.signature-grid-v2{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:clamp(6px,2.4vw,28px)!important;align-items:end!important;width:100%!important}.signature-block-v2{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-end!important;min-width:0!important;text-align:center!important}.signature-role-v2{margin:0 0 1px!important;line-height:1.35!important;min-height:3.15em}.signature-img-v2{display:block!important;width:min(100%,230px)!important;height:clamp(72px,11vw,108px)!important;object-fit:contain!important;margin:0 auto -13px!important;transform:translateY(4px)!important}.signature-identity-v2{display:flex!important;flex-direction:column!important;align-items:flex-start!important;width:max-content!important;max-width:100%!important;margin:0 auto!important;text-align:left!important;line-height:1.28!important}.signature-name-v2,.signature-nip-v2{display:block!important;width:100%!important;margin:0!important;padding:0!important;text-align:left!important;overflow-wrap:anywhere!important}.signature-name-v2{font-weight:900!important;text-decoration:underline!important}.signature-nip-v2{font-weight:500!important;white-space:nowrap!important}.signature-block-v2 p{margin-top:0;margin-bottom:0}
.v2-reveal{animation:v2fade .38s var(--v2-ease) both}@keyframes v2fade{from{opacity:.01;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:900px){.pro-grid.three,.grid.three,.reading-layout,.generator,.hero-grid,.pro-hero-grid{grid-template-columns:1fr!important}.stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.student-ident{grid-template-columns:1fr 1fr!important}.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){html{scroll-padding-top:70px}.pro-toolbar-inner,.topbar-inner,.top-inner,.toolbar-inner{flex-wrap:wrap!important;align-items:center!important}.pro-brand,.brand{max-width:100%!important}.pro-brand span,.brand span{white-space:normal!important;line-height:1.25!important}.pro-actions,.navlinks,.actions,.toolbar-actions{width:100%!important;display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;justify-content:flex-start!important;padding-bottom:3px!important}.pro-actions>* ,.navlinks>* ,.actions>* ,.toolbar-actions>*{flex:0 0 auto!important}.pro-shell,.shell,.container,.doc-shell{width:calc(100% - 12px)!important;margin:6px auto 24px!important;border-radius:14px!important}.pro-main,.main,.panel,.pro-panel{padding-left:12px!important;padding-right:12px!important}.pro-hero,.hero{padding:18px 14px!important;border-radius:14px!important}.pro-hero-grid,.hero-grid{grid-template-columns:1fr!important;text-align:center!important;gap:12px!important}.pro-hero-logo,.hero-logo{margin:auto!important;width:86px!important;height:86px!important}.pro-meta,.meta,.badges{justify-content:center!important}.tabs,.pro-tabbar,[role="tablist"]{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;scroll-padding-left:8px!important;gap:0!important}.tab,.pro-tab,[role="tab"]{flex:0 0 132px!important;min-width:132px!important;scroll-snap-align:start!important;min-height:54px!important;padding:8px!important;font-size:.82rem!important}.grid,.pro-grid,.pro-grid.three,.reading-layout,.example-nonexample,.student-ident,.self-check,.lab-grid,.media-grid,.assessment-map{grid-template-columns:1fr!important}.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.flow{grid-template-columns:1fr!important}.flow>*::after{display:none!important}.section,.info-card,.card,.lead-card,.note,.note-card,.callout{border-radius:13px!important}.section-title{font-size:clamp(1.42rem,7vw,2rem)!important}.sub-title,.sub{font-size:clamp(1.16rem,5.8vw,1.55rem)!important}.slide{min-height:auto!important;padding:14px!important;border-radius:13px!important}.slide h3{font-size:clamp(1.18rem,6.4vw,1.65rem)!important;line-height:1.18!important}.slide-controls,.presentation-controls{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.dots{overflow-x:auto!important;justify-content:flex-start!important;padding:7px 2px!important}.problem,.step-card{padding:12px!important}.school-head{grid-template-columns:58px 1fr!important;gap:10px!important;text-align:left!important;padding:12px!important}.school-head img{width:58px!important;height:58px!important}.stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.filters{grid-template-columns:1fr!important}.signature-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin-top:24px!important}.signature-role-v2{font-size:clamp(.66rem,2.8vw,.82rem)!important;min-height:3.8em!important}.signature-img-v2{height:clamp(66px,20vw,88px)!important;width:min(100%,180px)!important;margin-bottom:-12px!important;transform:translateY(5px)!important}.signature-identity-v2{font-size:clamp(.65rem,2.8vw,.8rem)!important;max-width:100%!important}.signature-name-v2{white-space:normal!important}.scroll-hint-v2{display:block}.module-detail-content-v2{padding:11px}.module-detail-card-v2>summary{padding:12px 42px 12px 12px}.v2-responsive-wrap{overflow:visible;border:0}.v2-responsive-table{min-width:0!important;display:block!important}.v2-responsive-table caption{display:block;border:1px solid var(--v2-line);border-radius:10px;margin-bottom:8px}.v2-responsive-table thead{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.v2-responsive-table tbody,.v2-responsive-table tr,.v2-responsive-table th,.v2-responsive-table td{display:block!important;width:100%!important}.v2-responsive-table tr{border:1px solid var(--v2-line);border-radius:12px;margin:0 0 10px;background:#fff!important;overflow:hidden;box-shadow:0 3px 12px rgba(20,65,91,.05)}.v2-responsive-table th,.v2-responsive-table td{border:0!important;border-bottom:1px solid #e3edf2!important;padding:9px 10px!important;position:static!important;min-height:40px;display:grid!important;grid-template-columns:minmax(118px,40%) minmax(0,1fr)!important;gap:10px!important;align-items:start!important}.v2-responsive-table th:last-child,.v2-responsive-table td:last-child{border-bottom:0!important}.v2-responsive-table th::before,.v2-responsive-table td::before{content:attr(data-label);position:static!important;width:auto!important;font-weight:900;color:var(--v2-navy);line-height:1.25}.v2-responsive-table th[data-label="Tahap"]{background:#edf7fb!important;grid-template-columns:1fr!important}.v2-responsive-table th[data-label="Tahap"]::before{display:none}.v2-responsive-table th[data-label="Tahap"]{padding-left:10px!important;color:var(--v2-navy)}.back-top-v2{width:44px;height:44px}}
@media(max-width:380px){.pro-shell,.shell,.container,.doc-shell{width:calc(100% - 8px)!important}.pro-main,.main,.panel,.pro-panel{padding-left:9px!important;padding-right:9px!important}.tab,.pro-tab,[role="tab"]{flex-basis:122px!important;min-width:122px!important}.signature-role-v2{font-size:.64rem!important}.signature-identity-v2{font-size:.63rem!important}.signature-img-v2{height:64px!important}.role-grid{grid-template-columns:1fr!important}.stats{grid-template-columns:1fr 1fr!important}.v2-responsive-table th,.v2-responsive-table td{grid-template-columns:minmax(112px,42%) minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.v2-reveal{animation:none!important}.signature-img-v2{transform:none!important}}
@media print{.reading-progress-v2,.back-top-v2,.scroll-hint-v2{display:none!important}.module-detail-card-v2{box-shadow:none;break-inside:auto}.module-detail-card-v2>summary{background:#fff;border-bottom:1px solid #aaa}.module-detail-content-v2{display:block!important}.v2-responsive-wrap{overflow:visible;border:0}.v2-responsive-table{min-width:0;font-size:8.4pt}.signature-grid-v2{grid-template-columns:1fr 1fr!important;break-inside:avoid}.signature-img-v2{height:82px!important;margin-bottom:-12px!important}}

/* Matematika IX final responsive additions */
html,body{max-width:100%;overflow-x:hidden}.module-topbar-title-v5,.btn,.navlinks a,.navlinks button{word-break:normal;overflow-wrap:normal}.data-table th,.data-table td{vertical-align:top}.project-instrument{scroll-margin-top:70px}@media(max-width:600px){.container,.doc-shell,.pro-shell{width:100%!important;max-width:none!important;padding-left:6px!important;padding-right:6px!important}.section,.card,.hero,.doc-title{margin-left:0!important;margin-right:0!important}.actions .btn{white-space:nowrap;word-break:keep-all}.school-head{padding-inline:6px}.signature-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}.signature-block-v2{min-width:0;font-size:11px}.signature-img-v2{max-width:120px!important}.module-topbar-title-v5{font-size:.78rem}}

/* Matematika IX final responsive additions */
html,body{max-width:100%;overflow-x:hidden}.module-topbar-title-v5,.btn,.navlinks a,.navlinks button{word-break:normal;overflow-wrap:normal}.data-table th,.data-table td{vertical-align:top}.project-instrument{scroll-margin-top:70px}@media(max-width:600px){.container,.doc-shell,.pro-shell{width:100%!important;max-width:none!important;padding-left:6px!important;padding-right:6px!important}.section,.card,.hero,.doc-title{margin-left:0!important;margin-right:0!important}.actions .btn{white-space:nowrap;word-break:keep-all}.school-head{padding-inline:6px}.signature-grid-v2{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}.signature-block-v2{min-width:0;font-size:11px}.signature-img-v2{max-width:120px!important}.module-topbar-title-v5{font-size:.78rem}}

/* Portal V6 — stability, readable scale, and responsive guardrails */
html{font-size:16px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:320px;overflow-x:hidden}
:where(main,section,article,header,footer,nav,div,form,fieldset){min-width:0}
:where(img,svg,video,canvas,iframe){max-width:100%;height:auto}
:where(input,select,textarea){max-width:100%}
:where(.table-wrap,.tabs,.pro-tabbar,.navlinks,.actions,.top-actions,.toolbar-actions,.pro-actions){-webkit-overflow-scrolling:touch;overscroll-behavior-inline:contain}
@media(max-width:700px){
  .likert{grid-template-columns:1fr repeat(4,44px)!important;gap:5px!important}
  .likert>div:first-child{line-height:1.35}
  .question,.card,.panel,.section,.pro-panel{max-width:100%}
  .topbar,.toolbar,.pro-toolbar{max-width:100vw}
}
@media(max-width:460px){
  .likert{grid-template-columns:repeat(4,1fr)!important;padding:12px 0!important}
  .likert>div:first-child{grid-column:1/-1;margin-bottom:4px;font-weight:700}
  .likert-head{display:none!important}
  .likert label{min-height:42px;display:grid;place-items:center;border:1px solid #d9e4eb;border-radius:9px;background:#f8fbfd}
  .student-grid{grid-template-columns:1fr!important}
  .student-grid .field:first-child{grid-column:auto!important}
}
@media print{html{font-size:11pt}body{overflow:visible}}

/* V12.6 — kontrol mengambang tidak ditampilkan pada layar HP. */
@media(max-width:760px){.back-top-v2{display:none!important}}
