@charset "UTF-8";
/* gz-theme: the lowest cascade layer: the styles of the Figma design win over it */
@layer gz-theme {
@scope (html) to (main) {
/*
 * Gozaurus theme: Vintage Paper  (vintage-paper)
 * Warm sepia paper, ink-brown text, serif typography — editorial / heritage feel.
 * Override layer for httpgo styles.css — load AFTER styles.css (same slot as theme.css).
 * All colours/fonts/radii are tokens in :root; edit them to fork the theme.
 * Generated for Gozaurus by Claude, 2026-10-19.
 */
 body[theme=vintage-paper], body[theme=vintage-paper] {
    color-scheme: light;
    --th-name: "vintage-paper";
    --th-bg: #f4ecd8;
    --th-surface: #fbf6ea;
    --th-surface2: #efe4c9;
    --th-text: #3b2f22;
    --th-muted: #7a6a55;
    --th-heading: #2a1f14;
    --th-primary: #8b3a1e;
    --th-primary-hover: #6e2c15;
    --th-primary-contrast: #fbf6ea;
    --th-accent: #4a6b3a;
    --th-accent-contrast: #ffffff;
    --th-img-bg: #efe4c9;
    --th-border: #d8c8a4;
    --th-header-bg: #3b2f22;
    --th-header-text: #f4ecd8;
    --th-header-hover-bg: #54432f;
    --th-header-hover-text: #ffe2a8;
    --th-header-border: #8b3a1e;
    --th-header-shadow: 0 1px 0 rgba(59, 47, 34, .08);
    --th-footer-bg: #3b2f22;
    --th-footer-text: #d8c8a4;
    --th-sidebar-bg: #efe4c9;
    --th-sidebar-text: #3b2f22;
    --th-sidebar-hover-text: #8b3a1e;
    --th-hover-bg: #e5d6b1;
    --th-dropdown-bg: #fbf6ea;
    --th-dropdown-text: #3b2f22;
    --th-input-bg: #fffaf0;
    --th-input-text: #3b2f22;
    --th-input-border: #d8c8a4;
    --th-focus: rgba(139, 58, 30, .25);
    --th-error: #a4161a;
    --th-success: #4a6b3a;
    --th-progress: #8b3a1e;
    --th-progress-track: #d8c8a4;
    --th-radius: 3px;
    --th-radius-sm: 2px;
    --th-shadow: 0 1px 0 rgba(59, 47, 34, .08);
    --th-shadow-lg: 0 6px 18px rgba(59, 47, 34, .22);
    --th-font: Georgia, "Times New Roman", "Noto Serif", Cambria, serif;
    --th-font-heading: Georgia, "Times New Roman", "Noto Serif", Cambria, serif;
    --th-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
    --th-font-size: 16px;
    --th-line-height: 1.5;

    /* compatibility with variables used by existing theme.css / Broadcast blocks */
    --bg: var(--th-bg);
    --bg-accent: var(--th-surface2);
    --text: var(--th-text);
    --text-dark: var(--th-heading);
    --text-light: var(--th-muted);
    --link: var(--th-primary);
    --link-hover: var(--th-primary-hover);
    --border: var(--th-border);
    --hairline: var(--th-border);
    --primary: var(--th-primary);
    --primary-hover: var(--th-primary-hover);
    --primary-opposite: var(--th-primary-contrast);
    --error: var(--th-error);
    --success: var(--th-success);
}

/* ---------- base ---------- */
 body[theme=vintage-paper] {
    background-color: var(--th-bg);
    color: var(--th-text);
    font-family: var(--th-font);
    font-size: var(--th-font-size);
    line-height: var(--th-line-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scrollbar-color: var(--th-border) transparent;
}

 body[theme=vintage-paper] {
    transition: background-color .2s ease, color .2s ease;
}

 body[theme=vintage-paper] h1, body[theme=vintage-paper] h2, body[theme=vintage-paper] h3, body[theme=vintage-paper] h4, body[theme=vintage-paper] h5, body[theme=vintage-paper] h6 {
    font-family: var(--th-font-heading);
    color: var(--th-heading);
}

 body[theme=vintage-paper] a {
    color: var(--th-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

 body[theme=vintage-paper] a:hover {
    color: var(--th-primary-hover);
}

 body[theme=vintage-paper] code, body[theme=vintage-paper] pre, body[theme=vintage-paper] kbd, body[theme=vintage-paper] samp {
    font-family: var(--th-font-mono);
}

 body[theme=vintage-paper] pre, body[theme=vintage-paper] code {
    background: var(--th-surface2);
    border-radius: var(--th-radius-sm);
}

 body[theme=vintage-paper] pre {
    padding: 12px;
    border: 1px solid var(--th-border);
    overflow: auto;
}

 body[theme=vintage-paper] hr {
    border: 0;
    border-top: 1px solid var(--th-border);
}

 body[theme=vintage-paper] ::selection {
    background: var(--th-primary);
    color: var(--th-primary-contrast);
}

/* ---------- header / top menu ---------- */
 body[theme=vintage-paper] header {
    background: var(--th-header-bg);
    color: var(--th-header-text);
    border-bottom: 1px solid var(--th-header-border);
    box-shadow: var(--th-shadow);
}

 body[theme=vintage-paper] header #sUser, body[theme=vintage-paper] header #sUser::after {
    color: var(--th-header-text);
}

 body[theme=vintage-paper] header #icon_burger {
    fill: var(--th-header-text);
}

 body[theme=vintage-paper] header #icon_burger:hover {
    fill: var(--th-header-hover-text);
}
 body[theme=vintage-paper] li.top-mnu-item a, body[theme=vintage-paper] header ul > li a {
    color: var(--th-header-text);
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}
 body[theme=vintage-paper] li.top-mnu-item a:hover, body[theme=vintage-paper] header ul > li a:hover {
    background-color: var(--th-header-hover-bg);
    color: var(--th-header-hover-text);
}

 body[theme=vintage-paper] ul > li a {
    color: inherit;
}

 body[theme=vintage-paper] ul > li a:hover {
    background-color: var(--th-hover-bg);
    color: inherit;
}

/* ---------- dropdowns ---------- */
 body[theme=vintage-paper] ul li ul.dropdown {
    background: var(--th-dropdown-bg);
    z-index: 1000;
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    box-shadow: var(--th-shadow-lg);
}

 body[theme=vintage-paper] ul li ul.dropdown li a, body[theme=vintage-paper] header ul li ul.dropdown li a {
    color: var(--th-dropdown-text);
    display: block;
    text-align: start;
}

 body[theme=vintage-paper] ul li ul.dropdown li a:hover, body[theme=vintage-paper] header ul li ul.dropdown li a:hover {
    background-color: var(--th-hover-bg);
    color: var(--th-dropdown-text);
}

/* ---------- breadcrumbs + progress ---------- */
 body[theme=vintage-paper] breadcrumbs {
    background: var(--th-surface2);
    border-bottom: 1px solid var(--th-border);
    color: var(--th-muted);
}

 body[theme=vintage-paper] ol.breadcrumb, body[theme=vintage-paper] ol.breadcrumb li {
    background: transparent;
    color: var(--th-muted);
}

 body[theme=vintage-paper] ol.breadcrumb li a, body[theme=vintage-paper] .breadcrumb-item a {
    color: var(--th-primary);
    padding: 4px 6px;
    text-decoration: none;
}

 body[theme=vintage-paper] ol.breadcrumb li a:hover {
    background: var(--th-hover-bg);
    border-radius: var(--th-radius-sm);
}

 body[theme=vintage-paper] .progress {
    background-color: var(--th-progress-track);
}

 body[theme=vintage-paper] .progress .indeterminate {
    background-color: var(--th-progress);
}

/* ---------- layout panes ---------- */
 body[theme=vintage-paper] .content-wrap, body[theme=vintage-paper] #container-fluid, body[theme=vintage-paper] .content-section, body[theme=vintage-paper] #content {
    background: transparent;
    color: var(--th-text);
}

 body[theme=vintage-paper] .sidebar-section {
    background: var(--th-sidebar-bg);
    border-inline-end: 1px solid var(--th-border);
}

/* nothing in the sidebar (a site without a catalog): no empty coloured strip */
 body[theme=vintage-paper] .sidebar-section:not(:has(a, body[theme=vintage-paper] input, body[theme=vintage-paper] button, body[theme=vintage-paper] img)) {
    display: none;
}

 body[theme=vintage-paper] #catalog_pane, body[theme=vintage-paper] .sidebar, body[theme=vintage-paper] .left-mnu-list {
    background: transparent;
}
 body[theme=vintage-paper] li.left-mnu-item a {
    color: var(--th-sidebar-text);
    display: block;
    text-align: start;
    padding: 6px 10px;
    border-radius: var(--th-radius-sm);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
 body[theme=vintage-paper] li.left-mnu-item a:hover, body[theme=vintage-paper] li.left-mnu-item a[aria-current], body[theme=vintage-paper] li.left-mnu-item.active a {
    background-color: var(--th-hover-bg);
    color: var(--th-sidebar-hover-text);
}

 body[theme=vintage-paper] div[role="slider"]:hover {
    background-color: var(--th-focus);
}

 body[theme=vintage-paper] .sidebar-section {
    box-sizing: border-box;
    padding: 8px 10px;
    overflow: auto;
    color: var(--th-sidebar-text);
}

 body[theme=vintage-paper] #content, body[theme=vintage-paper] .content-section {
    color: var(--th-text);
}

 body[theme=vintage-paper] #content h1, body[theme=vintage-paper] #content h2, body[theme=vintage-paper] #content h3, body[theme=vintage-paper] #content h4, body[theme=vintage-paper] #content h5, body[theme=vintage-paper] #content h6 {
    color: var(--th-heading);
    font-family: var(--th-font-heading);
}

