[hidden]{display:none!important}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1200px;margin:auto;padding:64px 40px;gap:80px;align-items:center}.auth-story h1{font-size:44px;line-height:1.15;letter-spacing:-1.5px;color:var(--deep);margin:42px 0 20px}.auth-story p{color:#61756b;line-height:1.8;max-width:430px}.auth-note{border-top:1px solid var(--line);margin-top:36px;padding-top:24px;font-size:13px}.auth-card{background:white;border:1px solid var(--line);border-radius:18px;padding:36px;box-shadow:0 16px 50px #123c3508}.auth-tabs{display:flex;background:var(--bg);padding:5px;border-radius:9px;gap:5px;margin-bottom:28px}.auth-tabs button{flex:1;border:0;border-radius:6px;padding:10px;background:transparent;color:#61756b;cursor:pointer}.auth-tabs button[aria-pressed=true]{background:white;color:var(--deep);box-shadow:0 2px 6px #123c3510;font-weight:600}.auth-card h2{font-size:23px;margin:0 0 8px}.auth-card>p{color:var(--muted);line-height:1.6;font-size:13px}.auth-card label:not(.show-password){display:block;font-size:13px;font-weight:600;margin:18px 0 7px}.auth-card input:not([type=checkbox]){display:block;width:100%;border:1px solid #dce4df;border-radius:7px;padding:12px;font:inherit;background:#fcfdfc}.auth-card input:focus{outline:2px solid #80aa97;outline-offset:2px}.auth-card small{display:block;color:var(--muted);margin-top:8px;line-height:1.5}.show-password{display:flex;gap:8px;align-items:center;font-size:12px;margin:16px 0}.auth-submit{width:100%;padding:13px;font-size:14px;margin-top:8px}.auth-card button:disabled{opacity:.6;cursor:wait}.auth-message{min-height:22px;font-size:13px;color:#934b35;line-height:1.5}.account-bar{display:flex;gap:12px;align-items:center}.account-bar details{position:relative;font-size:12px}.account-bar summary{cursor:pointer;font-weight:600;max-width:220px;overflow-wrap:anywhere}.account-popover{position:absolute;right:0;top:28px;background:white;border:1px solid var(--line);padding:18px;border-radius:10px;min-width:250px;z-index:10;box-shadow:0 8px 30px #123c3520;overflow-wrap:anywhere}.account-popover p{line-height:1.5;margin:5px 0;color:var(--muted)}#accountStatus{color:#934b35;font-size:12px}@media(max-width:800px){.auth-shell{grid-template-columns:1fr;gap:25px;padding:30px 20px;max-width:520px}.auth-story h1{font-size:30px;margin:25px 0 12px}.auth-note{display:none}.auth-card{padding:24px}.account-bar summary{max-width:140px}}
.dashboard{padding:42px 0 48px;min-height:calc(100vh - 115px)}.dashboard-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:38px}.dashboard-heading h1{font-size:32px;letter-spacing:-1px;margin:8px 0 12px;color:var(--deep);overflow-wrap:anywhere}.dashboard-heading p,.catalog-heading p{color:#6d7b73;line-height:1.65;margin:0}.dashboard-label{border:1px solid #dce6df;border-radius:24px;padding:9px 14px;color:#61776a;font-size:12px;white-space:nowrap}.dashboard-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:32px}.catalog-heading{margin-bottom:20px}.catalog-heading h2,.dashboard-guide h2{font-size:19px;margin:0 0 8px;letter-spacing:-.4px}.catalog-heading p{font-size:13px}.document-catalog{display:grid;grid-template-columns:1fr 1fr;gap:18px}.document-card{background:white;border:1px solid var(--line);border-radius:14px;padding:25px;display:flex;flex-direction:column;box-shadow:0 4px 18px #123c3505}.document-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.document-symbol{width:44px;height:48px;background:#edf4ef;color:var(--green);border-radius:10px;display:grid;place-items:center;font-size:28px}.availability,.coming-label{font-size:11px;background:#edf6ef;color:#327453;padding:5px 9px;border-radius:20px}.document-card h3{font-size:22px;margin:24px 0 10px;letter-spacing:-.5px}.document-card p{color:#6d7b73;line-height:1.8;font-size:13px;margin:0 0 22px}.document-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;margin-bottom:24px}.document-tags span{font-size:10px;color:#6d7b73;background:#f5f7f5;padding:5px 8px;border-radius:5px}.document-open{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--green);color:white;text-decoration:none;border-radius:7px;padding:13px 15px;font-size:13px;font-weight:600}.document-open:hover{background:var(--deep)}.document-open:focus-visible,.document-navigation a:focus-visible{outline:3px solid #b69560;outline-offset:4px}.document-coming{background:transparent;border-style:dashed;box-shadow:none}.coming-label{background:#eeeFea;color:#7d8175}.document-coming .document-symbol{background:#eeefe9;color:#8b9387}.coming-footnote{font-size:12px;color:#8a9187;margin-top:auto;padding-top:24px}.document-reminder{padding:22px 0 0;color:#6d7b73;font-size:12px;line-height:1.7}.document-reminder strong{color:#50645a}.document-reminder p{margin:4px 0 0;max-width:650px}.dashboard-guide{align-self:start;background:#eef3ee;border:1px solid #e1e8e0;padding:25px;border-radius:14px}.dashboard-guide ol{padding-left:20px;margin:26px 0}.dashboard-guide li{padding-left:8px;margin-bottom:23px;color:#7b8d7e;font-size:12px}.dashboard-guide strong{color:#3f5749;font-size:13px}.dashboard-guide p{line-height:1.7;margin:6px 0 0}.guide-note{border-top:1px solid #dbe4da;padding-top:17px;color:#637568;font-size:11px;line-height:1.7}.document-navigation{display:flex;align-items:center;gap:18px;margin-top:25px;font-size:12px}.document-navigation a{color:var(--green);text-decoration:none}.document-navigation span{border-left:1px solid var(--line);padding-left:18px;color:var(--muted)}@media(max-width:1050px){.dashboard-layout{grid-template-columns:1fr}.dashboard-guide{max-width:none}.dashboard-guide ol{display:flex;gap:35px}.dashboard-guide li{flex:1;margin-bottom:0}}@media(max-width:620px){.dashboard{padding-top:28px}.dashboard-heading{display:block;margin-bottom:28px}.dashboard-heading h1{font-size:26px}.dashboard-label{display:none}.document-catalog{grid-template-columns:1fr}.dashboard-guide ol{display:block}.dashboard-guide li{margin-bottom:20px}.document-card{padding:22px}}

#dashboardTitle:focus,#documentTitle:focus{outline:none}
.draft-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;padding:16px 20px;border:1px solid var(--line);border-radius:10px;background:white}.draft-bar strong{font-size:13px;color:var(--deep)}.draft-bar p{font-size:12px;line-height:1.6;color:var(--muted);margin:5px 0 0}.draft-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}@media(max-width:850px){.draft-bar{align-items:flex-start;flex-direction:column}}

