
    :root {
      color-scheme: light;
      --paper: #f9f7f2;
      --ink: #242522;
      --muted: #747570;
      --line: #e7e5df;
      --teal: #327b80;
      --teal-dark: #235c61;
      --teal-soft: #dcebea;
      --coral-soft: #fbe2d6;
      --danger: #ad4937;
      --serif: "Times New Roman", "Songti SC", SimSun, serif;
      font: 14px/1.5 "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    }
    * { box-sizing: border-box; }
    body { margin: 12px; color: var(--ink); background: var(--paper); min-height: calc(100vh - 24px); border: 1px solid #c6c4bc; }
    button, input, select { font: inherit; }
    button, a { -webkit-tap-highlight-color: transparent; }
    button { cursor: pointer; }
    a { color: inherit; }
    button:disabled { cursor: not-allowed; opacity: .5; }
    button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, label:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
    .app-icon { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: middle; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    .edition { display: flex; align-items: center; gap: 20px; }
    .edition-number { font-size: 25px; font-weight: 400; line-height: 1; }
    .edition-rule { height: 1px; background: #a6a69f; flex: 1; max-width: 240px; min-width: 24px; }
    .edition-caption { color: #62645f; font-size: 10px; letter-spacing: .23em; text-transform: uppercase; }
    .editorial-hero { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; padding: 38px 24px 30px; }
    .editorial-hero h1 { font: 400 clamp(42px, 4.3vw, 64px)/.98 var(--serif); letter-spacing: -.035em; margin: 0 0 15px; }
    .editorial-hero p { color: #62615c; margin: 0; font-size: 15px; letter-spacing: .08em; }
    .editorial-aside { min-width: 100px; padding-top: 7px; font: 16px/1.45 var(--serif); color: #53564f; }
    .editorial-aside::after { content: ''; display: block; width: 70px; height: 1px; background: #8e9088; margin-top: 24px; }
    .editorial-footer { display: flex; align-items: flex-end; justify-content: space-between; padding: 27px 24px 23px; color: #64665e; gap: 24px; }
    .signature { font: italic 22px/1.25 "Segoe Print", "Bradley Hand", var(--serif); }
    .signature::after { content: ''; display: inline-block; width: 44px; height: 1px; background: #93978e; margin: 0 0 5px 25px; }
    .colophon { font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
    .row-menu { position: relative; display: inline-block; text-align: left; }
    .row-menu summary { cursor: pointer; list-style: none; padding: 6px 9px; font-size: 19px; line-height: 1; border-radius: 4px; }
    .row-menu summary::-webkit-details-marker { display: none; }
    .row-menu summary:hover { background: #edece7; }
    .row-menu[open] { z-index: 5; }
    .row-menu > div { position: absolute; right: 0; top: 100%; z-index: 5; background: var(--paper); min-width: 130px; padding: 6px; border: 1px solid #d7d8d0; border-radius: 5px; box-shadow: 0 5px 18px #2425220d; }
    .row-menu a, .row-menu button { display: block; border: 0; width: 100%; text-align: left; background: transparent; color: var(--ink); padding: 8px 10px; text-decoration: none; white-space: nowrap; }
    .row-menu a:hover, .row-menu button:hover { background: #eeede7; }
    .row-menu .danger-text { color: var(--danger); }
    @media (max-width: 640px) {
      body { margin: 5px; min-height: calc(100vh - 10px); }
      .edition { gap: 12px; }
      .edition-caption { font-size: 8px; letter-spacing: .14em; }
      .editorial-hero { padding: 30px 8px 25px; gap: 12px; }
      .editorial-hero h1 { font-size: clamp(34px, 8vw, 48px); }
      .editorial-hero p { font-size: 12px; letter-spacing: .025em; }
      .editorial-aside { display: none; }
      .editorial-footer { padding: 25px 10px; }
      .signature { font-size: 17px; }
    }
    @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
  
    .boot { min-height: 80vh; display: grid; place-items: center; color: var(--muted); }
    .topbar { max-width: 1280px; margin: auto; padding: 25px 30px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .topbar .edition { flex: 1; }
    .top-actions { display: flex; align-items: center; gap: 15px; }
    .brand { font: 20px var(--serif); text-decoration: none; }
    .text-button { border: 0; padding: 4px; background: transparent; color: var(--muted); font-size: 12px; }
    .page-shell { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
    .workspace { display: grid; grid-template-columns: 205px minmax(0, 1fr); min-height: 560px; border: 1px solid var(--line); border-radius: 8px; background: #ffffff24; }
    .sidebar { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); padding: 26px 12px 23px; }
    .nav { display: grid; gap: 7px; }
    .nav button { display: flex; align-items: center; gap: 15px; width: 100%; min-height: 43px; padding: 10px 12px; border: 0; border-radius: 6px; background: transparent; color: var(--ink); text-align: left; font-weight: 400; }
    .nav button:hover { background: #eeeee7; }
    .nav button.active { background: var(--teal-soft); }
    .nav button.active .app-icon { color: var(--teal-dark); }
    .is-gallery .nav button.active { background: var(--coral-soft); }
    .is-gallery .nav button.active .app-icon { color: #c35d3b; }
    .nav-divider { height: 1px; background: var(--line); margin: 20px 12px 12px; }
    .storage-note { margin-top: auto; padding: 45px 12px 0; color: var(--muted); font-size: 11px; }
    .storage-note::before { content: ''; display: block; height: 1px; width: 100%; background: var(--line); margin-bottom: 20px; }
    .storage-note p { margin: 8px 0; }
    .storage-meter { height: 5px; border-radius: 5px; background: #deddd7; overflow: hidden; margin: 8px 0 13px; }
    .storage-meter span { display: block; height: 100%; background: var(--teal); border-radius: inherit; }
    .sidebar-email { overflow-wrap: anywhere; font-size: 10px; }
    .main { min-width: 0; padding: 24px; }
    .toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 22px; }
    .search-field { display: flex; align-items: center; gap: 10px; border-radius: 9px; background: #efeeea9c; color: var(--muted); padding: 0 13px; min-height: 38px; width: min(350px, 100%); }
    .search-field .app-icon { width: 17px; height: 17px; }
    .search-field input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; padding: 10px 0; }
    .actions { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
    .btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 13px; border: 1px solid var(--teal); border-radius: 4px; background: var(--teal); color: #fff; font-weight: 400; text-decoration: none; }
    .btn:hover { background: var(--teal-dark); }
    .btn.secondary, .btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
    .btn.secondary:hover, .btn.ghost:hover { background: #eeede7; }
    .btn.danger { background: var(--danger); border-color: var(--danger); }
    .btn.small { font-size: 12px; min-height: 31px; padding: 5px 10px; }
    .icon-button { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); }
    .icon-button.active, .icon-button:hover { background: #eeede7; color: var(--ink); }
    .icon-button .app-icon { width: 17px; height: 17px; }
    .breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); margin: -3px 0 16px; }
    .link-button { color: var(--teal); background: transparent; border: 0; padding: 0; font: inherit; cursor: pointer; }
    .file-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
    .file-table th { font-size: 11px; color: #62655f; text-align: left; font-weight: 400; padding: 10px 8px 13px; border-bottom: 1px solid var(--line); }
    .file-table td { font-size: 12px; padding: 13px 8px; height: 53px; border-bottom: 1px solid var(--line); color: var(--muted); overflow-wrap: anywhere; }
    .file-table tr:last-child td { border-bottom: 0; }
    .file-table tbody tr:hover { background: #edece54d; }
    .file-table .name-col { width: 49%; }
    .file-table .date-col { width: 27%; }
    .file-table .size-col { width: 16%; }
    .file-table .menu-col { width: 8%; }
    .file-table td:last-child { text-align: right; }
    .sort-button { border: 0; background: transparent; color: inherit; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
    .sort-button .app-icon { width: 12px; height: 12px; }
    .file-name { display: flex; align-items: center; gap: 13px; color: var(--ink); min-width: 0; border: 0; background: transparent; text-align: left; padding: 0; max-width: 100%; }
    .file-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .file-glyph { display: inline-grid; place-items: center; width: 26px; height: 28px; flex: 0 0 auto; color: #999b96; }
    .file-glyph.folder { color: #3d9297; }
    .file-glyph.folder svg { fill: #64a9aa; stroke: #3a8186; width: 25px; height: 25px; }
    .file-glyph.pdf { color: #db6347; background: #fff0e9; border-radius: 3px; }
    .file-glyph.music { color: #da6c87; background: #f9e6eb; border-radius: 3px; }
    .file-glyph.image { color: #527c8d; }
    .file-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
    .file-tile { border: 1px solid var(--line); border-radius: 5px; padding: 15px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
    .file-tile .file-name { flex-basis: 100%; min-height: 56px; }
    .file-tile .subtle { align-self: center; }
    h2 { font: 400 30px/1.15 var(--serif); margin: 0; letter-spacing: -.02em; }
    .subtle { color: var(--muted); font-size: 12px; }
    .album-grid, .photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 16px; }
    .album-card, .photo-card { min-width: 0; margin: 0; }
    .album-cover { width: 100%; display: grid; place-items: center; aspect-ratio: .92; overflow: hidden; border: 0; border-radius: 4px; background: #e6e8df; padding: 0; color: #838c7b; }
    .album-cover > .app-icon { width: 35px; height: 35px; }
    .album-cover img, .photo-card img, .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
    .album-body { display: flex; justify-content: space-between; align-items: start; gap: 6px; padding: 9px 0 0; }
    .album-title { font-size: 13px; padding: 0; border: 0; background: transparent; text-align: left; color: var(--ink); overflow-wrap: anywhere; }
    .album-body p { margin: 3px 0 0; font-size: 11px; }
    .album-list { display: grid; gap: 12px; }
    .album-list .album-card { display: flex; gap: 15px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
    .album-list .album-cover { width: 76px; height: 76px; flex: 0 0 auto; }
    .album-list .album-body { flex: 1; align-items: center; }
    .photo-card > a { display: block; aspect-ratio: .9; border-radius: 4px; overflow: hidden; }
    .photo-body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; font-size: 12px; }
    .photo-body > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .recent-section { margin-top: 38px; }
    .recent-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
    .recent-head h2 { font-size: 22px; }
    .memory-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
    .thumb { display: block; aspect-ratio: .9; border-radius: 4px; overflow: hidden; background: #e6e8df; }
    .sort-select { border: 0; background: transparent; color: var(--muted); font-size: 12px; max-width: 125px; padding: 5px; }
    .empty { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; color: var(--muted); font-size: 13px; text-align: center; }
    .empty > .app-icon { width: 36px; height: 36px; color: #99afaa; }
    .panel { border: 1px solid var(--line); border-radius: 5px; padding: 18px; }
    .panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
    .metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .metric { padding: 20px; border: 1px solid var(--line); border-radius: 4px; display: grid; gap: 20px; }
    .metric span { font-size: 12px; color: var(--muted); }
    .metric strong { font: 30px var(--serif); overflow-wrap: anywhere; }
    .eyebrow { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
    .auth-layout { width: min(1080px, 100% - 50px); min-height: 72vh; margin: auto; display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: center; padding: 55px 0; }
    .auth-copy h1 { font: 400 clamp(42px, 4.5vw, 66px)/1.08 var(--serif); letter-spacing: -.03em; margin: 25px 0; }
    .auth-copy p { color: var(--muted); line-height: 1.9; max-width: 420px; }
    .auth-features { display: flex; gap: 24px; margin-top: 30px; border-top: 1px solid var(--line); padding-top: 20px; color: var(--muted); font-size: 12px; }
    .auth-card { padding: 30px; border: 1px solid var(--line); border-radius: 7px; }
    .auth-card h2 { margin-bottom: 26px; }
    .auth-card > .btn { width: 100%; }
    .field { display: grid; gap: 8px; margin-bottom: 18px; font-size: 12px; }
    .field input, .field select { width: 100%; min-height: 42px; border: 1px solid #dcded6; border-radius: 4px; padding: 9px 12px; background: #ffffff65; color: var(--ink); }
    .notice { padding: 12px 15px; border: 1px solid #ebc4b6; border-radius: 4px; color: var(--danger); background: #fff2ec; font-size: 13px; }
    .modal-backdrop { position: fixed; inset: 0; z-index: 50; background: #272b285c; display: grid; place-items: center; padding: 20px; }
    .modal { width: min(570px, 100%); max-height: 90vh; overflow: auto; background: var(--paper); border: 1px solid #b4b9ac; border-radius: 8px; }
    .modal-head { display: flex; align-items: center; justify-content: space-between; padding: 23px; border-bottom: 1px solid var(--line); }
    .modal-head h2 { font-size: 26px; }
    .close { border: 0; background: transparent; font-size: 26px; color: var(--muted); }
    .modal-body { padding: 24px; }
    .upload-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .upload-choice { display: grid; align-content: start; gap: 14px; border: 1px dashed #becbc4; border-radius: 5px; padding: 20px; cursor: pointer; }
    .upload-choice.selected { background: var(--teal-soft); border-color: var(--teal); }
    .upload-choice input { width: 100%; font-size: 11px; }
    .upload-choice strong { font-weight: 500; }
    .modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
    @media (min-width: 1440px) { .workspace { min-height: 650px; } .main { padding: 28px; } .file-table td { height: 58px; } }
    @media (max-width: 1000px) { .workspace { grid-template-columns: 165px minmax(0, 1fr); } .main { padding: 20px; } .topbar .edition-rule { max-width: 100px; } .edition-caption { max-width: 210px; } .auth-layout { gap: 30px; } .toolbar .search-field { width: min(260px, 100%); } }
    @media (max-width: 700px) {
      .topbar { padding: 20px 17px 0; gap: 10px; flex-wrap: wrap; }
      .topbar .edition { min-width: 100%; }
      .top-actions { width: 100%; justify-content: flex-end; gap: 12px; }
      .topbar .edition-rule { max-width: none; }
      .edition-caption { max-width: none; }
      .brand { margin-right: auto; }
      .page-shell { padding: 0 10px; }
      .workspace { grid-template-columns: minmax(0, 1fr); min-height: 500px; }
      .sidebar { padding: 9px; border-right: 0; border-bottom: 1px solid var(--line); }
      .nav { display: flex; gap: 5px; overflow-x: auto; }
      .nav button { width: auto; flex: 0 0 auto; min-height: 36px; font-size: 12px; gap: 6px; padding: 7px 10px; }
      .nav button .app-icon { width: 17px; height: 17px; }
      .nav-divider, .storage-note { display: none; }
      .main { padding: 17px 12px; }
      .toolbar { gap: 12px; margin-bottom: 15px; }
      .toolbar .search-field { width: 100%; }
      .file-table .date-col { display: none; }
      .file-table .name-col { width: 65%; }
      .file-table .size-col { width: 25%; }
      .file-table .menu-col { width: 10%; }
      .file-table td { padding: 12px 4px; }
      .file-name { gap: 8px; }
      .album-grid, .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
      .auth-layout { grid-template-columns: 1fr; width: calc(100% - 35px); padding: 25px 0; gap: 30px; }
      .auth-copy h1 { font-size: 38px; }
      .auth-features { gap: 18px; }
      .auth-card { padding: 24px; }
      .metric-grid, .upload-choices { grid-template-columns: 1fr; }
    }
  