/* ---------- footer ---------- */
 body[theme=vintage-paper] footer {
    background: var(--th-footer-bg);
    color: var(--th-footer-text);
}

 body[theme=vintage-paper] footer a, body[theme=vintage-paper] li.foot-mnu-item a {
    color: var(--th-footer-text);
    text-decoration: none;
}

 body[theme=vintage-paper] footer a:hover, body[theme=vintage-paper] li.foot-mnu-item a:hover {
    color: var(--th-primary);
    background-color: var(--th-hover-bg);
}

 body[theme=vintage-paper] ul.foot-mnu-list > li > select {
    background: var(--th-input-bg);
    color: var(--th-input-text);
    border: 1px solid var(--th-input-border);
    border-radius: var(--th-radius-sm);
}

/* ---------- footer submenus open upwards (Language, Themes): a vertical list above the item ---------- */
 body[theme=vintage-paper] footer ul.foot-mnu-list {
    overflow: visible;
    display: flow-root;
}

/* holds the floated items without clipping the menu */
 body[theme=vintage-paper] footer li.foot-mnu-item {
    position: relative;
    float: inline-start;
}

/* right side in he/ar, so the menu stays on screen */
 body[theme=vintage-paper] footer li.foot-mnu-item:has(> ul.dropdown) > a::after {
    content: "▴";
    margin-inline-start: 6px;
    font-size: .8em;
    opacity: .7;
}

 body[theme=vintage-paper] footer ul.foot-mnu-list > li.foot-mnu-item > ul.dropdown {
    position: absolute;
    bottom: 100%;
    inset-inline-start: 0;
    top: auto;
    display: none;
    flex-direction: column;
    min-width: max(100%, 160px);
    max-height: 60vh;
    margin: 0;
    padding: 4px;
    overflow-y: auto;
    background: var(--th-dropdown-bg);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius-sm);
    box-shadow: var(--th-shadow-lg);
    z-index: 1000;
}

 body[theme=vintage-paper] footer ul.foot-mnu-list > li.foot-mnu-item:hover > ul.dropdown, body[theme=vintage-paper] footer ul.foot-mnu-list > li.foot-mnu-item:focus-within > ul.dropdown {
    display: flex;
    visibility: visible;
    opacity: 1;
}

 body[theme=vintage-paper] footer ul.foot-mnu-list > li.foot-mnu-item > ul.dropdown > li {
    float: none;
    width: auto;
    clear: none;
}

 body[theme=vintage-paper] footer ul.foot-mnu-list > li.foot-mnu-item > ul.dropdown > li > a {
    display: block;
    margin: 0;
    padding: 6px 12px;
    text-align: start;
    white-space: nowrap;
    color: var(--th-dropdown-text);
    border-radius: var(--th-radius-sm);
}

 body[theme=vintage-paper] footer ul.foot-mnu-list > li.foot-mnu-item > ul.dropdown > li > a:hover {
    background: var(--th-hover-bg);
    color: var(--th-sidebar-hover-text);
}

