:root { --bg: #f4f0e8; --bg-alt: #e8dfd2; --panel: rgba(255, 250, 242, 0.82); --panel-border: rgba(71, 52, 28, 0.15); --text: #1d1a16; --muted: #65584a; --accent: #b55d2d; --accent-strong: #8b3c13; --accent-soft: #f2d7c5; --success: #256245; --warning: #a24f2a; --shadow: 0 22px 45px rgba(57, 40, 19, 0.12); --radius-lg: 26px; --radius-md: 18px; --radius-sm: 12px; --rack-unit-height: 38px; --font-display: "Avenir Next", "Segoe UI", sans-serif; --font-body: "IBM Plex Sans", "Segoe UI", sans-serif; } * { box-sizing: border-box; } html, body { margin: 0; min-height: 100%; } body { background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 26%), linear-gradient(160deg, var(--bg) 0%, #eadfce 52%, #efe7dc 100%); color: var(--text); font-family: var(--font-body); } button, input, select { font: inherit; } .app-shell { max-width: 1600px; margin: 0 auto; padding: 32px; } .hero { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.9fr); gap: 24px; margin-bottom: 24px; } .hero__copy, .hero__meta, .panel { background: var(--panel); border: 1px solid var(--panel-border); box-shadow: var(--shadow); backdrop-filter: blur(14px); } .hero__copy { padding: 36px; border-radius: var(--radius-lg); } .hero__copy h1 { margin: 0; font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 0.95; letter-spacing: -0.04em; } .eyebrow { margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.82rem; color: var(--accent-strong); } .hero__lead { max-width: 60ch; color: var(--muted); font-size: 1.05rem; } .hero__meta { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 24px; border-radius: var(--radius-lg); } .meta-card { padding: 18px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.5); } .meta-card__label { display: block; margin-bottom: 6px; color: var(--muted); font-size: 0.84rem; text-transform: uppercase; letter-spacing: 0.12em; } .workspace { display: grid; grid-template-columns: minmax(320px, 420px) minmax(420px, 1fr) minmax(320px, 390px); gap: 24px; align-items: start; } .panel { padding: 24px; border-radius: var(--radius-lg); } .panel__heading h2, .subpanel__header h3 { margin: 0; font-family: var(--font-display); } .panel__heading p { margin: 6px 0 0; color: var(--muted); } .panel--controls, .panel--sidebar { display: grid; gap: 18px; } .field { display: grid; gap: 8px; } .field span { font-size: 0.9rem; color: var(--muted); } .field input, .field select, .subpanel__header button { border: 1px solid rgba(83, 58, 31, 0.14); border-radius: 14px; background: rgba(255, 255, 255, 0.82); padding: 12px 14px; } .field input:focus, .field select:focus { outline: 2px solid rgba(181, 93, 45, 0.24); outline-offset: 1px; } .library-toolbar { display: grid; gap: 14px; } .library { display: grid; gap: 12px; max-height: 780px; overflow: auto; padding-right: 4px; } .component-card, .rack-item, .subpanel, .notice { border: 1px solid rgba(75, 57, 37, 0.12); border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.68); } .component-card { padding: 14px; display: grid; gap: 10px; } .component-card__preview { padding: 10px; border-radius: 14px; background: linear-gradient(180deg, rgba(44, 47, 53, 0.08), rgba(18, 19, 23, 0.02)); } .component-card__header { display: flex; justify-content: space-between; gap: 12px; align-items: start; } .component-card__header strong { display: block; } .chip { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 5px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-strong); font-size: 0.78rem; font-weight: 700; } .component-card__meta { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.84rem; } .component-card button, .subpanel__header button, .rack-item button { cursor: pointer; border: 0; background: var(--accent); color: #fff; border-radius: 12px; padding: 10px 12px; } .component-card button:hover, .subpanel__header button:hover, .rack-item button:hover { background: var(--accent-strong); } .rack-stage { display: grid; gap: 18px; } .rack-summary, .stat-grid { display: grid; gap: 12px; } .rack-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); } .summary-card, .stat-card { padding: 16px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.58); border: 1px solid rgba(75, 57, 37, 0.12); } .summary-card strong, .stat-card strong { display: block; margin-top: 6px; font-size: 1.1rem; } .rack-grid { position: relative; border-radius: 28px; border: 2px solid rgba(42, 34, 24, 0.55); background: linear-gradient(90deg, rgba(9, 11, 15, 0.88), rgba(20, 25, 31, 0.15) 14%, rgba(20, 25, 31, 0.15) 86%, rgba(9, 11, 15, 0.88)), linear-gradient(180deg, #6e737b 0%, #3a3f48 12%, #15181d 22%, #0f1217 100%); padding: 24px 38px 24px 74px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 0 0 2px rgba(255, 255, 255, 0.04), 0 24px 40px rgba(9, 11, 15, 0.22); } .rack-grid::before, .rack-grid::after { content: ""; position: absolute; top: 18px; bottom: 18px; width: 16px; border-radius: 6px; background: radial-gradient(circle at center 8px, rgba(205, 214, 229, 0.75) 0 2px, transparent 2.5px) center top / 100% 18px repeat-y, linear-gradient(180deg, #404550, #1a1d23); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 0 12px rgba(0, 0, 0, 0.4); } .rack-grid::before { left: 26px; } .rack-grid::after { right: 26px; } .rack-slot { position: relative; height: var(--rack-unit-height); border-top: 1px solid rgba(202, 212, 222, 0.06); background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.06)); } .rack-slot:first-child { border-top: 0; } .rack-slot.is-drop-target { background: linear-gradient(180deg, rgba(236, 129, 69, 0.16), rgba(236, 129, 69, 0.08)); } .rack-slot__label { position: absolute; left: -52px; top: 8px; font-size: 0.76rem; color: rgba(219, 225, 235, 0.84); } .rack-items-layer { position: absolute; inset: 24px 38px 24px 74px; } .rack-item { position: absolute; left: 0; right: 0; padding: 0; user-select: none; overflow: hidden; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.08); background: linear-gradient(180deg, #272c34, #11151b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -12px 18px rgba(0, 0, 0, 0.28); } .rack-item[data-standard="10_inch"] { right: 16%; } .rack-item.is-dragging { opacity: 0.6; } .rack-item__header { display: flex; justify-content: space-between; gap: 12px; align-items: start; } .rack-item__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 10px 8px 12px; background: linear-gradient(90deg, rgba(11, 13, 16, 0.72), rgba(11, 13, 16, 0.08) 45%, rgba(11, 13, 16, 0.56)); } .rack-item__face { position: absolute; inset: 0; } .rack-item__meta, .list-output, .notes { color: rgba(222, 227, 235, 0.76); font-size: 0.9rem; } .rack-item__header strong { color: #f3f5f8; } .rack-item__actions { display: flex; flex-wrap: wrap; gap: 8px; } .rack-item__actions button { padding: 8px 10px; font-size: 0.84rem; background: rgba(181, 93, 45, 0.9); } .subpanel { padding: 16px; display: grid; gap: 12px; } .subpanel__header { display: flex; justify-content: space-between; align-items: center; gap: 12px; } .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .list-output { display: grid; gap: 10px; } .bom-line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.64); } .notice { padding: 12px 14px; } .notes { margin: 0; padding-left: 18px; display: grid; gap: 8px; } .notes li.ok { color: var(--success); } .notes li.warn { color: var(--warning); } .empty-state { padding: 20px; text-align: center; color: var(--muted); border: 1px dashed rgba(75, 57, 37, 0.2); border-radius: var(--radius-md); } .device-face { position: relative; width: 100%; height: 100%; padding: 8px 12px; overflow: hidden; } .device-face--library { min-height: 72px; border-radius: 10px; } .device-face--rack { min-height: 100%; } .device-face--switch, .device-face--patch-panel, .device-face--pdu, .device-face--blank, .device-face--generic { background: linear-gradient(180deg, #4d535d 0%, #262c34 18%, #12161d 100%); } .device-face--ups { background: linear-gradient(180deg, #636973 0%, #2a3038 16%, #0f1319 100%); } .device-face--shelf { background: linear-gradient(180deg, #3e444c 0%, #171b21 100%); } .device-silkscreen { position: absolute; left: 12px; bottom: 8px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(222, 227, 235, 0.58); } .device-leds { display: flex; gap: 5px; position: absolute; top: 10px; right: 12px; } .device-leds span { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #b8ff8e, #367f26 72%); box-shadow: 0 0 8px rgba(114, 255, 86, 0.4); } .device-ports, .device-keystones, .device-sockets { display: grid; gap: 4px; } .device-ports { position: absolute; left: 16px; right: 54px; top: 18px; grid-template-columns: repeat(12, minmax(0, 1fr)); } .device-ports span, .device-keystones span { height: 11px; border-radius: 2px; background: linear-gradient(180deg, #181d23, #050709); border: 1px solid rgba(183, 191, 207, 0.12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); } .device-ports--8 { grid-template-columns: repeat(8, minmax(0, 1fr)); } .device-ports--12 { grid-template-columns: repeat(12, minmax(0, 1fr)); } .device-keystones { position: absolute; left: 16px; right: 16px; top: 18px; grid-template-columns: repeat(12, minmax(0, 1fr)); } .device-face--patch-panel .device-keystones span { height: 13px; background: linear-gradient(180deg, #0b0d10, #1b2128); } .device-face--patch-panel .device-keystones span:nth-child(odd) { border-color: rgba(239, 147, 78, 0.24); } .device-uplink { position: absolute; top: 16px; right: 16px; width: 22px; height: 16px; border-radius: 4px; border: 1px solid rgba(188, 197, 214, 0.15); background: linear-gradient(180deg, #11161c, #050709); } .device-sockets { position: absolute; top: 14px; left: 16px; right: 44px; grid-template-columns: repeat(8, minmax(0, 1fr)); align-items: center; } .device-sockets span { width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at center, transparent 0 3px, #0f1216 3px 5px, transparent 5px), linear-gradient(180deg, #aeb8c6, #57606e); border: 1px solid rgba(229, 233, 240, 0.18); } .device-display { position: absolute; left: 16px; top: 14px; width: 68px; height: 30px; border-radius: 8px; background: linear-gradient(180deg, rgba(46, 180, 156, 0.9), rgba(18, 97, 90, 0.92)), linear-gradient(180deg, #0f151c, #080b0f); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 16px rgba(46, 180, 156, 0.22); } .device-vents { position: absolute; top: 16px; right: 18px; width: 96px; height: 22px; background: repeating-linear-gradient(90deg, rgba(222, 227, 235, 0.16) 0 3px, transparent 3px 7px); opacity: 0.8; } .device-shelf-top { position: absolute; left: 18px; right: 18px; top: 14px; height: 18px; border-radius: 4px 4px 12px 12px; background: linear-gradient(180deg, #69707a, #262b33); box-shadow: 0 5px 12px rgba(0, 0, 0, 0.28); } @media (max-width: 1280px) { .workspace { grid-template-columns: 1fr; } .hero { grid-template-columns: 1fr; } } @media (max-width: 720px) { .app-shell { padding: 18px; } .rack-summary, .stat-grid, .field-row { grid-template-columns: 1fr; } .rack-grid { padding-left: 62px; padding-right: 26px; } .rack-items-layer { inset: 24px 26px 24px 62px; } }