.doc-picker {
  flex: 1;
  overflow: auto;
  overflow-x: hidden;
  padding: 14px 10px 34px;
  background: #fff2ed;
  color: #34231f;
}
.doc-search {
  height: 58px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 10px;
  background: #fff8f5;
  box-shadow: 0 2px 8px rgba(52, 35, 31, .16);
}
.doc-search button, .doc-chips button, .file-card, .doc-apps button, .recent-head button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.doc-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
}
.doc-chips {
  display: flex;
  gap: 10px;
  margin: 20px 20px 26px;
}
.doc-chips button {
  padding: 9px 16px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  color: #4b4542;
}
.doc-chips button.on { background: #fff; border-color: #2478f2; color: #2478f2; }
.doc-picker h2 {
  margin: 0 20px 24px;
  color: #211815;
  font-size: 15px;
}
.doc-apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 12px 28px;
}
.doc-apps button {
  min-height: 94px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  color: #211815;
  font-size: 12px;
}
.doc-apps button small {
  max-width: 100%;
  color: #34231f;
  font-size: 12px;
  line-height: 15px;
  font-weight: 500;
  text-align: center;
}
.doc-app-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: block;
}
.doc-app-icon.anydesk::before,
.doc-app-icon.anydesk::after {
  content: "";
  position: absolute;
  border-radius: 2px;
  background: #f2362d;
}
.doc-app-icon.anydesk::before {
  inset: 0;
}
.doc-app-icon.anydesk::after {
  left: 7px;
  top: 7px;
  width: 13px;
  height: 13px;
  border: 2px solid #fff;
  transform: rotate(45deg);
  background: transparent;
}
.doc-app-icon.report {
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 5px, #5b5d64 5.5px 8px, transparent 8.5px),
    linear-gradient(#5b5d64, #5b5d64) center / 4px 24px no-repeat,
    linear-gradient(90deg, #5b5d64, #5b5d64) center / 24px 4px no-repeat;
}
.doc-apps button.on {
  border-radius: 14px;
  background: #fff8f5;
  color: #2478f2;
  box-shadow: inset 0 0 0 2px #2478f2;
}
.source-banner {
  margin: -10px 18px 18px;
  padding: 12px 14px;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  background: #fff8f5;
  color: #2478f2;
  font-weight: 800;
}
.source-banner button { border: 0; background: transparent; color: #9d572e; font: inherit; }
.recent-head {
  margin: 0 20px 12px;
  display: flex;
  justify-content: space-between;
  min-width: 0;
  font-size: 18px;
}
.file-list {
  display: grid;
  margin: 0 0 0 8px;
  min-width: 0;
}
.file-card {
  width: 100%;
  min-width: 0;
  min-height: 82px;
  padding: 10px 14px 10px 8px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  text-align: left;
  border-bottom: 1px solid #ddd;
}
.file-card b {
  display: block;
  overflow: hidden;
  color: #211815;
  font-size: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-card small { color: #6d737a; font-size: 14px; }
.file-badge {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  background: #e94135;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.file-badge.docx,
.file-badge.doc {
  background: #4c8df6;
}
.file-open-icon {
  display: grid;
  place-items: center;
  color: #6f625e;
}
.file-open-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.file-grid .file-card {
  min-height: 132px;
  border: 1px solid #ded8d5;
  border-radius: 14px;
  grid-template-columns: 1fr;
  justify-items: start;
  background: #fff;
}
.doc-preview {
  flex: 1;
  overflow: auto;
  padding: 14px 16px 164px;
  background: #e6e9f1;
}
.paper-wrap {
  position: relative;
  min-height: 350px;
  display: grid;
  place-items: center;
}
.paper {
  width: min(78%, 330px);
  min-height: 322px;
  box-sizing: border-box;
  padding: 48px 42px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(25, 32, 45, .22);
}
.paper h2 { margin: 0; color: #aaa; font-size: 24px; font-weight: 300; }
.paper p { font-size: 9px; line-height: 1.35; }
.paper p:nth-of-type(n+6) { display: none; }
.paper .mark { background: #fff58d; }
.page-pill {
  position: absolute;
  bottom: 34px;
  padding: 10px 18px;
  border-radius: 999px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #202938;
  color: #fff;
}
.page-pill svg { stroke: #fff; }
.page-nav {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.78);
  color: #7f8b99;
  font-size: 48px;
}
.page-nav.left { left: 2px; }
.page-nav.right { right: 2px; }
.doc-toolbar{grid-template-columns:42px minmax(0,1fr)42px 42px 42px}.doc-toolbar [data-act=convert]{border-radius:12px!important;background:#eaf2ff!important;color:#2478f2!important;font-weight:900!important;font-size:13px!important}
.save-toast,.convert-banner{position:absolute;left:50%;top:92px;z-index:4;transform:translateX(-50%);padding:10px 16px;border-radius:999px;display:flex;gap:10px;align-items:center;background:#e7f6ee;color:#039855;font-weight:800;box-shadow:0 8px 22px rgba(16,42,86,.16)}.save-toast svg{stroke:#039855}.convert-banner{border-radius:16px;display:grid;background:#fff;color:#2478f2}.convert-banner span{color:#66758a;font-size:12px}
.doc-menu,.doc-dialog{position:absolute;inset:0;z-index:7;background:rgba(15,23,42,.24)}.doc-menu{display:grid;place-items:start end;padding:82px 16px 0}.doc-menu section{min-width:190px;padding:8px 0;border-radius:16px;background:#fff;box-shadow:0 12px 28px rgba(15,23,42,.18)}.doc-menu button{width:100%;min-height:52px;padding:0 18px;border:0;display:flex;align-items:center;gap:14px;background:transparent;color:#102a56;font:inherit}.doc-dialog{display:grid;place-items:center;padding:26px}.doc-dialog section{width:100%;padding:24px;border-radius:22px;background:#fff;color:#102a56;box-shadow:0 20px 46px rgba(15,23,42,.22)}.doc-dialog h2{margin:0 0 12px;font-size:24px}.doc-dialog p{color:#66758a}.doc-dialog input{width:100%;box-sizing:border-box;margin:8px 0 14px;padding:0 14px;min-height:50px;border:1px solid #d7e2ef;border-radius:14px;color:#102a56;font:inherit}.doc-dialog button{width:100%;min-height:48px;margin-top:8px;border:0;border-radius:14px;background:#edf5ff;color:#2478f2;font:inherit;font-weight:800}.doc-dialog [data-act=deleteDone]{background:#fee4e2;color:#d92d20}
.convert-sheet{position:absolute;inset:0;z-index:7;display:grid;align-items:end;background:rgba(16,42,86,.28)}.convert-sheet section{overflow:hidden;border-radius:16px 16px 0 0;background:#eff8ff;color:#102a56}.convert-sheet i{display:block;width:32px;height:4px;margin:16px auto;border-radius:99px;background:#c4c4c4}.convert-sheet article{margin:0 16px 16px;padding:12px 0;display:grid;grid-template-columns:40px 1fr;gap:16px;align-items:center;background:#fff}.convert-sheet article .file-badge{width:40px;height:40px}.convert-sheet b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.convert-sheet small{color:#788697}.convert-sheet nav{margin:16px;border-radius:12px;background:#fff;box-shadow:inset 0 -1px 2px rgba(16,42,86,.12)}.convert-sheet button{width:100%;min-height:60px;padding:0 16px;border:0;display:flex;align-items:center;gap:16px;background:transparent;color:#102a56;font:inherit;text-align:left}.convert-sheet svg{stroke:#2478f2}