/* ---------- cards / forms ---------- */
 body[theme=vintage-paper] figure {
    background: var(--th-surface);
    border-color: var(--th-border);
    border-radius: var(--th-radius);
    box-shadow: var(--th-shadow);
    color: var(--th-text);
}

 body[theme=vintage-paper] form figcaption {
    background-color: var(--th-surface2);
    color: var(--th-muted);
    border-radius: var(--th-radius-sm);
}
 body[theme=vintage-paper] figure button, body[theme=vintage-paper] button, body[theme=vintage-paper] input[type=submit], body[theme=vintage-paper] input[type=button], body[theme=vintage-paper] input[type=reset], body[theme=vintage-paper] .btn {
    background: var(--th-primary);
    border: 1px solid var(--th-primary);
    color: var(--th-primary-contrast);
    border-radius: var(--th-radius-sm);
    font-family: var(--th-font);
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    padding: 6px 14px;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
 body[theme=vintage-paper] figure button:hover, body[theme=vintage-paper] button:hover, body[theme=vintage-paper] input[type=submit]:hover, body[theme=vintage-paper] input[type=button]:hover, body[theme=vintage-paper] .btn:hover {
    background: var(--th-primary-hover);
    border-color: var(--th-primary-hover);
}

 body[theme=vintage-paper] button:disabled, body[theme=vintage-paper] input:disabled, body[theme=vintage-paper] select:disabled, body[theme=vintage-paper] textarea:disabled {
    opacity: .55;
    cursor: not-allowed;
}
 body[theme=vintage-paper] input[type=text], body[theme=vintage-paper] input[type=date-range], body[theme=vintage-paper] input[type=email], body[theme=vintage-paper] input[type=password], body[theme=vintage-paper] input[type=number], body[theme=vintage-paper] input[type=tel], body[theme=vintage-paper] input[type=url], body[theme=vintage-paper] input[type=date], body[theme=vintage-paper] input[type=datetime-local], body[theme=vintage-paper] input[type=time], body[theme=vintage-paper] textarea, body[theme=vintage-paper] select {
    background-color: var(--th-input-bg);
    color: var(--th-input-text);
    border: 1px solid var(--th-input-border);
    border-radius: var(--th-radius-sm);
    font-family: var(--th-font);
}
 body[theme=vintage-paper] input:focus, body[theme=vintage-paper] textarea:focus, body[theme=vintage-paper] select:focus {
    outline: none;
    border-color: var(--th-primary);
    box-shadow: 0 0 0 3px var(--th-focus);
}

 body[theme=vintage-paper] ::placeholder {
    color: var(--th-muted);
    opacity: 1;
}

 body[theme=vintage-paper] input[type=checkbox], body[theme=vintage-paper] input[type=radio], body[theme=vintage-paper] input[type=range], body[theme=vintage-paper] progress {
    accent-color: var(--th-primary);
}

 body[theme=vintage-paper] .input-label input, body[theme=vintage-paper] .input-label ul {
    background-color: transparent;
    color: var(--th-input-text);
}

 body[theme=vintage-paper] .input-wrap > label > span::after {
    color: var(--th-muted);
}

 body[theme=vintage-paper] .input-wrap > label > input:placeholder-shown:focus + span::before {
    background: var(--th-primary);
}

 body[theme=vintage-paper] input + .tooltiptext {
    background-color: var(--th-heading);
    color: var(--th-bg);
    border-radius: var(--th-radius-sm);
    padding: 5px 8px;
    box-shadow: var(--th-shadow-lg);
}

 body[theme=vintage-paper] .errorLabel {
    color: var(--th-error);
}

 body[theme=vintage-paper] form .error-field {
    border-color: var(--th-error);
}

 body[theme=vintage-paper] form .validated-field {
    border-color: var(--th-success);
}

 body[theme=vintage-paper] .removeField {
    background: var(--th-accent);
}

 body[theme=vintage-paper] form span.hiddenInput, body[theme=vintage-paper] span.hiddenInputFile {
    border-color: var(--th-border);
    border-radius: var(--th-radius-sm);
    background-color: var(--th-surface2);
}

 body[theme=vintage-paper] form div#map, body[theme=vintage-paper] .map_showing {
    border-color: var(--th-primary);
    border-radius: var(--th-radius-sm);
}

