/* handwritten font for the home page tagline */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap');
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #222; background: #faf9f6; line-height: 1.5; }
a { color: #2f5d50; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: #fff; border-bottom: 1px solid #e5e2da; flex-wrap: wrap; gap: 10px; }
@font-face { font-family: Sora; font-weight: 600; font-display: swap; src: url(fonts/sora-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Sora; font-weight: 800; font-display: swap; src: url(fonts/sora-latin-800-normal.woff2) format('woff2'); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: Sora, system-ui, sans-serif; font-size: 26px; }
.brand img { width: 1.77em; height: 1.77em; display: block; }
.brand .bt { display: inline-flex; flex-direction: column; gap: .2em; }
.brand .bw { font-weight: 800; line-height: 1; letter-spacing: -.027em; color: #1f3f36; white-space: nowrap; }
.brand .bw b { font-weight: 800; color: #c2552d; }
.brand .bc { font-size: .27em; font-weight: 600; line-height: 1; letter-spacing: .363em; margin-right: -.363em; text-transform: uppercase; color: #1d4a8b; white-space: nowrap; }
@media (max-width: 560px) { .brand { font-size: 20px; } }
.top nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: #333; }
.top nav .me { display: flex; align-items: center; gap: 6px; }
.top nav .me img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.trial { background: #fff4d6; color: #6b5200; text-align: center; padding: 6px; font-size: 14px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 60px; }
.narrow { max-width: 440px; margin: 30px auto; }
.foot { text-align: center; color: #999; font-size: 13px; padding: 20px; }
h1 { font-size: 28px; margin: 6px 0 16px; } h2 { font-size: 20px; margin: 28px 0 12px; } h3 { margin: 0 0 8px; }
.card { background: #fff; border: 1px solid #e5e2da; border-radius: 10px; padding: 20px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
label { display: block; font-size: 14px; color: #444; margin: 12px 0 4px; }
label.inline { display: flex; align-items: flex-start; gap: 8px; margin: 8px 0; font-size: 15px; color: #222; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], textarea, select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; font-family: inherit; }
textarea { min-height: 100px; }
.btn, button { display: inline-block; background: #2f5d50; color: #fff; border: 0; border-radius: 6px; padding: 10px 18px; font-size: 15px; cursor: pointer; text-decoration: none; }
.btn.small { padding: 6px 12px; font-size: 14px; color: #fff !important; }
.btn.light, button.light { background: #e8e4da; color: #222; }
.btn.danger, button.danger { background: #b3261e; }
.btn.wide, button.wide { width: 100%; margin-top: 16px; }
.muted { color: #777; font-size: 14px; }
.flash { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; background: #e6f2ec; color: #1d4a3a; }
.flash.err { background: #fde8e6; color: #8a1c14; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px; background: #eee; color: #444; }
.b-done, .b-ready { background: #dff2e6; color: #19603a; } .b-quoted, .b-new { background: #fff1d1; color: #7a5600; }
.b-paid, .b-in_progress { background: #e0ecfb; color: #174a8b; } .b-rejected, .b-failed { background: #fde3e1; color: #8a1c14; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid #eee; font-size: 14px; vertical-align: top; }
th { background: #f3f1ec; font-weight: 600; }
.quote td:last-child, .quote th:last-child { text-align: right; }
.quote tr.total td { font-weight: 700; font-size: 16px; border-top: 2px solid #ddd; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.or { text-align: center; color: #999; margin: 16px 0; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs a img { width: 90px; height: 90px; object-fit: cover; border-radius: 6px; border: 1px solid #ddd; }
.share { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.share a, .share button { font-size: 13px; padding: 6px 10px; }
.hero { text-align: center; padding: 40px 10px 20px; }
.hero h1 { font-size: 40px; } .hero p { font-size: 18px; color: #555; }
.steps { counter-reset: s; } .steps .card { position: relative; padding-left: 60px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%; background: #2f5d50; color: #fff; text-align: center; line-height: 30px; font-weight: 700; }
.loading { position: fixed; inset: 0; background: #fffe; display: none; align-items: center; justify-content: center; flex-direction: column; z-index: 50; font-size: 18px; }
.spinner { width: 46px; height: 46px; border: 5px solid #ddd; border-top-color: #2f5d50; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 14px; }
@keyframes spin { to { transform: rotate(360deg); } }
code.json { display: block; white-space: pre; overflow: auto; max-height: 300px; }
@media (max-width: 640px) { .hero h1 { font-size: 30px; } .top { padding: 10px 14px; } }

.icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 8px 0; }
.ic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 8px 4px; border-radius: 10px; color: #fff !important; text-decoration: none; font-size: 12px; border: 0; cursor: pointer; }
.ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic.wa { background: #1fa855; } .ic.fb { background: #1877f2; } .ic.tg { background: #229ed9; } .ic.em { background: #6d6a63; } .ic.cp { background: #2f5d50; } .ic.more { background: #8a5a2b; }
.thumb { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; background: #e9eee9; display: block; }
.vrow { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.view-card { display: grid; grid-template-columns: 150px 1fr; gap: 12px; border-top: 1px solid #eee; padding-top: 12px; margin-top: 12px; }
.view-card .linkrow { display: flex; gap: 6px; }
.view-card .linkrow input { flex: 1; min-width: 0; }
@media (max-width: 640px) { .vrow, .view-card { grid-template-columns: 1fr; } .icons { grid-template-columns: repeat(3, 1fr); } }

/* rename / delete */
.dcard { padding: 12px; display: flex; flex-direction: column; }
.dcard > a { flex: 1; }
.manage { display: flex; flex-wrap: wrap; gap: 4px 16px; border-top: 1px solid #eee9de; padding-top: 8px; margin-top: 4px; font-size: 14px; }
.manage details { flex: 0 0 auto; }
.manage details[open] { flex: 1 1 100%; }
.manage summary { cursor: pointer; color: #2f5d50; list-style: none; padding: 2px 0; }
.manage summary::-webkit-details-marker { display: none; }
.manage summary.del { color: #b3261e; }
.manage form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 4px; }
.manage form input[type=text] { flex: 1 1 160px; margin: 0; }
.manage form p { margin: 0; flex-basis: 100%; }
.manage .chk { display: flex; gap: 6px; align-items: center; flex-basis: 100%; margin: 0; font-weight: normal; }
button.small { padding: 6px 12px; font-size: 14px; }
.b-cancelled, .b-created { background: #eee; color: #666; }
.tx td, .tx th { vertical-align: top; }
.tx .amt { text-align: right; white-space: nowrap; }
.tx .ref { font-family: ui-monospace, monospace; font-size: 12px; color: #777; word-break: break-all; }
.tx-sum { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 16px; }
.tx-sum .card { margin: 0; padding: 14px 18px; min-width: 180px; }
.tx-sum b { display: block; font-size: 22px; }
@media (max-width: 640px) { .tx .hide-sm { display: none; } }

/* new design form: files with descriptions */
.drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed #b9c7bd; border-radius: 10px; padding: 26px 12px; background: #f7faf7; cursor: pointer; color: #2f5d50; text-align: center; }
.drop b { font-size: 17px; }
.drop.small { flex-direction: row; gap: 10px; padding: 12px; }
.drop.over, .drop:hover, .drop:focus-visible { background: #e9f2ec; border-color: #2f5d50; outline: none; }
.flist { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.fitem { display: flex; gap: 12px; align-items: stretch; border: 1px solid #e5e2da; border-radius: 10px; padding: 10px; background: #fff; }
.fthumb, .uthumb { flex: 0 0 96px; height: 96px; border-radius: 8px; overflow: hidden; background: #eef1ee; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.fthumb img, .uthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdf { font-weight: 800; color: #b3261e; border: 2px solid #b3261e; border-radius: 4px; padding: 6px 8px; font-size: 13px; background: #fff; }
.fbody { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; }
.fline { display: flex; gap: 8px; flex-wrap: wrap; }
.fline select { flex: 0 1 230px; margin: 0; }
.fline input { flex: 1 1 220px; margin: 0; }
.fdesc.bad { border-color: #b3261e; background: #fff6f5; }
.fmeta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.fmeta .muted { overflow-wrap: anywhere; }
.facts { display: flex; gap: 4px; flex-wrap: wrap; }
button.link { background: none; color: #2f5d50; padding: 4px 8px; font-size: 14px; border-radius: 6px; }
button.link:hover:not(:disabled) { background: #eef3ef; }
button.link:disabled { color: #bbb; cursor: default; }
button.link.del { color: #b3261e; }
.est { margin: 14px 0 4px; padding: 12px 14px; border-radius: 8px; background: #f6f4ef; }
.est table { background: none; }
.est td { padding: 3px 0; border: 0; }
.est .amt { text-align: right; white-space: nowrap; }
.est .tot td { border-top: 1px solid #d9d4c8; font-weight: 700; padding-top: 6px; }
.ufiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.ufile { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; font-size: 14px; }
.ufile .uthumb { flex: none; width: 100%; height: 120px; }
.ufile b { overflow-wrap: anywhere; }
.ufile .muted { font-size: 12px; }
@media (max-width: 560px) { .fthumb { flex-basis: 72px; height: 72px; } }

/* sample designs */
.samples { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 8px; }
.sample { display: flex; flex-direction: column; padding: 12px; text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
.sample:hover { box-shadow: 0 6px 20px #0000001a; transform: translateY(-2px); }
.sample .thumb { margin-bottom: 10px; }
.sample h3 { margin: 0 0 4px; }
.sample .sub { margin: 0 0 8px; }
.sample ul { margin: 0 0 10px; padding-left: 18px; font-size: 14px; color: #444; }
.sample li { margin: 2px 0; }
.sample .open { margin-top: auto; color: #2f5d50; font-weight: 600; font-size: 14px; }
.sform .sgrid { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 20px; }
.sdel { margin: -8px 0 22px; font-size: 14px; }
.sdel summary { cursor: pointer; color: #b3261e; }
@media (max-width: 640px) { .sform .sgrid { grid-template-columns: 1fr; } }

/* sample designs – film reel */
.reel { position: relative; overflow: hidden; margin: 8px 0 28px; padding: 22px 0; border-radius: 10px;
  background: #17191c;
  background-image: radial-gradient(circle at 50% 50%, #f3f1ec 0 3.5px, transparent 4px), radial-gradient(circle at 50% 50%, #f3f1ec 0 3.5px, transparent 4px);
  background-size: 22px 12px, 22px 12px; background-position: 0 5px, 0 calc(100% - 5px); background-repeat: repeat-x; }
.reel::before, .reel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40px; z-index: 2; pointer-events: none; }
.reel::before { left: 0; background: linear-gradient(90deg, #17191c, transparent); }
.reel::after { right: 0; background: linear-gradient(-90deg, #17191c, transparent); }
.reel-track { display: flex; gap: 10px; width: max-content; animation: reel var(--secs, 40s) linear infinite; }
.reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
@keyframes reel { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.frame { position: relative; flex: none; display: block; width: 280px; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; background: #2a2d33; outline-offset: 3px; }
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s, filter .3s; filter: saturate(.92); }
.frame:hover img, .frame:focus-visible img { transform: scale(1.05); filter: none; }
.frame-play { position: absolute; right: 8px; bottom: 8px; background: #000a; color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; opacity: 0; transition: opacity .2s; }
.frame:hover .frame-play, .frame:focus-visible .frame-play { opacity: 1; }
@media (max-width: 640px) { .frame { width: 210px; } }
@media (prefers-reduced-motion: reduce) { .reel { overflow-x: auto; } .reel-track { animation: none; } }

/* footer */
.foot { background: linear-gradient(100deg, #14234a 0%, #1d3a7e 55%, #1b5a78 100%); color: #dfe8f5; margin-top: 48px; font-size: 14px; }
.foot-in { max-width: 1100px; margin: 0 auto; padding: 30px 20px 18px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; font-family: Sora, system-ui, sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.4px; }
.foot-brand b { color: #f2a07b; font-weight: 800; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; }
.foot-links a { color: #fff; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-bar { border-top: 1px solid #ffffff26; }
.foot-bar-in { padding: 14px 24px; font-size: 12.5px; display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.foot-copy, .foot-made { margin: 0; line-height: 1.6; }
.foot-copy b { color: #fff; }
.foot-made .tri { margin-right: 10px; vertical-align: 1px; }
.foot-made .ico { display: inline-block; vertical-align: -3px; width: 20px; height: 14px; }
.foot-made .flag { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px #0002; }
.foot-made .em { font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.tri { display: inline-flex; gap: 4px; }
.tri i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.tri i:nth-child(1) { background: #ff9933; } .tri i:nth-child(2) { background: #fff; } .tri i:nth-child(3) { background: #138808; }
@media (min-width: 1280px) { .foot-bar-in { flex-wrap: nowrap; } .foot-copy, .foot-made { white-space: nowrap; } }
@media (max-width: 1279px) { .foot-bar-in { justify-content: center; text-align: center; } }

/* footer pages */
.doc { max-width: 820px; margin: 0 auto; padding: 28px 34px; line-height: 1.65; }
.doc h1 { margin-top: 0; }
.doc h2 { font-size: 19px; margin: 26px 0 6px; }
.doc ul { padding-left: 22px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

.sample-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 14px 18px; }
.sample-toggle b { display: block; margin-bottom: 2px; }
.sample-toggle button:disabled { opacity: .5; cursor: default; }

/* admin: AI cost */
.ai-cost table td, .ai-cost table th { font-size: 14px; }
.ai-cost .amt, .ai-tab .amt { text-align: right; white-space: nowrap; }
.ai-cost tr.grp td { background: #f6f4ef; }
.ai-cost tr.sub td { color: #666; font-style: italic; }
.ai-cost tr.tot td, .ai-tab tr.tot td { font-weight: 700; border-top: 2px solid #d9d4c8; }

.ai-est { margin: 10px 0; padding: 10px 12px; border-radius: 8px; background: #eef3fb; border: 1px dashed #9cb6dc; font-size: 14px; }

/* bill and processing */
.bill { max-width: 720px; margin: 0 auto; padding: 26px 30px; }
.bill-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid #eee9de; padding-bottom: 14px; margin-bottom: 16px; }
.bill-head h1 { margin: 0 0 4px; }
.bill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; line-height: 1.55; }
.bill-grid .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #777; }
.bill-pay { margin: 18px 0 10px; }
.bill .quote { margin-bottom: 8px; }
.process { max-width: 620px; margin: 30px auto; text-align: center; padding: 34px 26px; }
.process .spinner { margin: 0 auto 16px; }
.order-card { border-color: #e0b84d; }
@media (max-width: 560px) { .bill-grid { grid-template-columns: 1fr; } .bill { padding: 20px 16px; } }

/* AI questions and design history */
.qcard { border-color: #9cb6dc; background: #f7faff; }
.qcard details { margin: 6px 0 10px; }
.timeline { list-style: none; padding: 0; margin: 12px 0 0; }
.timeline > li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid #eee9de; }
.timeline > li:first-child { border-top: 0; }
.tl-ic { flex: 0 0 26px; font-size: 18px; text-align: center; }
.timeline ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
.tl-text { margin-top: 4px; font-size: 14px; white-space: pre-wrap; }
.tl-qa li { margin: 4px 0; }
.tl-ai { background: #fafafa; }
.tl-pre { max-height: 360px; overflow: auto; background: #1f2328; color: #e6e6e6; padding: 10px; border-radius: 6px; font-size: 12px; white-space: pre-wrap; word-break: break-word; }

/* file picker with thumbnails (assets/files.js) */
.m3df-drop { display: flex; flex-direction: column; align-items: center; gap: 2px; border: 2px dashed #b9c7bd; border-radius: 10px; padding: 16px 12px; background: #f7faf7; cursor: pointer; color: #2f5d50; text-align: center; font-size: 14px; }
.m3df-drop span { color: #777; font-size: 13px; }
.m3df-drop.m3df-has { flex-direction: row; justify-content: center; gap: 10px; padding: 10px; }
.m3df-drop.m3df-over, .m3df-drop:hover, .m3df-drop:focus-visible { background: #e9f2ec; border-color: #2f5d50; outline: none; }
.m3df-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; margin-top: 10px; }
.m3df-grid:empty { display: none; }
.m3df-tile { position: relative; display: flex; flex-direction: column; gap: 4px; border: 1px solid #e5e2da; border-radius: 8px; padding: 6px; background: #fff; }
.m3df-th { display: flex; align-items: center; justify-content: center; height: 90px; border-radius: 6px; overflow: hidden; background: #eef1ee; }
.m3df-th img { width: 100%; height: 100%; object-fit: cover; }
.m3df-pdf { font-weight: 800; color: #b3261e; border: 2px solid #b3261e; border-radius: 4px; padding: 4px 6px; font-size: 12px; background: #fff; }
.m3df-x { position: absolute; top: 2px; right: 2px; width: 26px; height: 26px; padding: 0; border-radius: 50%; background: #000a; color: #fff; font-size: 16px; line-height: 26px; }
.m3df-tile input[type=text] { padding: 6px 8px; font-size: 13px; margin: 0; }
.m3df-meta { font-size: 11px; color: #777; overflow-wrap: anywhere; }
.m3df-err { color: #b3261e; font-size: 13px; margin-top: 6px; }
.m3df-compact .m3df-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
.m3df-compact .m3df-th { height: 70px; }

/* simple plan and instructions */
.plan-price { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.plan-big { font-size: 34px; font-weight: 800; color: #1f3f36; }
.plan-big small { font-size: 18px; font-weight: 700; color: #2f5d50; }
.plan-sub { margin: 14px 0 4px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 18px; }
.ticks li { padding-left: 24px; position: relative; font-size: 14.5px; }
.ticks li::before { content: "✓"; position: absolute; left: 2px; color: #2f8f4f; font-weight: 800; }
.plan-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 14px; }
.plan-extras > div { background: #f6f4ef; border-radius: 8px; padding: 10px 12px; font-size: 14px; }
.instr-list { display: flex; flex-direction: column; gap: 8px; }
.instr { display: flex; gap: 8px; align-items: flex-start; }
.instr-n { flex: 0 0 22px; font-weight: 700; color: #2f5d50; padding-top: 10px; text-align: right; }
.instr-body { flex: 1; }
.instr-body textarea { min-height: 54px; margin: 0; }
.instr-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: #777; }
.instr-meta button.link { font-size: 12.5px; padding: 2px 6px; }
.kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0 16px; }

.estbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.estbar span { font-weight: 600; }
.estbar small { font-weight: 400; color: #777; margin-left: 6px; }
.estbar b { font-size: 24px; color: #1f3f36; }

.size-read { background: #eef6f0; border: 1px solid #cfe3d5; border-radius: 8px; padding: 10px 12px; margin: 0 0 6px; font-size: 14.5px; }

.big-btn { padding: 16px 20px; font-size: 19px; font-weight: 600; border-radius: 8px; }
.size-line { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; margin-bottom: 6px; font-size: 15px; }
.size-line b { font-size: 17px; color: #1f3f36; }
.unclear { background: #fff6e5; border: 1px solid #f0d49a; border-radius: 8px; padding: 12px 14px; line-height: 1.55; }
.unclear .warn { color: #b3261e; }

/* How it works: steps joined by a running line */
.flow { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding: 26px 0 20px; margin-bottom: 18px; }
.flow-step { position: relative; z-index: 1; }
.flow-step:nth-of-type(even) { padding-top: 110px; }
.flow-step .card { position: relative; padding: 32px 20px 18px; margin: 0; background: #fff; box-shadow: 0 4px 18px #0000000d; transition: transform .2s, box-shadow .2s; }
.flow-step .card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px #00000017; }
.flow-step h3 { margin: 0 0 6px; }
.flow-step p { margin: 0; }
.flow-n { position: absolute; left: 50%; top: -18px; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; background: #2f5d50; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 0 0 5px #f3f1ec, 0 0 0 7px #2f5d5033; z-index: 2; }
.flow-ic { position: absolute; right: 14px; top: 10px; font-size: 22px; opacity: .85; }
.flow-line { position: absolute; inset: 0; z-index: 0; overflow: visible; pointer-events: none; }
.flow-track { fill: none; stroke: #d8d3c6; stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.flow-run { fill: none; stroke-width: 4; stroke-linecap: round; }
.flow-dot { fill: #e8a93a; stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 6px #e8a93a); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 18px; padding-top: 4px; }
  .flow-step:nth-of-type(n) { padding-top: 0; }
  .flow-step .card { margin-left: 50px; padding: 18px 18px 16px; }
  .flow-n { left: -50px; top: 16px; transform: none; }
}

/* discounts */
.quote tr.disc td { color: #2f8f4f; font-weight: 600; }
.coupon-box { margin: 4px 0 12px; font-size: 14.5px; }
.coupon-box summary { cursor: pointer; color: #2f5d50; }
.estbar small.offer { color: #2f8f4f; font-weight: 600; margin-left: 0; }

/* admin pricing */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px 20px; margin: 12px 0; }
.price-grid label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; font-weight: normal; color: #333; }
.price-grid .pin { display: flex; align-items: center; gap: 6px; }
.price-grid input { width: 110px; margin: 0; text-align: right; }
.price-grid em { font-style: normal; color: #777; font-size: 13px; width: 38px; }

/* "Choose the AI" – one option per AI model the admin offers, each with its total */
.aipick { margin: 14px 0 6px; display: grid; gap: 8px; }
.aipick-t { font-weight: 700; }
.aipick-o { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "r n p" "r d p"; column-gap: 10px; align-items: center;
  padding: 10px 12px; border: 1.5px solid #d9d4c8; border-radius: 10px; background: #fff; cursor: pointer; margin: 0; font-weight: normal; }
.aipick-o:has(input:checked) { border-color: #2f5d50; background: #eef5f1; box-shadow: 0 0 0 2px rgba(47, 93, 80, .15); }
.aipick-o input { grid-area: r; width: 18px; height: 18px; margin: 0; accent-color: #2f5d50; }
.aipick-n { grid-area: n; font-weight: 700; }
.aipick-d { grid-area: d; color: #6b6b6b; font-size: 13px; line-height: 1.35; }
.aipick-p { grid-area: p; font-size: 17px; white-space: nowrap; }
.aipick-rec { font-weight: 600; font-size: 11px; color: #2f5d50; background: #dcebe4; border-radius: 10px; padding: 1px 7px; margin-left: 4px; }
input.tokp[readonly] { background: transparent; border-color: transparent; padding-left: 2px; color: #333; }

/* Home page: bigger main buttons */
.hero .hero-btn { padding: 17px 34px; font-size: 19px; font-weight: 700; min-height: 60px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 640px) { .hero .hero-btn { width: 100%; padding: 15px 20px; font-size: 18px; min-height: 56px; } }

/* "See sample designs": every sample, latest first, below the moving strip */
.slist { display: none; margin: -12px 0 30px; }
.slist.open, .slist:target { display: block; }
.slist-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.slist-head h2 { margin: 0 0 12px; }
.slist-close { font-weight: 600; white-space: nowrap; }
.slist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.slist-item { display: flex; flex-direction: column; padding: 0; margin: 0; overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.slist-item:hover { transform: translateY(-2px); box-shadow: 0 6px 18px #0002; }
.slist-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #2a2d33; }
.slist-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.slist-body b { font-size: 17px; }
.slist-det { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #555; margin-top: 4px; }
.slist-open { margin-top: auto; padding-top: 8px; font-weight: 700; color: #2f5d50; }

/* Home page: the AI options with example prices */
.aim-h { margin: 22px 0 4px; }
.aim { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 10px 0 12px; }
.aim-c { border: 1.5px solid #e2ded5; border-radius: 10px; padding: 14px 16px; background: #fff; display: flex; flex-direction: column; }
.aim-c.aim-rec { border-color: #2f5d50; background: #f3f8f5; }
.aim-t { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 17px; }
.aim-pct { margin-left: auto; font-size: 12px; font-weight: 700; color: #6b6b6b; background: #f0eee8; border-radius: 10px; padding: 2px 8px; }
.aim-c p { color: #555; font-size: 14px; line-height: 1.45; margin: 8px 0 10px; flex: 1; }
.aim-p { width: 100%; border-collapse: collapse; background: none; margin: 0; }
.aim-p td { border: 0; border-top: 1px solid #eeebe4; padding: 6px 0; font-size: 14px; }
.aim-p td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.aim-go { margin-top: 12px; text-align: center; padding: 12px 14px; font-size: 16px; font-weight: 700; }
.aim-chosen { margin: -6px 0 14px; padding: 9px 13px; background: #eef5f1; border: 1px solid #cfe2d8; border-radius: 8px; display: inline-block; }
.aim-p .aim-ph th { font-size: 11px; font-weight: 600; color: #888; text-transform: uppercase; letter-spacing: .03em; line-height: 1.25; padding: 2px 6px 4px 0; text-align: left; vertical-align: bottom; background: none; border: 0; }
.aim-p .aim-ph th:last-child { text-align: right; }
.aim-p td.aim-time { color: #2f5d50; font-weight: 600; white-space: nowrap; padding: 6px 8px; }

/* Admin → Visitors */
.vis-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 14px; }
.vis-stats .card { margin: 0; padding: 12px 16px; display: flex; flex-direction: column; }
.vis-stats b { font-size: 26px; line-height: 1.1; color: #2f5d50; }
.vis-stats span { color: #777; font-size: 13px; }
.vis-filter { gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.vis-tabs { display: inline-flex; border: 1px solid #ddd8cc; border-radius: 8px; overflow: hidden; }
.vis-tabs a { padding: 7px 12px; text-decoration: none; color: #444; font-size: 14px; border-right: 1px solid #ddd8cc; }
.vis-tabs a:last-child { border-right: 0; }
.vis-tabs a.on { background: #2f5d50; color: #fff; }
.vis-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.vis-table th { text-align: left; font-size: 12px; color: #777; font-weight: 600; padding: 10px 12px; background: #f6f4ef; border-bottom: 1px solid #e6e2d8; white-space: nowrap; }
.vis-table td { padding: 10px 12px; border-bottom: 1px solid #eeebe4; vertical-align: top; }
.vis-row { cursor: pointer; }
.vis-row:hover, .vis-row.open { background: #f3f8f5; }
.vis-row.open td { border-bottom-color: transparent; }
.vis-who { display: flex; gap: 10px; align-items: center; min-width: 200px; }
.vis-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; background: #e9e5dc; }
.vis-guest { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #8a8478; }
.vis-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #c9c4b8; vertical-align: middle; }
.vis-dot.on { background: #2e9e5b; box-shadow: 0 0 0 3px #2e9e5b33; }
.vis-last { max-width: 320px; word-break: break-word; }
.vis-path { font-size: 12.5px; color: #2f5d50; word-break: break-all; }
.vis-detail > td { background: #f3f8f5; padding: 4px 14px 16px; }
.vis-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; font-size: 13.5px; padding: 6px 0; }
.vis-head select { width: auto; display: inline-block; padding: 4px 8px; margin-left: 4px; }
.vis-ua { font-size: 12px; margin-bottom: 8px; }
.vis-sub { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; font-size: 13.5px; margin: 0; }
.vis-sub th { text-align: left; font-size: 11.5px; color: #777; font-weight: 600; padding: 8px 10px; background: #faf8f4; border-bottom: 1px solid #eee; }
.vis-sub td { padding: 8px 10px; border-bottom: 1px solid #f0ede6; vertical-align: top; max-width: 300px; word-break: break-word; }
.vis-pmore[hidden], #vMore[hidden] { display: none; }
.vis-plus { flex: none; width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 1.5px solid #2f5d50; background: #fff; color: #2f5d50; font-size: 18px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.vis-row.open .vis-plus { background: #2f5d50; color: #fff; }
.vis-dur { white-space: nowrap; }

/* Home page: 2D plan → 3D design */
.ba { margin: 28px 0 8px; }
.ba h2 { text-align: center; }
.ba-row { display: flex; align-items: center; gap: 14px; }
.ba-side { flex: 1; margin: 0; min-width: 0; }
.ba-side figcaption { font-weight: 700; text-align: center; margin-bottom: 6px; color: #2f5d50; }
.ba-box { position: relative; aspect-ratio: 4 / 3; border: 1px solid #ddd; border-radius: 12px; overflow: hidden; background: #fbfaf6; box-shadow: 0 2px 10px #0001; }
.ba-plan { width: 100%; height: 100%; display: block; }
.ba-3d img, .ba-3d iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.ba-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: auto; margin: 0; padding: 12px 20px; font-size: 16px; border-radius: 30px; background: #2f5d50; color: #fff; box-shadow: 0 3px 12px #0005; }
.ba-arrow { font-size: 34px; color: #2f5d50; flex: none; }
.ba-foot { text-align: center; margin-top: 10px; }
@media (max-width: 760px) { .ba-row { flex-direction: column; } .ba-side { width: 100%; } .ba-arrow { transform: rotate(90deg); font-size: 28px; } }

/* WhatsApp "Ask us" button */
.wa-btn { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 8px; background: #25d366; color: #fff !important;
  text-decoration: none !important; padding: 11px 16px 11px 13px; border-radius: 30px; font-weight: 700; font-size: 15px; box-shadow: 0 4px 14px #0004; }
.wa-btn:hover { background: #1ebe5a; }
.wa-btn svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 760px) { .wa-btn span { display: none; } .wa-btn { padding: 12px; } }
@media print { .wa-btn { display: none; } }

/* Admin → Visitors: funnel */
.fun { margin-bottom: 16px; }
.fun-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.fun-head h2 { margin: 0; font-size: 19px; }
.fun-ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fun-ctl select { width: auto; margin: 0; }
.fun-step { display: grid; grid-template-columns: 210px 1fr 120px; gap: 10px; align-items: center; padding: 5px 0; }
.fun-lbl { font-weight: 600; font-size: 14px; }
.fun-bar { position: relative; height: 30px; background: #f1eee6; border-radius: 6px; overflow: hidden; display: flex; align-items: center; gap: 8px; padding-left: 10px; }
.fun-bar i { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #8fc1ad, #b7d8ca); border-radius: 6px; }
.fun-bar b, .fun-bar span { position: relative; font-size: 14px; color: #1f3f36; }
.fun-bar span { font-size: 12px; color: #4a5f58; }
.fun-drop { font-size: 13px; color: #b5562f; }
.fun-by { margin-top: 12px; }
.fun-by summary { cursor: pointer; font-weight: 600; }
.fun-note { font-size: 12.5px; margin: 10px 0 0; }
@media (max-width: 700px) { .fun-step { grid-template-columns: 1fr; gap: 3px; } .fun-drop { text-align: right; } }

/* Home page: feature tags and the repeated "Get your 3D design" button */
.hero-tags { list-style: none; padding: 0; margin: 4px auto 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-tags li { background: #e7f0ec; color: #2f5d50; border: 1px solid #c9ddd4; padding: 6px 12px; border-radius: 20px; font-size: 14.5px; font-weight: 600; }
.cta-cap { display: block; text-align: center; font-size: 14px; color: #6b6b6b; margin-top: 6px; }
.cta { text-align: center; margin: 22px 0 30px; }
.cta .hero-btn { padding: 15px 34px; font-size: 18px; font-weight: 700; min-height: 56px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.ba-sub { text-align: center; color: #555; margin: -6px 0 14px; }
@media (max-width: 640px) { .cta .hero-btn { width: 100%; } .hero-tags li { font-size: 13.5px; } }

/* Progress bar while the AI works (assets/progress.js) */
.m3dp { width: 100%; max-width: 460px; margin: 14px auto 4px; }
.m3dp-track { position: relative; height: 22px; border-radius: 12px; background: #0b1238; border: 2px solid #3fc6e0; box-shadow: 0 0 10px #3fc6e055, inset 0 0 8px #0008; overflow: hidden; }
.m3dp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 3%; border-radius: 10px; transition: width .3s linear;
  background: linear-gradient(90deg, #0d1c5c 0%, #1c4aa0 55%, #2a8fd0 100%); overflow: hidden; }
.m3dp-fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, #ffffff40, transparent); width: 40%; animation: m3dp-sheen 1.6s linear infinite; }
.m3dp-knob { position: absolute; right: 1px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #45dcf5; box-shadow: 0 0 10px #45dcf5, 0 0 3px #fff inset; animation: m3dp-pulse 1.2s ease-in-out infinite; }
.m3dp-time { text-align: center; font-size: 12.5px; color: #5d6b78; margin-top: 6px; letter-spacing: .2px; }
.m3dp-ok .m3dp-fill { background: linear-gradient(90deg, #1c4aa0, #2fbf8f); }
.m3dp-ok .m3dp-fill::after, .m3dp-stop .m3dp-fill::after, .m3dp-ok .m3dp-knob, .m3dp-stop .m3dp-knob { animation: none; }
@keyframes m3dp-sheen { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes m3dp-pulse { 50% { transform: scale(.82); box-shadow: 0 0 16px #45dcf5; } }
@media (prefers-reduced-motion: reduce) { .m3dp-fill::after, .m3dp-knob { animation: none; } }

/* Expertise boxes light up and grow a little when pointed at, tapped or focused */
.aim-c, .aipick-o { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.aim-c:hover, .aim-c:focus-within { transform: translateY(-3px) scale(1.03); border-color: #2fa6c2; box-shadow: 0 0 0 3px #2fa6c233, 0 10px 24px #0002; position: relative; z-index: 1; }
.aipick-o:hover, .aipick-o:focus-within { transform: scale(1.015); border-color: #2fa6c2; box-shadow: 0 0 0 3px #2fa6c233, 0 6px 16px #0001; }
.aipick-o:has(input:checked) { border-color: #2f5d50; box-shadow: 0 0 0 3px rgba(47, 93, 80, .22); }
@media (prefers-reduced-motion: reduce) { .aim-c:hover, .aim-c:focus-within, .aipick-o:hover, .aipick-o:focus-within { transform: none; } }

/* Home page blocks in clear, highlighted frames */
.blk { background: #fff; border: 2px solid #cfe0d8; border-radius: 16px; padding: 18px 22px 6px; margin: 26px 0; position: relative;
  box-shadow: 0 6px 22px rgba(47, 93, 80, .10); border-top: 5px solid #2f5d50; }
.blk > h2:first-child, .blk .ba h2 { margin-top: 4px; }
.blk .ba { margin: 0; }
.blk > .card { box-shadow: none; border-color: #ece8de; }
.blk .cta { margin: 18px 0 16px; }
.blk-samples .reel { margin-left: 0; margin-right: 0; }
@media (max-width: 640px) { .blk { padding: 14px 12px 4px; border-radius: 12px; margin: 18px 0; } }

/* Expertise box highlighted → its button turns green with white text */
.aim-c .aim-go { transition: background .18s ease, color .18s ease, border-color .18s ease; }
.aim-c:hover .aim-go, .aim-c:focus-within .aim-go { background: #2f5d50; border-color: #2f5d50; color: #fff; }

/* Home page slider: the live 3D walkthrough, full screen width, just below the menu bar */
.slider { width: 100vw; margin: -24px 0 0 calc(50% - 50vw); background: #05070d; }
.slider-in { position: relative; height: clamp(320px, 64vh, 680px); overflow: hidden; background: #05070d center / cover no-repeat; }
.slider-in iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; display: block; }
.slider-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: rgba(5, 7, 13, .78); color: #cfe3ff; font-size: 15px; z-index: 1; }
.slider-load .spinner { border-color: #ffffff33; border-top-color: #45dcf5; }
.slider-tag { position: absolute; left: 16px; top: 14px; z-index: 2; color: #e8f1ff; background: rgba(5, 7, 13, .6); padding: 6px 12px; border-radius: 20px; font-size: 13.5px; }
.slider-tag b { color: #ff5a5a; letter-spacing: .5px; margin-right: 4px; }
.slider-open { position: absolute; right: 16px; bottom: 16px; z-index: 2; background: #fff; color: #2f5d50 !important; font-weight: 700; padding: 10px 16px; border-radius: 24px;
  text-decoration: none !important; box-shadow: 0 4px 14px #0006; }
.slider-open:hover { background: #2f5d50; color: #fff !important; }
.slider + .hero { padding-top: 26px; }
a.ba-3d { display: block; }
a.ba-3d .ba-play { text-decoration: none; }
@media (max-width: 640px) { .slider-in { height: 58vh; min-height: 300px; } .slider-tag { font-size: 12px; left: 10px; top: 10px; } .slider-open { right: 10px; bottom: 64px; padding: 8px 13px; font-size: 14px; } }
html, body { overflow-x: clip; }   /* the full-width slider must not cause sideways scrolling */

/* Admin → Samples: choosing the home page animation */
.tour-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin: 10px 0 14px; }
.tour-o { display: flex; align-items: center; gap: 10px; border: 1.5px solid #e2ded5; border-radius: 10px; padding: 8px 10px; cursor: pointer; margin: 0; position: relative; background: #fff; }
.tour-o:has(input:checked) { border-color: #2f5d50; background: #eef5f1; box-shadow: 0 0 0 2px rgba(47, 93, 80, .15); }
.tour-o input { margin: 0; accent-color: #2f5d50; }
.tour-o img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; flex: none; }
.tour-x { width: 64px; height: 48px; border-radius: 6px; background: #05070d; color: #45dcf5; display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.tour-o > span:last-of-type { font-size: 14px; line-height: 1.3; min-width: 0; }
.tour-view { margin-left: auto; font-size: 13px; white-space: nowrap; }

/* Sample links: animation and 3D view */
.slider-links { position: absolute; right: 16px; bottom: 16px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.slider-links .slider-open { position: static; }
.slist-pic { position: relative; display: block; }
.slist-pic .frame-play { position: absolute; right: 8px; bottom: 8px; opacity: 1; }
.slist-links { margin-top: auto; padding-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.slist-links .btn.small { color: inherit; }
.slist-links .btn.small:not(.light) { color: #fff !important; }
.slist-links .btn.light { color: #2f5d50 !important; }
@media (max-width: 640px) { .slider-links { right: 10px; bottom: 60px; } .slider-links .slider-open { padding: 7px 11px; font-size: 13px; } }

/* Home page offer badge: a gift-card style frame */
.offer { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin: 6px auto 18px; padding: 22px 34px 16px;
  background: linear-gradient(135deg, #fff8e6 0%, #fff1f0 100%); border: 3px dashed #d4a017; border-radius: 16px;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px #c2552d, 0 10px 26px rgba(194, 85, 45, .22); line-height: 1.15; }
.offer::before, .offer::after { content: ''; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; background: #faf9f6; border-radius: 50%; }
.offer::before { left: -11px; } .offer::after { right: -11px; }   /* ticket-style notches */
.offer-ribbon { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, #c2552d, #e07a2f); color: #fff;
  font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 5px 16px; border-radius: 20px; white-space: nowrap; box-shadow: 0 3px 8px rgba(194, 85, 45, .35); }
.offer-l1 { font-size: 16px; font-weight: 600; color: #1d4a8b; }
.offer-l2 { font-size: 46px; font-weight: 900; color: #2f5d50; letter-spacing: -.5px; }
.offer-l2 small { font-size: 22px; font-weight: 800; color: #2f5d50; }
.offer-l3 { font-size: 17px; font-weight: 700; color: #c2552d; }
@media (max-width: 640px) { .offer { padding: 20px 22px 14px; } .offer-l2 { font-size: 40px; } .offer-l1 { font-size: 15px; } .offer-l3 { font-size: 15.5px; } }

/* Home page: feature tags open one shared description box */
.hero-tags li { padding: 0; background: none; border: 0; }
.ftag { width: auto; margin: 0; background: #e7f0ec; color: #2f5d50; border: 1px solid #c9ddd4; padding: 7px 14px; border-radius: 20px; font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s, transform .15s; }
.ftag::after { content: ' ▾'; font-size: 11px; opacity: .7; }
.ftag:hover { background: #d6e8df; transform: translateY(-1px); }
.ftag.on { background: #2f5d50; color: #fff; border-color: #2f5d50; }
.ftag.on::after { content: ' ▴'; }
.featbox { max-height: 0; overflow: hidden; transition: max-height .35s ease, margin .35s ease; text-align: left; margin: 0 auto; max-width: 980px; }
.featbox.open { margin: 4px auto 18px; }
.featbox-in { position: relative; background: #fff; border: 2px solid #c9ddd4; border-top: 5px solid #2f5d50; border-radius: 14px; padding: 18px 20px; box-shadow: 0 8px 24px rgba(47, 93, 80, .12); }
.feat { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px; align-items: start; }
.feat-text h3 { margin: 0 0 6px; color: #2f5d50; font-size: 20px; }
.feat-text p { margin: 0 0 12px; font-size: 15.5px; color: #444; line-height: 1.55; }
.feat-play { font-weight: 700; font-size: 14.5px; }
.feat-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat-pics figure { margin: 0; }
.feat-pics img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; display: block; box-shadow: 0 2px 8px #0002; }
.feat-pics figcaption { font-size: 12.5px; color: #777; text-align: center; margin-top: 4px; }
.featbox-x { position: absolute; top: 8px; right: 10px; width: 30px; height: 30px; padding: 0; margin: 0; border-radius: 50%; background: #f0eee8; color: #555; font-size: 14px; }
@media (max-width: 760px) { .feat { grid-template-columns: 1fr; } .featbox-in { padding: 16px 14px; } .feat-text h3 { padding-right: 30px; } }
.feat[hidden] { display: none; }

/* Home page heading with its small second line */
.hero-h1 .hero-sub { display: block; font-size: 20px; font-weight: 600; color: #c2552d; margin-top: 6px; letter-spacing: .2px; }
@media (max-width: 640px) { .hero-h1 .hero-sub { font-size: 17px; } }
.hero-tagline + .offer { margin-top: 20px; }

/* Handwritten-style tagline under the home page heading */
.hero h1.hero-h1 { margin-bottom: 0; }
.hero p.hero-tagline { font-family: 'Caveat', 'Segoe Script', 'Bradley Hand', cursive; font-size: 30px; font-weight: 700; color: #c2552d; margin: 2px 0 4px;
  transform: rotate(-1.5deg); line-height: 1.2; }
@media (max-width: 640px) { .hero p.hero-tagline { font-size: 25px; } }

/* Messages (user inbox and Admin → Messages) */
.msg-link { position: relative; }
.msg-badge { display: inline-block; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: #c2552d; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; vertical-align: 1px; }
.msg-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.msg { background: #fff; border: 1px solid #e2ded5; border-radius: 10px; }
.msg summary { display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; list-style: none; }
.msg summary::-webkit-details-marker { display: none; }
.msg.unread { border-left: 4px solid #c2552d; }
.msg.unread .msg-sub { font-weight: 700; }
.msg-ic { flex: none; }
.msg-sub { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.msg-to { flex: none; font-size: 13px; color: #555; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-when { flex: none; font-size: 12.5px; color: #888; white-space: nowrap; }
.msg-st { margin-left: 8px; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 8px; }
.msg-st.bad { background: #fde3dc; color: #a4371a; }
.msg-frame { width: 100%; height: 460px; border: 0; border-top: 1px solid #eee; display: block; background: #fff; border-radius: 0 0 10px 10px; }
.msg-notice { padding: 4px 16px 12px; border-top: 1px solid #eee; }
.msg-err { padding: 0 16px 10px; margin: 0; font-size: 13px; }
@media (max-width: 640px) { .msg summary { flex-wrap: wrap; } .msg-to { max-width: 100%; order: 3; flex-basis: 100%; } }

/* Admin → Estimates */
.est-table td { vertical-align: top; font-size: 14px; }
.est-table td.n { white-space: nowrap; text-align: right; }
.est-files { margin: 0; padding-left: 16px; font-size: 13px; }
.est-instr { margin-top: 6px; padding: 6px 8px; background: #f6f4ef; border-radius: 6px; font-size: 13px; }
.est-note { font-size: 12.5px; margin-top: 4px; }
.approve-card { border: 2px solid #d4a017; background: #fffaf0; }
[hidden] { display: none !important; }   /* hidden elements stay hidden even when a button or card style sets display */

/* New design: choose instant (AI) or our team */
.route-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 16px; }
.route-o { display: flex; gap: 10px; align-items: flex-start; border: 2px solid #e2ded5; border-radius: 12px; padding: 14px 16px; background: #fff; cursor: pointer; margin: 0; transition: border-color .15s, box-shadow .15s; }
.route-o:hover { border-color: #2fa6c2; }
.route-o:has(input:checked) { border-color: #2f5d50; background: #eef5f1; box-shadow: 0 0 0 3px rgba(47, 93, 80, .15); }
.route-o input { margin: 3px 0 0; accent-color: #2f5d50; width: 18px; height: 18px; flex: none; }
.route-o b { font-size: 16.5px; }
.route-o .muted { font-size: 13.5px; line-height: 1.4; }
@media (max-width: 640px) { .route-pick { grid-template-columns: 1fr; } }
/* Design page: files shared by our team */
.results-card .results-note { white-space: pre-wrap; background: #f6f4ef; padding: 8px 12px; border-radius: 8px; margin: 0 0 10px; }
.result-file { display: inline-flex; align-items: center; gap: 10px; margin: 0 12px 10px 0; padding: 6px 12px 6px 6px; border: 1px solid #e2ded5; border-radius: 10px; text-decoration: none; color: inherit; background: #fff; max-width: 340px; vertical-align: top; }
.result-file:hover { border-color: #2f5d50; }
.result-file img { width: 72px; height: 54px; object-fit: cover; border-radius: 6px; }
.result-file .pdf { width: 72px; height: 54px; display: flex; align-items: center; justify-content: center; background: #eef1f5; border-radius: 6px; font-weight: 800; color: #1d4a8b; font-size: 13px; }
