mp_tpu_TESTES / frontend /src /styles.css
Guilherme Silberfarb Costa
Add fullscreen mode for app views
dc65471
Raw History Blame Contribute Delete
27.3 kB
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Franklin:wght@600;700&display=swap');
:root {
font-family: "DM Sans", system-ui, sans-serif;
color: #233229;
background: #f3f1e9;
font-synthesis: none;
--green: #345b43;
--green-dark: #254231;
--cream: #f3f1e9;
--paper: #fffdf8;
--orange: #c8673e;
--line: #dcd9ce;
--muted: #718077;
--shadow: 0 18px 48px rgba(34, 52, 41, .1);
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; min-height: 100vh; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; }
.topbar {
height: 82px; padding: 0 clamp(22px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between;
background: var(--green-dark); color: white; border-bottom: 4px solid var(--orange); gap: 24px;
}
.identity { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; font-family: "Libre Franklin"; font-weight: 700; letter-spacing: -.05em; }
.identity h1 { font-family: "Libre Franklin"; font-size: clamp(16px, 2vw, 21px); margin: 2px 0 0; }
.eyebrow { margin: 0; color: #c39c7c; text-transform: uppercase; letter-spacing: .13em; font-size: 10px; font-weight: 700; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.revision { font-size: 12px; color: #c5d1ca; margin-right: 6px; }
.content { width: min(1500px, calc(100% - 44px)); margin: 0 auto; padding: 36px 0 56px; }
.view-tabs { display: inline-flex; gap: 5px; padding: 5px; margin-bottom: 28px; border: 1px solid #d0d3ca; border-radius: 12px; background: #e1e2da; box-shadow: inset 0 1px 0 rgba(255,255,255,.65); }
.view-tabs button { min-height: 40px; padding: 0 17px; border: 0; border-radius: 8px; background: transparent; color: #516057; font-weight: 700; }
.view-tabs button:hover { color: var(--green-dark); }
.view-tabs button.active { background: var(--green-dark); color: white; box-shadow: 0 3px 9px rgba(26, 52, 35, .3); }
.view-tabs small { margin-left: 5px; color: #89948c; font-size: 10px; }
.view-tabs button.active small { color: #d7e3d8; }
.hero-panel { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 24px; }
.hero-panel h2, .section-heading h2 { font-family: "Libre Franklin"; font-size: clamp(27px, 4vw, 42px); line-height: 1.05; margin: 7px 0 8px; letter-spacing: -.035em; }
.hero-copy { color: var(--muted); margin: 0; max-width: 650px; font-size: 14px; }
.hero-actions { display: flex; flex: 1; align-items: end; justify-content: flex-end; gap: 12px; }
.fullscreen-button { height: 36px; padding: 0 12px; border: 1px solid #bdcabc; border-radius: 8px; background: #f7faf6; color: #355540; font-size: 11px; font-weight: 700; white-space: nowrap; }
.fullscreen-button:hover { border-color: #6e9576; background: #eaf3e9; }
.map-summary { display: flex; flex: 1; flex-wrap: wrap; justify-content: flex-end; align-items: stretch; margin: 0; color: #637168; }
.map-summary > span { display: grid; grid-template-columns: auto auto; align-content: center; column-gap: 8px; min-height: 38px; padding: 0 18px; border-left: 1px solid #d8ddd6; }
.map-summary > span:first-child { padding-left: 0; border-left: 0; }
.map-summary b { grid-column: 1 / -1; color: #7c887f; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.map-summary strong { color: var(--green-dark); font-family: "Libre Franklin"; font-size: 16px; line-height: 1.2; }
.map-summary small { align-self: end; color: #87928a; font-size: 9px; white-space: nowrap; }
.content:fullscreen { width: 100%; min-height: 100vh; overflow: auto; padding: 28px 36px 48px; background: var(--cream); }
.content:fullscreen .map-scroll { max-height: calc(100vh - 250px); }
.map-workspace { display: grid; grid-template-columns: 0 minmax(0, 1fr); column-gap: 0; min-width: 0; transition: grid-template-columns .22s ease, column-gap .22s ease; }
.map-workspace.sidebar-open { grid-template-columns: minmax(280px, 320px) minmax(0, 1fr); column-gap: 14px; }
.side-menu, .map-panel, .table-panel { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.side-menu { position: relative; z-index: 1; display: flex; min-width: 0; flex-direction: column; box-shadow: 0 18px 48px rgba(25, 42, 31, .16); transition: opacity .18s ease, transform .18s ease; }
.sidebar-closed .side-menu { pointer-events: none; opacity: 0; transform: translateX(-18px); border-width: 0; }
.map-panel { min-width: 0; }
.side-menu-heading { display: flex; align-items: center; justify-content: space-between; padding: 20px 18px 10px; }
.side-menu-heading h2 { margin: 5px 0 0; font-family: "Libre Franklin"; font-size: 24px; letter-spacing: -.03em; }
.side-add { width: 32px; height: 32px; border: 1px solid #c5d0c6; border-radius: 8px; background: #f7faf6; color: var(--green); font-size: 22px; line-height: 1; }
.side-menu-help { margin: 0; padding: 0 18px 14px; color: var(--muted); font-size: 11px; line-height: 1.45; border-bottom: 1px solid var(--line); }
.inspector-empty, .inspector-content { padding: 18px; overflow: auto; }
.inspector-empty { display: grid; justify-items: center; text-align: center; color: var(--muted); }
.inspector-symbol { width: 42px; height: 42px; display: grid; place-items: center; margin: 10px 0 12px; border: 1px solid #cad6cc; border-radius: 50%; color: var(--green); font-size: 26px; }
.inspector-empty strong { color: #314337; font-size: 14px; }
.inspector-empty p { margin: 8px 0 18px; font-size: 11px; line-height: 1.5; }
.inspector-summary { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; border: 1px solid #dce2db; border-radius: 8px; background: #fafcf9; }
.inspector-summary span { padding: 10px 4px; border-left: 1px solid #dce2db; color: var(--green-dark); font-family: "Libre Franklin"; font-size: 16px; }
.inspector-summary span:first-child { border-left: 0; }
.inspector-summary small { display: block; margin-top: 3px; color: var(--muted); font-family: "DM Sans"; font-size: 9px; }
.inspector-create { width: 100%; }
.inspector-content { display: grid; gap: 14px; }
.inspector-identity { display: grid; grid-template-columns: 9px minmax(0, 1fr); align-items: center; gap: 10px; }
.inspector-identity > i { align-self: stretch; min-height: 40px; border-radius: 5px; }
.inspector-identity strong, .inspector-identity span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inspector-identity strong { color: #2b3b30; font-size: 14px; }
.inspector-identity span { margin-top: 3px; color: var(--muted); font-size: 10px; }
.inspector-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inspector-metrics > div, .inspector-difference { padding: 10px; border: 1px solid #dfe4dc; border-radius: 8px; background: #fafcf9; }
.inspector-metrics span, .inspector-difference span, .inspector-data > span, .inspector-members > span { display: block; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.inspector-metrics strong { display: block; margin-top: 4px; color: var(--green-dark); font-size: 13px; }
.inspector-difference { display: flex; justify-content: space-between; align-items: center; }
.inspector-difference strong { font-size: 13px; }
.inspector-data { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.inspector-data > span { padding: 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fffefa; }
.inspector-data strong { display: block; margin-top: 4px; color: #45554a; font-size: 11px; }
.inspector-related { display: grid; grid-template-columns: 7px minmax(0, 1fr) 14px; align-items: center; gap: 8px; padding: 10px; border: 1px solid #dce4dc; border-radius: 8px; background: #f5f9f5; color: #405747; text-align: left; font-size: 10px; }
.inspector-related i { width: 7px; height: 28px; border-radius: 4px; }
.inspector-related > span { min-width: 0; }
.inspector-related small, .inspector-related strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inspector-related small { color: #718077; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.inspector-related strong { margin-top: 2px; color: #314a38; font-size: 11px; }
.inspector-related b { font-size: 17px; font-weight: 400; }
.inspector-note { margin: 0; padding: 10px; border-left: 3px solid #c6d8c9; background: #f4f8f3; color: #627269; font-size: 10px; line-height: 1.45; }
.inspector-members { display: grid; gap: 4px; }
.inspector-members > span { margin-bottom: 4px; }
.inspector-members button { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 8px 5px; border: 0; border-bottom: 1px solid #e6e8e2; background: transparent; color: #425047; text-align: left; font-size: 11px; }
.inspector-members button:hover { background: #eaf3e9; box-shadow: inset 3px 0 0 var(--green); color: #183c27; }
.inspector-members button i { width: 7px; height: 20px; border-radius: 3px; }
.inspector-members button small { color: var(--muted); font-size: 9px; }
.inspector-members p { margin: 0; color: var(--muted); font-size: 10px; }
.move-mode-panel { display: grid; gap: 10px; padding: 18px; }
.move-mode-panel p { margin: 0 0 4px; color: #536b5b; font-size: 11px; line-height: 1.5; }
.move-mode-panel button { width: 100%; }
.move-space-button { height: 40px; border: 1px solid #7ba487; border-radius: 8px; background: #e5f1e6; color: #204c30; font-weight: 700; font-size: 13px; }
.move-space-button:hover { border-color: #426d4d; background: #d4e9d6; }
.move-space-button.cancel { border-color: #d8b796; background: #fff6ea; color: #825333; }
.move-space-button.cancel:hover { border-color: #b9794b; background: #ffeed9; }
.inspector-edit { width: 100%; }
.side-menu-list { overflow: auto; padding: 8px; }
.side-tpu-item { width: 100%; display: grid; grid-template-columns: 8px minmax(0, 1fr) 16px; align-items: center; gap: 9px; padding: 10px; border: 0; border-radius: 8px; color: #2b3a30; background: transparent; text-align: left; }
.side-tpu-item:hover { background: #edf2ec; }
.side-tpu-item i { width: 7px; height: 32px; border-radius: 4px; }
.side-tpu-item strong, .side-tpu-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-tpu-item strong { font-size: 11px; }
.side-tpu-item small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.side-tpu-item b { color: #77907e; font-size: 20px; font-weight: 400; }
.side-menu-empty { margin: 22px 8px; color: var(--muted); text-align: center; font-size: 11px; }
.side-menu-section { margin-top: auto; padding: 12px 14px; border-top: 1px solid var(--line); background: #fffaf0; }
.side-menu-section > span { color: #8c7141; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.side-menu-section button { width: 100%; display: flex; justify-content: space-between; padding: 7px 0; border: 0; border-bottom: 1px solid #eee4d2; background: transparent; color: #66583b; font-size: 11px; text-align: left; }
.side-menu-section button:last-of-type { border-bottom: 0; }
.side-menu-section small { color: #a18f6d; }
.side-menu-section p { margin: 7px 0 0; color: #8e805f; font-size: 10px; }
.map-toolbar { min-height: 64px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.map-sidebar-trigger { height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid #c9d3ca; border-radius: 8px; background: #f6faf5; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.map-sidebar-trigger:hover { background: #eaf2e9; }
.search-wrap { min-width: 220px; flex: 1; max-width: 390px; position: relative; }
.search-wrap span { position: absolute; left: 12px; top: 8px; font-size: 21px; color: #839087; }
.search-wrap input, .map-toolbar select, .member-search { width: 100%; height: 40px; border: 1px solid #d4d6ce; background: white; border-radius: 8px; padding: 0 12px; color: inherit; outline: none; }
.search-wrap input { padding-left: 38px; }
.search-wrap input:focus, .map-toolbar select:focus, .member-search:focus, .field input:focus, .field select:focus { border-color: #6c8c78; box-shadow: 0 0 0 3px rgba(52,91,67,.1); }
.map-toolbar select { width: 170px; }
.switch-label { margin-left: auto; display: flex; align-items: center; gap: 7px; color: #526159; font-size: 13px; white-space: nowrap; cursor: pointer; }
.switch-label input { position: absolute; opacity: 0; }
.switch-label span { width: 34px; height: 19px; border-radius: 20px; background: #b6bdb8; position: relative; transition: .2s; }
.switch-label span::after { content: ""; position: absolute; width: 13px; height: 13px; border-radius: 50%; left: 3px; top: 3px; background: white; transition: .2s; }
.switch-label input:checked + span { background: var(--green); }
.switch-label input:checked + span::after { transform: translateX(15px); }
.zoom-control { height: 40px; display: flex; border: 1px solid #d4d6ce; border-radius: 8px; overflow: hidden; background: white; }
.zoom-control button { width: 34px; border: 0; background: transparent; color: var(--green); font-size: 19px; }
.zoom-control output { min-width: 50px; display: grid; place-items: center; border-inline: 1px solid #e2e2dc; font-size: 11px; color: var(--muted); }
.primary-button, .secondary-button, .danger-button { border-radius: 8px; height: 40px; padding: 0 16px; border: 1px solid transparent; font-weight: 700; font-size: 13px; white-space: nowrap; }
.primary-button { background: var(--green); color: white; }
.primary-button:hover { background: var(--green-dark); }
.secondary-button { border-color: rgba(255,255,255,.35); background: transparent; color: inherit; }
.modal-card .secondary-button { border-color: #ccd1cc; color: #45534b; }
.danger-button { border-color: #e2b9ad; background: #fff7f4; color: #9b3d26; }
.button-link { display: inline-flex; align-items: center; text-decoration: none; }
button:disabled { opacity: .6; cursor: wait; }
.map-scroll { overflow: auto; background: #dad8d0; max-height: min(72vh, 860px); }
.map-shell { position: relative; min-width: 720px; margin: 0 auto; transition: width .2s ease; }
.market-map { width: 100%; height: auto; display: block; touch-action: none; user-select: none; background: white; }
.space-marker { cursor: pointer; transition: opacity .15s ease; }
.space-marker.movable { cursor: grab; }
.space-marker.movable:active { cursor: grabbing; }
.space-marker.dimmed { opacity: .65; }
.space-marker rect { vector-effect: non-scaling-stroke; stroke-width: 1.5px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.16)); transition: stroke-width .12s ease, filter .12s ease; }
.space-marker:hover rect, .space-marker.highlighted rect { stroke: #173b26; stroke-width: 4px; filter: drop-shadow(0 3px 4px rgba(12,42,25,.38)); }
.space-marker text { font-size: 8px; font-weight: 700; pointer-events: none; fill: #27352d; transition: font-size .12s ease, fill .12s ease; }
.space-marker:hover text, .space-marker.highlighted text { font-size: 9px; fill: #102b1a; }
.tpu-visual { transition: opacity .15s ease; }
.tpu-visual.dimmed { opacity: .65; }
.tpu-frame { fill: color-mix(in srgb, var(--tpu-color) 8%, transparent); stroke: var(--tpu-color); stroke-width: 3px; stroke-dasharray: 10 5; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill .12s ease, stroke-width .12s ease, stroke-dasharray .12s ease, filter .12s ease; }
.tpu-visual.highlighted .tpu-frame { fill: color-mix(in srgb, var(--tpu-color) 28%, transparent); stroke-width: 5px; stroke-dasharray: none; filter: drop-shadow(0 2px 3px color-mix(in srgb, var(--tpu-color) 55%, transparent)); }
.tpu-label { font-size: 10px; font-weight: 700; fill: var(--tpu-color); paint-order: stroke; stroke: white; stroke-width: 3px; cursor: pointer; pointer-events: all; transition: font-size .12s ease, stroke-width .12s ease; }
.tpu-visual.highlighted .tpu-label { font-size: 12px; stroke-width: 4px; }
.tpu-link { stroke: var(--tpu-color); stroke-width: 3px; stroke-dasharray: 9 5; vector-effect: non-scaling-stroke; opacity: .84; transition: stroke-width .12s ease, opacity .12s ease, stroke-dasharray .12s ease, filter .12s ease; }
.tpu-link.accessory { stroke-width: 2px; stroke-dasharray: 5 5; }
.tpu-link-hit { cursor: pointer; }
.tpu-visual.highlighted .tpu-link { stroke-width: 5px; stroke-dasharray: none; opacity: 1; filter: drop-shadow(0 1px 2px color-mix(in srgb, var(--tpu-color) 60%, transparent)); }
.tpu-visual.highlighted .tpu-link.accessory { stroke-width: 4px; }
.tpu-link-target { stroke: transparent; stroke-width: 18px; vector-effect: non-scaling-stroke; }
.map-hover-card { position: fixed; z-index: 20; left: var(--hover-x); top: var(--hover-y); width: max-content; max-width: 230px; padding: 9px 11px 10px; transform: translate(-50%, calc(-100% - 12px)); border: 2px solid color-mix(in srgb, var(--hover-color) 60%, #fff); border-left: 5px solid var(--hover-color); border-radius: 8px; background: rgba(255,253,248,.98); box-shadow: 0 10px 24px rgba(22,37,28,.3); color: #314337; pointer-events: none; animation: map-hover-in .12s ease-out; }
.map-hover-card::after { content: ""; position: absolute; left: calc(50% - 5px); bottom: -6px; width: 10px; height: 10px; transform: rotate(45deg); border-right: 1px solid color-mix(in srgb, var(--hover-color) 55%, #fff); border-bottom: 1px solid color-mix(in srgb, var(--hover-color) 55%, #fff); background: #fffdf8; }
.map-hover-card span, .map-hover-card strong, .map-hover-card small { position: relative; z-index: 1; display: block; }
.map-hover-card span { color: var(--hover-color); font-size: 8px; font-weight: 700; letter-spacing: .1em; }
.map-hover-card strong { margin: 2px 0 3px; font-size: 12px; }
.map-hover-card small { color: #637168; font-size: 9px; }
@keyframes map-hover-in { from { opacity: 0; transform: translate(-50%, calc(-100% - 7px)); } to { opacity: 1; transform: translate(-50%, calc(-100% - 12px)); } }
.map-legend { display: flex; gap: 15px; flex-wrap: wrap; padding: 11px 16px; border-top: 1px solid var(--line); color: #68756d; font-size: 11px; }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.map-legend i { width: 9px; height: 9px; border: 1px solid rgba(0,0,0,.16); border-radius: 2px; }
.table-panel { margin-top: 22px; box-shadow: none; }
.section-heading { padding: 22px 24px 18px; display: flex; justify-content: space-between; align-items: center; }
.section-heading h2 { font-size: 27px; margin-bottom: 0; }
.list-toolbar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--line); background: #fbfaf5; }
.list-toolbar .search-wrap { max-width: none; }
.list-toolbar select { width: 190px; height: 40px; border: 1px solid #d4d6ce; border-radius: 8px; background: white; padding: 0 12px; color: inherit; outline: none; }
.list-toolbar select:focus { border-color: #6c8c78; box-shadow: 0 0 0 3px rgba(52,91,67,.1); }
.table-scroll { overflow: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; min-width: 900px; }
th { background: #f1f0ea; padding: 11px 14px; color: #6b776f; font-size: 10px; letter-spacing: .075em; text-transform: uppercase; text-align: right; }
th:first-child, td:first-child { text-align: left; }
td { padding: 13px 14px; border-top: 1px solid #ebe9e1; font-size: 12px; text-align: right; white-space: nowrap; }
.tpu-row, .space-row { transition: background .12s ease, box-shadow .12s ease; }
.tpu-row:hover { background: #eaf3e9; box-shadow: inset 4px 0 0 var(--green); }
.tpu-row td:first-child { display: flex; align-items: center; gap: 8px; }
.expand-button { width: 22px; height: 22px; padding: 0; border: 1px solid #ccd2cc; border-radius: 5px; background: white; color: var(--green); }
.tpu-swatch { width: 8px; height: 25px; border-radius: 3px; }
.text-button { border: 0; background: transparent; color: var(--green); font-weight: 700; padding: 5px; }
.space-row { background: #fdfcf8; color: #5d6a62; }
.space-row:hover { background: #f1f7ef; box-shadow: inset 4px 0 0 #6c8c78; color: #274532; }
.space-row td:first-child { padding-left: 52px; }
.standalone-space-row { cursor: pointer; }
.standalone-space-row td:first-child { padding-left: 14px; color: #314337; }
.spaces-table { min-width: 1190px; }
.tpu-name { display: inline-flex; max-width: 200px; align-items: center; gap: 6px; overflow: hidden; color: #526159; text-overflow: ellipsis; vertical-align: middle; }
.tpu-name i { width: 7px; height: 18px; flex: 0 0 auto; border-radius: 3px; }
.tree-line { display: inline-block; width: 15px; height: 10px; border-left: 1px solid #bdc4bd; border-bottom: 1px solid #bdc4bd; margin-right: 8px; vertical-align: top; }
.type-pill { background: #eceee9; border-radius: 9px; padding: 2px 6px; margin-left: 8px; font-size: 9px; font-weight: 700; }
.technical-reference { color: #4e6755; font-weight: 700; }
.difference-ok { color: #3d7651; font-weight: 700; }
.difference-alert { color: #a14f34; font-weight: 700; }
.unassigned-row { background: #fff8e9; color: #796a42; }
.unassigned-row small { display: block; margin-top: 2px; }
.empty-table-row td { padding: 26px 14px; color: var(--muted); text-align: center; }
.notice { position: fixed; z-index: 20; top: 92px; left: 50%; transform: translateX(-50%); padding: 11px 12px 11px 17px; min-width: 280px; max-width: 90vw; background: #213d2d; color: white; border-radius: 9px; box-shadow: 0 9px 28px rgba(0,0,0,.22); font-size: 13px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.notice button { color: white; border: 0; background: transparent; font-size: 18px; }
.site-footer { display: flex; justify-content: space-between; padding: 20px clamp(22px, 4vw, 64px); color: #77837b; font-size: 11px; border-top: 1px solid #dddcd5; }
.site-footer code { font-size: 10px; }
.modal-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(19,31,23,.65); backdrop-filter: blur(4px); }
.modal-card { width: min(590px, 100%); max-height: min(880px, calc(100vh - 48px)); background: var(--paper); border-radius: 14px; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal-card.wide { width: min(890px, 100%); }
.modal-header { position: sticky; z-index: 2; top: 0; background: var(--paper); display: flex; align-items: flex-start; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-family: "Libre Franklin"; margin: 0; font-size: 24px; }
.modal-header p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.icon-button { border: 0; background: #eeeee8; border-radius: 50%; width: 32px; height: 32px; font-size: 21px; color: #546158; }
.modal-body { padding: 22px 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 11px; color: #67736b; font-weight: 700; }
.field input, .field select { width: 100%; height: 42px; border: 1px solid #d3d5ce; border-radius: 8px; background: white; padding: 0 11px; outline: none; color: #29372f; }
.field input[type="color"] { padding: 4px; }
.span-2 { grid-column: span 2; }
.emphasized-field { background: #eef3ef; padding: 12px; border-radius: 9px; }
.member-section { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 19px; }
.member-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 10px; }
.member-heading h3 { margin: 0; font-size: 15px; }
.member-heading p { margin: 2px 0 0; color: var(--muted); font-size: 11px; }
.member-search { max-width: 260px; }
.member-list { border: 1px solid var(--line); border-radius: 9px; max-height: 260px; overflow: auto; background: white; }
.member-row { padding: 9px 11px; display: grid; grid-template-columns: 18px 10px minmax(80px, 1fr) auto; align-items: center; gap: 8px; border-top: 1px solid #eeece6; cursor: pointer; }
.member-row:first-child { border-top: 0; }
.member-row:hover { background: #f6f6f1; }
.member-row small { color: var(--muted); }
.type-dot { width: 8px; height: 8px; border-radius: 50%; background: #b7bdb8; }
.type-am { background: #d2a742; } .type-dep { background: #75899b; } .type-led { background: #e6c145; }
.empty-inline { padding: 20px; color: var(--muted); text-align: center; font-size: 12px; }
.modal-actions { position: sticky; bottom: 0; display: flex; gap: 9px; padding: 14px 24px; border-top: 1px solid var(--line); background: rgba(255,253,248,.96); }
.action-spacer { flex: 1; }
.loading-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--green); }
.loading-screen .brand-mark { border-color: var(--green); width: 64px; height: 64px; }
@media (max-width: 950px) {
.map-toolbar { flex-wrap: wrap; }
.search-wrap { max-width: none; min-width: 50%; }
.switch-label { margin-left: 0; }
.list-toolbar { flex-wrap: wrap; }
.list-toolbar .search-wrap { min-width: min(100%, 280px); }
}
@media (max-width: 680px) {
.topbar { height: auto; min-height: 82px; padding-block: 13px; align-items: flex-start; }
.identity .eyebrow, .revision { display: none; }
.identity h1 { max-width: 170px; }
.top-actions { flex-wrap: wrap; justify-content: flex-end; }
.top-actions .secondary-button { height: 34px; padding: 0 10px; font-size: 11px; }
.content { width: min(100% - 24px, 1500px); padding-top: 24px; }
.view-tabs { width: 100%; margin-bottom: 22px; }
.view-tabs button { flex: 1; padding: 0 8px; }
.hero-panel { align-items: stretch; flex-direction: column; }
.hero-actions { width: 100%; align-items: stretch; flex-direction: column-reverse; }
.fullscreen-button { align-self: flex-end; }
.map-summary { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 6px 0; }
.map-summary > span { min-height: 42px; padding: 0 10px; }
.map-summary > span:nth-child(odd) { padding-left: 0; border-left: 0; }
.map-summary > span:nth-child(even) { border-left: 1px solid #d8ddd6; }
.search-wrap { min-width: 100%; }
.map-toolbar select { flex: 1; }
.list-toolbar { padding: 10px 12px; }
.list-toolbar .search-wrap { min-width: 100%; }
.list-toolbar select { flex: 1; width: calc(50% - 5px); }
.map-workspace.sidebar-open { grid-template-columns: 1fr; row-gap: 12px; }
.side-menu { max-height: min(54vh, 420px); }
.section-heading { padding: 18px 14px; }
.form-grid { grid-template-columns: 1fr; }
.span-2 { grid-column: span 1; }
.member-heading { align-items: stretch; flex-direction: column; }
.member-search { max-width: none; }
.member-row { grid-template-columns: 18px 10px 1fr; }
.member-row small { grid-column: 3; }
.site-footer { flex-direction: column; gap: 5px; }
}