/* PAD shell follows reference/PAD_V6_Prototype.html and its V2 visual skin.
   Original KV and icons are extracted source assets, without static demo data. */
.pad-page {
  --pad-serif:"Source Han Serif SC","Noto Serif SC","Songti SC","STZhongsong","华文中宋","STSong","SimSun",serif;
  background:radial-gradient(ellipse at 50% 18%,#f8fdff 5%,#b8e9ff 65%,#3c9be7 100%);
  margin:0;height:100dvh;min-height:0;overflow:hidden;
}
.pad-page>header,.pad-page>footer,.pad-page .intro,
.pad-page #workspace-title,.pad-page #identity,.pad-page .business-nav,
.pad-page #workspace-panel>.actions {display:none}
.pad-page main {display:block;width:100%;max-width:none;height:100%;padding:18px 30px;margin:0}
.pad-page main>.card {width:100%;height:100%;padding:20px;border-radius:44px;border:1px solid #79c7f7;background:linear-gradient(150deg,#c6edff,#2b92e2 52%,#0955a2);box-shadow:0 36px 80px #07468b4a}
.pad-page #workspace-panel,.pad-page #workspace-content {height:100%}
.pad-page #message:empty {display:none}
.pad-page #message:not(:empty) {position:fixed;bottom:100px;left:10%;right:10%;background:#fff;color:#9c2431;padding:14px;z-index:20}
.pad-shell {height:100%;display:flex;flex-direction:column;overflow:hidden;border-radius:30px;background:#e9f6ff;color:#064a92}
.pad-shell,.pad-shell button,.pad-shell h2,.pad-shell h3 {font-family:var(--pad-serif)}
.pad-shell button {cursor:pointer;min-height:0;margin:0;letter-spacing:normal}
.pad-shell button:focus-visible {outline:3px solid #0ea9f3;outline-offset:-4px}
.pad-shell [hidden] {display:none!important}
.pad-topbar {position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 82px;height:82px;padding:0 24px;border-bottom:1px solid #b9e8ff;background:linear-gradient(102deg,#0573d0 0%,#139eeb 55%,#60cafa 100%);color:#fff}
.pad-topbar::before {content:"";position:absolute;inset:0 auto 0 0;width:540px;pointer-events:none;background:url('/assets/pad/helix.svg') center/100% 100% no-repeat;opacity:.5}
.pad-brand {display:flex;align-items:center;gap:15px;text-align:left;border:0;background:transparent;color:inherit;padding:0;position:relative;min-width:0}
.pad-logo {display:grid;place-items:center;width:52px;height:52px;flex:0 0 52px;border-radius:14px;background:#ffffff30;border:1.5px solid #ffffff8c;box-shadow:0 4px 14px #00143259}
.pad-logo .pad-icon {width:31px;height:31px}
.pad-titles {min-width:0}
.pad-titles strong {display:block;font-size:22px;font-weight:800;letter-spacing:.8px;line-height:1.15;white-space:nowrap;color:#fff}
.pad-titles small {display:block;font-family:"Times New Roman",serif;font-size:10.5px;letter-spacing:1.4px;margin-top:4px;color:#e9faff}
.pad-tools {display:flex;align-items:center;gap:12px;flex-shrink:0}
.pad-meta {font-size:14px;white-space:nowrap;color:#e9faff}
.pad-bell,.pad-avatar {position:relative;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;border:1.5px solid #ffffff8c;background:#ffffff30;padding:0;color:white}
.pad-avatar {background:linear-gradient(145deg,#4bc3f6,#086ed2);font-size:17px;font-weight:700}
.pad-icon {width:27px;height:27px;object-fit:contain;flex-shrink:0}
.pad-bell .pad-icon {width:23px;height:23px}
.pad-badge {position:absolute;top:-6px;right:-6px;background:#d73945;color:#fff;font-size:11px;font-weight:700;padding:1px 5px;border-radius:10px;line-height:16px;min-width:19px;border:2px solid #139eeb}
.pad-scroll {flex:1;min-height:0;overflow:auto;scrollbar-width:thin;background:#edf6fe}
.pad-home {position:relative;min-height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding:12px 22px 14px;isolation:isolate}
.pad-home::before {content:"";position:absolute;inset:0;z-index:-1;background:url('/assets/pad/kv.jpg') center/100% 100% no-repeat}
.pad-quick {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:118px;gap:12px;background:#effaffd9;border:1px solid #fffffff2;padding:14px;border-radius:18px;box-shadow:0 8px 26px #07579f30;backdrop-filter:blur(10px);margin-top:clamp(230px,30vh,410px)}
.pad-tile {display:flex;flex-direction:column;align-items:center;justify-content:center;padding:9px 10px 7px;border-radius:16px;background:linear-gradient(180deg,#fffffffc,#e8f7fff5);border:1px solid #aad9f7;box-shadow:0 4px 12px #1372bf21;transition:transform .18s}
.pad-tile:hover {transform:translateY(-3px);border-color:#4bb8f5;box-shadow:0 9px 20px #1372bf33}
.pad-tile-icon {display:grid;place-items:center;width:45px;height:45px;margin:0 auto 5px;border-radius:17px;background:linear-gradient(152deg,#2e8ce8,#0b4fa8);box-shadow:0 8px 18px #0b4fa857}
.pad-tile strong {font-size:18.5px;font-weight:800;color:#0b3e86;letter-spacing:1.4px;line-height:1.5}
.pad-english {display:block;font-family:"Times New Roman",serif;font-size:11px;color:#7ba1ca;margin-top:4px;line-height:1.5}
.pad-demo-note {color:#0d5c9d;background:#f2fbffe0;border-radius:8px;margin:8px 0 0;padding:4px 10px;text-align:center;font-size:12.5px;line-height:1.5}
.pad-tabbar {height:82px;flex:0 0 82px;display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:#fffffffa;border-top:1px solid #c6e6fa;box-shadow:0 -6px 22px #08346e0f;margin:0;padding:0}
.pad-tab {height:100%;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#648eae;border:0;background:transparent;border-radius:0;padding:0}
.pad-tab .pad-icon {filter:brightness(0) saturate(100%) invert(52%) sepia(21%) saturate(826%) hue-rotate(164deg)}
.pad-tab span:not(.pad-badge) {font-size:14px;font-weight:500}
.pad-tab.is-active {color:#0877d9}
.pad-tab.is-active .pad-icon {filter:brightness(0) saturate(100%) invert(34%) sepia(99%) saturate(1740%) hue-rotate(188deg)}
.pad-tab.is-active span:not(.pad-badge) {font-weight:800}
.pad-tab.is-active::before {content:"";position:absolute;top:0;width:50px;height:3.5px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,#1499ea,#20d7f5)}
.pad-bottom-badge {top:14px;left:calc(50% + 7px);right:auto;border-color:#fff}
.pad-detail {min-height:100%;padding:22px 24px 30px;background:linear-gradient(180deg,#e9f7ff 0%,#f6fbff 49%,#edf6fe 100%)}
.pad-detail-heading {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
.pad-detail h2 {font-size:28px;color:#065bb2;margin:0}
.pad-action {padding:10px 16px;border:1px solid #aad9f7;border-radius:10px;background:#fff;color:#0758b4;font-size:14px}
.pad-detail>.pad-action {margin:16px 12px 0 0}
.pad-load-error {color:#a42837}
@media(min-width:1500px) and (min-height:950px){.pad-quick{grid-auto-rows:156px}.pad-tile-icon{width:60px;height:60px}.pad-tile .pad-icon{width:35px;height:35px}.pad-tile strong{font-size:25px}.pad-english{font-size:15px}.pad-topbar{height:104px;flex-basis:104px}.pad-titles strong{font-size:30px}.pad-titles small{font-size:14px}.pad-meta{font-size:18px}.pad-tabbar{height:108px;flex-basis:108px}.pad-tab span:not(.pad-badge){font-size:18px}.pad-demo-note{font-size:16px}}
@media(max-width:1100px){.pad-meta{display:none}.pad-page main{padding:10px}.pad-page main>.card{padding:12px;border-radius:28px}.pad-shell{border-radius:20px}.pad-titles strong{font-size:20px}.pad-titles small{font-size:9px}}
@media(max-width:700px){.pad-page main{padding:0}.pad-page main>.card{padding:0;border-radius:0}.pad-shell{border-radius:0}.pad-topbar{padding:0 12px;flex-basis:74px;height:74px}.pad-brand{gap:8px}.pad-logo{width:38px;height:42px;flex-basis:38px}.pad-titles strong{font-size:16px;white-space:normal}.pad-titles small{display:none}.pad-tools{gap:7px}.pad-avatar,.pad-bell{width:36px;height:38px}.pad-home{padding:12px}.pad-quick{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:110px;padding:10px;gap:10px;margin-top:220px}.pad-tile strong{font-size:17px}.pad-tabbar{height:72px;flex-basis:72px}.pad-detail{padding:18px 12px}.pad-detail h2{font-size:23px}.pad-demo-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){.pad-tile{transition:none}.pad-tile:hover{transform:none}}
/* Large-screen sizing uses the same proportions as the approved scaled PAD. */
@media(max-width:700px){
  .pad-home{background:#91d7ff}
  .pad-home::before{background-size:100% auto;background-position:center top}
}
@media(min-width:1500px) and (min-height:950px){
  .pad-topbar{padding:0 32px}
  .pad-brand{gap:20px}
  .pad-logo{width:69px;height:69px;flex-basis:69px;border-radius:18px}
  .pad-logo .pad-icon{width:41px;height:41px}
  .pad-bell,.pad-avatar{width:58px;height:58px;border-radius:17px}
  .pad-bell .pad-icon{width:31px;height:31px}
  .pad-avatar{font-size:23px}
  .pad-tools{gap:16px}
  .pad-tab .pad-icon{width:36px;height:36px}
  .pad-quick{padding:18px;gap:16px;border-radius:24px}
  .pad-tile{border-radius:21px}
  .pad-english{font-size:15px}
}
/* PAD revision: source Demo schedule, flat PDF notices, inline plan. */
.pad-agenda-description{font-size:14px;color:#648eae;line-height:1.65}
.pad-days{display:flex;gap:12px;margin:14px 0 4px}
.pad-day{flex:1;text-align:left;position:relative;background:#fff;border:1px solid #c6e6fa;border-radius:12px;padding:15px 18px;color:#0a2545;display:flex;flex-direction:column;gap:6px}
.pad-day strong{font-size:17px}.pad-day span{font-size:13.5px;color:#648eae}.pad-day em{position:absolute;right:15px;top:15px;font-size:12px;font-style:normal;font-weight:700;color:#0877d9;background:#1a7fe81a;padding:3px 10px;border-radius:8px}
.pad-day.is-active{background:linear-gradient(135deg,#0a3f7d,#0b63ce);border-color:transparent;box-shadow:0 10px 24px #08346e47;color:#fff}.pad-day.is-active span{color:#a9d6ff}.pad-day.is-active em{color:#04264f;background:#5ce0ff}
.pad-timeline{padding:8px 0 20px}.pad-agenda-row{display:flex;gap:18px;position:relative;padding:13px 0}.pad-agenda-row::before{content:'';position:absolute;left:84px;top:0;bottom:0;width:2px;background:#c6e6fa}.pad-agenda-row:first-child::before{top:28px}.pad-agenda-row:last-child::before{bottom:calc(100% - 28px)}
.pad-agenda-time{width:64px;flex:0 0 64px;text-align:right;padding-top:15px}.pad-agenda-time strong{font-size:15.5px;color:#0877d9}.pad-agenda-time span{display:block;font-size:13px;color:#648eae;margin-top:3px}
.pad-agenda-dot{width:16px;height:16px;flex:0 0 16px;border-radius:50%;background:#fff;border:3px solid #48baf6;margin-top:17px;position:relative;z-index:1;box-shadow:0 0 0 5px #edf6fe}.pad-agenda-dot.is-key{background:linear-gradient(140deg,#5ce0ff,#0b63ce);border-color:#0a3f7d}
.pad-agenda-card{flex:1;min-width:0;background:#fff;border:1px solid #c6e6fa;border-radius:12px;padding:16px 18px}.pad-agenda-card.is-key{background:linear-gradient(120deg,#f1f8ff,#fff);border-color:#c8e1fb}.pad-page .pad-agenda-card h3{font-size:18px;font-weight:700;display:flex;align-items:center;gap:10px;flex-wrap:wrap;line-height:1.4;margin:0;color:#064a92}
.pad-agenda-tag{font-size:12px;font-weight:700;padding:3px 10px;border-radius:8px;background:#6742d421;color:#6742d4}.pad-agenda-tag.op{background:linear-gradient(120deg,#0b63ce,#25d6f5);color:#fff}.pad-agenda-location{font-size:13px;color:#0877d9}.pad-agenda-card p{margin:10px 0 0}
.pad-notice-row{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff}.pad-notice-state{font-size:13px;color:#0877d9}.pad-notice-row p{margin:8px 0}.pad-pdf-empty{padding:40px;text-align:center;background:#fff;border:1px solid #c6e6fa;border-radius:12px;color:#648eae}
.pad-pdf-toolbar{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:12px;background:#eaf6ff;border:1px solid #c6e6fa;border-radius:10px}.pad-pdf-toolbar strong{flex:1;color:#064a92}.pad-pdf-toolbar a{text-decoration:none;white-space:nowrap}.pad-pdf-status{font-size:13px;color:#648eae}.pad-inline-pdf .pad-pdf-viewer{height:65dvh;min-height:360px;background:#fff;border:1px solid #c6e6fa}.pad-pdf-dialog .pad-pdf-viewer{height:calc(100% - 130px);min-height:260px}.pad-plan-select{display:flex;align-items:center;gap:16px;margin:0 0 16px}.pad-plan-select select{max-width:600px;margin:0}.pad-pdf-dialog{width:min(1200px,96vw)}
@media(max-width:700px){.pad-days{gap:6px}.pad-day{padding:10px 8px}.pad-day strong{font-size:15px}.pad-day span{font-size:11px}.pad-day em{position:static;align-self:flex-start}.pad-agenda-row{gap:8px}.pad-agenda-time{width:42px;flex-basis:42px}.pad-agenda-row::before{left:55px}.pad-agenda-card{padding:13px}.pad-notice-row{align-items:flex-start;flex-wrap:wrap}.pad-inline-pdf .pad-pdf-viewer{min-height:300px}}
.pad-agenda-meta{display:flex;gap:20px;margin-top:11px;flex-wrap:wrap;font-size:13px;color:#648eae}.pad-agenda-meta>div{display:flex;align-items:flex-start;gap:6px}.pad-agenda-meta img{width:15px;height:15px;flex-shrink:0;filter:brightness(0) saturate(100%) invert(52%) sepia(21%) saturate(826%) hue-rotate(164deg)}.pad-detail-heading h2 small{font:14px 'Times New Roman',serif;color:#648eae;margin-left:12px}.pad-detail-heading .pad-agenda-description{margin-left:auto}
@media(max-width:700px){.pad-detail-heading:has(.pad-agenda-description){flex-wrap:wrap}.pad-detail-heading .pad-agenda-description{margin:0;font-size:12px}.pad-agenda-meta{gap:10px}}
.pad-view-count{display:inline-block;font-size:13px;color:#537ba5;margin:0 12px}.pad-notice-state+.pad-view-count{margin-left:16px}.document-pad-destination{padding:9px 12px;background:#edf6ff;border-radius:6px;color:#0758b4!important}.document-view-count{font-weight:600}.upload-form p{max-width:900px;line-height:1.8}
.pad-publish-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 24px}.pad-publish-field{min-width:0}.pad-publish-field input,.pad-publish-field select{max-width:none;width:100%}.pad-publish-form{border:1px solid #c7def8;margin-bottom:24px}.pad-publish-form h3{font-size:20px;margin-top:0}.pad-publish-form button[data-publish]{background:#0758c9;color:white;border-color:#0758c9}@media(max-width:760px){.pad-publish-grid{grid-template-columns:1fr}}

.pad-pdf-viewer{overflow:auto!important;background:#edf2f7!important;display:block!important}.pdf-pages canvas{display:block;max-width:100%;height:auto;margin:12px auto;background:white;box-shadow:0 1px 5px #789}.pdf-controls{display:flex;gap:12px;align-items:center;padding:8px;background:#eaf6ff;position:sticky;top:0;z-index:1}.pdf-controls button{padding:6px 12px}.pdf-pages{padding:8px}

.pad-home::before{display:none}.pad-home-image{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;z-index:-1}.pad-preview-banner{font-size:13px;background:#fff4d2;color:#633e00;padding:8px;border-radius:8px}
@media(max-width:700px){.pad-home-image{height:auto;min-height:0}}

.pad-notice-row>div{min-width:0;flex:1}.pad-notice-row h3,.pad-file-name{overflow-wrap:anywhere;white-space:normal}.pad-notice-row{padding:18px 22px}.pad-file-name{color:#285f91;font-size:15px}.pad-file-meta{font-size:13px}.pdf-page{margin:0 auto 16px;background:white;max-width:1200px}.pdf-page-label{font-size:12px;color:#53728c;padding:6px;text-align:center}.pdf-page canvas{margin:0;width:100%;height:auto}.pad-pdf-viewer{overscroll-behavior:contain;touch-action:pan-y}
