
:root{--ink:#18243c;--muted:#647085;--line:#e5e9f0;--bg:#f6f8fc;--accent:#3157d5;--radius:18px}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-size:15px;line-height:1.6}a{color:var(--accent);text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent)}h1,h2,h3,p{margin-top:0}h1{font-size:38px;line-height:1.15;letter-spacing:-1.4px;font-weight:750;margin-bottom:14px}h2{font-size:21px;line-height:1.35;letter-spacing:-.5px}h3{font-size:17px;line-height:1.45}small{font-size:12px}strong{font-weight:650}.muted{color:var(--muted)}.eyebrow{font-size:11px;font-weight:750;letter-spacing:2px;color:var(--accent);margin-bottom:18px}.skip{position:absolute;left:10px;top:-100px;background:#fff;padding:12px;z-index:1000}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.logo{display:flex;gap:11px;align-items:center;font-size:23px;letter-spacing:-1px;font-weight:750;color:var(--ink)}.mark{display:grid;place-items:center;background:var(--accent);color:#fff;width:37px;height:37px;border-radius:11px;font-size:23px;box-shadow:0 5px 14px #18243c15}.button{display:inline-flex;gap:18px;justify-content:center;align-items:center;border:1px solid var(--accent);border-radius:10px;background:var(--accent);color:white;padding:12px 20px;font-weight:650;font-size:14px;line-height:1.5;transition:transform .15s,box-shadow .15s}.button:hover{box-shadow:0 6px 18px #18243c20;transform:translateY(-1px)}.button.secondary{background:#fff;color:var(--ink);border-color:var(--line)}.quiet-link{font-size:13px;font-weight:650}.actions{display:flex;align-items:center;gap:25px}.pill,.pill-button{display:inline-flex;align-items:center;border:1px solid var(--line);background:#f6f8fc;padding:5px 10px;border-radius:7px;color:var(--muted);font-size:11px;white-space:nowrap}.pill-button{font-size:12px;color:var(--accent)}.public-header{height:95px;max-width:1300px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 40px}.public-header nav{display:flex;align-items:center;gap:30px;font-size:13px;font-weight:600}.public-header nav>a:not(.button){color:var(--muted)}.hero{max-width:1300px;margin:auto;padding:75px 40px 110px;display:grid;grid-template-columns:1.05fr 1fr;gap:85px;align-items:center;min-height:680px}.hero h1{font-size:clamp(44px,4.7vw,65px);max-width:650px;letter-spacing:-3px;line-height:1.05;margin:20px 0 27px}.lead{font-size:18px;line-height:1.75;color:var(--muted);max-width:510px;margin-bottom:33px}.hero-foot{margin-top:35px;color:var(--muted);font-size:12px;display:flex;gap:9px;align-items:center}.dot{width:7px;height:7px;background:var(--accent);border-radius:50%}.hero-art{position:relative}.orbit{position:absolute;inset:0;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--accent) 16%,transparent),transparent 70%);transform:none}.art-card{position:relative;padding:28px;background:#ffffffed;border:1px solid #fff;border-radius:24px;box-shadow:0 25px 70px #18243c12;transform:rotate(-2deg)}.art-top{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:650;border-bottom:1px solid var(--line);padding-bottom:21px}.art-top .pill{margin-left:auto}.mini-mark{font-size:22px;color:var(--accent)}.art-card h2{font-size:28px;line-height:1.2;margin:26px 0}.art-row{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-bottom:1px solid var(--line)}.art-row small{display:block;color:var(--muted);line-height:1.6;margin-top:4px}.check{background:color-mix(in srgb,var(--accent) 9%,white);color:var(--accent);width:29px;height:29px;display:grid;place-items:center;border-radius:9px;flex-shrink:0}.art-source{font-size:10px;color:var(--muted);margin-top:20px}.features{max-width:1300px;margin:auto;padding:55px 40px 80px;border-top:1px solid var(--line)}.features>h2{font-size:35px;margin-bottom:35px}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.feature{background:#fff;border:1px solid var(--line);border-radius:18px;padding:30px}.feature-number{display:block;color:var(--accent);font-size:12px;font-weight:700;margin-bottom:35px}.feature p{color:var(--muted);font-size:14px}.honest-note{margin-top:40px;border-left:3px solid var(--accent);padding:5px 20px}.honest-note p{font-size:13px;color:var(--muted);margin:6px 0}.public-footer{max-width:1300px;margin:auto;padding:30px 40px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-size:11px;color:var(--muted)}.shell{display:flex;min-height:100vh}.sidebar{position:fixed;top:0;bottom:0;left:0;width:250px;border-right:1px solid var(--line);background:#fff;padding:32px 23px;display:flex;flex-direction:column}.sidebar .logo{font-size:21px}.workspace-label{font-size:9px;letter-spacing:1.5px;color:var(--muted);margin-top:48px}.workspace-title{font-size:13px;margin:7px 0 25px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.sidebar nav>a{padding:12px 13px;border-radius:9px;font-size:13px;color:var(--muted);display:flex;align-items:center}.sidebar nav>a:hover,.sidebar nav>a[aria-current]{background:color-mix(in srgb,var(--accent) 8%,white);color:var(--accent)}.badge{margin-left:auto;background:var(--accent);color:#fff;border-radius:5px;font-size:10px;padding:0 6px}.sidebar-bottom{margin-top:auto;overflow-wrap:anywhere}.sidebar-bottom>small{display:block;margin-bottom:7px;color:var(--muted)}.sidebar-bottom>a{font-size:10px;color:var(--muted);display:block;margin-top:20px}.text-button{border:0;background:none;color:var(--accent);padding:4px 0;font-size:12px}.danger{color:#b64141}.content{margin-left:250px;width:calc(100% - 250px)}.panel-top{height:75px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding:0 42px;background:#ffffff90;font-size:12px;color:var(--muted)}.content main{padding:38px 42px 70px;max-width:1550px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:32px}.page-heading .eyebrow{margin-bottom:13px}.page-heading p:last-child{margin-bottom:0}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:28px}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px 25px;position:relative;overflow:hidden}.metric:after{content:'';position:absolute;width:90px;height:90px;right:-30px;bottom:-35px;border-radius:50%;background:color-mix(in srgb,var(--accent) 5%,white)}.metric>span{display:block;font-size:12px;color:var(--muted)}.metric>strong{display:block;font-size:36px;letter-spacing:-1px;margin-top:8px}.metric>strong.word{font-size:28px;line-height:1.65}.surface{padding:26px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:25px}.surface-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.surface-heading h2{margin:0}.surface-heading>a{font-size:12px}.filters{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.filters>input{flex:1;min-width:150px}.filters>select{width:auto;min-width:150px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px;text-align:left}th{color:var(--muted);font-size:10px;letter-spacing:.5px;padding:12px;background:#f8f9fc}td{padding:17px 12px;border-bottom:1px solid var(--line)}td small{display:block;color:var(--muted);margin-top:5px;font-size:11px}.empty{text-align:center;padding:40px 20px;color:var(--muted)}.empty>span{font-size:33px;color:var(--accent);display:block;margin-bottom:14px}.empty h3{color:var(--ink);margin-bottom:8px}.empty p{font-size:13px;margin-bottom:0}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.small-record{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.small-record strong{color:var(--ink)}.small-record small{display:block;color:var(--muted);font-size:11px}.source-line{font-size:11px;color:var(--muted);margin:12px 0}.record{display:flex;align-items:center;gap:20px;color:var(--ink);padding:22px 0;border-bottom:1px solid var(--line)}.record>div{flex:1}.record h3{font-size:15px;margin:4px 0 7px}.record p,.record small{font-size:12px;color:var(--muted);margin:0}.record-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:44px;background:color-mix(in srgb,var(--accent) 8%,white);color:var(--accent);font-size:22px;border-radius:11px}.form-card{max-width:650px;padding:32px;background:#fff;border:1px solid var(--line);border-radius:20px}.form-card form p{margin:0 0 19px}.form-card label{display:block;font-weight:650;font-size:12px;margin-bottom:7px}input,select,textarea{padding:11px 13px;border:1px solid #d6dce6;border-radius:8px;background:#fff;color:var(--ink);width:100%;min-height:44px}textarea{resize:vertical}input:hover,select:hover,textarea:hover{border-color:#9da9bd}.helptext{display:block;font-size:11px;color:var(--muted);margin-top:7px}.helptext ul{margin:0;padding-left:18px}.errorlist{color:#b64141;font-size:12px;padding-left:20px}.error,.notice{padding:14px 18px;border-radius:10px;background:#fff6df;border:1px solid #f3dfaf;font-size:13px;margin-bottom:25px;color:#785922}.error{background:#fff0f0;color:#a53535;border-color:#f0caca}.auth-wrap{display:flex;justify-content:center;padding:60px 25px 100px}.auth-wrap .form-card{width:100%;max-width:490px}.auth-wrap h1{font-size:32px}.auth-wrap .button{width:100%}.auth-wrap small{color:var(--muted)}.back-link{display:inline-block;font-size:12px;margin-bottom:22px}.details{display:grid;grid-template-columns:1fr 1.5fr;gap:12px 20px;font-size:13px;margin-bottom:25px}.details dt{color:var(--muted)}.details dd{margin:0;overflow-wrap:anywhere}.long-title{font-size:29px;line-height:1.3;max-width:1050px}.parcel-layout{display:grid;grid-template-columns:1.45fr 1fr;gap:25px}.map-surface{padding:15px}#parcel-map{height:480px;border-radius:12px;background:#ecf1ed}.alert-record{display:flex;justify-content:space-between;gap:25px;padding:24px 0;border-bottom:1px solid var(--line)}.alert-record h2{font-size:17px;margin:12px 0 8px}.alert-record p,.alert-record small{font-size:12px;color:var(--muted)}.policy{max-width:850px;margin:50px auto 90px;padding:0 30px}.policy h2{margin-top:32px}.policy p,.policy li{color:var(--muted);font-size:14px}.gruntowizja{--bg:#f5f8f6}.przepisalert{--bg:#f8f7fc}@media(max-width:1100px){.hero{gap:35px;padding-top:50px}.hero h1{font-size:48px}.sidebar{width:220px;padding:30px 18px}.content{margin-left:220px;width:calc(100% - 220px)}.content main{padding:30px 25px}.panel-top{padding:0 25px}.page-heading{align-items:flex-start}.page-heading h1{font-size:30px}.parcel-layout{grid-template-columns:1fr}}@media(max-width:760px){.public-header{padding:20px;height:auto}.public-header .logo{font-size:20px}.public-header nav{gap:12px}.public-header nav>a:not(.button){display:none}.hero{grid-template-columns:1fr;padding:50px 22px 65px;gap:50px;min-height:0}.hero h1{font-size:47px;letter-spacing:-2px}.hero-art{padding:15px 5px}.art-card{transform:none}.features{padding:45px 22px}.features>h2{font-size:29px}.feature-grid{grid-template-columns:1fr;gap:15px}.feature-number{margin-bottom:18px}.public-footer{padding:25px 22px;flex-direction:column;gap:8px}.sidebar{position:static;width:100%;padding:16px 20px;border-bottom:1px solid var(--line);border-right:0}.sidebar .logo{font-size:19px}.sidebar .mark{width:30px;height:30px;font-size:19px}.workspace-label,.workspace-title,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;overflow-x:auto;margin-top:12px;gap:4px}.sidebar nav>a{font-size:11px;white-space:nowrap;padding:8px 10px}.shell{display:block}.content{margin:0;width:100%}.panel-top{height:50px;padding:0 20px;font-size:10px}.content main{padding:25px 18px 60px}.page-heading{flex-direction:column;gap:18px;margin-bottom:24px}.page-heading h1{font-size:30px}.page-heading .button{width:100%}.metrics{gap:9px}.metric{padding:16px 12px}.metric>span{font-size:10px;line-height:1.4;min-height:28px}.metric>strong{font-size:28px}.metric>strong.word{font-size:22px}.surface{padding:20px 16px;border-radius:14px}.surface-heading{gap:10px}.surface-heading h2{font-size:17px}.bottom-grid{grid-template-columns:1fr;gap:0}.form-card{padding:25px 20px}.filters{gap:8px}.filters>input{flex-basis:100%}.record{gap:12px}.record h3{font-size:14px}.record-icon{width:31px;height:38px}.alert-record{flex-direction:column}.details{grid-template-columns:1fr 1fr;font-size:12px}#parcel-map{height:350px}.long-title{font-size:24px}.lead{font-size:16px}.actions{align-items:flex-start;flex-direction:column;gap:18px}.policy{margin-top:30px}.auth-wrap{padding-top:35px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
input[type=checkbox]{width:20px;height:20px;min-height:0;vertical-align:middle;margin-right:8px}

#wms-controls{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0;padding:15px;border:1px solid #d7e0dc;border-radius:10px}#wms-controls label{font-size:13px}#wms-controls input{width:auto;display:inline;margin:0}

.radar-result{padding:22px 0;border-bottom:1px solid #dce4e9}.legal-text,.diff-lines{overflow-wrap:anywhere;line-height:1.7}.diff-lines{font-family:monospace;font-size:13px}.diff-add{background:#e4f5e9;color:#12552b}.diff-remove{background:#fce5e5;color:#852222}.diff-lines>div{white-space:pre-wrap;padding:4px 8px}

.api-secret{display:block;overflow-wrap:anywhere;padding:18px;background:#eff5f4;border-radius:10px}

.surface code{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}.surface h1,.radar-result h3{overflow-wrap:anywhere}.surface{min-width:0}

/* Production workspace tools */
.technical,time,.details dd,.source-line{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums}
.view-switch{display:flex;gap:6px;margin:20px 0}.view-switch a{padding:10px 16px;border-radius:10px;border:1px solid #d9e2e4}.view-switch [aria-current=page]{background:#163d40;color:#fff}
.kanban{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.kanban-column{background:#f2f5f6;border-radius:18px;padding:14px;min-height:300px;border:2px solid transparent}.kanban-column>header{display:flex;justify-content:space-between;align-items:center;padding:0 4px 12px}.kanban-column h3{font-size:16px;margin:6px 0}.task-card{background:#fff;border:1px solid #dce4e6;border-radius:14px;padding:16px;margin:0 0 12px;box-shadow:0 3px 12px #183b4010;overflow-wrap:anywhere}.task-card[draggable]{cursor:grab}.task-card p{font-size:13px;color:#596970}.task-card select{max-width:100%;font-size:13px}.card-meta{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px}.task-badges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.priority-badge,.tag-badge{padding:4px 8px;font-size:11px;border-radius:20px;background:#edf1f3;color:#405963}.priority-badge.critical{color:#972c3d;background:#ffeaee}.tag-badge{background:#eef0ff;color:#4b5087}.avatar{display:inline-grid;place-items:center;width:30px;height:30px;flex-shrink:0;background:#dcebea;border:2px solid #fff;color:#225b60;border-radius:50%;font-size:12px;font-weight:800;vertical-align:middle;margin-right:6px}.drop-target{border-color:#399f95}.dragging{opacity:.45}.board-empty{font-size:13px;color:#63727c;padding:18px}.legal-timeline{list-style:none;padding:12px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:0}.legal-timeline li{border-top:2px solid #cbd8d7;padding:22px 16px 6px;position:relative;display:flex;flex-direction:column;gap:8px}.timeline-dot{position:absolute;top:-7px;width:12px;height:12px;border-radius:50%;background:#257c72;box-shadow:0 0 0 5px #ecf4f2}.radar-empty{display:flex;gap:24px;align-items:center;padding:28px;background:#f5f8f7;border-radius:16px}.radar-empty svg{width:100px;flex-shrink:0;fill:none;stroke:#599288;stroke-width:2}.radar-empty p{max-width:450px}
.map-workspace{position:relative;display:block;height:calc(100dvh - 160px);min-height:650px;border-radius:24px;overflow:hidden;background:#19352f}.map-workspace .map-surface{position:absolute;inset:0;margin:0;padding:0;border:0;border-radius:0}.map-workspace #parcel-map{width:100%;height:100%}.map-workspace .map-surface>p,.map-workspace #wms-controls{position:absolute;z-index:450;left:20px;max-width:310px;background:#fffffff2;backdrop-filter:blur(18px);border:1px solid #ffffff90;border-radius:14px;padding:12px;box-shadow:0 6px 30px #0002}.map-workspace .map-surface>.source-line{bottom:6px;font-size:10px}.map-workspace #wms-controls{top:72px;font-size:12px}.map-workspace .map-surface>.muted:not(#map-status){bottom:65px;font-size:10px}.map-workspace #map-status{left:350px;bottom:8px;max-width:450px;font-size:10px}.map-workspace>section:last-child{position:absolute;z-index:450;right:20px;top:20px;bottom:20px;width:340px;overflow:auto;background:#fffffff0;backdrop-filter:blur(18px);box-shadow:0 12px 45px #0003;border:1px solid #ffffffa0;border-radius:20px;margin:0;padding:24px}.map-workspace .details{grid-template-columns:1fr}.map-workspace h2{font-size:20px}.map-workspace h3{font-size:15px}.map-workspace p,.map-workspace li{font-size:12px}
@media(min-width:1100px){body[data-product=gruntowizja] .content:has(.map-workspace){width:calc(100% - 240px)}}
@media(max-width:850px){.kanban{grid-template-columns:1fr}.legal-timeline{grid-template-columns:1fr}.legal-timeline li{border-top:0;border-left:2px solid #cbd8d7;padding:0 0 28px 24px}.timeline-dot{top:0;left:-7px}.radar-empty{flex-direction:column;align-items:start}.map-workspace{height:auto;min-height:100dvh;padding-top:70dvh;overflow:visible;background:transparent}.map-workspace .map-surface{height:70dvh;border-radius:18px;overflow:hidden}.map-workspace>section:last-child{position:relative;inset:auto;width:100%;max-height:none;margin-top:14px}.map-workspace #wms-controls{left:10px;top:64px;max-width:225px;padding:8px}.map-workspace .map-surface>.muted:not(#map-status){display:none}.map-workspace #map-status{left:10px;bottom:50px;max-width:calc(100% - 20px)}.map-workspace .map-surface>.source-line{left:10px;max-width:calc(100% - 20px)}}

.kanban-cards{max-height:65dvh;overflow-y:auto;scrollbar-width:thin;padding:2px}.drag-handle{display:block;text-align:right;cursor:grab;color:#718898;font-size:22px;line-height:1}.map-expand{position:absolute;top:14px;left:60px;z-index:460;padding:10px 14px;background:#fffffff0;color:#194039;border:1px solid #fff;box-shadow:0 4px 20px #0002;border-radius:12px}.map-workspace.is-fullscreen{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;min-height:0!important;z-index:1000!important;border-radius:0!important;padding:0!important;overflow:hidden!important}.map-workspace.is-fullscreen .map-surface{height:100dvh;border-radius:0}.map-workspace.is-fullscreen>section:last-child{position:absolute;top:20px;bottom:20px;right:20px;margin:0;width:340px;max-height:none}
@media(max-width:850px){.kanban-cards{max-height:55dvh}.map-workspace.is-fullscreen>section:last-child{top:auto;bottom:12px;left:12px;right:12px;width:auto;max-height:35dvh}.map-workspace.is-fullscreen #map-status{bottom:calc(35dvh + 28px)}.map-workspace.is-fullscreen .source-line{bottom:calc(35dvh + 65px)}.map-expand{font-size:11px;left:55px}}

@media(max-width:760px){.sidebar nav{min-width:0;max-width:100%}}

.radar-result{min-width:0;overflow-wrap:anywhere}.radar-result p{overflow-wrap:anywhere}
