.iq-worksheet { width:min(1120px,calc(100% - 40px)); margin:0 auto; padding:56px 0; border-top:1px solid #dce8e6; color:#142832; scroll-margin-top:120px; }
.iq-worksheet *, .iq-worksheet *::before, .iq-worksheet *::after { box-sizing:border-box; }
.iq-worksheet .iq-worksheet-heading { max-width:790px; margin-bottom:24px; }
.iq-worksheet .iq-worksheet-kicker { margin:0 0 12px; color:#087c78; font-size:.76rem; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.iq-worksheet .iq-worksheet-heading h2 { margin:0 0 14px; font-size:clamp(1.65rem,2.7vw,2.25rem); line-height:1.2; }
.iq-worksheet .iq-worksheet-heading > p:last-child { color:#546973; line-height:1.7; }
.iq-worksheet .iq-worksheet-boundary { padding:17px 20px; margin:0 0 26px; border-left:3px solid #bd9857; background:#fbf7ef; color:#61523b; font-size:.9rem; line-height:1.65; }
.iq-worksheet .iq-worksheet-layout { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.85fr); align-items:start; gap:28px; }
.iq-worksheet .iq-worksheet-controls { min-width:0; }
.iq-worksheet .iq-worksheet-context { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.iq-worksheet .iq-worksheet-context label, .iq-worksheet .iq-worksheet-notes { display:flex; flex-direction:column; gap:6px; color:#142832; font-size:.84rem; font-weight:750; }
.iq-worksheet .iq-worksheet-context label > span, .iq-worksheet .iq-worksheet-notes > span { color:#546973; font-size:.69rem; font-weight:500; }
.iq-worksheet .iq-worksheet-privacy { margin:14px 0 22px; color:#546973; font-size:.8rem; line-height:1.65; }
.iq-worksheet input, .iq-worksheet select, .iq-worksheet textarea { display:block; width:100%; min-width:0; max-width:100%; padding:11px 12px; border:1px solid #c8d9d3; border-radius:7px; background:#fff; color:#142832; font:inherit; font-weight:400; line-height:1.5; }
.iq-worksheet input, .iq-worksheet select { min-height:45px; }
.iq-worksheet textarea { resize:vertical; }
.iq-worksheet input::placeholder, .iq-worksheet textarea::placeholder { color:#6d7b80; opacity:1; }
.iq-worksheet :focus-visible { outline:3px solid #168e87; outline-offset:3px; }
.iq-worksheet .iq-worksheet-group { min-width:0; margin:0 0 22px; padding:8px 22px 4px; border:1px solid #dce8e6; border-radius:12px; background:#fff; }
.iq-worksheet .iq-worksheet-group legend { padding:0 7px; color:#087c78; font-size:.92rem; font-weight:800; }
.iq-worksheet .iq-worksheet-item { display:grid; grid-template-columns:minmax(0,1fr) minmax(160px,.7fr); align-items:center; gap:14px; padding:16px 0; border-bottom:1px solid #e5eeea; }
.iq-worksheet .iq-worksheet-item:last-child { border-bottom:0; }
.iq-worksheet .iq-worksheet-item label { color:#344e57; font-size:.86rem; line-height:1.6; font-weight:600; }
.iq-worksheet .iq-worksheet-item select { font-size:.81rem; }
.iq-worksheet .iq-worksheet-notes { margin-bottom:20px; }
.iq-worksheet .iq-worksheet-button { display:inline-flex; align-items:center; justify-content:center; min-height:45px; padding:11px 16px; border:1px solid #087c78; border-radius:8px; background:#087c78; color:#fff; font:inherit; font-size:.85rem; font-weight:800; line-height:1.35; text-align:center; cursor:pointer; }
.iq-worksheet .iq-worksheet-button:hover { background:#076661; }
.iq-worksheet .iq-worksheet-button:disabled { opacity:.55; cursor:not-allowed; }
.iq-worksheet .iq-worksheet-secondary { background:#fff; color:#087c78; }
.iq-worksheet .iq-worksheet-secondary:hover { background:#eaf5f2; }
.iq-worksheet .iq-worksheet-output { min-width:0; position:sticky; top:110px; padding:24px; border:1px solid #bfd9ce; border-radius:12px; background:#edf6f1; }
.iq-worksheet .iq-worksheet-tag { display:inline-block; padding:5px 9px; margin:0 0 14px; border:1px solid #cce3db; border-radius:6px; background:#eaf5ef; color:#176757; font-size:.72rem; font-weight:800; line-height:1.4; }
.iq-worksheet .iq-worksheet-output h3 { margin:0 0 12px; font-size:1.25rem; line-height:1.3; scroll-margin-top:120px; }
.iq-worksheet #iq-worksheet-status { margin:0 0 18px; color:#344e57; font-size:.86rem; line-height:1.65; }
.iq-worksheet .iq-worksheet-result { min-height:300px; font-family:Inter,"Segoe UI",Arial,sans-serif; font-size:.8rem; }
.iq-worksheet .iq-worksheet-actions { display:flex; flex-wrap:wrap; gap:9px; margin:15px 0 0; }
.iq-worksheet .iq-worksheet-copy-status { color:#344e57; font-size:.8rem; line-height:1.6; margin:12px 0 0; }
.iq-worksheet .iq-worksheet-output .iq-worksheet-privacy:last-child { margin-bottom:0; }
@media(max-width:1060px) { .iq-worksheet .iq-worksheet-layout { gap:20px; } .iq-worksheet .iq-worksheet-item { grid-template-columns:1fr; gap:8px; } .iq-worksheet .iq-worksheet-output { top:165px; } .iq-worksheet { scroll-margin-top:180px; } }
@media(max-width:760px) { .iq-worksheet .iq-worksheet-layout { grid-template-columns:1fr; } .iq-worksheet .iq-worksheet-output { position:static; } .iq-worksheet .iq-worksheet-context { grid-template-columns:1fr; } .iq-worksheet .iq-worksheet-output h3 { scroll-margin-top:220px; } }
@media(max-width:640px) { .iq-worksheet { width:calc(100% - 32px); padding:38px 0; scroll-margin-top:220px; } .iq-worksheet .iq-worksheet-output { padding:20px; } .iq-worksheet .iq-worksheet-group { padding-left:18px; padding-right:18px; } }
