@layer wertigo.features{.screen-ruler-card{gap:12px;display:grid}.screen-ruler-card__hint{font-size:var(--ds-text-sm);color:var(--ds-muted);line-height:1.6}.screen-ruler-card__surface{border-radius:var(--ds-radius-lg);background:var(--ds-surface-muted);-webkit-user-select:none;user-select:none;width:100%;position:relative}.screen-ruler-card__card{border:2px solid var(--ds-brand);background:color-mix(in srgb,var(--ds-brand) 8%,transparent);justify-content:flex-end;align-items:flex-end;padding:10px 12px;display:flex;position:absolute;top:16px;left:16px}.screen-ruler-card__card--clipped{border-right-style:dashed}.screen-ruler-card__chip{border-radius:var(--ds-radius-sm);background:color-mix(in srgb,var(--ds-brand) 22%,transparent);width:14%;height:17%;position:absolute;top:36%;left:12%}.screen-ruler-card__card--vertical .screen-ruler-card__chip{width:17%;height:14%;top:12%;left:auto;right:36%}.screen-ruler-card__label{font-size:var(--ds-text-xs);font-weight:var(--ds-weight-semibold);color:var(--ds-brand-hover)}.screen-ruler-card__handle{border-radius:var(--ds-radius-md);background:var(--ds-brand-hover);width:32px;height:44px;color:var(--ds-on-brand);touch-action:none;cursor:ew-resize;border:0;place-items:center;display:grid;position:absolute;transform:translate(-50%,-50%)}.screen-ruler-card__handle--vertical{cursor:ns-resize;width:44px;height:32px}.screen-ruler-card__handle:focus-visible{outline:3px solid var(--ds-ink);outline-offset:3px}.screen-ruler-card__actions{flex-wrap:wrap;gap:8px;display:flex}.screen-ruler{color:var(--ds-ink);min-width:0;padding:24px}.screen-ruler:-webkit-full-screen{border:0;border-radius:0;width:100%;height:100%;padding:24px;overflow:auto}.screen-ruler:fullscreen{border:0;border-radius:0;width:100%;height:100%;padding:24px;overflow:auto}.screen-ruler__header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.screen-ruler__header h2{font-size:var(--ds-text-2xl);line-height:1.25;font-weight:var(--ds-weight-bold)}.screen-ruler__header p{color:var(--ds-muted);margin-top:8px;line-height:1.6}.screen-ruler__toolbar{flex-wrap:wrap;gap:16px 28px;margin-top:22px;display:flex}.screen-ruler__calibration,.screen-ruler__status{margin-top:20px}.screen-ruler__calibration{border:1px solid var(--ds-line);border-radius:var(--ds-radius-lg);gap:16px;padding:16px;display:grid}.screen-ruler__calibration-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.screen-ruler__diagonal{gap:12px;display:grid}.screen-ruler__diagonal-row{grid-template-columns:120px auto;justify-content:start;align-items:center;gap:8px;display:grid}.screen-ruler__length-input{width:120px}.screen-ruler__choices{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.screen-ruler__hint{font-size:var(--ds-text-sm);color:var(--ds-muted);line-height:1.6}.screen-ruler__workspace{padding-top:20px}.screen-ruler__surface{background:var(--ds-surface-muted);border-radius:var(--ds-radius-lg);-webkit-user-select:none;user-select:none;width:100%;height:176px;position:relative}.screen-ruler__surface--vertical{width:176px;height:calc(clamp(280px,60dvh,640px));margin-inline:auto}.screen-ruler__drawing{pointer-events:none;display:block;position:absolute;inset:0}.screen-ruler__selection{fill:var(--ds-brand);fill-opacity:.12}.screen-ruler__baseline,.screen-ruler__tick{stroke:var(--ds-text);stroke-width:1px}.screen-ruler__marker-line{stroke-width:1.5px}.screen-ruler__marker-line--0{stroke:var(--ds-info)}.screen-ruler__marker-line--1{stroke:var(--ds-brand-hover)}.screen-ruler__tick-label{fill:var(--ds-text);font-size:var(--ds-text-xs);font-variant-numeric:tabular-nums}.screen-ruler__handle{border-radius:var(--ds-radius-md);width:44px;height:44px;color:var(--ds-on-brand);font:inherit;font-weight:var(--ds-weight-bold);touch-action:none;cursor:ew-resize;border:0;position:absolute;transform:translate(-50%,-50%)}.screen-ruler__handle--0{background:var(--ds-info)}.screen-ruler__handle--1{background:var(--ds-brand-hover)}.screen-ruler__surface--vertical .screen-ruler__handle{cursor:ns-resize}.screen-ruler__handle:focus-visible{outline:3px solid var(--ds-ink);outline-offset:3px}.screen-ruler__handle:disabled{opacity:.5;cursor:default}.screen-ruler__confirmation{justify-items:start;gap:12px;margin-top:18px;display:grid}.screen-ruler__confirmation .UiButton{max-width:100%}.screen-ruler__result{border-radius:var(--ds-radius-lg);background:var(--ds-surface-soft);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:20px;margin-top:16px;padding:16px 20px;display:flex}.screen-ruler__result [role=status]{overflow-wrap:anywhere;gap:4px;min-width:0;display:grid}.screen-ruler__result small,.screen-ruler__result span{font-size:var(--ds-text-sm);color:var(--ds-muted)}.screen-ruler__result strong{font-size:clamp(var(--ds-text-2xl),4vw,36px);font-weight:var(--ds-weight-bold);font-variant-numeric:tabular-nums}.screen-ruler__move-help{margin-top:12px}.screen-ruler__notice{margin-top:16px}.screen-ruler__limitation{margin-top:20px}@media (max-width:640px){.screen-ruler,.screen-ruler__result{padding:16px}.screen-ruler__header h2{font-size:var(--ds-text-xl)}}}
