.next-workspace{display:grid;gap:1.25rem;min-width:0;padding-bottom:1rem}.next-heading h1{margin:.2rem 0 .5rem;font-size:clamp(1.5rem,3vw,2.25rem);line-height:1.15}.next-heading p,.next-panel header small{font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted,#68809b);font-weight:750}.next-heading>span,.next-caption{color:var(--muted,#68809b);font-size:.85rem;line-height:1.55}.next-tabs{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}.next-tabs [aria-current=page]{background:var(--accent,var(--primary,#1670f8));color:var(--accent-contrast,#fff);border-color:transparent}.next-panel{display:grid;align-content:start;gap:1rem;min-width:0;padding:clamp(1rem,2vw,1.5rem);background:var(--card,var(--surface,#fff));color:var(--text,#20324a);border:1px solid var(--border,#dce5ef);border-radius:var(--radius,18px)}.next-panel>header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.8rem;min-width:0}.next-panel h2{font-size:clamp(1.12rem,2vw,1.5rem);margin:.25rem 0}.next-panel h3{font-size:1.02rem;margin:.75rem 0}.next-panel p{margin:.2rem 0;line-height:1.5}.next-records{display:grid;gap:.65rem;min-width:0}.next-record{display:flex;gap:.75rem;align-items:center;justify-content:space-between;min-width:0;padding:.9rem;border:1px solid var(--border,#dce5ef);border-radius:12px;background:color-mix(in srgb,var(--surface,#f7faff) 70%,transparent)}.next-record>div{min-width:0;flex:1}.next-record>div:last-child:not(:first-child){flex:0 1 auto}.next-record strong{display:block;overflow-wrap:anywhere}.next-record small{display:block;color:var(--muted,#68809b);font-size:.78rem;line-height:1.5;overflow-wrap:anywhere}.next-record p{font-size:.9rem;overflow-wrap:anywhere}.next-record.is-reviewed{opacity:.68}.next-actions,.next-form-actions,.next-rule-list,.next-presets{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;min-width:0}.next-form-actions{grid-column:1/-1;justify-content:flex-end;padding-top:.5rem}.next-badge{display:inline-block;max-width:100%;padding:.3rem .65rem;border-radius:999px;background:color-mix(in srgb,var(--accent,#1670f8) 10%,transparent);color:var(--text,#20324a);font-size:.76rem;line-height:1.35;overflow-wrap:anywhere}.next-button{min-height:40px;white-space:normal;line-height:1.3;overflow-wrap:normal;word-break:normal}.next-button:focus-visible,.next-field input:focus-visible,.next-field select:focus-visible,.next-field textarea:focus-visible{outline:3px solid var(--accent,#1670f8);outline-offset:3px}.next-avatar{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:color-mix(in srgb,var(--accent,#1670f8) 17%,transparent);color:var(--accent,#1670f8);font-weight:800}.next-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;min-width:0}.next-field{display:grid;align-content:start;gap:.4rem;min-width:0}.next-field>span{font-size:.82rem;font-weight:600}.next-field input,.next-field select,.next-field textarea{width:100%;min-width:0;max-width:100%;min-height:44px;box-sizing:border-box;border:1px solid var(--border,#dce5ef);border-radius:9px;background:var(--input-bg,var(--surface,#fff));color:var(--text,#20324a);padding:.7rem;font-size:1rem;font-family:inherit}.next-field textarea{resize:vertical;min-height:90px}.next-full{grid-column:1/-1}.next-form fieldset{border:1px solid var(--border,#dce5ef);border-radius:12px;padding:1rem;min-width:0}.next-form legend{padding:0 .35rem;font-weight:700}.next-check{display:flex;align-items:center;gap:.55rem;padding:.4rem 0;min-height:44px;font-size:.9rem}.next-check input{width:20px;height:20px;flex:0 0 20px}.next-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.next-kpis article{display:grid;gap:.45rem;border:1px solid var(--border,#dce5ef);border-radius:12px;padding:1rem;min-width:0}.next-kpis strong{font-size:clamp(1.3rem,2vw,2rem);line-height:1.1;overflow-wrap:anywhere}.next-kpis span{font-size:.75rem;line-height:1.4;color:var(--muted,#68809b)}.next-split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.next-split>section{min-width:0}.next-split .next-record{margin-bottom:.6rem}.next-empty{padding:1rem;color:var(--muted,#68809b);border:1px dashed var(--border,#dce5ef);border-radius:12px;font-size:.9rem}.next-alert{padding:.8rem 1rem;border:1px solid #e6a944;border-radius:10px;background:color-mix(in srgb,#e6a944 12%,transparent);font-size:.88rem;line-height:1.5}.next-draft{white-space:pre-wrap;padding:.7rem;background:color-mix(in srgb,var(--accent,#1670f8) 7%,transparent);border-radius:8px}.next-panel details{margin-top:.6rem;font-size:.85rem}.next-panel summary{cursor:pointer;min-height:32px;color:var(--accent,#1670f8)}.next-presets>span{display:flex;gap:.25rem;flex-wrap:wrap}.next-modal{max-width:100%;overflow-x:hidden}.next-modal>p{line-height:1.5}.next-panel .next-caption{font-size:.77rem}.next-panel .next-actions>span{font-size:.8rem;color:var(--muted,#68809b)}
@media(max-width:900px){.next-split{grid-template-columns:1fr}.next-record{align-items:flex-start;flex-wrap:wrap}.next-record>div:first-child{flex:1 1 180px}.next-record>.next-actions{flex:1 1 100%}.next-kpis{gap:.45rem}.next-kpis article{padding:.7rem}}
@media(max-width:540px){.next-form{grid-template-columns:1fr}.next-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.next-tabs .next-button{padding:.7rem .45rem;font-size:.8rem}.next-tabs .next-button:last-child{grid-column:1/-1}.next-panel{padding:1rem}.next-kpis{grid-template-columns:1fr}.next-kpis article{grid-template-columns:auto 1fr;align-items:center;gap:1rem}.next-kpis span{text-align:right}.next-record>div:last-child:not(:first-child){flex:1 1 100%;display:flex;gap:.45rem;align-items:center;flex-wrap:wrap}.next-form-actions>*{flex:1 1 120px}.next-panel>header>.next-button{width:100%}.next-record{padding:.8rem}.next-split .next-record{margin-bottom:.5rem}}
@media(max-height:540px) and (orientation:landscape){.next-tabs{position:static}.next-modal .next-form{grid-template-columns:repeat(2,minmax(0,1fr))}.next-modal{padding-bottom:max(1rem,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.next-workspace *{scroll-behavior:auto}}