/* ---------- search panel ---------- */
 body[theme=vintage-paper] #fSearch input[type=search] {
    background: var(--th-input-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='%237a6a55'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 13px center;
    border: 1px solid var(--th-input-border);
    color: var(--th-input-text);
    caret-color: var(--th-primary);
}

 body[theme=vintage-paper] #fSearch input[type="search"]:focus {
    border-color: var(--th-primary);
    box-shadow: 0 0 0 3px var(--th-focus);
}
 body[theme=vintage-paper] div:focus-within > #search-results, body[theme=vintage-paper] div:hover > #search-results, body[theme=vintage-paper] #search-results:hover {
    border: 1px solid var(--th-primary);
    background: var(--th-surface);
    border-radius: var(--th-radius-sm);
    box-shadow: var(--th-shadow-lg);
}

 body[theme=vintage-paper] ul#search-results li {
    color: var(--th-text);
}

 body[theme=vintage-paper] ul#search-results li:focus, body[theme=vintage-paper] ul#search-results li:hover {
    background-color: var(--th-hover-bg);
    outline: 1px solid var(--th-primary);
}

/* ---------- flowchart editor (gozaurus home page) ---------- */
 body[theme=vintage-paper] .flowchart-example-container {
    background: var(--th-surface2);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
}

 body[theme=vintage-paper] .flowchart-operator {
    background: var(--th-dropdown-bg);
    border-color: var(--th-border);
    color: var(--th-dropdown-text);
    border-radius: var(--th-radius-sm);
    box-shadow: var(--th-shadow);
}

 body[theme=vintage-paper] .flowchart-operator .flowchart-operator-title {
    background: var(--th-surface2);
    border-bottom-color: var(--th-border);
    color: var(--th-heading);
}

 body[theme=vintage-paper] .draggable_operators_label {
    color: var(--th-muted);
    margin-bottom: 6px;
}

 body[theme=vintage-paper] .draggable_operator {
    cursor: grab;
    padding: 3px 6px;
    border-radius: var(--th-radius-sm);
}

 body[theme=vintage-paper] .draggable_operator:hover {
    background: var(--th-hover-bg);
    color: var(--th-sidebar-hover-text);
}

