.trc{--trc-ink:var(--tw-ink,#14243d);--trc-accent:var(--tw-blue,#285be6);--trc-border:var(--tw-line,#dce4ef);font:inherit;color:var(--trc-ink);max-width:1250px;margin:auto;box-sizing:border-box}.trc *{box-sizing:border-box}.trc-head{padding:28px 4px;border-bottom:1px solid var(--trc-border);margin-bottom:25px}.trc-kicker{color:var(--trc-accent);font-size:12px;font-weight:800;letter-spacing:2px}.trc-head h2{margin:8px 0;font-size:clamp(26px,3.2vw,40px);line-height:1.2;color:var(--trc-ink)}.trc-head p{margin:0;color:#526673}.trc-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);gap:28px;align-items:start}.trc-section{padding:22px 0;border-bottom:1px solid var(--trc-border)}.trc-section:first-child{padding-top:0}.trc-section h3,.trc-preview h3,.trc-summary h3{font-size:17px;font-weight:750;margin:0 0 16px;color:var(--trc-ink)}.trc-section h3{display:flex;gap:12px}.trc-section small,.trc-summary small{display:block;color:#73818c;font-size:12px;margin-top:12px;line-height:1.5}.trc-sizes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.trc-sizes label{font-weight:700;display:flex;flex-direction:column;gap:8px}.trc-sizes input{border:1px solid #bdcbd4;border-radius:8px;padding:11px;width:100%;min-width:0;background:white;color:#14243d;font:inherit}.trc-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(142px,1fr));gap:10px}.trc-choice{display:block;cursor:pointer;margin:0}.trc-choice input{position:absolute;opacity:0;width:1px;height:1px}.trc-choice-inner{border:1px solid var(--trc-border);border-radius:11px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:14px 9px;height:100%;font-weight:650;font-size:13px;line-height:1.3;background:#fff;transition:background .15s,border-color .15s}.trc-choice svg{width:82px;height:52px;max-width:100%;color:#4263a0;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linejoin:round;stroke-linecap:round}.trc-choice input:checked+.trc-choice-inner{border:2px solid var(--trc-accent);padding:13px 8px;background:#f0f5ff}.trc-choice input:focus-visible+.trc-choice-inner{outline:3px solid #b2c7ff;outline-offset:2px}.trc-sticky{position:sticky;top:25px}.trc-preview,.trc-summary{padding:20px;border:1px solid var(--trc-border);background:#fff;border-radius:13px;margin-bottom:16px;box-shadow:0 4px 20px rgba(24,62,80,.045)}.trc-drawing{width:100%;height:auto;background:#f5f9fb;border-radius:9px}.trc-metrics{font-size:13px;color:#56717f;padding-top:10px}.trc-line{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin:10px 0;font-size:14px}.trc-line strong{white-space:nowrap}.trc-items{font-size:12px;border-bottom:1px solid var(--trc-border);padding-bottom:12px;max-height:240px;overflow:auto}.trc-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:6px 0}.trc-item b{font-weight:650}.trc-grand{border-top:1px solid var(--trc-border);margin-top:15px;padding-top:15px;font-size:19px;font-weight:800}.trc-grand strong{color:var(--trc-accent)}.trc-notice{background:#fff7e9;border-radius:8px;padding:12px;color:#705b35;font-size:12px;line-height:1.55}.trc-btn{display:block!important;width:100%!important;padding:15px!important;border:0!important;border-radius:9px!important;color:white!important;background:var(--trc-accent)!important;font-weight:750!important;cursor:pointer}.trc-btn:disabled{opacity:.5;cursor:not-allowed}.trc-summary small{text-align:center}.trc-error{color:#ac4038!important}@media(max-width:850px){.trc-layout{grid-template-columns:1fr}.trc-sticky{position:static}.trc-options{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:420px){.trc-sizes{gap:7px}.trc-preview,.trc-summary{padding:14px}.trc-section{padding:18px 0}}

/* Tornigolla: shared palette, cards and spacing; selectors stay inside the plugin. */
.trc{font-family:inherit;line-height:1.6}.trc-head{padding:0 0 28px;margin-bottom:28px}.trc-head h2{letter-spacing:-.04em}.trc-layout{gap:28px;grid-template-columns:minmax(0,1.45fr) minmax(310px,1fr)}.trc-fields{min-width:0}.trc-section{background:#fff;border:1px solid var(--trc-border);border-radius:16px;padding:22px;margin-bottom:16px}.trc-section:first-child{padding-top:22px}.trc-section h3{font-size:16px;line-height:1.4;align-items:center;letter-spacing:-.015em}.trc-section h3>span{flex:1}.trc-choice-inner{min-height:112px;border-radius:10px;font-size:13px}.trc-choice:hover .trc-choice-inner{background:#f7f9ff;border-color:#9bb5f3}.trc-sizes input:focus{outline:3px solid #c8d6ff;outline-offset:1px;border-color:var(--trc-accent)}.trc-preview,.trc-summary{border-radius:16px;padding:24px;box-shadow:0 12px 35px #14243d08}.trc-drawing{background:#f3f7fd}.trc-grand{color:var(--trc-ink);font-size:20px}.trc-btn{font:inherit!important;font-size:14px!important;border-radius:8px!important;min-height:50px}.trc-btn:hover{filter:brightness(.92)}.trc-btn:focus-visible{outline:3px solid #a7bdff;outline-offset:3px}.trc-notice{background:#f3f6fb;color:#58687c;border:1px solid var(--trc-border)}.torni-web .tw-rail-showcase .trc-head{display:none}.trc-sticky{top:24px}.trc-result{min-width:0}
@media(max-width:900px){.trc-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr);gap:18px}.trc-section,.trc-preview,.trc-summary{padding:18px}.trc-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.trc-layout{display:flex;flex-direction:column}.trc-fields,.trc-result{width:100%}.trc-sticky{position:static}.trc-preview{margin-top:8px}.trc-section h3{font-size:16px}.trc-grand{font-size:18px}.trc-choice-inner{min-height:104px}.trc-head h2{font-size:30px}}

/* 1.2.3: compact choices with bundled component photographs. */
.trc{max-width:1120px}.trc-layout{grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:20px}.trc-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.trc-section{padding:14px;margin:0;border-radius:12px}.trc-section:first-child{grid-column:1/-1;padding:14px}.trc-section h3{font-size:13px;gap:7px;margin-bottom:10px}.trc-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.trc-choice-inner{min-height:84px;padding:9px 5px;gap:6px;font-size:11px;border-width:2px}.trc-choice input:checked+.trc-choice-inner{padding:9px 5px}.trc-choice svg{width:62px;height:42px}.trc .trc-component{display:block;width:90px;max-width:100%;height:48px;object-fit:contain;mix-blend-mode:multiply}.trc-sizes label{font-size:12px;gap:4px}.trc-sizes input{padding:8px;font-size:14px}.trc-section small{font-size:11px;margin-top:8px}.trc-preview,.trc-summary{padding:16px;border-radius:12px;margin-bottom:12px}.trc-preview h3,.trc-summary h3{font-size:14px;margin-bottom:10px}.trc-drawing{max-height:180px}.trc-items{max-height:210px}.trc-grand{font-size:17px}.trc-btn{min-height:44px;padding:12px!important;font-size:13px!important}.trc-notice{padding:9px;font-size:11px}.trc-result{align-self:stretch}.trc-sticky{position:sticky;top:20px}.trc-section:has([name="rail[end]"]){grid-column:1/-1}.trc-section:has([name="rail[end]"]) .trc-options{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.trc-layout{grid-template-columns:minmax(0,1fr) minmax(270px,.8fr)}.trc-fields{grid-template-columns:1fr}.trc-section:first-child,.trc-section:has([name="rail[end]"]){grid-column:auto}}
@media(max-width:720px){.trc-layout{display:flex;gap:16px}.trc-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.trc-section:first-child,.trc-section:has([name="rail[end]"]){grid-column:1/-1}.trc-sticky{position:static}.trc-preview{margin-top:0}}
@media(max-width:520px){.trc-fields{grid-template-columns:1fr}.trc-section:first-child,.trc-section:has([name="rail[end]"]){grid-column:auto}.trc-choice-inner{flex-direction:row;text-align:left;justify-content:center;min-height:68px;padding:8px 5px}.trc-choice input:checked+.trc-choice-inner{padding:8px 5px}.trc .trc-component{width:58px;height:44px;flex-shrink:0}.trc-choice svg{width:44px;height:36px;flex-shrink:0}.trc-section h3{font-size:13px}.trc-section:has([name="rail[end]"]) .trc-choice-inner{flex-direction:column;font-size:10px}}

.trc-choice-inner{border-width:1px;background:#fff}.trc-choice input:checked+.trc-choice-inner{border:1px solid #7898d4;background:#f7f9fd;box-shadow:inset 0 0 0 1px #7898d433}.trc-choice:hover .trc-choice-inner{border-color:#b5c6e1;background:#fafbfd}.trc-choice svg{color:#748ba8;stroke-width:1.6}.trc-section{border-color:#e4e9f0}.trc-section h3{font-weight:650}.trc-choice-inner{font-weight:550}
/* 1.2.4: compact configurator and its Torni Web page introduction. */
.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero{padding-block:32px;min-height:0;max-width:1000px}
.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero h1{font-size:clamp(28px,3vw,38px);line-height:1.15;margin:14px 0 18px;letter-spacing:-.035em}
.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero .tw-lead{font-size:16px;line-height:1.65;max-width:780px}
.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero+.tw-section{padding-block:26px}
.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero+.tw-section h2{font-size:25px;margin-bottom:20px}
.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero+.tw-section .tw-card{padding:18px}
.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero+.tw-section .tw-card h3{font-size:16px}
.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero+.tw-section .tw-card p{font-size:13px;line-height:1.6}
.torni-web .tw-rail-showcase{padding-block:28px}
.torni-web .tw-rail-showcase>.tw-wrap{max-width:1000px}
.torni-web .tw-rail-intro{margin-bottom:16px}
.torni-web .tw-rail-intro h2{font-size:26px;margin:6px 0 10px}
.torni-web .tw-rail-intro p{font-size:13px}
.trc{max-width:1000px;font-size:13px;line-height:1.4}
.trc-layout{grid-template-columns:minmax(0,1.95fr) minmax(265px,1fr);gap:16px}
.trc-fields{gap:9px}.trc-section,.trc-section:first-child{padding:10px;border-radius:9px}
.trc-section h3{font-size:12px;margin-bottom:8px;gap:6px}
.trc-options{gap:6px}.trc-choice-inner{min-height:68px;padding:6px 4px;font-size:10px;gap:4px;border-radius:7px}
.trc-choice input:checked+.trc-choice-inner{padding:6px 4px}
.trc .trc-component{height:36px;width:70px}.trc-choice svg{height:32px;width:50px}
.trc-sizes{gap:8px}.trc-sizes label{font-size:11px}.trc-sizes input{padding:6px 8px;font-size:13px}
.trc-section small{font-size:10px;line-height:1.4;margin-top:6px}
.trc-section:has([name="rail[corner]"]) .trc-options{grid-template-columns:repeat(3,minmax(0,1fr))}
.trc-preview,.trc-summary{padding:12px;margin-bottom:9px;border-radius:9px}
.trc-preview h3,.trc-summary h3{font-size:13px;margin-bottom:8px}
.trc-drawing{height:125px}.trc-metrics{font-size:11px;padding-top:7px}
.trc-items{font-size:10px;max-height:175px;padding-bottom:8px}.trc-item{padding:4px 0;gap:5px}
.trc-line{font-size:12px;margin:8px 0}.trc-grand{font-size:15px;padding-top:10px;margin-top:10px}
.trc-notice{font-size:10px;padding:7px;line-height:1.45}.trc-btn{min-height:38px;padding:9px!important;font-size:12px!important}
.trc-summary small{font-size:10px;margin-top:7px}
@media(min-width:901px){.trc-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.trc-section:first-child,.trc-section:has([name="rail[end]"]){grid-column:1/-1}}
@media(max-width:900px) and (min-width:721px){.trc-layout{grid-template-columns:minmax(0,1fr) minmax(240px,.8fr)}}
@media(max-width:720px){.torni-web:has(.tw-rail-showcase .trc) .tw-pagehero{padding-block:24px}.torni-web .tw-rail-showcase{padding-block:22px}.trc-layout{display:flex}.trc-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.trc-section:first-child,.trc-section:has([name="rail[end]"]){grid-column:1/-1}.trc-section:has([name="rail[corner]"]) .trc-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.trc-fields{grid-template-columns:1fr}.trc-section:first-child,.trc-section:has([name="rail[end]"]){grid-column:auto}.trc-choice-inner,.trc-choice input:checked+.trc-choice-inner{min-height:55px;padding:6px 4px;font-size:11px}.trc .trc-component{width:50px;height:34px}.trc-section:has([name="rail[corner]"]) .trc-options{grid-template-columns:repeat(3,minmax(0,1fr))}.trc-section:has([name="rail[corner]"]) .trc-choice-inner{flex-direction:column;font-size:10px}}

.trc-section[hidden]{display:none!important}.trc-choice input:disabled+.trc-choice-inner{opacity:.4;cursor:not-allowed}.trc-rule-note{font-size:11px;color:#65768b;line-height:1.6;margin:12px 0 0;max-width:750px}

.trc-endpoints{grid-column:1/-1}.trc-endgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.trc-endgrid label{display:flex;flex-direction:column;gap:5px;font-size:11px}.trc-endgrid select{width:100%;min-width:0;padding:7px 5px;border:1px solid #d8e1ed;border-radius:6px;background:#fff;color:#14243d;font:inherit;font-size:11px}.trc-endgrid select:focus-visible{outline:2px solid #7898d4;outline-offset:2px}.trc-endgrid [hidden],.trc-choice[hidden]{display:none!important}.trc-section[data-group^=angle] .trc-options{grid-template-columns:repeat(3,minmax(0,1fr))}.trc-required input:disabled+.trc-choice-inner{opacity:1;cursor:default}.trc-availability{padding:10px;background:#fff5ed;color:#9b411c;font-size:12px}.trc-endgrid label b{font-size:12px}.trc-notice.trc-error{background:#fff5ed}.trc-endpoints .trc-endgrid label[hidden]{display:none!important}@media(max-width:520px){.trc-endgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.trc-endpoints{grid-column:auto}.trc-section[data-group^=angle] .trc-choice-inner{flex-direction:column;font-size:10px}}
@media(max-width:720px){.trc-fields .trc-preview{padding:10px 0 0;margin:12px 0 0;border:0;border-top:1px solid #e4e9f0;border-radius:0;box-shadow:none}.trc-fields .trc-preview h3{font-size:12px}.trc-fields .trc-drawing{height:145px}.trc-fields .trc-metrics{font-size:11px}.trc-fields .trc-section:first-child{scroll-margin-top:15px}}
.trc-service{margin-top:22px;padding:20px 22px;background:#f3f7fd;border:1px solid #dce4ef;border-radius:10px}.trc-service h3{font-size:18px;color:#14243d;margin:0 0 10px;line-height:1.35}.trc-service p{font-size:13px;line-height:1.7;color:#58687c;margin:0 0 14px;max-width:800px}.trc-service a{font-size:13px;font-weight:650;color:#285be6;text-decoration:none}.trc-service a:hover{text-decoration:underline}.trc-service a:focus-visible{outline:2px solid #285be6;outline-offset:4px}@media(max-width:520px){.trc-service{padding:16px}.trc-service h3{font-size:17px}}

.trc .trc-visual-note{font:inherit;font-size:11px;line-height:1.5;color:#60728b;margin:0 0 14px}.trc .trc-component{object-fit:contain;background:#fff}
