.brick-illustration{display:block;object-fit:contain;max-width:100%;height:auto}
.flow-page .logic-grid-small .brick-tile{padding:22px 24px 27px;border:2px solid #e0e7ec;border-bottom:6px solid #e0e7ec;border-radius:22px;background:linear-gradient(135deg,#fff,#fbfcfd);box-shadow:0 4px 0 #cbd6df,0 15px 24px #14304b07;min-height:292px;overflow:hidden}
.flow-page .logic-grid-small .brick-tile .logic-mark{display:flex;align-items:center;justify-content:center;width:100%;height:175px;border-radius:18px;background:radial-gradient(ellipse at 50% 70%,#fff0e4,transparent 70%)!important;margin:0 0 19px}
.flow-page .logic-grid-small .brick-tile .brick-illustration{width:205px;height:175px;filter:drop-shadow(0 6px 5px #14304b0e);padding:0}
.flow-page .logic-grid-small .brick-tile strong{font-size:clamp(22px,2vw,28px);font-weight:800;line-height:1.2;letter-spacing:-.03em;padding-right:12px}
.flow-page .brick-tile small{display:none}
.flow-page .brick-tile strong{hyphens:auto}
.flow-page .brick-tile:hover{border-color:#f57615;box-shadow:0 4px 0 #e2853f,0 18px 28px #14304b0e;transform:translateY(-3px)}
.flow-page .brick-tile:focus-visible{outline:3px solid #f57615;outline-offset:5px}
.brick-detail-header{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px;align-items:center;margin:0 0 26px}
.brick-detail-copy{min-width:0}
.flow-page .brick-detail-header .modal-title{font-size:clamp(32px,3.7vw,51px);line-height:1.12;font-weight:800;letter-spacing:-.04em;margin:0 0 18px;overflow-wrap:anywhere}
.brick-detail-header .modal-description,.brick-detail-header .guide-intro{font-size:20px;line-height:1.65;margin:0;max-width:770px}
.brick-detail-image{display:flex;align-items:center;justify-content:center;height:265px;border-radius:28px;background:radial-gradient(ellipse at 50% 65%,#fff0e0,transparent 72%)}
.brick-detail-image .brick-illustration{width:265px;height:255px;filter:drop-shadow(0 9px 7px #14304b0c)}
.flow-page .guide-header{max-width:100%}
.flow-page .guide-header .brick-detail-header{margin-top:20px}
.flow-page .brick-row{display:flex;align-items:center;gap:15px;text-align:left}
.brick-row .brick-line-image{flex:0 0 60px;width:60px;height:60px;object-fit:contain}
.flow-page .nav-result-grid .brick-row{font-size:18px;gap:10px}
.nav-result-grid .brick-row .brick-line-image{width:48px;height:48px;flex-basis:48px}
.brick-gallery{font-family:Inter,Arial,sans-serif;color:#14304b;background:#fcfcfb;margin:0}
.brick-gallery-header{max-width:1240px;margin:auto;padding:28px 32px 45px}
.brick-gallery-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:55px}
.brick-gallery-top img{width:280px;max-width:55vw;height:auto}
.brick-gallery a{color:#14304b;font-weight:700}
.brick-gallery h1{font-size:clamp(38px,5vw,68px);letter-spacing:-.05em;line-height:1.07;margin:0 0 22px;max-width:900px;font-weight:800}
.brick-gallery-header p{font-size:22px;line-height:1.6;max-width:850px;margin:0 0 28px;color:#4f6b80}
.brick-gallery-search{display:block;max-width:680px;font-weight:700;font-size:18px}
.brick-gallery-search input{display:block;box-sizing:border-box;width:100%;border:2px solid #dce5eb;border-bottom:5px solid #c8d5df;border-radius:16px;font:inherit;padding:19px 22px;margin-top:12px;background:#fff;color:#14304b}
.brick-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;max-width:1240px;margin:0 auto;padding:0 32px 65px}
.brick-gallery-card{border:2px solid #e1e7ec;border-bottom:6px solid #d6e0e7;border-radius:24px;background:#fff;box-shadow:0 4px 0 #c6d2dc;overflow:hidden;min-width:0}
.brick-gallery-scene{height:240px;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 65%,#fff0df,transparent 75%);padding:15px}
.brick-gallery-scene img{width:100%;height:100%;object-fit:contain}
.brick-gallery-copy{padding:15px 23px 25px}
.brick-gallery h2{font-size:25px;font-weight:800;line-height:1.2;letter-spacing:-.03em;margin:0 0 16px}
.brick-gallery details{font-size:18px;line-height:1.6}
.brick-gallery summary{font-weight:700;cursor:pointer;color:#b8540c}
.brick-gallery ul{padding-left:20px;margin-top:15px}
.brick-gallery li{margin:9px 0}
.brick-gallery-empty{max-width:1240px;margin:0 auto;padding:0 32px 65px;font-size:21px}
@media(max-width:1000px){.brick-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brick-detail-header{grid-template-columns:minmax(0,1fr) 220px;gap:20px}.brick-detail-image{height:220px}.brick-detail-image .brick-illustration{width:215px;height:215px}}
@media(max-width:760px){.flow-page .logic-grid-small{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.flow-page .logic-grid-small .brick-tile{display:flex;flex-direction:column;align-items:flex-start;padding:18px 16px 23px;min-height:255px}.flow-page .logic-grid-small .brick-tile .logic-mark{height:145px;margin-bottom:14px}.flow-page .logic-grid-small .brick-tile .brick-illustration{height:145px;width:175px}.flow-page .logic-grid-small .brick-tile strong{font-size:23px}.brick-detail-header{grid-template-columns:minmax(0,1fr) 165px;gap:15px}.brick-detail-image{height:175px}.brick-detail-image .brick-illustration{width:170px;height:170px}.flow-page .brick-detail-header .modal-title{font-size:31px}.brick-detail-header .modal-description,.brick-detail-header .guide-intro{font-size:18px}.brick-gallery-header{padding:24px 22px 35px}.brick-gallery-top{margin-bottom:40px}.brick-gallery-header p{font-size:20px}.brick-gallery-grid{padding:0 22px 50px;gap:18px}.brick-gallery-scene{height:185px}.brick-gallery h2{font-size:23px}.brick-gallery-copy{padding:14px 18px 23px}}
@media(max-width:540px){.flow-page .logic-grid-small{grid-template-columns:1fr}.flow-page .logic-grid-small .brick-tile{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:17px;min-height:155px;padding:17px 18px}.flow-page .logic-grid-small .brick-tile .logic-mark{grid-column:1;grid-row:auto;width:112px;height:120px;margin:0}.flow-page .logic-grid-small .brick-tile .brick-illustration{height:120px;width:112px}.flow-page .logic-grid-small .brick-tile strong{grid-column:2;grid-row:auto;font-size:22px;padding-right:0;overflow-wrap:anywhere}.flow-page .logic-grid-small .logic-arrow{right:12px;top:10px;font-size:20px}.brick-detail-header{grid-template-columns:1fr;gap:8px;margin-bottom:25px}.brick-detail-image{grid-row:1;height:170px;justify-content:flex-start;background:radial-gradient(ellipse at 24% 65%,#fff0e0,transparent 67%)}.brick-detail-image .brick-illustration{width:190px;height:170px}.flow-page .brick-detail-header .modal-title{font-size:32px;margin-bottom:15px}.brick-gallery-grid{grid-template-columns:1fr}.brick-gallery-scene{height:260px}.brick-gallery-top{align-items:flex-start}.brick-gallery-top a{font-size:18px}.brick-gallery h2{font-size:27px}.brick-row .brick-line-image{width:52px;height:52px;flex-basis:52px}}
@media(prefers-reduced-motion:reduce){.flow-page .brick-tile{transition:none}.flow-page .brick-tile:hover{transform:none}}
@media(max-width:380px){.flow-page .logic-grid-small .brick-tile{grid-template-columns:90px minmax(0,1fr);gap:12px;padding:16px 14px}.flow-page .logic-grid-small .brick-tile .logic-mark{width:90px;height:110px}.flow-page .logic-grid-small .brick-tile .brick-illustration{width:90px;height:110px}.flow-page .logic-grid-small .brick-tile strong{font-size:21px}}