/* ---------- sales site: products grid + categories (fabric/sales_site_tpl.go, shop.css) ---------- */
 body[theme=vintage-paper] .shop-title {
    color: var(--th-heading);
    font-family: var(--th-font-heading);
}

 body[theme=vintage-paper] .shop-empty {
    color: var(--th-muted);
    opacity: 1;
}

 body[theme=vintage-paper] .shop-grid {
    gap: 18px;
    padding: 10px 2px;
}

 body[theme=vintage-paper] .shop-card {
    background: var(--th-surface);
    color: var(--th-text);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    box-shadow: var(--th-shadow);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

 body[theme=vintage-paper] .shop-card:hover {
    box-shadow: var(--th-shadow-lg);
    border-color: var(--th-primary);
    transform: translateY(-2px);
}

 body[theme=vintage-paper] .shop-card-img {
    background: var(--th-img-bg);
    border-radius: var(--th-radius-sm);
    margin: -4px -4px 10px;
}

 body[theme=vintage-paper] .shop-card-img img {
    border-radius: var(--th-radius-sm);
}

 body[theme=vintage-paper] .shop-no-img {
    background: repeating-linear-gradient(45deg, var(--th-surface2), var(--th-surface2) 10px, transparent 10px, transparent 20px);
    border: 1px dashed var(--th-border);
}

 body[theme=vintage-paper] .shop-badge {
    background: var(--th-accent);
    color: var(--th-accent-contrast);
    border-radius: var(--th-radius-sm);
    font-weight: 600;
    z-index: 1;
}

 body[theme=vintage-paper] .shop-card-cat {
    color: var(--th-muted);
    opacity: 1;
    text-transform: uppercase;
    letter-spacing: .04em;
}

 body[theme=vintage-paper] .shop-card-title {
    color: var(--th-heading);
    font-family: var(--th-font-heading);
}

 body[theme=vintage-paper] .shop-card-props {
    color: var(--th-text);
    margin-top: auto;
}

 body[theme=vintage-paper] .shop-prop + .shop-prop {
    border-top: 1px solid var(--th-border);
}

 body[theme=vintage-paper] .shop-prop dt {
    color: var(--th-muted);
    opacity: 1;
}

 body[theme=vintage-paper] .shop-prop dd {
    color: var(--th-text);
    unicode-bidi: plaintext;
}

/* "48 000 km", "€ 98 500" keep their order in he/ar */
 body[theme=vintage-paper] .shop-price dd {
    color: var(--th-primary);
}

 body[theme=vintage-paper] .shop-text dd {
    opacity: .9;
}

 body[theme=vintage-paper] .shop-more {
    padding: 8px 28px;
    margin-top: 6px;
}

 body[theme=vintage-paper] .shop-cats li {
    float: none;
    display: block;
    width: auto;
    background: transparent;
}

 body[theme=vintage-paper] .shop-cats .shop-cats {
    border-inline-start: 1px solid var(--th-border);
    margin-inline-start: 8px;
    padding-inline-start: 6px;
}

 body[theme=vintage-paper] .shop-cats a, body[theme=vintage-paper] li.left-mnu-item .shop-cats a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    color: var(--th-sidebar-text);
    text-align: start;
    padding: 5px 8px;
    border-radius: var(--th-radius-sm);
    text-decoration: none;
}

 body[theme=vintage-paper] .shop-cats a:hover, body[theme=vintage-paper] li.left-mnu-item .shop-cats a:hover {
    background: var(--th-hover-bg);
    color: var(--th-sidebar-hover-text);
}

 body[theme=vintage-paper] .shop-cats a.active, body[theme=vintage-paper] li.left-mnu-item .shop-cats a.active {
    background: var(--th-primary);
    color: var(--th-primary-contrast);
}

 body[theme=vintage-paper] .shop-cats small {
    flex: none;
    color: inherit;
    opacity: .65;
    font-variant-numeric: tabular-nums;
}

 body[theme=vintage-paper] .shop-cats {
    overflow: visible;
    padding-inline-end: 6px;
    box-sizing: border-box;
}

 body[theme=vintage-paper] .shop-cats a {
    overflow-wrap: break-word;
    hyphens: auto;
    min-width: 0;
}

 body[theme=vintage-paper] .sidebar-section:has(.shop-cats) {
    min-width: 200px;
    max-width: 26%;
}

