.sector-section{margin:30px 0 34px;padding:24px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 92%,var(--orange)),var(--surface));box-shadow:var(--shadow)}
.sector-section-top{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.sector-section-top h2{font-size:clamp(22px,2.2vw,30px);line-height:1.45;margin:3px 0}
.sector-section-top p{margin:0;color:var(--muted);font-size:12px}
.sector-range{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}
.sector-range button{min-height:36px;padding:6px 11px;border:1px solid var(--line-2);border-radius:9px;background:var(--surface-2);color:var(--text);font:inherit;font-size:11px;cursor:pointer;transition:background .2s,transform .2s}
.sector-range button:hover{transform:translateY(-2px);border-color:var(--orange)}
.sector-range button[aria-pressed=true]{background:var(--accent-fill);border-color:var(--accent-fill);color:var(--accent-ink);font-weight:800}
.sector-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.sector-card{display:flex;flex-direction:column;min-width:0;min-height:184px;text-align:right;text-decoration:none;padding:16px;border:1px solid var(--line-2);border-radius:15px;background:var(--surface-2);color:var(--text);font:inherit;cursor:pointer;overflow:hidden;box-shadow:inset 0 1px #ffffff12;transition:transform .23s,border-color .23s,box-shadow .23s,background .23s}
.sector-card:hover,.sector-card.selected{transform:translateY(-3px);border-color:var(--accent-fill);box-shadow:0 12px 26px #07132225;background:color-mix(in srgb,var(--surface-2) 89%,var(--orange))}
.sector-card-head{display:flex;align-items:center;justify-content:space-between}
.sector-card-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:color-mix(in srgb,var(--orange) 18%,transparent);color:var(--green)}
.sector-card-icon svg{width:18px;height:18px}
.sector-card-index{color:var(--dim);font-size:11px;font-variant-numeric:tabular-nums}
.sector-card h3{font-size:14px;line-height:1.6;min-height:43px;margin:14px 0 10px;overflow-wrap:anywhere}
.sector-card-stats{display:flex;gap:13px;flex-wrap:wrap;color:var(--muted);font-size:10px}
.sector-card-stats strong{color:var(--text);font-size:16px;margin-inline-end:3px}
.sector-card-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto;padding-top:9px;color:var(--green);font-size:10px}
.sector-card-foot .down,.sector-profile-kpis .down{color:var(--muted)}
.sector-card-foot svg{width:47px;height:24px;flex:none}
.sector-card-foot polyline,.sector-trend polyline{fill:none;stroke:var(--orange);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.sector-no-trend{font-size:9px;color:var(--dim)}
.sector-placeholder{cursor:default;opacity:.75}
.sector-placeholder h3{margin-top:16px}.sector-shimmer{height:22px;border-radius:5px;margin-top:auto;background:linear-gradient(90deg,var(--surface-3),color-mix(in srgb,var(--surface-3) 75%,var(--orange)),var(--surface-3));background-size:200% 100%;animation:sector-shimmer 1.5s linear infinite}
@keyframes sector-shimmer{to{background-position:-200% 0}}
.sector-profile{margin-top:15px;border:1px solid var(--line-2);border-radius:17px;background:var(--surface);overflow:hidden;animation:sector-enter .22s ease-out}
@keyframes sector-enter{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.sector-profile-head{display:flex;justify-content:space-between;align-items:start;padding:19px 22px;background:radial-gradient(circle at 12% 8%,#ff9b5128,transparent 44%),linear-gradient(115deg,#15334f,#102942);color:#f5f8fc}
.sector-profile-head h3{font-size:25px;margin:4px 0}.sector-profile-head p{font-size:11px;color:#cfdae6;margin:0}.sector-profile-head .eyebrow{color:#ffbd7a}
.sector-close{display:grid;place-items:center;width:34px;height:34px;border:1px solid #ffffff70;border-radius:9px;background:#ffffff12;color:#fff;cursor:pointer}.sector-close svg{width:17px}
.sector-profile-kpis{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}.sector-profile-kpis>div{padding:15px 20px;border-inline-end:1px solid var(--line)}.sector-profile-kpis>div:last-child{border:0}.sector-profile-kpis span{display:block;color:var(--muted);font-size:10px}.sector-profile-kpis strong{display:block;font-size:23px;margin-top:3px;color:var(--green)}
.sector-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}.sector-profile-grid>section{padding:15px;border:1px solid var(--line);border-radius:12px;background:var(--surface-2);min-width:0}.sector-profile-grid h4{font-size:13px;margin:0 0 15px}
.sector-trend{height:88px;display:flex;align-items:center}.sector-trend svg{width:100%;height:88px}.sector-bar{display:grid;grid-template-columns:minmax(100px,1fr) minmax(50px,1fr) auto;gap:9px;align-items:center;margin:9px 0;font-size:10px}.sector-bar>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sector-bar strong{color:var(--green);font-size:10px}.sector-bar-track{height:5px;border-radius:5px;background:var(--surface-3);overflow:hidden}.sector-bar-track i{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,var(--orange),var(--amber))}
.sector-fixed{display:flex;align-items:center;gap:22px;margin:0 16px;padding:15px 18px;border:1px solid var(--line-2);border-radius:11px;background:color-mix(in srgb,var(--surface-2) 88%,var(--orange))}.sector-fixed>div{flex:1}.sector-fixed p{font-size:10px;color:var(--muted);margin:3px 0 0}.sector-fixed strong{font-size:20px;white-space:nowrap}.sector-fixed small{font-size:10px;color:var(--muted);font-weight:500}
.sector-method{font-size:10px;color:var(--muted);line-height:1.9;margin:10px 16px 15px}.sector-profile-grid .sector-method{margin:12px 0 0}.sector-error{padding:26px;text-align:center;color:var(--muted)}.sector-error button{margin-inline-start:10px;padding:8px 12px;border:1px solid var(--line-2);border-radius:8px;background:var(--surface-2);color:var(--text);cursor:pointer}
@media(max-width:1300px){.sector-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.sector-section-top{display:block}.sector-range{justify-content:flex-start;margin-top:14px}.sector-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.sector-section{padding:15px;margin:22px 0}.sector-range{overflow-x:auto;flex-wrap:nowrap;justify-content:flex-start;padding-bottom:5px}.sector-range button{white-space:nowrap;min-height:40px}.sector-grid{gap:8px}.sector-card{min-height:175px;padding:12px}.sector-card h3{font-size:12px}.sector-card-stats{gap:7px}.sector-card-stats strong{font-size:14px}.sector-card-foot svg{width:34px}.sector-profile-grid{grid-template-columns:1fr}.sector-profile-kpis>div{padding:11px}.sector-profile-kpis strong{font-size:17px}.sector-fixed{flex-wrap:wrap;gap:10px}.sector-fixed>div{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.sector-card,.sector-range button{transition:none}.sector-profile,.sector-shimmer{animation:none}}

/* Editorial photography gives each field a distinct visual identity. */
.sector-card:not(.sector-placeholder){padding:0;min-height:238px;background:var(--surface);box-shadow:0 10px 25px #091d3115}
.sector-card-photo{position:relative;display:flex;align-items:flex-start;justify-content:space-between;height:108px;padding:12px;background-image:url('/assets/sector-photo-atlas-v2.jpg');background-size:500% 200%;background-position:var(--photo-x) var(--photo-y);background-repeat:no-repeat;overflow:hidden}
.sector-card-photo:after{content:"";position:absolute;inset:auto 0 0;height:3px;background:linear-gradient(90deg,var(--orange),var(--amber))}
.sector-card-photo .sector-card-icon{width:36px;height:36px;border:1px solid #f7bc87;background:#fffffff0;color:#bf5b1e;box-shadow:0 3px 12px #6b351d25;backdrop-filter:blur(8px)}
.sector-card-photo .sector-card-index{display:grid;place-items:center;min-width:29px;height:29px;padding:0 5px;border:1px solid #f7bc87;border-radius:8px;background:#fffffff0;color:#a94917;font-weight:800;box-shadow:0 3px 12px #6b351d25}
.sector-card-body{display:flex;flex-direction:column;flex:1;padding:12px 14px 14px;min-width:0}
.sector-card-body h3{min-height:42px;margin:0 0 5px;font-size:14px;line-height:1.5}
.sector-card-body .sector-card-stats{gap:10px}
.sector-card-body .sector-card-foot{margin-top:auto}
.sector-card:not(.sector-placeholder):hover .sector-card-photo{filter:saturate(1.08)}
@media(max-width:580px){.sector-card:not(.sector-placeholder){min-height:224px}.sector-card-photo{height:90px}.sector-card-body{padding:10px}.sector-card-body h3{font-size:12px;min-height:37px}.sector-card-body .sector-card-stats{gap:5px}}
