.my-storage-page .storage-devices{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}.storage-device{white-space:nowrap;display:flex;align-items:center;gap:10px;color:var(--muted);font-size:14px;min-width:0}.storage-device select{max-width:250px;min-width:0;border:0;background:transparent;color:var(--text);font:inherit;font-size:16px;padding:10px 24px 10px 0}.storage-refresh,.storage-section>button,.storage-action>button,.storage-history-action>button{border:0;background:none;color:var(--text);font:inherit;padding:10px 0;cursor:pointer;min-height:44px}.storage-overview{padding:0 0 20px}.storage-overview>span{font-size:14px;color:var(--muted)}.storage-overview>strong{display:block;font-size:36px;font-weight:600;letter-spacing:-1px;margin-top:6px;font-variant-numeric:tabular-nums}.storage-overview p,.storage-status,.storage-history p,.storage-footnote{color:var(--muted);font-size:14px;line-height:1.65;margin:8px 0 0}.storage-meter{display:flex;gap:3px;height:7px;border-radius:5px;overflow:hidden;margin-top:18px;background:var(--line)}.storage-meter i{background:var(--text)}.storage-section{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px}.storage-section h2,.storage-history h2{font-size:16px;font-weight:600;margin:0}.storage-section>button{font-size:13px}.storage-category{align-items:flex-start!important;gap:16px!important;padding-top:16px!important;padding-bottom:16px!important}.storage-category .gl-main>b{font-size:16px}.storage-category .gl-main>small{font-size:13px;line-height:1.55;white-space:normal;margin-top:5px}.storage-action{display:flex;flex-direction:column;align-items:flex-end;flex:none;min-width:65px;font-variant-numeric:tabular-nums}.storage-action>b{font-size:14px;font-weight:500}.storage-action>button,.storage-action>small{font-size:13px}.storage-action>small{color:var(--muted);margin-top:12px}.storage-action>button:disabled,.storage-history-action>button:disabled,.storage-section>button:disabled{opacity:.4;cursor:default}.storage-history{margin-top:28px;padding-bottom:16px}.storage-history-action{display:flex;justify-content:space-between;align-items:center;margin-top:10px;font-size:14px}.storage-footnote{font-size:13px;margin-top:16px}.my-storage-page [data-storage-body]{max-width:100%;margin:auto}