.input-example{margin:0 0 17px;color:#50645a}
.input-example summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:11px 13px;border:1px solid #d6e2da;border-radius:8px;background:#fbfcfb;color:#334b3f;font-size:13px;font-weight:650;transition:background .16s,border-color .16s,box-shadow .16s}
.input-example summary::-webkit-details-marker{display:none}
.input-example summary:hover,.input-example summary:focus-visible{outline:none;border-color:#b9d0c2;background:#f6faf7;box-shadow:0 0 0 3px #1766530c}
.example-summary-icon{display:grid;place-items:center;flex:none;width:34px;height:29px;border-radius:6px;background:#eaf2ed;color:#21654f;font-size:9px;font-weight:750;letter-spacing:.5px}
.example-chevron{width:8px;height:8px;margin-left:auto;border-right:1.5px solid #789083;border-bottom:1.5px solid #789083;transform:rotate(45deg) translateY(-2px);transition:transform .16s}
.input-example[open] summary{border-radius:8px 8px 0 0;border-color:#c9d9cf;background:#f2f7f3}
.input-example[open] .example-chevron{transform:rotate(225deg) translate(-2px,-1px)}
.example-file{overflow:hidden;border:1px solid #c9d9cf;border-top:0;border-radius:0 0 8px 8px;background:#fff;box-shadow:0 7px 18px #183f2c0a;animation:example-reveal .18s ease-out}
.example-file-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border-bottom:1px solid #e9efeb;background:#fbfcfb;color:#4e6257;font-size:11px}
.example-file-head>span{display:flex;align-items:center;gap:8px;min-width:0;font-weight:600}
.example-file-head i{width:8px;height:8px;flex:none;border-radius:50%;background:#75a98a;box-shadow:0 0 0 3px #e6f1e9}
.example-file-head b{flex:none;padding:4px 7px;border-radius:4px;background:#e8f1eb;color:#456c54;font-size:8px;letter-spacing:.6px}
.example-code{max-height:230px;overflow:auto;padding:9px 0;background:#fff;font:12px/1.65 'Courier New',monospace;color:#293f33}
.example-code>div{display:grid;grid-template-columns:42px minmax(0,1fr);min-height:27px}
.example-code>div>span{padding:4px 9px 4px 0;border-right:1px solid #e5ece7;color:#74877b;text-align:right;font-size:10px;user-select:none}
.example-code code{display:block;min-width:0;padding:4px 12px;overflow-wrap:anywhere;white-space:pre-wrap;font:inherit}
.example-code .example-gap>span,.example-code .example-gap code{color:#647b6b}
.example-code .example-gap code{font-style:italic}
.example-note{margin:0;padding:10px 13px;border-top:1px solid #edf1ee;background:#fbfcfb;color:#5d7064;font-size:10px;line-height:1.6}
@keyframes example-reveal{from{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.input-example summary,.example-chevron{transition:none}.example-file{animation:none}}

/* Refined dashboard and template cards */
.dashboard { padding-top: 48px; padding-bottom: 60px; }
.dashboard-heading { margin-bottom: 42px; }
.dashboard-heading h1 { font-family: var(--font-modern); font-weight: 680; line-height: 1.16; }
.catalog-heading { margin-bottom: 22px; }
.dashboard-modules-empty{padding:clamp(24px,4vw,40px);border:1px solid var(--line);border-radius:14px;background:var(--surface,#fdfcf9);max-width:760px}
.dashboard-modules-empty h2{margin:0 0 10px;font:650 23px/1.35 var(--font-modern);color:var(--deep)}
.dashboard-modules-empty p{margin:0;max-width:520px;font-size:14px;line-height:1.7;color:var(--muted)}
.dashboard-modules-empty>div:last-child{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}
.dashboard-modules-empty a{display:inline-flex;align-items:center;gap:16px;min-height:42px;padding:11px 16px;font:600 13px/1.4 var(--font-modern);text-decoration:none}
.catalog-heading h2, .dashboard-guide h2 { font-family: var(--font-modern); font-weight: 650; }
.document-catalog { gap: 18px; }
.document-card {
  min-width: 0;
  padding: 24px;
  border-radius: 15px;
  box-shadow: 0 5px 20px #173c3209;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.document-card:hover {
  border-color: #cbd9d0;
  box-shadow: 0 10px 28px #173c3212;
  transform: translateY(-2px);
}
.document-symbol { width: 44px; height: 44px; border-radius: 12px; }
.document-symbol svg { width: 21px; height: 21px; }
.availability, .coming-label { padding: 6px 10px; font-weight: 600; }
.document-card h3 { margin: 20px 0 9px; font-family: var(--font-modern); font-size: 21px; font-weight: 680; line-height: 1.25; }
.document-card p { margin-bottom: 18px; font-size: 13px; line-height: 1.7; }
.document-open { margin-top: auto; min-height: 44px; border-radius: 8px; }
.input-example { margin-top: auto; }
.input-example summary { min-height: 44px; border-radius: 8px; }
.dashboard-guide { border-radius: 15px; padding: 26px; }
.draft-bar { border-radius: 12px; padding: 18px 22px; box-shadow: 0 3px 14px #173c3207; }
.document-navigation { margin-top: 30px; margin-bottom: 4px; }
.document-navigation a { font-weight: 600; }
.document-navigation a:hover { text-decoration: underline; text-underline-offset: 3px; }
.document-navigation span { color: #596b62; }
.document-open:focus-visible, .document-navigation a:focus-visible, .input-example summary:focus-visible { outline: 3px solid #b6956066; outline-offset: 3px; }

@media (max-width: 620px) {
  .dashboard { padding-top: 32px; }
  .dashboard-heading { margin-bottom: 32px; }
  .document-card { padding: 20px; }
  .draft-bar { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .document-card, .file-button, .secondary-button, .primary-button, .build-button { transition: none; }
  .document-card:hover, .primary-button:hover, .build-button:hover, .document-open:hover { transform: none; }
}

/* Shared document editor polish */
.text-workspace { align-items: stretch; gap: 18px; }
.text-panel {
  border-color: #dfe7e2;
  box-shadow: 0 8px 24px #19392d0a;
}
.panel-head { min-height: 48px; }
.panel-head h2 { letter-spacing: -.15px; }
.panel-head p { line-height: 1.45; }
.text-panel textarea,
.text-panel .rich-editor,
.text-panel .rich-output {
  border-color: #dce5df;
  background: #fbfcfb;
  border-radius: 9px;
  scrollbar-color: #c5d2ca transparent;
  scrollbar-width: thin;
}
.text-panel textarea:focus,
.text-panel .rich-editor:focus { border-color: #79a28c; }
.text-panel textarea[readonly],
.text-panel .rich-output { background: #f9fbf9; }
.panel-foot {
  border-top: 1px solid #edf1ee;
  margin-top: 10px;
  padding-top: 12px;
  min-height: 45px;
  gap: 12px;
}
.panel-foot > span { font-variant-numeric: tabular-nums; }
.output-actions { flex-wrap: wrap; justify-content: flex-end; }
.file-button, .secondary-button, .primary-button, .build-button {
  min-height: 36px;
  font-size: 11px;
}
.build-button { min-height: 44px; padding: 11px 17px; }
.primary-button:disabled, .secondary-button:disabled, .build-button:disabled,
.file-button:disabled {
  cursor: wait;
  opacity: .64;
  box-shadow: none;
  transform: none;
}
.primary-button:disabled:hover, .build-button:disabled:hover { background: var(--green); }
.action-row {
  align-items: center;
  gap: 16px;
}
.action-row > [role="status"] {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 10px 13px;
  border: 1px solid #e3eae5;
  border-radius: 9px;
  background: #fff;
  color: #69776f;
  font-size: 11px;
  line-height: 1.5;
}
.action-row > [role="status"]::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 4px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #9aa9a0;
}
.action-row > [role="status"][data-status-state="success"] {
  border-color: #d5e7da;
  background: #f6faf7;
  color: #35694c;
}
.action-row > [role="status"][data-status-state="success"]::before { background: #4b9466; }
.action-row > [role="status"][data-status-state="error"] {
  border-color: #efd8d4;
  background: #fff8f6;
  color: #99574f;
}
.action-row > [role="status"][data-status-state="error"]::before { background: #b75c50; }
.action-row > [role="status"][data-status-state="processing"] {
  border-color: #d8e5dd;
  background: #f6f9f7;
  color: #416b57;
}
.action-row > [role="status"][data-status-state="processing"]::before {
  width: 10px;
  height: 10px;
  flex-basis: 10px;
  margin-top: 2px;
  border: 1.5px solid #bfd0c5;
  border-top-color: #267258;
  border-radius: 50%;
  background: transparent;
  animation: status-spin .8s linear infinite;
}
@keyframes status-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .action-row > [role="status"][data-status-state="processing"]::before { animation: none; }
}
@media (max-width: 600px) {
  .action-row { align-items: stretch; flex-direction: column-reverse; gap: 10px; }
  .action-row .build-button { align-self: flex-end; }
  .panel-foot { align-items: flex-start; flex-direction: column; }
  .output-actions { width: 100%; justify-content: flex-start; }
  .output-actions > button { flex: 1 1 auto; }
}

/* Balanced dashboard composition */
.dashboard-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
.document-catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dashboard-guide { max-width: none; }
.dashboard-guide ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 24px 0; }
.dashboard-guide li { margin-bottom: 0; }

@media (max-width: 1050px) {
  .document-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dashboard-guide ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
}
@media (max-width: 620px) {
  .document-catalog { grid-template-columns: 1fr; }
  .dashboard-guide ol { display: block; }
  .dashboard-guide li { margin-bottom: 20px; }
}

/* Scalable document catalog example */
.document-featured{display:grid;grid-template-columns:minmax(0,1fr) 250px;align-items:center;gap:36px;margin-bottom:36px;padding:32px;border:1px solid #cbded2;border-radius:16px;background:linear-gradient(125deg,#eef6f0,#fbfdfb);box-shadow:0 6px 24px #173c3208}
.document-featured h2{margin:0 0 12px;color:var(--deep);font:650 30px var(--font-modern);letter-spacing:-.8px}
.document-featured p{max-width:700px;margin:0 0 20px;color:#52665a;font:13px/1.8 var(--font-modern)}
.document-featured .flex-card-tags{margin:0}
.document-featured-actions{display:grid;justify-items:start;gap:16px}
.document-featured-actions .document-open{width:100%;min-height:48px}
.document-featured-actions .coming-footnote{padding-top:0;line-height:1.6}
.document-card-disabled{background:#f3f5f3;border-style:dashed;box-shadow:none}
.document-card-disabled .document-symbol{background:#e9ede9;color:#7a867e}
.document-card-disabled h3{color:#65746a}
.document-card-disabled .availability{background:#e7ece8;color:#65746a}
.document-card-disabled .flex-card-tags span{background:#eef1ee;border-color:#e0e6e1;color:#7a867e}
@media(max-width:700px){.document-featured{grid-template-columns:minmax(0,1fr);gap:24px;padding:24px}.document-featured h2{font-size:26px}.document-featured-actions{width:100%}}
.catalog-tools {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.catalog-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #dce5df;
  border-radius: 9px;
  background: #fff;
  color: #7b8c82;
  transition: border-color .16s, box-shadow .16s;
}
.catalog-search:focus-within { border-color: #83a993; box-shadow: 0 0 0 3px #17665310; }
.catalog-search svg { width: 17px; height: 17px; flex: none; }
.catalog-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: 12px var(--font-modern);
}
.catalog-search input::placeholder { color: #9aa69f; }
.catalog-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.catalog-filter {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #69796f;
  font: 600 10px var(--font-modern);
  cursor: pointer;
  transition: color .16s, background .16s, border-color .16s;
}
.catalog-filter:hover { border-color: #dce6df; background: #fff; color: var(--deep); }
.catalog-filter.is-active { border-color: #d5e4da; background: #edf5ef; color: #28644d; }
.catalog-filter:focus-visible { outline: 3px solid #b6956066; outline-offset: 2px; }
.catalog-count { color: #88958d; font-size: 10px; white-space: nowrap; }
.catalog-empty {
  margin: 0;
  padding: 30px 20px;
  border: 1px dashed #d7e2da;
  border-radius: 12px;
  background: #fafcfb;
  color: #718078;
  font-size: 12px;
  text-align: center;
}
@media (max-width: 980px) {
  .catalog-tools { grid-template-columns: minmax(0, 1fr) auto; }
  .catalog-search { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .catalog-tools { grid-template-columns: 1fr; gap: 9px; }
  .catalog-search { grid-column: auto; }
  .catalog-filters { gap: 4px; }
  .catalog-filter { padding: 0 9px; }
  .catalog-count { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-search, .catalog-filter { transition: none; }
}

/* One flexible import and review flow for the existing output formats */
#flexSourceFile { display: none; }
.document-card-flex {
  border-color: #d5e4da;
  background: linear-gradient(150deg, #fff 65%, #f4f9f5);
}
.document-card-flex .availability { background: #f0f4eb; color: #747b53; }
.flex-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.flex-card-tags span {
  padding: 5px 8px;
  border: 1px solid #e4ebe6;
  border-radius: 6px;
  background: #f8faf8;
  color: #728078;
  font-size: 9px;
}
.flex-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1.08fr);
  align-items: stretch;
  gap: 14px;
}
.flex-workspace .text-panel { min-width: 0; padding: 20px; }
.flex-workspace textarea { min-height: 510px; font: 11px/1.6 'Courier New', monospace; }
.flex-source-panel textarea { white-space: pre; }
.flex-result-panel textarea { min-height: 420px; white-space: pre; background: #fafbf9; }
.flex-flow-divider { display: grid; place-items: center; color: #6e907b; }
.flex-flow-divider span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #dce8df;
  border-radius: 50%;
  background: #f8fbf8;
  font-size: 17px;
}
.flex-result-heading { margin-bottom: 20px; }
.flex-result-heading .panel-head { margin-bottom: 12px; }
.flex-format-select { display: grid; gap: 7px; color: #728078; font-size: 10px; font-weight: 600; }
.flex-format-select select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dce5df;
  border-radius: 8px;
  background: #fff;
  color: #2c4437;
  font: 600 12px var(--font-modern);
}
.flex-format-select select:focus-visible { outline: 3px solid #17665320; border-color: #83a993; }
.flex-format-hint { min-height: 32px; margin: 8px 0 0; color: #87948c; font-size: 10px; line-height: 1.55; }
.flex-preview-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.flex-preview-title > div { display: flex; align-items: center; gap: 10px; }
.flex-preview-title h2 { margin: 0; font: 600 15px var(--font-modern); }
.flex-preview-title p { margin: 4px 0 0; color: #929a96; font-size: 10px; }
.flex-action-row { margin-bottom: 8px; }
.flex-review-note { margin: -14px 0 28px; color: #87928b; font-size: 10px; line-height: 1.6; }
@media (max-width: 900px) {
  .flex-workspace { grid-template-columns: minmax(0, 1fr); }
  .flex-flow-divider { height: 32px; }
  .flex-flow-divider span { transform: rotate(90deg); }
  .flex-workspace textarea { min-height: 360px; }
  .flex-result-panel textarea { min-height: 360px; }
}
@media (max-width: 620px) {
  .flex-workspace .text-panel { padding: 15px; }
  .flex-workspace textarea, .flex-result-panel textarea { min-height: 300px; font-size: 10px; }
  .flex-preview-title { align-items: flex-start; }
  .flex-format-select select { font-size: 11px; }
}

.session-loading{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:28px;text-align:center;color:#334d40}
.session-loading h1{margin:8px 0 0;font:600 20px/1.4 var(--font-modern)}
.session-loading p{margin:0;color:#6b7c72;font:400 14px/1.6 var(--font-modern)}
.session-loading .brand-mark{width:44px;height:44px}
.session-loading button{margin-top:6px;font-size:13px;padding:10px 16px}

.text-panel,.auth-card,.account-popover,.draft-bar,.editor-collapse-card,.editor-reference-details{background:var(--surface,#FDFCF9)}
.document-card:not(.document-card-disabled):not(.document-card-flex):not(.document-coming){background:var(--surface,#FDFCF9)}
#flexDocumentView .flex-pattern-card{background:var(--surface,#FDFCF9)}

.document-featured{background:linear-gradient(125deg,#ECEEE4,#F9FAF4);border-color:#D5DCCB;box-shadow:0 6px 24px #4A513008}
.dashboard-guide{background:#ECEEE4;border-color:#DDE2D3}
.dashboard-guide strong,.dashboard-guide h2{color:#414B39}
.dashboard-guide p,.guide-note{color:#747D69}
.guide-note{border-top-color:#D8DDCE}
.document-symbol{background:#E6EADD;color:#56634B}
#dashboardView .availability{background:#E6EADD;color:#56634B}
.document-open:hover{background:#43513A}
.catalog-filter.is-active{border-color:#D3DCC5;background:#E6EADD;color:#4E5D41}
.document-tags span,.flex-card-tags span{background:#F4F5EE;border-color:#E2E6D9;color:#77816C}
.dashboard-heading p,.catalog-heading p,.document-card p{color:#78806F}

.document-open:hover{background:#323F28}
.dashboard-heading p,.catalog-heading p,.document-card p,.document-featured p{color:#59634E}
.dashboard-guide p,.dashboard-guide li,.guide-note{color:#59634E}
.dashboard-guide strong,.dashboard-guide h2{color:#303D28}
.document-symbol{color:#424F36}
#dashboardView .availability{color:#435334;background:#E3E8D7}
.catalog-filter{color:#5A654F}
.catalog-filter.is-active{color:#35462A;border-color:#BCC9AD;background:#E3E8D7}
.document-tags span,.flex-card-tags span{color:#59644E;border-color:#D5DDC8}
.document-featured{border-color:#C5CFB8}
.dashboard-guide{border-color:#CDD6BF}

/* Small terracotta accents keep the workspace warm and calm. */
.document-featured{border-left:3px solid var(--accent,#A66B50)}
.document-featured .eyebrow{display:flex;align-items:center;gap:8px;color:var(--accent-ink,#8C533D)}
.document-featured .eyebrow::before{content:"";width:18px;height:2px;border-radius:2px;background:var(--accent,#A66B50)}
.catalog-filter.is-active{color:var(--accent-ink,#8C533D);border-color:#DEC2B1;background:var(--accent-soft,#F4E9E1)}
#flexDocumentView .flex-example-tabs button[aria-pressed="true"]{color:var(--accent-ink,#8C533D);border-color:#DEC2B1;background:var(--accent-soft,#F4E9E1)}
.dashboard-guide li::marker{color:var(--accent-ink,#8C533D);font-weight:600}

/* Desktop installation is offered only when the browser provides a prompt. */
.topbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:0}
.install-app-button{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;padding:9px 12px;font-size:12px;color:var(--green);background:var(--surface,#FDFCF9)}
.install-app-button[hidden],.pwa-status[hidden]{display:none}
.install-app-button svg{width:18px;height:18px}
.install-app-button:disabled{opacity:.6;cursor:wait}
.pwa-status{margin:12px 0 0;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface,#FDFCF9);color:var(--muted);font-size:13px;line-height:1.5}
@media(max-width:620px){.topbar{height:auto;min-height:70px;flex-wrap:wrap;gap:12px;padding:12px 0}.topbar-actions{flex-wrap:wrap;gap:10px}.install-app-button{font-size:11px;padding:8px 10px}}

/* Neutral white writing surfaces across document menus. */
#workspace textarea,
#workspace .rich-editor:not(#editorRichPreview),
#workspace #editorWordPreview,
#textEditorView #editorRichPreview[data-paper-theme="white"]{background:#FFFFFF}
.editor-paper-swatch.is-white{background:#FFFFFF}

/* A single, compact entry point for every saved workflow. */
.draft-bar>div:first-child{min-width:0}
.draft-actions{align-items:center;gap:14px}
.draft-picker{position:relative}
.draft-picker summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;border-radius:7px;padding:11px 14px;background:var(--green);color:#fff;font-size:13px;font-weight:600}
.draft-picker summary::-webkit-details-marker{display:none}
.draft-picker summary>svg{width:18px;height:18px}
.draft-picker summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
.draft-picker-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;background:#ffffff24;border-radius:6px;font-size:12px}
.draft-picker-menu{position:absolute;right:0;top:calc(100% + 10px);z-index:50;width:350px;max-width:calc(100vw - 32px);padding:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#FDFCF9);box-shadow:0 12px 34px #30362a20}
.draft-picker-heading{padding:9px 10px 12px;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line);margin-bottom:5px}
.draft-picker-list{max-height: min(420px,60vh);overflow:auto}
.draft-picker-list button{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;text-align:left;border:0;border-radius:7px;padding:12px 10px;background:transparent;color:var(--ink);cursor:pointer;font:inherit}
.draft-picker-list button:hover,.draft-picker-list button:focus-visible{background:var(--bg);outline:none}
.draft-picker-list button:disabled{opacity:.5;cursor:default}
.draft-picker-copy{display:grid;gap:5px}
.draft-picker-copy strong{font-size:14px;font-weight:600}
.draft-picker-copy small{font-size:12px;color:var(--muted)}
.draft-delete-button{font-size:12px;padding:8px 0}
@media(max-width:850px){.draft-actions{width:100%;justify-content:space-between}.draft-picker-menu{left:0;right:auto}}

.draft-picker-row{display:flex;align-items:center;gap:5px;border-radius:8px}
.draft-picker-row:hover{background:var(--bg)}
.draft-picker-list .draft-picker-row>button:first-child{min-width:0;flex:1}
.draft-picker-list .draft-picker-remove{flex:none;width:36px;height:36px;padding:8px;margin-right:4px;justify-content:center;color:var(--muted)}
.draft-picker-remove svg{width:18px;height:18px}
.draft-picker-list .draft-picker-remove:hover,.draft-picker-list .draft-picker-remove:focus-visible{color:#964E40;background:#F5E8E3}

/* Consistent draft actions and clearly separated row controls. */
.draft-actions{gap:10px}
.draft-picker summary{min-height:44px;padding:10px 14px;gap:10px;border:1px solid transparent;border-radius:8px}
.draft-picker summary:hover{background:var(--olive-hover,var(--deep))}
.draft-picker summary>span:last-child{margin-left:2px;font-size:15px;line-height:1;transition:transform .15s}
.draft-picker[open] summary>span:last-child{transform:rotate(180deg)}
.draft-actions .draft-delete-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 13px;border:1px solid var(--line);border-radius:8px;background:transparent;font-size:12px;font-weight:500;color:var(--muted)}
.draft-delete-button svg{width:16px;height:16px;flex:none}
.draft-actions .draft-delete-button:hover{border-color:#DEC2B1;background:#F5E8E3;color:#964E40}
.draft-picker-menu{padding:8px;width:370px;border-radius:12px}
.draft-picker-heading{padding:10px 12px 13px;margin-bottom:8px}
.draft-picker-list{display:grid;gap:4px}
.draft-picker-row{padding:3px;border:1px solid transparent;gap:0;transition:background .15s}
.draft-picker-row:hover{border-color:var(--line);background:var(--bg)}
.draft-picker-list .draft-picker-row>button:first-child{padding:10px 9px;min-height:58px;gap:12px;border-radius:6px}
.draft-picker-list .draft-picker-row>button:first-child:hover{background:transparent}
.draft-picker-copy{gap:5px}
.draft-picker-list .draft-picker-remove{width:38px;height:38px;margin:0 4px 0 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface,#FDFCF9);color:#74806B}
.draft-picker-list .draft-picker-remove:hover,.draft-picker-list .draft-picker-remove:focus-visible{border-color:#DEC2B1;color:#964E40;background:#F5E8E3}
@media(max-width:520px){.draft-actions{justify-content:flex-start;gap:8px}.draft-picker summary,.draft-actions .draft-delete-button{padding:10px 11px}.draft-picker-menu{width:min(370px,calc(100vw - 66px))}}

.account-popover .account-password-button{display:block;margin:12px 0 9px;width:100%;text-align:left}
.account-password-dialog{width:min(460px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;padding:26px;border:1px solid var(--line);border-radius:14px;background:var(--surface,#FDFCF9);color:var(--ink);box-shadow:0 18px 70px #30362a30;font:14px var(--font-modern,'DM Sans',sans-serif)}
.account-password-dialog::backdrop{background:#292f265c;backdrop-filter:blur(2px)}
.account-password-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.account-password-heading h2{margin:0;font-size:23px;letter-spacing:-.5px;color:var(--deep)}
.account-password-close{width:34px;height:34px;flex:none;border:1px solid var(--line);border-radius:7px;background:transparent;color:var(--muted);font:24px/1 var(--font-modern,sans-serif);cursor:pointer}
.account-password-intro{color:var(--muted);line-height:1.7;margin:18px 0 22px;font-size:13px}
#changePasswordForm>label:not(.account-password-show){display:block;margin:18px 0 8px;font-size:13px;font-weight:600}
#changePasswordForm>input{display:block;width:100%;min-height:46px;padding:11px 13px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font:14px var(--font-modern,sans-serif)}
#changePasswordForm>input:focus{outline:none;border-color:#899779;box-shadow:0 0 0 3px #424f3612}
#accountPasswordHint{display:block;color:var(--muted);line-height:1.6;font-size:12px;margin-top:6px}
.account-password-show{display:flex;align-items:center;gap:9px;margin:18px 0;font-size:12px;color:var(--muted);cursor:pointer}
.account-password-show input{accent-color:var(--green)}
.account-password-status{line-height:1.6;font-size:13px;color:var(--muted)}
.account-password-status.is-error{color:#964E40}
.account-password-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:18px;margin-top:20px}
.account-password-actions button{min-height:44px;padding:10px 14px;font-size:13px}
.account-password-dialog button:disabled{opacity:.5;cursor:default}
@media(max-width:520px){.account-password-dialog{padding:20px}.account-password-actions button{flex:1}}

/* Customer activation and subscription details. */
.subscription-view{padding:24px 0 40px}
.subscription-view[hidden]{display:none}
.subscription-card{max-width:860px;margin:24px auto 0;padding:36px;border:1px solid var(--line);border-radius:16px;background:var(--surface,#FDFCF9);box-shadow:0 8px 26px #30362a06}
.subscription-badge{display:inline-flex;margin-top:20px;padding:7px 11px;border-radius:6px;background:#ECEDE5;color:var(--green);font-size:12px;font-weight:600}
.subscription-badge[data-status="pending"],.subscription-badge[data-status="expired"],.subscription-badge[data-status="suspended"]{background:#F4E9DE;color:#845A3E}
.subscription-card h1{margin:16px 0 12px;font-size:30px;letter-spacing:-.7px}
.subscription-description{max-width:650px;color:var(--muted);line-height:1.8;font-size:15px}
.subscription-details{display:grid;grid-template-columns:1.2fr 1fr 1.2fr;gap:20px;margin:28px 0;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.subscription-details dt{font-size:12px;color:var(--muted);margin-bottom:8px}
.subscription-details dd{margin:0;font-size:14px;font-weight:600;overflow-wrap:anywhere;line-height:1.6}
.subscription-instructions h2{font-size:17px;margin:26px 0 14px}
.subscription-instructions ol{padding-left:21px;margin:0;line-height:1.8;font-size:14px;color:var(--muted)}
.subscription-instructions li{padding-left:5px;margin:10px 0}
.subscription-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:28px}
.subscription-actions a,.subscription-actions button{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-height:44px;padding:11px 16px;font-size:13px}
.subscription-actions [hidden]{display:none}
.subscription-reminder{padding:15px 18px;border:1px solid #D9C5AF;border-radius:8px;background:#F5EEE4;color:#765237;line-height:1.7;font-size:14px}
.subscription-contact-hint{font-size:13px;color:var(--muted);line-height:1.7;margin:16px 0 0}
.subscription-notice a{color:var(--green);font-weight:600;text-underline-offset:3px}
.subscription-notice.is-expiring{background:#F5EEE4;border-color:#D9C5AF;color:#765237}
@media(max-width:650px){.subscription-card{padding:24px}.subscription-card h1{font-size:26px}.subscription-details{grid-template-columns:1fr;gap:16px}.subscription-actions{align-items:stretch;flex-direction:column}.subscription-actions a,.subscription-actions button{width:100%}}

#workspace.is-subscription-page>.draft-bar,#workspace.is-subscription-page>#subscriptionNotice{display:none}

/* Unified account dropdown with consistent menu rows. */
.account-bar summary{display:flex;align-items:center;gap:10px;list-style:none;padding:10px 12px;border-radius:8px;font-size:13px;line-height:1.5;color:var(--ink)}
.account-bar summary::-webkit-details-marker{display:none}
.account-bar summary::after{content:"";width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 3px 4px;flex:none}
.account-bar details[open] summary{background:#424f360b}
.account-bar details[open] summary::after{transform:rotate(225deg);margin-top:5px}
.account-bar summary:hover{background:#424f360b}
.account-bar summary:focus-visible{outline:2px solid var(--green);outline-offset:3px}
.account-popover{top:calc(100% + 8px);width:290px;min-width:0;max-width:calc(100vw - 32px);padding:8px;border-radius:12px;z-index:60;box-shadow:0 12px 36px #30362a20}
.account-profile{padding:14px 14px 18px;border-bottom:1px solid var(--line)}
.account-profile-label{display:block;font-size:10px;letter-spacing:1.3px;font-weight:600;color:var(--muted);margin-bottom:10px}
.account-profile strong{display:block;font-size:15px;line-height:1.5;color:var(--ink)}
.account-profile #accountName{font-size:13px;margin-top:7px;color:var(--ink)}
.account-profile #accountEmail{font-size:12px;margin-top:4px;overflow-wrap:anywhere}
.account-menu-items{display:grid;gap:3px;padding:8px 0}
.account-popover .account-menu-item{display:flex;align-items:center;gap:12px;min-height:44px;width:100%;margin:0;padding:11px 14px;border:0;border-radius:7px;background:transparent;text-decoration:none;text-align:left;font:500 13px/1.5 var(--font-modern,'DM Sans',sans-serif);color:var(--ink);cursor:pointer;box-shadow:none}
.account-menu-item svg{width:18px;height:18px;flex:none;color:var(--muted)}
#savedDocumentsOpen[hidden]{display:none}
.account-popover .account-menu-item:hover{background:var(--bg)}
.account-popover .account-menu-item:focus-visible{outline:2px solid var(--green);outline-offset:-2px;background:var(--bg)}
.account-menu-footer{padding-top:8px;border-top:1px solid var(--line)}
.account-popover .account-menu-logout,.account-menu-logout svg{color:#964E40}
.account-popover .account-menu-logout:hover{background:#F5E8E3}
.account-popover #accountStatus{margin:0;padding:0 14px;font-size:12px;line-height:1.6}
.account-popover #accountStatus:not(:empty){padding-bottom:12px}

/* Explain each tool through the user's task and the materials it needs. */
.menu-purpose{margin:4px 0 10px;color:var(--accent-ink,#8C533D);font:600 12px/1.6 var(--font-modern)}
.menu-materials{display:grid;gap:12px;margin:0 0 22px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.menu-materials>div{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;align-items:start}
.menu-materials dt{color:var(--ink);font:650 12px/1.65 var(--font-modern)}
.menu-materials dd{margin:0;color:#5F6756;font:400 12px/1.65 var(--font-modern);overflow-wrap:anywhere}
.document-featured .menu-materials{max-width:760px;margin-bottom:18px;border-color:#d8decc}
.document-featured .menu-materials dd{font-size:13px}
.document-card .menu-purpose+h3{margin-top:0}
.workflow-help{margin:0 0 22px;background:var(--surface,#FDFCF9);border:1px solid var(--line);border-radius:10px;overflow:hidden;color:var(--ink)}
.workflow-help>summary{display:flex;align-items:center;gap:12px;padding:14px 18px;cursor:pointer;list-style:none;font:600 14px/1.5 var(--font-modern)}
.workflow-help>summary::-webkit-details-marker{display:none}
.workflow-help>summary:hover{background:#eeeee5}
.workflow-help>summary:focus-visible{outline:2px solid var(--deep);outline-offset:-3px}
.workflow-help-icon{display:grid;place-items:center;flex:none;width:24px;height:24px;border:1px solid #d5d9cb;border-radius:50%;color:var(--deep);background:#eef0e6;font:650 13px var(--font-modern)}
.workflow-help-chevron{margin-left:auto;width:8px;height:8px;flex:none;border-right:1.5px solid #677259;border-bottom:1.5px solid #677259;transform:rotate(45deg)}
.workflow-help[open] .workflow-help-chevron{transform:rotate(225deg)}
.workflow-help-body{padding:20px 22px;border-top:1px solid var(--line)}
.workflow-help-body ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;counter-reset:workflow;margin:0;padding:0}
.workflow-help-body li{counter-increment:workflow;position:relative;padding-left:32px;min-width:0}
.workflow-help-body li::before{content:counter(workflow);position:absolute;left:0;top:0;display:grid;place-items:center;width:22px;height:22px;border-radius:6px;background:#eee7dc;color:#825b43;font:650 12px var(--font-modern)}
.workflow-help-body strong{font:650 13px/1.6 var(--font-modern)}
.workflow-help-body li p{margin:6px 0 0;color:#5F6756;font:400 13px/1.7 var(--font-modern)}
.workflow-help-note{margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line);color:#5F6756;font:400 12px/1.7 var(--font-modern)}
#textEditorView.is-style-transfer>#documentWorkflowGuide,#textEditorView.is-style-transfer>#standaloneWorkflowGuide,#textEditorView.is-focus-mode>.workflow-help{display:none}
@media(max-width:800px){.workflow-help-body ol{grid-template-columns:minmax(0,1fr);gap:18px}}
@media(max-width:520px){.workflow-help>summary{font-size:13px;padding:12px}.workflow-help-body{padding:16px}.menu-materials>div{grid-template-columns:50px minmax(0,1fr);gap:8px}}

/* Dashboard menu hierarchy and comfortable reading. */
#dashboardView .document-featured{padding:30px 32px;gap:32px}
#dashboardView .document-featured-content>.eyebrow{margin-bottom:12px}
#dashboardView .document-featured h2{margin-bottom:10px}
#dashboardView .document-featured p{font-size:15px;line-height:1.75;margin-bottom:20px;max-width:640px}
#dashboardView .document-featured .menu-materials{border:0;padding:0;margin:0;gap:10px}
#dashboardView .document-featured-actions{gap:12px}
#dashboardView .catalog-heading{margin-bottom:18px}
#dashboardView .document-catalog{gap:20px;align-items:stretch}
#dashboardView .document-card:not([data-menu-retired]){padding:24px;min-width:0}
#dashboardView .document-card:not([data-menu-retired]) h3{font-size:20px;line-height:1.35;margin:20px 0 8px;min-height:2.7em;overflow-wrap:break-word}
#dashboardView .menu-purpose{font-size:12px;line-height:1.6;margin:0 0 12px;color:var(--accent-ink,#8C533D)}
#dashboardView .document-card>p{font-size:14px;line-height:1.75;color:#555E4D;margin:0 0 20px}
#dashboardView .document-card .menu-materials{margin: auto 0 20px;padding:16px;border:1px solid var(--line);border-radius:9px;background:var(--bg);gap:12px}
#dashboardView .menu-materials>div{grid-template-columns:48px minmax(0,1fr);gap:10px}
#dashboardView .menu-materials dd{font-size:13px;line-height:1.65;color:#555E4D}
#dashboardView .document-card>.document-open{margin-top:0;min-height:46px;background:transparent;border:1px solid #BBC4AF;color:var(--deep);font-size:13px;line-height:1.5}
#dashboardView .document-card>.document-open:hover{background:#ECEEE4;border-color:var(--green)}
#dashboardView .document-card:focus-within{border-color:#A7B295;box-shadow:0 4px 18px #30362a0a}
#dashboardView .document-open:focus-visible{outline:2px solid var(--green);outline-offset:4px}
@media(max-width:1050px){
  #dashboardView .document-card:not([data-menu-retired]) h3{min-height:0}
}
@media(max-width:700px){
  #dashboardView .document-featured{padding:24px;gap:22px}
  #dashboardView .document-featured p{font-size:14px}
}
@media(max-width:620px){
  #dashboardView .document-card:not([data-menu-retired]){padding:22px}
  #dashboardView .document-card .menu-materials{margin-top:0}
  #dashboardView .document-card:not([data-menu-retired]) h3{margin-top:16px}
}

/* Featured workspace tool: an inviting action with a quiet paper preview. */
#dashboardView .document-featured{grid-template-columns:minmax(0,1fr) 360px;gap:26px 48px;padding:30px 32px 24px;background:linear-gradient(115deg,#ECEEE4 0%,#F8F8F2 70%);border:1px solid #CDD3C1;border-radius:16px;box-shadow:0 8px 28px #424F3608}
#dashboardView .document-featured-content{min-width:0}
#dashboardView .featured-title-row{display:flex;align-items:center;gap:14px;margin:0 0 14px}
#dashboardView .featured-title-row h2{font-size:30px;line-height:1.2;margin:0;letter-spacing:-.7px}
#dashboardView .featured-tool-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border:1px solid #D4DAC8;border-radius:12px;background:#F9FAF5;color:var(--green)}
#dashboardView .featured-tool-icon svg{width:25px;height:25px}
#dashboardView .document-featured-content>p{max-width:570px;margin-bottom:22px;color:#525B49;font-size:15px;line-height:1.8}
#dashboardView .document-featured-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
#dashboardView .document-featured-actions .document-open{width:auto;min-width:230px;min-height:48px;gap:28px;padding:13px 18px;margin:0}
#dashboardView .document-featured-actions .availability{padding:0;background:transparent;color:#58624D;font-size:12px}
#dashboardView .document-featured-actions .availability::before{content:"";display:inline-block;width:6px;height:6px;margin-right:7px;vertical-align:middle;border-radius:50%;background:currentColor}
#dashboardView .document-featured-actions .coming-footnote{flex-basis:100%;margin:0;padding:0}
#dashboardView .document-featured-actions [hidden]{display:none}
#dashboardView .featured-sample{min-width:0;padding:3px 4px 5px}
#dashboardView .featured-paper{padding:18px 18px 16px;background:#FFFEFA;border:1px solid #E0DFD2;border-radius:8px;box-shadow:0 4px 0 -1px #F2F1E8,0 5px 0 0 #DEDFD2,0 12px 24px #424F360B}
#dashboardView .featured-paper-heading{display:flex;justify-content:space-between;gap:12px;padding-bottom:12px;margin-bottom:15px;border-bottom:1px solid #EAE8DE;font:600 8px/1.5 var(--font-modern);letter-spacing:1.4px;color:#7C806C}
#dashboardView .featured-paper pre{margin:0;white-space:pre;font:9.5px/1.85 'Courier New',monospace;color:#404B35;letter-spacing:0}
#dashboardView .featured-paper pre strong{font-weight:700}
#dashboardView .featured-paper-foot{display:flex;gap:5px;margin-top:14px}
#dashboardView .featured-paper-foot span{height:2px;width:18px;background:#DEDAC9}
#dashboardView .featured-paper-foot span:first-child{background:#B87D60;width:32px}
#dashboardView .document-featured .featured-materials{grid-column:1/-1;grid-template-columns:1.2fr 1fr;gap:28px;max-width:none;margin:0;padding:20px 0 0;border:0;border-top:1px solid #D7DCCF}
#dashboardView .featured-materials>div{grid-template-columns:50px minmax(0,1fr);gap:12px}
#dashboardView .featured-materials dd{color:#5B644F;line-height:1.7}
@media(max-width:980px){
  #dashboardView .document-featured{grid-template-columns:minmax(0,1fr) 320px;gap:24px;padding:26px}
  #dashboardView .featured-paper{padding:15px 12px}
  #dashboardView .featured-paper pre{font-size:9px}
  #dashboardView .featured-title-row h2{font-size:27px}
}
@media(max-width:760px){
  #dashboardView .document-featured{grid-template-columns:minmax(0,1fr);padding:24px}
  #dashboardView .featured-sample{display:none}
  #dashboardView .document-featured .featured-materials{grid-template-columns:minmax(0,1fr);gap:12px}
}
@media(max-width:420px){
  #dashboardView .document-featured-actions .document-open{width:100%;min-width:0}
  #dashboardView .featured-title-row{gap:10px}
  #dashboardView .featured-title-row h2{font-size:25px}
}