/* ---------- tables (content pages) ---------- */
 body[theme=vintage-paper] #content table {
    border-collapse: collapse;
    background: var(--th-surface);
    color: var(--th-text);
}

 body[theme=vintage-paper] #content th, body[theme=vintage-paper] #content td {
    border: 1px solid var(--th-border);
    padding: 6px 10px;
}

 body[theme=vintage-paper] #content thead th {
    background: var(--th-surface2);
    color: var(--th-heading);
    text-align: start;
}

 body[theme=vintage-paper] #content tbody tr:hover {
    background: var(--th-hover-bg);
}

/* Vintage: paper grain + double rules */
 body[theme=vintage-paper] {
    background-image: radial-gradient(rgba(59, 47, 34, .05) 1px, transparent 1px),
    radial-gradient(rgba(59, 47, 34, .035) 1px, transparent 1px);
    background-size: 22px 22px, 13px 13px;
    background-position: 0 0, 7px 9px;
}

 body[theme=vintage-paper] header {
    border-bottom: 4px double var(--th-header-border);
}

 body[theme=vintage-paper] footer {
    border-top: 4px double var(--th-primary);
}

 body[theme=vintage-paper] figure {
    border: 1px solid var(--th-border);
    outline: 1px solid var(--th-border);
    outline-offset: 3px;
}

 body[theme=vintage-paper] h1, body[theme=vintage-paper] h2, body[theme=vintage-paper] h3 {
    font-variant: small-caps;
    letter-spacing: .02em;
}
/* sales site */
 body[theme=vintage-paper] .shop-card {
    outline: 1px solid var(--th-border);
    outline-offset: -5px;
}

 body[theme=vintage-paper] .shop-card:hover {
    transform: none;
}

 body[theme=vintage-paper] .shop-title {
    font-variant: small-caps;
    border-bottom: 4px double var(--th-primary);
    padding-bottom: 4px;
}
}
body[theme] main { color-scheme: light; color: initial; }
}
