:root {
  font-family:Avenir,'Avenir Next','Helvetica Neue',Arial,sans-serif;
  color:#252525;
  background:#f8f8f6;
  font-size:14px;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
header {
  height:104px;
  padding:0 5%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid #dcdcd7;
  background:white;
}
.brand {
  text-decoration:none;
  color:#111;
  font-size:26px;
  letter-spacing:5px;
  font-weight:500;
}
.brand span {
  display:block;
  font-size:8px;
  letter-spacing:2.5px;
  margin-top:8px;
}
.toolname {
  letter-spacing:4px;
  font-size:11px;
}
main {
  max-width:1700px;
  margin:auto;
  padding:48px 4%;
}
.intro {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:42px;
}
.eyebrow {
  font-size:10px;
  letter-spacing:2.4px;
  color:#777;
}
h1 {
  font-size:42px;
  font-weight:400;
  letter-spacing:-1.5px;
  margin:14px 0;
}
.intro p:last-child {
  color:#777;
}
h2 {
  font-size:16px;
  font-weight:500;
  margin:0;
}
button,input,select,textarea {
  font:inherit;
}
button {
  cursor:pointer;
  border:1px solid #ddd;
  background:white;
  padding:12px 15px;
  color:inherit;
  transition:background .15s;
}
button:hover {
  background:#ecece7;
}
button:focus-visible,a:focus-visible {
  outline:2px solid #598278;
  outline-offset:3px;
}
.outline {
  background:transparent;
}
.primary {
  background:#242a28;
  color:white;
  border-color:#242a28;
}
.primary:hover {
  background:#46534d;
}
.wide {
  width:100%;
  margin-top:15px;
}
.workspace {
  display:grid;
  grid-template-columns:minmax(220px, .85fr) minmax(380px,1.65fr) minmax(280px,1fr);
  gap:24px;
  align-items:start;
}
.catalog,.editor,aside {
  background:white;
  border:1px solid #e2e2dc;
  padding:23px;
}
.sectionhead {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  gap:12px;
}
.sectionhead span {
  font-size:10px;
  color:#777;
}
.tabs {
  display:flex;
  gap:4px;
  margin:14px 0;
}
.tabs button {
  padding:9px 7px;
  font-size:10px;
  border:0;
  flex:1;
}
.tabs .active {
  background:#303b35;
  color:white;
}
input,select,textarea {
  width:100%;
  border:1px solid #d8dad5;
  border-radius:0;
  padding:11px 10px;
  background:white;
  color:#262626;
  min-width:0;
}
label {
  display:block;
  color:#60645f;
  font-size:11px;
  margin-bottom:14px;
  line-height:1.5;
}
label input,label select,label textarea {
  margin-top:7px;
  color:#252525;
  font-size:13px;
}
textarea {
  min-height:72px;
  resize:vertical;
}
.profile {
  display:flex;
  align-items:center;
  width:100%;
  padding:9px 5px;
  text-align:left;
  border:0;
  border-bottom:1px solid #eee;
  gap:12px;
}
.profile img {
  width:75px;
  height:58px;
  object-fit:contain;
}
.profile strong {
  font-size:12px;
  display:block;
  font-weight:500;
}
.profile small {
  font-size:10px;
  color:#888;
  display:block;
  margin-top:5px;
}
.profile.selected {
  background:#edf0eb;
  border-left:2px solid #647769;
}
#profiles {
  max-height:780px;
  overflow:auto;
}
.productname {
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.productname h2 {
  font-size:27px;
  font-weight:400;
}
.productname span {
  font-size:11px;
  color:#777;
}
#product>img {
  width:100%;
  aspect-ratio:1.45;
  object-fit:contain;
  margin:16px 0;
}
#product p {
  color:#777;
  font-size:12px;
}
.fields {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 16px;
}
[hidden] {
  display:none!important;
}
.note {
  font-size:11px;
  line-height:1.7;
  color:#858780;
}
.sectionhead:not(:first-child) {
  margin-top:28px;
}
#driverArea {
  border-top:1px solid #eee;
  padding-top:22px;
  margin-top:20px;
}
.driver {
  border:1px solid #e1e3dc;
  padding:12px;
  display:flex;
  gap:8px;
  margin:8px 0;
  align-items:center;
}
.driver input {
  width:auto;
  margin:0;
}
.driver span {
  flex:1;
}
.driver small {
  display:block;
  font-size:10px;
  color:#777;
}
.driver b {
  font-weight:500;
  font-size:12px;
}
#calc {
  background:#f3f4ef;
  padding:20px;
  margin:24px 0;
}
.sumline {
  display:flex;
  justify-content:space-between;
  gap:15px;
  line-height:1.7;
  font-size:12px;
  margin-bottom:6px;
}
.sumline.big {
  font-size:22px;
  margin-top:15px;
  border-top:1px solid #ddd;
  padding-top:13px;
}
.addgroup {
  display:flex;
  margin-bottom:22px;
}
.addgroup button {
  background:#eef0ea;
}
.projectgroup {
  font-size:13px;
  margin-top:23px;
  border-top:1px solid #eee;
  padding-top:15px;
}
.item {
  padding:12px 0;
  border-bottom:1px solid #eee;
}
.item strong {
  font-size:12px;
  font-weight:500;
}
.item p {
  font-size:11px;
  color:#777;
  margin:5px 0;
  line-height:1.7;
}
.item button {
  padding:3px 6px;
  border:0;
  color:#888;
  float:right;
}
.actions {
  display:flex;
  gap:8px;
  margin-top:20px;
}
.actions button {
  flex:1;
  font-size:11px;
}
summary {
  cursor:pointer;
  padding:20px 0;
  font-size:13px;
}
#checkout {
  border-top:1px solid #ddd;
  margin-top:25px;
}
#total {
  margin-top:22px;
}
#total strong {
  font-size:23px;
  font-weight:400;
}
footer {
  border-top:1px solid #ddd;
  margin:0 4%;
  padding:30px 0;
  font-size:10px;
  letter-spacing:1.5px;
  display:flex;
  justify-content:space-between;
}
footer a {
  color:inherit;
}
#status {
  position:fixed;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  background:#283c32;
  color:white;
  padding:14px 25px;
  display:none;
  z-index:10;
}
#count {
  display:inline-block;
  margin:0 12px;
}
@media(max-width:1150px) {
  .workspace {
    grid-template-columns:240px 1fr;
  }
  aside {
    grid-column:1/-1;
  }
}
@media(max-width:650px) {
  header {
    height:80px;
  }
  .brand {
    font-size:19px;
    letter-spacing:3px;
  }
  .toolname {
    font-size:9px;
    letter-spacing:1px;
  }
  main {
    padding:25px 16px;
  }
  .intro {
    display:block;
  }
  h1 {
    font-size:33px;
  }
  .intro button {
    margin-top:12px;
  }
  .workspace {
    display:block;
  }
  .catalog,.editor,aside {
    margin-bottom:18px;
    padding:18px;
  }
  #profiles {
    max-height:210px;
  }
  .fields {
    gap:0 10px;
  }
}
/* Calm greens and warm neutrals connect the configuration and its project. */
:root {
  background:#f4f5ef;
  color:#263a32;
}
header {
  background:#fcfdf9;
  border-bottom-color:#dfe5d9;
}
.intro {
  border-bottom:1px solid #dce2d5;
  padding-bottom:30px;
}
.eyebrow {
  color:#819374;
}
.intro h1 {
  color:#263c31;
}
.catalog,.editor,aside {
  border-color:#e0e6d9;
  border-radius:12px;
  box-shadow:0 6px 24px #263c3105;
}
.catalog {
  background:#fcfdf9;
}
.editor {
  border-top:3px solid #91a685;
}
aside {
  background:#fafbf6;
  border-top:3px solid #b7aa88;
}
.sectionhead h2 {
  color:#324936;
}
input,select,textarea {
  border-radius:5px;
  border-color:#d9e1d1;
}
input:focus,select:focus,textarea:focus {
  outline:2px solid #9eaf91;
  outline-offset:1px;
}
button {
  border-radius:5px;
}
.primary {
  background:#344f3c;
  border-color:#344f3c;
}
.primary:hover {
  background:#47654f;
}
.tabs button {
  border-radius:4px;
}
.tabs .active {
  background:#dfe8d7;
  color:#344f3c;
}
.profile.selected {
  background:#eaf0e4;
  border-left-color:#839c6c;
}
.productname h2 {
  color:#344f3c;
}
#product>img {
  border-radius:8px;
}
.power {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px;
  background:#edf3e6;
  border:1px solid #dce7d1;
  border-radius:8px;
  margin:20px 0 14px;
}
.power>span {
  font-size:12px;
  font-weight:500;
}
.power span small {
  display:block;
  color:#78856e;
  margin-top:6px;
  font-size:11px;
}
.power strong {
  font-weight:500;
  font-size:30px;
  white-space:nowrap;
}
.power strong small {
  font-size:17px;
}
.notice {
  background:#faf4e7;
  border-left:3px solid #baa16a;
  padding:13px 15px;
  font-size:12px;
  line-height:1.7;
  color:#796344;
  margin:12px 0 20px;
}
.check-option {
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px;
  background:#f7f9f3;
  border:1px solid #e2e8db;
  border-radius:6px;
}
.check-option input {
  width:17px;
  height:17px;
  margin:2px 0;
  accent-color:#59794a;
}
.check-option span {
  font-size:13px;
  color:#334733;
}
.check-option small {
  display:block;
  font-size:10px;
  line-height:1.6;
  color:#7c8775;
  margin-top:5px;
}
.accessories {
  margin-top:8px;
}
.control-choice {
  padding:0;
  border:0;
  margin:0 0 18px;
}
.control-choice legend {
  font-size:12px;
  margin-bottom:12px;
  color:#66755e;
}
.control-buttons {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.control-buttons button {
  font-size:13px;
  min-height:68px;
  border-color:#dce5d4;
  background:#fafcf7;
  font-weight:500;
  padding:10px 4px;
}
.control-buttons small {
  display:block;
  font-size:10px;
  margin-top:6px;
  opacity:.7;
  font-weight:400;
}
.control-buttons [aria-pressed=true] {
  background:#3e5d45;
  color:white;
  border-color:#3e5d45;
  box-shadow:0 4px 12px #3e5d451a;
}
.driver {
  border-radius:7px;
  display:grid;
  grid-template-columns:16px 70px 1fr;
  gap:12px;
  padding:14px;
  margin:10px 0;
  cursor:pointer;
}
.driver img {
  width:70px;
  height:60px;
  object-fit:contain;
  background:white;
  border-radius:4px;
}
.driver strong {
  font-size:12px;
  font-weight:500;
  overflow-wrap:anywhere;
}
.driver small {
  margin-top:4px;
  line-height:1.5;
}
.driver b {
  grid-column:3;
  font-size:14px;
}
.driver input {
  accent-color:#527346;
}
.driver.chosen {
  border-color:#7f9e6d;
  background:#f3f7ee;
}
.driver.without-driver {
  display:flex;
  padding:12px;
}
.without-driver span {
  font-size:12px;
}
#calc {
  background:#edf2e8;
  border-radius:8px;
}
#calc .big {
  border-top-color:#d3ddcb;
}
.projectgroup {
  color:#344f3c;
  background:#edf1e6;
  border:0;
  padding:10px 12px;
  border-radius:5px;
  margin-top:14px;
}
.item {
  padding:15px 5px;
}
.item strong {
  color:#364a36;
  font-size:13px;
}
.item p {
  line-height:1.8;
}
.file-options {
  border-top:1px solid #dfe4d7;
  margin-top:20px;
}
.file-options summary {
  font-size:12px;
  color:#63725a;
}
.actions {
  flex-direction:column;
  margin:8px 0 20px;
}
.actions button {
  text-align:left;
  background:#fff;
}
#saveState {
  color:#7c896f;
}
.pdf-actions {
  margin-top:22px;
}
.pdf-actions .outline {
  margin-top:8px;
  font-size:12px;
}
.pdf-actions .primary {
  font-size:12px;
}
#checkout summary {
  font-size:13px;
  font-weight:500;
}
#status {
  background:#3d5a43;
  border-radius:6px;
  box-shadow:0 6px 25px #263c3120;
  max-width:90vw;
}
#project {
  scroll-margin-top:20px;
}
.brand img {
  display: block;
  width: 285px;
  max-width: 58vw;
  height: auto;
}
.item-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 22px;
}
.mode-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}
.item-heading small {
  display: block;
  margin-top: 5px;
  color: #75816e;
  font-size: 10px;
  font-weight: 400;
}
.option-panel {
  border: 1px solid #dfe6d8;
  border-radius: 8px;
  padding: 14px;
  margin: 16px 0;
  background: #fcfdf9;
}
.option-panel > label:last-child, .option-panel .check-option {
  margin-bottom: 0;
}
.option-panel .check-option {
  border: 0;
  background: transparent;
  padding: 0;
}
.option-panel summary {
  padding: 4px 0;
  font-weight: 500;
}
.option-panel summary span {
  display: block;
  font-size: 11px;
  color: #77846d;
  margin: 8px 0 0 17px;
  font-weight: 400;
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.feed-grid button {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
  font-size: 12px;
  text-align: center;
}
.feed-grid img {
  width: 95px;
  height: 95px;
  object-fit: contain;
}
.feed-grid small {
  font-size: 9px;
  line-height: 1.5;
  color: #7b806f;
}
.feed-grid [aria-pressed="true"] {
  border-color: #7d9a6c;
  box-shadow: inset 0 0 0 1px #7d9a6c;
  background: #f2f6ec;
}
.feed-grid button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
#mitreFields {
  margin-top: 18px;
}
#sketchStatus {
  overflow-wrap: anywhere;
}
.item .sketch-download {
  display: block;
  float: none;
  padding: 8px 10px;
  border: 1px solid #d9e2d1;
  margin: 10px 0;
  font-size: 11px;
  color: #3e5d45;
}
.strip-picker, .colour-field {
  grid-column: 1 / -1;
}
.strip-picker {
  border: 1px solid #dce5d4;
  border-radius: 7px;
  padding: 12px;
  margin-bottom: 16px;
}
#stripPreview {
  display: flex;
  align-items: center;
  gap: 14px;
}
#stripPreview img {
  width: 88px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
}
#stripPreview strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
#stripPreview small {
  display: block;
  font-size: 11px;
  color: #79856f;
  margin-top: 7px;
}
.strip-picker summary {
  color: #526b45;
  font-size: 12px;
  padding: 13px 0 3px;
}
#stripChoices {
  max-height: 490px;
  overflow: auto;
  padding-top: 12px;
}
#stripChoices button {
  display: flex;
  text-align: left;
  gap: 12px;
  width: 100%;
  margin: 6px 0;
  align-items: center;
  padding: 10px;
}
#stripChoices img {
  width: 68px;
  height: 58px;
  object-fit: cover;
  border-radius: 3px;
}
#stripChoices strong {
  font-size: 12px;
  font-weight: 500;
}
#stripChoices small {
  display: block;
  font-size: 10px;
  line-height: 1.5;
  margin-top: 3px;
  color: #738066;
}
#stripChoices [aria-pressed="true"] {
  background: #f0f5e8;
  border-color: #8fa47b;
}
#stripChoices button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.colour-field {
  font-size: 11px;
  color: #68775c;
  margin: 0 0 20px;
}
.colour-choices {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.colour-choices button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 11px 5px;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
}
.colour-choices [aria-pressed="true"] {
  border-color: #839c6c;
  box-shadow: inset 0 0 0 1px #839c6c;
}
.colour-dot {
  display: inline-block;
  height: 16px;
  width: 16px;
  border-radius: 50%;
  border: 1px solid #c8c8b5;
  box-shadow: 0 0 6px #e8e0c955;
}
.warm27 { background: #ffdaa0; }
.warm30 { background: #fff0cc; }
.white40 { background: #f3f6ff; }
.control-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.control-icon {
  margin-right: 3px;
  font-size: 16px;
}
#customControlFields {
  border: 1px solid #dce3d2;
  padding: 14px;
  margin-top: 12px;
  border-radius: 6px;
  background: #f6f8ef;
}
.colour-choices button:disabled {
  color: #8b8e86;
  background: #eeefeb;
  border-color: #dedfd9;
  box-shadow: none;
  opacity: .55;
  filter: grayscale(1);
  cursor: not-allowed;
}
.colour-choices.rgbw button {
  display: block;
  white-space: normal;
  line-height: 1.6;
}
.colour-choices.rgbw .colour-dot {
  vertical-align: middle;
  margin-left: 4px;
}
.tw-range {
  display: grid;
  grid-template-columns: auto minmax(30px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px;
  margin-top: 10px;
  border: 1px solid #dce4d4;
  border-radius: 7px;
  background: #f7f9f3;
}
.tw-range span {
  display: block;
  font-size: 10px;
  color: #76826d;
  margin-bottom: 6px;
}
.tw-range strong {
  font-size: 16px;
  color: #334936;
  font-weight: 500;
  white-space: nowrap;
}
.tw-range > div:last-child {
  text-align: right;
}
.tw-spectrum {
  height: 10px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ffd290, #fff3dc, #ecf3ff);
  border: 1px solid #dddacb;
}
#stripPreview .strip-lumens, #stripChoices .strip-lumens {
  color: #415c3d;
  font-weight: 500;
  line-height: 1.6;
}

/* Bebilderte Ausführungsoptionen */
.picture-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:14px 0; }
.picture-choices.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.picture-choices button { display:flex; flex-direction:column; gap:8px; padding:10px; text-align:left; background:#fff; color:var(--ink,#243b37); border:1px solid #dce3df; border-radius:12px; }
.picture-choices img { width:100%; aspect-ratio:3/2; object-fit:contain; border-radius:7px; }
.picture-choices strong { font-size:13px; line-height:1.4; }
.picture-choices small { font-size:12px; line-height:1.4; }
.picture-choices [aria-pressed="true"] { border:2px solid #355d50; padding:9px; background:#f3f7f4; }
.standard-protection { aspect-ratio:3/2; width:100%; display:grid; place-items:center; font-size:36px; color:#81958c; }
.powder-image { display:block; width:100%; max-height:200px; object-fit:contain; margin:14px auto; }
.feed-grid img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; }
@media(max-width:600px) { .picture-choices.three { grid-template-columns:1fr; } .picture-choices img { max-height:170px; } .standard-protection { max-height:70px; } }

/* Live-Konfiguration bleibt neben dem Editor sichtbar. */
.right-rail { position:sticky; top:16px; align-self:start; display:flex; flex-direction:column; gap:16px; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); min-width:0; }
.live-configuration { background:#fcfdf9; border:1px solid #b9c9b6; border-top:3px solid #678563; border-radius:12px; box-shadow:0 8px 28px #263c3110; min-height:0; flex-shrink:0; }
.live-configuration details { display:flex; flex-direction:column; }
.live-configuration summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px; cursor:pointer; list-style:none; }
.live-configuration summary::-webkit-details-marker { display:none; }
.live-configuration summary small { display:block; color:#71826b; font-size:10px; letter-spacing:1px; text-transform:uppercase; margin-bottom:6px; }
.live-configuration summary strong { font-size:15px; }
#livePrice { white-space:nowrap; font-size:19px; font-weight:600; color:#294a34; }
.live-body { padding:0 18px 18px; max-height:calc(60vh - 100px); max-height:calc(60dvh - 100px); overflow:auto; overscroll-behavior:contain; }
#liveOptions { list-style:none; padding:0; margin:12px 0; font-size:12px; line-height:1.6; }
#liveOptions li { padding:7px 0; border-bottom:1px solid #e5eadf; overflow-wrap:anywhere; }
.right-rail #project { min-height:140px; overflow:auto; overscroll-behavior:contain; margin:0; flex:1 1 auto; grid-column:auto; }
@media(min-width:701px) and (max-width:1150px) {
 .workspace { grid-template-columns:minmax(0,1fr) minmax(280px,.8fr); }
 .catalog { grid-column:1/-1; }
 #profiles { max-height:230px; }
 .right-rail { grid-column:2; grid-row:2; }
 .editor { grid-column:1; grid-row:2; min-width:0; }
}
@media(max-width:700px) {
 .workspace { display:block; }
 .right-rail { position:static; display:block; max-height:none; }
 .right-rail #project { overflow:visible; margin-top:18px; }
 .live-configuration { position:fixed; bottom:12px; bottom:max(12px,env(safe-area-inset-bottom)); left:12px; right:12px; z-index:30; box-shadow:0 3px 30px #263c3130; }
 .live-configuration summary { padding:12px 16px; }
 .live-configuration summary small::after { content:' · Übersicht ↕'; }
 .live-body { max-height:55vh; max-height:55dvh; }
 body { padding-bottom:105px; }
}

/* Preis zuerst, weitere Angaben auf Wunsch. */
.project-controls { display:flex; gap:10px; flex-wrap:wrap; }
.live-configuration summary { display:grid; grid-template-columns:1fr auto; gap:8px 12px; padding:14px 16px; }
.live-configuration summary small { font-size:9px; margin-bottom:4px; letter-spacing:.6px; }
.live-configuration summary strong { font-size:12px; font-weight:500; }
#livePrice { font-size:25px; font-weight:700; letter-spacing:-.5px; }
.live-toggle { grid-column:1/-1; font-size:11px; color:#71826b; }
.live-toggle::after { content:' ▾'; }
.live-configuration details[open] .live-toggle::after { content:' ▴'; }
.live-body { max-height:calc(45dvh - 80px); padding:0 16px 14px; }
#liveOptions { font-size:11px; margin:8px 0; }
#liveOptions li { padding:5px 0; }
@media(max-width:700px) {
 .live-configuration summary small::after { content:none; }
 .project-controls { margin-top:16px; }
 .intro .project-controls button { margin-top:0; }
}

.power { flex-wrap:wrap; }
.lumen-total { flex-basis:100%; display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid #cad7c3; padding-top:12px; margin-top:8px; }
.power .lumen-total strong { font-size:18px; text-align:right; max-width:60%; }

.ral-choices { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin:14px 0; }
.ral-choices button { display:flex; align-items:center; gap:10px; text-align:left; padding:12px; border:1px solid #dce3d9; border-radius:9px; background:#fff; }
.ral-choices button[aria-pressed="true"] { border-color:#42684d; background:#edf3e9; box-shadow:inset 0 0 0 1px #42684d; }
.ral-swatch { display:block; width:30px; height:30px; border-radius:50%; border:1px solid #0003; box-shadow:inset 0 0 0 2px #ffffff40; flex-shrink:0; }
.ral-choices strong { display:block; font-size:12px; }
.ral-choices small { display:block; font-size:11px; margin-top:3px; }
@media(max-width:420px) { .ral-choices { grid-template-columns:1fr; } }

.profile-filters { margin:14px 0; padding:12px; background:#f4f7f0; border-radius:8px; }
.profile-filters summary { font-size:12px; font-weight:600; cursor:pointer; }
.profile-filters label { margin-top:12px; }
.filter-dimensions { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.filter-dimensions input { min-width:0; width:100%; }
.profile-select { flex:1; text-align:left; border:0; background:transparent; padding:6px 0; min-width:0; }
.image-zoom { position:relative; padding:0; border:0; background:white; cursor:zoom-in; }
.image-zoom>span { position:absolute; right:3px; bottom:3px; background:#ffffffeb; color:#2f4a39; padding:3px 5px; border-radius:4px; font-size:12px; }
.product-zoom { width:100%; margin:14px 0; border-radius:8px; overflow:hidden; }
.product-zoom img { width:100%; max-height:380px; object-fit:contain; }
.product-zoom>span { right:8px; bottom:8px; padding:5px 8px; font-size:18px; }
.position-actions { display:flex; gap:8px; margin:10px 0; }
.item .position-actions button { float:none; padding:7px 10px; border:1px solid #cbd7c6; border-radius:5px; color:#365038; background:#f4f7ef; }
.item .position-actions button:disabled { opacity:.45; cursor:not-allowed; }
.item .price-stamp { font-size:10px; color:#69765e; }
#imageDialog { width:min(1100px,95vw); max-width:95vw; max-height:94dvh; padding:18px; border:1px solid #d0ddc9; border-radius:12px; color:#253a34; }
#imageDialog::backdrop { background:#17251ccc; }
.image-toolbar { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:12px; }
.image-toolbar h2 { flex:1; min-width:200px; font-size:15px; }
.image-toolbar button { padding:8px 10px; font-size:12px; }
#imageViewport { max-height:75dvh; overflow:auto; background:white; }
#largeImage { display:block; max-width:100%; max-height:75dvh; width:auto; height:auto; margin:auto; object-fit:contain; }
#imageViewport.actual-size #largeImage { max-width:none; max-height:none; margin:0; }
#editBanner { scroll-margin-top:20px; }

.slicer-link{display:inline-flex;align-items:center;text-decoration:none;padding:12px 18px;border-radius:8px}

.projectgroup{display:flex;align-items:center;justify-content:space-between;gap:10px}
.projectgroup span{overflow-wrap:anywhere;min-width:0}
.projectgroup button{font-size:12px;padding:6px 9px;border:1px solid #cbd7c6;border-radius:5px;background:#fff;color:#365038;flex-shrink:0}
.position-actions{flex-wrap:wrap}
.item .position-actions button[data-edit]{background:#253c36;color:#fff;border-color:#253c36}
