/* Packlyn Design Software — home, templates, my designs, AI tools and print requests pages */
.pwrap { max-width: 1480px; margin: 0 auto; padding: 26px 34px 70px; }
.ph-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.ph-head h1 { margin: 0; font: 600 28px/1.2 var(--font); color: var(--ink); }
.ph-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.ph-tools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sec { margin-top: 30px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; font: 600 19px/1.25 var(--font); }
.sec-head p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.sec-head .linkish { text-decoration: none; font-size: 13px; white-space: nowrap; }
.page-search { position: relative; width: min(420px, 100%); }
.ph-tools .page-search { width: 340px; max-width: 100%; }
#gallery .ph-head { flex-direction: column; align-items: stretch; gap: 14px; }
#gallery .ph-tools { flex-wrap: nowrap; }
#gallery .ph-tools .page-search { width: 460px; flex: 0 1 460px; }
.page-search .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.page-search input { width: 100%; height: 42px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 14px 0 40px; background: var(--panel); }
.page-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }

/* ---------- welcome ---------- */
.welcome { position: relative; overflow: hidden; border-radius: 24px; padding: 34px 40px; min-height: 236px; color: #fff; background: radial-gradient(90% 120% at 100% 0%, rgba(240, 178, 50, .28), transparent 55%), radial-gradient(70% 120% at 0% 100%, rgba(16, 160, 131, .28), transparent 60%), linear-gradient(120deg, #0c2535 0%, #0f3243 55%, #0b2a36 100%); box-shadow: 0 18px 40px rgba(8, 28, 40, .18); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.welcome-art { position: absolute; inset: 0; pointer-events: none; }
.welcome-art svg { width: 100%; height: 100%; display: block; }
.welcome > *:not(.welcome-art) { position: relative; }
.welcome small { font: 600 12.5px var(--font); color: var(--gold-hi); letter-spacing: .02em; }
.welcome h1 { margin: 0 0 18px; font: 600 34px/1.15 var(--font); text-wrap: balance; }
.welcome p { margin: 0 0 18px; color: rgba(255, 255, 255, .8); font-size: 14px; max-width: 56ch; line-height: 1.55; }
.welcome-lead strong { display: block; margin-bottom: 4px; font: 600 16px/1.35 var(--font); color: #fff; }
.welcome-lead span { display: block; }
.welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.welcome .btn.glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.welcome .btn.glass:hover { background: rgba(255, 255, 255, .16); }
.welcome-search { position: relative; }
.welcome-search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #6b7b86; width: 20px; height: 20px; }
.welcome-search input { width: 100%; height: 54px; border-radius: 16px; border: 0; padding: 0 18px 0 48px; font: 500 15px var(--font); background: #fff; color: #12202a; box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.welcome-search input:focus { outline: 3px solid rgba(240, 178, 50, .6); }
.welcome-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.welcome-chips button { border: 1px solid rgba(255, 255, 255, .22); background: rgba(9, 28, 40, .62); backdrop-filter: blur(6px); color: #fff; border-radius: 999px; padding: 5px 12px; font: 500 12px var(--font); }
.welcome-chips button:hover { background: rgba(9, 28, 40, .85); border-color: var(--gold); }

/* quick formats */
.qf-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px 10px; padding: 4px 2px 6px; }
.qf { display: grid; justify-items: center; gap: 8px; border: 0; background: transparent; padding: 4px; font: 500 12.5px var(--font); color: var(--ink-2); text-align: center; }
.qf-ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; color: #fff; box-shadow: 0 8px 18px rgba(11, 33, 48, .16); transition: transform .16s; }
.qf-ic .ico { width: 30px; height: 30px; }
.qf:hover .qf-ic { transform: translateY(-3px); }

/* cards (recent designs, library) */
.dgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 16px; }
.dcard { position: relative; display: grid; gap: 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); padding: 8px 8px 11px; cursor: pointer; box-shadow: var(--sh-1); transition: border-color .14s, box-shadow .14s, transform .14s; }
.dcard:hover { border-color: var(--gold); box-shadow: var(--sh-2); transform: translateY(-1px); }
.dcard.sel { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.dcard-thumb { height: 150px; border-radius: 10px; background: var(--work); display: grid; place-items: center; overflow: hidden; }
.dcard-thumb img { max-width: 92%; max-height: 92%; display: block; box-shadow: 0 3px 10px rgba(0, 0, 0, .16); }
.dcard-name { font: 600 13px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 4px; }
.dcard-meta { font-size: 11.5px; color: var(--muted); padding: 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcard-acts { position: absolute; top: 14px; right: 14px; display: flex; gap: 4px; opacity: 0; transition: opacity .12s; }
.dcard:hover .dcard-acts, .dcard-acts .on { opacity: 1; }
.dcard-acts .icon-btn { width: 30px; height: 30px; background: var(--panel); box-shadow: 0 1px 4px rgba(0, 0, 0, .18); }
.dcard-acts .icon-btn.on { color: var(--gold); opacity: 1; }
.dcard .fav-flag { position: absolute; top: 14px; left: 14px; color: var(--gold); width: 22px; height: 22px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.dlist { display: grid; gap: 4px; }
.dlist-row { display: grid; grid-template-columns: 56px minmax(0, 2fr) minmax(0, 1.4fr) 130px 110px 96px; gap: 14px; align-items: center; padding: 7px 10px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; background: var(--panel); }
.dlist-row:hover { border-color: var(--line-2); }
.dlist-row.head { background: transparent; cursor: default; font: 700 11px var(--font); color: var(--muted); }
.dlist-row .thumb { width: 56px; height: 42px; border-radius: 7px; background: var(--work); display: grid; place-items: center; overflow: hidden; }
.dlist-row .thumb img { max-width: 100%; max-height: 100%; }
.dlist-row b { font: 600 13px var(--font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlist-row span { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.folder-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.folder { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 8px 12px; font: 500 13px var(--font); color: var(--ink-2); }
.folder .ico { width: 18px; height: 18px; color: var(--gold-dk); }
.folder:hover { border-color: var(--line-2); }
.folder.on { border-color: var(--gold); background: var(--gold-tint); color: var(--ink); }
.folder small { color: var(--muted); font-size: 11px; }
.folder.drop { border-color: var(--teal); background: var(--teal-tint); }
.lib-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.lib-bar select { height: 38px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); padding: 0 8px; }
.lib-empty { border: 1px dashed var(--line-2); border-radius: 18px; padding: 40px 20px; text-align: center; color: var(--muted); background: var(--panel); }
.lib-empty h3 { margin: 0 0 6px; color: var(--ink); font: 600 16px var(--font); }
.lib-empty p { margin: 0 0 14px; }
.trash-note { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 14px; color: var(--muted); }
.trash-note .ico { color: var(--warn); }

/* product and format tiles */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.pcard { display: grid; grid-template-rows: auto auto auto; align-content: start; justify-items: start; gap: 2px; text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 10px 12px 12px; box-shadow: var(--sh-1); transition: border-color .12s, box-shadow .12s, transform .12s; }
.pcard:hover { border-color: var(--gold); box-shadow: var(--sh-2); transform: translateY(-1px); }
.pcard-art { width: 100%; aspect-ratio: 100 / 70; display: grid; place-items: center; background: var(--panel-2); border-radius: 11px; margin-bottom: 8px; overflow: hidden; }
/* product illustrations sit on a light stage in both themes, so navy and white parts always read */
.pcard-art.illus, .cn-art.illus { background: radial-gradient(120% 90% at 30% 15%, #ffffff, #e9f0f4 70%); }
.pcard-art.illus svg, .cn-art.illus svg { width: 92%; height: 92%; display: block; }
:root[data-theme="dark"] .pcard-art.illus, :root[data-theme="dark"] .cn-art.illus { background: radial-gradient(120% 90% at 30% 15%, #f4f7f9, #d7e1e8 75%); }
.qw-prodpick { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; }
.qw-prodart { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 12px; background: radial-gradient(120% 90% at 30% 15%, #ffffff, #e9f0f4 70%); border: 1px solid var(--line); }
.qw-prodart svg { width: 92%; height: auto; display: block; }
.pcard-art img { max-width: 86%; max-height: 86%; display: block; box-shadow: 0 2px 8px rgba(0, 0, 0, .16); border-radius: 2px; }
.sil { width: 100%; height: 100%; display: block; }
.sil-bleed { fill: color-mix(in srgb, var(--rose) 16%, transparent); }
.sil-page { fill: #ffffff; stroke: var(--line-2); stroke-width: .8; }
.sil-hole { fill: var(--panel-2); stroke: var(--rose); stroke-width: .6; stroke-dasharray: 1.4 1; }
.sil-fold { stroke: var(--blue); stroke-width: .7; stroke-dasharray: 2 1.5; fill: none; }
.pcard-name { font: 600 13.5px var(--font); }
.pcard-meta { font-size: 12px; color: var(--muted); font-weight: 600; }
.pcard-meta.price { color: var(--gold-dk); }
.group-chips { margin-bottom: 14px; }

/* template gallery */
.gal-bar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 22px; container-type: inline-size; container-name: galbar; }
.gal-row { margin-top: 26px; }
.gal-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 196px; gap: 14px; overflow-x: auto; padding: 2px 2px 12px; align-items: end; scrollbar-width: thin; }
.gal-strip.hs-row { scrollbar-width: none; }
.hs:has(> .gal-strip) .hs-btn { top: calc(50% - 22px); }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 16px; align-items: end; }
.gal-card { display: grid; gap: 7px; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; position: relative; }
.gal-card .gc-img { border-radius: 12px; background: var(--panel); border: 1px solid var(--line); padding: 8px; display: grid; place-items: center; min-height: 120px; box-shadow: var(--sh-1); transition: border-color .14s, box-shadow .14s, transform .14s; }
.gal-card .gc-img img { max-width: 100%; max-height: 260px; display: block; box-shadow: 0 2px 8px rgba(0, 0, 0, .14); }
.gal-card .gc-img.skeleton { min-height: 160px; }
.gal-card:hover .gc-img { border-color: var(--gold); box-shadow: var(--sh-2); transform: translateY(-2px); }
.gal-card b { font: 600 12.5px var(--font); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gal-card small { font-size: 11.5px; color: var(--muted); margin-top: -5px; }
.gal-card .tpl-fav { top: 14px; right: 14px; }
.gal-card:hover .tpl-fav { display: grid; }

/* AI page */
.ai-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ai-big { display: grid; grid-template-rows: 150px auto; border: 1px solid var(--line); background: var(--panel); border-radius: 20px; overflow: hidden; text-align: left; padding: 0; box-shadow: var(--sh-1); transition: border-color .14s, transform .14s, box-shadow .14s; }
.ai-big:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--sh-2); }
.ai-big .ai-art { position: relative; overflow: hidden; display: grid; place-items: center; }
.ai-big .ai-art svg { width: 100%; height: 100%; display: block; }
.ai-big .ai-txt { padding: 14px 18px 18px; }
.ai-big b { display: block; font: 600 15px var(--font); margin-bottom: 4px; }
.ai-big p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.ai-honest { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* print requests */
.rq-list { display: grid; gap: 10px; }
.rq { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 16px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 12px 14px; box-shadow: var(--sh-1); }
.rq-thumb { width: 72px; height: 60px; border-radius: 10px; background: var(--work); display: grid; place-items: center; overflow: hidden; }
.rq-thumb img { max-width: 100%; max-height: 100%; }
.rq b { font: 600 14px var(--font); }
.rq .rq-meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.rq .rq-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* quote wizard */
.qw { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; min-height: 440px; }
.qw-side { display: grid; align-content: start; gap: 14px; }
.qw-help { line-height: 1.5; margin: 0; }
.qw-help .linkish { font-size: inherit; font-weight: 600; }
.qw-prev { background: var(--work); border-radius: 14px; padding: 12px; display: grid; place-items: center; min-height: 160px; }
.qw-prev img { max-width: 100%; max-height: 220px; display: block; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); }
.qw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.qw-steps li { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 10px; font: 500 12.5px var(--font); color: var(--muted); cursor: pointer; }
.qw-steps li i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 11px; background: var(--panel-3); color: var(--muted); }
.qw-steps li.on { background: var(--gold-tint); color: var(--ink); }
.qw-steps li.on i { background: var(--gold-grad); color: var(--on-gold); }
.qw-steps li.done i { background: var(--teal); color: #fff; }
.qw-main { display: grid; align-content: start; gap: 14px; min-width: 0; }
.qw-main h3 { margin: 0; font: 600 17px var(--font); }
.qw-main .lead { margin: -8px 0 0; color: var(--muted); font-size: 12.5px; }
.qw-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qw-grid .full { grid-column: 1 / -1; }
.qw-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.qw-opt { border: 1px solid var(--line-2); background: var(--panel); border-radius: 10px; padding: 8px 12px; font: 500 12.5px var(--font); }
.qw-opt.on { border-color: var(--gold); background: var(--gold-tint); box-shadow: inset 0 0 0 1px var(--gold); }
.qw-sum { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 14px; font-size: 12.5px; margin: 0; align-items: baseline; }
.qw-sum dt { color: var(--muted); font-weight: 600; }
.qw-sum dd { margin: 0; font-weight: 600; }
.qw-sum .linkish { font-size: 11.5px; }
.qw-files { display: grid; gap: 6px; }
.qw-file { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; font-size: 12.5px; background: var(--panel); }
.qw-file .ico { width: 18px; height: 18px; color: var(--muted); }
.qw-file span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qw-mode { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: 12px; line-height: 1.5; }
.qw-mode.local { background: color-mix(in srgb, var(--warn) 10%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); }
.qw-mode.live { background: var(--teal-tint); border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent); }
.qw-mode .ico { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.qw-done { text-align: center; padding: 10px 10px 4px; }
.qw-done .big-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 12px; }
.qw-done .big-ic.ok { background: var(--teal-tint); color: var(--teal); }
.qw-done .big-ic.local { background: var(--gold-tint); color: var(--gold-dk); }
.qw-done .big-ic .ico { width: 32px; height: 32px; }
.qw-done h3 { margin: 0 0 6px; font: 600 18px var(--font); }
.qw-done p { margin: 0 auto 10px; max-width: 52ch; color: var(--muted); }
.qw-id { display: inline-block; font: 700 14px ui-monospace, monospace; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; user-select: all; margin-bottom: 12px; }

.home-foot { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.home-foot a { color: var(--teal); font-weight: 700; }

@media (max-width: 1100px) { .welcome { grid-template-columns: 1fr; } .qw { grid-template-columns: 1fr; } .qw-side { grid-template-columns: 160px 1fr; } }

/* ---------- home extras ---------- */
.qf-ic.custom { background: var(--panel); color: var(--ink-2); border: 2px dashed var(--line-2); box-shadow: none; }
.ai-mini { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ai-mini-card { display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 12px 14px; box-shadow: var(--sh-1); transition: border-color .14s, transform .14s; }
.ai-mini-card:hover { border-color: var(--gold); transform: translateY(-1px); }
.ai-mini-card .ai-ic, .ai-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #fff3d6, #ffe2a3); color: #8a5a00; }
:root[data-theme="dark"] .ai-mini-card .ai-ic, :root[data-theme="dark"] .ai-ic { background: linear-gradient(135deg, #3a2f14, #4a3a12); color: var(--gold-hi); }
.ai-mini-card .ai-ic .ico { width: 23px; height: 23px; }
.ai-mini-card b { display: block; font: 600 13.5px var(--font); }
.ai-mini-card small { color: var(--muted); font-size: 12px; line-height: 1.4; display: block; }
.fmt-group { margin-bottom: 22px; }
.fmt-group h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font: 600 14px var(--font); color: var(--ink-2); }
.fmt-group h3 i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.pgrid.compact { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pgrid.compact .pcard-art { aspect-ratio: 100 / 62; }
.lib-empty.slim { display: flex; gap: 16px; align-items: center; text-align: left; padding: 22px 24px; }
.lib-empty .ico { width: 34px; height: 34px; color: var(--gold-dk); flex: none; margin: 0 auto 8px; }
.lib-empty.slim .ico { margin: 0; }
.foot-logo { height: 34px; width: auto; }
:root[data-theme="dark"] .foot-logo, :root[data-theme="dark"] .about-logo { content: url(../assets/logo-on-dark.png); }  /* "Design" in cream on dark surfaces */

/* ---------- Create a design ---------- */
.cn-modal .modal-body { padding-top: 4px; }
.cn { display: grid; gap: 14px; }
.cn-search { position: relative; }
.cn-search .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.cn-search input { width: 100%; height: 48px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--panel-2); padding: 0 16px 0 46px; font: 500 14px var(--font); }
.cn-search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); background: var(--panel); }
.cn-cols { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 18px; min-height: 420px; }
.cn-side { display: grid; align-content: start; gap: 2px; border-right: 1px solid var(--line); padding-right: 12px; max-height: 60vh; overflow-y: auto; }
.cn-g { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; padding: 8px 10px; border-radius: 10px; text-align: left; font: 500 13px var(--font); color: var(--ink-2); }
.cn-g i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.cn-g .ico { width: 18px; height: 18px; color: var(--muted); }
.cn-g:hover { background: var(--hover); }
.cn-g.on { background: var(--gold-tint); color: var(--ink); font-weight: 600; }
.cn-sep { height: 1px; background: var(--line); margin: 8px 6px; }
.cn-main { min-width: 0; display: grid; align-content: start; gap: 12px; max-height: 60vh; overflow-y: auto; padding-right: 4px; }
.cn-head h3 { margin: 0; font: 600 17px var(--font); }
.cn-head p { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; }
.cn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cn-fmt { display: grid; gap: 6px; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 8px 8px 10px; text-align: left; transition: border-color .12s, transform .12s, box-shadow .12s; }
.cn-fmt:hover { border-color: var(--gold); transform: translateY(-1px); box-shadow: var(--sh-2); }
.cn-art { display: grid; place-items: center; background: var(--panel-2); border-radius: 10px; aspect-ratio: 100 / 66; }
.cn-txt b { display: block; font: 600 12.5px var(--font); }
.cn-txt small { color: var(--muted); font-size: 11.5px; }

/* ---------- templates page ---------- */
.gal-fmts { display: flex; gap: 8px; padding: 2px; }
.gal-fmt { flex: none; display: grid; justify-items: center; gap: 6px; width: 92px; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 10px 6px 9px; font: 500 11.5px/1.2 var(--font); color: var(--ink-2); text-align: center; transition: border-color .12s, background .12s; }
.gal-fmt .ico { width: 22px; height: 22px; color: var(--muted); }
.gal-fmt:hover { border-color: var(--line-2); }
.gal-fmt.on { background: var(--chrome); border-color: var(--chrome); color: #fff; box-shadow: 0 6px 16px rgba(8, 28, 40, .2); }
.gal-fmt.on .ico { color: var(--gold-hi); }
/* topics on the left (they scroll), the style menu and the view switch on the right: never on top of each other */
.gal-filters { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.gal-chips { flex-wrap: nowrap; gap: 8px; padding: 2px; }
.gal-chips .chip { height: 34px; padding: 0 15px; display: inline-flex; align-items: center; }
.gal-right { display: flex; gap: 10px; align-items: center; justify-content: flex-end; flex-wrap: nowrap; min-width: 0; }
.gal-sel-wrap { position: relative; display: inline-flex; align-items: center; flex: none; }
.gal-sel-wrap .ico { position: absolute; right: 12px; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }
.gal-sel { appearance: none; -webkit-appearance: none; width: 168px; max-width: 100%; text-overflow: ellipsis; height: 36px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); color: var(--ink); padding: 0 36px 0 15px; font: 600 12.5px var(--font); cursor: pointer; transition: border-color .12s; }
.gal-sel:hover { border-color: var(--ink-2); }
.gal-sel:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.gal-view { flex: none; height: 36px; align-items: stretch; border-radius: 999px; padding: 3px; }
.gal-view button { border-radius: 999px; padding: 0 14px; white-space: nowrap; font-size: 12.5px; }
@container galbar (max-width: 820px) {
  .gal-filters { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .gal-right { justify-content: space-between; }
}
@container galbar (max-width: 460px) {
  .gal-right { flex-wrap: wrap; justify-content: flex-start; }
}
.gal-note { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 10px 14px; margin-bottom: 16px; color: var(--ink-2); font-size: 13px; }
.gal-note .ico { width: 18px; height: 18px; color: var(--teal); flex: none; }
.gal-result-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.gal-result-head h2 { margin: 0; }
.gal-result-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.lib-empty h3 { margin: 0 0 6px; color: var(--ink); font: 600 17px var(--font); }
.lib-empty p { margin: 0; }
.lib-empty-acts { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.gal-grid.wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gal-card .tpl-pages { left: 14px; top: 14px; }
.gal-card .gc-img { position: relative; }
.gal-body { min-height: 300px; }

/* ---------- my designs ---------- */
.dcard-thumb .ico { width: 34px; height: 34px; color: var(--line-2); }
.folder.add { border-style: dashed; color: var(--muted); }
.folder.add .ico { color: var(--muted); }
.dlist-row .row-acts { justify-self: end; }
.move-list { display: grid; gap: 4px; max-height: 50vh; overflow: auto; }
.move-opt { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; padding: 9px 12px; text-align: left; font-weight: 600; }
.move-opt .ico { width: 18px; height: 18px; color: var(--gold-dk); }
.move-opt:hover { border-color: var(--line-2); }
.move-opt.on { border-color: var(--gold); background: var(--gold-tint); }

/* version history */
.ver-modal .modal-body { padding-bottom: 8px; }
.vh { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 18px; min-height: 380px; }
.ver-list { display: grid; align-content: start; gap: 6px; max-height: 58vh; overflow-y: auto; padding-right: 4px; }
.ver-item { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 6px; text-align: left; }
.ver-item.on { border-color: var(--gold); background: var(--gold-tint); }
.ver-item b { display: block; font: 600 12.5px var(--font); }
.ver-item small { color: var(--muted); font-size: 11.5px; }
.ver-thumb { width: 56px; height: 44px; border-radius: 7px; background: var(--work); display: grid; place-items: center; overflow: hidden; }
.ver-thumb img { max-width: 100%; max-height: 100%; }
.ver-prev { display: grid; align-content: start; gap: 12px; }
.ver-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ver-compare figure { margin: 0; display: grid; gap: 8px; }
.ver-img { background: var(--work); border-radius: 12px; display: grid; place-items: center; min-height: 230px; padding: 12px; }
.ver-img img { max-width: 100%; max-height: 300px; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.ver-compare figcaption b { display: block; font: 600 13px var(--font); }
.ver-compare figcaption span { color: var(--muted); font-size: 12px; }

/* ---------- AI tools page ---------- */
.ai-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; align-items: center; border-radius: 24px; padding: 34px 40px; color: #fff; background: radial-gradient(80% 120% at 100% 0%, rgba(240, 178, 50, .3), transparent 60%), radial-gradient(70% 120% at 0% 100%, rgba(214, 51, 108, .28), transparent 60%), linear-gradient(120deg, #0c2535, #12324a 60%, #1b2350); box-shadow: 0 18px 40px rgba(8, 28, 40, .18); }
.ai-banner small { font: 600 12.5px var(--font); color: var(--gold-hi); }
.ai-banner h1 { margin: 6px 0 8px; font: 600 32px/1.15 var(--font); text-wrap: balance; }
.ai-banner p { margin: 0 0 18px; color: rgba(255, 255, 255, .82); max-width: 60ch; line-height: 1.55; }
.ai-banner .btn.glass { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }
.ai-banner-art svg { width: 100%; height: auto; display: block; }
.ai-art-ic { position: absolute; left: 18px; bottom: 16px; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: #0c2535; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.ai-art-ic .ico { width: 24px; height: 24px; }
.ai-big .ai-txt .badge { margin-top: 10px; }
.ai-honest { display: flex; gap: 10px; align-items: flex-start; }
.ai-honest .ico { width: 18px; height: 18px; flex: none; color: var(--teal); margin-top: 1px; }

/* magic design, magic resize, cut-out and colour dialogs */
.md { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 22px; min-height: 480px; }
.md-form { display: grid; align-content: start; gap: 12px; }
.md-results { min-width: 0; max-height: 64vh; overflow-y: auto; border-left: 1px solid var(--line); padding-left: 20px; }
.md-results:empty::before { content: 'Your designs will appear here.'; display: grid; place-items: center; height: 100%; min-height: 300px; color: var(--muted); border: 2px dashed var(--line); border-radius: 18px; }
.md-head { margin-bottom: 12px; }
.md-head b { display: block; font: 600 15px var(--font); }
.md-head small { color: var(--muted); }
.md-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.mr-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-height: 50vh; overflow-y: auto; }
.mr-list .size-opt span { display: grid; }
.mr-list .size-opt small { color: var(--muted); font-weight: 500; font-size: 11.5px; }
.size-opt.dim { opacity: .45; }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-row figure { margin: 0; display: grid; gap: 6px; justify-items: center; background: var(--work); border-radius: 14px; padding: 12px; }
.co-row figcaption { font-weight: 700; font-size: 12px; color: var(--muted); }
.co-canvas { max-width: 100%; max-height: 340px; border-radius: 6px; }
.checker { background: repeating-conic-gradient(#d9dedc 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.ph-pal { display: grid; grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)); gap: 8px; }
.ph-sw { height: 84px; border: 0; border-radius: 12px; display: flex; align-items: flex-end; padding: 6px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.ph-sw span { background: rgba(255, 255, 255, .9); color: #111; font: 700 10.5px ui-monospace, monospace; border-radius: 6px; padding: 2px 5px; }
.pal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.pal-card { display: grid; gap: 6px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 8px; text-align: left; }
.pal-card:hover { border-color: var(--gold); }
.pal-strip { display: flex; height: 36px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.pal-strip i { flex: 1; }
.pal-card small { font-weight: 600; font-size: 12px; }
.harm-row { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 1px solid var(--line); }
.harm-row span { font-weight: 600; font-size: 12.5px; color: var(--ink-2); }
.big-sw { width: 54px !important; height: 54px !important; border-radius: 14px !important; flex: none; }
.fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.fp-card { display: grid; gap: 4px; text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 14px; }
.fp-card:hover { border-color: var(--gold); }
.fp-card b { font-size: 24px; line-height: 1.15; color: var(--ink); }
.fp-card span { font-size: 13px; color: var(--ink-2); }
.fp-card small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.hl-list { display: grid; gap: 6px; max-height: 46vh; overflow-y: auto; }
.hl { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px 8px 14px; background: var(--panel); }
.hl span { flex: 1; font: 600 14px var(--font); }

/* ---------- quote wizard additions ---------- */
.qw-modal .modal-body { padding-top: 10px; }
.qw-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.qw-thumbs figure { margin: 0; display: grid; gap: 6px; background: var(--work); border-radius: 12px; padding: 10px; justify-items: center; }
.qw-thumbs img { max-width: 100%; max-height: 150px; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); }
.qw-thumbs figcaption { font-size: 11.5px; font-weight: 700; color: var(--muted); }
.qw-health { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; }
.qw-health.ok { background: var(--teal-tint); color: var(--teal); }
.qw-health.warn { background: color-mix(in srgb, var(--warn) 12%, transparent); }
.qw-health.bad { background: color-mix(in srgb, var(--danger) 10%, transparent); }
.qw-health span { flex: 1; color: var(--ink-2); }
.qw-success { color: var(--ink) !important; font-weight: 600; font-size: 14px; line-height: 1.6; }
.qw-done .big-ic.bad { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
.err { color: var(--danger); font-size: 11.5px; font-weight: 700; }
.invalid-row input { outline: 2px solid var(--danger); }
.rq-pre { white-space: pre-wrap; font: 500 12.5px/1.55 var(--font-ui); background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0; user-select: text; }
.rq-meta.err { color: var(--danger); }

/* ---------- settings ---------- */
.settings { display: grid; gap: 6px; }
.settings h3 { margin: 14px 0 2px; font: 700 12px var(--font-ui); color: var(--muted); letter-spacing: .02em; }
.settings h3:first-child { margin-top: 0; }
.set-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.set-row b { display: block; font: 600 13px var(--font); }
.set-row small { color: var(--muted); font-size: 12px; }
label.set-row { cursor: pointer; }
/* on/off switch built on a real checkbox, so keyboard and screen readers work as usual */
input.tog { -webkit-appearance: none; appearance: none; flex: none; width: 40px; height: 23px; border-radius: 999px; background: var(--line-2, #c9d3d8); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
input.tog::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
input.tog:checked { background: var(--teal); }
input.tog:checked::after { transform: translateX(17px); }
input.tog:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.set-adv { margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px 12px; background: var(--panel-2); }
.set-adv summary { cursor: pointer; padding: 10px 0; font: 600 13px var(--font); }
.set-adv > * + * { margin-top: 10px; }
.conn-status { margin: 4px 0 0; }

@media (max-width: 900px) { .md, .vh, .cn-cols { grid-template-columns: 1fr; } .md-results { border-left: 0; padding-left: 0; } .ai-banner { grid-template-columns: 1fr; } .ai-banner-art { display: none; } .cn-side { border-right: 0; grid-auto-flow: column; overflow-x: auto; } }

/* Print With Packlyn — product options copied from the packlyn.ca forms */
.qz-list { display: grid; gap: 18px; }
.qz { display: grid; gap: 8px; min-width: 0; }
.qz-head { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.qz-label { font: 700 13px var(--font); color: var(--ink); }
.qz-head > em { font-style: normal; color: var(--danger); font-weight: 700; }
.qz-note { flex-basis: 100%; color: var(--muted); font-size: 11.5px; line-height: 1.45; }
.qo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.qo-group { grid-column: 1 / -1; font: 700 11.5px var(--font); color: var(--muted); letter-spacing: .02em; margin-top: 4px; }
.qo { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 9px; align-items: start; text-align: left; border: 1px solid var(--line-2); background: var(--panel); border-radius: 10px; padding: 9px 11px; font: 500 12.5px var(--font); color: var(--ink); cursor: pointer; transition: border-color .12s, background .12s; }
.qo:hover { border-color: color-mix(in srgb, var(--gold) 60%, var(--line-2)); }
.qo:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--sel) 25%, transparent); }
.qo-mark { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; margin-top: 1px; color: transparent; }
.qo[role="checkbox"] .qo-mark { border-radius: 5px; }
.qo-mark .ico { width: 12px; height: 12px; }
.qo.on { border-color: var(--gold); background: var(--gold-tint); box-shadow: inset 0 0 0 1px var(--gold); }
.qo.on .qo-mark { background: var(--gold-grad); border-color: transparent; color: var(--on-gold); }
.qo-txt { display: grid; gap: 2px; min-width: 0; }
.qo-txt b { font-weight: 600; overflow-wrap: anywhere; }
.qo-txt small { color: var(--muted); font-size: 11.5px; line-height: 1.4; }
.qz-custom { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px dashed var(--line-2); }
.qz-custom .field[type="number"] { width: 96px; }
.qz-custom select.field { width: auto; }
.qz-custom small { flex-basis: 100%; }
.qz-prompt { font-weight: 700; font-size: 12px; color: var(--ink-2); }
.qz-numrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qz-num { width: 180px; }
.qz .err { color: var(--danger); font-size: 11.5px; font-weight: 700; }
.qz.invalid-row .qo { border-color: color-mix(in srgb, var(--danger) 45%, var(--line-2)); }
.qw-sub { margin-top: 6px !important; }
.qw-prodline { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; margin-top: -6px; font-size: 12px; }
.qw-consent { display: flex; gap: 10px; align-items: flex-start; margin: 0; font-size: 12px; line-height: 1.55; color: var(--ink-2); }
.qw-consent .ico { width: 18px; height: 18px; flex: none; color: var(--teal); margin-top: 1px; }
@media (max-width: 720px) { .qw-grid { grid-template-columns: 1fr; } .qo-grid { grid-template-columns: 1fr; } }

/* ---------- Image Upscaling ---------- */
.sb-item .sb-pro { font: 800 9.5px var(--font); letter-spacing: .04em; color: var(--gold-dk); border: 1px solid var(--gold); padding: 0 5px; border-radius: 999px; }
body.view-editor .sb-item .sb-pro { display: none; }
.up { display: grid; gap: 20px; }
.up-head { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.up-head > div:first-child { flex: 1 1 360px; min-width: 0; }
.up-head h1 { margin: 0 0 4px; font: 700 26px/1.2 var(--font); color: var(--ink); }
.up-head p { margin: 0; max-width: 68ch; line-height: 1.55; }
.up-included { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #e3f5ee; color: #0b6e4f; font: 700 12.5px var(--font); }
.up-included .ico { width: 15px; height: 15px; }
:root[data-theme="dark"] .up-included { background: #12352a; color: #7fe0bd; }
.up-locked { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 16px; background: var(--gold-tint); border: 1px solid var(--gold); }
.up-locked > div { flex: 1 1 280px; } .up-locked p { margin: 2px 0 0; }
.up-drop { display: grid; justify-items: center; gap: 8px; padding: 54px 20px; border: 2px dashed var(--line-2); border-radius: 22px; background: var(--panel); color: var(--ink); cursor: pointer; font: inherit; }
.up-drop .ico { width: 34px; height: 34px; color: var(--gold-dk); }
.up-drop b { font: 700 18px var(--font); }
.up-drop.over, .up-drop:hover:not(:disabled) { border-color: var(--gold); background: var(--gold-tint); }
.up-drop:disabled { cursor: not-allowed; opacity: .6; }
.up-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.up-how li { display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.up-how span { color: var(--muted); font-size: 13px; line-height: 1.5; }
.up-work { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
@media (max-width: 960px) { .up-work { grid-template-columns: 1fr; } }
.up-view { position: relative; min-height: 340px; max-height: 66vh; border-radius: 18px; overflow: hidden; display: grid; place-items: center;
  background: repeating-conic-gradient(var(--panel-3) 0 25%, var(--panel) 0 50%) 50% / 22px 22px; border: 1px solid var(--line); }
.up-view img { max-width: 100%; max-height: 66vh; object-fit: contain; display: block; }
.up-view.compare { display: block; height: min(66vh, 620px); }
.up-view.compare img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; object-fit: contain; }
.up-line { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
.up-tag { position: absolute; top: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(10, 20, 28, .72); color: #fff; font: 600 12px var(--font); pointer-events: none; }
.up-tag.l { left: 12px; } .up-tag.r { right: 12px; }
.up-range { position: absolute; left: 12px; right: 12px; bottom: 12px; width: calc(100% - 24px); }
.up-side { display: grid; gap: 14px; padding: 18px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.up-file { display: grid; gap: 2px; } .up-file b { overflow-wrap: anywhere; } .up-file small { color: var(--muted); }
.up-route { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; margin-top: 6px; }
.up-route.on { border-color: var(--gold); background: var(--gold-tint); }
.up-route input { margin-top: 3px; accent-color: var(--gold-dk); }
.up-route span { display: grid; gap: 2px; } .up-route small { color: var(--muted); line-height: 1.45; }
.up-size { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 600; color: var(--ink-2); }
.up-size .ico { width: 16px; height: 16px; }
.up-acts { display: grid; gap: 8px; }
.welcome-actions { flex-wrap: wrap; }

/* Image Upscaling: honest warnings about the picture (2.0) */
.up-warn { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; background: var(--warn-bg, #fff6df); color: var(--warn-ink, #5c4300); border: 1px solid var(--warn-line, #ecd9a2); font-size: 12.5px; line-height: 1.45; }
.up-warn svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.up-warn p { margin: 0 0 4px; } .up-warn p:last-child { margin: 0; }
/* the save status in the editor's top bar */
#tb-saved.warn { color: var(--danger, #a3412c); }
#tb-saved.clickable { cursor: pointer; text-decoration: underline dotted; text-underline-offset: 3px; }
/* cloud library tools */
.cloud-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 14px; }
.cloud-tools .field { width: auto; min-width: 150px; }
.cloud-search { display: flex; align-items: center; gap: 6px; flex: 1 1 240px; min-width: 0; }
.cloud-search .field { flex: 1; min-width: 0; }
.ver-list { display: grid; gap: 8px; max-height: 60vh; overflow: auto; }
.ver-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line, #e3e6e8); border-radius: 10px; }
.ver-row.on { border-color: var(--gold, #d5a637); }
.ver-row small { display: block; }
.ac-refund-ask { margin-top: 18px; }
.linkish.quiet { color: inherit; opacity: .8; font-weight: 400; }
.notice-modal .notice-body { display: flex; gap: 16px; align-items: flex-start; padding: 4px 0 6px; }
.notice-modal .notice-art { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft, #fbf0d6); color: var(--gold-ink, #8a6512); }
.notice-modal .notice-body p { margin: 0; font-size: 15px; line-height: 1.6; }
.rc-table { width: 100%; border-collapse: collapse; } .rc-table td { padding: 6px 0; border-bottom: 1px solid var(--line, #e3e6e8); } .rc-table td:last-child { text-align: right; } .rc-table .tot td { font-weight: 700; border-bottom: 0; }
/* My Designs: how long designs stay in the account */
.retention-note { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; padding: 12px 14px; margin: 0 0 16px; border-radius: 14px; background: var(--gold-tint); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.45; }
.retention-note > .ico { flex: none; width: 18px; height: 18px; color: var(--gold-dk); }
.retention-note > span:not(.ico) { flex: 1 1 320px; min-width: 0; }
.retention-note > .form-msg { flex-basis: 100%; margin: 0; font-weight: 500; }
.retention-note > .form-msg:empty { display: none; }
