/* PDFeditly visual system. Presentation only; PDF coordinates and tool behavior
   remain defined by the existing application and stylesheet. */
:root {
  --ink: #202631;
  --sub: #667080;
  --green: #d93830;
  --mint: #fff0ed;
  --line: #e3e6eb;
  --paper: #f7f8fa;
  --orange: #e84b3f;
  --shadow: 0 16px 48px #17203312;
  --accent: #d93830;
  --accent-hover: #bd2c26;
  --surface: #ffffff;
  color-scheme: light;
}
body { background: var(--paper); color: var(--ink); }
button, a, input, select, textarea { transition: background-color .16s, border-color .16s, box-shadow .16s, color .16s; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #457cf1; outline-offset: 3px; }
button:disabled { opacity: .42; }
.primary { border-radius: 10px; background: var(--accent); border-color: var(--accent); min-height: 42px; font-weight: 650; font-size: 13px; padding: 11px 18px; box-shadow: 0 3px 8px #d9383015; }
.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.icon-button { color: #647083; border-radius: 8px; }
.icon-button:hover, .ghost:hover { background: #edf0f5; color: #202631; }
.ghost { color: #536075; font-size: 12px; border-radius: 9px; }
.status-dot { width: 6px; height: 6px; background: #49b291; }

/* Workspace navigation */
.sidebar { width: 236px; padding: 28px 18px 22px; background: #151923; color: #f5f6f8; border-right: 1px solid #252b37; overflow-y: auto; scrollbar-width: thin; }
.brand { margin: 0 3px 42px; gap: 10px; font-size: 21px; letter-spacing: -.8px; color: #fff; }
.brand .brand-logo { width: 44px; height: 44px; border-radius: 12px; }
.brand-name small { display: block; font-family: 'DM Sans',sans-serif; font-size: 7px; letter-spacing: 1.35px; font-weight: 500; color: #a6aebc; margin-top: 8px; }
.nav-label { color: #8893a6; font-size: 9px; letter-spacing: 1.6px; margin: 0 13px 15px; }
.nav-item { color: #b4bdcd; font-size: 12px; font-weight: 500; border-radius: 9px; padding: 13px 12px; margin-bottom: 6px; min-height: 45px; gap: 11px; position: relative; }
.nav-item .icon { width: 18px; height: 18px; }
.nav-item:hover { background: #222937; color: #fff; }
.nav-item.active { background: #2a2d37; color: #fff; font-weight: 600; box-shadow: inset 3px 0 #fa645a; }
.nav-item.active .icon { color: #ff8279; }
.nav-count { background: #40424d; color: #ebedf1; font-size: 10px; padding: 3px 6px; border-radius: 5px; }
.side-divider { border-color: #303644; margin: 19px 12px; }
.side-note { margin: auto 3px 22px; padding: 22px 18px 18px; background: #212733; border: 1px solid #343b49; border-radius: 14px; }
.side-note .little-star { display: flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 10px; background: #303a43; color: #96cfbc; font-size: 20px; }
.side-note h3 { font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: -.5px; margin: 17px 0 10px; }
.side-note p { color: #aeb8c7; font-size: 10px; line-height: 1.9; margin-bottom: 20px; }
.small-badge { display: flex; align-items: center; justify-content: space-between; font-size: 8px; font-weight: 600; letter-spacing: 1px; color: #d5dce5; border-top: 1px solid #3a4251; padding-top: 15px; }
.small-badge span { color: #ff8279; font-size: 16px; }
.sidebar-footer { margin-top: 0; font-size: 10px; color: #a1adbf; padding-left: 10px; gap: 8px; }
.home-main { margin-left: 236px; width: calc(100% - 236px); }
.topbar { height: 76px; padding: 0 44px; background: #fff; border-color: var(--line); }
.mobile-brand { display: none; }
.breadcrumb { font-size: 12px; color: #7b8493; gap: 14px; }
.breadcrumb>.icon { width: 16px; height: 16px; color: #8d96a4; }
.breadcrumb b { color: #343d4b; font-weight: 600; }
.breadcrumb span { color: #b9c0ca; }
.top-badges { font-size: 11px; color: #667281; gap: 18px; }
.top-badges .icon { width: 14px; height: 14px; }
.free-tag { background: #eef6f2; border-color: #d6e7df; color: #34735d; padding: 7px 11px; font-size: 10px; font-weight: 600; }

/* Start a document */
.home-content { max-width: 1510px; padding: 42px 44px 0; }
.hero { grid-template-columns: 1.02fr 1fr; gap: 35px; align-items: center; }
.hero-copy { padding: 10px 0; }
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 1.65px; color: #6a7485; gap: 8px; }
.eyebrow>span { width: 6px; height: 6px; background: var(--accent); }
.hero h1 { font-size: clamp(37px,4.05vw,62px); line-height: 1.12; font-weight: 650; letter-spacing: -2.8px; margin: 23px 0 20px; }
.hero h1>span { color: var(--accent); }
.hero-copy>p { font-size: 13px; color: #687384; line-height: 1.85; margin: 0 0 23px; max-width: 400px; }
.text-button { padding: 11px 15px; border: 1px solid #dce0e6; border-radius: 9px; font-size: 12px; font-weight: 600; gap: 20px; background: #fff; color: #343e4e; }
.text-button:hover { border-color: #c3cad5; box-shadow: 0 3px 10px #17203309; }
.text-button .icon { width: 17px; }
.hero-caption { font-size: 10px; color: #778293; margin-top: 20px; display: flex; align-items: center; gap: 9px; }
.caption-line { width: 18px; height: 1px; background: #b9c2ce; }
.upload-card { min-height: 358px; position: relative; border: 1px solid #dce1e9; border-radius: 20px; background: #fff; padding: 28px 26px 20px; box-shadow: 0 5px 24px #17203304; }
.upload-card::before { content: ''; position: absolute; pointer-events: none; inset: 9px; border: 1px dashed #dfe3e9; border-radius: 13px; }
.upload-card.dragover { background: #fff1ed; border-color: var(--accent); box-shadow: 0 0 0 4px #d9383014; transform: none; }
.upload-label { color: #929aa7; font-size: 8px; letter-spacing: 1.65px; font-weight: 700; margin-bottom: 22px; }
.file-art { width: 91px; height: 78px; margin-bottom: 10px; }
.art-page { width: 51px; height: 67px; border-radius: 6px; border-color: #d8dfe7; }
.art-page.back { top: 5px; left: 8px; transform: rotate(-13deg); background: #f0f2f6; border-color: #dce1e9; }
.art-page.front { left: 30px; transform: rotate(8deg); background: #fff; box-shadow: 0 6px 12px #18223410; gap: 5px; }
.art-page.front .icon { color: var(--accent); width: 18px; height: 18px; }
.art-page.front b { font-size: 10px; font-weight: 750; color: var(--accent); }
.art-page.front>span { background: #e1e5ec; height: 2px; }
.art-plus { width: 26px; height: 26px; line-height: 20px; right: -1px; bottom: 0; background: var(--accent); border-color: #fff; font-size: 17px; box-shadow: 0 2px 7px #c5281920; }
.upload-card h2 { font-size: 20px; letter-spacing: -.65px; font-weight: 650; margin: 6px 0 8px; }
.upload-card p { color: #7c8593; font-size: 12px; margin-bottom: 19px; }
.upload-card .primary { min-width: 218px; min-height: 44px; font-size: 13px; }
.upload-card .primary .icon:last-child { margin-left: 24px; }
.upload-hint { font-size: 10px; color: #808a99; margin-top: 13px; }
.subtle-link { color: #637085; font-size: 10px; padding-top: 12px; }
.subtle-link:hover { color: var(--accent); }
.trust-strip { margin: 0 0 35px; padding: 25px 0; gap: 12px; border-color: #e3e7ec; }
.trust-strip span { color: #737f8e; font-size: 10px; gap: 7px; }
.trust-strip .icon { color: #698578; width: 15px; height: 15px; }

/* Tool library */
.section-heading { gap: 24px; }
.muted { font-size: 9px; color: #7c8697; font-weight: 650; letter-spacing: 1.7px; }
.section-heading h2 { font-size: 24px; font-weight: 650; letter-spacing: -.85px; margin-top: 8px; }
.search-box { height: 42px; padding: 10px 13px; border: 1px solid #dfe3e9; border-radius: 10px; box-shadow: 0 2px 3px #17203302; gap: 9px; }
.search-box:focus-within { border-color: #9cb5eb; box-shadow: 0 0 0 3px #457cf110; }
.search-box input { width: 171px; font-size: 11px; color: #394459; }
.search-box input::placeholder { color: #8590a1; }
.search-box .icon { width: 16px; color: #7b8797; }
.search-box kbd { font-size: 10px; border-color: #e1e5eb; background: #f7f8fb; color: #8590a1; padding: 2px 5px; }
.filter-tabs { width: fit-content; max-width: 100%; gap: 3px; background: #eceff3; padding: 4px; border: 1px solid #e5e8ed; border-radius: 10px; margin: 24px 0 22px; }
.filter-tabs button { padding: 8px 14px; font-size: 11px; font-weight: 500; border-radius: 7px; color: #677387; }
.filter-tabs button:hover { background: #f8f9fb; color: #313d50; }
.filter-tabs button.selected { background: #fff; color: #273346; font-weight: 650; box-shadow: 0 1px 4px #17203312; }
.tool-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.tool-card { border: 1px solid #e0e5ec; border-radius: 14px; min-height: 164px; padding: 21px 20px 18px; background: #fff; transition: transform .16s, box-shadow .16s, border-color .16s; }
.tool-card:hover { transform: translateY(-2px); border-color: #c4ccd9; box-shadow: 0 7px 20px #24324a09; }
.tool-card h3 { font-size: 14px; font-weight: 750; letter-spacing: -.25px; margin: 17px 0 6px; }
.tool-card p { font-size: 11px; color: #788395; line-height: 1.6; max-width: 100%; }
.tool-icon { width: 39px; height: 39px; border-radius: 11px; background: #edf5f0; color: #397c62; }
.tool-icon .icon { width: 21px; height: 21px; stroke-width: 1.7; }
.tool-icon.peach { background: #fff0eb; color: #d76a42; }
.tool-icon.blue { background: #edf2ff; color: #5579ce; }
.tool-icon.purple { background: #f2edfc; color: #8d6ebc; }
.tool-card>.card-arrow { right: 18px; top: 24px; color: #a5afbd; font-size: 18px; }
.tool-card:hover>.card-arrow { color: var(--accent); }
.tool-card .popular { color: #bc5549; background: #fff1ed; font-size: 8px; font-weight: 700; letter-spacing: .6px; padding: 5px 7px; border-radius: 5px; right: 17px; top: 21px; }
#no-tools { padding: 38px 20px; border: 1px dashed #d4dbe6; border-radius: 14px; text-align: center; color: #6d798d; background: #fff; }
.home-footer { border-top: 1px solid #e3e7ec; margin-top: 35px; padding: 25px 0 30px; color: #7f8999; font-size: 10px; line-height: 1.8; }
.footer-brand { color: #606e82; font-weight: 500; }
.footer-brand span { color: #b5bfcd; margin: 0 8px; }
.home-footer>div { gap: 15px; }
.home-footer button { font-size: 10px; }
.home-footer a:hover, .home-footer button:hover { color: var(--accent); }

/* Editor chrome: never scale, filter or recolor the document canvas. */
.editor { --green: #d93830; --ink: #202631; --line: #e0e5ed; --sub: #6a7588; background: #eef1f6; }
.editor-header { background: #fff; min-height: 68px; height: 68px; padding: 10px 20px; gap: 10px; flex-shrink: 0; }
.editor-brand { display: inline-flex; font-size: 16px; color: #273143; gap: 5px; }
.editor-brand .brand-logo { width: 36px; height: 36px; }
.editor-brand .brand-name { font-weight: 800; letter-spacing: -.6px; }
.document-title { border-left: 1px solid #e5e8ed; padding-left: 20px; margin-left: 12px; }
.document-title input { color: #303c4e; font-size: 13px; font-weight: 600; width: min(25vw,300px); }
.document-title>span { color: #7c8797; font-size: 9px; }
.editor-header>.icon-button { width: 32px; }
.editor-header #export-menu { border: 1px solid #dfe4eb; padding: 10px 13px; }
.editor-header .primary { font-size: 12px; min-height: 39px; padding: 10px 15px; }
.editor-tabs { height: 44px; padding: 0 24px; gap: 28px; background: #fff; }
.editor-tabs button { font-size: 12px; font-weight: 500; color: #6c788c; border-bottom-width: 2px; }
.editor-tabs button.selected { border-color: var(--accent); color: #bd332d; font-weight: 650; }
.editor-tabs>span { color: #7e8999; font-size: 10px; }
.editor-toolbar, .editor-toolbar[data-mode="edit"] { min-height: 77px; height: 77px; background: #fff; padding: 6px 18px; gap: 4px; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; justify-content: flex-start; scrollbar-width: thin; box-shadow: 0 2px 5px #18253f04; }
.editor-toolbar .tool-button, .editor-toolbar[data-mode="edit"] .tool-button { flex: 0 0 auto; flex-direction: column; justify-content: center; min-width: 77px; min-height: 61px; padding: 8px 10px; border-radius: 9px; gap: 7px; color: #5a687e; font-size: 10px; font-weight: 500; }
.editor-toolbar .tool-button .icon, .editor-toolbar[data-mode="edit"] .tool-button .icon { width: 20px; height: 20px; stroke-width: 1.65; }
.editor-toolbar .tool-button:hover, .editor-toolbar[data-mode="edit"] .tool-button:hover { background: #f3f5f9; color: #26364e; }
.editor-toolbar .tool-button.selected, .editor-toolbar[data-mode="edit"] .tool-button.selected { background: #fff0ec; color: #c13a31; font-weight: 650; box-shadow: inset 0 0 0 1px #f4d4cd; }
.toolbar-separator { height: 33px; border-color: #e4e8ef; flex-shrink: 0; }
.text-format-bar { background: #f9fafc; border-color: #e1e6ed; padding: 9px 22px; min-height: 46px; color: #5d6b7f; }
.format-hint b { color: #3a4a61; }
.text-format-bar select, .text-format-bar input[type=number], .format-toggle, .format-cancel { border-color: #dce2eb; border-radius: 6px; color: #4e5e75; }
.format-toggle.selected { background: #fff0ec; border-color: #efb5ab; color: #be3b31; }
.format-apply { background: var(--accent); border-radius: 7px; font-weight: 600; }
.format-apply:hover { background: var(--accent-hover); }
.pages-panel { background: #f9fafc; border-color: #e1e6ed; padding-top: 19px; }
.panel-title { font-size: 9px; color: #7a879a; letter-spacing: 1.2px; }
.thumb { border-radius: 9px; padding-top: 12px; padding-bottom: 9px; }
.thumb:hover { background: #edf0f6; }
.thumb.selected { background: #fff1ed; border-color: #e9b0a6; }
.thumb img { box-shadow: 0 2px 7px #18253f14; }
.thumb span { color: #718096; font-size: 9px; }
.thumb.selected span { color: #c2483c; font-weight: 650; }
.thumb .thumb-edits { background: #db5748; }
.add-files { color: #63738a; border-color: #cdd5e0; border-radius: 8px; padding: 11px 5px; font-size: 10px; background: #fff; }
.canvas-area { background: #edf0f5; background-image: radial-gradient(#d6dce6 .7px,transparent .7px); background-size: 14px 14px; }
.canvas-helper { color: #7a8799; font-size: 10px; }
.page-stage { box-shadow: 0 4px 18px #25355112; }
.zoom-bar { background: #fff; border-color: #dfe5ee; box-shadow: 0 4px 20px #17203312; border-radius: 11px; padding: 6px; color: #52637c; }
.zoom-bar button { border-radius: 6px; }
.zoom-bar button:hover { background: #f0f3f8; }
.properties-panel { background: #fff; border-color: #e1e6ed; padding-top: 22px; }
.properties-panel h3 { font-size: 15px; color: #33415a; font-weight: 650; }
.properties-panel p, .property-hint { color: #728096; font-size: 11px; line-height: 1.7; }
.field-label { color: #5c6a81; font-size: 11px; font-weight: 500; margin-top: 18px; }
.field { border-color: #dbe2eb; color: #37465e; border-radius: 8px; padding: 10px 11px; font-size: 12px; background: #fff; }
.field:focus { border-color: #8ca9e5; outline: 2px solid #457cf11a; }
.toggle-label { color: #65738b; font-size: 11px; }
.property-action { background: #f0f3f8; color: #4c607e; font-size: 11px; border-radius: 8px; padding: 10px 7px; }
.property-action:hover { background: #e8edf5; }
.property-action.danger { color: #bf473f; background: #fff0ed; }
.edit-list-heading { color: #7b899e; font-size: 9px; }
.edit-row { border-radius: 6px; background: #f3f5f9; padding: 7px; color: #60718a; }
.edit-row.selected { box-shadow: inset 0 0 0 1px #b7c8e2; }
.empty-edits { color: #7a8799; font-size: 10px; }
.editor-privacy { color: #8591a1; }
.editor-privacy p { font-size: 9px; color: #7c8899; }
.editor-footer { min-height: 29px; height: 29px; color: #7d8a9c; font-size: 9px; background: #fff; }
.text-tools-panel { border-color: #e1e6ed; color: #465875; }
.text-panel-title h3 { color: #2d3d57; font-weight: 700; font-size: 18px; }
.search-actions button:last-child, .spell-scan { background: #2d3c55; border-color: #2d3c55; border-radius: 7px; }
.text-result { border-radius: 8px; }
.text-result.active { border-color: #b9cbed; background: #f4f7fc; }
.spell-correction, .spell-success { border-radius: 9px; }

/* Dialogs and feedback */
dialog { width: min(620px,calc(100vw - 32px)); border: 1px solid #e0e5ed; border-radius: 19px; padding: 29px; color: #273449; box-shadow: 0 24px 100px #111a3340; }
dialog::backdrop { background: #11182775; backdrop-filter: blur(5px); }
.modal-header { gap: 18px; margin-bottom: 19px; }
.modal-header h2 { font-size: 22px; font-weight: 700; letter-spacing: -.7px; line-height: 1.35; }
.modal-header .icon-button { background: #f3f5f8; color: #758397; width: 31px; height: 31px; }
#modal-body>p { color: #6a788e; font-size: 13px; line-height: 1.8; }
.notice { background: #fff7e9; color: #85652b; border: 1px solid #f0e5cc; border-radius: 9px; padding: 13px 14px; font-size: 12px; }
.notice.green { background: #f0f7f4; color: #4b7864; border-color: #dcebe3; }
.format-grid { gap: 11px; margin: 22px 0; }
.format-grid button { border-color: #e0e5ed; border-radius: 11px; padding: 18px 16px; color: #394a65; font-size: 13px; }
.format-grid button:hover { background: #fafbfe; border-color: #aebed6; }
.format-grid small { color: #7a8799; font-size: 10px; line-height: 1.5; }
.modal-tabs button { color: #718097; }
.modal-tabs button.selected { color: #c83f36; border-color: #d93830; }
.signature-canvas { background: #fcfcfd; border-color: #cbd4e2; border-radius: 10px; }
.feature-list, .form-list label { color: #65748a; font-size: 12px; }
.split-list label, .page-actions button { border-color: #dce3ed; border-radius: 7px; color: #566780; }
.export-result { color: #43765f; }
#toast { background: #24364c; border: 1px solid #ffffff15; color: #fff; border-radius: 11px; box-shadow: 0 8px 30px #10203326; }
#toast.error { background: #a83b36; }
#busy { background: #e8edf5c9; }
.busy-card { border-radius: 18px; padding: 35px 42px; color: #30415b; max-width: calc(100vw - 30px); }
.busy-card h3 { font-size: 18px; font-weight: 600; }
.busy-card p { color: #75859c; font-size: 12px; }
.spinner { border-color: #f3ded9; border-top-color: var(--accent); }
.privacy-page { max-width: 830px; padding: 45px 36px 70px; background: #fff; margin: 35px auto; border: 1px solid #e1e6ee; border-radius: 20px; box-shadow: 0 8px 30px #17203304; }
.privacy-brand { color: #26354c; font-size: 23px; }
.privacy-back { font-size: 12px; color: #bd3d33; margin-bottom: 25px; }
.privacy-page h1 { color: #27344a; font-weight: 650; }
.privacy-page h2 { color: #34465f; font-weight: 650; }
.privacy-page p { color: #6a788e; font-size: 14px; }
.privacy-page .privacy-lead { color: #506b62; font-size: 19px; }
.privacy-page p a { color: #b9342e; }

@media (min-width:1450px) {
  .tool-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-content { padding: 50px 54px 0; }
  .topbar { padding: 0 54px; }
  .hero { gap: 64px; }
  .hero-copy>p { font-size: 15px; max-width: 440px; }
  .hero-caption { font-size: 11px; }
}
@media (max-width:1150px) and (min-width:851px) {
  .sidebar { width: 215px; padding: 26px 13px 20px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand .brand-logo { width: 41px; height: 41px; }
  .brand-name small { font-size: 6.5px; letter-spacing: 1.05px; }
  .home-main { margin-left: 215px; width: calc(100% - 215px); }
  .home-content { padding: 32px 30px 0; }
  .topbar { padding: 0 30px; }
  .hero { gap: 24px; }
  .hero h1 { font-size: 39px; letter-spacing: -2px; }
  .hero-copy>p br { display: none; }
  .upload-card { padding: 25px 18px 20px; }
  .upload-card h2 { font-size: 18px; }
  .tool-card { padding: 18px; }
  .tool-card h3 { font-size: 13px; }
  .trust-strip span { font-size: 9px; }
  .editor-brand .brand-name { display: none; }
  .document-title { margin-left: 0; padding-left: 13px; }
}
@media (max-width:850px) and (min-width:621px) {
  .sidebar { width: 76px; padding: 24px 12px; }
  .brand { margin: 0 4px 35px; }
  .brand .brand-logo { width: 44px; height: 44px; }
  .nav-item { padding: 14px 0; font-size: 0; gap: 0; }
  .nav-item .icon { width: 20px; height: 20px; }
  .nav-item.active { box-shadow: inset 2px 0 #fa645a; }
  .home-main { margin-left: 76px; width: calc(100% - 76px); }
  .home-content { padding: 30px 26px 0; }
  .topbar { padding: 0 26px; height: 65px; }
  .top-badges>span:first-child { display: none; }
  .hero { grid-template-columns: 1fr; gap: 25px; }
  .hero h1 { font-size: 50px; letter-spacing: -2.5px; }
  .hero-copy>p { font-size: 14px; }
  .upload-card { min-height: 320px; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .trust-strip { gap: 8px; }
  .trust-strip span { font-size: 9px; }
  .section-heading { flex-wrap: wrap; gap: 16px; }
  .search-box { width: 100%; }
  .search-box input { flex: 1; width: auto; }
  .editor-brand .brand-name { display: none; }
  .document-title { margin-left: 0; padding-left: 9px; }
}
@media (max-width:620px) {
  .sidebar { display: none; }
  .home-main { margin: 0; width: 100%; }
  .home-content { padding: 30px 20px 0; }
  .topbar { height: 66px; padding: 0 17px; }
  .topbar .breadcrumb { display: none; }
  .mobile-brand { display: flex; align-items: center; gap: 5px; color: #28344a; font: 800 17px Manrope,sans-serif; letter-spacing: -.5px; }
  .mobile-brand img { width: 36px; height: 36px; border-radius: 8px; }
  .top-badges .free-tag { font-size: 9px; padding: 6px 9px; }
  .hero { grid-template-columns: 1fr; gap: 25px; }
  .hero-copy { padding: 0; }
  .hero .eyebrow { font-size: 9px; letter-spacing: 1.45px; }
  .hero h1 { font-size: clamp(35px,9.8vw,55px); letter-spacing: -2px; margin: 21px 0 17px; line-height: 1.13; }
  .hero-copy>p { font-size: 13px; max-width: 340px; margin-bottom: 20px; }
  .hero-caption { margin-top: 17px; font-size: 10px; }
  .text-button { padding: 11px 14px; }
  .upload-card { min-height: 338px; padding: 24px 20px 20px; border-radius: 17px; }
  .upload-label { margin-bottom: 18px; }
  .upload-card h2 { font-size: 20px; }
  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 8px; padding: 25px 0; margin-bottom: 26px; }
  .trust-strip span, .trust-strip span:last-child { display: flex; font-size: 9px; gap: 6px; }
  .trust-strip .icon { width: 14px; height: 14px; }
  .section-heading { gap: 17px; flex-direction: column; align-items: stretch; }
  .section-heading h2 { font-size: 24px; letter-spacing: -.9px; }
  .search-box { width: 100%; margin: 0; height: 42px; }
  .search-box input { width: auto; flex: 1; font-size: 12px; }
  .filter-tabs { margin: 18px 0; gap: 2px; width: 100%; }
  .filter-tabs button { font-size: 10px; padding: 9px 12px; }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .tool-card { padding: 17px 14px; min-height: 169px; border-radius: 12px; }
  .tool-icon { width: 36px; height: 36px; border-radius: 10px; }
  .tool-icon .icon { width: 20px; height: 20px; }
  .tool-card h3 { font-size: 12px; line-height: 1.5; margin-top: 15px; }
  .tool-card p { font-size: 10px; line-height: 1.65; }
  .tool-card>.card-arrow { right: 14px; top: 22px; }
  .tool-card .popular { top: 21px; right: 10px; font-size: 6px; letter-spacing: .25px; padding: 4px; }
  .home-footer { gap: 14px; font-size: 10px; margin-top: 28px; }
  .home-footer>div { gap: 12px; }
  .editor-header { height: 61px; min-height: 61px; padding: 8px; gap: 3px; }
  .editor-brand { display: inline-flex; gap: 0; }
  .editor-brand .brand-logo { width: 28px; height: 28px; }
  .editor-brand .brand-name { display: none; }
  .document-title { border: 0; padding: 0; margin-left: 3px; }
  .document-title input { font-size: 11px; width: 26vw; }
  .document-title>span { font-size: 7px; max-width: 28vw; white-space: nowrap; overflow: hidden; }
  .editor-header>.icon-button { width: 25px; }
  .editor-header .ghost { padding: 8px; }
  .editor-header #export-menu { padding: 8px; }
  .editor-header .primary { min-height: 34px; padding: 8px; }
  .editor-tabs { height: 40px; gap: 20px; padding: 0 12px; }
  .editor-tabs button { font-size: 10px; }
  .editor-toolbar, .editor-toolbar[data-mode="edit"] { height: 72px; min-height: 72px; padding: 5px 8px; gap: 3px; }
  .editor-toolbar .tool-button, .editor-toolbar[data-mode="edit"] .tool-button { min-width: 71px; min-height: 58px; padding: 7px 8px; font-size: 9px; gap: 6px; }
  .text-format-bar { min-height: 43px; padding: 8px 10px; gap: 7px; }
  .pages-panel { width: 65px; padding: 10px 4px; }
  .panel-title { font-size: 7px; }
  .thumb { padding: 5px 2px; border-radius: 6px; }
  .thumb span { font-size: 8px; }
  .add-files { font-size: 0; padding: 9px 4px; }
  .canvas-helper { font-size: 9px; }
  .properties-panel { padding: 15px; border-radius: 10px; }
  .editor.show-options .properties-panel { top: 181px; }
  .properties-panel h3 { font-size: 14px; }
  .properties-panel p { font-size: 11px; }
  .editor-footer { font-size: 8px; }
  .mobile-options { color: #b83831; font-size: 10px; }
  .zoom-bar { padding: 4px; border-radius: 9px; }
  dialog { padding: 22px 20px; border-radius: 16px; max-height: 90dvh; }
  .modal-header h2 { font-size: 20px; }
  .format-grid button { padding: 14px 12px; font-size: 12px; }
  .format-grid small { font-size: 10px; }
  .privacy-page { margin: 0; padding: 28px 23px 50px; border: 0; border-radius: 0; }
  .privacy-page h1 { font-size: 34px; }
}
@media (max-width:359px) {
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 150px; }
  .tool-card h3 { font-size: 14px; }
  .tool-card p { font-size: 11px; }
}
@media (max-height:800px) and (min-width:851px) {
  .sidebar { padding-top: 24px; }
  .brand { margin-bottom: 28px; }
  .nav-item { min-height: 42px; padding-top: 11px; padding-bottom: 11px; margin-bottom: 4px; }
  .side-divider { margin-top: 14px; margin-bottom: 14px; }
  .side-note { padding: 16px; margin-bottom: 18px; }
  .side-note .little-star, .side-note h3 { display: none; }
  .side-note p { margin: 0 0 12px; }
  .small-badge { padding-top: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  *, *::before, *::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
  .tool-card:hover { transform: none; }
}

.resume-nav-links{display:flex;flex-direction:column;gap:10px;margin:3px 0 15px 42px;font-size:10px;color:#aeb8c7}.resume-nav-links a:hover{color:#fff}@media(max-width:850px){.resume-nav-links{display:none}}

.sidebar .visitor-count {
  display: block;
  flex: none;
  margin: 5px 0 0 24px;
  color: #a1adbf;
  font-size: 11px;
  line-height: 1.5;
}
[data-visitor-count] strong { margin-inline-start: 4px; font-variant-numeric: tabular-nums; }
.sidebar .visitor-count strong { color: #eef2f7; }
.visitor-mobile, [data-visitor-count][hidden] { display: none !important; }
@media (max-width:900px) {
  .visitor-mobile:not([hidden]) {
    display: grid !important;
    gap: 2px;
    align-self: flex-start;
    color: #536176;
    font-size: 12px;
    line-height: 1.5;
  }
  .visitor-mobile strong { color: #28344a; }
}
