: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; --rack-inner-width: 620px; --rack-frame: #50545c; --rack-frame-dark: #2e323a; --rack-frame-light: #6c7078; --rack-rail: #656972; --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(189, 193, 201, 0.36), rgba(255, 255, 255, 0.78)), linear-gradient(90deg, rgba(88, 92, 99, 0.08), rgba(88, 92, 99, 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: 1px solid rgba(105, 108, 115, 0.22); background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(228, 229, 232, 0.86)), linear-gradient(90deg, rgba(144, 148, 156, 0.06), rgba(144, 148, 156, 0)); padding: 28px 40px 28px 74px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -18px 24px rgba(134, 137, 145, 0.12), 0 24px 40px rgba(92, 84, 73, 0.12); } .rack-grid { outline: 18px solid var(--rack-frame-dark); outline-offset: -18px; } .rack-grid::before, .rack-grid::after { content: ""; position: absolute; top: 20px; bottom: 20px; width: 16px; border-radius: 6px; background: radial-gradient(circle at center 8px, rgba(116, 120, 128, 0.48) 0 2px, transparent 2.5px) center top / 100% 18px repeat-y, linear-gradient(180deg, var(--rack-frame-light), var(--rack-rail)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), inset 0 -10px 10px rgba(79, 82, 90, 0.16); } .rack-grid::before { left: 26px; } .rack-grid::after { right: 26px; } .rack-grid__bay { position: relative; width: var(--rack-inner-width); margin: 0 auto; padding: 18px 0 14px; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), transparent 13%, transparent 87%, rgba(0, 0, 0, 0.48)), linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 30%); border-radius: 8px; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35), inset 0 18px 32px rgba(0, 0, 0, 0.3), inset 0 -18px 32px rgba(0, 0, 0, 0.24); } .rack-grid__guides { position: relative; width: 100%; background: linear-gradient(180deg, rgba(20, 22, 28, 0.92), rgba(7, 8, 11, 0.98)); border-left: 4px solid rgba(0, 0, 0, 0.4); border-right: 4px solid rgba(0, 0, 0, 0.4); } .rack-slot { position: relative; height: var(--rack-unit-height); border-top: 1px solid rgba(126, 131, 140, 0.14); background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(221, 224, 230, 0.42)); } .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(76, 78, 84, 0.82); } .rack-slot__label--right { left: auto; right: -42px; } .rack-items-layer { position: absolute; inset: 18px 0 14px; width: var(--rack-inner-width); } .rack-insertion-layer { position: absolute; inset: 18px 0 14px; width: var(--rack-inner-width); pointer-events: none; } .rack-grid__header-badge { position: absolute; top: 16px; z-index: 4; padding: 14px 18px; border-radius: 14px; background: rgba(17, 19, 24, 0.84); color: #f6f7f9; font-size: 1rem; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 20px rgba(20, 22, 28, 0.18); } .rack-grid__header-badge--left { left: 16px; } .rack-grid__header-badge--right { right: 16px; } .rack-insert-zone { position: absolute; display: flex; align-items: center; padding: 0; border: 0; background: transparent; pointer-events: auto; cursor: pointer; } .rack-insert-zone.is-disabled { cursor: not-allowed; } .rack-insert-zone__ear { width: 28px; height: calc(100% - 2px); border-radius: 10px; background: rgba(83, 156, 243, 0.26); border: 1px solid rgba(116, 184, 255, 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); position: relative; } .rack-insert-zone__ear::before, .rack-insert-zone__ear::after { content: ""; position: absolute; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: rgba(18, 25, 33, 0.75); border: 1px solid rgba(255, 255, 255, 0.2); } .rack-insert-zone__ear::before { top: 10px; } .rack-insert-zone__ear::after { bottom: 10px; } .rack-insert-zone__body { flex: 1; height: calc(100% - 2px); display: flex; align-items: center; justify-content: center; gap: 16px; color: #deefff; border-top: 2px dashed rgba(113, 187, 255, 0.92); border-bottom: 2px dashed rgba(113, 187, 255, 0.92); background: linear-gradient(180deg, rgba(35, 92, 154, 0.34), rgba(23, 52, 84, 0.42)); box-shadow: inset 0 0 0 1px rgba(120, 182, 247, 0.24); font-size: 1rem; } .rack-insert-zone__icon { font-size: 1.4rem; opacity: 0.9; } .rack-insert-zone:hover .rack-insert-zone__body, .rack-insert-zone:hover .rack-insert-zone__ear { background-color: rgba(72, 151, 228, 0.34); } .rack-insert-zone.is-disabled .rack-insert-zone__body, .rack-insert-zone.is-disabled .rack-insert-zone__ear { opacity: 0.28; } .rack-item { position: absolute; left: 0; padding: 0; user-select: none; overflow: hidden; border-radius: 10px; border: 1px solid rgba(122, 127, 137, 0.35); background: linear-gradient(180deg, #fcfcfd, #e1e5eb); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 10px 18px rgba(80, 84, 93, 0.18); touch-action: none; cursor: grab; } .rack-item.is-dragging { opacity: 0.82; cursor: grabbing; } .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(250, 251, 252, 0.86), rgba(250, 251, 252, 0.08) 38%, rgba(250, 251, 252, 0.72)); } .rack-item__face { position: absolute; inset: 0; } .rack-item__meta, .list-output, .notes { color: rgba(77, 80, 87, 0.86); font-size: 0.9rem; } .rack-item__header strong { color: #17191c; } .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.92); } .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; } .field--status { align-content: end; } .selection-info { min-height: 46px; display: flex; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(83, 58, 31, 0.14); color: var(--muted); } .selection-info.is-active { background: rgba(28, 109, 190, 0.08); border-color: rgba(28, 109, 190, 0.3); color: #1e4f82; } .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 28px; 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, #fcfcfd 0%, #e9edf3 18%, #d7dbe2 100%); } .device-face--ups { background: linear-gradient(180deg, #f7f8fb 0%, #e0e4ea 20%, #cfd5dc 100%); } .device-face--shelf { background: linear-gradient(180deg, #f5f6f8 0%, #d4d9e0 100%); } .device-face::before, .device-face::after { content: ""; position: absolute; top: 5px; bottom: 5px; width: 20px; border-radius: 5px; background: linear-gradient(180deg, #d7dbe2, #b4bbc6); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -8px 10px rgba(95, 101, 112, 0.18); } .device-face::before { left: 4px; } .device-face::after { right: 4px; } .device-brand { position: absolute; top: 7px; left: 36px; font-size: 0.72rem; letter-spacing: 0.04em; color: rgba(51, 58, 67, 0.92); font-weight: 700; } .device-silkscreen { position: absolute; left: 36px; bottom: 8px; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(90, 95, 104, 0.76); } .device-mount-hole { position: absolute; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #79808b 0 1px, #4c525b 1.3px 2.5px, #cdd2da 2.5px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); z-index: 2; } .device-mount-hole--left { left: 11px; } .device-mount-hole--right { right: 11px; } .device-leds { display: flex; gap: 5px; position: absolute; top: 9px; right: 38px; } .device-leds span { width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9dff87, #2d7b1a 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: 40px; right: 70px; top: 22px; grid-template-columns: repeat(12, minmax(0, 1fr)); } .device-ports span, .device-keystones span { height: 12px; border-radius: 3px; background: linear-gradient(180deg, #444c56, #1d2229); border: 1px solid rgba(125, 132, 143, 0.22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 1px rgba(255, 255, 255, 0.08); } .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: 40px; right: 40px; top: 20px; grid-template-columns: repeat(12, minmax(0, 1fr)); } .device-face--patch-panel .device-keystones span { height: 14px; background: linear-gradient(180deg, #dde2e8, #acb3bd); } .device-face--patch-panel .device-keystones span:nth-child(odd) { border-color: rgba(119, 124, 135, 0.32); } .device-uplink { position: absolute; top: 20px; right: 40px; width: 22px; height: 16px; border-radius: 4px; border: 1px solid rgba(110, 117, 127, 0.25); background: linear-gradient(180deg, #5b646f, #262b31); } .device-sockets { position: absolute; top: 18px; left: 40px; right: 56px; 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, #4a515b 3px 5px, transparent 5px), linear-gradient(180deg, #f5f6f8, #c4cad4); border: 1px solid rgba(120, 126, 137, 0.18); } .device-display { position: absolute; left: 40px; top: 16px; 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: 18px; right: 42px; width: 96px; height: 22px; background: repeating-linear-gradient(90deg, rgba(102, 108, 118, 0.36) 0 3px, transparent 3px 7px); opacity: 0.8; } .device-handles { position: absolute; inset: auto 48px 12px 48px; display: flex; justify-content: space-between; } .device-handles span { width: 18px; height: 8px; border-radius: 999px; border: 2px solid rgba(88, 95, 106, 0.7); } .device-shelf-top { position: absolute; left: 40px; right: 40px; top: 18px; height: 18px; border-radius: 4px 4px 12px 12px; background: linear-gradient(180deg, #d1d7df, #8f98a4); box-shadow: 0 5px 12px rgba(78, 82, 90, 0.18); } @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-grid__bay, .rack-items-layer { width: 100%; } }