.storage-native{--text:var(--ink);--muted:var(--label-2);--bg:var(--paper);position:relative}.storage-native .sh-title{display:none}.storage-native .gl-row{display:flex;justify-content:space-between}.storage-native .gl-main{display:flex;flex:1;min-width:0;flex-direction:column}.storage-native .storage-category{border-bottom:1px solid var(--line)}.storage-native-confirm{position:sticky;bottom:16px;padding:20px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 6px 24px #0002}.storage-native-confirm>div{display:flex;justify-content:flex-end;gap:24px}.storage-native-confirm button{font:inherit;color:var(--ink);background:none;border:0;padding:12px;cursor:pointer}

/* Teacher page follows the shared column and font scale; native storage is separate. */
.my-storage-page .storage-overview{padding-bottom:16px}
.my-storage-page .storage-section,.my-storage-page .storage-history{margin-top:16px}
.my-storage-page .storage-meter{margin-top:16px}
.my-storage-page :is(.storage-device,.storage-overview>span,.storage-overview p,.storage-status,.storage-history p,.storage-history-action,.storage-action>b){font-size:var(--fs-footnote)}
.my-storage-page :is(.storage-device select,.storage-section h2,.storage-history h2){font-size:var(--fs-body)}
.my-storage-page :is(.storage-section>button,.storage-action>button,.storage-action>small,.storage-footnote){font-size:var(--fs-footnote)}
.my-storage-page .storage-overview>strong{font-size:2.25rem}

/* Native storage uses the screen settings' typography and action tokens.
   Teacher storage keeps its own rem scale above; the two appearances are local. */
.set-bg .storage-native{--fs-body:var(--st-body-size,2vh);--fs-footnote:var(--st-note-size,1.7vh);font-family:var(--apple-font);font-size:var(--st-body-size,2vh);line-height:1.6}
.storage-native .my-storage-page .storage-devices{gap:1.6vh;margin:0 0 1.6vh}
.storage-native .my-storage-page .storage-device{font-size:var(--st-note-size,1.7vh);color:var(--label-3)}
.storage-native .my-storage-page .storage-overview{padding:var(--st-card-y,3.2vh) var(--st-card-x,3.4vh);margin:0 0 var(--st-gap,3.4vh);background:var(--card);border-radius:var(--st-card-radius,2.2vh);box-shadow:0 0 0 1px var(--line)}
.storage-native .my-storage-page .storage-overview>span{font-size:var(--st-note-size,1.7vh)}
.storage-native .my-storage-page .storage-overview>strong{font-family:inherit;font-size:5.2vh;font-weight:600;line-height:1.2;letter-spacing:0;margin-top:1.2vh;font-variant-numeric:tabular-nums}
.storage-native .my-storage-page :is(.storage-overview p,.storage-scope,.storage-footnote,.gl-main>small,.storage-action>small){font-size:var(--st-note-size,1.7vh);line-height:1.6;color:var(--label-3)}
.storage-native .my-storage-page :is(.storage-status,.storage-history-action,.gl-main>b,.storage-action>b){font-size:var(--st-body-size,2vh);line-height:1.6}
.storage-native .my-storage-page :is(.storage-section h2,.storage-history h2){font-size:var(--st-heading-size,2.2vh);font-weight:600}
.storage-native .my-storage-page .storage-section{gap:1.6vh;margin:var(--st-gap,3.4vh) 0 1.4vh}
.storage-native .my-storage-page .glist{padding:0 var(--st-card-x,3.4vh);background:var(--card);border-radius:var(--st-card-radius,2.2vh);box-shadow:0 0 0 1px var(--line)}
.storage-native .my-storage-page .storage-category{padding:2.4vh 0!important;gap:2vh!important;border-bottom:1px solid var(--line)}
.storage-native .my-storage-page .storage-category:last-child{border-bottom:0}
.storage-native .my-storage-page .gl-main>small{margin-top:.6vh}
.storage-native .my-storage-page .storage-action{gap:.8vh;min-width:6.5vh}
.storage-native .my-storage-page .storage-meter{height:.7vh;margin-top:2.2vh;border-radius:99px}
.storage-native .my-storage-page .storage-footnote{margin-top:2vh}
.storage-native .my-storage-page button.st-lk,.storage-native .storage-native-confirm button.st-lk{font:inherit;font-size:var(--st-pill-size,1.6vh);font-weight:600;line-height:1;height:var(--st-pill-height,3.8vh);min-height:var(--st-pill-height,3.8vh);padding:0 var(--st-pill-x,1.6vh);margin:0;border:0;border-radius:99px;background:rgb(var(--ink-rgb)/8%);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.storage-native .my-storage-page button.st-lk:hover,.storage-native .storage-native-confirm button.st-lk:hover{background:rgb(var(--ink-rgb)/13%)}
.storage-native .my-storage-page button.st-lk:disabled{opacity:.55;cursor:default}
.storage-native .storage-native-confirm{bottom:var(--screen-edge,2vh);font-family:var(--apple-font);font-size:var(--st-body-size,2vh);line-height:1.6;border:0;background:var(--card);border-radius:var(--st-card-radius,2.2vh);padding:var(--st-card-y,3.2vh) var(--st-card-x,3.4vh)}
.storage-native .storage-native-confirm>b{font-size:var(--st-heading-size,2.2vh)}
.storage-native .storage-native-confirm>p{font-size:var(--st-note-size,1.7vh);color:var(--label-3)}
.storage-native .storage-native-confirm>div{gap:1.6vh}
.storage-native .storage-native-confirm button.hot{background:rgb(var(--theme-accent-rgb)/20%);color:var(--theme-accent)}
