/* Cromaia / visual system: a working desk for image production. */
:root {
    --accent: #a94b30;
    --accent-hover: #813721;
    --ink: #202724;
    --muted: #616b64;
    --line: #d5d8d0;
    --soft: #f0f1ea;
    --bg: #fcfcf8;
    --radius: 2px;
    --font: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body { background: #e8e9e2; font-size: 14px; letter-spacing: .002em; }
.topbar { min-height: 74px; padding: 0 clamp(18px, 3vw, 44px); background: #202724; border: 0; box-shadow: none; backdrop-filter: none; }
.brand { align-items: center; gap: 12px; }
.brand-symbol, .login-symbol { width: 39px; height: 39px; border-radius: 0; background: #d6e6d7; color: #202724; box-shadow: none; font-size: 25px; font-family: Georgia, serif; font-weight: 700; }
.brand-symbol span { color: #a94b30; }
.brand-wordmark strong { color: #fcfcf8; font-size: 19px; font-weight: 700; letter-spacing: -.04em; }
.brand-wordmark small { color: #b9c5b9; font-size: 9px; letter-spacing: .19em; font-weight: 600; }
.topnav { gap: clamp(12px, 2vw, 30px); }
.topnav a, .topnav .link-btn, .user-box { color: #e0e6df; font-size: 13px; font-weight: 500; }
.topnav a:hover, .topnav .link-btn:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.topnav .chip { display: none; }
.user-box { border-left-color: #59655d; }
.runtime-status { padding: 5px 9px; border: 1px solid #809689; color: #d9e9da; font: 10px/1.2 ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .07em; white-space: nowrap; }
.collection-nav { display: flex; align-items: stretch; gap: clamp(16px, 2.4vw, 34px); padding: 0 clamp(18px, 3vw, 44px); background: #f8f9f4; border-bottom: 1px solid #bdc4ba; }
.collection-heading { display: flex; flex: none; flex-direction: column; justify-content: center; width: 158px; border-right: 1px solid var(--line); padding-right: 22px; }
.collection-heading strong { margin-top: 4px; font-size: 13px; line-height: 1.25; }
.eyebrow, .category-group-label, .tool-group-title, .canvas-index { font: 10px/1.3 ui-monospace, "SFMono-Regular", Menlo, monospace; font-weight: 600; letter-spacing: .11em; color: #657369; }
.category-switch { display: flex; min-width: 0; flex: 1; align-items: center; gap: 24px; overflow-x: auto; scrollbar-width: thin; }
.category-group { display: flex; flex: none; align-items: center; gap: 0; min-height: 76px; }
.category-group + .category-group { border-left: 1px solid var(--line); padding-left: 23px; }
.category-group-label { margin-right: 10px; color: #8a948c; text-transform: uppercase; }
.category-group button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; align-self: stretch; padding: 6px 11px 2px; font-size: 13px; font-weight: 600; color: #667069; cursor: pointer; white-space: nowrap; }
.category-group button:hover { color: var(--ink); background: #ebeee8; }
.category-group button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); background: #f0f1ea; }
.layout { grid-template-columns: minmax(385px, 492px) minmax(0, 1fr); min-height: calc(100vh - 151px); }
.panel { padding: 28px clamp(20px, 2.5vw, 38px) 50px; border-right: 1px solid #c7cdc4; background: #fcfcf8; }
.workspace-intro { margin-bottom: 20px; }
.workspace-intro h1 { font-family: Georgia, "Iowan Old Style", serif; font-weight: 400; font-size: clamp(27px, 2.4vw, 38px); line-height: 1.13; letter-spacing: -.04em; margin-top: 9px; }
.workspace-intro p { max-width: 43ch; color: #566058; margin-top: 9px; font-size: 13px; }
.campaign-row { background: #f4f5ef; border: 1px solid var(--line); border-radius: 0; padding: 5px 9px; margin-bottom: 24px; }
.campaign-row select { font-size: 12px; font-weight: 600; }
.campaign-row .link-btn { color: #42564a; font-size: 11px; white-space: nowrap; }
.tool-picker-head { margin: 18px 0 12px; gap: 12px; align-items: center; }
.tool-picker-head strong { font-size: 15px; font-weight: 700; }
.tool-picker-head small { font-size: 12px; }
.step-number { width: auto; height: auto; background: none; color: var(--accent); border-radius: 0; font: 12px ui-monospace, "SFMono-Regular", Menlo, monospace; }
#tool-search { margin: 0 0 12px; padding: 10px 11px; border-radius: 0; background: #fff; }
.tool-list { gap: 17px; border-bottom: 1px solid var(--line); padding-bottom: 24px; margin-bottom: 20px; }
.tool-group-title { margin-bottom: 6px; text-transform: uppercase; }
.tool-group { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: transparent; border: 0; }
.tool-btn { min-height: 46px; text-align: left; display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; background: #fff; color: #39443c; border: 1px solid var(--line); border-radius: 0; font-size: 12px; font-weight: 600; line-height: 1.25; }
.tool-btn::after { content: '↗'; font-size: 13px; color: #9ba79d; margin-left: 6px; }
.tool-btn:hover { background: #e9ede5; }
.tool-btn[aria-pressed="true"] { background: #26362c; color: #fff; }
.tool-btn[aria-pressed="true"]::after { color: #bdd5c0; }
.tool-desc { margin: -3px 0 3px 0; color: #546157; font-size: 12px; }
.form { gap: 17px; }
.field > label, .options label { font-size: 12px; font-weight: 700; }
input[type=text], input[type=search], input[type=password], textarea, select, .dims input { min-height: 39px; border-radius: 0; border-color: #bcc6ba; background: #fff; }
.drop { min-height: 168px; border: 1px dashed #8eaa97; border-radius: 0; background: #f4f7f2; }
.drop:hover, .drop.dragover { background: #e8f0e7; border-color: #415a47; }
.drop-empty strong { font-family: Georgia, serif; font-size: 18px; font-weight: 400; }
.drop-empty span { font-size: 12px; }
.btn, .btn-primary, .web-block, .swatch, .thumb, .thumb-add, .tip, .combi-card, .login-card, .team-card, .team-person, .icon-btn { border-radius: 0; box-shadow: none; }
.btn-primary { background: #a94b30; box-shadow: none; font-weight: 700; border-radius: 0; }
.btn-primary:hover:not(:disabled) { background: #813721; }
.btn-primary:disabled { background: #b9c1b7; box-shadow: none; }
#generate-btn { padding: 14px; }
.stage { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 28px clamp(18px, 3.1vw, 48px) 52px; background: #e8e9e2; }
.stage-heading { max-width: 1300px; margin-bottom: 20px; align-items: center; border-bottom: 1px solid #c5cbc1; padding-bottom: 15px; }
.stage-heading h2 { font: 400 28px/1.1 Georgia, serif; letter-spacing: -.035em; margin-top: 4px; }
.stage-help { font-size: 12px; }
.stage-empty { position: relative; margin: 0 auto; width: 100%; max-width: 1300px; min-height: clamp(410px, 64vh, 690px); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 55px 30px; border: 1px solid #bec7bb; border-radius: 0; background: #f3f4ed; box-shadow: none; }
.stage-empty::before, .stage-empty::after { content: ''; position: absolute; left: 22px; right: 22px; border-top: 1px solid #d2d8cd; }
.stage-empty::before { top: 46px; } .stage-empty::after { bottom: 58px; }
.canvas-index { position: absolute; top: 20px; left: 22px; }
.canvas-cross { display: grid; place-items: center; width: 100px; height: 100px; border: 1px solid #b1bdaf; border-radius: 50%; color: #7b947f; font: 300 48px/1 Georgia, serif; }
.stage-empty h3 { font: 400 24px/1.2 Georgia, serif; margin: 27px 0 7px; }
.stage-empty p { max-width: 35ch; font-size: 13px; line-height: 1.5; }
.empty-flow { position: absolute; bottom: 17px; left: 22px; right: 22px; display: flex; justify-content: space-between; gap: 10px; margin: 0; }
.empty-flow span { padding: 0; background: none; color: #758276; border-radius: 0; font: 10px ui-monospace, "SFMono-Regular", Menlo, monospace; letter-spacing: .05em; }
.result { max-width: 1300px; }
.result-media { background: #f3f4ed; border: 1px solid #c9d2c7; border-radius: 0; box-shadow: none; }
.result-media img, .compare-fig img { border-radius: 0; }
.history { padding: 40px clamp(18px, 3vw, 44px) 105px; background: #f8f9f4; border-top: 1px solid #c5cbc1; }
.history-head { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.history-head h2 { font: 400 28px/1.2 Georgia, serif; }
.h-card { border-radius: 0; box-shadow: none; }
.h-card:hover { border-color: #718674; transform: none; box-shadow: none; }
.overlay { background: rgba(25,35,28,.66); backdrop-filter: none; }
.login-card, .team-card { background: #fcfcf8; }
.login-card h2, .team-card h2 { font-family: Georgia, serif; font-weight: 400; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #a94b30; outline-offset: 2px; }
@media (max-width: 1180px) { .layout { grid-template-columns: minmax(360px, 430px) minmax(0,1fr); } }
@media (max-width: 880px) { .layout { grid-template-columns: 1fr; } .panel { border-right: 0; border-bottom: 1px solid var(--line); } .stage { min-height: 460px; } .collection-nav { display: block; padding-top: 8px; } .collection-heading { width: auto; min-height: 32px; border: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 12px; padding: 0; } .collection-heading strong { margin: 0; } .category-switch { display: block; overflow: visible; } .category-group { min-height: 47px; flex-wrap: wrap; } .category-group + .category-group { border: 0; border-top: 1px solid var(--line); padding: 0; } .category-group button { align-self: auto; min-height: 47px; } }
@media (max-width: 560px) { .topbar { min-height: 68px; padding: 10px 16px; } .brand { width: auto; } .brand-wordmark strong { font-size: 17px; } .topnav { width: 100%; justify-content: flex-start; } .collection-nav { padding: 8px 16px 0; } .category-group button { font-size: 12px; padding-left: 8px; padding-right: 8px; } .panel { padding: 20px 16px 36px; } .stage { padding: 22px 16px 36px; } .stage-empty { min-height: 360px; } .empty-flow span { font-size: 8px; } }

.product-finder { display: grid; grid-template-columns: minmax(150px, 195px) minmax(0, 1fr); gap: 28px; padding: 17px clamp(18px, 3vw, 44px); background: #f8f9f4; border-bottom: 1px solid #bdc4ba; }
.product-finder-title { display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.product-finder-title strong { margin-top: 3px; font: 400 23px/1.1 Georgia, serif; letter-spacing: -.025em; }
.product-finder-title #selected-family { margin-top: 4px; color: #657369; font-size: 11px; }
.product-finder-main { position: relative; min-width: 0; }
.product-finder-main > label { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 700; }
#product-search { width: 100%; min-height: 43px; padding: 9px 13px; background: #fff; border: 1px solid #a9b5a9; font-size: 14px; }
.product-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 13px; margin-top: 9px; }
.product-shortcuts span { color: #758276; font-size: 11px; }
.product-shortcut { border: 0; border-bottom: 1px solid transparent; background: transparent; padding: 3px 0; color: #42564a; font-size: 11px; cursor: pointer; }
.product-shortcut:hover, .product-shortcut[aria-pressed="true"] { border-bottom-color: #a94b30; color: #26362c; }
.product-results { position: absolute; z-index: 30; top: 66px; left: 0; right: 0; max-height: 330px; overflow: auto; padding: 5px; border: 1px solid #a9b5a9; background: #fff; box-shadow: 0 13px 22px #27342a20; }
.product-result { display: block; width: 100%; border: 0; border-bottom: 1px solid #edf0e9; background: #fff; padding: 10px 12px; text-align: left; color: #26362c; cursor: pointer; }
.product-result:hover, .product-result:focus-visible { background: #edf2eb; }
.product-no-results { padding: 10px 12px; color: #5d695e; font-size: 12px; }
.tool-chooser { margin: 0 0 20px; border: 1px solid #aebbae; background: #f5f7f2; }
.tool-chooser > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 15px; list-style: none; cursor: pointer; }
.tool-chooser > summary::-webkit-details-marker { display: none; }
.tool-chooser > summary span:first-child { display: flex; flex-direction: column; gap: 3px; }
.tool-chooser > summary small { color: #657369; font: 10px ui-monospace, monospace; letter-spacing: .09em; }
.tool-chooser > summary strong { color: #26362c; font-size: 14px; }
.tool-chooser > summary span:last-child { color: #42564a; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.tool-chooser-content { padding: 0 15px 12px; }
.tool-chooser .tool-list { margin: 0; padding-bottom: 0; border: 0; }
@media (max-width: 650px) { .product-finder { grid-template-columns: 1fr; gap: 10px; padding: 13px 16px; } .product-finder-title { border: 0; } .product-finder-title strong { font-size: 20px; } }
